MyBB Community Forums

Full Version: Game Section
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well, the game section is working well!

But I do have a problem: I have several publicly-joinable usergroups that are having an error that says "permission denied" when they attempt to access it. There isn't anything in the AdminCP to edit the group permissions--only something to "repair permissions", which seems to do absolutely nothing.

On top of that, sometimes people will beat the highest score, yet they aren't crowned champion.

Can you help please?
Warning: Cannot modify header information - headers already sent by (output started at /home/thinkwii/public_html/global.php:1) in /home/thinkwii/public_html/inc/functions.php on line 1118

what did i do wrong?
i found my problem...

I installed Games section 1.0.6 on MyBB 1.2.2. After that when i got hold of 1.2.3 i installed it which reverted some of the files in 1.2.2 that i changed. So when I installed Games 1.1.0 my site broke.

I gotta get this moving =/
May I ask where everyone found their games for this... I'm lookig for games that submit the scores.
Carey Wrote:May I ask where everyone found their games for this... I'm lookig for games that submit the scores.

This where I get mine.

To the games
I can't register because you can't have a free email account... sort of dumb... anywhere else with games for this arcade that have scores that can be submitted?
nice man haha. i'll try it.
theman80 Wrote:
Paretje Wrote:
theman80 Wrote:
Paretje Wrote:@gimmezell: I see it, I was wrong, I uploaded a new one here.

@theman80:
1. Go to arcade/gamedata
2. Upload the directory with the gamedata of the game

I'm afraid, the games with gamedata folder don't submit their scores.
Can you fix this please?

Note: No problem with the games without gamedata.

Can you play the game? Are you sure that the game is compatible? Try this game.

The game you send is working perfectly.
But it includes another type of gamedata.

I am talking about another kind of gamedata.
Here is a game includes the gamedata type I am talking about:



There are many games like this.
Can you add support for this kind of gamedata please?

(The only problem on these games is score submitting problem.)

Thats because the file is less then 0 bytes, I control that because otherwise, its possible to upload noting.

El Vista Wrote:when i run the upgrade.php i get:
/home/kellys/public_html/thenightlords/forum/inc/languages//games.lang.php does not exist

I think i followed the instructions allright. including in globabl.php

After
// Load language
$lang->set_language($mybb->settings['bblanguage']);
$lang->load("global");
$lang->load("messages");
I did add $lang->load("games");

EDIT:
note that I forgot to deactivate 1.0.6 before replacing the files and editing.

Is it possible for someone to provide the modded files for download? (upgrade ones, ofcourse). Then I can just replace the files and get it done with. Toungue

When you deactivate your plugin, you reinstall it, not upgrade.

Its this that you must to do to fix that (its in the README)

Quote:2. OPEN GLOBAL.PHP AND FIND:
// Run global_start plugin hook now that the basics are set up
$plugins->run_hooks("global_start");

// Set and load the language
if(!isset($mybb->settings['bblanguage']))
{
$mybb->settings['bblanguage'] = "english";
}

// Load language
$lang->set_language($mybb->settings['bblanguage']);
$lang->load("global");
$lang->load("messages");

REPLACE WITH:
// Set and load the language
if(!isset($mybb->settings['bblanguage']))
{
$mybb->settings['bblanguage'] = "english";
}

// Load language
$lang->set_language($mybb->settings['bblanguage']);
$lang->load("global");
$lang->load("messages");

// Run global_start plugin hook now that the basics are set up
$plugins->run_hooks("global_start");

kingvarun Wrote:I am getting this error when I try to add games via admin cp
MyBB Error
Access Denied

      You do not have permission to access this part of the administration control panel.

Your admin account hasn't permissions, go to the adminpermissions of MyBB and save it yes.

SonicHowler Wrote:Well, the game section is working well!

But I do have a problem: I have several publicly-joinable usergroups that are having an error that says "permission denied" when they attempt to access it. There isn't anything in the AdminCP to edit the group permissions--only something to "repair permissions", which seems to do absolutely nothing.

On top of that, sometimes people will beat the highest score, yet they aren't crowned champion.

Can you help please?

That's normaly fixed in 1.1.1
The Game Section 1.1.1 is released, see the this for more details.