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)
 If mLev < ...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

leatherlips
Senior Member

USA
1838 Posts

Posted - 09 May 2010 :  09:21:26  Show Profile  Visit leatherlips's Homepage
On one of my pages I have this:

If mLev < 3 Then
  Response.Redirect("default.asp")
End If


I'd like to open that page to a particular member without making them a moderator. How can I add that member to the function above so they can also see it?

Thanks.

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

l2k man
New Member

United Kingdom
74 Posts

Posted - 09 May 2010 :  12:20:33  Show Profile
I use
if strDBNTUserName = "xxxxx" then
to give a specific member access to a particular bit of script.
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 09 May 2010 :  15:28:38  Show Profile
If mLev > 2 or MemberID = "xx" Then
[Page Code]
else
  Response.Redirect("default.asp")
End If


Will allow your moderators and the user (replace the xx with the number ID) to the page.

Cheers,

David Greening
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 09 May 2010 :  16:56:58  Show Profile  Visit leatherlips's Homepage
Thanks guys, I'll give it a go.

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
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.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07