The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#6
|
||||
|
||||
![]()
I might be mistaken, but the code i posted above may actually be showing 2 avatars for those who have no profile picture, and have not selected a gender. Assuming you haven't already forced your previously registered members to do select a field. In case you do notice this problem, the code below should correct that problem.
HTML Code:
<if condition="$prepared['profilepicurl']"> <td id="profilepic_cell" class="tborder alt2"> <img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /> <else /> <if condition="$userinfo[field12]==Male"> <img src="http://www.your-domain.com/images/Default-Male-Pic.gif"> <else /> <if condition="$userinfo[field12]==Female"> <img src="http://www.your-domain.com/images/Default-Female-Pic.gif"> <else /> <img src="http://www.your-domain.com/images/no-gender-pic.gif"> </if> </if> </td> </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|