Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Functions to display moderators and forum activity of a certain group


jordashtalon
Member

@jordashtalon

@nuprn1

Hey I was able to get the topics and posts to print out properly, however with the moderator I was able to get an Array with the user ID of every Moderator in that category: This is a var dump of one:

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 mods profile, mods picture, and mods name, 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..)

Also I’m printing out the group IDS and Forum IDS at the bottom of the site when i’m in a group or forum, is there a better way to look them up?

Thanks for all your help.

Skip to toolbar