The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How To Hide Avatar
hello
i want to hide members avatar in religion I Know We Can do that but dont know how to do it Can Any1 Help Me?? |
#2
|
||||
|
||||
You want to hide a users avatar? You may remove it. Or, you may put the user in a usergroup that doesn't allow avatars.
|
#3
|
||||
|
||||
If you think the avatar is breaking one of your forum's rules, tell the user, and ask them to remove it. If they don't remove it, remove it for them.
|
#4
|
|||
|
|||
no i dont want to remove avatar of any user
just want to that if any user go in religoius section the avatar hide it self i seen that on some forums |
#5
|
||||
|
||||
Find the avatar in the postbit and put a condition around it:
HTML Code:
<if condition="$thread['forumid'] != x"> <a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> </if> |
#6
|
|||
|
|||
what shall i change that X with??
|
#7
|
||||
|
||||
The forumid you don't want the avatar to show up in.
|
#8
|
|||
|
|||
i tried to install it and now it shows two avatars on posbit lol
can u explain plz if u dont mind |
#9
|
||||
|
||||
I said put the condition *around* where the avatar is linked - don't add that code, replace the code (well, of just take the <if> and </if> and put it around the avatar link).
|
#10
|
|||
|
|||
i replaced the code and when i changed the X to forum id it gives me an error
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|