Announcement

Collapse
No announcement yet.

Link to profile

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

  • Link to profile

    How do I provide a link to individual user profiles on the side. Basically you can view your own usercp as it is but I want them to be able to view their profile as others can see it via a simple link on the navbar.

  • #2
    Profile links look like this:

    http://www.vbulletin.com/forum/member.php?u=50829

    In the templates you would use code like this to generate this link for the current logged in user:

    Code:
    <a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">PROFILE LINK</a>

    Comment


    • #3
      I would like to modify the user profile links to go to their profile in my main site. Could someone please point me to the right place to change what vBulletin outputs for those links?

      Thank you very much.

      Comment


      • #4
        These links are everywhere in the templates.
        It would make more sense to redirect the member.php file to your custom profile page in the php file or with .htaccess.
        Best Regards
        Colin Frei

        Please don't contact me per PM.

        Comment


        • #5
          Colin

          I'll do that then. I was just hoping that the link was being built at one spot in the code somewhere and I could just adjust it there.

          Thanks for the quick reply.

          Comment

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