Wiki addition suggestion - Finding userIDs

  • Philip Nicolcev

    Philip Nicolcev - 2008-02-04

    I came across some confusion when following the wiki article on assigning moderator/admin status manually here:

    The article says to assign roles by using the userID as such:
    if($userData['userID'] == 123456)
       $userData['userRole'] = AJAX_CHAT_MODERATOR;

    But how to find the userID when all I know is their name?
    I use the phpbb3 integration and I eventually found it by looking at the URL in the user's profile.

    For example
    is the profile for user 201.

    I think a page that explains userIDs could be useful :)

    • Sebastian Tschan

      I added a note the the Wiki page. :)


Log in to post a comment.