The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Remove Banned Users Avatars and other postbit info
How would I go about hiding a banned users avatar post count and all that other information in their postbit from all the other users on the forum?
|
#2
|
||||
|
||||
You could simply delete the avatar and post count via the admin-cp.
|
#3
|
||||
|
||||
Quote:
|
#4
|
|||
|
|||
Add a conditional to the postbit template.
Code:
<if condition="$bbuserinfo[usergroupid] != 'bannedusergroup']"> avatar and other information here </if> |
#5
|
||||
|
||||
Quote:
|
#6
|
||||
|
||||
I still think you guys are missing what I am wanting to do.
If I ban user XXX I want their postbit information removed. Only theirs. I don't want registered, moderators or admin users to see their postbit. The above code it looks like you are making it so the banned usergroup can't see the postbit info correct? and if that is the correct code I am doing something wrong because it still shows the banned users avatar and other postbit info |
#7
|
|||
|
|||
Actually, you're right... technically it should be something like this:
Code:
<if condition="$post[usergroupid] != 'bannedusergroup']"> avatar and other information here </if> |
#8
|
||||
|
||||
Quote:
That worked! Thanks alot for your help btw: Code:
<if condition="$post[usergroupid] != 'bannedusergroup']"> Code:
<if condition="$post[usergroupid] != 'bannedusergroup'"> |
#9
|
|||
|
|||
yup...typo..sorry
|
#10
|
|||
|
|||
What if we wanted to use this for a usergroup, since when you disable avatars for a usergroup, they still show if they had them before you disabled them...
Would you have to hard code the usergroup number in, or could you have the code detect the avatar settings, to disallow avatars if they are not allowed in permissions? Can anyone post an example code? Great, thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|