Closed (works as designed)
Project:
Tribune
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2009 at 05:43 UTC
Updated:
9 Sep 2012 at 14:19 UTC
Hi
I'd like to display a list of active users on the Tribune page itself.
I see there is a php function in the code but I'd like to access the active users list from the tribune.ajax.js and then assign the output to a div on the page using jquery.
What's the best way for me to access the active users list.
I also intend to update the list every time the chat messages are updated.
Ross
Comments
Comment #1
SeeSchloss commentedThe JS code doesn't keep the list of users itself, so you have to make ajax requests yourself to the correct URL (which I don't remember right now, but is found in Drupal.settings).