Skip to:
Content
Pages
Categories
Search
Top
Bottom

Printing out a Users name, picture, and link from User ID


  • jordashtalon
    Member

    @jordashtalon

    I was able to get an array of all the moderators of a certain group, the array dump looks like this:

    Array ( [0] => stdClass Object ( [user_id] => 10 [date_modified] => 2010-07-25 01:51:48 ) [1] => stdClass Object ( [user_id] => 16 [date_modified] => 2010-07-26 14:37:24 ) [2] => stdClass Object ( [user_id] => 27 [date_modified] => 2010-07-26 16:49:17 ) )

    So I should be able to loop through all the user ids, is there a function to get a link to the users profile, users name, and users picture, all from the user ID?

    Where can I look up functions like that? Is there a place to look it up?

    I’m also looking for the following functions:

    most recent user in a group by id, last activity date of a group by id (e.g. Last Activity 2 days ago..)

    Thanks for all your help.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Printing out a Users name, picture, and link from User ID’ is closed to new replies.
Skip to toolbar