Open admin/modules/games/version.php and find:
//Load your version
$plugins->run_hooks("admin_games_version_current");
//Control version
if($current_version['version_check']['version']['value'] != $version)
{
$latest_version = "<span style=\"color: red\">".$current_version['version_check']['version']['value']."</span>";
}
else
{
$latest_version = "<span style=\"color: green\">".$current_version['version_check']['version']['value']."</span>";
}
Replace with:
//Load your version
require_once MYBB_ROOT."inc/plugins/games.php";
$info = games_info();
//Control version
if($current_version['version_check']['version']['value'] != $info['version'])
{
$latest_version = "<span style=\"color: red\">".$current_version['version_check']['version']['value']."</span>";
}
else
{
$latest_version = "<span style=\"color: green\">".$current_version['version_check']['version']['value']."</span>";
}
In the same file find:
$table->construct_cell($lang->version_your, array("width" => "40%"));
$table->construct_cell($version);
$table->construct_row();
Replace with:
$table->construct_cell($lang->version_your, array("width" => "40%"));
$table->construct_cell($info['version']);
$table->construct_row();
Game Section 1.2 RC3.2 is released!
Changes since 1.2 RC3.1.1:
- Better control on input from game config with add tar or add simple
- games_play template fix
- Score order fix of new score page
- Champion link of search results fixed
- Changed copyright year to MyBB 1.4 variable
- Version control system now based on plugin information
- Infoboxes tournaments finished
- Fix of redirection when tournament added
- Join system added
- Add tournament system controls now if the user is a guest
- Only show add tournament link, if you aren't a guest
- Show join tournament link only when you have permission and logged-in, and when there is a free place, and when you didn't join already
- Show play link only when play permissions (in order to prevent people playing who had permission to play, but haven't at the moment)
Changes since 1.1.9:
- Overviewed/rewritten code
- Tournaments
UNFINISHED
- Support for many game systems
- Less queries for the user statistics
- Most played games (in stats)
- Players with most champions (in stats)
- Advanced version of the last new champions (Option in menu) - all champions changes (with cache)
- Favourites
- Last played
- Advanced who's online
- Category picture
- Number of games in category
- New system to show the categories
- New settings system
- Search system in ACP
- Control games (warning when adding the same game)
- Choise between 1 large query and 3 less queries
- Category in games overview (AdminCP)
- Added date in games overview (AdminCP)
- Searchbar on the page with your search results
- Compatibility with edit, merge and delete of users
- Possibility to view statistics of the category
- Random games with refresh button (AJAX)
- Compatible with MySQL strict
- Updated rate system
- Compatibility of Who's online system with bots database
More information