Extension:AjaxWhosOnline

From MediaWiki.org

Jump to: navigation, search


           

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
WhosOnlineAjax

Release status: beta

Implementation  Tag, User activity
Description An ajax addition to Extension:Whos online. This allows a more dynamic view into what is happening on a wiki site. It will come with mouseover options which will allow a variety of display and chat options.
Last Version  0.9.4
MediaWiki  1.11+
License GPLv2 or higher
Download http://www.gizmogarden.com/extensions/WhosOnlineAjax.0.9.4.zip
Example  http://www.gizmogarden.com/index.php/Whos_online_ajax

check usage (experimental)

Contents

[edit] What can this extension do?

Dynamically list users currently on the site without having to refresh the screen. Release 0.9.3 has more robust installation.


Example1.jpg

[edit] Usage

Use this extension when you are interested in building a dynamic list of users of your wiki, without having to refresh a page.

[edit] Installation

  • download beta release 0.9.4 and extract zip into extensions directory
  • LocalSettings.php add require_once("extensions/WhosOnlineAjax/WhosOnlineAjax.php"); 
  • edit WhosOnlineAjax.php and supply appropriate values for your site.
$dbusername="mydbusername"; 
$dbpassword="mydbpassword"; 
$database="mydatabasename"; 

function getConfig ()
{
		print "maxWidth|3||<br />";
		print "URL|http://mywikisite.com/wiki/extensions/WhosOnlineAjax/||<br />";
		print "BaseURL|http://mywikisite.com/wiki/||<br />";
}

  • all styles can be modified and are contained in WhosOnlineAjax.css

[edit] Sites using this extension

[edit] See also