CHANGES 2.0.1
~~~~~~~~~~~~~
 - Changes:
   - none

 - Changes in the mania_karma.xml:
   - Changed all <images>'s to ManiaCDN

 - Bugfix:
   - none



CHANGES 2.0.0
~~~~~~~~~~~~~
 - Changes:
   - This version require XAseco/1.16+
   - Added async communication with global database, like the Dedimania-Plugin does
   - Updated to support the API/4.0.0 from ManiaKarma.com
   - Renamed the plugin to "plugin.mania_karma.php"
   - Renamed the config file to "mania_karma.xml"
   - Removed command "/karma debug"
   - Restyled the KarmaWidget to display global and local votes together and included external (and replaceable) graphics instead of in-game styles as indicator
   - Added WhoKarmaWindow for global votes from connected Players
   - With the new option <karma_calculation_method> you can switch between 'RASP'- and 'MANIA'-Karma calculation method
   - New Feature: Map-Images are now transfered to the API, but only if it is not already existing

 - Changes in the mania_karma.xml:
   - Renamed <tmkarma> to <mania_karma> (Root element)
   - Moved <masterserver_account><nation> to <mania_karma> (Top level)
   - Removed <masterserver_account>*
   - Added at <widget_styles><vote_buttons>*
   - Added at <widget_styles><race> the addition options <title>, <icon_style> and <icon_substyle>
   - Added at <widget_styles><score> the addition options <title>, <icon_style> and <icon_substyle>
   - Renamed <reminder_window> to <display>
   - Added <reminder_window> and moved <display> into it
   - Added <race> and <score>* into <reminder_window>
   - Renamed <reminder_window_pos_x> to <pos_x> and moved into <reminder_window><race>
   - Renamed <reminder_window_pos_y> to <pos_y> and moved into <reminder_window><race>
   - Changed <reminder_window><race><pos_x> from '-40.2' to '-41'
   - Changed <reminder_window><race><pos_y> from '-25' to '-26'
   - Renamed <karma_widget><gamemode><*><widget_pos_x> to <pos_x>
   - Renamed <karma_widget><gamemode><*><widget_pos_y> to <pos_y>
   - Changed URLs at <images>*
   - Renamed <images><tmkarma_logo> to <maniakarma_logo>
   - Added <images><cup_gold> and <images><cup_silver>
   - Changed <urls><website> from 'www.tm-karma.com' to 'www.mania-karma.com'
   - Changed <urls><api_auth> from 'http://worldwide.tm-karma.com/API-3.0.0.fphp' to 'http://worldwide.mania-karma.com/api/tmforever-trackmania-v4.php'
   - Added <keepalive_min_timeout>
   - Removed <debug>
   - Replaced all "tm-karma.com" with "ManiaKarma" in <messages>*
   - Replaced all "tm-karma" with "ManiaKarma" in <messages>*
   - Added <karma_calculation_method>
   - Added <images><progress_indicator>

 - Bugfix:
   - [PHP Notice] Undefined property: stdClass::$id on line 1075 in file... (thanks Sandzange)
   - [PHP Notice] Undefined property: Player::$rights on line 1048|1157 in file... (thanks hacki65)
   - Command "/karma reload" does not refresh the whole Widget
   - Reminder-Window opens, but the Player can not vote because of <require_finish> > 0 (thanks hacki65)



Version 1.0.7
~~~~~~~~~~~~~
 - Changes:
   - The ReminderWindow now are hidden as soon the Player has clicked one of the Buttons
   - Now it is possible to change the number format with <number_format>

 - Changes in the tmkarma.xml:
   - Added <number_format>

 - Bugfix:
   - Preventation for negativ vote counts and strange Karma values like "1.0E+15" (thanks TheBigG)
   - Players that did not reached the <require_finish> limit see at Score the message "... What do you think?" also




