Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - how hard would be it to.......
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how hard would be it to.......

 Post Reply Post Reply Page  <12
Author
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 28 October 2009 at 9:19am

if you want to stop anyone in the "newbie" group, then you can edit the page to stop that group.


there should already be code to stop guests from viewing the page, something like this:

if intGroupID = 2 then
   response.redirect(...)
end if

or

if lngLoggedInUserID = 2 then
   response.redirect(...)
end if

All you would do is alter the code like so:

if intGroupID = 2 or intGroupID = 4 then
   response.redirect(...)
end if

Im not sure the ID number for the Newbie group, but I'll post the exact code tonight when I'll have access to the WWF code.

S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
billd3 View Drop Down
Senior Member
Senior Member


Joined: 19 February 2003
Location: United States
Status: Offline
Points: 530
Post Options Post Options   Thanks (0) Thanks(0)   Quote billd3 Quote  Post ReplyReply Direct Link To This Post Posted: 28 October 2009 at 2:40pm
Wow, why didn't I think of that? I guess that's a reminder of why I don't code!
Yes, since guests or non-members already can't view the user profiles and other items, just add an "or"
to the thing.
Thanks - that does look simple! (well, basically simple - might have to hit multiple spots, perhaps?)
BillD
http://theamcpages.com
http://theamcforum.com
Back to Top
 Post Reply Post Reply Page  <12

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.