The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
http://www.domain.com/customavatars/avatar$bbuserinfo[userid]_$bbuserinfo[avatarrevision].gif
The link above after researching will show a members avatar. How do I have it show that avatar but also detect if there is no avatar to display like no-avatar.gif? Has to be some <if><else></if> statement I could quickly make? |
|
#2
|
|||
|
|||
|
Why don't you say:
Code:
<if condition="$bbuserinfo['avatarrevision']">
http://www.domain.com/customavatars/avatar$bbuserinfo[userid]_$bbuserinfo[avatarrevision].gif
<else />
no-avatar.gif
</if>
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|