1
ice799
how does xoopsmember module work?
  • 2004/7/15 15:19

  • ice799

  • Just popping in

  • Posts: 3

  • Since: 2004/7/13


So I'm attempting to write a module that works in a similar way as xoopsmembers, the module queries a database and returns the result, that part works fine. I was attempting to reuse the code from xoopsmembers to display the results on multiple pages, however after copying over the code, it does not seem to work correctly, I think that I should be able to figure out why if some one can give me a tip as to how the xoopsmember search module actually keeps results hidden. from what i can see, the module assigns every result to the 'users' buffer.

the code in xoopsmember module that does this is located in index.php and looks something like:


$foundusers =& $member_handler->getUsers($criteria, true);
foreach (array_keys($foundusers) as $j) {
/* assign LOTS of stuff to the userdata buff.*/

$xoopsTpl->append('users', $userdata);
}

so yeah in short i guess if anyone knows how the heck the xoopsmember module seems to "hide" some of its results for display until you hit "next page".... any info would be sweet.

thanks.

Login

Who's Online

432 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 432


more...

Donat-O-Meter

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

Latest GitHub Commits