Version 1.0.6
~~~~~~~~~~~~~
 - Changes:
   - If the Plugin lost the connection to the global database, then now local votes are stored (if <save_karma_also_local> is set to 'true'),
     stored local votes are sync'd to the global database on the next time the Player and the Track are loaded to play
   - Speedup the process for counting the amount of finishes for each Player from the local Database, if <require_finish> is set to > 0

 - Changes in the tmkarma.xml:
   - Removed <messages><connection_failed>
   - Removed <messages><karma_fail_local>

 - Bugfix:
   - Override/Reset new global karma votes on Player connect
   - Undefined index:  players on line [1949, 1953, 1957, 1961, 1965, 1969] in file...




Version 1.0.5
~~~~~~~~~~~~~
 - Changes:
   - Changed formating of the amount of votes from e.g. "10 906" to "10,906" (english notation)
   - Optimaized the send-out of the Message when <show_player_vote_public> is set to 'true'

 - Changes in the tmkarma.xml:
   - Changed <reminder_window_pos_x> from '-47.9' to '-40.2'

 - Bugfix:
   - In some situation the PHP Notice "Undefined index: players on line 3294" are logged
   - "/karma export" fails and after each restart the reminder to export comes (thanks TheBigG and L3cKy)




Version 1.0.4
~~~~~~~~~~~~~
 - Changes:
   - Optimized the build process of the ReminderWindow at Score, now it´s send out to a bunch of Players instead to each seperated

 - Changes in the tmkarma.xml:
   - Changed structur of <karma_widget>

 - Bugfix:
   - Undefined index: [login from a Player] on line 2316, 2319... (thanks tyjo)
   - PlayerVoteMarker in the Widget are not at the right position in Score if <require_finish>
     is set to > 2 and the Player only finish the map one less (thanks «从々.»«ॐ²³»)
   - ReminderWindow in Score is visible when Player did not reache the <require_finish> limit (thanks «从々.»«ॐ²³»)
   - Up-to-date check on lost connection freeze XAseco for <wait_timeout> (thanks TheBigG)
   - Plugin exit on lost connection to the API (raise E_USER_ERROR)




Version 1.0.3
~~~~~~~~~~~~~
 - Bugfix:
   - Vote where sometimes not stored at the central database (thanks TheBigG)
   - If <required_finish> was set to '0', then the Global-Karma-Values are lost on Player connects (thanks TheBigG)
   - Disable the <karma_widget> in one of the game modes did not take affect (thanks biloudeprovence)
   - Votecount is to large in the Widget when more then 10,000 votes was made
   - Crash when <remind_to_vote> is set to 'always' or 'finished' (thanks Noobinc)




