Yeah, I think you could throw that before_filter in your base_controller and
then you should be able to track online users when they visit any part of
the site. update_last_seen_at is defined in AuthenticatedSystem, line #2.

On Wed, Mar 11, 2009 at 8:39 PM, moritz <[email protected]> wrote:

>
> A quick grep revealed that it's implemented as a
>
>  before_filter :update_last_seen_at, :only => :show
>
> in ./vendor/plugins/community_engine/app/controllers/
> topics_controller.rb
>
> so unless someone is active in the forum, it won't be recognized -
> maybe it can be expanded.
>
> On Mar 11, 4:25 pm, LostyJai <[email protected]> wrote:
> > I want to be able to retrieve a list of users who care online.
> > Currently I am doing this by querying the activities table, for any
> > activities created within the past 20 minutes.
> >
> > Is there a better way of doing this?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to