Who's online custom card
Get a real time feed of your colleagues who are also on the site
What it does
Shows a list of active users on the site. It has a polling option that updates the list in real time, so you can see the most currently active users.
Complexity
Installation
All free custom cards are automatically available on ThoughtFarmer and can be added to content templates. (To learn more, see Create and edit default templates and Modify a page template.) Details about the cards can be found on the ThoughtFarmer Admin panel: User interface section > Custom cards page.
Configuration
This card takes in 3 configuration parameters that let you control the behaviour of the card. Those are:
- maxIdleTime: This is the time in minutes that will indicate a currently active user. If the user has performed no actions in the configured time frame, they will no longer appear in the card.
- maxUsers: The maximum number of users to show. Given any maxIdleTime configuration, you may have more or less users then the maxUsers configuration.
- pollingSeconds: How long between refreshes. If you do not want polling then set this to 0. Recommended is no shorter then 5 seconds.
Example configuration:
{
"maxIdleTime": 60,
"maxUsers": 50,
"pollingSeconds": 5
}
Comments
0 comments
Please sign in to leave a comment.