Back to vBulletin 3.5 Template Modifications

Defualt Profile Picture in Profile
Mod Version: 1.00, by PennylessZ28

This modification is in the archives.
vB Version: 3.5.0 Rating: (0 vote - 0 average) Installs: 28
Released: 09 Oct 2005 Last Update: Never Downloads: 10
Not Supported  

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>
Replace with

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

vblts.ru supports vBulletin®, 2022-2024