View Full Version : Can someone help me find this mod?
dbirosel
07-10-2007, 04:19 AM
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.
Dismounted
07-10-2007, 04:51 AM
Can't you already do this by default via the Usergroups Manager?
dbirosel
07-10-2007, 05:04 PM
Not sure, but i know that mod had something special about it.
Dismounted
07-11-2007, 05:48 AM
Check in the usergroup permissions, I'm pretty sure there's an option to disable Guests viewing it.
Attilitus
07-11-2007, 08:55 AM
If not go into the templates and wrap this code around it
<if condition="$vbulletin->userinfo['userid'] != 0">CODE</if>
Dismounted
07-11-2007, 09:57 AM
Corrected version of code posted by Attilitus
<if condition="$vbulletin->userinfo['userid'] != 0">CODE</if>
Attilitus
07-11-2007, 03:30 PM
oops forgot the equals sign. :)
troybtj
07-12-2007, 01:15 AM
How can you change that statement to show for 5 usergroup ids only?
I'm not familiar with the if condition/vbulletin variables. :(
Dismounted
07-12-2007, 04:46 AM
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3, 4, 5)">CODE</if>
troybtj
07-12-2007, 01:54 PM
Thanks a bunch! The userguides I've found don't cover those details.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.