Skip to content
WJunction - Webmaster Forum

No avatar selected -mod/hack

Status
Not open for further replies.
you must have seen on many of the forums.
if we do not select any avtar there comes 1 by default saying no avtar selected.

Can I know how do i do this on my 3.7.2 vBulletin:delighted:.
Will be really appreciable.
Thank you in advance.
 

2 comments

I just got the answer now only

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:
<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><else /><img src="URL OF BLANK AVATAR" alt="No Avatar" border="0" /></if>
Change the image URL appropriately.

for the postbit_legacy template, find this code and add the red 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>
			<else />
				<div class="smallfont">
					<img src="URL OF BLANK AVATAR" alt="No Avatar" border="0" />
				</div>
			</if>
 
Status
Not open for further replies.

About the author

S
Banned · Joined
267
Messages
0
Reactions
16
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom