View Full Version : Remove Banned Users Avatars and other postbit info
BamaStangGuy
02-09-2005, 06:05 AM
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?
Craigr
02-09-2005, 11:50 AM
You could simply delete the avatar and post count via the admin-cp.
BamaStangGuy
02-09-2005, 06:04 PM
You could simply delete the avatar and post count via the admin-cp.
I don't want to do this as some members are only banned for a few days. I want that information to be invisible for the days that they are banned. When unbanned I want it to reappaer.
Jolten
02-09-2005, 08:16 PM
Add a conditional to the postbit template.
<if condition="$bbuserinfo[usergroupid] != 'bannedusergroup']">
avatar and other information here
</if>
trackpads
02-09-2005, 08:31 PM
Add a conditional to the postbit template.
<if condition="$bbuserinfo[usergroupid] != 'bannedusergroup']">
avatar and other information here
</if>
Yup, this is how I remove that info for guests as well. good post jolten!!
BamaStangGuy
02-10-2005, 12:47 AM
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
Jolten
02-10-2005, 04:16 AM
Actually, you're right... technically it should be something like this:
<if condition="$post[usergroupid] != 'bannedusergroup']">
avatar and other information here
</if>
that's untested
BamaStangGuy
02-10-2005, 04:31 AM
Actually, you're right... technically it should be something like this:
<if condition="$post[usergroupid] != 'bannedusergroup']">
avatar and other information here
</if>
that's untested
:D
That worked! Thanks alot for your help
btw:
<if condition="$post[usergroupid] != 'bannedusergroup']">
should be:
<if condition="$post[usergroupid] != 'bannedusergroup'">
No ] at the end
Jolten
02-10-2005, 06:03 AM
yup...typo..sorry
indie
02-16-2005, 03:56 PM
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!
joedaddy
10-09-2005, 08:38 PM
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 wr
any solutions?
There are a few threads like this floating around lately.. How about a way to autoshrink avatars if their new usergroup has different size limitations, such as if they were once a paid member, and do not renew.
Robbed
02-07-2006, 05:17 PM
:D
That worked! Thanks alot for your help
btw:
<if condition="$post[usergroupid] != 'bannedusergroup']">
should be:
<if condition="$post[usergroupid] != 'bannedusergroup'">
No ] at the end
Where did you add this, and is any other required for this to work?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.