Navbar link - Profile or Register

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • geiri
    Senior Member
    • Feb 2004
    • 296
    • 4.0.x

    Navbar link - Profile or Register

    Is it possible to add a Navbar link to users profile?

    If so could it be users name or a link to registration..
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74111

    #2
    Linking to a user's profile would require custom javascript to actually handle the dynamic linking. Each user has a different link to their profile. This consists of their userid and username. For instance, mine is /member/868-wayne-luke. Though only the userid is needed. This is stored in the javascript variable pageData.userid. However, the user can access their own profile from the drop-down menu of their username after they log in. This is in the top-right corner of the page.

    You can add a link to the registration page with "register" as the destination. You can't have one link do two things though. You would have to show one link to the users that are logged in and another link to those not logged in. You can edit the navbar link permissions when creating the link under Navigation Bar.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

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