How do I make username link to profile

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kport
    Member
    • Dec 2007
    • 66
    • 3.6.x

    How do I make username link to profile

    At the top of my forum homepage, I've made it so it shows our name:
    Welcome to Habboing, JustBoss
    How do I make it so that it links to that users profile?

    This is the original code to it:
    HTML Code:
    <div class="headfont">Welcome to Habboing, <if condition="$show['member']">
        $bbuserinfo[musername]
    And this was my attempt at doing it:

    HTML Code:
    <div class="headfont">Welcome to Habboing, <if condition="$show['member']">
        <a href="http://habboing.com/member.php?u=$userid">$bbuserinfo[musername]</a>
    I then went to the homepage but when I click my username it goes to http://habboing.com/member.php?u=
    not filling in the userid.
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24295
    • 6.0.X

    #2
    Instead of

    $userid

    try

    $bbuserinfo[userid]

    Should work on 3.8 if my memory is any good.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...