Adding further admin pages

Discussion in 'Templates customization' started by darren_s1, Dec 4, 2004.

  1. darren_s1

    darren_s1 Guest

    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.
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    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.
  3. darren_s1

    darren_s1 Guest

    Thanks for your help, I will give it a go.
  4. jasondavis

    jasondavis New Member

    Joined:
    Aug 1, 2003
    Messages:
    85
    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
  5. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Jason, I'm unable to help without seeing complete code.

Share This Page