The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hiding a design element from a single user
One of my staff members on my site is asking me if its possible for me to hide his post count and a few other things from all members of the forum, and I was wondering if I can use conditional templates?
I know you can use: <if condition="$vbulletin->userinfo['userid'] != 557"></if>; to hide the information from that user id, but would it be possible to hide an element for a single user, for all users? |
#2
|
||||
|
||||
This - <if condition="$vbulletin->userinfo['userid'] != 557"></if> - hides things only from userid 557 who is browing the board. It doesn't hide all of userid 557's stuff. If it's in the postbit, you'd use $post['userid'] instead of $vbulletin->userinfo['userid'] to hide all of userid 557's stuff from everyone. You'd also have to do something similar to the profile page since the post count is shown there also. Seems like a lot of effort for one user. (There is also a mod to allow users to decide what of there own stats to show to other users in the postbit. You can search for it.)
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|