News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF Arcade

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

Previous topic - Next topic

California Dreamin

Ok, so I figured it out.....  I just downloaded the package manually.....and then used the package manager to upload the .zip folder.

Now, where do I edit my template for the button? (i'm using default)  and where do I find the button to put there?

Catdog

I have Arcade 1.2.4b installed, i Have no " Longest kept champions (Current only)"

SMF 1.1 RC1

lovesall

I'm trying to add the arcade 1.2.3 package on my forum with smf 1.0.5

I keep getting an error.

1.     Execute Modification     ./index.php     Test successful
2.    Execute Modification    ./Themes/default/index.template.php    Test successful
3.    Execute Modification    ./Sources/Subs.php    Test failed
4.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
5.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful

I checked in the ftp and it's chmodded to 777

Any advice?

Bigguy

I would think you have installed another mod that changed the "subs.php" file so the arcade cant find the lines its looking to change. Try installing those lines manually. IMHO.

lovesall

which lines would those be?

Thanks for your help

Bigguy

I think if you look for the "arcade.xml" file it should have all the instructions in it as to what files get modified and what to add to said files. Another option is to uninstall any modification that effected the "Subs.php" file, install the arcade and then reinstall the other mods.

kiddodee

About Permission of member to play Arcade Game

I get the problem...

My Site (hxxp:www.kid-do-dee.com [nonactive]) cannot set the permission of GeneralMember or Other Group to play  ArcadeGame.

How I set it to work.??

Thank you...

redone

If you are having problems using the package manager to install the Arcade mod then install manually following the .xml documents provided with the mod will provide all the information you need.

Additional support for the mod and a really good FAQ covering the common questions about the SMF arcade mod can be found here:

www.smfarcade.com

What Bigguy mentioned about the subs.php file is correct. If it has been modified in some way by another mod then the package manager cannot find the code it needs to make the necessary changes.


ArkServer

8: Undefined index: category
File: Themes\7dana_smf_1\languages\Arcade.english.php (eval?)
Line: 272

smf 1.1rc1


http://arkserver.servehttp.com/forum/index.php?action=arcade

anyone?

Sven0

#1889
hi,

if i try to install a new game (logged in as administrator) and klick on "save" a error pop up appears with the entry "Username or password wrong. Please try it again." and these 2 error logs:

8: Undefined variable: true
Datei: /usr/local/vhosts/httpd/htdocs/forum/Themes/default/languages/Arcade.german.php (eval?)
line: 487

8: Undefined property: startup_warning
Datei: /usr/local/vhosts/httpd/htdocs/forum/getid3/getid3.php
line: 70

if i switch to english there is also the same problem but with Arcade.english.php means:

8: Undefined variable: true
File: /usr/local/vhosts/www.rapz.de/httpd/htdocs/forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 487

8: Undefined property: startup_warning
File: /usr/local/vhosts/www.rapz.de/httpd/htdocs/forum/getid3/getid3.php
Line: 70

How can i solve the problem?
Thanx!

Sven0

chmoded all files to 777 but still the same error....

Twiggy

I installed this arcade on my forum, but I don't get how to install the games into I'm kinda confused. Still kinda getting used to this hosting of this site, but if someone could tell me the problem I'm all ears.  :D

mrandall131

Upload the games to the games directory and then go into the admin panel.  You'll see the game pop up in there in the install games tab..  Click on it to install it.

sadiqbaig


i want to install smf arcade on my site

running on smf RC 1.1

is it possible

cause i get too many error msgs when installing thru

packages

how to install it on smf RC 1.1

Skhilled

Quote from: Sven0 on December 14, 2005, 05:58:47 PM
chmoded all files to 777 but still the same error....

chmod to 755. it'll probably work better than 777.

Skhilled

Quote from: lovesall on December 12, 2005, 06:29:47 PM
I'm trying to add the arcade 1.2.3 package on my forum with smf 1.0.5

I keep getting an error.

1.     Execute Modification     ./index.php     Test successful
2.    Execute Modification    ./Themes/default/index.template.php    Test successful
3.    Execute Modification    ./Sources/Subs.php    Test failed
4.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
5.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful

I checked in the ftp and it's chmodded to 777

Any advice?

3.    Execute Modification    ./Sources/Subs.php    Test failed
It always says that but it'll work anyway. Just install and run arcade_install.php :)

Skhilled

Quote from: fresnolady on December 11, 2005, 06:11:57 PM
Ok, so I figured it out.....  I just downloaded the package manually.....and then used the package manager to upload the .zip folder.

Now, where do I edit my template for the button? (i'm using default)  and where do I find the button to put there?

open index.template.php and find:

      echo '
            <a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];


Then add after:

      echo '<a href="', $scripturl, '?action=arcade"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . "Arcade" . '" style="margin: 2px 0;" border="0" /></a>', $context['menu_separator'];

For the actual button go here:

http://www.simplemachines.org/community/index.php?topic=11938.0

upload it to your /themes/default/images/english directory.

Skhilled

Quote from: mrandall131 on December 08, 2005, 12:52:35 PM
I hate to ask it, because you guys are doing an awsome job, but are that other games that will work with this mod?  I know you can use any flash games, but I would like the high score feature to work too.

Go to www.smfarcade.com they are working hard on getting new games added as well as posting the latest fixes for the arcade.

Skhilled

Quote from: sadiqbaig on December 15, 2005, 11:57:54 AM

i want to install smf arcade on my site

running on smf RC 1.1

is it possible

cause i get too many error msgs when installing thru

packages

how to install it on smf RC 1.1

Download it and read the arcade2.xml file (for smf version rc1.1) for instructions to manually edit the files and fix the errors.

sadiqbaig

Installations actions for "SMF Arcade":
Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./index.php Test successful
2. Execute Modification ./Themes/default/index.template.php Test successful
3. Execute Modification ./Sources/Subs.php [b]Test failed [/b]
4. Execute Modification ./Sources/ManagePermissions.php [b]Test failed[/b]
5. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
6. Execute Modification ./Themes/default/Display.template.php Test successful
7. Execute Modification ./Sources/Display.php Test successful  


what i have to do

<file name="Sources/ManagePermissions.php">
<operation>
<search position="before">
<![CDATA[ 'profile' => array(]]></search>
<add><![CDATA[ 'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false, 


<file name="Sources/Subs.php">

<operation>
<search position="replace"><![CDATA[ 'edit_mods_settings' => '<a href="' . $scripturl . '?action=modifyModSettings">' . $txt['modSettings_title'] . '</a>',]]>
</search>
<add>
<![CDATA[ 'edit_mods_settings' => '<a href="' . $scripturl . '?action=modifyModSettings">' . $txt['modSettings_title'] . '</a>',
'admin_arcade' => '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>',]]>
</add> 

Advertisement: