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: MOD Implementation
 Hide members list?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jeepers Ron
New Member

USA
95 Posts

Posted - 16 April 2002 :  07:47:06  Show Profile  Visit Jeepers Ron's Homepage
Is it possible to hide the members list from non-registered users?
If so, how do I do this and can I restore the link after logged back in?





Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 16 April 2002 :  08:10:34  Show Profile  Visit Gremlin's Homepage
in inc_top.asp you could add this around the link to the members.asp page

around line 366 you'll find this code (on a 3.3.03 forum)

Response.Write " |" & vbNewline & _
" <a href=""members.asp""><acronym title=""Current members of these forums..."">Members</acronym></a>" & vbNewline & _
" |" & vbNewline & _
" <a href=""search.asp""><acronym title=""Perform a search by keyword, date, and/or name..."">Search</acronym></a>" & vbNewline & _
" |" & vbNewline & _
" <a href=""faq.asp""><acronym title=""Answers to Frequently Asked Questions..."">FAQ</acronym></a>" & vbNewline


Change it to


if mLev > 0 then
Response.Write " |" & vbNewline & _
" <a href=""members.asp""><acronym title=""Current members of these forums..."">Members</acronym></a>" & vbNewline
end if
Response.Write " |" & vbNewline & _
" <a href=""search.asp""><acronym title=""Perform a search by keyword, date, and/or name..."">Search</acronym></a>" & vbNewline & _
" |" & vbNewline & _
" <a href=""faq.asp""><acronym title=""Answers to Frequently Asked Questions..."">FAQ</acronym></a>" & vbNewline


The only problem with doing this is it wont stop them from just going to the members.asp page directly. If you want to prevent that also then you could add similar code to the top of members.asp i.e

if mLev > 0 then ' would put this at the top of members.asp
.
..
...
.... remainder of page here
...
..
.
else ' this goes right at the end of the page
Response.Redirect "/forum" ' redirect to front page
end if



www.daoc-halo.com
Go to Top of Page

Jeepers Ron
New Member

USA
95 Posts

Posted - 17 April 2002 :  07:26:22  Show Profile  Visit Jeepers Ron's Homepage
Thanks Gremlin. That worked perfectly

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