Forum OpenACS Development: Re: Users who have requested a page in the last 10 min. ? (acs-core)

I've rewritten the patch wi now work with the namespace util::whos_online, as well it's possible for users to set them self invisible.

-public
util::whos_online::user_ids          (returns a list of user_id's of those users wich have requested a page in the last 10min.)
util::whos_online::all_user_ids      (like ::user_ids but even those user_ids wich are invisible are returned)
util::whos_online::all_invisible    (return all user_ids wich are invisible and online )
util::whos_online::set_invisible  $user_id        (Set the user_id to invisible, this state alters when a user gets offline )
util::whos_online::unset_invisible $user_id      (Resets the user_id to visible)
util::whos_online::check_invisible $user_id      ( returns 'true' if user_id is invisible and 'false' otherwise)

-private
util::whos_online::flush    (Cleaning the internal used nsv_sets, run by a Scheduled proc every hour)

The new patch has number #126 .