View Full Version : no avatar on cmps main page
clearchannel
06-20-2005, 07:42 AM
I do not allow avatar's. In the welcome block on the main cmps page I get a broken image instead of the noavatar.gif.
The properities for the broken image show as http://www.yourdomain.com/?
Where do I place the correct path to the noavatar.gif.
Thank you in advance.
Brian
06-20-2005, 12:54 PM
If you'll look in your adv_portal_welcomeblock template for this bit of code:
<if condition="$bbuserinfo['userid']">
<a href="$vboptions[bburl]/profile.php?do=editavatar"><img src="$avatarurl" border="0" alt="$vbphrase[edit_avatar]" /></a>
</td>
<td class="$altbgclass" valign="top" width="100%">
And replace it with this:
<if condition="$bbuserinfo['userid']">
<if condition="$avatarurl">
<a href="$vboptions[bburl]/profile.php?do=editavatar"><img src="$avatarurl" border="0" alt="$vbphrase[edit_avatar]" /></a>
</td>
<td class="$altbgclass" valign="top" width="100%">
</if>
That should take care of the problem.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.