Forums / Setup & design / Fetching curent users (online) list.

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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.