plugin:whoisonline
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:whoisonline [2013-10-30 14:32] – [Discussion] 194.119.85.99 | plugin:whoisonline [2022-07-17 22:20] (current) – coastGNU | ||
---|---|---|---|
Line 7: | Line 7: | ||
type : syntax | type : syntax | ||
lastupdate : 2013-06-20 | lastupdate : 2013-06-20 | ||
- | compatible : 2013-05-10 "Weatherwax" | + | compatible : Hrun, Weatherwax, Greebo, !Hogfather, Igor |
depends | depends | ||
conflicts | conflicts | ||
Line 13: | Line 13: | ||
tags : users, ajax | tags : users, ajax | ||
- | downloadurl: | + | downloadurl: |
- | bugtracker : http:// | + | bugtracker : https:// |
- | sourcerepo : http:// | + | sourcerepo : https:// |
donationurl: | donationurl: | ||
Line 21: | Line 21: | ||
---- | ---- | ||
+ | === For Hogfather and Igor support === | ||
+ | * Edit '' | ||
+ | public function render($mode, | ||
+ | * with< | ||
+ | public function render($mode, | ||
===== Installation ===== | ===== Installation ===== | ||
Copy the whoisonline folder into the / | Copy the whoisonline folder into the / | ||
- | Install | + | Search and install |
===== Examples/ | ===== Examples/ | ||
Line 37: | Line 42: | ||
~~whoisonline~~ | ~~whoisonline~~ | ||
- | The popup list can be customized in the admin configuration. The default is {username} but you can add all sorts of HTML to make it link to places. Here is what I use on my site... | + | The popup list can be customized in the admin configuration. The default is '' |
<a href="/ | <a href="/ | ||
Line 43: | Line 48: | ||
This will make the popup list have their fullname that links to their user page on the wiki, and then the current page they are looking at which you can click to. | This will make the popup list have their fullname that links to their user page on the wiki, and then the current page they are looking at which you can click to. | ||
- | If you want to track the users but not show the count or the list just add the NOSHOW option on some footer to record their presence, then you can do the regular ~~whoisonline~~ on an admin page to view the results. | + | If you want to track the users but not show the count or the list just add the NOSHOW option on some footer to record their presence, then you can do the regular |
~~whoisonline: | ~~whoisonline: | ||
Line 53: | Line 58: | ||
~~whoisonline: | ~~whoisonline: | ||
~~whoisonline: | ~~whoisonline: | ||
- | |||
===== Configuration and Settings ===== | ===== Configuration and Settings ===== | ||
Line 65: | Line 69: | ||
=== Change Log === | === Change Log === | ||
- | * **20013-06-20** | + | * **2013-06-20** |
* Initial release | * Initial release | ||
Line 83: | Line 87: | ||
which had a great code example. I formatted it for my needs and made a Dokuwiki plugin out of it. | which had a great code example. I formatted it for my needs and made a Dokuwiki plugin out of it. | ||
- | ===== Discussion | + | ===== Adding Email to Substitution List ===== |
+ | On line 48 of syntax.php, replace: | ||
- | Great plugin, simple and useful! There is a small bug, however, verified on two different machines, both running Firefox 24.0 on Windows XP. The text typed on the chat textbox doesn' | + | <code php> |
- | <code css> | + | |
- | -moz-box-sizing: | + | if( isset($INFO[' |
+ | $userdisplay = str_replace( array( " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | array( $INFO[" | ||
+ | $INFO[" | ||
+ | $INFO[" | ||
+ | $_SERVER[" | ||
+ | $displaypattern ); | ||
</ | </ | ||
- | on the css file solves | + | |
+ | with: | ||
+ | <code php> | ||
+ | |||
+ | if( isset($INFO[' | ||
+ | $userdisplay = str_replace( array( " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | array( $INFO[" | ||
+ | $INFO[" | ||
+ | $INFO[" | ||
+ | $INFO[" | ||
+ | $_SERVER[" | ||
+ | $displaypattern ); | ||
+ | </ | ||
+ | |||
+ | on line 10 of settings.php | ||
+ | |||
+ | replace: | ||
+ | <code php> | ||
+ | $lang[' | ||
+ | </ | ||
+ | with: | ||
+ | <code php> | ||
+ | $lang[' | ||
+ | </ | ||
+ | |||
+ | ===== Discussion ===== |
plugin/whoisonline.1383139939.txt.gz · Last modified: 2013-10-30 14:32 by 194.119.85.99