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)
 Hide Members from All But Moderators & Admin
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

bobmac
Starting Member

USA
14 Posts

Posted - 20 September 2006 :  15:39:12  Show Profile
By reading this support forum, I was able to comment out lines 500-502 in inc_header.asp to remove the Members link from the header.

However, what I really want to do is allow the Moderators and Admin to see the members list, but not allow the members to see the list.

Anyone have an idea on how to do that?

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 September 2006 :  15:48:35  Show Profile  Send ruirib a Yahoo! Message
Instead of commenting out the lines, use an if statement like this:

if mlev >= 3 then
   (the lines you commented here)
end if


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

bobmac
Starting Member

USA
14 Posts

Posted - 20 September 2006 :  16:15:51  Show Profile
Bingo!

Thanks ruirib!
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 September 2006 :  16:21:59  Show Profile  Send ruirib a Yahoo! Message
You're welcome.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 21 September 2006 :  05:01:56  Show Profile
You'll also need to add a check to members.asp for the approriate mlev as members will still be able to access the page simply by typing the address into their browser. There's already a check in there to ensure that anyone trying to access the page is a member of your forums, it would just need a wee tweak to prevent anyone other than forum staff from accessing it.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
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.48 seconds. Powered By: Snitz Forums 2000 Version 3.4.07