The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Trying to hide userinfo in certain forums
I am trying to hide the poster user info in certain forums. I am assuming that I need to do a if/else statement. I have this so far but It's not working correctly...
Code:
<vb:if condition="!in_array($forum[forumid], array(166, 2, 3))"> SHOW THIS <vb:else /> SHOW THAT </vb:if> So for example a user visits forum 44 and everything looks normal but when that same user visits forum 166 2 or 3 the poster info is not in the post. Eventually I would like to remove the sig of the poster too. Thanks, Ryan |
#2
|
|||
|
|||
Where are you putting that, in postbit? Try using $GLOBALS[forumid] - I just read somewhere that that should workin most places.
|
#3
|
|||
|
|||
Will do thanks for the reply!
|
#4
|
|||
|
|||
That seemed to hide it in all forums as well
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|