Announcement

Collapse
No announcement yet.

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

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

  • 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, 6:47pm.

  • #2
    Hello

    Sorry, we are unable to assist with custom coding, you dhould ask on vbulletin.org, the modification site.
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.6.3 Demo
    AdminAmmo - My Cloud Demo

    Comment


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

      Comment


      • #4
        Originally posted by wdwms View Post
        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

        TalkNewsUK - My vBulletin 5.6.3 Demo
        AdminAmmo - My Cloud Demo

        Comment

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