SMF Arcade

Started by niko, October 01, 2004, 02:45:55 PM

Previous topic - Next topic

Sandmansa

Quote from: snadge on August 21, 2013, 10:23:52 PM
I went to install it and this time its failed on testing and seems to concur with what the other poster said about stuff missing from it, forgive me if im wrong as im not a coder (but im catching on the basics) ..the one failed install test was in index.php

Actually, the problem I had on my outdated server was that the menu bar went away after install.  The only thing left was "forum" and "arcade" links.  And I am not sure if the next mishap was related to my outdated server but I tried a 2nd time to install the arcade mod, only I did it manually.  I compared notes between manual install and forum installer and noticed the forum installer did not test or execute 5 required file edits for this mod.

Anyway, I am in the process of doing a lot of reading to try and learn how to update my server.  MySQL and PHP setup looks so darn confusing.  It might as well be written in Greek as I have a hard time understanding this stuff.

Chalky

That's a limitation with Menu Edito Lite.  Honestly, you're better uninstalling that mod and editing the menu yourself manually - it isn't difficult  http://wiki.simplemachines.org/smf/Buttons_-_How_do_I_add_buttons_to_SMF_2.0

snadge

im afraid those instructions are beyond my patience and skill level ....well I could do it but it would be complete trial and error.

so your saying Menu Editor Lite is blocking the Arcade link? - what is the direct link then I can add it in myself?

also, why does it say it can not connect etc?

Chalky

Yes, Menu Editor Lite is blocking the Arcade button, that's what is meant in its description where it says it doesn't support mods.   The arcade is located at http://yourdomain.com/index.php?action=arcade, IIRC you need to add the whole URL as an external link because M.E.L. does not recognise ?action=arcade as an internal link..

Cannot connect sounds more like a hosting issue...

elf_fu

Hello! I was wondering if there were any up-to-date or near up to date skins for the arcade to present the games and show off the high scores in a bit of a better manner than the default? (Sorry Mod creators :D)

GR

Chen Zhen


elf_fu,

  There is a skin you can use with the pdl-skin combo plugin. If you use a portal, for high scores you can use a block if you would prefer that. There is a list of Arcade block/module codes here: Click Here

My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

elf_fu

Quote from: -Underdog- on August 28, 2013, 12:15:56 AM

elf_fu,

  There is a skin you can use with the pdl-skin combo plugin. If you use a portal, for high scores you can use a block if you would prefer that. There is a list of Arcade block/module codes here: Click Here


Thank you! It's pretty late here for me and I'm a bit loopey from rest. I am not sure I remember where that pdl skin combo is, but will try and get my peepers on this tomorrow when I have more brain. <3 Have a good one!

GR

Burke ♞ Knight

Okay, here is a strange one.

I have Arcade working perfectly on one site.
So, when try to install in another site, I look at that site's files, to help with the minor errors.

However, I noticed something very odd. ManageSettings.php seems to be missing this part of the Arcade code:

Code (Find) Select
);

// Are we getting info for the help section.


Code (Add Before) Select
// arcade = arcade (makes sense, right?)
'arcade' => array(
'url' => 'action=admin;area=arcade',
'settings' => array(
'arcadeEnabled' => 1,
),
),


Which I assume is the part for the On/Off in Core Features.
One would think that it does not exist in Core Features, since the code is not in ManageSettings.php yet, it is there, and turned on.

So, that means my idea of what that is for, must be wrong...LOL

I look to try to add it, and here is where I get stuck.

Here is where the code should be going, with more top and bottom, as I need to know where exactly to paste the code:

// Search engines
'sp' => array(
'url' => 'action=admin;area=sengines',
'settings' => array(
'spider_mode' => 1,
),
'setting_callback' => create_function('$value', '
// Turn off the spider group if disabling.
if (!$value)
return array(\'spider_group\' => 0, \'show_spider_online\' => 0);
'),
'on_save' => create_function('', '
global $sourcedir, $modSettings;
require_once($sourcedir . \'/ManageSearchEngines.php\');
recacheSpiderNames();
'),
),
);

// Anyone who would like to add a core feature?
call_integration_hook('integrate_core_features', array(&$core_features));

// Are we getting info for the help section.
if ($return_config)
{
$return_data = array();
foreach ($core_features as $id => $data)
$return_data[] = array('switch', isset($data['title']) ? $data['title'] : $txt['core_settings_item_' . $id]);
return $return_data;
}

loadGeneralSettingParameters();

// Are we saving?

Arantor

Sounds like it might be added with a hook these days?
Holder of controversial views, all of which my own.


Burke ♞ Knight

So, on the new install on other site, install anyway?

Arantor

I dunno, I was just offering a place to look ;)
Holder of controversial views, all of which my own.



topogio

Actually, it was intended to be like this, but if the other works, no problem.  I have it done this way and it works perfect.

// Search engines
'sp' => array(
'url' => 'action=admin;area=sengines',
'settings' => array(
'spider_mode' => 1,
),
'setting_callback' => create_function('$value', '
// Turn off the spider group if disabling.
if (!$value)
return array(\'spider_group\' => 0, \'show_spider_online\' => 0);
'),
'on_save' => create_function('', '
global $sourcedir, $modSettings;
require_once($sourcedir . \'/ManageSearchEngines.php\');
recacheSpiderNames();
'),
),

           // arcade = arcade (makes sense, right?)
        'arcade' => array(
'url' => 'action=admin;area=arcade',
'settings' => array(
'arcadeEnabled' => 1,
),
),

);

// Anyone who would like to add a core feature?
call_integration_hook('integrate_core_features', array(&$core_features));

// Are we getting info for the help section.
if ($return_config)
{
$return_data = array();
foreach ($core_features as $id => $data)
$return_data[] = array('switch', isset($data['title']) ? $data['title'] : $txt['core_settings_item_' . $id]);
return $return_data;
}

loadGeneralSettingParameters();

// Are we saving?

elf_fu

Quote from: -Underdog- on August 28, 2013, 12:15:56 AM

elf_fu,

  There is a skin you can use with the pdl-skin combo plugin. If you use a portal, for high scores you can use a block if you would prefer that. There is a list of Arcade block/module codes here: Click Here


I am belated--but, THANK YOU for this. I like the way my Arcade looks much more. I appreciate the point to the links and look forward to seeing this mod kick butt :)

GR

KalEl025

Is there an updated version of this mod somewhere? I just tried installing both 2.5RC1 and 2.0.18 and neither one are compatible.

Thanks in advance.
Kal

vertese

Since upgrading our forum and arcade to 2.0.5 there are a few games that will not save the score.
We keep getting this message
QuoteAn error occurred while saving score
This game used to work in our old arcade and so did the others.
I have tried deleting and upgrading them again, but still get this message.
I notice that the game ends in FT
Please can you advice because 13isawinner is one of our members favourites.

Chalky

Go to Admin > Arcade > General > Settings and make sure the paths are correct.

vertese

Thanks ChalkCat, I checked and both are ok.
so that isnt the cause.

Chalky

How did you upgrade exactly and what did you upgrade from?

vertese

thank you for replying it is much appreciated.

the forum was running smf 1.18 and used the update program to upgrade to v 2.
The arcade was using e arcade and was changed to smf arcade using the conversion tool Arcade-Conversion-tool_v1.4
Most games seem to be ok it is just a few that do not work

Advertisement: