• Resolved sergio01

    (@sergio01)


    Hi. I would like to know where I can find the PHP/HTML url’s of each registered user. I mean, I know that the page url is the same for all the registered users /user/, but after /users/ there’s a name for every registered one /user/username.

    So is that. I need to find the HTML pages of each user to add a code, NO to the user page (/user/) but the individual and unique user page (/url/username). Where in the archives of the plugin I can find it?

    Hope I explained myself well. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @sergio01

    Sorry for the late response. You can retrieve the Profile URL with the following code snippet:

    $user_id = 123;
    $profile_url = um_user_profile_url( $user_id );

    Feel free to re-open this thread by changing the topic status to “Not Resolved” so we can get back to you.

    Regards,

    Thread Starter sergio01

    (@sergio01)

    Thanks a lot. I guess I have to create a file and add that code snippet and the other code I have only for that concret user. But where I supposed to put that created file? I mean, in what folder of the Ultimate Member archives I should look at? Thanks again and sorry for my ignorance.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @sergio01

    Sorry for the late response.

    You don’t have to create a file or modify the UM core files.

    You can add your code with Code Snippet plugin:
    https://www.ads-software.com/plugins/code-snippets/

    Regards,

    Thread Starter sergio01

    (@sergio01)

    Ok. Sorry for disturbing and thanks a lot. I’try it. Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HTML pages’ is closed to new replies.