Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Disable member list for new registers?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Disable member list for new registers?

 Post Reply Post Reply
Author
willv View Drop Down
Newbie
Newbie


Joined: 26 April 2003
Location: Canada
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote willv Quote  Post ReplyReply Direct Link To This Post Topic: Disable member list for new registers?
    Posted: 27 April 2003 at 1:26pm

Hello

I have read through all docs but have not found how to prevent new members from pulling up the membership list - I would like to block new members from seeing the list before I place them into full membership status - can anyone suggest an idea for this?  I have blocked access to all forums until approval is received but the membership list still comes up

related to this - is there a way to have new members signup and admin check them out before giving full status? the best way I have come up with is to put everyone into guest status and block all their permissions -

thanks in advance for your help.

 

Back to Top
Atlantis View Drop Down
Newbie
Newbie


Joined: 22 April 2003
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Atlantis Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2003 at 4:41am

members.asp

Do this to prevent hacker guest
to get into members listing.

AFTER Response.Buffer = True write this 3 lines of code.

If lngLoggedInUserID = 2 Then
Response.Redirect("default.asp")
end if
---------
in navigation_buttons_inc.asp
if you NOT want to show link for Guest.
<%If lngLoggedInUserID <> 2 Then%><a href='members.asp?FID=<%=intForumID%>' target='_self' class='nav'><img src='<%=strImagePath%>members_list.gif' border='0' align='absmiddle' alt='<%=strTxtMembersList%>'><%=strTxtMemberlist%></a><%end if%>

or if you want to show image but link to first page to guest
<%If lngLoggedInUserID <> 2 Then%><a href='members.asp?FID=<%=intForumID%>' target='_self' class='nav'><img src='<%=strImagePath%>members_list.gif' border='0' align='absmiddle' alt='<%=strTxtMembersList%>'><%=strTxtMemberlist%></a><%else%><a href='default.asp' target='_self' class='nav'><img src='<%=strImagePath%>members_list.gif' border='0' align='absmiddle' alt='<%=strTxtMembersList%>'><%=strTxtMemberlist%></a><%end if%>

and I use the above (If lngLoggedInUserID....) in 1 line of code.

/Atlantis



Edited by Atlantis
Back to Top
willv View Drop Down
Newbie
Newbie


Joined: 26 April 2003
Location: Canada
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote willv Quote  Post ReplyReply Direct Link To This Post Posted: 29 April 2003 at 10:21am

ok thanks very much

The first one worked fine and was easy.

Thanks again.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.