Announcement

Collapse
No announcement yet.

Navbar link - Profile or Register

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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..

  • #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 - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment

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