Hey,
Today I am trying to install the MyBB Games Section mod from MyBB mods. I have uploaded all of the files in the required places and have activated the plugin, however I cannot find where I am meant to put the code thats meant to go in index.php.
Any help would be appreciated
~Matt
Which version of the plugin are you using? The most recent version (2.0.1) should not require any kind of manual code modifications.
Sorry I am meaning the Games Section not the downloads section.
~Matt
Do you read the install.txt in the archive ?
You must modify (with your little fingers) 2 files before activated the plugin.
After you must to "update" the each group rights though the games right is on "YES".
When all is right you can download games here:
http://www.ibpdownloads.com/ipb/index.php?act=arcade
Spacio Wrote:Do you read the install.txt in the archive ?
You must modify (with your little fingers) 2 files before activated the plugin.
After you must to "update" the each group rights though the games right is on "YES".
When all is right you can download games here: http://www.ibpdownloads.com/ipb/index.php?act=arcade
My install file wasn't the clearest to understand,
INSTALATION INSTRUCTIONS FOR THE GAME SECTION
1. UPLOAD THE FILES TO YOUR MYBB FORUM
2. OPEN INDEX.PHP AND FIND:
require_once "./global.php";
AFTER ADD:
switch($mybb->input['act'])
{
case 'Arcade':
switch($mybb->input['do'])
{
case 'newscore':
include "./games/submit.php";
break;
}
break;
}
3. OPEN ADMIN/USERGROUPS.PHP AND FIND:
"cancustomtitle" => $db->escape_string($mybb->input['cancustomtitle'])
REPLACE WITH:
"cancustomtitle" => $db->escape_string($mybb->input['cancustomtitle']),
"canviewgames" => $db->escape_string($mybb->input['canviewgames']),
"canplaygames" => $db->escape_string($mybb->input['canplaygames'])
4. IN THE SAME FILE FIND:
"cancustomtitle" => $db->escape_string($mybb->input['cancustomtitle'])
REPLACE WITH:
"cancustomtitle" => $db->escape_string($mybb->input['cancustomtitle']),
"canviewgames" => $db->escape_string($mybb->input['canviewgames']),
"canplaygames" => $db->escape_string($mybb->input['canplaygames'])
5. IN TE SAME FILE FIND:
tablesubheader($lang->perms_misc);
makeyesnocode($lang->can_view_mlist, "canviewmemberlist", "yes");
makeyesnocode($lang->can_send_emails, "cansendemail", "yes");
AFTER ADD:
$lang->set_language($mybb->settings['bblanguage'], "admin");
$lang->load("games");
tablesubheader($lang->perm_gamesection);
makeyesnocode($lang->perm_canviewgames, "canviewgames", "yes");
makeyesnocode($lang->perm_canplaygames, "canplaygames", "yes");
6. IN TE SAME FILE FIND:
tablesubheader($lang->perms_misc);
makeyesnocode($lang->can_view_mlist, "canviewmemberlist", $usergroup['canviewmemberlist']);
makeyesnocode($lang->can_send_emails, "cansendemail", $usergroup['cansendemail']);
AFTER ADD:
$lang->set_language($mybb->settings['bblanguage'], "admin");
$lang->load("games");
tablesubheader($lang->perm_gamesection);
makeyesnocode($lang->perm_canviewgames, "canviewgames", $usergroup['canviewgames']);
makeyesnocode($lang->perm_canplaygames, "canplaygames", $usergroup['canplaygames']);
7. OPEN INC/LANGUAGES/ENGLISH/GLOBAL.LANG.PHP AND ADD:
include "games.lang.php";
8. ACTIVATE THE PLUGIN
I'm going to try again. Thanks for that link
But I already use that service to download my games
~Matt
Edit: Was I ment to put something in MySql?
http://www.quantage.mbhosting.com/forum/games.php Wrote:MySQL error: 1146
Table 'quantage_mybb.mybb_games_settings' doesn't exist
Query: SELECT * FROM mybb_games_settings WHERE sid='1'
I think I might have done something wrong
~Matt