Back to vBulletin 3.5 Template Modifications

Profile Pic in Postbit Legacy
Mod Version: 1.01, by hiiped

This modification is in the archives.
vB Version: 3.5.4 Rating: (1 vote - 5.00 average) Installs: 4
Released: 06 Mar 2006 Last Update: Never Downloads: 2
Not Supported Template Edits Is in Beta Stage  

This simple template >> postbit_legacy code change shows your profilepicture under your Username in showthread ( topics )

Time to install: 52 seconds :ninja:

log into your admin control panel , go to
StyleManager >>> Edit Templates >>>
Postbit Templates >>> Postbit Legacy >>>

search for
Code:
 <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
add below

Code:
   <if condition="$show['profilepic']">
				<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" />
				</div>
			</if>
			<div class="smallfont">
				&nbsp;<br />
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="image.php?u=$post[userid]&amp;type=profile&amp;dateline=$userinfo[profilepicdateline]" width="110" /> <br /></a> <br />
Optional: REMOVE THE BELOW CODE FROM THE POSTBIT_LEGACY TEMPLATE IF YOU DONT WANT THE AVATAR TO SHOW THE SAME TIME AS THE PROFILEPIC

Code:
 <if condition="$show['avatar']">
				<div class="smallfont">
					&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
				</div>
			</if>
SAVE = DONE

updated: Profile pic is now clickable to view profile

note1: to above, you can place the code in other places if you want
note2: may also add this to regular postbit ( I just use Legacy for my test )

Known bugs

when you change your profilepic, the image does NOT change in your posts
maybe an EXPERIENCED coder has idea how to fix this (?)

..

Download

No files for download.

Screenshots

 

Similar Mods

Show Thread Enhancements Showing Custom Profile Fields On Postbit And Postbit Legacy vBulletin 3.6 Template Modifications
Mini Mods Your Orkut Profile link in your postbit legacy vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024