Add Who's online docs, minor doc updates to last callers, and code cleanup
This commit is contained in:
@@ -23,7 +23,7 @@ Available `config` block entries:
|
||||
* `actionIndicatorDefault`: Default indicator when an action is not set. Defaults to "-".
|
||||
|
||||
### Theming
|
||||
When in a list view, the following `itemFormat` object is provided:
|
||||
The following `itemFormat` object is provided to MCI 1 (ie: `%VM1`):
|
||||
* `userId`: User ID.
|
||||
* `realName`: User's real name or "N/A".
|
||||
* `ts`: Timestamp in `dateTimeFormat` format.
|
||||
|
||||
17
docs/modding/whos-online.md
Normal file
17
docs/modding/whos-online.md
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
layout: page
|
||||
title: Who's Online
|
||||
---
|
||||
## The Who's OnlineModule
|
||||
The built in `whos_online` module provides a basic who's online mod.
|
||||
|
||||
### Theming
|
||||
The following `itemFormat` object is provided to MCI 1 (ie: `%VM1`):
|
||||
* `userId`: User ID.
|
||||
* `node`: Node ID the user is connected to.
|
||||
* `timeOn`: A human friendly amount of time the user has been online.
|
||||
* `realName`: User's real name.
|
||||
* `location`: User's location.
|
||||
* `affiliation` or `affils`: Users affiliations.
|
||||
* `action`: Current action/view in the system taken from the `desc` field of the current MenuModule they are interacting with. For example, "Playing L.O.R.D".
|
||||
|
||||
Reference in New Issue
Block a user