The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
--------------- Added [DATE]1361049497[/DATE] at [TIME]1361049497[/TIME] ---------------
Okay, I kind of figured out why. My if condition was saying that, if the user moderated the forum and the user is apart of the usergroup IDs I specified, they could see the code. I needed it so if the user moderated the current forum and the user who moderates that forum is a member of the usergroup ID I specified, then they get the code shown in their post and is visible to everyone else. My friend helped me get to this code; HTML Code:
<if condition="can_moderate($GLOBALS[forumid], 0, $post[userid]) AND is_member_of($userinfo, 7,47)"> <div class="smallfont"><b><big>{$GLOBALS['foruminfo']['title']}Leader</big></b></div></if> <else /> <if condition="can_moderate($GLOBALS[forumid], 0, $post[userid]) AND is_member_of($userinfo, 5,55)"> <div class="smallfont"><b><big>{$GLOBALS['foruminfo']['title']} Moderator</big></b></div> </if> |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|