Version 1.0.2
~~~~~~~~~~~~~
 - Changes:
   - It is now possible to sync global votes into the local database for each Player who is connected (thanks .anDy, soehest)
   - SpeedUp the Votes, all Votes now are send together to the Database at the next Map and not for each Vote a remote call,
     also the local storing is now at this stage
   - Track-Karma-Detail-Windows style pimped
   - The DetailedKarmaWindow now includes the local vote statistics too (thanks holzi3441, sbone)
   - The DetailedKarmaWindow is now cached (thanks tyjo)
   - The rebuild of the DetailedKarmaWindow is now delayed, refresh with the global refresh interval
   - Included a check for Plugins that can not co-exists with this (e.g. plugin.rasp_karma.php)
   - ReminderWindow and TMX-LinkWindow resized to fit into the place with the Plugin Records-Eyepiece together
   - Added global Plugins Register Pool to enabling version check (for plugin.third-party-plugins-uptodate.php)
   - If <require_finish> is not 0, then a click on the (disabled) red buttons (e.g. +++ ...) results into a message, that the Player has
     to finish this Track first (same as using the chat command +++...)
   - Changed the order in the Track-Karma-Detail-Windows from "+ ++ +++ - -- ---" to "+++ ++ + - -- ---"
   - Changed the Karma-Calculation in the API-V3 (thanks sol666, max)
   - Changed the colors of the Karma in the Widget to illuminate the value: 0 - 30 = red, 31 - 60 = yellow, 61 - 100 = green
   - Changed the Keys from the event onKarmaChange

 - Changes in the tmkarma.xml:
   - Added <sync_global_karma_local>
   - Removed <masterserver_account><communitycode>
   - Changed <karma_widget><state><widget_pos_x> and <widget_pos_y> to the same position as at 'TimeAttack' (at <mode>CupMode</mode>)
   - Changed <karma_widget><state><widget_pos_x> and <widget_pos_y> to the same position as at 'TimeAttack' (at <mode>Rounds</mode>)
   - Changed <reminder_window_pos_x> from '-49' to '-47.9'
   - Changed <reminder_window_pos_y> from '-25.8' to '-25'
   - Changed <karma_widget><state><widget_pos_y> at 'CupMode' from '27.8' to '32.86'
   - Renamed <tmx_logo> to <tmx_logo_normal>
   - Added <tmx_logo_focus>
   - Removed <urls><api>*
   - Added <urls><api_auth>
   - Removed <messages><karma_fail_remote>
   - Removed <refresh_interval>

 - Bugfix:
   - When <require_finish> is set to >1 then the Player can vote if he finished the Map only once (thanks holzi3441)
   - Changed the percentage from interger to float (also changed this in the API3)
   - The position values of <reminder_window_pos_x> and <reminder_window_pos_y> was always (int) instead (float) and the default
     values (when nothing was set into the tmkarma.xml) was different to the defaults
   - When the server is empty and then a player connects, then the Karma values of an new Track are not requested remote
   - If <messages_in_window> is activated, then at Score and a click on the (disabled) red buttons for a vote did not show the
     Message into the chat
   - If <require_finish> is not 0 and the Player has already finished the Track sometime in the past, but did not vote them,
     then the vote buttons in the widget are not enabled for this Player





