6
If you have the Members module instaled, you get the number of members in its main page. If you go to the template section, you'll see this info comes from <{$lang_totalusers}>.
I'm trying to put that info in a block but I'm failing miserably. I guess in the end the only way to do that is either by a big hack in Members module or by using it to create a new module with a dummy block displaying <{$lang_totalusers}> or $total.
I believe this is the important part of Members' index.php:
$member_handler =& xoops_gethandler('member');
$total = $member_handler->getUserCount(new Criteria('level', 0, '>'));
$xoopsTpl->assign('lang_totalusers', sprintf(_MM_TOTALUSERS, '
'.$total.''));.
I hope we can get thru this and end a bit wiser... either by getting to know how to do that or by learning to leave code to people that can code