Defualt Profile Picture in Profile
This modification is in the archives.
Just like the defualt avatar for users who don't have one, I wanted to fill the void for users who didn't have a profile picture.
Here is an example of someone with no profile information http://www.hr3rdgen.org/member.php?u=273 And someone with all the information filled out http://www.hr3rdgen.org/member.php?u=1 This is very simple, just follow the directions. ACP > Styles & Templates > Style Manager Edit your MEMBERINFO template Find: HTML Code:
<if condition="$show['profilepic']"> <td valign="top" align="$stylevar[right]" rowspan="2"> <img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /> </td> </if> HTML Code:
<if condition="$show['profilepic']"> <td valign="top" align="$stylevar[right]" rowspan="2"> <img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /> </td> <else /> <td valign="top" align="$stylevar[right]" rowspan="2"> <img src="$stylevar[imgdir_misc]/no_pic.jpg" alt="$userinfo[username]" border="0" style="border:1px solid $stylevar[tborder_bgcolor];" /> </td> </if> Now all you need to do is create a defualt profile picture image to use. I made one in photoshop real quick and named it no_pic.jpg and uploaded to the images/misc directory. Download No files for download. |
Similar Mods
2 or more profile picture | vBulletin 3.5 Template Modifications |