Custom PHP module on Member page - how can i get the ID of the user

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wdwms
    Member
    • Jan 2013
    • 90
    • 4.2.X

    Custom PHP module on Member page - how can i get the ID of the user

    We are writing code to extend the member page to include some additional information about the user stored in our own tables. I can pull the name of the current user using vB5_User::get('username'), but i want to pull the name of the user who's profile page we are on. Is there a variable for that?

    For instance, suppose the url is /member/7412-ahappyuser123

    What variable stores AHaPPyUser123

    Thanks
    Last edited by wdwms; Wed 30 Jul '14, 5:47pm.
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #2
    Hello

    Sorry, we are unable to assist with custom coding, you dhould ask on vbulletin.org, the modification site.
    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

    • wdwms
      Member
      • Jan 2013
      • 90
      • 4.2.X

      #3
      I'm not asking for custom coding, i'm just asking if the variable is available..

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24287
        • 6.0.X

        #4
        Originally posted by wdwms
        I'm not asking for custom coding, i'm just asking if the variable is available..
        The support team cannot tell you this, as we are not programmers. We can help you to use the software, but we cannot assist with coding.
        Discussion of variables and whether they are available in specific templates is better suited to vbulletin.org.
        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...