J
J.Black
Guest
Hi this is a little and easy mod,it will display an image called noavatar.gif in the member list/profile/postbit/postbit legacy if the user has NOT selected an avatar of their own, if they have selected an avatar, then it will show the avatar they have selected, everyone can install this in "1 minute"
Here´s the stuff
First download the plugin in the attachment, then upload it via Admincp/Plugins & Products/Download Upload Plugin
then upload to this folder yourforumroot/images/avatars
the image in attachment
once done do this template edit
In Template Memberlist_resultsbit
FIND
REPLACE IT WITH THIS
Done!
Here´s the stuff
First download the plugin in the attachment, then upload it via Admincp/Plugins & Products/Download Upload Plugin
then upload to this folder yourforumroot/images/avatars
the image in attachment
once done do this template edit
In Template Memberlist_resultsbit
FIND
Code:
<if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['avatar']"><img src="$avatarurl" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /><else /> </if></td></if>
REPLACE IT WITH THIS
Code:
<if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass"> <if condition="$avatarurl == null"><a href="member.php?$session[sessionurl]u=$userinfo[userid]"><img src="/images/avatars/noavatar.gif" border="0" /></a><else /> <if condition="$show['avatar']"><img src="$avatarurl" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /><else /> </if> </td></if></if>
Done!