![]() |
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 |
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:
|
All times are GMT. The time now is 03:29 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|