Version 1.0.1 (first public release)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 - NOTE: This version require now XASECO/1.12 or up!
 - NOTE: This version works only in TMF!

 - The following files have been updated:
   - xaseco/plugins/plugin.tm-karma-dot-com.php
   - xaseco/tmkarma.xml

 - Changes:
   - Changed the Layer (z-index) in the display port of the Widget
   - Redesigned the Karma vote statistics (enlarged Widget) to an Window
   - Removed the action at onRestartChallenge because XASECO/1.12 handles this work-a-round now at himself
   - Included the new TM-Karma.com Logo in the HelpWindow
   - It's now possible to relocate the Widget to other positions, because the DetailWidget is removed and the
     content is build into a Windiw. If the position of the Widget is on the left side, then the Icon,
     Title and OpenButton switch to the right.

 - Changes in the tmkarma.xml:
   - Change <karma_widget><state><widget_pos_x> and [..]<widget_pos_y> in Gamemode 'Rounds' to new position
   - Changed <messages><karma_help>
   - Relocated the included images to an other hoster
   - Removed <images><widget_close>
   - Renamed <images><widget_open> to <widget_open_left>
   - Added <images><widget_open_right>
   - Added <images><tmkarma_logo>

 - Bugfix:
   - If the <masterserver_account><nation> is lower case, then the connection to the database fails (thanks Yorkshire)
   - Fix connection errors on Player votes ... (e.g. 503 (Connection timed out)) (thanks cos//tyjo)
   - When Player connect within a running Track and this Player has voted the Track already, then his vote is marked and
     all other Buttons in the Widget are unavailable for vote (red marked).




Version 1.0 RC2
~~~~~~~~~~~~~~~
 - The following files have been updated:
   - xaseco/plugins/plugin.tm-karma-dot-com.php
 - Bugfix: On XASECO startup with no connected Players, the Widget was not displayed to the Players until the next Map (thanks nouseforname)
 - Bugfix: Display the KarmaWidget without any connected Players (which results in "Undefined property: stdClass::$votes on line 1757 in file")
 - Bugfix: At some PHP versions the GlowCups are not displayed, the reason was the round() function, now using just intval() (thanks Masterbas)




Version 1.0 RC1
~~~~~~~~~~~~~~~
 - NOTE: This version require now XASECO/1.11 or up!
 - The following files have been updated:
   - xaseco/plugins/plugin.tm-karma-dot-com.php
   - xaseco/tmkarma.xml
 - Optimations for 100+ Players Servers: (thanks cos//tyjo for testing)
   - Including a Cache for all Widgets states
   - Moved event 'onEndRace' to 'onEndRace1'
   - Split Widget into four parts to reduce the Player specific Manialink transfers
 - Code cleaning and improvements (thanks milenco)
 - Changed Help from just Textmessage into an new Help-Window
 - Changed Background at Score
 - Added "Content-Range" in the function tmkarma_httpConnect() at POST-Method
 - Added the 'onKarmaChange' event for karma vote changes
 - Option parameter changed:
   - <karma_widget><state><widget_pos_x> and [..]<widget_pos_y> in all Gamemodes (including Score) to new positions
   - <karma_lottery><enabled> are now set default to 'false'
   - <reminder_window_pos_x> and <reminder_window_pos_y> to a better position
 - New Option:
   - <images><tmx_logo>
   - <uptodate_info>
   - <widget_styles>
   - <score_tmx_window>
   - <refresh_interval>
   - <show_karma>
 - Message changed:
   - <uptodate_failed>
   - <karma_fail_local>
   - <karma_fail_remote>
   - <karma_require_finish>
   - <karma_reminder_at_score>
   - <karma_show_opinion>
   - <karma_show_undecided>
   - <karma_help>
   - <lottery_help>
 - Messages removed:
   - <list_header_novote>
   - <list_no_tracks_match>
   - <list_next_challenge>
   - <list_next_challenge_error>
 - New Messages:
   - <karma_vote_singular>
   - <karma_vote_plural>
   - <karma_you_have_voted>
 - Bugfix: KarmaWidget are not shown after disconnect and reconnect to the Server (thanks milenco)
 - Bugfix: tmkarma_onChat() send to all Players a notice if allow_public_vote = false (thanks marco)
 - Bugfix: Showing empty Player vote in the TMX-Link-Window, when Player pressed the "undecided" button;
           now hiding the TMX-Link-Window for undecided Players
 - Bugfix: If the Challenge was restarted, the Position of the Karma-Widget was not set to the Score-Position
 - Bugfix: If <show_at_start> is set to 'false' was not observed (thanks cos//tyjo)
 - Bugfix: If <require_finish> is set to 0 then the Player did not see her/his own vote at the Widget (thanks cos//tyjo)
 - Bugfix: Warning in calculation of the Cups for the Widget (thanks base)




Version 0.9.9
~~~~~~~~~~~~~
 - The following files have been updated:
   - xaseco/plugins/plugin.tm-karma-dot-com.php
   - xaseco/tmkarma.xml
 - Changed the URL and Structur of the Up-To-Date-File to support all Plugins for all Server Controller.
 - More detailed error messages at API Call Auth.
 - Removed the Command "/karma novote" from this plugin (there comes an other plugin for such things)
 - New messages:
   - <uptodate_failed>
 - Option parameter changed:
   - <wait_timeout> from '5' to '60'
   - <connect_timeout> from '3' to '30'
   - <karma_widget><state><widget_pos_x> and [..]<widget_pos_y> in 'TeamMode' to the same position as 'TimeAttack'
 - Bugfix: Only at startup/restart the map and activated <require_finish> then the Karma-Widget shows that the player
   can not vote now, also when the player has already voted.
 - Bugfix: Hide the undecided message from player they has already voted.




Version 0.9.8
~~~~~~~~~~~~~
 - The following files have been updated:
   - xaseco/plugins/plugin.tm-karma-dot-com.php
   - xaseco/tmkarma.xml
 - Using the new API version 2.0.0 instead of 1.1.1
 - Changed XML-Parser from XASECO parseXML() to PHP simplexml_load_string() and simplexml_load_file()
 - Removed function tmkarma_getPlayerKarmaVotes() and tmkarma_getKarmaValues(), new structur of $KARMA allows
   now direct calls.
 - Removed the event release 'onKarmaChange', ballast from early days.
 - Reincluded the function tmkarma_closeReminderWindow(), autoclose is good, but chat-votes where ignored. ;)
 - Changed the behavior that all response from chat command "/karma" goes to TMF-Message Window if
   <messages_in_window> is set to true. At Score now the messages goes to normal Chat.
 - New feature: If the export is not done by one of the MasterAdmins, then the MasterAdmin will be informed
   on connect to do the export.
 - New feature: If <require_finish> is set larger then 0, then the buttons in the KarmaWidget are marked red
   to signaled the user that he needs to finish this Track before he can vote.
 - New feature: Karma-Lottery. Select one Player (only Player with TMU) who has voted and payout an amount
   of Coppers. Payment will be done in only one transaction after the player leave the server.
   Within this payout message is a link included to add this server to the player favorites.
 - New command "/karma lottery" shows the current won amount of coppers.
 - New command "/karma uptodate" that checks the version of this Plugin (only for MasterAdmins).
 - New command "/karma novote" that shows a list of not voted Tracks (only for MasterAdmins and XASECO).
 - New command "/karma debug" switch debuggin on or off (only for MasterAdmins).
 - New command "/karma export" that exports the current local votes to the central database (only for MasterAdmins).
 - Option parameter changed:
   - <wait_timeout> from '30' to '5'
 - New Option parameter:
   - <karma_lottery>
     Related sup options: <enabled>, <minimum_players>, <coppers_win> and <minimum_server_coppers>
   - <connect_timeout>
 - New messages:
   - <list_header_novote>
   - <list_no_tracks_match>
   - <list_next_challenge>
   - <list_next_challenge_error>
   - <lottery_mail_body>
   - <lottery_player_won>
   - <lottery_low_coppers>
   - <lottery_to_few_players>
   - <lottery_total_player_win>
   - <lottery_help>
   - <karma_require_finish_widget>
 - Message changed:
   - <welcome>
   - <connection_failed>
   - <karma_require> changed and renamed to <karma_require_finish>
 - Message removed:
   - <karma_track_not_found>




Version 0.9.7
~~~~~~~~~~~~~
 - The following files have been updated:
   - xaseco/plugins/plugin.tm-karma-dot-com.php
   - xaseco/tmkarma.xml
 - External Export-Script removed and that functionality included in the Plugin,
   export in-game with "/karma export".
 - Removed the command "/karma TRACK_ID".
 - Removed the function tmkarma_closeReminderWindow(), never need anymore due autoclose.
 - Renamed the function tmkarma_reminderWindow() to tmkarma_showReminderWindow().
 - Position of Karma-Widget in 'StuntsMode' changed.
 - Changed encoding for parameter 'cha' and 'snm' from all API Calls from
   URL-Encoding to Base64-Encoding.
 - Changed internal ManialinkIDs for supporting 'undecided' vote.
 - Reconnection to central database after waiting a short time, if connection fails.
 - New Button in the Reminder-Window 'undecided' for people they want to click, but are undecided.
 - Message changed:
   - <karma_help>
   - <karma_show_text> renamed to <karma_show_opinion>
   - <welcome>
 - New messages:
   - <karma_undecided>
   - <karma_show_undecided>
   - <connection_failed>
   - <karma_reminder_at_score>
 - Option parameter changed:
   - <remind_to_vote>
     - 'race' renamed to 'score'
     - 'false' renamed to 'off'
   - <reminder_window>
     - 'race' renamed to 'score'
     - 'false' renamed to 'off'
   - <require_finish> default to 1
   - <urls> block
 - Bugfix: If connection to the central database fails, showing wrong/unset content inside the
   widget and messages. Fixed.
 - Bugfix: Behavior of Reminder-Window changed: If <require_finish> is set larger then 0 and the player
   did not finished the map, don´t show Reminder-Window. Player can not vote because of the <require_finish>
   restriction.




Version 0.9.6(a)
~~~~~~~~~~~~~~~~
 - The following files have been updated:
   - xaseco/plugins/plugin.tm-karma-dot-com.php
   - xaseco/tmkarma.xml
 - The dependence of xaseco/includes/web_access.inc.php lifted and replaced with an buildin function.
 - Removed <keepalive_timeout> and <open_timeout> in tmkarma.xml
 - Changed the UserAgent-String at API Auth and API Get/Vote
 - Intergrated a check for needed API values in tmkarma_doKarmaRemoteCall()
 - Removed a XmlRpc-Request in tmkarma_doKarmaRemoteCall(), now using ...->player_list
 - Bugfix: If connection to the central databases fails, then xaseco quits. Fixed.
 - Bugfix: If the servername contains UTF-8 Signs API-Auth fails. This is a problem with my
   new Provider. Workaround included.




Version 0.7.4 till 0.9.5
~~~~~~~~~~~~~~~~~~~~~~~~
 NOTE: The versions between 0.7.4 and 0.9.5 has not been published.
 - The dependence of xaseco/plugins/plugin.fufi.widgets.php lifted,
   please use now the original version of plugin.fufi.widgets.php
 - Cleaned the code for supporting 'plugin.fufi.widgets.php' and
   'plugin.rasp.php' and speed improvements.
 - The following files have been updated:
   - xaseco/plugins/plugin.tm-karma-dot-com.php
   - xaseco/tmkarma.xml
 - New feature: Checking the installed xaseco version and reject running
   under a unsupported xaseco version.
 - New feature: Support the TMF-Message-Window. Very usefull in combination
   with my plugin 'window.message.php',
   download it from http://www.tm-forum.com/viewtopic.php?f=127&t=23242
 - New feature: Own Karma Widget
 - New Voting System integrated, not only ++ or -- now there are
   +++, ++, +, -, -- and --- for a better and fine vote.
 - New feature: Up to date check, now your never outdated (only available to MasterAdmin).
 - New feature: With the configuration variable <debug> is it possible to turn debugging
   on without the need of restart xaseco. Just type "/karma reload" as MasterAdmin.
 - Renamed function tmkarma_PlayerVoteClick() to tmkarma_onPlayerManialinkPageAnswer()
 - Removed unused variables in function tmkarma_closeReminderWindowAllPlayer()
 - Removed function tmkarma_getKarma() and merge the functionality into
   the function tmkarma_onNewChallenge2()
 - New configuration variable in tmkarma.xml:
   - <reminder_window_pos_x>
   - <reminder_window_pos_y>
   - <messages_in_window>
   - <karma_widget>-Block
   - <images>-Block
   - <uptodate_check>
   - <debug>
 - New messages:
   - <karma_help>
   - <karma_fantastic>
   - <karma_beautiful>
   - <karma_poor>
   - <karma_waste>
   - <karma_not_voted>
   - <karma_fail_local>
   - <uptodate_ok>
   - <uptodate_new>
 - Messages changed:
   - <welcome>
   - <karma> changed and renamed to <karma_message>
   - <karma_show_text>
   - <karma_remind>
   - <karma_vote> changed and renamed to <karma_your_vote>
   - <karma_details>
   - <karma_done>
   - <karma_change>
   - <karma_voted>
   - <karma_fail> changed and renamed to <karma_fail_remote>
 - Messages removed:
   - <karma_track>
 - Added chat commands:
   - /karma help
   - /karma details
   - /karma about
   - /karma reload (only available to MasterAdmin)
 - Bugfix: Reminder-Window does not close on ChatVote
 - Bugfix: Own positioning of Reminder-Window was ignored
 - Bugfix: tmkarma_onChat() told that public vote is disabled on
   /++ or /-- votes.
 - Bugfix: If <show_votes> is set to 'true' does not show the actual
   Player vote on Karma message.
 - Bugfix: Error on Player vote change saving to local database.




Version 0.7.3
~~~~~~~~~~~~~
 - The following files have been updated:
   - xaseco/plugins/plugin.tm-karma-dot-com.php
   - xaseco/plugins/plugin.fufi.widgets.php
   - xaseco/tmkarma.xml
 - Changed configuration variable in tmkarma.xml:
   - <remind_to_vote>, new option 'always'
 - New configuration variable in tmkarma.xml:
   - <reminder_window>
 - Speedup: tmkarma_doPlayerVote() determine only then the Player Id
   if it is required for followed functionality.
 - Bugfix: SQL-Query on tmkarma_doPlayerVote() fixed, update Player vote
   failed if <require_finish> >= 1
 - Bugfix: SQL-Query on tmkarma_doPlayerVote() fixed, update Player vote
   failed if <save_karma_also_local> is set to 'true'.
 - Bugfix: On new Challenge showing the Karma of the Track before




Version 0.7.2
~~~~~~~~~~~~~
 - The following files have been updated/ are new:
   - xaseco/plugins/plugin.tm-karma-dot-com.php
   - xaseco/plugins/plugin.fufi.widgets.php
   - xaseco/tmkarma.xml
   - xaseco/tm-karma.com/ (all files new)
 - New configuration variable in tmkarma.xml:
   - <save_karma_also_local>
   - <keepalive_timeout>
   - <open_timeout>
   - <wait_timeout>
 - Changed message <karma_details> and related calls
 - Changed message <karma_no_public>, just renamed from <karma_nopublic>
 - Speedup: getKarmaValues() checks now if the given ChallengeId
   is the current Challenge and if true, then it did not request them
   with a sql-query from database.
 - Speedup: tmkarma_getPlayerKarmaVotes() same as getKarmaValues()
 - Bugfix: Changed Event call 'onNewChallenge2' back to 'onNewChallenge',
   because there was some timing problems with getting the Karma
   from Remote.
 - Bugfix: Missed messages added:
   - <karma_list_help>
   - <karma_track_not_found>




Version 0.7.1
~~~~~~~~~~~~~
 - More code cleanup, remove some needless variable declarations and
   function calls
 - Changed 'onNewChallenge' to 'onNewChallenge2' for logical ordering of
   rank/karma messages
 - New configuration variable in tmkarma.xml:
   - <show_at_start>
 - Now it it required to set the config variables in "rasp.settings.php"
   to the following parameters:
   - $feature_karma = false;
   - $karma_show_start = false;
   - $karma_show_votes = false;
  All of them are now handled by "plugin.tm-karma-dot-com.php"




Version 0.7.0
~~~~~~~~~~~~~
 - Code cleanup, remove some development outputs
 - Encapsule messages from rasp.xml and include them and added new
   messages in tmkarma.xml
 - <welcome> modified, now it shows /++ or /-- instead ++ or --
 - New configuration variables in tmkarma.xml:
   - <allow_public_vote>
   - <show_details>
   - <show_votes>
   - <require_finish>
   - <remind_to_vote>
   - <show_player_vote_public>
 - Add new feature <show_player_vote_public> which shows the vote from
   one player to the public to ask other players
 - Add UserAgent to GET/POST-Request
 - Add check <communitycode> is_numeric()
 - Add check <nation> for a correct 'ISO 3166 ALPHA-3' code
 - Add Export-Script for export from local database to tm-karma.com
   Note: Import-Script on tm-karma.com is not yet finished!
 - Speedup some while- and foreach-loops with break's
 - Bugfix: tmkarma_onPlayerConnect() does not correct check an Array
 - Bugfix: Shows reminder to a player whether already voted
 - Bugfix: On Player vote sometimes the Event 'onKarmaChange' not released




Version 0.6.9b
~~~~~~~~~~~~~~
 - Fix PHP warning 'Invalid argument supplied for foreach()' in
   tmkarma_doPlayerVote() on Player vote




Version 0.6.9
~~~~~~~~~~~~~
 - First release
 - Betatest started on selected Servers
