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-11-01 16:30] – typo Aleksandr | 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 : Weatherwax | + | compatible : Hrun, Weatherwax, Greebo, !Hogfather, Igor |
depends | depends | ||
conflicts | conflicts | ||
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 64: | Line 69: | ||
=== Change Log === | === Change Log === | ||
- | * **20013-06-20** | + | * **2013-06-20** |
* Initial release | * Initial release | ||
Line 81: | Line 86: | ||
The idea from this came from this link http:// | The idea from this came from this link http:// | ||
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. | ||
+ | |||
+ | ===== Adding Email to Substitution List ===== | ||
+ | On line 48 of syntax.php, replace: | ||
+ | |||
+ | <code php> | ||
+ | |||
+ | if( isset($INFO[' | ||
+ | $userdisplay = str_replace( array( " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | array( $INFO[" | ||
+ | $INFO[" | ||
+ | $INFO[" | ||
+ | $_SERVER[" | ||
+ | $displaypattern ); | ||
+ | </ | ||
+ | |||
+ | 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 ===== | ===== Discussion ===== | ||
plugin/whoisonline.1383319810.txt.gz · Last modified: 2013-11-01 16:30 by Aleksandr