set default signature and avatar to members

ouslewis

New Member
How can do this mod : to give default signature and avatar to my forum members!
I don"t see this option to my adminCP! how can do these modifications?
 

source : How To Show A Default Avatar In Posts - vBulletin Community Forum


How To Show A Default Avatar In Posts

Admin CP -> Styles & Templates -> Style Manager -> « » -> Postbit Templates -> postbit or postbit_legacy (depending on which layout you use)

For the postbit template, find this code and add the red code:

Code:
Code:
 				<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td>[color=Red]<else /><if condition="$bbuserinfo[showavatars]"><td class="alt2"><img src="URL OF BLANK AVATAR" alt="No Avatar" border="0" /></td></if>[/color]</if>

Change the image URL appropriately.

for the postbit_legacy template, find this code and add the red code:
Code:
 	Code:
 				<if condition="$show['avatar']">
				<div class="smallfont">
					&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
				</div>
[COLOR="Red"]			<else />
				<if condition="$bbuserinfo[showavatars]">
					<div class="smallfont">
						<img src="URL OF BLANK AVATAR" alt="No Avatar" border="0" />
					</div>
				</if>[/COLOR]
			</if>

edit: fixed error in postbit code.
 
Are your posts horizontal across the top(Postbit), like on here? Or to the left, vertical wise? (Postbit Legacy)
 
Back
Top