Quote:
Originally Posted by djjeffa
Im sure it was asked but i cant find it.
how do we use the profile pic instead of the avator as the main pic?
also how do we set up a defaut pic so i stop getting red x's for members without a pic?
|
replace
Code:
><if condition="$show['avatar']">
<div class="smallfont">
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" border="4" alt="" style="border-color:white;" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></center>
</div>
<else /> <center><img src="http://www.sevencityforums.com/foru...le/nopropic.jpg">
</if></
With This
Code:
<if condition="$show['profilepic']">
<img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="$userinfo[username]" border="0" style="border:1px solid $stylevar[tborder_bgcolor]" />
<else />
<img src="http://test.forum.com/images/noprofpic.gif" $userinfo[profilepicsize] alt="$userinfo[username]" border="0" style="border:1px solid $stylevar[tborder_bgcolor]" />
</if>
and maybe try installing this
https://vborg.vbsupport.ru/showthrea...efault+profile