Hi, Can someone tell me how to add further admin pages to amember that are also protected through the admin login page? Therefore I can only access these new pages by logging into amember admin. The reason for this is that I wish to integrate another software with amember, this software also has its own admin login area and I wish to login only once to access both login areas. I plan on deactivating the login facility on the separate software and utilise amember to login for both softwares.
You can include amember/config.inc.php, then amember/admin/login.inc.php files to any your PHP file. However, there can be variables/function names conflict.
This works as far as if I am logged into amember admin panel it will let me see the file, if I am logged out and I try to view the file i get this: Fatal error: Call to a member function on a non-object in /home/jayhost/public_html/members/admin/login.inc.php on line 54