Game Section Community Forums

Full Version: Unsure
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Ok i was directed here from mybb as i want to add an arcade. I downloaded a php file but no other scripts etc.
Where do i place that file to get the arcade working?

I have no games or anything at the moment.

Steve
1. Download http://www.Online-Urbanus.be/Forum/attac...hp?aid=288
2. Open the package
3. Follow the steps in the README.txt
I downloaded it again and i still only got 1 php file. I have attached what has been downloaded.

Thanks

Steve
Try it again Wink
I still only got one php file but after downloading a better unzip programme i have it all, which part of mybb do i upload the files?

Thanks

Steve
Ok i got the files uploaded. i have found the file global.php but can not find this:
PHP Code:
// 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"); 


So i can edit it to this:

PHP Code:
// 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"); 

It is the global.php file within the arcade i am looking at, is that the right one?

Thanks

Steve
Its ok i have got it

Thanks
New problem, i have followed the instructions and activated the plugin in acp but when a user goes to click games section, it says page can not be found. it also says games section twice.

What have i done wrong?

You can see for yourself at http://www.bird-mania.co.uk/community/forum

Steve
Does the file exist?
I guess so i have uploaded all the files that i downloaded and placed them where it said too.

Steve
Pages: 1 2