View Full Version : annoying whosonline guest
Lionel
12-31-2001, 03:11 PM
In a forum for members only, if a guest attempts to view a protected location, whosonline shows the guest in that location. Is there a way to have it :"attempting to access members only location" if is guest and board or forum protected?
Admin
12-31-2001, 03:21 PM
I was trying to do something like this a while ago but as far as I remember it wasn't that simple.
I'll have another go at it later...
Lionel
12-31-2001, 03:25 PM
but, cant we say if userid=0 (all guests have same id) and not in faq, register.php and other permissable location, then say attempting to view a restricted area?
Admin
12-31-2001, 03:27 PM
I was thinking of something a lot more global, to fit all boards with their permissions.
So even if a registered user tries to see a private forum we will see the right message.
Lionel
12-31-2001, 03:51 PM
post a quick one that will show all guests as attempting to view members only area? ;)
Freddie Bingham
12-31-2001, 04:16 PM
You could intercept the update to the location field and alter it to be something else in the show_nopermission() call. Look at the updateuserforum() function as a guide perhaps.
nice tx for the hint freddie ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.