The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I remember going to New Modifications weeks ago, and found a mod that hides the What's Going On box to Guests. Does anyone remember what that mod was called? Thanks.
|
|
#2
|
||||
|
||||
|
Can't you already do this by default via the Usergroups Manager?
|
|
#3
|
|||
|
|||
|
Not sure, but i know that mod had something special about it.
|
|
#4
|
||||
|
||||
|
Check in the usergroup permissions, I'm pretty sure there's an option to disable Guests viewing it.
|
|
#5
|
||||
|
||||
|
If not go into the templates and wrap this code around it
Code:
<if condition="$vbulletin->userinfo['userid'] != 0">CODE</if> |
|
#6
|
||||
|
||||
|
Corrected version of code posted by Attilitus
Code:
<if condition="$vbulletin->userinfo['userid'] != 0">CODE</if> |
|
#7
|
||||
|
||||
|
oops forgot the equals sign.
|
|
#8
|
|||
|
|||
|
How can you change that statement to show for 5 usergroup ids only?
I'm not familiar with the if condition/vbulletin variables.
|
|
#9
|
||||
|
||||
|
Code:
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3, 4, 5)">CODE</if> |
|
#10
|
|||
|
|||
|
Thanks a bunch! The userguides I've found don't cover those details.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|