No Avatar Selected - Display Appropriate Image
This modification is in the archives.
In PostBit Templates - Postbit Search for: <if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> Underneath add: <if condition="$avatarurl == null"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="INSERT URL TO NO AVATAR SELECTED IMAGE" border="0" /></a></td></if> This will maintain the flow of your board, by displaying avatars for everybody, but for those that don't have one selected yet, they will get one such as http://www.ru55ian.net/forum/html/avatars/noavatar.gif This is my first (and best) bit of coding, I am an absolute NEWBIE so it'll be great if this is useful to anybody!! Download No files for download. |
Similar Mods
Show "No Avatar" Image If No Avatar is Selected | vBulletin 2.x Full Releases |
Default avatar if none selected. | vBulletin 2.x Template Modifications |