Quote:
Originally Posted by Lift for Life
Other than the "Missing argument" error on the friends link, this mod (including the Gifts attachement) is working great for me on 3.7.2
I love this style!
Thanks
|
I see on the profile pics you are missing /forums/ to display the question mark, the same on the memberlist.
Go to memberinfo template and find
PHP Code:
<!-- ##### PROFILE PIC ##### -->
<if condition="$prepared['profilepicurl']">
<td id="profilepic_cell" class="tborder alt2" align="center"><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td><else /><td id="profilepic_cell" class="tborder alt2" align="center" height="200"><img src="/images/misc/no_profilepic.gif" alt="" border="0"/></td>
<if condition="$prepared['myprofile']"><tr><td class="explanation" nowrap="nowrap" align="center"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td></tr></if>
</if>
<!-- ##### /PROFILE PIC ##### -->
and replace for this
PHP Code:
<!-- ##### PROFILE PIC ##### -->
<if condition="$prepared['profilepicurl']">
<td id="profilepic_cell" class="tborder alt2" align="center"><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td><else /><td id="profilepic_cell" class="tborder alt2" align="center" height="200"><img src="/forums/images/misc/no_profilepic.gif" alt="" border="0"/></td>
<if condition="$prepared['myprofile']"><tr><td class="explanation" nowrap="nowrap" align="center"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td></tr></if>
</if>
<!-- ##### /PROFILE PIC ##### -->
Then go to memberlist templates and on memberlist_resultbit
Find
PHP 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" class="whiteborder"/><else /><img src="/images/misc/unknown.gif" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="24" /></if></td>
</if>
Replace with
PHP 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" class="whiteborder"/><else /><img src="/forums/images/misc/unknown.gif" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="24" /></if></td>
</if>
I will have an updated copy of the red style you see on demos hopefully tonight and have the friends page fixed