
Upgrade
This version should work well again with the update script.
Find it in the /update directory. Windows users execute the update.bat where Linux users will have to pass the file to the php executeable.
Download
If you want to upgrade from any older version or this is your first install, go to http://www.manialive.com.
See the download tab for the latest release, download and extract it.
Plugins
As always you can download just the core, but that won't do much

Download the new plugin package on: http://code.google.com/p/manialive/downloads/list
Extract it to the ManiaLive folder. After that you need to add the plugins in your config file so that they are loaded (read the wiki on the google project on how to do that).
Features you should know about
Thanks to the latest release, there is now a currentVote property in the Storage class. this property contain an object if there is a vote in progress. The object stay in the Storage class until the end of the loop of the end of the vote. If there is no vote, the property is set to null.
We also add a Cache system. In this class you can store data you want to share with other plugins. You have 4 methods to know to use it
Code: Select all
//To store some data
//The timeToLive value is optionnal, if set, the value will be destoyed once the time in second will be reached
$this->store('mySuperKey',$mySuperData, $timeToLive);
//To get some data stored by the plugin itself
$mySuperData = $this->fetchOwn('mySuperKey');
//To get some data stored by an other plugin
if($this->exists($pluginId,'mySuperKey'))
{
$mySuperData = $this->fetch('$pluginId, 'mySuperKey');
}
Changes
+ add compatibility with server build of 21st feb 2011
+ add the currentVote to the storage class
+ add Cache system to ManiaLive to store data to be share between classes
* bug fixes