Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Access to files with AJAX
Post: RE: Access to files with AJAX
Bigin Wrote: (2017-08-19, 18:25:32)
--
The file is called "functions.php" not "function.php" and it automatically included by GS every time a page is loaded on your site.
It may be that you are tryin... |
|
roy_b8te |
General Questions and Problems
|
11 |
18,213 |
2017-08-20, 20:49:09 |
|
|
Thread: Access to files with AJAX
Post: RE: Access to files with AJAX
Thanks, that confirms my tests without the construct.
In the bigger picture, I'm not able to return data from the AJAX request as it's calling a .php script with the defined('IN_GS') directive in t... |
|
roy_b8te |
General Questions and Problems
|
11 |
18,213 |
2017-08-19, 17:57:03 |
|
|
Thread: Access to files with AJAX
Post: RE: Access to files with AJAX
Bigin Wrote: (2017-08-14, 19:20:12)
--
Your controller, a few lines in the functions.php:
PHP Code:
--
if(!empty($_GET['getPageContent'])) {
echo json_encode(your_function($_GET['getPageContent']))... |
|
roy_b8te |
General Questions and Problems
|
11 |
18,213 |
2017-08-19, 07:19:23 |
|
|
Thread: Form handling via AJAX post(), best practice.
Post: Form handling via AJAX post(), best practice.
Hi there, I'm having problems with form submissions that are processed via AJAX post as I'm trying to keep complaint.
If I place the standard:
Code:
--
|
|
roy_b8te |
General Questions and Problems
|
1 |
4,465 |
2017-08-19, 06:42:52 |
|
|
Thread: Global Function: get_theme_name(); ( added )
Post: Global Function: get_theme_name(); ( added )
Can't find a theme name constant and the global variable $TEMPLATE is throwing an error in my custom theme.
I know I can derive the name from get_theme_url() but would rather not have to post process ... |
|
roy_b8te |
Feature Requests
|
1 |
5,592 |
2016-11-22, 11:54:57 |
|
|
Thread: Access/manipluate functions and classes to/from 3rd party plugins. Best practice?
Post: RE: Access/manipluate functions and classes to/fro...
shawn_a Wrote: (2016-11-08, 00:40:35)
--
..globals name conflicts are a problem.
--
Good point.
Ok running tests today.
Thanks again. |
|
roy_b8te |
Themes
|
9 |
19,242 |
2016-11-08, 01:26:45 |
|
|
Thread: Access/manipluate functions and classes to/from 3rd party plugins. Best practice?
Post: RE: Access/manipluate functions and classes to/fro...
Ok great to know :)
For clarity,
would I save my themes function in it's theme folder, or in the gs plugin folder?
Also, at some point if I choose to distribute my theme publicly,
would you suggest ... |
|
roy_b8te |
Themes
|
9 |
19,242 |
2016-11-07, 11:57:32 |
|
|
Thread: Access/manipluate functions and classes to/from 3rd party plugins. Best practice?
Post: RE: Access/manipluate functions and classes to/fro...
shawn_a Wrote: (2016-11-07, 07:08:16)
--
The form fields comment confuses me and i am nit entirely sure ehat you mean
--
My apologies.
------------------------------------------------------
This is ... |
|
roy_b8te |
Themes
|
9 |
19,242 |
2016-11-07, 07:36:31 |
|
|
Thread: Access/manipluate functions and classes to/from 3rd party plugins. Best practice?
Post: RE: Access/manipluate functions and classes to/fro...
Thanks for swift response.
shawn_a Wrote: (2016-11-07, 05:08:00)
--
Maybe give more specifics.
--
My custom theme uses the plugin Front End User Login ( modified ).
However, my theme's form eleme... |
|
roy_b8te |
Themes
|
9 |
19,242 |
2016-11-07, 05:40:47 |
|
|
Thread: Access/manipluate functions and classes to/from 3rd party plugins. Best practice?
Post: Access/manipluate functions and classes to/from 3r...
I need to add functionality and or call functions, class methods,
to and from 3rd party plugins for my custom theme.
I know I could add `cross directory` includes to a functions.php file in my the... |
|
roy_b8te |
Themes
|
9 |
19,242 |
2016-11-07, 04:05:04 |
|
|
Thread: Customize ACP & Admin login redirect
Post: RE: Customize ACP & Admin login redirect
Timbow Wrote: (2016-10-14, 19:47:31)
--
Have you had a good look at the Multi-User Plugin?
http://get-simple.info/extend/plugin/multi-user/133/
It does quite a lot of what you want.
Finding the ... |
|
roy_b8te |
General Questions and Problems
|
10 |
19,880 |
2016-10-19, 06:58:03 |
|
|
Thread: Customize ACP & Admin login redirect
Post: RE: Customize ACP & Admin login redirect
shawn_a Wrote: (2016-10-17, 11:29:50)
--
You could probably do the same with a htaccess rewrite somyou do not have to modify core files everytime
--
Very good point. I tend to stay away from Directiv... |
|
roy_b8te |
General Questions and Problems
|
10 |
19,880 |
2016-10-19, 06:39:47 |
|
|
Thread: Customize ACP & Admin login redirect
Post: RE: Customize ACP & Admin login redirect
Thanks for the responses. I will definitely test plugins to accommodate necessary customization.
I will most likely end up writing a plugin for this too.
On a related note, I've made some progress ou... |
|
roy_b8te |
General Questions and Problems
|
10 |
19,880 |
2016-10-17, 10:39:17 |
|
|
Thread: Customize ACP & Admin login redirect
Post: Customize ACP & Admin login redirect
Hi there, I'm installing GetSimple for a client.
I will be granting access to the Admin CP,
but I don't want them to be able to make certain changes/additions etc.
For instance, I would like to c... |
|
roy_b8te |
General Questions and Problems
|
10 |
19,880 |
2016-10-14, 16:36:22 |
|
|
Thread: Front End User Login Plugin (XML Or Database - ver: 3.0)
Post: Front End User Login Plugin (XML Or Database - ver...
Tested 3.1 locally and it seems to be working.
Ty for this mikeh.
A few things:
I noticed that when I log in, log in forms are still showing
Also when I register, the forms are still there. Any sugge... |
|
roy_b8te |
Plugins
|
168 |
501,663 |
2012-04-02, 07:59:39 |
|
|
Thread: Front End User Login Plugin (XML Or Database - ver: 3.0)
Post: Front End User Login Plugin (XML Or Database - ver...
Thanks cumbe for your reply.
I tried everything you said but it only fixes adding users in the User Management page.
There are also $_POST['username'] found in Feul.php on lines: 789,774,771 & 513.
I ... |
|
roy_b8te |
Plugins
|
168 |
501,663 |
2012-04-02, 02:47:15 |
|
|
Thread: Front End User Login Plugin (XML Or Database - ver: 3.0)
Post: Front End User Login Plugin (XML Or Database - ver...
I tried again with a fresh download of GS3.1 and FEUL3.0 manual install on local and internet servers.
( local server [PHP: 5.3.8] online server [PHP 5.2.17] )
From the User Management tab I can cre... |
|
roy_b8te |
Plugins
|
168 |
501,663 |
2012-04-01, 20:09:14 |
|
|
Thread: Front End User Login Plugin (XML Or Database - ver: 3.0)
Post: Front End User Login Plugin (XML Or Database - ver...
I tracked the problem down to a simple typeo in username var
located @ Feul.php on line 511.
Code:
--
$usrfile = strtolower($_POST['usernamec']); // removing the "c" at the end
... |
|
roy_b8te |
Plugins
|
168 |
501,663 |
2012-03-31, 07:19:38 |
|
|
Thread: Front End User Login Plugin (XML Or Database - ver: 3.0)
Post: Front End User Login Plugin (XML Or Database - ver...
Turned on Debug mode in gsconfig.php and tried another register.
The debug console comes up empty
but I do get this message directly on the User Management tab and directly on the login page.
Quote:
... |
|
roy_b8te |
Plugins
|
168 |
501,663 |
2012-03-31, 02:27:27 |
|
|
Thread: Front End User Login Plugin (XML Or Database - ver: 3.0)
Post: Front End User Login Plugin (XML Or Database - ver...
I can now create a new user in the Admin page but not from the live webpage.
I receive confirmation of new-user + login but see no new users in my list.
When I look in site-users I only see the user(s... |
|
roy_b8te |
Plugins
|
168 |
501,663 |
2012-03-30, 13:38:16 |
|
|
Thread: Front End User Login Plugin (XML Or Database - ver: 3.0)
Post: Front End User Login Plugin (XML Or Database - ver...
Not sure why I cant add new users.
This is the error message returned for any user and configuration.
http://i.imgur.com/DJACH.jpg
Any ideas how I can fix this?
ty |
|
roy_b8te |
Plugins
|
168 |
501,663 |
2012-03-30, 10:49:17 |
|
|
Thread: Permanent page elements written to template?
Post: Permanent page elements written to template?
Thanks for the reply,
Actually it answers the question for me,
I'm going to be putting static elements in the template(s)
and dynamic in the pages..
The way you described it above shows me I'm moving... |
|
roy_b8te |
General Questions and Problems
|
2 |
6,989 |
2011-10-11, 20:23:38 |
|
|
Thread: Permanent page elements written to template?
Post: Permanent page elements written to template?
I was wondering if the template can be used as a permanent storage place for the main page elements that never change.
Then other pages can be added over top of/or into the template.
I did this with ... |
|
roy_b8te |
General Questions and Problems
|
2 |
6,989 |
2011-10-11, 08:13:34 |
|
|
Thread: Front End User Login Plugin (XML Or Database - ver: 3.0)
Post: Front End User Login Plugin (XML Or Database - ver...
Why cant I get a simple answer from this developer?
Is this plugin no longer supported? |
|
roy_b8te |
Plugins
|
168 |
501,663 |
2011-10-07, 21:23:13 |
|
|
Thread: PHP in page content
Post: PHP in page content
Also check the site (http://ca.php.net/manual/en/funcref.php).
Each function has working examples that are easy to duplicate. |
|
roy_b8te |
General Questions and Problems
|
9 |
22,780 |
2011-10-07, 21:17:34 |
|
|
Thread: Front End User Login Plugin (XML Or Database - ver: 3.0)
Post: Front End User Login Plugin (XML Or Database - ver...
Understandable, but php and or the plugins must have a way of setting up conditions using regex no?
Info here for PCRE supported Regex in PHP:
http://ca.php.net/manual/en/book.pcre.php
This is the mat... |
|
roy_b8te |
Plugins
|
168 |
501,663 |
2011-10-07, 08:35:28 |
|
|
Thread: index page not found
Post: index page not found
Connie Wrote:
--
roy_b8te Wrote:
--
Again, theres no harm in DirectoryIndex in .htaccess to be index.php?id=**page name** right?
--
test it out, I never saw a .htaccess rule like that
if it works wi... |
|
roy_b8te |
Installation & Setup
|
15 |
42,286 |
2011-10-07, 08:32:27 |
|
|
Thread: index page not found
Post: index page not found
Connie Wrote:
--
Check the Website BASE URL of Getsimple in the generalt settings,
I bet it directs to the root and not the subdirectory
--
Actually no it does point to the correct sub directory.
I... |
|
roy_b8te |
Installation & Setup
|
15 |
42,286 |
2011-10-07, 02:32:22 |
|
|
Thread: Front End User Login Plugin (XML Or Database - ver: 3.0)
Post: Front End User Login Plugin (XML Or Database - ver...
Regarding my 2nd question above.
I created an email address validation needle
Code:
--
^.(? |
|
roy_b8te |
Plugins
|
168 |
501,663 |
2011-10-07, 01:51:46 |
|
|
Thread: index page not found
Post: index page not found
Thanks Connie for your reply,
I did run a health check and everything comes out ok here.
The thing is I'm running GetSimple from a sub directory ( testing purposes )
so I was concerned that was the p... |
|
roy_b8te |
Installation & Setup
|
15 |
42,286 |
2011-10-06, 23:18:22 |