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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Checking if user is admin (pos MOD)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

famdylan
Starting Member

15 Posts

Posted - 07 March 2003 :  13:54:37  Show Profile
I would like to be able to quickly determine if a user is logged in and if theyare an admin. If so allow access to the page. The catch? The page is not in the forums it is external. What files do I need, processes I need to do etc. to go through this? I understand ASP but the login and checking is a little hard to follow so after days of trying different things I am coming here.

I would like to make this a mod to be able to put an include on any page in your site and have it use the forums for the member administration

Edited by - famdylan on 07 March 2003 13:56:43

GauravBhabu
Advanced Member

4288 Posts

Posted - 07 March 2003 :  15:21:07  Show Profile
if mLev = 4 then "Admin"
if mLev = 3 then "Moderator"
if mLev = 2 then "Member"
if mLev = 1 then "Author"
Go to Top of Page

famdylan
Starting Member

15 Posts

Posted - 07 March 2003 :  18:16:08  Show Profile
okay I kind of follow that but how would I apply that to a page that is tottaly seperate from the forum?
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 07 March 2003 :  18:26:19  Show Profile  Visit PeeWee.Inc's Homepage
you would need to include a few files.
<!--#INCLUDE FILE="config.asp"-->
<!--#INCLUDE FILE="inc_func_secure.asp" -->
<!--#INCLUDE FILE="inc_sha256.asp"-->
<!--#INCLUDE FILE="inc_header.asp" -->
and
<!--#INCLUDE FILE="inc_footer.asp" -->
at the bottom

De Priofundus Calmo Ad Te Damine
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