The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Clickable usernames and avatars
hey guys,
new to these stuff, i just wanna ask, how do i make the username (on every post) clickable? When I click the username, it will lead me to the profile of the user. also the avatars clickable, whereas if i click it, i will directed to the avatars page where i can change my avatar. are there hacks for those? or just additional codes? also does anyone know how to put that magnifying glass beside the username? and have the last few posts of the person? thanks in advance |
#2
|
||||
|
||||
No hacks needet!
Open Postbit Template: change: Code:
<normalfont><b>$post[username]</b></normalfont> Code:
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]" target="_blank" class="name" id="name"><normalfont><b>$post[username]</b></normalfont></a> The clickable avatars must have the same Link as the link to the usernames. Just replace: Code:
$post[avatar] Code:
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]" target="_blank" class="name" id="name">$post[avatar]</a> |
#3
|
|||
|
|||
thanks dude! great help.
one more thing, how about "find more posts" of the person? like here in the magnifying glass? |
#4
|
||||
|
||||
Just use this Link:
Code:
[<a href="search.php?s=$session[sessionhash]&action=finduser&userid=$post[userid]"><img src="images/postbit_find.gif" border="0" alt="Find more posts by $userinfo[username]"></a>] Thats it. |
#5
|
|||
|
|||
about the avatar, how can i make it clickable to change my avatar? not go to the profile though. like when i click on the avatar, it goes to the avatar page and i can change right there and then
thanks dude. |
#6
|
||||
|
||||
Test this:
Code:
<a href="member.php?s=$session[sessionhash]&action=editavatar" target="_blank" class="name" id="name">$post[avatar]</a> |
#7
|
|||
|
|||
Thanks dude! It works, I just changed the link. But it works.
also, i've tried adding a tag "Click on avatar to change it" it doesn't work.. how do i do it? and add borders? |
#8
|
||||
|
||||
I hope ill get you right, ...
you want a "Alt-Tag" for the Avatar-Link? Ok, ... change: Code:
<a href="member.php?s=$session[sessionhash]&action=editavatar" target="_blank" class="name" id="name">$post[avatar]</a> Code:
<a href="member.php?s=$session[sessionhash]&action=editavatar" target="_blank" class="name" id="name" alt="Click on avatar to change it">$post[avatar]</a> |
#9
|
||||
|
||||
add borders around the avatar?
hmm, ok! Go to Postbit Avatar: change: Code:
<img src="$avatarurl" border="0" alt=""> Code:
<img src="$avatarurl" border="1" alt=""> |
#10
|
|||
|
|||
the avatar alt-tag doesn't work though but its ok. thanks for all the help dude! til my next questions. lol. thanks
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|