The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
I have seen at some other forums using vbulletin and over at vbulletin.org that when someon posts their username is a link to their profile. How is this done?
Netman Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Well, all I did was look in the postbit template, the variable which calls the username is $post[username] - no surprise there, but further down there is the profile variable - $post[profile]. All you need to do is find the exact code that this var poits to and apply it to the username var. There is a template called postbit_profile which turns profile.gif into the link, all i did was use this and apply it to $post[username] instead of profile.gif.
Once you've got the right href... <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]" target="_blank"> You can apply it to anything you like to turn it into a link.... In the postbit template, find: PHP Code:
PHP Code:
|
![]() |
|
|