The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I necroed a post about this yesterday, but I think a new thread would be more appropriate. We are using VB 3.7.1. We would like to have a way to hide (not delete) the post count of all staff members. Since the staff is quite large and changes fairly often, it would be nice if this could be done via a secondary usergroup or some kind of plugin. So far, I haven't found anything that has this feature and no built in methods. Does anyone have ideas?
|
#2
|
||||
|
||||
![]()
Just wrap places where it displays the post counts with conditionals:
Code:
<if condition="!is_member_of($bbuserinfo, X, Y, Z)">CODE</if> |
#3
|
|||
|
|||
![]()
Thank you! Where you have CODE between the > <, what would be the statement? Something like "$show['postcount']" but with a negative in there somewhere?
|
#4
|
||||
|
||||
![]()
You have to find where the post count is displayed in the postbit (find $post[posts]), and put that in the middle of it.
|
#5
|
|||
|
|||
![]()
The negative goes only before is_member_of(). Like so:
Code:
<if condition="!is_member_of($bbuserinfo, X, Y, Z)">$show['postcount']</if> |
#6
|
|||
|
|||
![]()
Gotcha, thanks guys.
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|