PDA

View Full Version : Changing welcome block link?


eternally
03-22-2009, 01:57 PM
in the welcome block one of the options is to have a module link which is by default {$vbulletin->options[bburl]}/usercp.php?$session[sessionurl] which takes the user to their usercp

What would be the code I'd have to put in this line to make it go to the users profile instead? or if I wanted the avatar, when clicked, to go to the user profile instead of going to their change avatar page?

I tried putting http://www.example.com/member.php but it requires the user number which looks like this http://www.example.com/member.php?u=400

which indicates the user number. What command is required to pick up the user number automatically?

Thank you very much for this.

Royalridge
03-23-2009, 09:23 AM
Try
member.php?$session[sessionurl]u=$bbuserinfo[userid]

Our Sponsors
 

Brian
03-23-2009, 09:33 AM
Royal's code will work in templates. You would need this for the module link:
member.php?$session[sessionurl]u={$vbulletin->userinfo[userid]}