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

SeeSchloss’s picture

Status: Active » Closed (works as designed)

The 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).