10
I assume you used the previous tricks to get an array of members, right?
Those members are assigned to Smarty in some way (with a $xoopsTpl->assign('something' => $somethingelse); )
So in between these two operations, you can put a (not proper syntax, but outlining the principle)
foreach ($user as $thisuser) {
$users['name'] = $thisuser->getVar('uname');
$users['rank'] = $thisuser->rank();
...
...
}
$xoopsTpl->assign('users' => $users);