Difference between revisions of "Reference:BlueSpiceWhoIsOnline"
(Tag: 2017 source edit) |
Extension: BlueSpiceWhoIsOnline
Overview | |||
---|---|---|---|
Description: | Shows which users have been logged-in in the last 10 minutes. Displays a list of users who are currently online | ||
State: | stable | Dependency: | MediaWiki, BlueSpice |
Developer: | HalloWelt | License: |
GPL-3.0-onlyProperty "BSExtensionInfoLicense" (as page type) with input value "</br>GPL-3.0-only" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. |
Type: | BlueSpice | Category: | - Rich Articles |
Edition: | BlueSpiceFree"BlueSpiceFree" is not in the list (BlueSpice pro, BlueSpice free, BlueSpice Farm, BlueSpice Cloud, BlueSpice free (deactivated), BlueSpice pro (deactivated), BlueSpice Farm (deactivated), BlueSpice Cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property., BlueSpicePro"BlueSpicePro" is not in the list (BlueSpice pro, BlueSpice free, BlueSpice Farm, BlueSpice Cloud, BlueSpice free (deactivated), BlueSpice pro (deactivated), BlueSpice Farm (deactivated), BlueSpice Cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property. |
Features
With
the extension WhoIsOnline you can see
which users have been logged-in in the last 10 minutes.
Widgetbar[edit | edit source]
If you want to see this information in your widget bar please go to User:USERNAME/Widgetbar
and enter
* WHOISONLINE
Now you find links to all logged-in users in your widget bar.

Content area[edit | edit source]

To use this extension in an article (usually main page) you can show this information with a flyout that is customizable. For example:
{{#userslink:(who?)|top:270px;right:300px;background:white;border: 2px solid black;padding:5px;}}.
Or show all logged-in users in a list:
- displays a list of logged-in users
- displays the number of logged-in users
-
tags can be integrated on content pages
-
<bs:whoisonline:popup anchortext='new label' />
shows currently logged-in users in a popup when hovering over a link -
<bs:whoisonline:count />
or<userscount />
shows the number of logged-in users
-
Technical Information[edit source]
This information applies to BlueSpice 3 . Technical details for BlueSpice cloud can differ in some cases.
Requirements[edit source]
- MediaWiki: 1.31
- BlueSpiceFoundation: 3.2
Configuration[edit source]
Name | Value |
---|---|
WhoIsOnlineInterval | 10 |
WhoIsOnlineLimitCount | 7 |
WhoIsOnlineMaxIdleTime | 600 |
Hooks[edit source]
Configuration[edit | edit source]
Name | Description | Type | Default value | Scope |
---|---|---|---|---|
LimitCount | Number of users to be shown | int | 7 | user |
OrderBy | Sort order | onlinetime, name | onlinetime | user |
MaxIdleTime | After this time in seconds of inactivity, the user is counted as offline. | int | 600 | public |
Interval | The display is updated this often in seconds | int | 10 | public |
MaxIdle Time and Interval can be set in the Config manager.
Popup arguments[edit | edit source]
Name | Description | Type | Default value |
---|---|---|---|
anchortext | Link label | str | Who is online? |
{{BSExtensionInfobox |desc=Shows which users have been logged-in in the last 10 minutes. |BSExtensionInfo |status=stable |developer=HalloWelt |type=BlueSpice |edition=BlueSpiceFree, BlueSpicePro |active=Yes |compatible=MediaWiki, BlueSpice |docu=https://www.mediawiki.org/wiki/Extension%CB%90WhoIsOnline }} __NOTOC__ With "Who's online" you can see,BlueSpice free, BlueSpice pro, BlueSpice Farm, BlueSpice Cloud |compatible=BlueSpice |category=Rich Articles |features= With the extension '''WhoIsOnline''' you can see which users have been logged-in in the last 10 minutes. ==Widgetbar== If you want to see this information in your [[WidgetBar|widget bar]] please go to <code>User:USERNAME/Widgetbar</code> and enter <pre>* WHOISONLINE </pre> Now you find links to all logged-in users in your widget bar. [[File:BlueSpice2-WhoIsOnline-WidgetBar-en.png|thumb|none|700px|Screenshot: All logged-in users appera in the WidgetBar]] ==Content area== [[File:BlueSpice-WhoIsOnline-Text-en.png|thumb|left|220px|Screenshot: All logged-in users are shown in the content.]] To use this extension in an article (usually main page) you can show this information with a flyout that is customizable. For example: <pre>{{#userslink:(who?)|top:270px;right:300px;background:white;border: 2px solid black;padding:5px;}}. </pre> Or show all logged-in users in a list: <pre><bs:whoisonline:popup anchortext='Wer ist online?' /> </pre> [[Category:Extension]] [[Category:BlueSpice_free]] [[Category:BlueSpice_docu]] [[Category:BlueSpice_public]] [[en:{{FULLPAGENAME}}]][[de:WhoIsOnline]]*displays a list of logged-in users *displays the number of logged-in users *tags can be integrated on content pages **<code><nowiki><bs:whoisonline:popup anchortext='new label' /></nowiki></code> shows currently logged-in users in a popup when hovering over a link **<code><nowiki><bs:whoisonline:count /></nowiki></code> or <code><nowiki><userscount /></nowiki></code> shows the number of logged-in users }} ===Configuration=== {| class="reference wikitable" !Name !Description !Type !Default value !Scope |- |''LimitCount'' |Number of users to be shown |int |7 |user |- |''OrderBy'' |Sort order |onlinetime, name |onlinetime |user |- |''MaxIdleTime'' |After this time in seconds of inactivity, the user is counted as offline. |int |600 |public |- |''Interval'' |The display is updated this often in seconds |int |10 |public |} ''MaxIdle Time'' and ''Interval'' can be set in the [[Manual:Extension/BlueSpiceConfigManager|Config manager]]. ===Popup arguments=== {| class="reference wikitable" !Name !Description !Type !Default value |- |''anchortext'' |Link label |str |Who is online? |}
(29 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{BSExtensionInfo |
− | |||
|status=stable | |status=stable | ||
|developer=HalloWelt | |developer=HalloWelt | ||
|type=BlueSpice | |type=BlueSpice | ||
− | |edition= | + | |edition=BlueSpice free, BlueSpice pro, BlueSpice Farm, BlueSpice Cloud |
− | | | + | |compatible=BlueSpice |
− | | | + | |category=Rich Articles |
− | | | + | |features= With the extension '''WhoIsOnline''' you can see which users have been logged-in in the last 10 minutes. |
+ | |||
+ | *displays a list of logged-in users | ||
+ | *displays the number of logged-in users | ||
+ | *tags can be integrated on content pages | ||
+ | **<code><nowiki><bs:whoisonline:popup anchortext='new label' /></nowiki></code> shows currently logged-in users in a popup when hovering over a link | ||
+ | **<code><nowiki><bs:whoisonline:count /></nowiki></code> or <code><nowiki><userscount /></nowiki></code> shows the number of logged-in users | ||
}} | }} | ||
− | + | ===Configuration=== | |
− | + | {| class="reference wikitable" | |
− | + | !Name | |
− | == | + | !Description |
− | + | !Type | |
− | + | !Default value | |
− | + | !Scope | |
− | + | |- | |
− | + | |''LimitCount'' | |
− | + | |Number of users to be shown | |
− | + | |int | |
− | + | |7 | |
− | + | |user | |
− | + | |- | |
− | + | |''OrderBy'' | |
− | + | |Sort order | |
− | + | |onlinetime, name | |
− | + | |onlinetime | |
− | + | |user | |
− | + | |- | |
− | + | |''MaxIdleTime'' | |
− | + | |After this time in seconds of inactivity, the user is counted as offline. | |
+ | |int | ||
+ | |600 | ||
+ | |public | ||
+ | |- | ||
+ | |''Interval'' | ||
+ | |The display is updated this often in seconds | ||
+ | |int | ||
+ | |10 | ||
+ | |public | ||
+ | |} | ||
+ | ''MaxIdle Time'' and ''Interval'' can be set in the [[Manual:Extension/BlueSpiceConfigManager|Config manager]]. | ||
− | + | ===Popup arguments=== | |
− | + | {| class="reference wikitable" | |
− | + | !Name | |
− | + | !Description | |
− | + | !Type | |
+ | !Default value | ||
+ | |- | ||
+ | |''anchortext'' | ||
+ | |Link label | ||
+ | |str | ||
+ | |Who is online? | ||
+ | |} |