The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hide postcount/joindate in postbit for certain usergroups
Hi all,
How do I need to change the postbit so that it does not display postcount and joindate for selected usergroup IDs? Thanks, Tobias |
#2
|
||||
|
||||
Code:
<if condition="!is_member_of($vbulletin->userinfo, X, Y, Z)">CODE</if> |
#3
|
|||
|
|||
Thanks! However, I just realized that my original post was not clear enough, because I am actually looking for something the other way around.
I want to not display the postcount and joindate of selected usergroups, so that for example the postcount of moderators is never visible. Would that only be a minor change of the code above? |
#4
|
||||
|
||||
That is the code . I did understand you the first time around.
|
#5
|
|||
|
|||
Well, I tried it out before I replied, and the condition definitely relates to the usergroup of the person viewing the forum, not to the user whose postbit you are looking at... so I am definitely not there yet
|
#6
|
||||
|
||||
Whoops, something I overlooked. Sorry.
Code:
<if condition="!is_member_of($post, X, Y, Z)">CODE</if> |
#7
|
|||
|
|||
Excellent... thanks so much!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|