This widget is optimized for Chromium. Please report any incompatibilities with other browsers or just do a pull request.
- Copy
standalone/prspy/
into the root directory of your site. - Configure the widget settings in
standalone/index.php
.
// refresh interval of widget in ms
var interval = 30000;
// you can list more than one, e.g. ["[3dAC]", "[KSK]"];
var clantags = ["[KSK]"];
// Individual players (you can list more than one, e.g. ["MadMak.41", "BlameWicca"];)
var vips = ["MadMak.41"];
// Clan tags, starting from the end of a player's name (you can list more than one, e.g. [".41", ".42"];)
var backtags = [".41"];
// show backtag in popup after name (values: true, false)
var showbacktag = false;
// show clantag in popup before name (values: true, false)
var showtag = false;
// prspy data url
var prspydata = '/prspy/serverdata.php';
- Copy the distinguished sections of
standalone/index.php
into your corresponding template page.
- Run
make.bat
to import web files from standalone version. This is necessary to avoid duplicate files in version control which have to be adjusted twice during changes. - Copy
joomla_module/mod_prspy
into themodules/
folder of your Joomla! installation. - Acitvate and configure the settings in the administration backend.
Tested with Joomla!-Version 2.5.24.
- Run
make.bat
to import web files from standalone version. - Copy
wordpress_plugin/prspy-widget
into thewp-content/plugins/
folder of your Wordpress installation. - Acitvate and configure the settings in the administration backend.
Tested with Wordpress Version 4.0.
- Clantags (
[KSK],[3dAC],...
) defines the clantag(s) which will be filtered. - Show clantags (
true
,false
) defines wether clantags are shown before names or not. - Interval (
ms
) defines the refresh interval of the PRSpy widget in milliseconds. - PRSpy data url (
prspy/serverdata.php
) defines a relative or absolute URL to PRSpy JSON data. The fileserverdata.php
retrieves http://www.realitymod.com/prspy/json/serverdata.json?#time()# and deliver it from the same domain. It avoids blocking messages like unsafe script by different browsers.
Original Concept: [3dAC] blip2
Joomla Module and Flags/Scores: [KSK] wenzul