1
Gellor
Need help tweaking getuserlist
  • 2006/7/21 19:19

  • Gellor

  • Just popping in

  • Posts: 4

  • Since: 2006/7/21


Hi, this question pertains to the team module, but what I want to change is the useage of core stuff. It calls the following routine in the process of building a member list to choose from. I'd like it to pull the AllMembers list from a member group as opposed to a list of all members on the site, so instead of a list several hundred people long, I will only have a list 20 people long. the best I can tell is that i have to change this function in functions.php:

function getAllMembers() {
$member_handler = xoops_gethandler('member');
$allmembers = $member_handler->getUserList();
return $allmembers;

Can anyone help me out here? If you want to know, the user group that i want to use is id #5.

On a related note, does there exist a detailed primer to developing with XOOPS somewhere that lists syntax for things lke xoops_gethandler and getUserList?

EDIT: Mithrandir replied on his Team Module forum. heres the link:

http://xoops.web-udvikling.dk/modules/newbb/viewtopic.php?post_id=339&topic_id=78&forum=3#forumpost339

Login

Who's Online

364 user(s) are online (88 user(s) are browsing Support Forums)


Members: 0


Guests: 364


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits