Show Members who are online on Front/Index page

Isleander
Isleander
@isleander
3 years ago
554 posts
I was hoping to show which users are actually online (member profiles) on the front page.
But it only shows my own profile when other members are online - is it possible to show all active members?
updated by @isleander: 12/17/21 10:09:39AM
douglas
@douglas
3 years ago
2,790 posts
You'll want to use the jrUser_online_status function for this:

https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/4263/jruser-online-status

Should be able to use the HTML editor widget for this as well.

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Isleander
Isleander
@isleander
3 years ago
554 posts
Hello Douglas,

I've looked at the documentation, but can't see a way of adding " jrUser_online_status " to the HTML Editor. I assume I would have to add something in the Source Code? At a bit of a loss here!
paul
@paul
3 years ago
4,326 posts
Might be best to use the 'template' widget and include the smarty call
{jrUser_whos_online template="whos_online.tpl"}
in it.
Note that with this call you need to specify a template. Look in one of the legacy skins, eg. Nova, to see the contents of it's whos_online.tpl template and adapt it to suit.
hth


--
Paul Asher - JR Developer and System Import Specialist
Isleander
Isleander
@isleander
3 years ago
554 posts
I follow in part what you are saying, but how would I add a "whos_online.tpl" to the Ninja skin in order to call that specific template?