The Arcive of vBulletin Modifications Site. |
|
Switch Avatar and Profile Picture Locations Details »»
|
|||||||||||||||||||||||||||
|
Switch Avatar and Profile Picture Locations
Developer Last Online: Apr 2010
As requested in this topic:
https://vborg.vbsupport.ru/showthrea...06#post1556906 This simple mod will replace the avatar with the profile picture and vice versa in the user's avatar. It's very simple, requires only two template edits and no file edits, products/plugins or database changes for obvious reasons. Instructions: MEMBERINFO: Replace: 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>" /></td>
</if>
Code:
<if condition="$prepared['avatarurl']">
<td id="profilepic_cell" class="tborder alt2"><img src="$prepared[avatarurl]" alt="<phrase 1="$prepared[username]">$vbphrase[xs_avatar]</phrase>" $prepared[avatarsize] class="alt2" id="user_avatar" /></td>
</if>
Replace: Code:
<if condition="$prepared['avatarurl']">
<td><img src="$prepared[avatarurl]" alt="<phrase 1="$prepared[username]">$vbphrase[xs_avatar]</phrase>" $prepared[avatarsize] class="alt2" id="user_avatar" /></td>
</if>
Code:
<if condition="$prepared['profilepicurl']">
<td><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td>
</if>
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
nice
thank you |
![]() |
|
|