Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 super admin Vs Admin
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

GarethMoore1979
Junior Member

United Kingdom
220 Posts

Posted - 21 February 2005 :  19:06:04  Show Profile
what I want to do is make it so that only "superadmin" can view the admin section pages.
But I still want to allow normal admin to lock, delete and edit peoples accounts.
whats the best way to block admins from going into the admin pages?

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 21 February 2005 :  20:09:00  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
I would suggest adding a statement to admin_login that checkes whether the MEMBER_ID = IntAdminMemberId . If so, log the admin in to the Admin Section, if not, deny them access.

This ought to work, unless you go through admin_login to edit profiles etc., but I don't believe that is the case.

eXtremeGossip
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07