XOOPS has a mechanism to collect data regarding the "onlline" status of users. This logic is currently embedded in htdocs/modules/system/blocks/system_blocks.php b_system_online_show().
It would be useful to have this logic separated in such a way that it could be shared for any potential use. As it stands, each consumer of the online data requires its own copy of the collection code, and there is no way to know if that collection code has already been run during any given request.
More detail on the issue can be found in #491
XOOPS has a mechanism to collect data regarding the "onlline" status of users. This logic is currently embedded in htdocs/modules/system/blocks/system_blocks.php b_system_online_show().
It would be useful to have this logic separated in such a way that it could be shared for any potential use. As it stands, each consumer of the online data requires its own copy of the collection code, and there is no way to know if that collection code has already been run during any given request.
More detail on the issue can be found in #491