Fetching curent users (online) list.

Author Message

Marek Korozan

Wednesday 17 March 2004 8:21:03 pm

Welcome.
I have a problem. How to fetch currently online users list? I found the same question in forum dated July 2003 (or similar) but without any response. I know how to fetch myself using this code:

{let user=fetch( 'user', 'current_user' )}
User: {$user.contentobject.name}<br />
Email: {$user.email}<br />
Login: {$user.login}<br />
{/let}

I really tried to find an ansswer and do this by myself, but I'm not good in writing scripts and I only waste my time (I tried to use children, loop and similar - but without luck). Anyone know how it should be look like? I'd be appreciated. I lost 3 days and I don't know how to do this. Help. Thank You.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.