Username Links

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Chapster5
    Member
    • Jul 2009
    • 42

    Username Links

    Hey guys, i have yet another question (bet you love me now!)

    Anyway i would like to know how to make it so when you click your username in the top right (where is says Welcome, username) how do i make it so it becomes a link to the user control panel? Ive done it before but dont remeber how unfortunatly

    Anyways thanks

    Nick
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24358
    • 5.7.X

    #2
    In the navbar template, look for the following line:

    Code:
    <strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
    Change the link to usercp.php
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    • Chapster5
      Member
      • Jul 2009
      • 42

      #3
      Ok so i tried changing it to read

      welcome_x_link_usercp.php
      welcome_x_usercp.php_y
      welcome_x_usercp.php

      but nothing works it tells me theres some form of error with the code go back and fix it.
      Last edited by Chapster5; Fri 2 Oct '09, 4:05am.

      Comment

      • Trevor Hannant
        vBulletin Support
        • Aug 2002
        • 24358
        • 5.7.X

        #4
        That's the phrase you're changing.

        Change:

        Code:
        <phrase 1="$bbuserinfo[username]" 2="[COLOR=red]member.php[/COLOR]?$session[sessionurl]u=$bbuserinfo[userid]">
        to read:

        Code:
        <phrase 1="$bbuserinfo[username]" 2="[COLOR=blue]usercp.php[/COLOR]?$session[sessionurl]u=$bbuserinfo[userid]">
        Vote for:

        - Admin Settable Paid Subscription Reminder Timeframe (vB6)
        - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

        Comment

        • Chapster5
          Member
          • Jul 2009
          • 42

          #5
          Ahhh silly me, thank you it works now
          Nick

          Comment

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