The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I want to hide $activeusers and $browsers from guests
Searched high and low and cannot find a hack that would allow me to hide active user and browsing user information from specific user groups (in particular, guests)
Does anyone know of such a thing?? TIA |
#2
|
||||
|
||||
In index.php find:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#3
|
|||
|
|||
Thanks for the reply.
Sorry, I obviously didn't explain very clearly. Your solution does part of what I am trying to achieve. On the forum homepage, I want to hide the entire section (see attached) from guests Edit: Unless I did something wrong (which I have checked many times) it seems to be working so the guests can see the loggedinusers template, whilst as admin I cannot ! |
#4
|
||||
|
||||
it should work, check and make sure that you didn't change on of the $bbuserinfo[userid]==0. Because if you set it to anything, such as 1 or such, then one of your members, in this case, you cannot see it whilst the guests can.
If that doesn't work, try putting: PHP Code:
PHP Code:
|
#5
|
|||
|
|||
Silenced soul.
Tried your version, got a parse error in index.php on the if...... line Retried with Neos suggestion and the names of the logged in users and browsers are no longer visible to guests, but the forumhome_loggedinusers template is still visible (albeit without any names) I could really do with this template not being visible to guests either, as it shows the number of members/guests online, which I would prefer them not to see. Any more ideas? TIA |
#6
|
||||
|
||||
index.php
find PHP Code:
PHP Code:
find PHP Code:
PHP Code:
|
#7
|
|||
|
|||
Thanks Nuno, that did the trick
Thanks to you other guys for your help too |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|