The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
linking avatar to somewhere other than profile
Is this even possible? I would like to know if you can link a single individual's avatar to somewhere other than the user's profile.
Even if I had to create a special usergroup for the individual.. That would be OK .. being the admin/owner of my site, I would like to have my avatar linked to something else. My username can be clicked on for those that want to get to my profile.. But I wish to have my avatr linked to another of my sites. any help would greatly be appreciated |
#2
|
|||
|
|||
You can edit the postbit (or postbit_legacy, if your user info is on the left) and you'll find some code like this (the code below is from postbit_legacy, but it's similar in postbit):
Code:
<if condition="$show['avatar']"> <div class="smallfont"> <br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> </div> </if> the part in red tells where the avatar links to, so you could change it for one user by doing something like: Code:
<if condition="$show['avatar']"> <div class="smallfont"> <br /><a href="<if condition="$post[userid] == X">URL<else />member.php?$session[sessionurl]u=$post[userid]</if>"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> </div> </if> |
Благодарность от: | ||
basskiller |
#3
|
|||
|
|||
I use posbit, But edited the part you mentioned and it works like a Charm.. Thanks a ton!!!!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|