Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: niko on October 01, 2004, 02:45:55 PM

Title: SMF Arcade
Post by: niko on October 01, 2004, 02:45:55 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=36)

28.6: Updated 2.5 RC1 package for 2.0RC3

SMF_Arcade_2.0.18.zip for 1.1.x
SMF_Arcade_2.5_RC1_Public.zip for 2.0 RC2/2.0RC3


SMF Arcade 2.5 RC1


Introduction
SMF Arcade adds Arcade section to your forum where users can play games.

Features
Title: Re: SMF Arcade
Post by: niko on October 01, 2004, 03:06:14 PM
SMFArcade is down due to hacking of host.
Title: Re: SMF Arcade Beta 2
Post by: niko on October 02, 2004, 08:24:06 AM
Beta Information:

COMING SOON
Title: Re: SMF Arcade
Post by: roboter88 on October 02, 2004, 09:10:50 AM
Nice i gonna check it out!

Title: Re: SMF Arcade
Post by: AIMJournals on October 02, 2004, 03:38:18 PM
weird...  Duck Hunt (included with this mod) didn't work for me...  it also seems that all DB Querys this mod makes are being executed twice... ???
Title: Re: SMF Arcade
Post by: diplomat. on October 02, 2004, 10:54:23 PM
anyone tested this on beta 5, just wanted to know before i install it on my forum

edit: the score wont save ... it doesnt say anything on the highscore box ...its just blank
http://www.titaniumwg.com/forums/index.php?action=arcade
Title: Re: SMF Arcade
Post by: b0$$ on October 03, 2004, 06:16:06 AM
Quote from: AIMJournals on October 02, 2004, 03:38:18 PM
weird...  Duck Hunt (included with this mod) didn't work for me...  it also seems that all DB Querys this mod makes are being executed twice... ???

same thing happened to me.. the game doesnt load and was isntalled twice some how
Title: Re: SMF Arcade
Post by: AIMJournals on October 03, 2004, 08:22:06 AM
OK, glad to hear I'm not the only one who's having this problem.  Any fix for it?
Title: Re: SMF Arcade
Post by: diplomat. on October 03, 2004, 11:42:21 AM
the game works for me, but it doesnt save the high scores

and the game was installed twice for me also
Title: Re: SMF Arcade
Post by: niko on October 04, 2004, 08:13:06 AM
Ok. I'm gonna release fixed version as soon possible but, right now my monitor is broken so this delays update for some days.
Title: Re: SMF Arcade
Post by: niko on October 06, 2004, 09:24:32 AM
Quote from: AIMJournals on October 02, 2004, 03:38:18 PM
it also seems that all DB Querys this mod makes are being executed twice... ???

This will be fixed on Beta 3. But on Beta 2 to fix

Open Sources\Arcade.php

remove Arcade();

i used it to debug
Title: SMF Arcade Beta 3
Post by: niko on October 07, 2004, 12:51:11 PM
Beta 3 is now avaible at: http://pahajoki.info/smfarcade/SMF_Arcade(Beta3).zip

Beta 4 or 5 maybe last beta then 1.00 and 1.10 maybe
Title: Re: SMF Arcade
Post by: roboter88 on October 07, 2004, 01:00:59 PM
Can you PM the code for FLASH -> SMF syndication?

I coded "robot invasion" arcade shooter and like to make it compatible :-)


Cheers
Title: Re: SMF Arcade
Post by: niko on October 07, 2004, 01:12:07 PM
Quote from: roboter88 on October 07, 2004, 01:00:59 PM
Can you PM the code for FLASH -> SMF syndication?

I coded "robot invasion" arcade shooter and like to make it compatible :-)


Cheers

This code was on readme but


on (press){
set (score,high);
set (act,"submit");
set (game,"duckhunt");
set (url,"index.php?action=arcade");
getURL (url, "_self", "POST");
}


game must be unigue id (same must be also on database 'game' field)

i think postvars will work too
Title: Re: SMF Arcade
Post by: roboter88 on October 07, 2004, 01:16:27 PM
OK i will add it later but isnt this very easy to cheat eg. i just call the flash and sent those vars with a nice amount on numbs?

Title: Re: SMF Arcade
Post by: niko on October 07, 2004, 01:25:49 PM
I'm too lazy to code security system with flash and it woulldn't help.

but i'm gonna add reffer check next version.

edit:

if you have any ideas of better security tell me.

i thoght something like getting random hash from php upon submisson with loadvars and then crypt with it. of course when i add SUPPORT for security it wont be required (value on db)
Title: Re: SMF Arcade
Post by: roboter88 on October 07, 2004, 01:48:02 PM
I think 1 start would getting special VARS during the game would be a very good and easy sollution.

eg.
stage 1 gets var a=1;
stage 2  gets var a=2;
or var b=1;

On submit their should be a small function like

if(highscore greater then x && b!=0){
save new highscore
}else{
print(" you fooo tried HACKING us? huuu? hu? no its not ok! ur account just got BANNED entirly for life :)

}

?

:-)
edit:
Please make it actionscript 2.0 compatibel
Title: Re: SMF Arcade
Post by: roboter88 on October 07, 2004, 02:42:26 PM
Btw just some minutes ago they released a mambo game.

IF you intrested and for inspiring reasons visit :-)

http://www.roboter88.de/mambo/index.php?option=com_sweety_keeper39&Itemid=74


cheers
Title: Re: SMF Arcade
Post by: diplomat. on October 07, 2004, 06:15:34 PM
i am a n00b...am i supposed to put that code somewhere for the top scores to save? if so where? :(

on (press){
set (score,high);
set (act,"submit");
set (game,"duckhunt");
set (url,"index.php?action=arcade");
getURL (url, "_self", "POST");
}
Title: Re: SMF Arcade
Post by: niko on October 09, 2004, 09:09:42 AM
OMG! Beta 4 is avaible.

Use http://www.pahajoki.info/server/ as package server

or dl http://www.pahajoki.info/server/SMF_Arcade(Beta4).zip and upload or apply manually

Edit: you can see it in use at http://www.pahajoki.info/ it's still Beta 4 even there reads Beta 3+ :)
Title: Re: SMF Arcade
Post by: umiya on October 14, 2004, 05:41:29 PM
does anyone know how to add the score function to a game?
Title: Re: SMF Arcade
Post by: TheDel on October 14, 2004, 08:16:27 PM
How and where would we go to find/add new games?
Title: Re: SMF Arcade
Post by: umiya on October 14, 2004, 08:26:45 PM
http://www.ibproarcade.com  is where i would get mine from they all are free games....i would jsut change the score function
Title: Re: SMF Arcade
Post by: diplomat. on October 14, 2004, 11:27:27 PM
yeah i need to kno where to get other games also because i tryed on from miniclip.com and it didnt work right.
Title: Re: SMF Arcade
Post by: niko on October 15, 2004, 05:08:18 AM
Quote from: umiya on October 14, 2004, 05:41:29 PM
does anyone know how to add the score function to a game?

get fla file shomehow and then find game over frame add code to it... find out whats score var and set it to 'score' ex. if score was in high set(score,high) or var score = high; or like that i'm not very good in flash :P
Title: Re: SMF Arcade
Post by: Pause on October 15, 2004, 07:53:01 AM
Which EXACT file do I edit to put in the Arcade button? Also, when I go to the arcade, it doesn't have anything there... - http://www.intrepidentertainment.co.uk/smf/index.php?action=arcade
Title: Re: SMF Arcade
Post by: umiya on October 15, 2004, 09:15:03 AM
Quote from: Niko on October 15, 2004, 05:08:18 AM
Quote from: umiya on October 14, 2004, 05:41:29 PM
does anyone know how to add the score function to a game?

get fla file shomehow and then find game over frame add code to it... find out whats score var and set it to 'score' ex. if score was in high set(score,high) or var score = high; or like that i'm not very good in flash :P

i knew this much but i need the funcion for it
Title: Re: SMF Arcade
Post by: Hoolio on October 15, 2004, 03:08:01 PM
uhhh i can't even get beta 4 to install... why?
Title: Re: SMF Arcade
Post by: diplomat. on October 17, 2004, 07:09:46 PM
is there a way that i could uninstall a single game?
Title: Re: SMF Arcade
Post by: niko on October 18, 2004, 08:11:13 AM
Not yet. But you can delete from db managment (phpmyadmin etc). This will be included in next version.
Title: Re: SMF Arcade
Post by: Pause on October 19, 2004, 06:23:34 AM
I've installed it, but when I try the test tool (submitting the score) it should go to domain.com/smf/index.php?act=arcade but instead goes to domain.com/index.php?act=arcade
Title: Re: SMF Arcade
Post by: bloc on October 19, 2004, 06:43:05 AM
Have this been tested at all...? ;) Reading all the errors here it seems a bit premature to release it as a mod... I am not putting it down, but it must be exhausting to fix things that *should* work from the start?
Title: Re: SMF Arcade
Post by: niko on October 19, 2004, 10:20:45 AM
Quote from: Bloc on October 19, 2004, 06:43:05 AM
Have this been tested at all...? ;) Reading all the errors here it seems a bit premature to release it as a mod... I am not putting it down, but it must be exhausting to fix things that *should* work from the start?

Yes, it's working on local install and at http://www.titanix.net/~niko/index.php?action=arcade

If you have that test-tool included you should download new version
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on October 19, 2004, 05:34:21 PM
Everiting works in rc1, ( exept a smal bug when adding game 2) but where do i put. the icons for the game name ? and how do i add new games to the database ?? do i have to modify arcade.php everytime i add a new game ?
Title: Re: SMF Arcade
Post by: niko on October 20, 2004, 08:02:54 AM
Quote from: Hans_de_Echte on October 19, 2004, 05:34:21 PM
but where do i put. the icons for the game name ?

Games/ Folder

Quote from: Hans_de_Echte on October 19, 2004, 05:34:21 PM
and how do i add new games to the database ??

Add to database using phpmyadmin, etc.
No modifying Arcade.php needed

Beta 5 will mostly likely have automatic installer. You need only to create .php file with info.
Beta 5 or 6 is last before 1.00.
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on October 20, 2004, 09:05:25 AM
QuoteGames/ Folder
when i put the gif's in it nothing happens.

a screen dump tell's you even more ! i don't have high scores also !?? ( some txt in dutch )

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.het-catshuys.nl%2Fupload%2Farcade.jpg&hash=d758432b5c81226306c9e0bce43b24ca1f4113a0)

a=can you help me with the probs i have ?

sorry for my englisch, but i think it's better as your ducth  8) 8)
Title: Re: SMF Arcade
Post by: Nyx on October 24, 2004, 02:18:33 AM
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'eskiv', 'eskiv', 'Back
:(  :'(
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on October 24, 2004, 08:12:58 AM
Replace in arcade.php
Quotearray(
   'Eskiv',
   'INSERT INTO pahajoki_games VALUES (, \'eskiv\', \'Eskiv\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="200" height="150" id="eskivbw" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/eskivbw.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#ffffff" />\r\n<embed src="Games/eskivbw.swf" quality="high" bgcolor="#ffffff" width="640" height="480" name="eskivbw" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object>\', \'\', \'Collect blocks. But be aware of balls \');')
   );

with
Quotearray('Eskiv', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'eskiv\', \'Eskiv\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="200" height="150" id="eskivbw" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/eskivbw.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#ffffff" />\r\n<embed src="Games/eskivbw.swf" quality="high" bgcolor="#ffffff" width="640" height="480" name="eskivbw" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object>\', \'\', \'Collect blocks. But be aware of balls \');')
   );
Title: Re: SMF Arcade
Post by: DoW Kid Rock on October 25, 2004, 10:59:55 PM
says it installed fine, but can't get to my arcade at:

http://www.disciplesofwrestling.ca/forum/index.php?action=arcade

Title: Re: SMF Arcade
Post by: Bullcat Webhosting on October 26, 2004, 07:28:31 AM
Have you upload al the files ?? also the template file ??
Title: Re: SMF Arcade
Post by: DoW Kid Rock on October 26, 2004, 01:25:30 PM
I had done that, but I didn't realize that when it installed in the package manager for some reason it didn't do the sql entries or edit the index.php.

it is working now, but just have to get the games working.  not easy entering them into phpmyadmin by hand and the games aren't working properly. tried games from ibproarcade, but it doesn't submit the scores properly.

will wait for later incarnations of this before going any further
Title: Re: SMF Arcade
Post by: niko on October 26, 2004, 04:23:08 PM
Quote from: DoW Kid Rock on October 26, 2004, 01:25:30 PM
I had done that, but I didn't realize that when it installed in the package manager for some reason it didn't do the sql entries or edit the index.php.

it is working now, but just have to get the games working.  not easy entering them into phpmyadmin by hand and the games aren't working properly. tried games from ibproarcade, but it doesn't submit the scores properly.

will wait for later incarnations of this before going any further

use index.php?action=arcade&do=admin to do sql queries

and remember Betas are never fully working howeover first 'full version' should be done soon

Ibproarcade games aren't supported howeover it would be cool if it would but i think ib uses diffrent style url's,  vbulltin arcade games support would be cool too, maybe sometime maybe not.

Of course you can edit games action script, but it's illegal without permisson, so ask gamemaker before you do that :)
Title: Re: SMF Arcade
Post by: Oldiesmann on October 27, 2004, 08:25:19 PM
Niko - talk to the folks at PNFlashGames (http://www.pnflashgames.com). They've got plenty of games you can use ;)
Title: Re: SMF Arcade
Post by: umiya on October 27, 2004, 10:39:53 PM
all games at ibpro aracde have full write permissions
Title: Re: SMF Arcade
Post by: crazystu on October 27, 2004, 11:04:13 PM
I didn't notice this mod, but I did now. I'll help by doing games for it

When I do games, they should be up here (http://smfgames.com), but at the moment the page doesn't exist as I haven't started yet.
Title: Re: SMF Arcade
Post by: crazystu on October 28, 2004, 01:26:18 AM
added 13 full games done for this mod today.
Hope you like them
Download/View (http://smfgames.com)
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on October 29, 2004, 03:47:09 AM
I download breakout, no submit is done :(
Title: Re: SMF Arcade
Post by: niko on October 29, 2004, 08:40:29 AM
Quote from: nesianstyles on October 28, 2004, 01:26:18 AM
added 13 full games done for this mod today.
Hope you like them
Download/View (http://nesian.info/smgames/)

thanks for these. but they have missing var do = submit; this is not big problem thought, since Beta 4+ repairs.

in Sources/Arcade.php
find:

if(isset($_POST['act'])) $_POST['do'] = $_POST['act'];

add after:

if(isset($_POST['game']) && isset($_POST['score']))   $_POST['do'] = "submit"; // If game and score is set then -> submit
elseif( isset($_GET['do']) && isset($_GET['game']))   $_GET['do'] == "play"; // If game is set but no play or highscore -> play

Title: Re: SMF Arcade
Post by: Bullcat Webhosting on October 29, 2004, 09:08:34 AM
YEs, thats works fine here, in breakout, now i download the other games, and take a look ! Thanks
Title: Re: SMF Arcade
Post by: umiya on October 29, 2004, 12:44:03 PM
trying to add the new games but have no clue how :-/
Title: Re: SMF Arcade
Post by: crazystu on October 29, 2004, 02:56:57 PM
Quote from: Niko on October 29, 2004, 08:40:29 AM
Quote from: nesianstyles on October 28, 2004, 01:26:18 AM
added 13 full games done for this mod today.
Hope you like them
Download/View (http://smfgames.com)

thanks for these. but they have missing var do = submit; this is not big problem thought, since Beta 4+ repairs.

in Sources/Arcade.php
find:

if(isset($_POST['act'])) $_POST['do'] = $_POST['act'];

add after:

if(isset($_POST['game']) && isset($_POST['score']))   $_POST['do'] = "submit"; // If game and score is set then -> submit
elseif( isset($_GET['do']) && isset($_GET['game']))   $_GET['do'] == "play"; // If game is set but no play or highscore -> play


I didn't realise games needed it, but I have been doing the games from another arcade mod and its hard to add another line of actionscript with the program I use.

ps. bug fixed in sagaofsai, redownload it here (http://smfgames.com) and also, check there soon as I have a bunch of games comming.
Title: Re: SMF Arcade
Post by: umiya on October 29, 2004, 04:24:10 PM
can someone inform me of how to add a game...i added the code to one of my own games and wish to add it but cant figure out how and there was no read me on how to install games :-|
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on October 29, 2004, 04:43:29 PM
The code below, add all the download games to arcade.php, just download all the games, en add this code to arcade.php !

// Games list
// $games = array('Display name in install','Sql query to excute on install');
$games = array(
array('Duck Hunt', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'duckhunt\', \'Duck Hunt\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="duckhunt.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/duckhunt.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/duckhunt.swf" quality="high" bgcolor="#000000" width="450" height="393" name="duckhunt.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Hunt ducks. Classic game\')'),
array('Pinguin', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pinguin\', \'Pinguin\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="pingviinikibpa.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/pingviinikibpa.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/pingviinikibpa.swf" quality="high" bgcolor="#000000" width="450" height="393" name="pingviinikibpa.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Pinguin. Classic game\')'),
array('Pacman', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pacman\', \'Pacman\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="pacman.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/pacman.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/pacman.swf" quality="high" bgcolor="#000000" width="450" height="393" name="pacman.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Pacman. Classic game\')'),
array('Breakout', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'breakout\', \'Breakout\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="breakout.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/breakout.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/breakout.swf" quality="high" bgcolor="#000000" width="450" height="393" name="breakout.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Breakout. Classic game\')'),
array('Spacehunter', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'spacehunter\', \'Spacehunter\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="spacehunter.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/spacehunter.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/spacehunter.swf" quality="high" bgcolor="#000000" width="450" height="393" name="spacehunter.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Spacehunter. Classic game\')'),
array('Snake', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'snake\', \'Snake\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="snake.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/snake.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/breakout.swf" quality="high" bgcolor="#000000" width="450" height="393" name="snake.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Snake. Classic game\')'),
array('Simpsons', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'simpsons\', \'Simpsons\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="simpsons.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/simpsons.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/simpsons.swf" quality="high" bgcolor="#000000" width="450" height="393" name="simpsons.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Simpsons. Classic game\')'),
array('Sagaofsai', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'sagaofsai\', \'Sagaofsai\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="sagaofsai.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/sagaofsai.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/sagaofsai.swf" quality="high" bgcolor="#000000" width="450" height="393" name="sagaofsai.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Sagaofsai. Classic game\')'),
array('Rshot3', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'rshot3\', \'Rshot3\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="rshot3.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/rshot3.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/rshot3.swf" quality="high" bgcolor="#000000" width="450" height="393" name="rshot3.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Rshot3. Classic game\')'),
array('Project_orion', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'project_orion\', \'Project_orion\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="project_orion.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/project_orion.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/project_orion.swf" quality="high" bgcolor="#000000" width="450" height="393" name="project_orion.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Project_orion. Classic game\')'),
array('Pingbrick', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pingbrick\', \'Pingbrick\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="pingbrick.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/pingbrickbreakout.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/pingbrick.swf" quality="high" bgcolor="#000000" width="450" height="393" name="pingbrick.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Pingbrick. Classic game\')'),
array('Paul', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'paul\', \'Paul\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="paul.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/paul.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/paul.swf" quality="high" bgcolor="#000000" width="450" height="393" name="paul.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Paul. Classic game\')'),
array('Karts', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'karts\', \'Karts\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="karts.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/karts.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/karts.swf" quality="high" bgcolor="#000000" width="450" height="393" name="karts.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Karts. Classic game\')'),
array('Hexxagon', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'hexxagon\', \'Hexxagon\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="hexxagon.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/hexxagon.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/hexxagon.swf" quality="high" bgcolor="#000000" width="450" height="393" name="hexxagon.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Hexxagon. Classic game\')'),
array('Asteroids', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'asteroids\', \'Asteroids\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="asteroids.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/asteroids.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/asteroids.swf" quality="high" bgcolor="#000000" width="450" height="393" name="asteroids.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Asteroids. Classic game\')'),
array('Xmas-boarding', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'xmas-boarding\', \'Xmas-boarding\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="xmas-boarding.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/xmas-boarding.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/xmas-boarding.swf" quality="high" bgcolor="#000000" width="450" height="393" name="xmas-boarding.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Xmas-boarding. Classic game\')'),
array('Eskiv', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'eskiv\', \'Eskiv\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="200" height="150" id="eskivbw" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/eskivbw.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#ffffff" />\r\n<embed src="Games/eskivbw.swf" quality="high" bgcolor="#ffffff" width="640" height="480" name="eskivbw" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object>\', \'\', \'Collect blocks. But be aware of balls \');')
);
Title: Re: SMF Arcade
Post by: umiya on October 29, 2004, 06:22:11 PM
so u have to edit arcade .php every tiem u want to add a game:|
Title: Re: SMF Arcade
Post by: diplomat. on October 29, 2004, 07:36:42 PM
yeah you just have to add it in the game list..like another line

array('NAME', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'name\', \'NAME\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="NAME.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/NAME.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/NAME.swf" quality="high" bgcolor="#000000" width="450" height="393" name="paul.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Paul. Classic game\')'),

and install it using the arcade admin section thingy .. fairly easy, and im a n00b ;)
Title: Re: SMF Arcade
Post by: crazystu on October 29, 2004, 08:52:10 PM
added 8 more games:
ameriman
dragndrop
funkypong
target_shoot
rsnake
cheetah_race
squid_hunter
star_wars

download/view (http://smfgames.com)
Also put up a example arcade and a board for support and stuff.
Title: Re: SMF Arcade
Post by: Elijah Bliss on October 29, 2004, 09:23:44 PM
Quote from: nesianstyles on October 29, 2004, 08:52:10 PM
added 8 more games:
ameriman
dragndrop
funkypong
target_shoot
rsnake
cheetah_race
squid_hunter
star_wars

download/view (http://nesian.info/smgames/)
Also put up a example arcade and a board for support and stuff.

You rock! Would it be too much to ask to throw in a couple of card games like Poker and Black Jack if possible?
Title: Re: SMF Arcade
Post by: Elijah Bliss on October 29, 2004, 09:26:48 PM
Question about the Arcade mod

Will the arcade board's permission system function like the regular board permissions in SMF? For example if I only want particular post count/non post count groups accessing the board, and deny entry to lurkers, would that work?
Title: Re: SMF Arcade
Post by: crazystu on October 30, 2004, 01:26:21 AM
QuoteYou rock! Would it be too much to ask to throw in a couple of card games like Poker and Black Jack if possible?
Sure thing, I know a video poker game and a few slot games which are open source. I have 2 blackjack games I can convert, but the authors don't seem contactable since there sites are about webdesign.
Title: Re: SMF Arcade
Post by: smacktalk on October 30, 2004, 01:38:23 AM
Quote from: Elijah Bliss on October 29, 2004, 09:23:44 PM
Quote from: nesianstyles on October 29, 2004, 08:52:10 PM
added 8 more games:
ameriman
dragndrop
funkypong
target_shoot
rsnake
cheetah_race
squid_hunter
star_wars

download/view (http://nesian.info/smgames/)
Also put up a example arcade and a board for support and stuff.

You rock! Would it be too much to ask to throw in a couple of card games like Poker and Black Jack if possible?

A couple of games where multiple members can play at the same time would be awsome!!
Title: Re: SMF Arcade
Post by: crazystu on October 30, 2004, 04:28:16 AM
I agree, but most of the time the author don't want them to be converted.
4 more games:
plasmanaut
plasmanautv2
slots
videopoker

Download/View (http://smfgames.com)

I won't be online tomorrow guys, so those games still arn't tested and added to the example arcade.
Title: Re: SMF Arcade
Post by: trenchteam on October 31, 2004, 01:24:08 AM
Does this work with RC2?
Title: Re: SMF Arcade
Post by: Ben_S on October 31, 2004, 11:40:03 AM
A few football (proper football not that stuff americans play) would be nice, Suppose I should say soccer.
Title: Re: SMF Arcade
Post by: niko on October 31, 2004, 02:17:53 PM
Quote from: trenchteam on October 31, 2004, 01:24:08 AM
Does this work with RC2?

i think so. since this has only one core change (to action array)
Title: Re: SMF Arcade
Post by: Pause on November 04, 2004, 10:29:49 AM
Quote from: Niko on October 31, 2004, 02:17:53 PM
Quote from: trenchteam on October 31, 2004, 01:24:08 AM
Does this work with RC2?

i think so. since this has only one core change (to action array)
I run it on RC2, and it works... wouldn't mind having the Sonic the Hedgehog from IBProArcade though... would someone email them for permission? (I would but can't access the site etc. for some reason)
Title: Re: SMF Arcade
Post by: Elijah Bliss on November 05, 2004, 03:05:38 AM
Quote from: trenchteam on October 31, 2004, 01:24:08 AM
Does this work with RC2?

yep.
Title: Re: SMF Arcade
Post by: Kender on November 05, 2004, 08:35:23 AM
is http://www.pahajoki.info/server/SMF_Arcade(Beta4).zip still the most recent version, if so, when will next release be?  also, i attempted to set up the patcher on my forum, using http://www.pahajoki.info/server/ as the site, and it could not access it as an upload site for patches
Title: Re: SMF Arcade
Post by: niko on November 05, 2004, 12:00:33 PM
Quote from: Kender on November 05, 2004, 08:35:23 AM
is http://www.pahajoki.info/server/SMF_Arcade(Beta4).zip still the most recent version, if so, when will next release be?  also, i attempted to set up the patcher on my forum, using http://www.pahajoki.info/server/ as the site, and it could not access it as an upload site for patches

Yes it is. I think very soon, admin & 'arcade panel' are still not completed


Try also http://www.titanix.net/~niko/server/  as i dont have currently any hosting acc.
Title: Re: SMF Arcade
Post by: crazystu on November 05, 2004, 02:48:53 PM
Downloads are now in categorys, I also have added a new design, more games, a cool web ftp thing to upload files and got permission from ghost to do seconds of madness (cool game) and mumu (like Trytrist). I am contacting matmi and ultimate arcade at the moment to see if I can do their games.

puzzel games:
secondsofmadness
mumu

classic games:
airfox
frogger
invaders
jewels
mahjong
pacman
pingpong
simon
tetris

download/view (http://smfgames.com)
Title: Re: SMF Arcade
Post by: soapbath on November 06, 2004, 10:08:31 PM
What would be really cool was if that you did th arrys for the games, but im just being lazy I guess.
Title: Re: SMF Arcade
Post by: crazystu on November 07, 2004, 01:37:04 PM
i have done the arrays for all the current games, do you guys want them?

About sonic, I can't access there site. I have it done though so I'll think about releasing it. About the soccer games, I know a few so I may contact the author.
Title: Re: SMF Arcade
Post by: Elijah Bliss on November 07, 2004, 06:06:04 PM
Quote from: Hans_de_Echte on October 20, 2004, 09:05:25 AM
QuoteGames/ Folder
when i put the gif's in it nothing happens.

a screen dump tell's you even more ! i don't have high scores also !?? ( some txt in dutch )

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.het-catshuys.nl%2Fupload%2Farcade.jpg&hash=d758432b5c81226306c9e0bce43b24ca1f4113a0)

a=can you help me with the probs i have ?

sorry for my englisch, but i think it's better as your ducth  8) 8)

Has the thumbnail issue been resolved yet?
Title: Re: SMF Arcade
Post by: Elijah Bliss on November 08, 2004, 05:35:29 AM
Quote from: Hans_de_Echte on October 20, 2004, 09:05:25 AM
QuoteGames/ Folder
when i put the gif's in it nothing happens.

a screen dump tell's you even more ! i don't have high scores also !?? ( some txt in dutch )

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.het-catshuys.nl%2Fupload%2Farcade.jpg&hash=d758432b5c81226306c9e0bce43b24ca1f4113a0)

a=can you help me with the probs i have ?

sorry for my englisch, but i think it's better as your ducth  8) 8)

How to get the thumbnails to show:

Find
$context['arcade']['games'][$i]['thumbnail'] = "Games/{$game['thumb']}";

Replace with:
$context['arcade']['games'][$i]['thumbnail'] = "Games/".$game['game'].".gif";

or

$context['arcade']['games'][$i]['thumbnail'] = "Games/".$game['game'].".jpg";

or

$context['arcade']['games'][$i]['thumbnail'] = "Games/".$game['game'].".png";
Title: Re: SMF Arcade
Post by: Pause on November 08, 2004, 08:24:00 AM
Please, someone contact the author of the following game to ask if this can be added!

http://www.123games.dk/game/sport/kingpin/kingpin_eng.htm
Title: Re: SMF Arcade
Post by: soapbath on November 08, 2004, 11:14:44 AM
nesianstyles; Yes please. This would be a great help to me :)
Title: Re: SMF Arcade
Post by: soapbath on November 08, 2004, 11:21:29 AM
Ive contacted the auther of KingPin, lets hope he decides to do the right thing :)
Title: Re: SMF Arcade
Post by: crazystu on November 08, 2004, 11:23:43 PM
if your contacting 123games.dk then what ever they say, they are not the authors of that game, TGFG are.
Title: Re: SMF Arcade
Post by: Pause on November 09, 2004, 06:55:12 AM
I probably should have clarified that I meant TGFG (I just couldn't find contact info on TGFG's site to do it myself)
Title: Re: SMF Arcade
Post by: soapbath on November 09, 2004, 11:05:59 AM
I Did not contact 123games but TGFG :)
Title: Re: SMF Arcade
Post by: Elijah Bliss on November 09, 2004, 06:20:26 PM
I have one more request, the card game "Spades" if you find time.

Thank You.
Title: Re: SMF Arcade
Post by: soapbath on November 11, 2004, 08:33:08 PM
nesianstyles; Have you got them arrays?
Title: Re: SMF Arcade
Post by: Elijah Bliss on November 11, 2004, 08:50:22 PM
Quote from: soapbath on November 11, 2004, 08:33:08 PM
nesianstyles; Have you got them arrays?

Here are some from the games I installed, hopefully this helps:
array('Duck Hunt', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'duckhunt\', \'Duck Hunt\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="duckhunt.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/duckhunt.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/duckhunt.swf" quality="high" bgcolor="#000000" width="450" height="393" name="duckhunt.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Duck Hunt. Classic Arcade Game.\')'),
array('Tetris', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'tetris\', \'Tetris\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="tetris.swf" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/tetris.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#ffffff" />\r\n<embed src="Games/tetris.swf" quality="high" bgcolor="#ffffff" width="640" height="480" name="tetris" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object></center>\', \'\', \'Shaped blocks fall into a pit where you must arrange them so they fit neatly.\');'),
array('Simon', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'simon\', \'Simon\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="simon.swf" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/simon.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#000000" />\r\n<embed src="Games/simon.swf" quality="high" bgcolor="#000000" width="640" height="480" name="simon" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object></center>\', \'\', \'Follow the pattern of lights and sounds. \');'),
array('Space Hunter', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'spacehunter\', \'Space Hunter\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="spacehunter.swf" align="middle">\r\n   <param name="allowScriptAccess" value="sameDomain">\r\n      <param name="movie" value="Games/spacehunter.swf">\r\n      <param name="quality" value="high">\r\n      <param name="bgcolor" value="#000000">\r\n      <embed src="Games/spacehunter.swf" quality="high" bgcolor="#000000" width="450" height="393" name="spacehunter.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Space Hunter. Classic Space Game.\')'),
array('Asteroids', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'asteroids\', \'Asteroids\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="asteroids.swf" align="middle">\r\n   <param name="allowScriptAccess" value="sameDomain">\r\n      <param name="movie" value="Games/asteroids.swf">\r\n      <param name="quality" value="high">\r\n      <param name="bgcolor" value="#000000">\r\n      <embed src="Games/asteroids.swf" quality="high" bgcolor="#000000" width="450" height="393" name="asteroids.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Asteroids. Classic Arcade Game.\')'),
array('Invaders', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'invaders\', \'Invaders\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="invaders.swf" align="middle">\r\n   <param name="allowScriptAccess" value="sameDomain">\r\n      <param name="movie" value="Games/invaders.swf">\r\n      <param name="quality" value="high">\r\n      <param name="bgcolor" value="#000000">\r\n      <embed src="Games/invaders.swf" quality="high" bgcolor="#000000" width="450" height="393" name="invaders.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Invaders. Classic Arcade Game.\')'),
array('Eskiv', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'eskiv\', \'Eskiv\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="eskivbw" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/eskivbw.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#ffffff" />\r\n<embed src="Games/eskivbw.swf" quality="high" bgcolor="#ffffff" width="640" height="480" name="eskivbw" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object></center>\', \'\', \'Collect blocks. But beware of the balls.\');'),
array('Ping Pong', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pingpong\', \'Ping Pong\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="pingpong.swf" align="middle">\r\n   <param name="allowScriptAccess" value="sameDomain">\r\n      <param name="movie" value="Games/pingpong.swf">\r\n      <param name="quality" value="high">\r\n      <param name="bgcolor" value="#000000">\r\n      <embed src="Games/pingpong.swf" quality="high" bgcolor="#000000" width="450" height="393" name="pingpong.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Ping Pong. Classic Game.\')'),
array('Air Fox', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'airfox\', \'Air Fox\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="airfox.swf" align="middle">\r\n   <param name="allowScriptAccess" value="sameDomain">\r\n      <param name="movie" value="Games/airfox.swf">\r\n      <param name="quality" value="high">\r\n      <param name="bgcolor" value="#000000">\r\n      <embed src="Games/airfox.swf" quality="high" bgcolor="#000000" width="450" height="393" name="airfox.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Air Fox. Shoot enemies out of the sky.\')'),
array('Slots', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'slots\', \'Slots\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="slots.swf" align="middle">\r\n   <param name="allowScriptAccess" value="sameDomain">\r\n      <param name="movie" value="Games/slots.swf">\r\n      <param name="quality" value="high">\r\n      <param name="bgcolor" value="#000000">\r\n      <embed src="Games/slots.swf" quality="high" bgcolor="#000000" width="450" height="393" name="airfox.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Slots. Casino Game.\')'),
array('Video Poker', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'videopoker\', \'Video Poker\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="videopoker.swf" align="middle">\r\n   <param name="allowScriptAccess" value="sameDomain">\r\n      <param name="movie" value="Games/videopoker.swf">\r\n      <param name="quality" value="high">\r\n      <param name="bgcolor" value="#000000">\r\n      <embed src="Games/videopoker.swf" quality="high" bgcolor="#000000" width="450" height="393" name="videopoker.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center></center>\', \'\', \'Poker. Casino Game.\')'),
array('Seconds of Madness', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'secondsofmadness\', \'Seconds of Madness\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="secondsofmadness.swf" align="middle">\r\n   <param name="allowScriptAccess" value="sameDomain">\r\n      <param name="movie" value="Games/secondsofmadness.swf">\r\n      <param name="quality" value="high">\r\n      <param name="bgcolor" value="#000000">\r\n      <embed src="Games/secondsofmadness.swf" quality="high" bgcolor="#000000" width="450" height="393" name="secondsofmadness.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Seconds of Madness. Obstacle Game.\')'),
array('Pacman', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pacman\', \'Pacman\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="pacman.swf" align="middle">\r\n   <param name="allowScriptAccess" value="sameDomain">\r\n      <param name="movie" value="Games/pacman.swf">\r\n      <param name="quality" value="high">\r\n      <param name="bgcolor" value="#000000">\r\n      <embed src="Games/pacman.swf" quality="high" bgcolor="#000000" width="450" height="393" name="pacman.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Pacman. Classic Arcade Game.\')'),
array('Frogger', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'frogger\', \'Frogger\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="frogger.swf" align="middle">\r\n   <param name="allowScriptAccess" value="sameDomain">\r\n      <param name="movie" value="Games/frogger.swf">\r\n      <param name="quality" value="high">\r\n      <param name="bgcolor" value="#000000">\r\n      <embed src="Games/frogger.swf" quality="high" bgcolor="#000000" width="450" height="393" name="frogger.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Frogger. Classic Arcade Game\')'),
array('Breakout', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'breakout\', \'Breakout\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="breakout.swf" align="middle">\r\n   <param name="allowScriptAccess" value="sameDomain">\r\n      <param name="movie" value="Games/breakout.swf">\r\n      <param name="quality" value="high">\r\n      <param name="bgcolor" value="#000000">\r\n      <embed src="Games/breakout.swf" quality="high" bgcolor="#000000" width="450" height="393" name="breakout.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Breakout. Classic Arcade Game.\')'),
array('Mumu', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'mumu\', \'Mumu\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="mumu.swf" align="middle">\r\n   <param name="allowScriptAccess" value="sameDomain">\r\n      <param name="movie" value="Games/mumu.swf">\r\n      <param name="quality" value="high">\r\n      <param name="bgcolor" value="#000000">\r\n      <embed src="Games/mumu.swf" quality="high" bgcolor="#000000" width="450" height="393" name="mumu.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Mumu. Puzzle Game.\')'),
array('Jewels', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'jewels\', \'Jewels\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="jewels.swf" align="middle">\r\n   <param name="allowScriptAccess" value="sameDomain">\r\n      <param name="movie" value="Games/jewels.swf">\r\n      <param name="quality" value="high">\r\n      <param name="bgcolor" value="#000000">\r\n      <embed src="Games/jewels.swf" quality="high" bgcolor="#000000" width="450" height="393" name="jewels.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Jewels. Classic Game.\')'),
array('Plasmanaut', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'plasmanaut\', \'Plasmanaut\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="plasmanaut.swf" align="middle">\r\n   <param name="allowScriptAccess" value="sameDomain">\r\n      <param name="movie" value="Games/plasmanaut.swf">\r\n      <param name="quality" value="high">\r\n      <param name="bgcolor" value="#000000">\r\n      <embed src="Games/plasmanaut.swf" quality="high" bgcolor="#000000" width="450" height="393" name="plasmanaut.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Plasmanaut. Blast enemies out of space.\')'),
array('Karts', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'karts\', \'Karts\', \'<center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="karts.swf" align="middle">\r\n   <param name="allowScriptAccess" value="sameDomain">\r\n      <param name="movie" value="Games/karts.swf">\r\n      <param name="quality" value="high">\r\n      <param name="bgcolor" value="#000000">\r\n      <embed src="Games/karts.swf" quality="high" bgcolor="#000000" width="450" height="393" name="karts.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Karts. Classic Racing Game.\')')
Title: Re: SMF Arcade
Post by: Hoolio on November 12, 2004, 11:12:12 AM
eh to get your own flash games from sites... download getright the downloading program. then look @ the page source and see what the .swf is called on that page put the url of it into getright and BAM! u have it on your pc
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on November 12, 2004, 11:34:47 AM
Yes but not high scores !
Title: Re: SMF Arcade
Post by: Oldiesmann on November 12, 2004, 01:38:51 PM
What about PNFlashGames.com? Has anybody contacted them yet? They've got a ton of great games.
Title: Re: SMF Arcade
Post by: Kindred on November 12, 2004, 02:57:40 PM
Not to mention, Hoolio... doing it that way (without permission from the author) and then posting the game to your site is illegal.

There are a number of SWF and Flash-optimized games available for download, both free and registered. Why do something illegal?

(BTW: I have a PNFlash component for Mambo, which allows the SMF games to be run under Mambo as well...  now I just have to get the SMF-scoring component installed correctly. LOL!)
Title: Re: SMF Arcade
Post by: Trekkie101 on November 18, 2004, 08:43:46 AM
Right ive just downloaded the mod, installed it and well tried www.mydomain.com/place/index.php?=action=arcade but it doesnt work, any tips on howm to get to the actual page of the arcade, couldnt find anything here,

Also it was the bigger file beta 4 i downloaded is that wrong?
Title: Re: SMF Arcade
Post by: diplomat. on November 18, 2004, 12:04:02 PM
you got this
http://www.mydomain.com/place/index.php?=action=arcade

is should be this
http://www.mydomain.com/place/index.php?action=arcade
Title: Re: SMF Arcade
Post by: niko on November 18, 2004, 01:17:22 PM
Quote from: kindred on November 12, 2004, 02:57:40 PM
Not to mention, Hoolio... doing it that way (without permission from the author) and then posting the game to your site is illegal.
Yes it is.

Quote from: kindred on November 12, 2004, 02:57:40 PM
There are a number of SWF and Flash-optimized games available for download, both free and registered. Why do something illegal?
True. flashkit.com is good place to find. Google also

Quote from: kindred on November 12, 2004, 02:57:40 PM
(BTW: I have a PNFlash component for Mambo, which allows the SMF games to be run under Mambo as well...  now I just have to get the SMF-scoring component installed correctly. LOL!)

SMF Games to be ran on PNFlash, maybe i should reprisal and make smf acade support pnflash games... or then not i don't have time :P
Title: Re: SMF Arcade
Post by: Trekkie101 on November 18, 2004, 01:20:38 PM
Erm the address you gave me didnt work (i changed it) i still cant get my acracde working.
Title: Re: SMF Arcade
Post by: niko on November 18, 2004, 01:40:24 PM
Quote from: Trekkie101 on November 18, 2004, 01:20:38 PM
Erm the address you gave me didnt work (i changed it) i still cant get my acracde working.

So what's error that comes? If it's about sql queries read readme.
if board index shows up repair index.php's action array (add arcade there) line can be found at readme too
Title: Re: SMF Arcade
Post by: Oldiesmann on November 19, 2004, 09:13:19 PM
Seems to work fine in 1.0 preview. I still think you should either center the games or make use of all that extra space and display your high score and the top 10 high scores for that game.

Did find one bug though.

Sources/Arcade.php

Find
array(
'Eskiv',
'INSERT INTO pahajoki_games VALUES (, \'eskiv\', \'Eskiv\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="200" height="150" id="eskivbw" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/eskivbw.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#ffffff" />\r\n<embed src="Games/eskivbw.swf" quality="high" bgcolor="#ffffff" width="640" height="480" name="eskivbw" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object>\', \'\', \'Collect blocks. But be aware of balls \');')
);


Replace
array(
'Eskiv',
'INSERT INTO '.$db_prefix.'games VALUES (\'\', \'eskiv\', \'Eskiv\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="200" height="150" id="eskivbw" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/eskivbw.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#ffffff" />\r\n<embed src="Games/eskivbw.swf" quality="high" bgcolor="#ffffff" width="640" height="480" name="eskivbw" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object>\', \'\', \'Collect blocks. But be aware of balls \');')
);


Otherwise Eskiv won't install.
Title: Re: SMF Arcade
Post by: Oldiesmann on November 19, 2004, 09:58:40 PM
I have a suggestion. Currently you have to add a query to Sources/Arcade.php everytime you want to add a game, and you can't uninstall a game without having to add a query for it or deleting it in phpMyAdmin. Why not have it read the Games directory, make an array of all the games in the directory, and then go through the games table and see which ones are installed? Then you can output an "install" link for every game that isn't installed and add an "uninstall" link for each game that is installed. This will prevent accidentally installing a game twice (you might want to make that a UNIQUE value) and will make things a bit easier to manage.
Title: Re: SMF Arcade
Post by: Oldiesmann on November 19, 2004, 10:24:26 PM
Quote from: nesianstyles on November 05, 2004, 02:48:53 PM
Downloads are now in categorys, I also have added a new design, more games, a cool web ftp thing to upload files and got permission from ghost to do seconds of madness (cool game) and mumu (like Trytrist). I am contacting matmi and ultimate arcade at the moment to see if I can do their games.

puzzel games:
secondsofmadness
mumu

classic games:
airfox
frogger
invaders
jewels
mahjong
pacman
pingpong
simon
tetris

download/view (http://nesian.info/smgames/)

I tried both Plasmanaut and Airfox and both of those went directly to .../index.php?action=arcade instead of .../index.php?action=arcade&do=submit when the game ended. (Plasmanaut you have to click submit, but still...)
Title: Re: SMF Arcade
Post by: niko on November 20, 2004, 08:06:17 AM
Quote from: Oldiesmann on November 19, 2004, 09:58:40 PM
I have a suggestion. Currently you have to add a query to Sources/Arcade.php everytime you want to add a game, and you can't uninstall a game without having to add a query for it or deleting it in phpMyAdmin. Why not have it read the Games directory, make an array of all the games in the directory, and then go through the games table and see which ones are installed? Then you can output an "install" link for every game that isn't installed and add an "uninstall" link for each game that is installed. This will prevent accidentally installing a game twice (you might want to make that a UNIQUE value) and will make things a bit easier to manage.

Next version has Games Area on arcade admin, also next version will generate html code for flash on fly. This makes easier for do this. I think i make something like this (Install/Unistall/Edit) curerntly edit and remove is working.


Quote from: Oldiesmann
Seems to work fine in 1.0 preview. I still think you should either center the games or make use of all that extra space and display your high score and the top 10 high scores for that game.

This will be too 'fixed' in next version
Title: Re: SMF Arcade
Post by: Oldiesmann on November 22, 2004, 10:40:34 AM
Cool. Can't wait. What about displaying the high scores on the main arcade page? Is that going to be taken care of in the next version?
Title: Re: SMF Arcade
Post by: crazystu on November 22, 2004, 01:31:51 PM
Quote from: Oldiesmann on November 19, 2004, 10:24:26 PM
I tried both Plasmanaut and Airfox and both of those went directly to .../index.php?action=arcade instead of .../index.php?action=arcade&do=submit when the game ended. (Plasmanaut you have to click submit, but still...)

Have you done this?
Quote from: Nikoin Sources/Arcade.php
find:

if(isset($_POST['act'])) $_POST['do'] = $_POST['act'];

add after:

if(isset($_POST['game']) && isset($_POST['score']))   $_POST['do'] = "submit"; // If game and score is set then -> submit
elseif( isset($_GET['do']) && isset($_GET['game']))   $_GET['do'] == "play"; // If game is set but no play or highscore -> play

Title: Re: SMF Arcade
Post by: RGSMDNR on December 05, 2004, 05:04:33 PM
can someone explain how to add the button?

thanks
Title: Re: SMF Arcade
Post by: RGSMDNR on December 05, 2004, 07:09:19 PM
i can only get 2 games to submit scores... duck hunt and Eskiv,

is there something im missing for the other games?
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on December 05, 2004, 07:14:19 PM
Read this whole treath !! there a lots of games now !
Title: Re: SMF Arcade
Post by: RGSMDNR on December 05, 2004, 07:30:54 PM
found my problem.. i was adding just any ordinary flash game.. they have to be SMF games..

Title: Re: SMF Arcade
Post by: Bullcat Webhosting on December 06, 2004, 02:12:14 PM
Have you allready found the website with a lot of smf-arcade games ??
Title: Re: SMF Arcade
Post by: RGSMDNR on December 06, 2004, 08:18:44 PM
there was one i found on here...

is there more?
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on December 07, 2004, 02:23:44 AM
Take a look at this site :D http://smfgames.freelinuxhost.com/download.php
Title: Re: SMF Arcade
Post by: RGSMDNR on December 07, 2004, 05:46:44 PM
been there... done that.

they have to be SMF ones so they can register the scores...

NEED MORE!!

:D
Title: Re: SMF Arcade
Post by: crazystu on December 11, 2004, 02:23:09 AM
I guess I better add more games soon, but there is 45 at the moment
Title: Re: SMF Arcade
Post by: Pause on December 13, 2004, 05:24:31 AM
Quote from: nesianstyles on December 11, 2004, 02:23:09 AM
I guess I better add more games soon, but there is 45 at the moment
Is there any chance you could put all of them in one tar.gz or zip file? It's just fiddly having to download them one by one...  :)

Niko: Not wanting to rush you or anything, but do you have any idea when you'll be releasing the next version?  :P
Title: Re: SMF Arcade
Post by: niko on December 13, 2004, 08:16:00 AM
This week, hopefully  :)
Title: Re: SMF Arcade
Post by: RGSMDNR on December 13, 2004, 11:10:50 AM
some of my users have been saying that duck hunt wont always record their scores? how can i check this?
Title: Re: SMF Arcade
Post by: niko on December 13, 2004, 12:27:58 PM
Beta 5 is out! Finally
Title: Re: SMF Arcade
Post by: DoW Kid Rock on December 15, 2004, 12:17:52 PM
I tried the auto install, but had to unzip the folder first then zip the contents.  then I installed from the package manager and it said it worked, but ended up doing everything by hand.

anyway my problem is that when I go to the arcade and click on admin, then try to change the options it says "Invalid action"

I try to add a game, but it just comes to the main arcade screen again.

looks like it would be an awesome mod if I could get it working

I have RC2 just in case you need to know that
Title: Re: SMF Arcade
Post by: Pause on December 15, 2004, 12:27:47 PM
Quote from: Niko on December 13, 2004, 12:27:58 PM
Beta 5 is out! Finally
Great - I'll install it as soon as I get my board back up  :D
Title: Re: SMF Arcade
Post by: niko on December 15, 2004, 01:30:07 PM
Quote from: DoW Kid Rock on December 15, 2004, 12:17:52 PM
I tried the auto install, but had to unzip the folder first then zip the contents.  then I installed from the package manager and it said it worked, but ended up doing everything by hand.
I'll look into that

Quote from: DoW Kid Rock on December 15, 2004, 12:17:52 PM
anyway my problem is that when I go to the arcade and click on admin, then try to change the options it says "Invalid action"
This is 'feature'

Quote from: DoW Kid Rock on December 15, 2004, 12:17:52 PM
I try to add a game, but it just comes to the main arcade screen again.

Do not press Install Game from acarde... instead upload swf file's to Games/ folder then go to 'Games'  click swf file that you want to install then fill up info that are not filled automagically (Name, Description, Background color)
Title: Re: SMF Arcade
Post by: RGSMDNR on December 15, 2004, 03:01:26 PM
if i install the new version, will it erase the current scores?
Title: Re: SMF Arcade
Post by: incubusnb on December 15, 2004, 03:12:30 PM
is Beta 5 just an upgrade? i noticed it has a smaller file size than Beta 4, should i install 4 first and then upgrade?
Title: Re: SMF Arcade
Post by: niko on December 15, 2004, 04:14:27 PM
Quote from: RGSMDNR on December 15, 2004, 03:01:26 PM
if i install the new version, will it erase the current scores?

no they wont be erased just run update function

Quote from: incubusnb on December 15, 2004, 03:12:30 PM
is Beta 5 just an upgrade? i noticed it has a smaller file size than Beta 4, should i install 4 first and then upgrade?

It is standalone but unlike Beta 4 it does not have bundled games
Title: Re: SMF Arcade
Post by: niko on December 18, 2004, 07:35:40 AM
Now beta 5b is released to fix problems with beta5
Title: Re: SMF Arcade
Post by: Midgard on December 18, 2004, 07:41:24 AM
what is this, how to using?
Title: Re: SMF Arcade
Post by: johnm on December 18, 2004, 09:37:28 AM
just a question about installing new games can you make up a class id for the games or does it have to be some thing specific?

i.e duck hunt game id =classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
and say tetris game =classid="clsid:d27cdb6e-ae6d-11cf-96b8-4445535569872"

thanks
Title: Re: SMF Arcade
Post by: DoW Kid Rock on December 18, 2004, 01:21:55 PM
ok I did the beta5b upgrade and am able to go in and fill the information in, but when I go back to the arcade and select the game it comes to the screen that has the game name, but the swf file doesn't load.

I thought it might be mozilla, but have tried it in IE and nothing. 

also does anyone have a good site to download the thumbnails needed?

thank you
Title: Re: SMF Arcade
Post by: niko on December 18, 2004, 04:14:26 PM
Quote from: DoW Kid Rock on December 18, 2004, 01:21:55 PM
ok I did the beta5b upgrade and am able to go in and fill the information in, but when I go back to the arcade and select the game it comes to the screen that has the game name, but the swf file doesn't load.

I thought it might be mozilla, but have tried it in IE and nothing. 

also does anyone have a good site to download the thumbnails needed?

thank you

is your html code correct?

Quote from: johnm on December 18, 2004, 09:37:28 AM
just a question about installing new games can you make up a class id for the games or does it have to be some thing specific?

i.e duck hunt game id =classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
and say tetris game =classid="clsid:d27cdb6e-ae6d-11cf-96b8-4445535569872"

thanks

Both seems to be working but use first one :)
Title: Re: SMF Arcade
Post by: DoW Kid Rock on December 18, 2004, 07:15:00 PM
ok this is going to sound stupid, but what html code do I put in there?

I tried putting in this:

on (press){
   set (score,high);
   set (act,"submit"); // No longer required
   set (game,"<game id>"); // Use same for filename and you don't need to write it to some where if you are lazy
   getURL (index.php?action=arcade", "_self", "POST");
}




which was suggested somewhere in this thread, but all it did what print the code on the screen

help!

thank you
Title: Re: SMF Arcade
Post by: johnm on December 18, 2004, 08:44:05 PM
im guessing you want to know what html code do you put in use some thing like:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="duckhunt.swf" align="middle"> <param name="allowScriptAccess" value="sameDomain"> <param name="movie" value="Games/duckhunt.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#000000"><embed src="Games/duckhunt.swf" quality="high" bgcolor="#000000" width="450" height="393" name="duckhunt.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></object>

thats what i did and it seems fine you will need to change the classid to some thing uniqe
and change the name of the swf file
Title: Re: SMF Arcade
Post by: TodaysXt on December 18, 2004, 09:39:37 PM
Quote from: johnm on December 18, 2004, 08:44:05 PM
im guessing you want to know what html code do you put in use some thing like:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="duckhunt.swf" align="middle"> <param name="allowScriptAccess" value="sameDomain"> <param name="movie" value="Games/duckhunt.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#000000"><embed src="Games/duckhunt.swf" quality="high" bgcolor="#000000" width="450" height="393" name="duckhunt.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></object>

thats what i did and it seems fine you will need to change the classid to some thing uniqe
and change the name of the swf file

Thanks so much , just what I needed.  Works great , thanks
Xt.
Title: Re: SMF Arcade
Post by: _complex on December 19, 2004, 01:37:25 AM
Quote from: DoW Kid Rock on December 15, 2004, 12:17:52 PM
I tried the auto install, but had to unzip the folder first then zip the contents. then I installed from the package manager and it said it worked, but ended up doing everything by hand.

anyway my problem is that when I go to the arcade and click on admin, then try to change the options it says "Invalid action"

I try to add a game, but it just comes to the main arcade screen again.

looks like it would be an awesome mod if I could get it working

I have RC2 just in case you need to know that

Okay i am having the same problem as this person.

So when i added snake.swf and went into the games admin panel and clicked on snake.swf

it came up with this error
Fatal error: Cannot instantiate non-existent class: swfheader in /public_html/smf1/Sources/Arcade.php on line 322

what's the problem with this?
Title: Re: SMF Arcade
Post by: DoW Kid Rock on December 19, 2004, 01:42:30 AM
did you install the beta5b?

I had that same problem and it was fixed with b.  also did you run the sql query to add the tables to your database?
Title: Re: SMF Arcade
Post by: _complex on December 19, 2004, 02:18:41 AM
Quote from: DoW Kid Rock on December 19, 2004, 01:42:30 AM
did you install the beta5b?

I had that same problem and it was fixed with b. also did you run the sql query to add the tables to your database?

yes i did install betab and i just ran the install.php function that came with the mod...
Title: Re: SMF Arcade
Post by: TodaysXt on December 19, 2004, 03:32:16 AM
Quote from: nviceversa on December 19, 2004, 01:37:25 AM
Quote from: DoW Kid Rock on December 15, 2004, 12:17:52 PM
I tried the auto install, but had to unzip the folder first then zip the contents. then I installed from the package manager and it said it worked, but ended up doing everything by hand.

anyway my problem is that when I go to the arcade and click on admin, then try to change the options it says "Invalid action"

I try to add a game, but it just comes to the main arcade screen again.

looks like it would be an awesome mod if I could get it working

I have RC2 just in case you need to know that

Okay i am having the same problem as this person.

So when i added snake.swf and went into the games admin panel and clicked on snake.swf

it came up with this error
Fatal error: Cannot instantiate non-existent class: swfheader in /public_html/smf1/Sources/Arcade.php on line 322

what's the problem with this?

I don't know if my Arcade.php is the same as yours?  What do you have on line 322 of that file?

Anyway it might have to do with this .. .
include 'swfheader.php';
I think it goes in the root of your smf dir. CHMOD to 777.
Try that. 
Title: Re: SMF Arcade
Post by: _complex on December 19, 2004, 03:43:05 AM
Lol thanks^ forgot to upload that file  ;D
Title: Re: SMF Arcade
Post by: TodaysXt on December 19, 2004, 12:03:04 PM
Quote from: nviceversa on December 19, 2004, 03:43:05 AM
Lol thanks^ forgot to upload that file  ;D

No Problem, I hope that's all it was.
I'm trying to get this ready and give it to the board as a Christmas present.  Games for everyone.
Merry Christmas
Xt.
Title: Re: SMF Arcade
Post by: diplomat. on December 19, 2004, 09:30:13 PM
im having a few errors
i can get to the arcade section, but at the very top it has this error


Notice: Undefined index: install in /var/www/html/forums/Sources/Arcade.php on line 35


and between the Arcade panel and the games table, has these errors

Notice: Undefined variable: i in /var/www/html/forums/Themes/default/Arcade.template.php on line 105
Notice: Undefined variable: i in /var/www/html/forums/Themes/default/Arcade.template.php on line 107
Notice: Undefined variable: i in /var/www/html/forums/Themes/default/Arcade.template.php on line 108
Notice: Undefined variable: i in /var/www/html/forums/Themes/default/Arcade.template.php on line 110


:-\
Title: Re: SMF Arcade
Post by: amiga on December 19, 2004, 10:39:20 PM
Hello!

In the admin , when i clic on "arcade setting"  (index.php?action=arcade;do=admin;sub=settings)...all i have is the message: invalid action

what can i do?

:-*
Title: Re: SMF Arcade
Post by: diplomat. on December 19, 2004, 10:43:21 PM
yeah i have that and these also


Notice: Undefined index: sub_action in /var/www/html/forums/Themes/BlueChill/Arcade.template.php on line 185
Notice: Undefined index: sub_action in /var/www/html/forums/Themes/BlueChill/Arcade.template.php on line 236
Notice: Undefined index: sub_action in /var/www/html/forums/Themes/BlueChill/Arcade.template.php on line 246
Notice: Undefined index: sub_action in /var/www/html/forums/Themes/BlueChill/Arcade.template.php on line 249
Notice: Undefined index: sub_action in /var/www/html/forums/Themes/BlueChill/Arcade.template.php on line 295
Title: Re: SMF Arcade
Post by: niko on December 20, 2004, 09:28:44 AM
Settings are not yet changable but...

Notices shows because i have missing some isset() checks but you can set to not display them...
i will fix these to next version...
Title: Re: SMF Arcade
Post by: diplomat. on December 20, 2004, 10:34:14 AM
how do i set to not display them because i turned off that display_errors thing in php.ini but that doesnt turn those Notices off.
Title: Re: SMF Arcade
Post by: niko on December 21, 2004, 06:34:36 AM
error_reporting(E_NONE); i think
Title: Re: SMF Arcade
Post by: 4dd1ct on December 21, 2004, 07:02:11 AM
I got a game to work by adding it using phpmadmin, however no matter where I enter the $games= array into my arcade.php no new games show up. Am I doing something stupid here?
Title: Re: SMF Arcade
Post by: Pause on December 21, 2004, 08:03:20 AM
Quote from: 4dd1ct on December 21, 2004, 07:02:11 AM
I got a game to work by adding it using phpmadmin, however no matter where I enter the $games= array into my arcade.php no new games show up. Am I doing something stupid here?
try going to index.php?action=arcade&do=admin and installing that way - that should do it.
Title: Re: SMF Arcade
Post by: 4dd1ct on December 21, 2004, 08:24:31 AM
Thanks for the reply.

Unfortunately,  that's my second problem - if I visit the admin section I just get a blank-ish forum page with my username at the top. I am logged into smf as admin but that doesn't seem to change anything. I've tried reinstalling the mod and with different versions but that doesn't seem to make any difference.

As I say, seems to be installed ok though because if I add games manually they work. :(
Title: Re: SMF Arcade
Post by: Pause on December 21, 2004, 10:00:07 AM
Quote from: 4dd1ct on December 21, 2004, 08:24:31 AM
Thanks for the reply.

Unfortunately,  that's my second problem - if I visit the admin section I just get a blank-ish forum page with my username at the top. I am logged into smf as admin but that doesn't seem to change anything. I've tried reinstalling the mod and with different versions but that doesn't seem to make any difference.

As I say, seems to be installed ok though because if I add games manually they work. :(
Which forum version are you using?
Title: Re: SMF Arcade
Post by: 4dd1ct on December 21, 2004, 10:09:26 AM
1.0 RC2.
Title: Re: SMF Arcade
Post by: Pause on December 21, 2004, 10:13:00 AM
Quote from: 4dd1ct on December 21, 2004, 10:09:26 AM
1.0 RC2.
Okay....are you also using the default template?
Title: Re: SMF Arcade
Post by: DoW Kid Rock on December 21, 2004, 10:15:37 AM
how I install games are uploading them to the games folder then go into the arcade then click on the admin link.  then click on games......not install a new game.  from there you can click on any of the games uploaded and add in the information for it
Title: Re: SMF Arcade
Post by: 4dd1ct on December 21, 2004, 10:17:15 AM
Do you mean the default SMF template/theme? I'm using the helios theme if that's what you meant.

4dd
Title: Re: SMF Arcade
Post by: Pause on December 21, 2004, 10:20:32 AM
Quote from: 4dd1ct on December 21, 2004, 10:17:15 AM
Do you mean the default SMF template/theme? I'm using the helios theme if that's what you meant.

4dd
Try switching to the default template and seeing if it works using that then (as most modifications only modify the default SMF theme).
Title: Re: SMF Arcade
Post by: 4dd1ct on December 21, 2004, 10:22:46 AM
Yeh, just tried that - I got a missing template error, so I uploaded arcade.template.php from my custom theme directory into the default category, switched themes and still have exactly the same problem.

Humph :(

Thanks for your help btw Mattitude  :)
Title: Re: SMF Arcade
Post by: DoW Kid Rock on December 21, 2004, 10:23:59 AM
did you upload the arcade.template.php to your template directory you are using?  sorry if it is a dumb question, but am a tech and we are trained to ask dumb questions ;D
Title: Re: SMF Arcade
Post by: 4dd1ct on December 21, 2004, 10:27:58 AM
Yeh I have the templates and everything done correctly I think. Unless it might be a permissions problem?

I hadn't actually played any games yet, however I let duckhunt run through to see if highscores were working. Now if I got to index.php?action=arcade&do=admin I get

Arcade

4dd1ct    4dd1ct1000Duck HuntToday at 03:26:39 PM (1)

Strange...
Title: Re: SMF Arcade
Post by: erzon on December 21, 2004, 10:36:33 AM
how can i install games in my forum? and how many games are availble?
Title: Re: SMF Arcade
Post by: DoW Kid Rock on December 21, 2004, 10:36:56 AM
if you let it run through it will submit your score as 0
Title: Re: SMF Arcade
Post by: DoW Kid Rock on December 21, 2004, 10:37:29 AM
Quote from: DoW Kid Rock on December 21, 2004, 10:15:37 AM
how I install games are uploading them to the games folder then go into the arcade then click on the admin link.  then click on games......not install a new game.  from there you can click on any of the games uploaded and add in the information for it

here is the post I made a little while ago

Title: Re: SMF Arcade
Post by: 4dd1ct on December 21, 2004, 10:39:58 AM
Quote from: DoW Kid Rock on December 21, 2004, 10:36:56 AM
if you let it run through it will submit your score as 0

I shot one duck just for luck ;)
Title: Re: SMF Arcade
Post by: DoW Kid Rock on December 21, 2004, 10:44:41 AM
that does sound weird then.  will have to leave that to the author of the game to answer that one then
Title: Re: SMF Arcade
Post by: diplomat. on December 21, 2004, 12:27:54 PM
i just now started to get an error when submitting a comment:


Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/html/forums/Sources/Arcade.php on line 101


it just started this morning, didnt happen last night :-\
Title: Re: SMF Arcade
Post by: Pause on December 22, 2004, 08:07:05 AM
Quote from: 4dd1ct on December 21, 2004, 10:22:46 AM
Thanks for your help btw Mattitude  :)
No Problem, that's what I'm here for  ;)

That was all I could think of right now as I don't have access to my own SMF installation to figure it out (reason in my sig), so hopefully somebody else should be able to help  ;)
Title: Re: SMF Arcade
Post by: crazystu on December 23, 2004, 04:13:17 PM
finally a update:
eastereggs is fixed so if it wasn't submitting scores, it is now (zip updated) :)

10 New games for christmas:
air_sk8ing - sports
starfall - other
militaryhg - other
militarysnow - other
amira - puzzel
newtons_revenge - puzzel
discoracer - racing
flasteroids - clones
frogger2 - classic
donkeykong - classic

download/view (http://smfgames.com)
Title: Re: SMF Arcade
Post by: Elijah Bliss on December 23, 2004, 11:37:38 PM
Quote from: nesianstyles on December 23, 2004, 04:13:17 PM
finally a update:
eastereggs is fixed so if it wasn't submitting scores, it is now (zip updated) :)

10 New games for christmas:
air_sk8ing - sports
starfall - other
militaryhg - other
militarysnow - other
amira - puzzel
newtons_revenge - puzzel
discoracer - racing
flasteroids - clones
frogger2 - classic
donkeykong - classic

download/view (http://smfgames.freelinuxhost.com)

Dude, you're the man for Donkey Kong!
Title: Re: SMF Arcade
Post by: SoaringUSAEagle on December 27, 2004, 03:04:44 PM
I got everything added and uploaded... but not able to play any of the games?  Maybe I did something wrong...

Where are we supposed to find these games once we are done installing?
Title: Re: SMF Arcade
Post by: SoaringUSAEagle on December 27, 2004, 03:44:27 PM
Ok, you are able to play the games... for example... http://www.cheatpogo.com/community/games/snake.swf

After the game is over, I get a page with errors...

Warning: mysql_connect(): Access denied for user: 'cheatpog@localhost' (Using password: YES) in /home/cheatpog/.panel/web/bulletin/bb/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/cheatpog/.panel/web/bulletin/bb/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/cheatpog/.panel/web/bulletin/bb/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database

How am I able to fix the errors, and make a nice little page with the list of games?

This is so confusing with no help file.
Title: Re: SMF Arcade
Post by: johnm on December 28, 2004, 08:25:06 AM
did you install the arcade mod properly?

QuoteWarning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/cheatpog/.panel/web/bulletin/bb/db/mysql4.php on line 331
phpBB : Critical Error

were you using phpbb in the same folder or the same db before you installed smf?
Title: Re: SMF Arcade
Post by: profile on December 29, 2004, 07:14:20 PM
does this mod work with the mambo bridge?
Title: Re: SMF Arcade
Post by: profile on December 30, 2004, 03:53:27 PM
I used the package manager and then got this error:

2: smf_main(/homepages/1x/dxxxx/htdocs/pxxx/forum/Sources/Arcade.php): failed to open stream: No such file or directory

when going to index.php?action=arcade;install=1

Forum was newly installed with no other mods.

What didn't I do correctly?  TIA
Title: Re: SMF Arcade
Post by: johnm on December 30, 2004, 05:14:34 PM
you still need to upload all of the files via ftp to the appropriate directories

when i installed arcade 5b it didnt upload any files for some reason
Title: Re: SMF Arcade
Post by: profile on December 30, 2004, 06:54:50 PM
Quote from: johnm on December 30, 2004, 05:14:34 PM
you still need to upload all of the files via ftp to the appropriate directories

when i installed arcade 5b it didnt upload any files for some reason

Now I'm getting:
2: Invalid argument supplied for foreach()

Maybe a little too anxious trying to get arcade and SMF to work.   :-[
Title: Re: SMF Arcade
Post by: niko on December 30, 2004, 07:43:27 PM
Quote from: profile on December 30, 2004, 06:54:50 PM
Quote from: johnm on December 30, 2004, 05:14:34 PM
you still need to upload all of the files via ftp to the appropriate directories

when i installed arcade 5b it didnt upload any files for some reason

Now I'm getting:
2: Invalid argument supplied for foreach()

Maybe a little too anxious trying to get arcade and SMF to work.   :-[

2: Invalid argument supplied for foreach()
File: /users/pahajoki/Themes/default/Arcade.template.php (eval?)
Line: 23
if its that its fixed in Beta 6 (Checks for empty arrays are missing)

If its on Beta 6 CVS it fixed only on my local copy (line: 254)
Title: Re: SMF Arcade
Post by: johnm on December 31, 2004, 07:23:14 AM
Quote from: profile on December 30, 2004, 06:54:50 PM
Quote from: johnm on December 30, 2004, 05:14:34 PM
you still need to upload all of the files via ftp to the appropriate directories

when i installed arcade 5b it didnt upload any files for some reason

Now I'm getting:
2: Invalid argument supplied for foreach()

Maybe a little too anxious trying to get arcade and SMF to work. :-[


maybee.........

edit

ive installed 5b on a fresh install (smf1.0Final) and it doesnt seem to work

get the same error as profile on the arcade panel


Title: Re: SMF Arcade
Post by: diplomat. on January 01, 2005, 03:04:18 PM
after i installed 1.0 final, my arcade it like froze. i can still play games and it still logs scores, but i cant install new games or add comments or any of that....and i just got my arcade template to just the way i want it :'(
Title: Re: SMF Arcade
Post by: profile on January 01, 2005, 03:18:41 PM
Quote from: Diplomat on January 01, 2005, 03:04:18 PM
after i installed 1.0 final, my arcade it like froze. i can still play games and it still logs scores, but i cant install new games or add comments or any of that....and i just got my arcade template to just the way i want it :'(

unfortunately that's what happens when using beta script and in my case, since i'm new to smf and php, i'll just pass on the arcade for now until it's a stable release.  a friend recommended phpbb, but even that looks greek to me.
Title: Re: SMF Arcade
Post by: KuraWeb on January 01, 2005, 07:34:23 PM
Hola, yo tengo muchos problemas, tengo instalada una version del mod, pero se me hace dificil con los juegos que tengo instalados y ademas no me manda los score y desconfiguracion del tamaño del flash, ojala alguien me pueda ayudar.

Titanium Forums have a excelent arcade.

Help.

traslate by a machine xD

Hi, I have many problems, have a version of the mod installed, but it, makes me to him difficult with the games that I have installed and you prop it does not send me the score and desconfiguracion of the size of the flash, ojala someone can help.
Title: Re: SMF Arcade
Post by: johnm on January 02, 2005, 05:25:13 AM
Quote from: Diplomat on January 01, 2005, 03:04:18 PM
after i installed 1.0 final, my arcade it like froze. i can still play games and it still logs scores, but i cant install new games or add comments or any of that....and i just got my arcade template to just the way i want it :'(

i upgraded to smf1.0 while the arcade(5B) was installed all i had to do was edit index.php, index.template.php and cause there is a "bug" comment out a line in arcade.php
see the posts on nikos site or check the site below
you can see at arcade.cf-uk.net (http://arcade.cf-uk.net)

mind you i havent tried to install it on a fresh copy of smf shouldnt make much differance i guess ???

as for adding new games you could add them via myphpadmin thats how i used to do it when i was using v4.

i havent tried to add any more games to arcade as ive got 50 ish.



Title: Re: SMF Arcade
Post by: niko on January 02, 2005, 05:35:41 AM
For Game install you need to find

                db_query($sql);
and replace it with
                db_query($sql,__FILE__,__LINE__);

There will be soon Beta 5.5 With many fixes after that Beta 6 will be hopefully last Beta version
5.5 is because it lot's of changes compared to Beta5b but it still hasnt all features that are planned for Beta 6
Title: Re: SMF Arcade
Post by: niko on January 02, 2005, 07:30:53 AM
Beta 5.5 Is now added. Please report all bugs
Title: Re: SMF Arcade
Post by: johnm on January 02, 2005, 08:51:10 AM
now im getting this error(arcade5.5b)
Warning: Invalid argument supplied for foreach() in /home/cfukjm/public_html/games/forum/Sources/Load.php(1036) : eval()'d code on line 50


http://games.cf-uk.net/forum/index.php?action=arcade;do=admin

theres more now......these are all displayed in the arcade panel


Notice: Undefined index: arcade_28 in /home/cfukjm/public_html/games/forum/Sources/Load.php(1036) : eval()'d code on line 15
 




Notice: Undefined index: arcade_76 in /home/cfukjm/public_html/games/forum/Sources/Load.php(1036) : eval()'d code on line 48
 

Warning: Invalid argument supplied for foreach() in /home/cfukjm/public_html/games/forum/Sources/Load.php(1036) : eval()'d code on line 50


An Error Has Occurred!
2: Invalid argument supplied for foreach() 
Title: Re: SMF Arcade
Post by: niko on January 02, 2005, 09:15:15 AM
make sure that files are updated at least language file is missing
Title: Re: SMF Arcade
Post by: johnm on January 02, 2005, 09:26:56 AM
now im getting just this error

Warning: Invalid argument supplied for foreach() in /home/cfukjm/public_html/games/forum/Sources/Load.php(1036) : eval()'d code on line 50


An Error Has Occurred!
2: Invalid argument supplied for foreach() 

all of the files from the arcade5.5 package have been uploaded and i have updated the language files
Title: Re: SMF Arcade
Post by: niko on January 02, 2005, 09:45:59 AM
Fixed package out in few minutes (getid3.php had one space after ?> causing erors)
Fixed also 2: Invalid argument supplied for foreach()  if games not installed

My hd broke caused this mess i had to recive a little older version from cvs
Title: Re: SMF Arcade
Post by: johnm on January 02, 2005, 09:54:17 AM
works a treat!!

Title: Re: SMF Arcade
Post by: diplomat. on January 02, 2005, 11:20:06 AM
cool version 5b works smooth fwith 1.0 for me now. think i will stick with it til it becomes final. i got one question tho. is it possible to have all of my games displayed on one page? if not thats cool
Title: Re: SMF Arcade
Post by: profile on January 02, 2005, 02:57:44 PM
error message using package manager


2: file(/homepages/12/dxxx/htdocs/pxxx/forum/Packages/temp/arcade.xml): failed to open stream: No such file or directory
File: /homepages/12/dxxx/htdocs/pxxx/forum/Sources/Packages.php
Line: 406
Title: Re: SMF Arcade
Post by: KuraWeb on January 02, 2005, 07:35:59 PM
Instale la Version 5.5 Todo bien me muestra los puntajes y todo, pero cuando hago click para jugar me carga la pagina pero no la tabla con el juego.

www.rinconotaku.com/index.php?action=arcade

I'm installs the Version 5.5 All good shows me the score and everything, but when I do click to play it loads the page but not the table with the game.

www.rinconotaku.com/index.php?action=arcade

Which is the problem?
Title: Re: SMF Arcade
Post by: johnm on January 03, 2005, 11:28:32 AM
im having the same problem as KuraWeb
but it will work in fire fox any ideas?

are you supposed to remove the html code from it now, as ive noticed that the height and width has changed on all of my games

thanks
Title: Re: SMF Arcade
Post by: Douglas on January 03, 2005, 02:29:53 PM
Trying to add a game in for the very first time.

2: arcade(swfheader.php): failed to open stream: No such file or directory
Title: Re: SMF Arcade
Post by: KuraWeb on January 03, 2005, 04:02:05 PM
Hola johnm , no entendi si pudiste ono arreglar el problema y de donde hay que sacar al codigo html.

Espero una Posible solusion (pienso que es el arcade.template)


Hi johnm, not understand if you could or not arrange the problem and where from it is necessary to extract  the code html.


I wait for a Possible solusion (I think that it is the arcade.template)
Title: Re: SMF Arcade
Post by: Juggler on January 03, 2005, 05:43:40 PM
OK, I've read through the entire thread and I have yet to spot a definitive guide on how to install the mod and then how to install the games.

There's lots of stuff about SQL queries and so on but to a complete Noob it may as well be written in Ancient Greek.

Is there a easily readable guide out there? Thanx
Title: Re: SMF Arcade
Post by: Douglas on January 03, 2005, 05:54:29 PM
The games themselves are easy as heck to install, once you get the mod working right.  Once I get the mod working right, I can type up clear instructions on what you need to do.  :)
Title: Re: SMF Arcade
Post by: Juggler on January 03, 2005, 06:55:44 PM
Fantastic.

Again the support from people on this board is fantastic and SO friendly. I only set my SMF one up following a major screw up with my phpbb one and I haven't looked back since.

I await your guide with baited breath.
Title: Re: SMF Arcade
Post by: JayBachatero on January 04, 2005, 01:28:02 AM
i upgraded to 5.5 but i cant get the games to load.  >:( >:(  any reason why this is happening?
Title: Re: SMF Arcade
Post by: johnm on January 04, 2005, 06:01:11 AM
what i found when installing this mod all it did was change index.php and index.template.php

you then have to upload the files to your sources directory and default theme directory
you also have to upload the getid3 folder to your forum directory.

the only thing that isnt clear to me is what you need to enter when installing games
as in version 5.5? im using the <object> html code at the moment and i know that niko was/is planning to get rid of this.

but at the moment none of the games on my site will work in internet explorer i have tried this on several pc's. but they will work in firefox.

is any one else having these problems?
Title: Re: SMF Arcade
Post by: finnhack on January 04, 2005, 06:30:55 AM
Quote from: johnm on January 04, 2005, 06:01:11 AM
but at the moment none of the games on my site will work in internet explorer i have tried this on several pc's. but they will work in firefox.

Could this have anything to do with 'param name' changed to 'param id' ?

Looking at your sites html source and comparing it to mine, I found very few differences.

Your html source for loading the swf:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="600" height="430" id="amira.swf" align="middle">
<param id="allowScriptAccess" value="sameDomain">
<param id="movie" value="Games/amira.swf">
<param id="quality" value="high">
<param id="bgcolor" value="">
<embed src="Games/amira.swf" quality="high" bgcolor="" width="600" height="430" id="amira.swf"
align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>


And this is mine from the earlier version of the Arcade:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="600" height="430" id="amira.swf" align="middle">
    <param name="allowScriptAccess" value="sameDomain">
      <param name="movie" value="Games/amira.swf">
      <param name="quality" value="high">
      <param name="bgcolor" value="#000000">
      <embed src="Games/amira.swf" quality="high" bgcolor="#000000" width="600" height="430" name="amira.swf"
align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>


I also notcied a missing bgcolor in your code, but havent tried how this could possible affect anything.
Title: Re: SMF Arcade
Post by: johnm on January 04, 2005, 06:48:54 AM
that could be it but it used to work in 5.0 as i had extra info in that html box (download link for said game) ill change it and see if it works.

is any one still having problems updating games? as i can no longer edit games from the arcade panel i get "2: Missing argument 2 for db_query() " -checked the error logs and its actualy causing an error in subs.php?
Title: Re: SMF Arcade
Post by: johnm on January 04, 2005, 07:58:22 AM
Quote from: finnhack on January 04, 2005, 06:30:55 AM
Quote from: johnm on January 04, 2005, 06:01:11 AM
but at the moment none of the games on my site will work in internet explorer i have tried this on several pc's. but they will work in firefox.

Could this have anything to do with 'param name' changed to 'param id' ?

Looking at your sites html source and comparing it to mine, I found very few differences.

Your html source for loading the swf:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="600" height="430" id="amira.swf" align="middle">
<param id="allowScriptAccess" value="sameDomain">
<param id="movie" value="Games/amira.swf">
<param id="quality" value="high">
<param id="bgcolor" value="">
<embed src="Games/amira.swf" quality="high" bgcolor="" width="600" height="430" id="amira.swf"
align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>


And this is mine from the earlier version of the Arcade:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="600" height="430" id="amira.swf" align="middle">
    <param name="allowScriptAccess" value="sameDomain">
      <param name="movie" value="Games/amira.swf">
      <param name="quality" value="high">
      <param name="bgcolor" value="#000000">
      <embed src="Games/amira.swf" quality="high" bgcolor="#000000" width="600" height="430" name="amira.swf"
align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>


I also notcied a missing bgcolor in your code, but havent tried how this could possible affect anything.



tried this and it doesnt make any differance!
Title: Re: SMF Arcade
Post by: johnm on January 04, 2005, 09:10:51 AM
thanks finnhack after looking through the arcade files i found this in arcade.php

function fhtml($file, $width, $height, $bgcolor)
{
    $html = '
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle">
<param id="allowScriptAccess" value="sameDomain">
<param id="movie" value="Games/' . $file . '">
<param id="quality" value="high">
<param id="bgcolor" value="' . $bgcolor . '">
<embed src="Games/' . $file . '" quality="high" bgcolor="' . $bgcolor . '" width="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
';
    return $html;
}


and i relaced with.....

function fhtml($file, $width, $height, $bgcolor)
{
    $html = '
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle">
<param name="allowScriptAccess" value="sameDomain">
<param name="movie" value="Games/' . $file . '">
<param name="quality" value="high">
<param name="bgcolor" value="' . $bgcolor . '">
<embed src="Games/' . $file . '" quality="high" bgcolor="' . $bgcolor . '" width="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
';
    return $html;
}


and it lives!!!

Title: Re: SMF Arcade
Post by: KuraWeb on January 04, 2005, 09:57:31 AM
Hola Remplaza El codigo pero sigue sin funcionar, en el Arcade.Template.

echo '<p align="center">';
echo $context['arcade']['game_html'];
echo "</p>";


echo '<p align="center">';
echo $context['arcade']['game']['html'];
echo "</p>";


En otras partes del template observe que asi ocupaban el codigo,  $context['arcade']['game']['html'];.

   


I replace The code but it continues without working.


In a parts of Arcade.template i see  they were occupying the code,

$context['arcade']['game']['html'];. but  in the Display Game.


echo '<p align="center">';
echo $context['arcade']['game_html'];
echo "</p>";


...

echo '<p align="center">';
echo $context['arcade']['game']['html'];
echo "</p>";


Title: Re: SMF Arcade
Post by: johnm on January 04, 2005, 09:59:48 AM
the code i mentioned is in Arcade.php not in Arcade.template.php

use

function fhtml($file, $width, $height, $bgcolor)
{
    $html = '
   <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle">
   <param name="allowScriptAccess" value="sameDomain">
   <param name="movie" value="Games/' . $file . '">
   <param name="quality" value="high">
   <param name="bgcolor" value="' . $bgcolor . '">
   <embed src="Games/' . $file . '" quality="high" bgcolor="' . $bgcolor . '" width="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
   </object>
   ';
    return $html;
}

Title: Re: SMF Arcade
Post by: KuraWeb on January 04, 2005, 10:06:54 AM
i Replace in arcade.php

The problem are my.

QuoteThis will be not used!
Fill bgcolor, name, description, and so on...
width and height should be auto-detected

i'm have the code html in that's place.
Title: Re: SMF Arcade
Post by: Fanta on January 04, 2005, 10:13:58 AM
Hi,

I need help installing the SMF Arcade. Can anyone give me support?

My MSN is [email protected] if you want to help me that way. :)
Title: Re: SMF Arcade
Post by: johnm on January 04, 2005, 04:01:52 PM
Quote from: KuraWeb on January 04, 2005, 10:06:54 AM
i Replace in arcade.php

The problem are my.

QuoteThis will be not used!
Fill bgcolor, name, description, and so on...
width and height should be auto-detected

i'm have the code html in that's place.

you dont need that code if your using the latest version of arcade wich i think is 5.5b(fixed)
Title: Re: SMF Arcade
Post by: KuraWeb on January 04, 2005, 07:41:20 PM
thanks, Works Ok.

all ok

n_n.

Title: Re: SMF Arcade
Post by: Douglas on January 04, 2005, 11:55:06 PM
Quote from: Douglas on January 03, 2005, 02:29:53 PMTrying to add a game in for the very first time.

2: arcade(swfheader.php): failed to open stream: No such file or directory
Still waiting for an answer on this one.  :)
Title: Re: SMF Arcade
Post by: finnhack on January 05, 2005, 02:54:39 AM
Quote from: Douglas on January 04, 2005, 11:55:06 PM
Quote from: Douglas on January 03, 2005, 02:29:53 PMTrying to add a game in for the very first time.

2: arcade(swfheader.php): failed to open stream: No such file or directory
Still waiting for an answer on this one.  :)

Is it possible that your swfheader.php file is missing or placed in wrong folder? I guess that the swfheader.php should be in the forum root folder.
Title: Re: SMF Arcade
Post by: flapper on January 05, 2005, 06:38:36 AM
Get this pronblem all of a sudden after upgrading to SMF v1.0, when trying to install a game on admin arcade


Notice: Undefined offset: 801 in /home/******/t/mysite/user/htdocs/forum/Sources/Load.php(1036) : eval()'d code on line 461



An Error Has Occurred!
2: Missing argument 2 for db_query() 


only admin can play the games the were there before the upgrade, but i cant install new ones, when my members enter the arcade/game section they get this message when entering the games area.


An Error Has Occurred!
2: Invalid argument supplied for foreach() 


Everything worked fine until the upgrade

Thankyou in advance.
Title: Re: SMF Arcade
Post by: niko on January 05, 2005, 01:16:13 PM
Quote from: Douglas on January 04, 2005, 11:55:06 PM
Quote from: Douglas on January 03, 2005, 02:29:53 PMTrying to add a game in for the very first time.

2: arcade(swfheader.php): failed to open stream: No such file or directory
Still waiting for an answer on this one.  :)

Just remove include 'swfheader.php'; :>

Quote from: flapper on January 05, 2005, 06:38:36 AM
Get this pronblem all of a sudden after upgrading to SMF v1.0, when trying to install a game on admin arcade


Notice: Undefined offset: 801 in /home/******/t/mysite/user/htdocs/forum/Sources/Load.php(1036) : eval()'d code on line 461



An Error Has Occurred!
2: Missing argument 2 for db_query()


only admin can play the games the were there before the upgrade, but i cant install new ones, when my members enter the arcade/game section they get this message when entering the games area.


An Error Has Occurred!
2: Invalid argument supplied for foreach()


Everything worked fine until the upgrade

Thankyou in advance.

Get latest version (Beta 5.5 Fixed)

Quote from: johnm on January 04, 2005, 09:59:48 AM
the code i mentioned is in Arcade.php not in Arcade.template.php

use

function fhtml($file, $width, $height, $bgcolor)
{
$html = '
   <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle">
   <param name="allowScriptAccess" value="sameDomain">
   <param name="movie" value="Games/' . $file . '">
   <param name="quality" value="high">
   <param name="bgcolor" value="' . $bgcolor . '">
   <embed src="Games/' . $file . '" quality="high" bgcolor="' . $bgcolor . '" width="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
   </object>
   ';
return $html;
}



Maybe i should also test with ie, it worked with firefox :)
Title: Re: SMF Arcade
Post by: Douglas on January 05, 2005, 02:51:30 PM
Niko, you need to remove the include swfheader.php in your files, as well, as that's where I got mine.

ALSO, I installed a game, it's taking FOREVER to load up.  Takes a long time to load up on other sites as well.  IE here (which covers approximately 80% of my members, so don't tell me to use a different browser, you'll cause me to lose at least HALF my members that way, lol)
Title: Re: SMF Arcade
Post by: _complex on January 05, 2005, 03:05:02 PM
I have an problem also, with this.. I set up the arcade on a test forum of mine, but when i access Arcade (http://www.so-thuggish.net/smf2//index.php?action=arcade) it doesn't load anything but half a template, and when i downloaded the arcade from here.. the file didn't include a umm arcade.template.. well at least i didn't get it.. SOOoo i think i need the template.......
Title: Re: SMF Arcade
Post by: niko on January 05, 2005, 03:37:10 PM
Quote from: Douglas on January 05, 2005, 02:51:30 PM
Niko, you need to remove the include swfheader.php in your files, as well, as that's where I got mine.

ALSO, I installed a game, it's taking FOREVER to load up.  Takes a long time to load up on other sites as well.  IE here (which covers approximately 80% of my members, so don't tell me to use a different browser, you'll cause me to lose at least HALF my members that way, lol)

I did remove it but as my hd did crash i forgot reremove it

have you fixed fhtml-function?

nviceversa: Thats ood, try reinstalling i try get Beta 5.6 out tomorrow (GTM+2)

Maybe i should get another test sever :>

Title: Re: SMF Arcade
Post by: Douglas on January 05, 2005, 03:58:06 PM
Went in to edit the game settings, made my changes and saved it..

Missing argument 2 for db_query()

I have implemented the fhtml function you suggested.  Game plays, was trying to adjust the width.  Breakout
Title: Re: SMF Arcade
Post by: _complex on January 05, 2005, 04:05:01 PM
Quote from: Niko on January 05, 2005, 03:37:10 PM

nviceversa: Thats ood, try reinstalling i try get Beta 5.6 out tomorrow (GTM+2)

Maybe i should get another test sever :>


I did, i tried about 3 times.. but if your going to release beta 6 or what not tomorrow, ill wait till tomorrow :D
Title: Re: SMF Arcade
Post by: flapper on January 05, 2005, 06:56:13 PM
In the txt file it says

Install instructions:

   1. Change prefix from arcade-x.sql (x is your version)
   2. Apply arcade-x.sql (x is your version) to your database

Sorry im being thick but how do i do this, my arcade was great before i upgraded to smf v1.0

i uploaded the sourse and games dir and now games page is completely clear
Title: Re: SMF Arcade
Post by: trenchteam on January 06, 2005, 12:03:23 AM
Just wondering if there will be a package for this, where its just upload and GO! I keep getting errors tryin to change the files in this thing.
Title: Re: SMF Arcade
Post by: niko on January 06, 2005, 05:00:18 AM
Quote from: trenchteam on January 06, 2005, 12:03:23 AM
Just wondering if there will be a package for this, where its just upload and GO! I keep getting errors tryin to change the files in this thing.

Package in Beta 5.6 should work i try to get Beta 6 out soon... :)
Title: Re: SMF Arcade
Post by: johnm on January 06, 2005, 09:37:51 AM
Quote from: johnm on January 04, 2005, 09:59:48 AM
the code i mentioned is in Arcade.php not in Arcade.template.php

use

function fhtml($file, $width, $height, $bgcolor)
{
$html = '
   <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle">
   <param name="allowScriptAccess" value="sameDomain">
   <param name="movie" value="Games/' . $file . '">
   <param name="quality" value="high">
   <param name="bgcolor" value="' . $bgcolor . '">
   <embed src="Games/' . $file . '" quality="high" bgcolor="' . $bgcolor . '" width="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
   </object>
   ';
return $html;
}



Maybe i should also test with ie, it worked with firefox :)
Quote

yes it had taken a while to realise that you were using that new function, i spotted it and noticed that it was not the html that i had entered in to the html field. but if you use param id instead of param name then it wont work in ie.

Title: Re: SMF Arcade
Post by: Bullcat Webhosting on January 06, 2005, 10:53:50 AM
is there a solution for this ?? High score 1.503e+06  ???
Title: Re: SMF Arcade
Post by: Juggler on January 06, 2005, 06:05:21 PM
OK I think I've got most of this sorted on my test board but I'm a little shaky on how to install the games. It seems all the files have gone up OK and I even managed to run the SQL query to create the tables OK. I've edited the appropriate php files and now I'm stuck as no matter what I do I can't get the games button to show up and I know I've added the code to all the index.template files.

Where do I go from here??

Additional - OK found the Arcade page after typing it in manually. I click on admin and then games but get :-


An Error Has Occurred!
2: Invalid argument supplied for foreach()
Title: Re: SMF Arcade
Post by: Douglas on January 06, 2005, 10:54:08 PM
Click on the Games link and install a couple games.  Make sure your games are in the "Games" folder in your forum directory.
Title: Re: SMF Arcade
Post by: trenchteam on January 07, 2005, 02:51:26 AM
LInks to download these flash games everyone is using?
Title: Re: SMF Arcade
Post by: _complex on January 07, 2005, 04:10:14 AM
Quote from: trenchteam on January 07, 2005, 02:51:26 AM
LInks to download these flash games everyone is using?

Been here (http://smfgames.freelinuxhost.com/)?
Title: Re: SMF Arcade
Post by: trenchteam on January 07, 2005, 04:49:25 AM
bookmarked. thanks. Now Im just going to wait until all the kinks are out of this package. Seems alot of people are having trouble.
Title: Re: SMF Arcade
Post by: Juggler on January 07, 2005, 09:55:05 AM
Not anymore.

I hadn't put any games in the directory hence the error. (Discovered it about 15 minutes after I posted). All is well and working wonderfully, couldn't have wished for better.

Superb mod and it's going to enhance my message board no end.

Advice for anyone thinking about installing this mod, follow the instructions carefully as they do work and are spot on. Don't be worried about editing the index and index.template files as again the instructions are very straight forward.

I've never seen PHP code before but the readme file was very helpful and it's games heaven on my SMF board now.

Just one question. As long as I have the .swf file for the game should I be able to add it in?
Title: Re: SMF Arcade
Post by: johnm on January 07, 2005, 11:33:57 AM
game downloads

here (http://arcade.cf-uk.net/index.php?ind=downloads)
Title: Re: SMF Arcade
Post by: Juggler on January 08, 2005, 06:52:30 AM
Already got all those thanx. I was enquiring about other flash games and as long as I had permission would I only need the .swf file to be able to add it into the board or would it need special coding for the high scores to register?
Title: Re: SMF Arcade
Post by: johnm on January 08, 2005, 11:55:11 AM
Quote from: Juggler on January 08, 2005, 06:52:30 AM
Already got all those thanx. I was enquiring about other flash games and as long as I had permission would I only need the .swf file to be able to add it into the board or would it need special coding for the high scores to register?

well if you manage to get the permission from said companies/individuals to alter their games there are tools around to edit the swf files to get the score function working with the arcade mod see here (http://arcade.cf-uk.net/forum/index.php?board=6.0)

nesianstyles is the person to ask
Title: Re: SMF Arcade
Post by: danking on January 09, 2005, 07:14:43 AM
Hi

When will the release be for a version where you can just install with package manager and that will be it done as I have kept trying and keep getting errors also will the next one work with any template great work guys. ;)
Title: Re: SMF Arcade
Post by: finnhack on January 09, 2005, 04:07:27 PM
Does anyone got an idea how I could show these arcade actions in Who's online? It was quite easy to get it working on "the toplevel" by which I mean adding action=arcade to show as "someone is playing a game" - but when I tried to get it to show which game the user was playing I run into problems.
Title: Re: SMF Arcade
Post by: Elijah Bliss on January 10, 2005, 01:39:00 AM
Quote from: finnhack on January 09, 2005, 04:07:27 PM
Does anyone got an idea how I could show these arcade actions in Who's online? It was quite easy to get it working on "the toplevel" by which I mean adding action=arcade to show as "someone is playing a game" - but when I tried to get it to show which game the user was playing I run into problems.

Go to:
Themes/default/languages/Who.english.php

In Who.english.php
Find:
?>

Add above:
$txt['whoall_arcade'] = 'Playing games in the arcade.';
Title: Re: SMF Arcade
Post by: finnhack on January 10, 2005, 03:14:38 AM
Thanks - that was also the part that I figured out myself - now I wanted to go deeper and show exactly what game the user is playing, for example: 'Playing Frogger in the arcade.' (with link to that game), very much as the way it shows when a user is reading a topic on a board.
Title: Re: SMF Arcade
Post by: Aravot on January 10, 2005, 08:45:46 PM
Hello,

Just installed Arcade beta_5.6 through Package Manager but nothing is showing up, it didn't create or add anything not even game folder to add games. (see pic below)

Package Manager

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Farcade.jpg&hash=e00228af35ae465e71ff7644dadcefda67583b13)
Link to Full Size Pic (http://webpages.charter.net/osipof/smf/arcade.png)

FTP View

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Fftp.jpg&hash=d794d7229610a4774dbe272bc31d91acdbcc64da)
Link to Full Size Pic (http://webpages.charter.net/osipof/smf/ftp.png)

Any "How to help" is appreciated, thanks in advance.
Title: Re: SMF Arcade
Post by: Aravot on January 11, 2005, 01:18:34 AM
anyone?
Title: Re: SMF Arcade
Post by: trenchteam on January 11, 2005, 03:20:36 AM
I wondering the same thing. I uploaded the package. but all there is, is a zip in the ftp folder. Where do you add the games?  MY SQL and everything went smoothly. IM lost now???
Title: Re: SMF Arcade
Post by: trenchteam on January 11, 2005, 03:29:02 AM
Quote from: Aravot on January 11, 2005, 01:18:34 AM
anyone?

Im in the same boat as you my friend. i was excited and downloaded all these games, with no where to put them all! LOL
Title: Re: SMF Arcade
Post by: _complex on January 11, 2005, 03:53:19 AM
did you make a Games folder in the same root of your smf dir?.

then upload the games into that dir.

and everything should work.. or use php myadmin
Title: Re: SMF Arcade
Post by: trenchteam on January 11, 2005, 04:10:58 AM
what do we need phpmyadmin for?  I already added the MYSQL database.... I just tryin to figure out how I can view the games, where the admin center for the games, and where to put the games folder
Title: Re: SMF Arcade
Post by: _complex on January 11, 2005, 04:54:36 AM
The Games/ folder need to go in the root dir of the smf i think.

And for the games you downloaded, just upload the .swf to the Games/ folder. And since my arcade isen't working for me.. im trying to remember what i can when it was..

But you should see an "Admin" link once you access the arcade.. or maybe im not understanding?  :-\
Title: Re: SMF Arcade
Post by: trenchteam on January 11, 2005, 05:01:50 AM
Can you erase the coding up there? safety issue!!!!  THANKS!

oh man! I got it to work! Awesome stuff! YEAH! ;D
Title: Re: SMF Arcade
Post by: Aravot on January 11, 2005, 02:17:00 PM
Quote from: trenchteam on January 11, 2005, 05:01:50 AM
Can you erase the coding up there? safety issue!!!!  THANKS!

oh man! I got it to work! Awesome stuff! YEAH! ;D

Since you got it working, can you help me
Title: Re: SMF Arcade
Post by: _complex on January 11, 2005, 03:43:59 PM
I think you have to add the game folder your self.
Title: Re: SMF Arcade
Post by: trenchteam on January 12, 2005, 12:00:27 AM
You need to add all those folders in the zip manually.  Into the root of your SMF.  then everything works great.

When your done test it using your url.

http://www.whatever.com/index?=arcade   

Then use that URL to link it from your forums....
Title: Re: SMF Arcade
Post by: 1948Pal on January 13, 2005, 10:58:39 PM
Hi
Ok, Im trying out this mod, and so far I have just a few hiars left on my head :), I followed the readme step by step, the package install, and steps 4 through 8 manually, except for the code in the index.template.php for the "games" button, which I didn't want in place before the mod is working. C~reated a "Games" folder in the root of the forum, and uploaded via ftp a game.swf. Everything went fine. Now when I do blah blah/index.php?action=arcade, I get empty tables where the stuff is suppose to be, and of course they're empty and the error log gets filled with pages of undefined index:arcade_28, ...etc. like these


8: Undefined variable: latest
File: /path/to/forum/Sources/Arcade.php
Line: 479

http://www..../index.php?action=arcade 
8: Undefined index: arcade_67
File/path/to/forum /Sources/Arcade.php
Line: 60

http://www....se/index.php?action=arcade 
8: Undefined index: arcade_19
File: /path/to/forum /Sources/Arcade.php
Line: 78

    http://www..../index.php?action=arcade 
8: Undefined index: arcade_28
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 15

http://www..../index.php?action=arcade 
8: Undefined index: arcade_76
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 48

    http://www..../index.php?action=arcade 
8: Undefined index: arcade_27
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 93


Well, you get the idea. This goes for all the defined variables in the language file Modifications.english.php, as if it doesn't recognize it even exists, but it is there.
Is something missing, what can I do to fix?
Thanks to all.
Title: Re: SMF Arcade
Post by: _complex on January 14, 2005, 03:15:28 AM
you uploaded all the files arcade.php to the sources dir? and arcade.template.php to the themes/default dir?..

what's an link to your forum? so that i can see this if you haven't fixed it yet.
Title: Re: SMF Arcade
Post by: johnm on January 14, 2005, 05:50:37 AM
Quote from: 1948Pal on January 13, 2005, 10:58:39 PM
Hi
Ok, Im trying out this mod, and so far I have just a few hiars left on my head :), I followed the readme step by step, the package install, and steps 4 through 8 manually, except for the code in the index.template.php for the "games" button, which I didn't want in place before the mod is working. C~reated a "Games" folder in the root of the forum, and uploaded via ftp a game.swf. Everything went fine. Now when I do blah blah/index.php?action=arcade, I get empty tables where the stuff is suppose to be, and of course they're empty and the error log gets filled with pages of undefined index:arcade_28, ...etc. like these


8: Undefined variable: latest
File: /path/to/forum/Sources/Arcade.php
Line: 479

http://www..../index.php?action=arcade 
8: Undefined index: arcade_67
File/path/to/forum /Sources/Arcade.php
Line: 60

http://www....se/index.php?action=arcade 
8: Undefined index: arcade_19
File: /path/to/forum /Sources/Arcade.php
Line: 78

    http://www..../index.php?action=arcade 
8: Undefined index: arcade_28
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 15

http://www..../index.php?action=arcade 
8: Undefined index: arcade_76
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 48

    http://www..../index.php?action=arcade 
8: Undefined index: arcade_27
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 93


Well, you get the idea. This goes for all the defined variables in the language file Modifications.english.php, as if it doesn't recognize it even exists, but it is there.
Is something missing, what can I do to fix?
Thanks to all.


Have you either uploaded modifications.english.php or edited it to include the arcade strings
make sure it goes in Themes/default/languages
Title: Re: SMF Arcade
Post by: ディン1031 on January 14, 2005, 01:48:57 PM
Quote from: johnm on January 14, 2005, 05:50:37 AM
Quote from: 1948Pal on January 13, 2005, 10:58:39 PM
Hi
Ok, Im trying out this mod, and so far I have just a few hiars left on my head :), I followed the readme step by step, the package install, and steps 4 through 8 manually, except for the code in the index.template.php for the "games" button, which I didn't want in place before the mod is working. C~reated a "Games" folder in the root of the forum, and uploaded via ftp a game.swf. Everything went fine. Now when I do blah blah/index.php?action=arcade, I get empty tables where the stuff is suppose to be, and of course they're empty and the error log gets filled with pages of undefined index:arcade_28, ...etc. like these


8: Undefined variable: latest
File: /path/to/forum/Sources/Arcade.php
Line: 479

http://www..../index.php?action=arcade 
8: Undefined index: arcade_67
File/path/to/forum /Sources/Arcade.php
Line: 60

http://www....se/index.php?action=arcade 
8: Undefined index: arcade_19
File: /path/to/forum /Sources/Arcade.php
Line: 78

    http://www..../index.php?action=arcade 
8: Undefined index: arcade_28
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 15

http://www..../index.php?action=arcade 
8: Undefined index: arcade_76
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 48

    http://www..../index.php?action=arcade 
8: Undefined index: arcade_27
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 93


Well, you get the idea. This goes for all the defined variables in the language file Modifications.english.php, as if it doesn't recognize it even exists, but it is there.
Is something missing, what can I do to fix?
Thanks to all.


Have you either uploaded modifications.english.php or edited it to include the arcade strings
make sure it goes in Themes/default/languages

You must put the new information in all the modification.your language.php file do you have.
In the default theme folder.

-----
The other thing is i corrected all

$score['comment'] == null

to

empty($score['comment'])


necause in the first version a lot of errors are in the errorlog, with the empty version no errors coming into the log.
Title: Re: SMF Arcade
Post by: trenchteam on January 14, 2005, 10:27:01 PM
anyone know of a better version of pacman? this one is hard to control!   :P
Title: Re: SMF Arcade
Post by: crazystu on January 14, 2005, 10:59:32 PM
I have one but it was removed from my site as namco complained to its author. I was thinking of putting it back as I hate that version :D
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 12:20:51 AM
Hi... I am trying to install this mod, but I realy dont understand  :(
I used the package manager,and I dont know how to put a link to the arcade so I used http://gamingalley.webplanethost.com/forum/index.php?action=arcade (http://mysite.com/forum/index.php?action=arcade) to enter, and I get this message error:
Table 'maufon_smf1.smf_games_high' doesn't exist
File: /home/maufon/public_html/forum/Sources/Arcade.php
Line: 458

I dont know alot about code.....  :'(
Title: Re: SMF Arcade
Post by: _complex on January 15, 2005, 01:48:57 AM
You didn't run the arcade.sql file.
Title: Re: SMF Arcade
Post by: trenchteam on January 15, 2005, 03:04:49 AM
Quote from: nesianstyles on January 14, 2005, 10:59:32 PM
I have one but it was removed from my site as namco complained to its author. I was thinking of putting it back as I hate that version :D

let me know if i can get a copy!
Title: Re: SMF Arcade
Post by: Elijah Bliss on January 15, 2005, 03:19:04 AM
Quote from: trenchteam on January 15, 2005, 03:04:49 AM
Quote from: nesianstyles on January 14, 2005, 10:59:32 PM
I have one but it was removed from my site as namco complained to its author. I was thinking of putting it back as I hate that version :D

let me know if i can get a copy!

I second that. :D
Title: Re: SMF Arcade
Post by: ディン1031 on January 15, 2005, 04:15:34 AM
This is the german translation for the Arcarde Mod :).

You must add this at the end of the "Theme/default/Modification.german.php" and Before the "?>" ;)

(The Translator where MellowB a Admin of my Forum :D)

------
Dies ist die deutsche Übersetzung des Arcarde Mods.

Du must die Codepart an das Ende der Datei "Theme/default/Modification.german.php" ab vor den "?>" ;).

(Übersetzter war MellowB ein Admin von meinen Forum :D)


// Arcade
$txt['arcade_0'] = "Vielen dank fürs Spielen!<br />Dein Punktestand wurde zur Highscore liste hinzugefügt";
$txt['arcade_1'] = "Punktestand";
$txt['arcade_2'] = "Highscores anschauen";
$txt['arcade_3'] = "Nochmal Spielen";
$txt['arcade_4'] = "oder vieleicht ";
$txt['arcade_5'] = "Etwas anderes Spielen";
$txt['arcade_6'] = "Persöhnliche bestleistung";
$txt['arcade_7'] = "Champion";
$txt['arcade_8'] = "Es tut uns leid aber Gäste können keine Punktestände übermitteln. Bitte erst Registrieren";
$txt['arcade_9'] = "Zurück zur Spieleliste";
$txt['arcade_10'] = "Dieses Spiel Spielen";
$txt['arcade_11'] = "etwas anderes";
$txt['arcade_12'] = "Top 10 Spieler für";
$txt['arcade_13'] = "Position";
$txt['arcade_14'] = "Mitglied";
$txt['arcade_15'] = "Zeit";
$txt['arcade_16'] = "Spiel";
$txt['arcade_17'] = "Arcade";
$txt['arcade_18'] = "Spielen";
$txt['arcade_19'] = "Admin";
$txt['arcade_20'] = "Highscores";
$txt['arcade_21'] = "Update";
$txt['arcade_22'] = "Kommentar wurde hinzugefügt";
$txt['arcade_23'] = "Kommentar";
$txt['arcade_24'] = "Übermitteln";
$txt['arcade_25'] = "Kein Kommentar";
$txt['arcade_26'] = "Keine Highscores gespeichert";
$txt['arcade_27'] = "Spiele";
$txt['arcade_28'] = "Arcade panel";
$txt['arcade_29'] = "Caterogy";
$txt['arcade_30'] = "Zeige alle Spiele";
$txt['arcade_31'] = "Instlliere ein neues Spiel";
$txt['arcade_32'] = "Spiel Editieren";
$txt['arcade_33'] = "Willkommen zum Admin bereich!<br />Bitte wähle die aktion vom 'Arcade Panel'";
$txt['arcade_34'] = "Willkommen zum Admin bereich!";
$txt['arcade_35'] = "Arcade einstellungen";
$txt['arcade_36'] = "SQL Queries erfolgreich ausgeführt (WENN du den richtigen Typ eingestellt hast)";
$txt['arcade_37'] = "Entfernen";
$txt['arcade_38'] = "Interner Name";
$txt['arcade_39'] = "Name";
$txt['arcade_40'] = "HTML-code (nicht mehr benutzt)";
$txt['arcade_41'] = "Beschreibung";
$txt['arcade_42'] = "Normale sortierung";
$txt['arcade_43'] = "Rückwärts sortierung";
$txt['arcade_44'] = "Punkte";
$txt['arcade_45'] = "Breite";
$txt['arcade_46'] = "Höhe";
$txt['arcade_47'] = "Typ";
$txt['arcade_48'] = "Flash";// DO NOT TRANSLATE or CHANGE
$txt['arcade_49'] = "Java"; // DO NOT TRANSLATE or CHANGE
$txt['arcade_51'] = "Übermitteln";
$txt['arcade_52'] = "Datei";
$txt['arcade_53'] = "Thumbnail";
$txt['arcade_54'] = "Caterogy";
$txt['arcade_55'] = "Änderungen gespeichert!";
$txt['arcade_56'] = "Hallo, "; // Hallo, user
$txt['arcade_57'] = "Und Willkommen zum Arcade!";
$txt['arcade_58'] = "Letzte Punkte";
$txt['arcade_59'] = "Hintergrund Farbe (FLASH)";
$txt['arcade_60'] = "Spiele in die Datenbank eingefügt! Nun kannst du sie Testen";
/* Added 10.12.2004 (Beta 5)*/
/* (name) (61) (score) (62) (game_name) (63) (time)*/
$txt['arcade_61'] = " punktete ";
$txt['arcade_62'] = " bei ";
$txt['arcade_63'] = " am ";
/* Added 11.12.2004 (Beta 5)*/
$txt['arcade_64'] = "Installiert";
$txt['arcade_65'] = "Datei fehlt";
$txt['arcade_66'] = "Nicht Installiert";
$txt['arcade_67'] = "Keine Kategorie";
$txt['arcade_68'] = ".info für einfache installation Speichern (Für sharing)";
/* Beta 5.5 */
$txt['arcade_69'] = "Benutze arcade_sql.php dafür";
$txt['arcade_70'] = "Keine erlaubniss um Arcade Admin zu benutzen";
$txt['arcade_71'] = "Query ist fehlerhaft!";
$txt['arcade_72'] = "Du kannst keine Spiele entfernen die nicht Installiert sind";
$txt['arcade_73'] = "Zurück zur Spiele Liste";
$txt['arcade_74'] = "Es gibt keine Highscores für dieses Spiel";
$txt['arcade_75'] = "Es gibt keine Highscores für dieses Spiel für die ausgewählte Zeitspanne"; // NOT Used
$txt['arcade_76'] = "Willkommen im Arcade!";
$txt['arcade_77'] = "Keine Spiele Installiert";
$txt['comment'] = "o_O";


I hope not that someone else post this ;).
Title: Re: SMF Arcade
Post by: johnm on January 15, 2005, 06:54:10 AM
Quote from: maufonseca on January 15, 2005, 12:20:51 AM
Hi... I am trying to install this mod, but I realy dont understand  :(
I used the package manager,and I dont know how to put a link to the arcade so I used http://gamingalley.webplanethost.com/forum/index.php?action=arcade (http://mysite.com/forum/index.php?action=arcade) to enter, and I get this message error:
Table 'maufon_smf1.smf_games_high' doesn't exist
File: /home/maufon/public_html/forum/Sources/Arcade.php
Line: 458

I dont know alot about code.....  :'(

if tables dont exsist type this in to your url http://gamingalley.webplanethost.com/forum/index.php?action=arcade&do;install=1

install instructions are here (http://arcade.cf-uk.net/index.php?pid=5)

Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 10:39:18 AM
Johnm, I will installing it right now......... but, this work in other themes?
Title: Re: SMF Arcade
Post by: johnm on January 15, 2005, 11:09:09 AM
yep
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 11:15:44 AM
Quote from: CF-UK.NET on January 15, 2005, 06:54:10 AM
Quote from: maufonseca on January 15, 2005, 12:20:51 AM
Hi... I am trying to install this mod, but I realy dont understand  :(
I used the package manager,and I dont know how to put a link to the arcade so I used http://gamingalley.webplanethost.com/forum/index.php?action=arcade (http://mysite.com/forum/index.php?action=arcade) to enter, and I get this message error:
Table 'maufon_smf1.smf_games_high' doesn't exist
File: /home/maufon/public_html/forum/Sources/Arcade.php
Line: 458

I dont know alot about code.....  :'(

if tables dont exsist type this in to your url http://gamingalley.webplanethost.com/forum/index.php?action=arcade&do;install=1

install instructions are here (http://arcade.cf-uk.net/index.php?pid=5)


When I try to enter to http://gamingalley.webplanethost.com/forum/index.php?action=arcade&do;install=1 I get again that message
"Table 'maufon_smf1.smf_games_high' doesn't exist
File: /home/maufon/public_html/forum/Sources/Arcade.php
Line: 458"

(I alredy made all installation modifications)
Title: Re: SMF Arcade
Post by: _complex on January 15, 2005, 12:50:31 PM
If that doesn't work you may have to enter the mysql via Phpmyadmin You can run that via phpmyadmin What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.msg174759;topicseen#msg174759)
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 01:10:06 PM
Quote from: nviceversa on January 15, 2005, 12:50:31 PM
If that doesn't work you may have to enter the mysql via Phpmyadmin You can run that via phpmyadmin What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.msg174759;topicseen#msg174759)
I know what phpmyadmin is, but I dont know what I have to put in the board
Title: Re: SMF Arcade
Post by: crazystu on January 15, 2005, 03:18:10 PM
Quote from: Elijah Bliss on January 15, 2005, 03:19:04 AM
Quote from: trenchteam on January 15, 2005, 03:04:49 AM
Quote from: nesianstyles on January 14, 2005, 10:59:32 PM
I have one but it was removed from my site as namco complained to its author. I was thinking of putting it back as I hate that version :D

let me know if i can get a copy!

I second that. :D
You can now  :) Here (http://smfgames.com/index.php?ind=downloads&op=entry_view&iden=54). I've decided to do this since I hate the other version and Neave stated that everyone did not have to remove Pacman from their sites, only his.
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 04:08:08 PM
Please..... I rely need help with this  :'(
Title: Re: SMF Arcade
Post by: _complex on January 15, 2005, 04:16:08 PM
Quote from: maufonseca on January 15, 2005, 04:08:08 PM
Please..... I rely need help with this :'(
I take it you need to run the upgrade command ..
From What i got from myqsql.txt You need to run this in phpadmin.

In the database your forum is on. And Also be sure to change pahajoki to your forum prefix. So if it's smf_ It would look like so CREATE TABLE `smf_games` (

Tables Structure

Replace pahajoki_ with your own prefix

CREATE TABLE `pahajoki_games` (
  `id` int(11) NOT NULL auto_increment,
  `game` varchar(25) NOT NULL default '',
  `name` varchar(25) NOT NULL default '',
  `html` text NOT NULL,
  `thumb` varchar(255) NOT NULL default '',
  `desc` text NOT NULL,
  `highscore` int(11) NOT NULL default '0',
  `caterogy` int(11) NOT NULL default '0',
  `width` int(11) NOT NULL default '0',
  `height` int(11) NOT NULL default '0',
  `type` int(11) NOT NULL default '0',
  `file` varchar(255) NOT NULL default '',
  `bgcolor` varchar(7) NOT NULL default '#FFFFFF',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;

CREATE TABLE `pahajoki_games_caterogy` (
  `id` int(11) NOT NULL auto_increment,
  `name` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;

CREATE TABLE `pahajoki_games_high` (
  `id` int(11) NOT NULL auto_increment,
  `game` varchar(25) NOT NULL default '',
  `member` int(11) NOT NULL default '0',
  `score` float NOT NULL default '0',
  `stime` bigint(20) NOT NULL default '0',
  `ip` varchar(11) NOT NULL default '',
  `comment` varchar(255) default NULL,
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;

INSERT INTO `pahajoki_games_caterogy` VALUES (1, 'The Classics');
INSERT INTO `pahajoki_games_caterogy` VALUES (2, 'Action & Adventure');
INSERT INTO `pahajoki_games_caterogy` VALUES (3, 'Orginals');
INSERT INTO `pahajoki_games_caterogy` VALUES (4, 'Card game''s');
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 04:27:26 PM
THANK YOU YOU ARE WONDERFUL!!!!!!!

THNK YOU!!!!!!!!!!!!!!  :P :P
AND AGAIN,
THANK YOU!!!!!!!!!!!!!!!  :D :D :D
Title: Re: SMF Arcade
Post by: _complex on January 15, 2005, 04:28:01 PM
No Problem ;D
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 04:30:17 PM
Sorry for disturbing again, but when I go to admin/games in Arcade Panel, I get this error message:
Quote2: Invalid argument supplied for foreach()

(I hate those problems)
Title: Re: SMF Arcade
Post by: _complex on January 15, 2005, 04:43:24 PM
is that all you get?.. does the page load ?... is it blank just with the error displaying...

make sure you edited Themes/Default/Langauges/modifaction.english.php also. and uploaded the correct files.
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 05:11:37 PM
Yeah, the page loads, and I see the menu and all, and there is a block thet says:

An Error Has Occurred!
2: Invalid argument supplied for foreach() 

Also, I dont use the Default theme :(
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 05:25:28 PM
Also, I went to http://gamingalley.webplanethost.com/forum/index.php?action=arcade&do;install=1
and I got thios message:

QuoteQuery is invalid!
Title: Re: SMF Arcade
Post by: diplomat. on January 15, 2005, 06:08:41 PM
http://gamingalley.webplanethost.com/forum/index.php?action=arcade

looks like your arcade is already installed...you just need to install games
Title: Re: SMF Arcade
Post by: trenchteam on January 15, 2005, 06:11:00 PM
Quote from: maufonseca on January 15, 2005, 05:11:37 PM
Yeah, the page loads, and I see the menu and all, and there is a block thet says:

An Error Has Occurred!
2: Invalid argument supplied for foreach() 

Also, I dont use the Default theme :(
shouldn't matter what theme you use.  Add some games to the game folder.
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 06:16:37 PM
Quote from: trenchteam on January 15, 2005, 06:11:00 PM
Quote from: maufonseca on January 15, 2005, 05:11:37 PM
Yeah, the page loads, and I see the menu and all, and there is a block thet says:

An Error Has Occurred!
2: Invalid argument supplied for foreach() 

Also, I dont use the Default theme :(
shouldn't matter what theme you use.  Add some games to the game folder.
I download 1 game, and I get a zip file, I aextracted and I got a file named "games"...... I go to my Arcade page and I click in "Admin in the Arcade Panel. I go to a page thet says:
Welcome to Admin!
Please select action from 'Arcade Panel'
I click on "Games" in the Arcade Panel and I get this error message:
An Error Has Occurred!
2: Invalid argument supplied for foreach() 
And in Arcade settings I get this one:
An Error Has Occurred!
This featrue is not done yet 


Title: Re: SMF Arcade
Post by: _complex on January 15, 2005, 06:34:58 PM
the folder should read Games not games

And make sure the ext. of the game is .SWF
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 06:46:29 PM
Quote from: nviceversa on January 15, 2005, 06:34:58 PM
the folder should read Games not games

And make sure the ext. of the game is .SWF

Yeah, I downloaded a game called DonkeyKong in a zip file. I extracted what I found in the zip file and I got a Folder named "games" inside I got this two files: donkeykong.gif and donkeykong.swf
I upload the folder, but I still get the error
Title: Re: SMF Arcade
Post by: diplomat. on January 15, 2005, 06:54:21 PM
make sure the "G" is capitalized
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 06:58:49 PM
I did it!!!!!! Thank You again!!!!! :D
Title: Re: SMF Arcade
Post by: Fanta on January 16, 2005, 08:49:20 AM
How can I make the arcade members only?
Title: Re: SMF Arcade
Post by: johnm on January 16, 2005, 10:17:52 AM
Quote from: Fanta on January 16, 2005, 08:49:20 AM
How can I make the arcade members only?

i dont think the arcade comes with permission settings so this is one way of doing it

in arcade.template.php find

function template_play(){
global $context,  $scripturl,  $txt,$user_info;
// global $settings, $options, $modSettings

echo '<p align="center">';
echo $context['arcade']['game_html'];
echo "</p>";
}


replace with some thing like
function template_play(){
global $context,  $scripturl,  $txt,$user_info;
// global $settings, $options, $modSettings

echo '<p align="center">';
if ($context['user']['is_guest'])
{
echo '<center><h5>Guests Cant Play games Please <a href="', $scripturl, '?action=login2">Login</a> or <a href="', $scripturl, '?action=register">register</a></h5></center>';
}
else
{
echo $context['arcade']['game_html'];
echo "</p>";
}
}
Title: Re: SMF Arcade
Post by: Fanta on January 16, 2005, 10:25:17 AM
That works! Cheers! ;)
Title: Re: SMF Arcade
Post by: danking on January 16, 2005, 11:09:14 AM
Hi

Im using the xtenchanced theme when will their be  a release when I can install it through mod installer and it will work with the tiniest bit of editing?

Thanks

Dan 8)
Title: Re: SMF Arcade
Post by: Enigma on January 16, 2005, 08:05:11 PM
Where can I get games for the arcade? The site http://arcade.cf-uk.net/index.php is not sending me an activation email.
Title: Re: SMF Arcade
Post by: 1948Pal on January 16, 2005, 08:16:43 PM
Quote from: Enigma on January 16, 2005, 08:05:11 PM
Where can I get games for the arcade? The site http://arcade.cf-uk.net/index.php is not sending me an activation email.
Try this
www.smfgames.freelinuxhost.com
Title: Re: SMF Arcade
Post by: Enigma on January 16, 2005, 08:19:29 PM
I get "page can not be displayed"
Title: Re: SMF Arcade
Post by: 1948Pal on January 16, 2005, 08:23:24 PM
Sorry, try it without the www, but this site will forward you to the one you tried already. When I registered with this site, the email they sent went to my email as "bulk" mail. Perhaps you should check that on your email agent.
Title: Re: SMF Arcade
Post by: Enigma on January 16, 2005, 08:32:27 PM
Quote from: 1948Pal on January 16, 2005, 08:23:24 PM
Sorry, try it without the www, but this site will forward you to the one you tried already. When I registered with this site, the email they sent went to my email as "bulk" mail. Perhaps you should check that on your email agent.

I checked my bulk folder already. I even had it resend the activation emai. Are there any other sites?
Title: Re: SMF Arcade
Post by: diplomat. on January 16, 2005, 09:14:11 PM
maybe you should talk to the admin of that site
http://www.simplemachines.org/community/index.php?action=profile;u=7366
Title: Re: SMF Arcade
Post by: johnm on January 17, 2005, 07:32:53 AM
Quote from: Enigma on January 16, 2005, 08:05:11 PM
Where can I get games for the arcade? The site http://arcade.cf-uk.net/index.php is not sending me an activation email.

your account is now active

Quote from: Enigma on January 16, 2005, 08:32:27 PM
Quote from: 1948Pal on January 16, 2005, 08:23:24 PM
Sorry, try it without the www, but this site will forward you to the one you tried already. When I registered with this site, the email they sent went to my email as "bulk" mail. Perhaps you should check that on your email agent.

I checked my bulk folder already. I even had it resend the activation emai. Are there any other sites?

ive created a test account and the registration worked
i had noticed that my server was down for about 2 hours on sunday prehaps you registered around this time. usually i receive an email every tim a member joins i did not receive an email for enigma

as advertised on the site if you get any problems  email [email protected]
emails are routed to 2 people so there is a good change well get your email
Title: Re: SMF Arcade
Post by: redone on January 17, 2005, 09:35:57 AM
Can someone tell me how to enter the table info into my database? I get the same error about the tables being created and it seems I have to enter it manually.  I have access to phpmyadmin but I don't know how to enter the information!

If anyone could help I would really appreciate it.

:)
Title: Re: SMF Arcade
Post by: Enigma on January 17, 2005, 10:55:02 AM
CF-UK.NET thank you.
Title: Re: SMF Arcade
Post by: redone on January 17, 2005, 10:58:01 AM
Posted there so let's wait and see! Thank you.

:)
Title: Re: SMF Arcade
Post by: redone on January 17, 2005, 01:34:43 PM
Anyone can maybe tell me where I have gone wrong with my Arcade install?

url www.britportal.info

:(
Title: Re: SMF Arcade
Post by: trenchteam on January 17, 2005, 11:47:57 PM
Quote from: redone on January 17, 2005, 09:35:57 AM
Can someone tell me how to enter the table info into my database? I get the same error about the tables being created and it seems I have to enter it manually.  I have access to phpmyadmin but I don't know how to enter the information!

If anyone could help I would really appreciate it.

:)

PHPMYADMIN.

Click the SQL link then upload the SQL file in the Arcade zip.
Title: Re: SMF Arcade
Post by: johnm on January 18, 2005, 08:46:54 AM
Quote from: trenchteam on January 17, 2005, 11:47:57 PM
Quote from: redone on January 17, 2005, 09:35:57 AM
Can someone tell me how to enter the table info into my database? I get the same error about the tables being created and it seems I have to enter it manually. I have access to phpmyadmin but I don't know how to enter the information!

If anyone could help I would really appreciate it.

:)

PHPMYADMIN.

Click the SQL link then upload the SQL file in the Arcade zip.


you have tried using this url? http://mydomain.com/forum/index.php?action=arcade&do;install=1

if you are getting errors when going to the arcade admin panel = have you uploaded any games -you need to upload games before you enter arcade admin
Title: Re: SMF Arcade
Post by: redone on January 18, 2005, 02:30:40 PM
Thanks! John was really helpful and I would like to thank him in public for helping me out.

Your site http://arcade.cf-uk.net/index.php is really helpful.

:D
Title: Re: SMF Arcade
Post by: Champi on January 18, 2005, 08:05:36 PM
i ve installed arcade with smf 1.0.1. look what i get :

http://smf.champi.nl/index.php?action=arcade

how to solve this... with 1.0 i did not get that... i also have put a game inside...
Title: Re: SMF Arcade
Post by: _complex on January 18, 2005, 08:10:32 PM
Did you add the text into Themes/default/languages/Modifications.english.php?
Title: Re: SMF Arcade
Post by: Champi on January 18, 2005, 08:16:39 PM
Thanx... I had to install everything manual... the package manager does not work with 1.0.1. at my site...

i forgot to put  that (Themes/default/languages/Modifications.english.php) there... now it works...  ;D

Does anyone have the same problem with the package manager and 1.0.1.... when this is the wrong topic for it... let me see the correct link..
Title: Re: SMF Arcade
Post by: johnm on January 18, 2005, 09:43:08 PM
Quote from: champi.nl on January 18, 2005, 08:16:39 PM
Thanx... I had to install everything manual... the package manager does not work with 1.0.1. at my site...

i forgot to put  that (Themes/default/languages/Modifications.english.php) there... now it works...  ;D

Does anyone have the same problem with the package manager and 1.0.1.... when this is the wrong topic for it... let me see the correct link..

i will install a test board on my site in a few days to see what i come up with i know that a lot of people have had problems with installing this mod using package manager.

my advice would be to install semi-manually
all you have to do is edit 3 files and instert the mysql file in to my php manual its quite simple if you think about it first and be patient
Title: Re: SMF Arcade
Post by: danking on January 19, 2005, 05:20:57 AM
Hi I this is my site I really would like the arcade on here but am usless when it comes to mysql I am willing to give my hosting details out to someone if they could install it for me as I am willing to trust them please please please can someone do this for me as im quite desperate   :-[
Title: Re: SMF Arcade
Post by: johnm on January 19, 2005, 07:04:41 AM
pm me your admin details and url, ftp information and i may need access to your web control panel for myphp admin i wont have time to do it until later this eve about 10:30gmt
Title: Re: SMF Arcade
Post by: _complex on January 19, 2005, 08:54:54 AM
Quote from: John on January 19, 2005, 07:04:41 AM
pm me your admin details and url, ftp information and i may need access to your web control panel for myphp admin i wont have time to do it until later this eve about 10:30gmt

Hey John, I solved this issue for Danking already.
Title: Re: SMF Arcade
Post by: danking on January 19, 2005, 10:17:38 AM
Complex was a great help to me and did it for me I would like to say thankyou  ;D
Title: Re: SMF Arcade
Post by: johnm on January 19, 2005, 11:24:00 AM
Quote from: .COMplex on January 19, 2005, 08:54:54 AM
Quote from: John on January 19, 2005, 07:04:41 AM
pm me your admin details and url, ftp information and i may need access to your web control panel for myphp admin i wont have time to do it until later this eve about 10:30gmt

Hey John, I solved this issue for Danking already.

nice one

Just a note to everyone dont be affriad to ask for some help im shure theres plenty of people in here that will help you out if you get any problems installing this mod wich can be a bit tricky on times
Title: Re: SMF Arcade
Post by: danking on January 19, 2005, 04:12:49 PM
www.peertopeerchat.tk this is what it looks like sign up and play some games hope this helps if any1 is unsure what it does
Title: Re: SMF Arcade
Post by: mytreo on January 19, 2005, 06:57:40 PM
John, Niko, everybody thanks for a great mod. Here's a couple of images as my contribution lol

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmytreo.net%2Fforum%2Fgames%2Finvaders.gif&hash=6f46b2b67a2e607c67aa3bac1f3e9408ef1b7087) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmytreo.net%2Fforum%2Fgames%2Fmahjong.gif&hash=d66afb6225621a6e8337da011deb7125c329976c) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmytreo.net%2Fforum%2Fgames%2Fsimon.gif&hash=80fc462cc32efbc2f752839ab6b3809f7264b4bf) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmytreo.net%2Fforum%2Fgames%2Ftetris.gif&hash=f9713090292da1e48d9f24661410d18e6dc1e3ea)

1 little problem I spotted - the position of the drop-down box for the game category doesn't save so you have to set it every time you make a change otherwise it reverts back to "No Caterogy" ;)

Best
Chris
Title: Re: SMF Arcade
Post by: profile on January 19, 2005, 11:40:13 PM
the problem is that most people don't see updated information regarding install and manual modification in the mods section, so they're not aware of it.  Well, I for one, wasn't aware of it.  Same goes with the instructions in the package.  What's great about vbulletin mods is that everything is updated in the forum so everyone can refer to it.  that's one thing lacking here with smf.
Title: Re: SMF Arcade
Post by: mytreo on January 20, 2005, 07:01:42 AM
Yes i agree, it can be really confusing around here (especially this thread which has some really out-of-date info in it). Please add your weight to my suggestion for a better process for beta testing mods (http://www.simplemachines.org/community/index.php?topic=24855.0).
Title: Re: SMF Arcade
Post by: Champi on January 20, 2005, 12:09:40 PM
a question... i like this mod, but i want to add more gamez to this mod...

with other gamez (ibproarcade.com by example) it is not possible to submit highscores... when the gamez ends... it goes back to the forum index page in stead of the arcade page...

what files do i have to modify manual to get that done... and which tables do i have to enter with phpmyadmin....? when i have the solution i will try to make also gamepackages for the smf arcade.... (doing what back for smf  :D)

i use 1.0.1. wit smf arcade 5.6..... i saw several solutions but they were for older versions of the arcade mod...   ???

thnx

Title: Re: SMF Arcade
Post by: mytreo on January 20, 2005, 12:20:32 PM
See reply #13 (http://www.simplemachines.org/community/index.php?topic=17447.msg145818#msg145818) and the few replies after that. But as with everything in this thread it may no longer be valid ;)
Title: Re: SMF Arcade
Post by: Champi on January 20, 2005, 01:47:20 PM
i ll give it a try.... thnx for the link....
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fsmf.champi.nl%2FThemes%2Fblack_theme%255B1%255D%255B1%255D%2Fimages%2Fdutch%2Fgames.gif&hash=1819b9a31a0738ea0ea9f7ac4a6cdfb4cbf12bd7)

there are not much gamez buttons by the way....

you ll hear form me... if i have worked it out...

Title: Re: SMF Arcade
Post by: mytreo on January 20, 2005, 01:48:45 PM
Do you know is it just a case of editing an action in the swf file in Flash MX? I could do this too, maybe we can build a good library of games for SMF :)
Title: Re: SMF Arcade
Post by: Champi on January 20, 2005, 01:59:17 PM
i will check it now... and give it a try and then will contact you...  ;)
thats a good idea... i have my smf site at smf.champi.nl... perhaps we can put them there... more games are more fun for everyone...

do you mean reply 24 perhaps....
"get fla file somehow and then find game over frame add code to it... find out whats score var and set it to 'score' ex. if score was in high set(score,high) or var score = high; or like that i'm not very good in flash"
Title: Re: SMF Arcade
Post by: mytreo on January 20, 2005, 02:13:46 PM
No in post #13:

on (press){
set (score,high);
set (act,"submit");
set (game,"duckhunt");
set (url,"index.php?action=arcade");
getURL (url, "_self", "POST");
}


I presume that needs to be put as an action in the swf file.
Title: Re: SMF Arcade
Post by: Champi on January 20, 2005, 02:21:17 PM
ok.... i will work on it tonight... you will hear from me...  ;)
Title: Re: SMF Arcade
Post by: johnm on January 20, 2005, 07:49:05 PM
Just be aware guys that most of the games off ibproarcade are either illegal (been converted without permission) or they have permission to host the games on their site but most of those games wont register the score.

if some one stumbles on your site and sees you have converted their game(s) without consent they can insist on you removing that game and they are within their rights to do so.
you will also need permission to re-distribute the game if you are going to make the modified game available to the public.

if you do manage to convert some new games (with permission) then you could post your new games for the smf arcade community at http://arcade.cf-uk.net (in the download section)

it is worth noting that some companies offer games packages and for a fee they will modify the games to work at your site/forums. if some of you out there have a large member base then prehaps you could put a donate button on your forums and once you have a sufficent amount you could pay for some new games. some game companies will also throw in your logo to make it look like your game.

sorry for going on a bit......

John
Title: Re: SMF Arcade
Post by: mytreo on January 20, 2005, 08:01:40 PM
Quote from: John on January 20, 2005, 07:49:05 PM
sorry for going on a bit......

Not at all, great post I wasn't aware of any of that :)
Title: Re: SMF Arcade
Post by: Champi on January 20, 2005, 08:14:25 PM
You are right... but i thougt most games off ibproarcade were correct gamez...

do you have suggestions.. it could not be the only solution that you have to pay for some gamez... or is it?

most of the available 100 arcade games these days are standard... i ve looked everywhere.. but you always have the same games...

at reply 13 in this topic you mentioned trhe way how to put a game to this mod... is that the correct way??

I tried to edit some files ... but they were secured..  ::)
Title: Re: SMF Arcade
Post by: trenchteam on January 21, 2005, 12:41:19 AM
thanks for the new pacman! Much better! ;D
Title: Re: SMF Arcade
Post by: crazystu on January 21, 2005, 02:19:32 AM
Quotethanks for the new pacman! Much better! ;D
No problem.
Quoteif some one stumbles on your site and sees you have converted their game(s) without consent they can insist on you removing that game and they are within their rights to do so.
Their also able to lawsuit you
Title: Re: SMF Arcade
Post by: johnm on January 21, 2005, 04:57:29 AM
i tried to contact some companies to try to arrange some kind of deal

maybe some adveriting (at start/end of game) or something as if you add up most of the possible members/visits to the "collective forums that use the arcade mod" you'd come up with a nice figure

but you guessed it there not interested!

and at arcade.cf-uk.net we wont put up a game with out permission to be modified and redistributed
thats just asking for trouble.

if any one has found a game that can be legally modified post its link at http://arcade.cf-uk.net
and im sure nessianstyles will be happy to convert it to work with this mod, providing he can verify that he/we have permission to do so.

Just out of interest would you all mind posting your link to your forums/sites allong with the hits/visits you get, theres also a link section at our site that you are able to add your own site to.

Thanks and happy hunting
Title: Re: SMF Arcade
Post by: Aravot on January 21, 2005, 01:19:06 PM
Quote from: trenchteam on January 21, 2005, 12:41:19 AM
thanks for the new pacman! Much better! ;D

If I may ask what new pacman?
Title: Re: SMF Arcade
Post by: crazystu on January 21, 2005, 03:25:06 PM
Quote from: Aravot on January 21, 2005, 01:19:06 PM
Quote from: trenchteam on January 21, 2005, 12:41:19 AM
thanks for the new pacman! Much better! ;D

If I may ask what new pacman?

Have a look at Neave Pacman ;)
Title: Re: SMF Arcade
Post by: niko on January 21, 2005, 04:06:27 PM
Yay my site (pahajoki.info) is finally up again.  :) it was beacuse admin is in military service and apache didnt restart when server did crash.

Beta 6 will finally using smf permissons you can expect it this month or early next month
And Package manager should install correctly

Edit:

And mosly likely will have ability to challenge other users
Title: Re: SMF Arcade
Post by: Pause on January 21, 2005, 04:18:03 PM
Quote from: Niko on January 21, 2005, 04:06:27 PM
Yay my site (pahajoki.info) is finally up again.  :) it was beacuse admin is in military service and apache didnt restart when server did crash.

Beta 6 will finally using smf permissons you can expect it this month or early next month
And Package manager should install correctly
Good to hear- keep up the good work  :D
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 22, 2005, 07:11:28 PM
I have a problem when a regular member tries to play games they get the following:

Invalid argument supplied for foreach()

so I checked the error log and it has the following:

2: Invalid argument supplied for foreach()
File: /home/patman/public_html/Themes/default/languages/Modifications.english.php (eval?)
Line: 28


any ideas?
Title: Re: SMF Arcade
Post by: _complex on January 22, 2005, 07:13:19 PM
Make sure you added the coding above the

?>

in languages/Modifications.english.php
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 22, 2005, 07:37:55 PM
yes it was automatically installed that way. just upgraded, so am going to take out the mods and install them again.
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 22, 2005, 08:33:41 PM
ok I re-did the upgrade as I thought it might be my skin that was screwing things up, but I was wrong on that one. 

so here is an update.  for some reason the admin team has no problems using the arcade, but everyone else gets the error that I specified above.

any ideas?
Title: Re: SMF Arcade
Post by: johnm on January 23, 2005, 07:28:53 AM
upgraded the forums? or the arcade mod?

if forums and you have no other mods installed upload modifications.english.php from the arcade package to your server see if that sorts it.

and if you have upgraded the forums double check to see if the language files are current, when i upgraded my ftp client didnt overwrite the language files and i think i had the same problem i ended up deleting the default language folder and uploaded the smf final one

hope this helps

John
Title: Re: SMF Arcade
Post by: midnight68 on January 23, 2005, 10:39:12 AM
Hope some one can shed some light on this for me.

I uploaded and got the mod working on a local server backed up me db then tried uploaded the file to my hosting server.

now all i get is this the following error
CREATE TABLE `smf_games` (
id int( 11 ) NOT NULL AUTO_INCREMENT ,
game varchar( 25 ) NOT NULL default '',
name varchar( 25 ) NOT NULL default '',
html text NOT NULL default '',
thumb varchar( 255 ) NOT NULL default '',
DESC text NOT NULL default '',
highscore int( 11 ) NOT NULL default0,
caterogy int( 11 ) NOT NULL default0,
width int( 11 ) NOT NULL default0,
height int( 11 ) NOT NULL default0,
TYPE int( 11 ) NOT NULL default0,
FILE varchar( 255 ) NOT NULL default '',
bgcolor varchar( 7 ) NOT NULL default '#FFFFFF',
PRIMARY KEY ( id )
) TYPE = MYISAM

MySQL said:

You have an error in your SQL syntax near 'DESC text NOT  NULL default  '',
highscore int( 11  )  NOT  NULL default0,
cater' at line 6
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 23, 2005, 10:42:00 AM
have upgraded the forums to 1.1 from RC2 and also upgraded to the latest arcade mod.

yes the language files are current.  can't understand why regular members get the errors, but the admin don't.  is there something in the permissions that would cause the error?
Title: Re: SMF Arcade
Post by: _complex on January 23, 2005, 10:43:01 AM
hmm... Try code

CREATE TABLE `smf_games` (
  `id` int(11) NOT NULL auto_increment,
  `game` varchar(25) NOT NULL default '',
  `name` varchar(25) NOT NULL default '',
  `html` text NOT NULL,
  `thumb` varchar(255) NOT NULL default '',
  `desc` text NOT NULL,
  `highscore` int(11) NOT NULL default '0',
  `caterogy` int(11) NOT NULL default '0',
  `width` int(11) NOT NULL default '0',
  `height` int(11) NOT NULL default '0',
  `type` int(11) NOT NULL default '0',
  `file` varchar(255) NOT NULL default '',
  `bgcolor` varchar(7) NOT NULL default '#FFFFFF',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;
Title: Re: SMF Arcade
Post by: midnight68 on January 23, 2005, 10:48:58 AM
ta very much that worked

strange thing is though its a back up of the forums made through the admin setcion.

you would have thought it would have uploaded ok

thanks again
Title: Re: SMF Arcade
Post by: danking on January 23, 2005, 03:32:56 PM
Hi Guys I was wondering why when I upload flash games they dont show up to be installed is their a way around it.

Thanks
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 23, 2005, 03:38:22 PM
when you go into arcade....click on admin and then click on games....there you can put the info in that is needed
Title: Re: SMF Arcade
Post by: danking on January 23, 2005, 05:41:20 PM
Sorry im confused can u explain in a bit more detail
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 23, 2005, 08:04:53 PM
the following quote is when a regular member clicks on the arcade button

being an admin it doesn't happen.  I just upgraded from RC2 and also upgraded from beta 5 arcade to the newest

any ideas?
Quote from: DoW Kid Rock on January 22, 2005, 07:11:28 PM
I have a problem when a regular member tries to play games they get the following:

Invalid argument supplied for foreach()

so I checked the error log and it has the following:

2: Invalid argument supplied for foreach()
File: /home/patman/public_html/Themes/default/languages/Modifications.english.php (eval?)
Line: 28


any ideas?
Title: Re: SMF Arcade
Post by: ragea on January 23, 2005, 08:08:35 PM
Ive tried to install this arcade a few times with the package manager, then tried by hand but no matter what everytime i go to admin part and click games i get this error

2: Invalid argument supplied for foreach()
File: /home/ragea/public_html/forums/Themes/amdblack01/Arcade.template.php (eval?)
Line: 164
Title: Re: SMF Arcade
Post by: sammy on January 24, 2005, 07:11:30 AM
i have installed and worked but have a question can anybody helping me with a code that i can see on my forum wich members are playing games.(Games/memebers list)
Title: Re: SMF Arcade
Post by: Seb87 on January 24, 2005, 02:45:16 PM
When the beta6 come from ??
Title: Re: SMF Arcade
Post by: Champi on January 24, 2005, 04:21:11 PM
yeah... beta 6... can we simply upgrade then...?

there are not much interresting games... normal games... and not packages with 100 games with 10 normal thiings in it..

wo wants to join me on a search to more interesting games... we must arrange something...

highscores are very important...

;)

Title: Re: SMF Arcade
Post by: niko on January 25, 2005, 12:58:17 PM
Quote from: champi.nl on January 24, 2005, 04:21:11 PM
yeah... beta 6... can we simply upgrade then...?

Yes.

Quote from: Seb87 on January 24, 2005, 02:45:16 PM
When the beta6 come from ??

Some time this month or early next month :)
if there wont be big problems...
Title: Re: SMF Arcade
Post by: Champi on January 25, 2005, 03:38:05 PM
How can we clean the highscore tables... Or is there a max. of first 100 or something and the rest disapppears...?

greetzz
Title: Re: SMF Arcade
Post by: Champi on January 26, 2005, 11:01:40 AM
I ve already ranked people on place 100 and further with zero points at snake... is there no way to store only the first 100 results..? Or do I have to clean the tables...?
Title: Re: SMF Arcade
Post by: niko on January 26, 2005, 11:05:04 AM
Quote from: champi.nl on January 26, 2005, 11:01:40 AM
I ve already ranked people on place 100 and further with zero points at snake... is there no way to store only the first 100 results..? Or do I have to clean the tables...?

Current you must clean manually, exepct this to be on Beta 6.x

And Beta 6 is added, please test and report errors
Title: Re: SMF Arcade
Post by: Champi on January 26, 2005, 05:54:01 PM
simply smf_arcade_high??? i think trough phpmyadmin....

another question niko... how van we best upgrade... i have now running 5.6 version at my site...

i have to do evrything manually... cause my package manager does not work well...

can i just simply overwrite the .php files... cause i have already created the tables etc with 5.6...

greetzz
Title: Re: SMF Arcade
Post by: Champi on January 26, 2005, 06:12:57 PM
arcade settings still dont work... arent they...?

when i try to play...

Table '2425smf.smf_games_sessions' doesn't exist
Bestand: /home/champi.nl/www/smf/Sources/Arcade.php
Regel: 206
Title: Re: SMF Arcade
Post by: Aravot on January 26, 2005, 06:55:34 PM
Same error as the one above me.

Upgrading from 5.6, when run arcade_sql.php got the following error
QuoteFatal error: [] operator not supported for strings in /home/loginname/domains/mysite.com/public_html/smf/arcade_sql.php on line 115

When click on Game button this error,
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Farcadeerror.jpg&hash=7ced4411d08ed21b9d094622bf6549f32d665499)

It seems it adds the login name in-front of 'smf_games_challenge' but don't know how to fix it, no clue of programming
Title: Re: SMF Arcade
Post by: Champi on January 26, 2005, 07:00:28 PM
try to put manually trough phpmyadmin the mysql tables from the mysql.txt... you are missing some tables...

my problems are diffent.. there is missing something else...
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 26, 2005, 09:35:31 PM
Quote from: ragea on January 23, 2005, 08:08:35 PM
Ive tried to install this arcade a few times with the package manager, then tried by hand but no matter what everytime i go to admin part and click games i get this error

2: Invalid argument supplied for foreach()
File: /home/ragea/public_html/forums/Themes/amdblack01/Arcade.template.php (eval?)
Line: 164


anyone come up with some solutions for this problem?  I have the same one
Title: Re: SMF Arcade
Post by: Pause on January 27, 2005, 07:09:54 AM
I must say Niko, you supplying the mysql.txt just in case the php upgrade doesn't work is something I thank you for - else I probably wouldn't have been able to upgrade the Arcade  ;D
Title: Re: SMF Arcade
Post by: niko on January 27, 2005, 07:30:40 AM
Quote from: champi.nl on January 26, 2005, 06:12:57 PM
arcade settings still dont work... arent they...?

when i try to play...

Table '2425smf.smf_games_sessions' doesn't exist
Bestand: /home/champi.nl/www/smf/Sources/Arcade.php
Regel: 206

Execute following code: (missing from packgage  :()

CREATE TABLE `pahajoki_games_sessions` (
  `id` int(11) NOT NULL auto_increment,
  `user` int(11) NOT NULL default '0',
  `info` tinytext NOT NULL,
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;
Title: Re: SMF Arcade
Post by: niko on January 27, 2005, 07:52:08 AM
Quote from: Aravot on January 26, 2005, 06:55:34 PM
Same error as the one above me.

Upgrading from 5.6, when run arcade_sql.php got the following error
QuoteFatal error: [] operator not supported for strings in /home/loginname/domains/mysite.com/public_html/smf/arcade_sql.php on line 115

When click on Game button this error,
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Farcadeerror.jpg&hash=7ced4411d08ed21b9d094622bf6549f32d665499)

It seems it adds the login name in-front of 'smf_games_challenge' but don't know how to fix it, no clue of programming

Run queries manuall using mysql.txt

it isn't your loginname but also your mysql databasename and it is added front of table's name
Title: Re: SMF Arcade
Post by: johnm on January 27, 2005, 08:53:00 AM
just installed manually at Smf Acrade games (http://arcade.cf-uk.net%20seems%20to%20be%20working%20fine)
Title: Re: SMF Arcade
Post by: Champi on January 27, 2005, 09:33:49 AM
We must havee more gamezzz John... can you arrange more... or shall we look further together...
Higscore tables are imp[ortant otherwise dont like to play... they need a challenge but we havent enough games....
Title: Re: SMF Arcade
Post by: Champi on January 27, 2005, 09:43:33 AM
thx niko... now it works....

i manuallly added that table....

arcade settings still not a feature isnt it???

when i challenge someone, and i decline him... the challenge does not go away... where can i clean/delete those challenges..?

and when a member wants to play... he gets you arent allowed to view this arcade...??? how to solve this...
Title: Re: SMF Arcade
Post by: niko on January 27, 2005, 09:51:16 AM
Quote from: champi.nl on January 27, 2005, 09:43:33 AM
thx niko... now it works....

i manuallly added that table....

arcade settings still not a feature isnt it???

when i challenge someone, and i decline him... the challenge does not go away... where can i clean/delete those challenges..?

and when a member wants to play... he gets you arent allowed to view this arcade...??? how to solve this...

They arent ready
---
Give him/her permissons from admin...
Title: Re: SMF Arcade
Post by: Champi on January 27, 2005, 09:56:28 AM
So i have to give al my members those permissions.... (isnt that dangerous to give them al admin rights.. ) or is there a possibilty to do that only for SMF Arcade....

Better wait for version 7 or so... the challenge possibility is nice...

i ve made a modification.dutch.php (version5.6)... i wanted to attach it... but it is not possible
link (http://www.champi.nl/smf/index.php?topic=41.0)
greetzz
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 27, 2005, 12:34:07 PM
Actually I misread it and I actually have this error:

2: Invalid argument supplied for foreach()
File: /home/disciple/public_html/gamer/Themes/default/languages/Modifications.english.php (eval?)
Line: 36


have taken the entries out of the file and put them back in, but it still doesn't work. I do have other mods, so I can't just upload the modifications file
Title: Re: SMF Arcade
Post by: niko on January 27, 2005, 12:47:06 PM
Quote from: DoW Kid Rock on January 27, 2005, 12:34:07 PM
Actually I misread it and I actually have this error:

2: Invalid argument supplied for foreach()
File: /home/disciple/public_html/gamer/Themes/default/languages/Modifications.english.php (eval?)
Line: 36


have taken the entries out of the file and put them back in, but it still doesn't work. I do have other mods, so I can't just upload the modifications file

whats around line 36?
Title: Re: SMF Arcade
Post by: Aravot on January 27, 2005, 01:27:06 PM
Quote from: Niko on January 27, 2005, 07:52:08 AM
Quote from: Aravot on January 26, 2005, 06:55:34 PM
Same error as the one above me.

Upgrading from 5.6, when run arcade_sql.php got the following error
QuoteFatal error: [] operator not supported for strings in /home/loginname/domains/mysite.com/public_html/smf/arcade_sql.php on line 115

When click on Game button this error,
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Farcadeerror.jpg&hash=7ced4411d08ed21b9d094622bf6549f32d665499)

It seems it adds the login name in-front of 'smf_games_challenge' but don't know how to fix it, no clue of programming

Run queries manuall using mysql.txt

it isn't your loginname but also your mysql databasename and it is added front of table's name


Since I am upgrading from 5.6 when tried to run manually I got "#1050 - Table 'smf_games' already exists"
Title: Re: SMF Arcade
Post by: niko on January 27, 2005, 01:59:57 PM
oops... just apply new tables only

edit:
in this case challenge and sessions tables
Title: Re: SMF Arcade
Post by: Pause on January 27, 2005, 02:23:26 PM
Quote from: Niko on January 27, 2005, 01:59:57 PM
oops... just apply new tables only

edit:
in this case challenge and sessions tables
/me suggests to Niko that in future he could use CREATE TABLE IF NOT EXISTS in the sql.txt
Title: Re: SMF Arcade
Post by: danolie on January 27, 2005, 05:12:18 PM
HI... I realize others have had this error, but with 24 pages on this thread, I still wasn't able to find a concise answer (or at least one that I understand)...

I used package manager to install the arcade mod... when I run /arcade_sql.php?

I get: Fatal error: [] operator not supported for strings in /home/campusa/public_html/team/arcade_sql.php on line 20

If I need to do something with my SQL databases... please point me to where i can figure out how to do it.

Otherwise, is there something i'm missing??

Thanks,

Dan
Title: Re: SMF Arcade
Post by: danoli on January 27, 2005, 05:43:07 PM
Quote from: danolie on January 27, 2005, 05:12:18 PM
HI... I realize others have had this error, but with 24 pages on this thread, I still wasn't able to find a concise answer (or at least one that I understand)...

I used package manager to install the arcade mod... when I run /arcade_sql.php?

I get: Fatal error: [] operator not supported for strings in /home/campusa/public_html/team/arcade_sql.php on line 20

If I need to do something with my SQL databases... please point me to where i can figure out how to do it.

Otherwise, is there something i'm missing??

Thanks,

Dan

Spooky, I have exactly the same error as you and almost the same nickname as you?
Title: Re: SMF Arcade
Post by: danolie on January 27, 2005, 06:19:25 PM
Hey Danoli... Danolie here... well, hoepfully us having almost the same screenname and exactly the same problem bodes well for us both finding the solution!

Dan O
Title: Re: SMF Arcade
Post by: danoli on January 27, 2005, 06:23:14 PM
I fixed mine (sort of)
I downloaded the package and in the Documents directory, edited the my_sql.txt file.  I changed the prefix to that used by smf (smf_) and deleted the starting lines so it starts like:
CREATE TABLE `smf_games` (
  `id` int(11) NOT NULL auto_increment,
  `game` varchar(25) NOT NULL default '',

Then used PHPMyAdmin to import this into the database.

Hope this helps.
Title: Re: SMF Arcade
Post by: JayBachatero on January 27, 2005, 06:52:57 PM
n i click th challenges link it says " Unable to load the 'challenge' template."  any idae y?
Title: Re: SMF Arcade
Post by: Aravot on January 27, 2005, 07:30:25 PM
Quote from: Niko on January 27, 2005, 01:59:57 PM
oops... just apply new tables only

edit:
in this case challenge and sessions tables

Thanks that was it fixed.
Title: Re: SMF Arcade
Post by: Aravot on January 27, 2005, 07:36:24 PM
When I click Arcade Settings I get following error, how to fix it. Thanks in advance.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Farcadesetting.jpg&hash=eac41d03cb467d90c0bdea99858fb939565b0503)
Title: Re: SMF Arcade
Post by: JayBachatero on January 27, 2005, 08:09:53 PM
Quote from: LiL_J on January 27, 2005, 06:52:57 PM
n i click th challenges link it says " Unable to load the 'challenge' template." any idae y?

ok i got that fixed i reuploaded the files but now im having the same problem as Aravot
Title: Re: SMF Arcade
Post by: johnm on January 27, 2005, 08:24:59 PM
Quote from: LiL_J on January 27, 2005, 08:09:53 PM
Quote from: LiL_J on January 27, 2005, 06:52:57 PM
n i click th challenges link it says " Unable to load the 'challenge' template." any idae y?

ok i got that fixed i reuploaded the files but now im having the same problem as Aravot

use myphpadmin to insert tables manually

Niko: would you like a foreign test site to test your newest versions out so you maybe albe to either iron out some problems before you release a mod or you could either release a mod with some notes on "whats wrong in this version = how to fix"

i could happily do this for free for you, we have already done a manuall install instructions
wich i hope it has helped some people out there.

champi.nl
i have been looking for ages and ive even sent out some emails/offers but to no avail, prehaps if i start spaming them with my servers they might reply just to get rid of me!!!!!!!!!!





Title: Re: SMF Arcade
Post by: niko on January 28, 2005, 12:40:36 AM
Quote from: Aravot on January 27, 2005, 07:36:24 PM
When I click Arcade Settings I get following error, how to fix it. Thanks in advance.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Farcadesetting.jpg&hash=eac41d03cb467d90c0bdea99858fb939565b0503)

Arcade Settings is not yet ready.

Quote from: John on January 27, 2005, 08:24:59 PM

Niko: would you like a foreign test site to test your newest versions out so you maybe albe to either iron out some problems before you release a mod or you could either release a mod with some notes on "whats wrong in this version = how to fix"

i could happily do this for free for you, we have already done a manuall install instructions
wich i hope it has helped some people out there.


Yes

Title: Re: SMF Arcade
Post by: pacolls on January 28, 2005, 04:28:20 AM
Quote from: Niko on January 27, 2005, 01:59:57 PM
oops... just apply new tables only

edit:
in this case challenge and sessions tables

Where is the estructure of table sessions, in the file mysql.txt not exist this table.
Title: Re: SMF Arcade
Post by: niko on January 28, 2005, 05:22:59 AM
Quote from: pacolls on January 28, 2005, 04:28:20 AM
Quote from: Niko on January 27, 2005, 01:59:57 PM
oops... just apply new tables only

edit:
in this case challenge and sessions tables

Where is the estructure of table sessions, in the file mysql.txt not exist this table.

there http://www.simplemachines.org/community/index.php?topic=17447.msg203309#msg203309
Title: Re: SMF Arcade
Post by: pacolls on January 28, 2005, 05:30:52 AM
Thank you, good job Niko
Title: Re: SMF Arcade
Post by: johnm on January 28, 2005, 08:45:27 AM
QuoteQuote from: John on Today at 01:24:59 AM

Niko: would you like a foreign test site to test your newest versions out so you maybe albe to either iron out some problems before you release a mod or you could either release a mod with some notes on "whats wrong in this version = how to fix"

i could happily do this for free for you, we have already done a manuall install instructions
wich i hope it has helped some people out there.



Yes

ok, heres the plan you can ask different if you wish....

im starting to setup www.smfgames.com (arcade.cf-uk.net will be moved to there) why? because the site its self is proving to be a fair success -used 1.4GB of bandwidth for jan -not bad

if you want we could have a subdomain at that site ie beta.smfgames.com or i all ready have smfarcade.info you could have this on a seperate account

up to you pm me to disscus it

John
Title: Re: SMF Arcade
Post by: PrideDragon on January 28, 2005, 08:49:25 AM
This error when play game

Table 'barconinet744.smf_games_sessions' doesn't exist
File: c:\hosting\barconi.net\wwwroot\forums\Sources\Arcade.php
Line: 206

Why???

CREATE TABLE `smf_games` (
  `id` int(11) NOT NULL auto_increment,
  `game` varchar(25) NOT NULL default '',
  `name` varchar(25) NOT NULL default '',
  `html` text NOT NULL,
  `thumb` varchar(255) NOT NULL default '',
  `desc` text NOT NULL,
  `highscore` int(11) NOT NULL default '0',
  `caterogy` int(11) NOT NULL default '0',
  `width` int(11) NOT NULL default '0',
  `height` int(11) NOT NULL default '0',
  `type` int(11) NOT NULL default '0',
  `file` varchar(255) NOT NULL default '',
  `bgcolor` varchar(7) NOT NULL default '#FFFFFF',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;

CREATE TABLE `smf_games_caterogy` (
  `id` int(11) NOT NULL auto_increment,
  `name` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;

CREATE TABLE `smf_games_high` (
  `id` int(11) NOT NULL auto_increment,
  `game` varchar(25) NOT NULL default '',
  `member` int(11) NOT NULL default '0',
  `score` float NOT NULL default '0',
  `stime` bigint(20) NOT NULL default '0',
  `ip` varchar(11) NOT NULL default '',
  `comment` varchar(255) default NULL,
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;

INSERT INTO `smf_games_caterogy` VALUES (1, 'The Classics');
INSERT INTO `smf_games_caterogy` VALUES (2, 'Action & Adventure');
INSERT INTO `smf_games_caterogy` VALUES (3, 'Orginals');
INSERT INTO `smf_games_caterogy` VALUES (4, 'Card game''s');

CREATE TABLE `smf_games_challenge` (
  `cid` int(11) NOT NULL auto_increment,
  `player1` int(11) NOT NULL default '0',
  `player2` int(11) NOT NULL default '0',
  `game` int(11) NOT NULL default '0',
  `player1_score` float NOT NULL default '0',
  `player2_score` float NOT NULL default '0',
  `message` varchar(255) NOT NULL default '',
  `complete` int(11) NOT NULL default '0',
  `reason` varchar(255) NOT NULL default '',
  `player1_status` int(11) NOT NULL default '0',
  `player2_status` int(11) NOT NULL default '0',
  PRIMARY KEY  (`cid`)
) TYPE=MyISAM AUTO_INCREMENT=9 ;
Title: Re: SMF Arcade
Post by: niko on January 28, 2005, 08:57:22 AM
Quote from: PrideDragon on January 28, 2005, 08:49:25 AM
This error when play game

Table 'barconinet744.smf_games_sessions' doesn't exist
File: c:\hosting\barconi.net\wwwroot\forums\Sources\Arcade.php
Line: 206

Why???


Alerdy answered many times: http://www.simplemachines.org/community/index.php?topic=17447.msg203309#msg203309
Title: Re: SMF Arcade
Post by: PrideDragon on January 28, 2005, 09:16:30 AM
Quote from: Niko on January 28, 2005, 12:40:36 AM
Quote from: Aravot on January 27, 2005, 07:36:24 PM
When I click Arcade Settings I get following error, how to fix it. Thanks in advance.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Farcadesetting.jpg&hash=eac41d03cb467d90c0bdea99858fb939565b0503)

Arcade Settings is not yet ready.

Quote from: John on January 27, 2005, 08:24:59 PM

Niko: would you like a foreign test site to test your newest versions out so you maybe albe to either iron out some problems before you release a mod or you could either release a mod with some notes on "whats wrong in this version = how to fix"

i could happily do this for free for you, we have already done a manuall install instructions
wich i hope it has helped some people out there.


Yes



Sorry my I have bad english.

I Have this error
Why???
Title: Re: SMF Arcade
Post by: niko on January 28, 2005, 09:39:58 AM
Quote from: PrideDragon on January 28, 2005, 09:16:30 AM
Quote from: Niko on January 28, 2005, 12:40:36 AM
Quote from: Aravot on January 27, 2005, 07:36:24 PM
When I click Arcade Settings I get following error, how to fix it. Thanks in advance.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Farcadesetting.jpg&hash=eac41d03cb467d90c0bdea99858fb939565b0503)

Arcade Settings is not yet ready.

Quote from: John on January 27, 2005, 08:24:59 PM

Niko: would you like a foreign test site to test your newest versions out so you maybe albe to either iron out some problems before you release a mod or you could either release a mod with some notes on "whats wrong in this version = how to fix"

i could happily do this for free for you, we have already done a manuall install instructions
wich i hope it has helped some people out there.


Yes



Sorry my I have bad english.

I Have this error
Why???
As i said Arcade Settings is NOT READY and it should NOT work
Title: Re: SMF Arcade
Post by: Aravot on January 28, 2005, 12:45:47 PM
Running SMF 1.0, after upgrading Acrade from b5.6 to b6 when I login as admin, I no more see 'User Info', 'News box' and 'Key stats', menus (or whatever they are called), but normal users don't have that problem, any suggestions.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Farcade%2Fadmin.jpg&hash=9adf8718ad3b6b6dd4f41388a1001b3e8074b042)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Farcade%2Fnonadmin.jpg&hash=6f6bc739314ae8143bc05a6e1d551dd03446ca88)
Title: Re: SMF Arcade
Post by: johnm on January 28, 2005, 01:47:10 PM
check your index.template.php file.

either the sections have been removed or commented out?
assuming the arcade mod did this to your forums use your ftp client to restore the backup (index.template.php~) (rename it to index.template.php if its fixed your problem but the games/arcade button is no longer there edit the index.template.php file and add the arcade button in your self
Title: Re: SMF Arcade
Post by: maufonseca on January 28, 2005, 02:48:37 PM
When I am trying to install the new version, I get this error:
2: copy(/home/maufon/public_html/forum/getid3/getid3.php): failed to open stream: Permission denied
File: /home/maufon/public_html/forum/Sources/Subs-Package.php
Line: 961
Title: Re: SMF Arcade
Post by: _complex on January 28, 2005, 03:27:31 PM
I had that same problem, Make sure it is CHOMD to 777 the dir,

I had to CHOMD "Thumbs.db" in my Games Dir
Title: Re: SMF Arcade
Post by: maufonseca on January 28, 2005, 03:41:42 PM
Quote from: .complex on January 28, 2005, 03:27:31 PM
I had that same problem, Make sure it is CHOMD to 777 the dir,

I had to CHOMD "Thumbs.db" in my Games Dir

Thanks, I installed, but now I get this message:
Table 'maufon_smf1.smf_games_challenge' doesn't exist
File: /home/maufon/public_html/forum/Sources/Arcade.php
Line: 76

I know I have to add the table manualy in PhpMyAdmin, but I dont know what to put inside the table
Title: Re: SMF Arcade
Post by: niko on January 28, 2005, 05:00:00 PM
Try first aracde_sql.php if it doesnt work then mysql.txt has tables schema
Title: Re: SMF Arcade
Post by: johnm on January 28, 2005, 06:03:58 PM
QuoteI had to CHOMD "Thumbs.db" in my Games Dir

thumbs.db is just left over from windows you dont need this at all so chmodding it shouldnt make a differance
Title: Re: SMF Arcade
Post by: maufonseca on January 28, 2005, 08:59:07 PM
Ok thanks, I get my Arcade runing again with the new vertion  ;)
Title: Re: SMF Arcade
Post by: Aravot on January 28, 2005, 10:48:15 PM
Quote from: John on January 28, 2005, 01:47:10 PM
check your index.template.php file.

either the sections have been removed or commented out?
assuming the arcade mod did this to your forums use your ftp client to restore the backup (index.template.php~) (rename it to index.template.php if its fixed your problem but the games/arcade button is no longer there edit the index.template.php file and add the arcade button in your self


I don't have a backup of index.template.php my fault for not backing up, anyway don't know how to fix it, this happens only in admin mode.
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 01:10:27 AM
When installing i get this when trying to run arcade_sql


QuoteFatal error: [] operator not supported for strings in /hsphere/local/home/adminkhi/setuners.com/forum/arcade_sql.php on line 20
Title: Re: SMF Arcade
Post by: niko on January 29, 2005, 01:49:59 AM
Quote from: The Scion Dragon on January 29, 2005, 01:10:27 AM
When installing i get this when trying to run arcade_sql


QuoteFatal error: [] operator not supported for strings in /hsphere/local/home/adminkhi/setuners.com/forum/arcade_sql.php on line 20

then you must do manually queries eg. with phpmyadmin
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 01:55:46 AM
Ok ive entered all the tables from the mysql text and now i get this when i try to play a game



Database Error
Table 'adminkh_forum.smf_games_sessions' doesn't exist
File: /hsphere/local/home/adminkhi/setuners.com/forum/Sources/Arcade.php
Line: 206 
Title: Re: SMF Arcade
Post by: olli on January 29, 2005, 02:38:48 AM
CREATE TABLE `pahajoki_games_sessions` (
  `id` int(11) NOT NULL auto_increment,
  `user` int(11) NOT NULL default '0',
  `info` tinytext NOT NULL,
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;


How do i use that code i looked every where but no where seems to help
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 02:55:50 AM
Thanks Olli that was justthe code i needed.. mine work now.. YAY


As Far as the Code I log into my control panel through my host
then log into my PHPmyadmin and pull up my database that smf uses

Click on Mysql and copy paste each table into it and let it find the tables and it adds them to the database..

thats pretty much it.. each set of those text files is just adding a table to the database to store infor / highscoores and such.. hope that helps
Title: Re: SMF Arcade
Post by: olli on January 29, 2005, 03:03:50 AM
copy and past wat tables   that is the only thing im cornfused im in PHPmyadmin i clicked sql and a box came up run sql query  and after that im dead in the water it could be b.c it is so late at my house and there is so much codes and wat not on every page i don't know wat is wat
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 03:16:31 AM
In that box copy the mysql.tct into that and hit go.. it will automatically populate the correct tables for you..
Title: Re: SMF Arcade
Post by: olli on January 29, 2005, 03:43:25 AM
thankz  i had a hard time finding the sql.txt file but it works now thankz
Title: Re: SMF Arcade
Post by: johnm on January 29, 2005, 11:11:33 AM
just to let you all know srcade.cf-uk.net has moved to http://smfgames.com
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 01:30:33 PM
I got the arcade all installed and the games work and everything but when I member clicks arcade it says that they are not allowed to access the arcade

Title: Re: SMF Arcade
Post by: Pause on January 29, 2005, 02:30:25 PM
Quote from: The Scion Dragon on January 29, 2005, 01:30:33 PM
I got the arcade all installed and the games work and everything but when I member clicks arcade it says that they are not allowed to access the arcade


Go to Administration Center ---> Edit Permissions

Then set the permissions to access and use the arcade.
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 02:38:10 PM
Ive looking the account options and the premissions and I dont see an option to allow the arcade..
Title: Re: SMF Arcade
Post by: johnm on January 29, 2005, 03:27:21 PM
did you apply the mod with package manager?

if you did, did you get any errors?

this version modifies the permissions

otherwise you could try to uninstall then re-install
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 03:31:25 PM
Yes i installed with the package manager but I had to load the tables and all manually.. it added the button and all for me at the top but my members cant get in.. Its not even in the drop down box to Add a permission in the Admin part
Title: Re: SMF Arcade
Post by: johnm on January 29, 2005, 03:40:45 PM
do you want me to take a look if so pm me with your forums url
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 06:57:02 PM
Thanks again for your help.. everything is working great now!
Title: Re: SMF Arcade
Post by: Juggler on January 30, 2005, 08:34:32 AM
Not sure what's happened but after upgrading to 6.1 I've lost ALL my thumbnails and there's no option to add them back in.

Help!!
Title: Re: SMF Arcade
Post by: niko on January 30, 2005, 08:43:09 AM
Quote from: Juggler on January 30, 2005, 08:34:32 AM
Not sure what's happened but after upgrading to 6.1 I've lost ALL my thumbnails and there's no option to add them back in.

Help!!

You dont need to add them just name them correctly eg. <internal_name>.gif/jpg/png
For example:
air_sk8ing.gif 
air_sk8ing.swf
games form smfgames.com use this format and it works with them

And Beta 6.1b is released (To update from 6.1 just upload Sources and Themes directories).
Title: Re: SMF Arcade
Post by: Juggler on January 30, 2005, 12:05:56 PM
OK and now I'm unable to add any games to the forum as well!!

All the files are chmod'ed correctly but I keep getting this error :-

An Error Has Occurred!
2: arcade(./getid3/getid3.php): failed to open stream: Permission denied
File: /home/bluebuz/public_html/smf/Sources/Arcade.php
Line: 375

It will not beat me, It will not beat me.......
Title: Re: SMF Arcade
Post by: johnm on January 30, 2005, 12:49:00 PM
i gather thats when your installing it

either chmod those files and dir again
or delete them (they should be re installed by the installer)

John
Title: Re: SMF Arcade
Post by: olli on January 30, 2005, 01:08:05 PM
ok im having the saem problem  no one can view the  games cause they don't have permission i looked everywhere for the permission but i can't seem to find it.
Title: Re: SMF Arcade
Post by: niko on January 30, 2005, 01:18:15 PM
http://www.kanetti.fi/~pahajoki/.smf/perm.JPG
Title: Re: SMF Arcade
Post by: olli on January 30, 2005, 01:21:42 PM
i re-installed it and it worked thankz
Title: Re: SMF Arcade
Post by: Douglas on January 30, 2005, 03:32:54 PM
Suggestions and bug fixes:

In Arcade.php, you have quite a few variables (Line 299 and 236 and 3 others) that need to have single quotes.  highscores, scores and member are three of the variables missing this info.  Check your Error Log file for the exact line numbers and variables.  I had to manually patch my Arcade.php file to fix this (attached, so you can run a diff).  Please fix this for your next version.

ALSO, in your games table, you have a field named "desc".  Please note that desc is short for DESCending, a MySQL/PHP control code for sorting.  You should consider changing this to descrip or dsc, to allow those of us that love doing things manually to be able to put the code in easily without having to rename it twice.

ALSO, on another forum system (that will not be named), they had icons that would indicate whether a person had a high score for a game.  That would be a GREAT feature to implement.  The icons were the size of smilies, and were near a person's name.  You could also implement this into the profile page, as well.

Good work!  Keep it up!
Title: Re: SMF Arcade
Post by: Juggler on January 30, 2005, 04:47:15 PM
Knew it wouldn't beat me.

All sorted after a bit of CH Moddind. Dang and blast. It really was THAT simple.
Title: Re: SMF Arcade
Post by: johnm on January 30, 2005, 04:49:37 PM
Quote from: finnhack on January 09, 2005, 04:07:27 PM
Does anyone got an idea how I could show these arcade actions in Who's online? It was quite easy to get it working on "the toplevel" by which I mean adding action=arcade to show as "someone is playing a game" - but when I tried to get it to show which game the user was playing I run into problems.

have you got anywhere with this?
Title: Re: SMF Arcade
Post by: finnhack on January 31, 2005, 08:10:38 AM
Quote from: John on January 30, 2005, 04:49:37 PM
Quote from: finnhack on January 09, 2005, 04:07:27 PM
Does anyone got an idea how I could show these arcade actions in Who's online? It was quite easy to get it working on "the toplevel" by which I mean adding action=arcade to show as "someone is playing a game" - but when I tried to get it to show which game the user was playing I run into problems.

have you got anywhere with this?

Haven't really had the time to look more closely into it, nor do I think that my skills are enough for making it work. So if anyone want's to give it a try it would be really nice. Guess the function could be somehow lent from how the 'someone is reading some topic' is done!?
Title: Re: SMF Arcade
Post by: redone on January 31, 2005, 12:22:25 PM
I would love to upgrade to the latest version. My members love the arcade but I tried to follow the upgrade readme and the package manager will not uninstall the arcade.

Anyone with ideas what I could do?  :(
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 31, 2005, 01:28:57 PM
ok I finally uninstalled it fully and used the newest version to install and it worked awesome!!!!

thanks for the newest version.  love the challenge feature
Title: Re: SMF Arcade
Post by: Minion on January 31, 2005, 11:47:27 PM
Quote from: Mattitude on January 29, 2005, 02:30:25 PM
Quote from: The Scion Dragon on January 29, 2005, 01:30:33 PM
I got the arcade all installed and the games work and everything but when I member clicks arcade it says that they are not allowed to access the arcade


Go to Administration Center ---> Edit Permissions

Then set the permissions to access and use the arcade.

I have the same problem.
The admin of the clients server has no clue what they are doing.  So i cannot use package manager because zlib is broke.
I can add the permissions in the db myself.  What are they and where do they go?
NONE of my users can get in the games because of permissions.

Thanks in advance!
Title: Re: SMF Arcade
Post by: johnm on February 01, 2005, 05:57:25 AM
Quote from: Minion on January 31, 2005, 11:47:27 PM
Quote from: Mattitude on January 29, 2005, 02:30:25 PM
Quote from: The Scion Dragon on January 29, 2005, 01:30:33 PM
I got the arcade all installed and the games work and everything but when I member clicks arcade it says that they are not allowed to access the arcade


Go to Administration Center ---> Edit Permissions

Then set the permissions to access and use the arcade.

I have the same problem.
The admin of the clients server has no clue what they are doing. So i cannot use package manager because zlib is broke.
I can add the permissions in the db myself. What are they and where do they go?
NONE of my users can get in the games because of permissions.

Thanks in advance!

Please read through this thread.
this version of arcade(6.1b) can install its self with out package manager try it first
as for the permissions you need to edit managepermissions.php again see the prev. posts on how to do this
Title: Re: SMF Arcade
Post by: Tony Reid on February 01, 2005, 05:47:12 PM
Some errors from my error log...............................




8: Use of undefined constant position - assumed 'position'
File: /home/fertilit/public_html/forum/Themes/default/Arcade.template.php (eval?)
Line: 503

8: Use of undefined constant member - assumed 'member'
File: /home/fertilit/public_html/forum/Sources/Arcade.php
Line: 236

8: Use of undefined constant arcade_highscores_per_page - assumed 'arcade_highscores_per_page'
File: /home/fertilit/public_html/forum/Sources/Arcade.php
Line: 546



Im not sure if the following is related to the arcade mod (Its only happend since the arcade mod was installed - but it could be something else of course) - but a couple of members have mentioned these errors when logging in....

Quote
Notice: Undefined index: is_admin in /home/fertilit/public_html/forum/Sources/Security.php on line 552

Notice: Undefined index: permissions in /home/fertilit/public_html/forum/Sources/Security.php on line 559

Warning: in_array(): Wrong datatype for second argument in /home/fertilit/public_html/forum/Sources/Security.php on line 559



Title: Re: SMF Arcade
Post by: Aravot on February 01, 2005, 08:57:40 PM
Upgraded to 6.1b no 'thumbnail' option to add picture for games (see pic), has this option been removed or something wrong with my installation.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Farcade%2Fnogif.gif&hash=1c59291d7470f1bab45fecb5981f4ac27263c3de)
Title: Re: SMF Arcade
Post by: DoW Kid Rock on February 01, 2005, 09:03:28 PM
just put a thumbnail with the same name as the swf file.  i.e. for pacman put a thumbnail named pacman.gif or pacman.jpg in the games folder and it will show automatically
Title: Re: SMF Arcade
Post by: DoW Kid Rock on February 01, 2005, 09:05:01 PM
just a question about the challenge option.....been looking through the thread, but can't find anything about how to use it.  I have sent a challenge, but nothing happens
Title: Re: SMF Arcade
Post by: Aravot on February 01, 2005, 09:16:16 PM
Quote from: DoW Kid Rock on February 01, 2005, 09:03:28 PM
just put a thumbnail with the same name as the swf file.  i.e. for pacman put a thumbnail named pacman.gif or pacman.jpg in the games folder and it will show automatically

Thanks, it worked
Title: Re: SMF Arcade
Post by: DoW Kid Rock on February 01, 2005, 09:27:35 PM
luckily enough I uploaded a thumbnail that was the same name and it popped up.  others didn't at first until I realized it

you are welcome
Title: Re: SMF Arcade
Post by: niko on February 02, 2005, 08:35:56 AM
Quote from: DoW Kid Rock on February 01, 2005, 09:05:01 PM
just a question about the challenge option.....been looking through the thread, but can't find anything about how to use it.  I have sent a challenge, but nothing happens

wait till the user you sent accpets challenge when (s)he has played you must 'accpet' it from challenges (press name of game)
Title: Re: SMF Arcade
Post by: DoW Kid Rock on February 02, 2005, 10:45:50 AM
ok will try that.

thanks for the quick response
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 12:45:53 PM
Okay I'm new here, so new to forum as well, so HI :D

I uploaded everything and ran arcade_sql.php, but it said:

smf_games not found
smf_games_challenge not found
smf_games_high not found
smf_games_caterogy not found
smf_games_sessions not found

what did I do wrong :S and yes I am new to this! but the readme.txt that came with it, is not really in good english or i'm not good at english:

Installing
------------------

1. Upload packgage .zip with packgage manager
2. Apply mod with it
3. Run arcade_sql.php
4. Delete arcade_sql.php with ftp
5. Add Games-button to others than default theme

what did i do wrong?
Title: Re: SMF Arcade
Post by: niko on February 02, 2005, 01:17:39 PM
In first step it checks if tables is alerdy in database and doesnt create if they are

at bottom there are step 2 link press that and it will run queries that are needed
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 01:22:00 PM
okay done that everything said succes and i deleted the file. now what?
Title: Re: SMF Arcade
Post by: niko on February 02, 2005, 02:11:23 PM
It will work after you install package and run arcade_sql.php
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 02:15:36 PM
what package?
Title: Re: SMF Arcade
Post by: niko on February 02, 2005, 02:27:40 PM
Package is teh mod file
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 02:29:16 PM
you mean upload package right? upload it to my hosting and then run the file, which I did, then I did step 2 aswell, but what to do now?
Title: Re: SMF Arcade
Post by: niko on February 02, 2005, 02:30:42 PM
You did apply package with package manager ?
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 02:32:58 PM
ehm no? how do i do that?
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 02:36:06 PM
oh wait yes i did that now, but now i get this message :

2: copy(/home2/kkoopman/public_html/dikkop/getid3/getid3.lib.php): failed to open stream: Permission denied
Title: Re: SMF Arcade
Post by: maufonseca on February 02, 2005, 03:17:07 PM
Quote from: Klaas Koopman on February 02, 2005, 02:36:06 PM
oh wait yes i did that now, but now i get this message :

2: copy(/home2/kkoopman/public_html/dikkop/getid3/getid3.lib.php): failed to open stream: Permission denied
Enter your FTP and CHMOD 777 this files:
public_html/dikkop /getid3/module.audio-video.swf.php
public_html/dikkop/getid3/getid3.php
public_html/dikkop /getid3/getid3.lib.php
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 03:37:57 PM
2: copy(/home2/kkoopman/public_html/dikkop/Games/PUT GAMES IN THIS FOLDER): failed to open stream: Permission denied
Title: Re: SMF Arcade
Post by: johnm on February 02, 2005, 03:46:46 PM
Quote from: Klaas Koopman on February 02, 2005, 03:37:57 PM
2: copy(/home2/kkoopman/public_html/dikkop/Games/PUT GAMES IN THIS FOLDER): failed to open stream: Permission denied

CHMOD it to 777 or delete it. not needed anyway
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 03:47:50 PM
 >:(okay i chmodded everything that popped up but they kept coming , now i'm at : 2: copy(/home2/kkoopman/public_html/dikkop/Themes/default/Arcade.template.php): failed to open stream: Permission denied

should I continue to cmod them all to 777?
Title: Re: SMF Arcade
Post by: Aravot on February 02, 2005, 03:51:39 PM
Quote from: Klaas Koopman on February 02, 2005, 03:47:50 PM
>:(okay i chmodded everything that popped up but they kept coming , now i'm at : 2: copy(/home2/kkoopman/public_html/dikkop/Themes/default/Arcade.template.php): failed to open stream: Permission denied

should I continue to cmod them all to 777?

Yes
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 03:53:42 PM
hmm can't seem to find that file :S can it be that I don't have it?
Title: Re: SMF Arcade
Post by: Aravot on February 02, 2005, 03:53:51 PM
How and where to add more categories like shooting, racing and etc. to Arcade Panel.

Arcade 6.1b category is spelled in correctly, see pic.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwebpages.charter.net%2Fosipof%2Fsmf%2Farcade%2Fcategory.jpg&hash=9cd8c385641da6bbbcd9e662cb5c5634793dcb49)
Title: Re: SMF Arcade
Post by: Aravot on February 02, 2005, 03:56:52 PM
Quote from: Klaas Koopman on February 02, 2005, 03:53:42 PM
hmm can't seem to find that file :S can it be that I don't have it?

If you don't have the file copy it to the Themes/default/ location using ftp program.
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 04:00:50 PM
okay now i'm stuck on this one :

2: copy(index.php~): failed to open stream: Permission denied

how to do this one?
Title: Re: SMF Arcade
Post by: johnm on February 02, 2005, 04:01:46 PM
Quote from: Klaas Koopman on February 02, 2005, 03:47:50 PM
>:(okay i chmodded everything that popped up but they kept coming , now i'm at : 2: copy(/home2/kkoopman/public_html/dikkop/Themes/default/Arcade.template.php): failed to open stream: Permission denied

should I continue to cmod them all to 777?

you need to chmod your themes directory to 777
and change the default theme dir to the same

if you keep having trouble with it manually uplod the files the installer will detect them

Quote from: Klaas Koopman on February 02, 2005, 04:00:50 PM
okay now i'm stuck on this one :

2: copy(index.php~): failed to open stream: Permission denied

how to do this one?

chmod it to 777 once the installation is finnished change back to 755

if index.php~ doesn not exist then make a copy of it so you have index.php and index.php~
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 04:06:03 PM
is that the index in the themes?  i tried the index on the main, and in the themes and in the default, but still giving me that error :S
Title: Re: SMF Arcade
Post by: johnm on February 02, 2005, 04:54:51 PM
should be the forum root one
Title: Re: SMF Arcade
Post by: Tony Reid on February 02, 2005, 04:58:46 PM
Quote from: Tony on February 01, 2005, 05:47:12 PM
Some errors from my error log...............................




8: Use of undefined constant position - assumed 'position'
File: /home/fertilit/public_html/forum/Themes/default/Arcade.template.php (eval?)
Line: 503

8: Use of undefined constant member - assumed 'member'
File: /home/fertilit/public_html/forum/Sources/Arcade.php
Line: 236

8: Use of undefined constant arcade_highscores_per_page - assumed 'arcade_highscores_per_page'
File: /home/fertilit/public_html/forum/Sources/Arcade.php
Line: 546



Im not sure if the following is related to the arcade mod (Its only happend since the arcade mod was installed - but it could be something else of course) - but a couple of members have mentioned these errors when logging in...


Hi Guys,

Just wondering if you are looking at fixing these in a hot fix - or waiting until the next beta?

Tony,


Title: Re: SMF Arcade
Post by: johnm on February 02, 2005, 05:17:29 PM
im not sure, but this may have been fixed allready ive checked the logs at smfgames.com and the only error were getting is a undefined index error in security.php

this will prob be sorted in the next version but remember this is still a beta version( current 6.1b beta)
Title: Re: SMF Arcade
Post by: Tony Reid on February 02, 2005, 05:36:32 PM
ok thanks... im running 6.1b and look forward to the next release :)
Title: Re: SMF Arcade
Post by: Aravot on February 02, 2005, 08:18:47 PM
I was browsing Arcade.php code when I noticed all [category] is spelled [caterogy]
Title: Re: SMF Arcade
Post by: Champi on February 03, 2005, 03:49:39 AM
i upgrade to 6.1b... evrything went fine... how is t possible that some thumbnails disappeared as also the possibilty to add one to a game trough admin settings...??

arcade settings??? what mean those four lines....??

thnx in forward.. ;)
Title: Re: SMF Arcade
Post by: DoW Kid Rock on February 03, 2005, 04:57:24 AM
with the new version all thumbnails must have the same name as the game file.  meaning you don't need to add the thumbnail picture when you install the new game.  so I suggest to take a look at the names of the thumbnails and change their names to the same name as the .swf file and it will work fine
Title: Re: SMF Arcade
Post by: johnm on February 03, 2005, 05:44:19 AM
Quote from: Aravot on February 02, 2005, 08:18:47 PM
I was browsing Arcade.php code when I noticed all [category] is spelled [caterogy]

Doesnt matter how its spelt in arcade.php to correct the spelling you could easily change modifications.english.php
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 03, 2005, 11:22:08 AM
okay i chmodded aswell, but still getting that error, any can help me out? cause i'm desperate!
Title: Re: SMF Arcade
Post by: Waste on February 03, 2005, 12:15:34 PM
This is the fifth time I've tried to install this, and it has never worked.
I'm getting a 404 error this time.


[edit]
Error when trying to install from the package manager:

2: copy(C:\Server\htdocs\forums/Games/Thumbs.db): failed to open stream: Permission denied
File: C:\Server\htdocs\forums\Sources\Subs-Package.php
Line: 961
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 03, 2005, 12:21:51 PM
just read my posts about that ;) just chmod it to 777 ;)
Title: Re: SMF Arcade
Post by: Aravot on February 03, 2005, 06:27:05 PM
After upgrading from 5.6 (no log errors) to 6.1b my forum error log has pages and pages of the following error.

8: Use of undefined constant highscore - assumed 'highscore'
File: /home/mywebsite.com/public_html/smf/Sources/Arcade.php
Line: 200


Line 200 of Arcade.php


200      $context['arcade']['games'][$i]['desc'] = $game['desc'];
201      if($game[highscore] != 2) $context['arcade']['games'][$i]['top10'] = highscore($game['game'], $game['highscore']);
202      $context['arcade']['games'][$i]['personal'] = highscore_user($game['game'], $game['highscore'], $ID_MEMBER);
203      $context['arcade']['games'][$i]['caterogy'] = $game['caterogy'];
204      $context['arcade']['games'][$i]['highscore'] = $game['highscore'];


any suggestion how to fix it.
Title: Re: SMF Arcade
Post by: Tony Reid on February 03, 2005, 07:43:07 PM
Ive just noticed that the cideo poker is reporting the highest score to be 6.17509e+06 :)
Title: Re: SMF Arcade
Post by: AGMR_Rhino on February 03, 2005, 11:18:06 PM
um... i didnt want to read all thirty pages to find this out but after you install it how do you get to it do you add a button and if so how?
Title: Re: SMF Arcade
Post by: Aravot on February 04, 2005, 12:26:30 AM
Quote from: AGMR_Rhino on February 03, 2005, 11:18:06 PM
um... i didnt want to read all thirty pages to find this out but after you install it how do you get to it do you add a button and if so how?

If I am not mistaken, version 6.1b adds the button automatically if not this is the code.


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'];

Title: Re: SMF Arcade
Post by: hypnoticpimp on February 04, 2005, 01:33:41 AM
HELP! all my members tell me when they try to click on games! this comes up

An Error Has Occurred! You arent allowed to view arcade, sorry!  And they said! They logged in! please how can i fix this
Title: Re: SMF Arcade
Post by: Aravot on February 04, 2005, 01:49:29 AM
Quote from: hypnoticpimp on February 04, 2005, 01:33:41 AM
HELP! all my members tell me when they try to click on games! this comes up

An Error Has Occurred! You arent allowed to view arcade, sorry!  And they said! They logged in! please how can i fix this

You need to give them permission, see link below.

Quote from: Niko on January 30, 2005, 01:18:15 PM
http://www.kanetti.fi/~pahajoki/.smf/perm.JPG
Title: Re: SMF Arcade
Post by: AGMR_Rhino on February 04, 2005, 03:24:46 AM
it adds the button to the default  but not to my theme and i dont no were to put the codes or how im just lernin smf could some one walk me through it please the can message me with msn messenger  [email protected]
Title: Re: SMF Arcade
Post by: Tony Reid on February 04, 2005, 03:44:14 AM
There is a readme.txt inside the mod that explains how to add the button to your other themes :)
Title: Re: SMF Arcade
Post by: AGMR_Rhino on February 04, 2005, 03:46:08 AM
ok ill try that
Title: Re: SMF Arcade
Post by: johnm on February 04, 2005, 09:15:16 AM
Quote from: Waste on February 03, 2005, 12:15:34 PM
This is the fifth time I've tried to install this, and it has never worked.
I'm getting a 404 error this time.


[edit]
Error when trying to install from the package manager:

2: copy(C:\Server\htdocs\forums/Games/Thumbs.db): failed to open stream: Permission denied
File: C:\Server\htdocs\forums\Sources\Subs-Package.php
Line: 961


windows?
check ntfs permissions and script permissions
im not sure if windows will allow thumbs.db to be copied/replaced on windows but try deleting first if it exists in the folder its being copied to.
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 04, 2005, 09:16:40 AM
TONY, the install still doesn't work :( anyone out there whou could do it for me maybe, or tell me what to do next, cause i'm stuck!
Title: Re: SMF Arcade
Post by: Waste on February 04, 2005, 09:27:46 AM
Ok, tried a manual install and go this in the arcade_sql.php file:

Notice: Undefined index: rem in C:\Server\htdocs\forums\arcade_sql.php on line 17

Notice: Use of undefined constant arcade_games_per_page - assumed 'arcade_games_per_page' in C:\Server\htdocs\forums\arcade_sql.php on line 301

Notice: Use of undefined constant arcade_challenge_per_page - assumed 'arcade_challenge_per_page' in C:\Server\htdocs\forums\arcade_sql.php on line 302

Notice: Use of undefined constant arcade_results_per_page - assumed 'arcade_results_per_page' in C:\Server\htdocs\forums\arcade_sql.php on line 303

Notice: Use of undefined constant arcade_highscores_per_page - assumed 'arcade_highscores_per_page' in C:\Server\htdocs\forums\arcade_sql.php on line 304

Notice: Use of undefined constant arcade_version - assumed 'arcade_version' in C:\Server\htdocs\forums\arcade_sql.php on line 305

Notice: Undefined index: step in C:\Server\htdocs\forums\arcade_sql.php on line 317


Quote from: John on February 04, 2005, 09:15:16 AM
Quote from: Waste on February 03, 2005, 12:15:34 PM
This is the fifth time I've tried to install this, and it has never worked.
I'm getting a 404 error this time.


[edit]
Error when trying to install from the package manager:

2: copy(C:\Server\htdocs\forums/Games/Thumbs.db): failed to open stream: Permission denied
File: C:\Server\htdocs\forums\Sources\Subs-Package.php
Line: 961


windows?
check ntfs permissions and script permissions
im not sure if windows will allow thumbs.db to be copied/replaced on windows but try deleting first if it exists in the folder its being copied to.

Yes, I already tried that.
Which is why I am now trying to do it manually.
I did everything the manual install intructions say and still get a 404 error when going to ?action=arcade

Title: Re: SMF Arcade
Post by: redone on February 04, 2005, 09:35:29 AM
Not sure how to help you I'm afraid. Post in the www.smfgames.com forum and I am sure someone there can help you out.

:)
Title: Re: SMF Arcade
Post by: johnm on February 04, 2005, 03:12:09 PM
has all of the source files been copied to were they need to go?
if no copy/upload them manually
has the database tables been added? again if no add them manually


Title: Re: SMF Arcade
Post by: Dem0n on February 04, 2005, 03:20:52 PM
does this work for the current version? Sorry if this has already been answred.
Title: Re: SMF Arcade
Post by: niko on February 04, 2005, 03:38:53 PM
Quote from: Douglas on January 30, 2005, 03:32:54 PM
Suggestions and bug fixes:

In Arcade.php, you have quite a few variables (Line 299 and 236 and 3 others) that need to have single quotes.  highscores, scores and member are three of the variables missing this info.  Check your Error Log file for the exact line numbers and variables.  I had to manually patch my Arcade.php file to fix this (attached, so you can run a diff).  Please fix this for your next version.
Fixed those

Quote from: Douglas on January 30, 2005, 03:32:54 PM
ALSO, in your games table, you have a field named "desc".  Please note that desc is short for DESCending, a MySQL/PHP control code for sorting.  You should consider changing this to descrip or dsc, to allow those of us that love doing things manually to be able to put the code in easily without having to rename it twice.

Will fix this to next version

Quote from: Douglas on January 30, 2005, 03:32:54 PM
ALSO, on another forum system (that will not be named), they had icons that would indicate whether a person had a high score for a game.  That would be a GREAT feature to implement.  The icons were the size of smilies, and were near a person's name.  You could also implement this into the profile page, as well.

Good work!  Keep it up!

Like this (http://www.kanetti.fi/~pahajoki/.smf/post.JPG) with icons added to left?
Title: Re: SMF Arcade
Post by: DoW Kid Rock on February 04, 2005, 04:21:03 PM
Quote from: Niko on February 04, 2005, 03:38:53 PM

Quote from: Douglas on January 30, 2005, 03:32:54 PM
ALSO, on another forum system (that will not be named), they had icons that would indicate whether a person had a high score for a game.  That would be a GREAT feature to implement.  The icons were the size of smilies, and were near a person's name.  You could also implement this into the profile page, as well.

Good work!  Keep it up!

Like this (http://www.kanetti.fi/~pahajoki/.smf/post.JPG) with icons added to left?

yeah that would be awesome!
Title: Re: SMF Arcade
Post by: Douglas on February 04, 2005, 04:27:25 PM
Quote from: Niko on February 04, 2005, 03:38:53 PMLike this (http://www.kanetti.fi/~pahajoki/.smf/post.JPG) with icons added to left?
Actually, I was thinking of little icons next to each other, general location, with mouseovers if they're the champ of that one.
Title: Re: SMF Arcade
Post by: Aravot on February 04, 2005, 04:28:07 PM
Quote from: Niko on February 04, 2005, 03:38:53 PM

Like this (http://www.kanetti.fi/~pahajoki/.smf/post.JPG) with icons added to left?

Is that for the next version?
Title: Re: SMF Arcade
Post by: Douglas on February 04, 2005, 04:31:46 PM
Aravot and Tony, if you're still having problems with those error messages, locate the Arcade.php file on Page 28 of this thread that I posted.  That will fix your problems.  Niko will be putting the fixes for that on the next version.  My uploaded file is a temp solution, needs to go into your Sources directory
Title: Re: SMF Arcade
Post by: Aravot on February 04, 2005, 05:52:39 PM
Quote from: Douglas on February 04, 2005, 04:31:46 PM
Aravot and Tony, if you're still having problems with those error messages, locate the Arcade.php file on Page 28 of this thread that I posted.  That will fix your problems.  Niko will be putting the fixes for that on the next version.  My uploaded file is a temp solution, needs to go into your Sources directory

Douglas, tried your file, I still get following errors.


8: Undefined index: game
File: /mywebsite.com/public_html/smf/Sources/Arcade.php
Line: 554


In your file single quote was missing from line 546 for 'arcade_highscores_per_page', but can't figure whats wrong in line 554, please help if you can.
Title: Re: SMF Arcade
Post by: Douglas on February 04, 2005, 07:38:49 PM
I just fixed the ones that were causing problems on mine.  As I said earlier, there's a bunch of them that need to be fixed.  The errors you are seeing might be because you don't have any games installed.  It happens.  Install some games and then let'er rip.  :)
Title: Re: SMF Arcade
Post by: johnm on February 04, 2005, 08:23:25 PM
We have added 58 new games to smfgames.com
These games are from Miniclip
Score function does not work for these games
to see a full list of these games see
HERE (http://smfgames.com/forum/index.php?action=arcade;caterogy=14)
You can also download these games here! (http://smfgames.com/index.php?ind=downloads&op=section_view&idev=17)
Please read our site policy first (http://smfgames.com/index.php?pid=6)
Title: Re: SMF Arcade
Post by: Tony Reid on February 04, 2005, 08:42:51 PM
Quote from: Douglas on February 04, 2005, 04:31:46 PM
Aravot and Tony, if you're still having problems with those error messages, locate the Arcade.php file on Page 28 of this thread that I posted. That will fix your problems. Niko will be putting the fixes for that on the next version. My uploaded file is a temp solution, needs to go into your Sources directory

Thanks Douglas - Ive been using your file for a couple of days ;)

Im still getting these errors...

Quote8: Use of undefined constant arcade_highscores_per_page - assumed 'arcade_highscores_per_page'
File: /home/fertilit/public_html/forum/Sources/Arcade.php
Line: 546

8: Use of undefined constant position - assumed 'position'
File: /home/fertilit/public_html/forum/Themes/default/Arcade.template.php (eval?)
Line: 503

Before I was using your fix I was getting about 13000 errors a day - now only 500 errors a day, so its much better ;D

I guess those lines will be fixed in the next beta :)


Title: Re: SMF Arcade
Post by: Aravot on February 04, 2005, 09:06:22 PM
To get rid of error 546 open file arcade.php find line 546 and add single quote to this

$per_sivu = $modSettings[arcade_highscores_per_page];

should be

$per_sivu = $modSettings['arcade_highscores_per_page'];
Title: Re: SMF Arcade
Post by: Tony Reid on February 04, 2005, 09:19:51 PM
Thank you Aravot :)

Ive just made the change :)
Title: Re: SMF Arcade
Post by: Tony Reid on February 04, 2005, 09:46:44 PM
Hmmm... similar bug here.....

For those with errors in line 503 of Arcade.template.php

search
echo "<tr class=\"{$a[$i % 2]}\"><td>".$temp[position].".</td><td><a href=\"{$scripturl}?action=profile;u={$temp['memberid']}\">".$temp['member']."</a></td><td>".$temp['score']."</td><td>".$temp['comment']."</td><td>".$temp['timef']."</td></tr>";

replace
echo "<tr class=\"{$a[$i % 2]}\"><td>".$temp['position'].".</td><td><a href=\"{$scripturl}?action=profile;u={$temp['memberid']}\">".$temp['member']."</a></td><td>".$temp['score']."</td><td>".$temp['comment']."</td><td>".$temp['timef']."</td></tr>";
Title: Re: SMF Arcade
Post by: Aravot on February 04, 2005, 10:10:42 PM
Thanks Tony for the bug fix I kept looking in Arcade.php for line 503 didn't realize it was Arcade.template.php.
Title: Re: SMF Arcade
Post by: sammy on February 05, 2005, 12:06:05 PM
I have two errors one on line 154  and one on line 200 please help this are the errors:

8: Use of undefined constant arcade_games_per_page - assumed 'arcade_games_per_page'
Bestand: /home/projects/mijndomein/default/...../_SMF/Sources/Arcade.php
Regel: 154

and
8: Use of undefined constant highscore - assumed 'highscore'
Bestand: /home/projects/mijndomein/default/...../_SMF/Sources/Arcade.php
Regel: 200

Title: Re: SMF Arcade
Post by: Douglas on February 05, 2005, 01:55:36 PM
Quote from: sammy on February 05, 2005, 12:06:05 PMI have two errors one on line 154 and one on line 200 please help this are the errors:

8: Use of undefined constant arcade_games_per_page - assumed 'arcade_games_per_page'
Bestand: /home/projects/mijndomein/default/...../_SMF/Sources/Arcade.php
Regel: 154

and
8: Use of undefined constant highscore - assumed 'highscore'
Bestand: /home/projects/mijndomein/default/...../_SMF/Sources/Arcade.php
Regel: 200
Open up Sources/Arcade.php in your favorite Text editor (I suggest Notepad).  Go to those lines and place single quotes around the assumed words there.  :)
Title: Re: SMF Arcade
Post by: Dragon Gamer on February 06, 2005, 02:40:46 PM
i have a serious question ok.

I installed the mod but how do i get the games going?

I am totally confused at this part.
Title: Re: SMF Arcade
Post by: _complex on February 06, 2005, 04:02:47 PM
Quote from: Dragon Gamer on February 06, 2005, 02:40:46 PM
i have a serious question ok.

I installed the mod but how do i get the games going?

I am totally confused at this part.

Make sure you uploaded, games into your "Games" Folder. There Should be an readme file in the package. And you can get games from SMFgames.com , I think it was.
Title: Re: SMF Arcade
Post by: sammy on February 07, 2005, 04:45:13 AM
I have this error many times with games please help me.

8: Undefined index: game
Bestand: /home/projects/mijndomein/default/....../www/....../Sources/Arcade.php
Regel: 598
Title: Re: SMF Arcade
Post by: greyknight17 on February 07, 2005, 09:16:12 AM
Hi there, I'm trying to install this mod.  Will it work for SMF 1.0.1?  I tried installing this as a test using my computer (localhost) and don't know what to do.

I installed/downloaded it via the Package Manager.  Then I saw all these instructions there.  Not sure what to do there, so I just hit the Proceed button at the bottom to complete the installation.  Is that done correctly?  I now have games button in the top of my forum but I don't know how to upload the games there.  Are they suppose to be in separate folders?  I didn't do anything (move, copy, etc.) - just clicked on Proceed to install it.

I'm very new to adding mods to SMF, so any details will be greatly appreciated.

Thanks.
Title: Re: SMF Arcade
Post by: niko on February 07, 2005, 02:48:28 PM
It will work...

and 1.00 is now released :)

Edit: one quick fix added (to package)
Title: Re: SMF Arcade
Post by: Tony Reid on February 07, 2005, 06:24:11 PM
I just noticed how many queries get processed when paging through the game list....

Page created in 7.623 seconds with 110 queries.  with 7 games per page
Page created in 2.754 seconds with 223 queries.  with 15 games per page

I suggest that there be a lot less when the next version comes out.

Title: Re: SMF Arcade
Post by: Tony Reid on February 07, 2005, 06:25:20 PM
Quote from: Niko on February 07, 2005, 02:48:28 PM
It will work...

and 1.00 is now released :)

Edit: one quick fix added (to package)

Was it the one I found? line 245 of Arcade.php or another?
Title: Re: SMF Arcade
Post by: niko on February 08, 2005, 01:31:36 AM
Quote from: Tony on February 07, 2005, 06:25:20 PM
Quote from: Niko on February 07, 2005, 02:48:28 PM
It will work...

and 1.00 is now released :)

Edit: one quick fix added (to package)

Was it the one I found? line 245 of Arcade.php or another?

Missing 2 x > on arcade.xml
and i think line '245 ' is fixed

Quote from: Tony on February 07, 2005, 06:24:11 PM
I just noticed how many queries get processed when paging through the game list....

Page created in 7.623 seconds with 110 queries. with 7 games per page
Page created in 2.754 seconds with 223 queries. with 15 games per page

I suggest that there be a lot less when the next version comes out.



Yeah that needs to optimized somehow

Page created in 0.593 seconds with 257 queries. with 50 games on page
and with little optimized that i did
Page created in 0.403 seconds with 152 queries. :)
Title: Re: SMF Arcade
Post by: Jerry on February 08, 2005, 04:43:23 AM
I ran the SQL installer but I get this after install:
Table 'raclan_forums.smf_games' doesn't exist
File: /xxx/xxx/public_html/Sources/Arcade.php
Line: 738


I think it has to do with this:
Running query CREATE TABLE IF NOT EXISTS `smf_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF' , );... Failed

I ran this with phpmyadmin, will it be ok?
CREATE TABLE `smf_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF');
Title: Re: SMF Arcade
Post by: trenchteam on February 08, 2005, 04:49:09 AM
I got it working! THE LATEST UPGRADE. It wasnt as easy as I thought it would be though. I manually added al the files then ran the SQL.  The package manager was really screwing my site over for a bit.  How do you get the champion icon where your avatar is at? thats a cool feature. IM using a custom template, so can you tell me where to add the tags/
Title: Re: SMF Arcade
Post by: Dragon Gamer on February 08, 2005, 07:15:00 AM
Ok now that is done what else.

I did that and followed all the instructions but the list of games says none installed.
Title: Re: SMF Arcade
Post by: johnm on February 08, 2005, 07:53:53 AM
Quote from: trenchteam on February 08, 2005, 04:49:09 AM
I got it working! THE LATEST UPGRADE. It wasnt as easy as I thought it would be though. I manually added al the files then ran the SQL.  The package manager was really screwing my site over for a bit.  How do you get the champion icon where your avatar is at? thats a cool feature. IM using a custom template, so can you tell me where to add the tags/

you need to edit Display.php and Display.template.php read through arcade.xml to see were the edits need to go
Title: Re: SMF Arcade
Post by: niko on February 08, 2005, 10:05:51 AM
Quote from: Jerry on February 08, 2005, 04:43:23 AM
I ran the SQL installer but I get this after install:
Table 'raclan_forums.smf_games' doesn't exist
File: /xxx/xxx/public_html/Sources/Arcade.php
Line: 738


I think it has to do with this:
Running query CREATE TABLE IF NOT EXISTS `smf_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF' , );... Failed

I ran this with phpmyadmin, will it be ok?
CREATE TABLE `smf_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF');

yes
Title: Re: SMF Arcade
Post by: Elessar on February 08, 2005, 11:29:23 AM
1.0 version upgraded from 6.1b.
When i go to results of a game i found that the page list enlarges to more than 200/500 pages of empty results. All is installed ok, and the modifications are ok too. Any Idea?
Title: Re: SMF Arcade
Post by: Champi on February 08, 2005, 11:35:10 AM
Everything went fine wtih upgrading... except when i want to go to the admin panel... it brings me to the foruminddex file... what file do i miss... i has to go to arcadeadmin...
Title: Re: SMF Arcade
Post by: Elessar on February 08, 2005, 11:40:19 AM
Quote from: champi.nl on February 08, 2005, 11:35:10 AM
Everything went fine wtih upgrading... except when i want to go to the admin panel... it brings me to the foruminddex file... what file do i miss... i has to go to arcadeadmin...

Open index.phpFind
'admin' => array('Admin.php', 'Admin'),
Add after
'arcade' => array('Arcade.php','Arcade'),
'arcadeadmin' => array('Arcade.php', 'ArcadeAdmin'),

It's possible that you forgot the last line.
Title: Re: SMF Arcade
Post by: Champi on February 08, 2005, 01:17:56 PM
you re right.... i missed 'arcadeadmin' => array('Arcade.php', 'ArcadeAdmin'),   :D
Title: Re: SMF Arcade
Post by: russ on February 08, 2005, 01:40:28 PM
Its causing an error with the permissions part of the admin section, any1 else get that error?
Title: Re: SMF Arcade
Post by: _complex on February 08, 2005, 01:48:53 PM
Quote from: russ on February 08, 2005, 01:40:28 PM
Its causing an error with the permissions part of the admin section, any1 else get that error?

mind giving the error its giving you..
Title: Re: SMF Arcade
Post by: sammy on February 08, 2005, 03:10:28 PM
i have many times this errors on my forum:
Undefined index: game
Undefined variable: time
unserialize(): Argument is not a string
Undefined index: game_html

Have more people this and how can i this fix i have installed SMF Arcade 1.0 and SMF 1.0.1

Please help me !
Title: Re: SMF Arcade
Post by: niko on February 08, 2005, 03:52:09 PM
lines please
Title: Re: SMF Arcade
Post by: sammy on February 08, 2005, 04:17:46 PM
i have many times this errors on my forum: with lines

Undefined index: game
8: Undefined index: game
Bestand: /home/projects/mijndomein/default/.../www/Wil/_SMF/Sources/Arcade.php
Regel: 396

8: Undefined index: game
Bestand: /home/projects/mijndomein/default/.../www/Wil/_SMF/Sources/Arcade.php
Regel: 440

Undefined variable: time
8: Undefined variable: time
Bestand: /home/projects/mijndomein/default/.../www/Wil/_SMF/Sources/Arcade.php
Regel: 418

unserialize(): Argument is not a string
8: unserialize(): Argument is not a string
Bestand: /home/projects/mijndomein/default/.../www/Wil/_SMF/Sources/Arcade.php
Regel: 327

Undefined index: game_html
8: Undefined index: game_html
Bestand: /home/projects/mijndomein/default/.../www/Wil/_SMF/Themes/default/languages/Arcade.dutch.php (eval?)
Regel: 382

Have more people this and how can i this fix all the above errors are many time's on my error list more than 2o time on 3 Hours i have installed SMF Arcade 1.0 and SMF 1.0.1

Please help me !
Title: Re: SMF Arcade
Post by: johnm on February 08, 2005, 08:26:26 PM
Quote from: sammy on February 08, 2005, 04:17:46 PM
i have many times this errors on my forum: with lines

Undefined index: game
8: Undefined index: game
Bestand: /home/projects/mijndomein/default/.../www/Wil/_SMF/Sources/Arcade.php
Regel: 396

8: Undefined index: game
Bestand: /home/projects/mijndomein/default/.../www/Wil/_SMF/Sources/Arcade.php
Regel: 440

Undefined variable: time
8: Undefined variable: time
Bestand: /home/projects/mijndomein/default/.../www/Wil/_SMF/Sources/Arcade.php
Regel: 418

unserialize(): Argument is not a string
8: unserialize(): Argument is not a string
Bestand: /home/projects/mijndomein/default/.../www/Wil/_SMF/Sources/Arcade.php
Regel: 327

Undefined index: game_html
8: Undefined index: game_html
Bestand: /home/projects/mijndomein/default/.../www/Wil/_SMF/Themes/default/languages/Arcade.dutch.php (eval?)
Regel: 382

Have more people this and how can i this fix all the above errors are many time's on my error list more than 2o time on 3 Hours i have installed SMF Arcade 1.0 and SMF 1.0.1

Please help me !

Yes i think were all getting these

Niko theres quite a lot of these errors coming up on smfgames.com when you get a chance it might be worth checking them, im not botherd about them at this time (its not the end of the world! lol )
Just think it may be easier for you to check it there instead of sifting through posts

John
Title: Re: SMF Arcade
Post by: JayBachatero on February 08, 2005, 08:55:57 PM
would it be possible to pull the latest highscores through ssi to put them in my home page.
Title: Re: SMF Arcade
Post by: Sig on February 09, 2005, 05:02:56 AM
Quote from: russ on February 08, 2005, 01:40:28 PM
Its causing an error with the permissions part of the admin section, any1 else get that error?

yes, I get an error in permissions as well. error on line 998
Title: Re: SMF Arcade
Post by: _complex on February 09, 2005, 03:06:47 PM
Quote from: Sig on February 09, 2005, 05:02:56 AM
Quote from: russ on February 08, 2005, 01:40:28 PM
Its causing an error with the permissions part of the admin section, any1 else get that error?

yes, I get an error in permissions as well. error on line 998

What does the error line read??.. and what file.. managepermissions.php?
Title: Re: SMF Arcade
Post by: johnm on February 09, 2005, 04:59:11 PM
Quote from: LiL_J on February 08, 2005, 08:55:57 PM
would it be possible to pull the latest highscores through ssi to put them in my home page.

you wont be able to use ssi but you may be able to include Arcade.template.php
and then call one of its functions.

I'll have a go at this later and ill post back here to let you know
Title: Re: SMF Arcade
Post by: JayBachatero on February 09, 2005, 05:12:03 PM
iight thanks john.
Title: Re: SMF Arcade
Post by: sh-demon on February 09, 2005, 11:47:11 PM
I have tried installing this mod on a fresh installation of smf and i keep on getting the same two (2) errors when it gets to step 2. Two of the queries fail to run and when i try to run them myself using phpmyadmin they also fail as well giving me an error stating that i seem to have an error in my sql syntax. Here are the exact errors.


SMF Arcade Install & Update tool
Welcome to Arcade Install & Update tool
Connectin to database... Connected and Selected Database
Checking settings
Running query SELECT * FROM smf_settings WHERE variable='arcade_games_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_challenge_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_results_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_highscores_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_highscores_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_version'... Success
Running query INSERT INTO smf_settings SET value='1.00', variable='arcade_version'... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF' , );... Failed
Running query CREATE TABLE IF NOT EXISTS `smf_games_challenge` ( `cid` int(11) NOT NULL auto_increment PRIMARY KEY, `player1` int(11) NOT NULL DEFAULT '0' , `player2` int(11) NOT NULL DEFAULT '0' , `game` int(11) NOT NULL DEFAULT '0' , `player1_score` float NOT NULL DEFAULT '0' , `player2_score` float NOT NULL DEFAULT '0' , `message` varchar(255) NOT NULL , `complete` int(11) NOT NULL DEFAULT '0' , `reason` varchar(255) NOT NULL , `player1_status` int(11) NOT NULL DEFAULT '0' , `player2_status` int(11) NOT NULL DEFAULT '0' , `time` int(11) NOT NULL DEFAULT '0' );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_high` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `member` int(11) NOT NULL DEFAULT '0' , `score` float NOT NULL DEFAULT '0' , `stime` bigint(20) NOT NULL DEFAULT '0' , `ip` varchar(11) NOT NULL , `comment` varchar(255) );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_caterogy` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `name` varchar(255) NOT NULL );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_sessions` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `user` int(11) NOT NULL DEFAULT '0' , `info` tinytext NOT NULL );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` ( `id` int(11) NOT NULL DEFAULT '0' auto_increment PRIMARY KEY, `member` int(11) NOT NULL DEFAULT '0' , `game` varchar(255) NOT NULL DEFAULT '0' );... Failed
Table 'smf.smf_games' doesn't exist


thats what happens on step two.

this is what happens when i try to run those 2 queries again using phpmyadmin

this is for the first querie i run once again this is the querie

Running query CREATE TABLE IF NOT EXISTS `smf_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF' , )

this is the error

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Running query CREATE TABLE IF NOT EXISTS `smf_games` ( `id` int(11) NOT NULL aut' at line 1

this is for the 2nd querie that fails

this is the querie i am running

SQL-query:

Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` (

`id` int( 11 ) NOT NULL DEFAULT '0' AUTO_INCREMENT PRIMARY KEY ,
`member` int( 11 ) NOT NULL DEFAULT '0',
`game` varchar( 255 ) NOT NULL DEFAULT '0'
)

this is the error

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` ( `id` int(11) NOT NU' at line 1

any help on this will be greatly appreciated.
Title: Re: SMF Arcade
Post by: trenchteam on February 10, 2005, 06:43:02 AM
Quote from: John on February 08, 2005, 07:53:53 AM
Quote from: trenchteam on February 08, 2005, 04:49:09 AM
I got it working! THE LATEST UPGRADE. It wasnt as easy as I thought it would be though. I manually added al the files then ran the SQL.  The package manager was really screwing my site over for a bit.  How do you get the champion icon where your avatar is at? thats a cool feature. IM using a custom template, so can you tell me where to add the tags/

you need to edit Display.php and Display.template.php read through arcade.xml to see were the edits need to go

thanks man.  Everyone who is having problems.  Try uploading it manually.  I got the same errors you did. Then I had to give all the files permissions again.  Wala!  I used the sql and it worked for me. 
Title: Re: SMF Arcade
Post by: johnm on February 10, 2005, 08:25:13 AM
Quote from: sh-demon on February 09, 2005, 11:47:11 PM
I have tried installing this mod on a fresh installation of smf and i keep on getting the same two (2) errors when it gets to step 2. Two of the queries fail to run and when i try to run them myself using phpmyadmin they also fail as well giving me an error stating that i seem to have an error in my sql syntax. Here are the exact errors.


SMF Arcade Install & Update tool
Welcome to Arcade Install & Update tool
Connectin to database... Connected and Selected Database
Checking settings
Running query SELECT * FROM smf_settings WHERE variable='arcade_games_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_challenge_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_results_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_highscores_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_highscores_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_version'... Success
Running query INSERT INTO smf_settings SET value='1.00', variable='arcade_version'... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF' , );... Failed
Running query CREATE TABLE IF NOT EXISTS `smf_games_challenge` ( `cid` int(11) NOT NULL auto_increment PRIMARY KEY, `player1` int(11) NOT NULL DEFAULT '0' , `player2` int(11) NOT NULL DEFAULT '0' , `game` int(11) NOT NULL DEFAULT '0' , `player1_score` float NOT NULL DEFAULT '0' , `player2_score` float NOT NULL DEFAULT '0' , `message` varchar(255) NOT NULL , `complete` int(11) NOT NULL DEFAULT '0' , `reason` varchar(255) NOT NULL , `player1_status` int(11) NOT NULL DEFAULT '0' , `player2_status` int(11) NOT NULL DEFAULT '0' , `time` int(11) NOT NULL DEFAULT '0' );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_high` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `member` int(11) NOT NULL DEFAULT '0' , `score` float NOT NULL DEFAULT '0' , `stime` bigint(20) NOT NULL DEFAULT '0' , `ip` varchar(11) NOT NULL , `comment` varchar(255) );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_caterogy` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `name` varchar(255) NOT NULL );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_sessions` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `user` int(11) NOT NULL DEFAULT '0' , `info` tinytext NOT NULL );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` ( `id` int(11) NOT NULL DEFAULT '0' auto_increment PRIMARY KEY, `member` int(11) NOT NULL DEFAULT '0' , `game` varchar(255) NOT NULL DEFAULT '0' );... Failed
Table 'smf.smf_games' doesn't exist


thats what happens on step two.

this is what happens when i try to run those 2 queries again using phpmyadmin

this is for the first querie i run once again this is the querie

Running query CREATE TABLE IF NOT EXISTS `smf_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF' , )

this is the error

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Running query CREATE TABLE IF NOT EXISTS `smf_games` ( `id` int(11) NOT NULL aut' at line 1

this is for the 2nd querie that fails

this is the querie i am running

SQL-query:

Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` (

`id` int( 11 ) NOT NULL DEFAULT '0' AUTO_INCREMENT PRIMARY KEY ,
`member` int( 11 ) NOT NULL DEFAULT '0',
`game` varchar( 255 ) NOT NULL DEFAULT '0'
)

this is the error

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` ( `id` int(11) NOT NU' at line 1

any help on this will be greatly appreciated.

try adding thos tables manually one at a time by copying and pasting from the arcade's mysql file to the phpmyadmin sql window
Title: Re: SMF Arcade
Post by: maufonseca on February 12, 2005, 11:18:54 AM
Hi, I am too lazy to look at the other pages........ Anyone knows if there are some modifications I can do in other themes to make the arcade work/look fine

I am having this errors:

My arcade look like this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv57%2Fmaufonseca93%2FAvatars%2520and%2520siggys%2Farcadeincorrect.bmp&hash=725b99c1a2a86a09cc9bf2c456ba852b0defd2f6) (my theme)

And should look like this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv57%2Fmaufonseca93%2FAvatars%2520and%2520siggys%2Farcadecorrect.bmp&hash=fdf5551f6fa13e8647a218999d7cda83debbd07c) (default theme)
Title: Re: SMF Arcade
Post by: Midgard on February 12, 2005, 11:23:42 AM
Can't see nothing
Title: Re: SMF Arcade
Post by: maufonseca on February 12, 2005, 11:32:31 AM
Look at the boxes where you can find the high-scores and your high-scores
Also the box that says the categories and the sections (Admin,...)
Title: another error?
Post by: devinshade on February 12, 2005, 12:38:20 PM
Anyone having this error when click on the Arcade [Games] in Admin panel?

2: Invalid argument supplied for foreach()
File: ...\Themes\default\languages\Arcade.english.php (eval?)
Line: 133

Please share the knowledge.  Thanks.
Title: Re: SMF Arcade
Post by: zulfy26 on February 12, 2005, 01:11:33 PM
maufonseca, check the files that were put into the theme folder.  For each theme you need to modify a bunch of files.
Title: Re: SMF Arcade
Post by: niko on February 12, 2005, 01:27:20 PM
Quote from: maufonseca on February 12, 2005, 11:18:54 AM
Hi, I am too lazy to look at the other pages........ Anyone knows if there are some modifications I can do in other themes to make the arcade work/look fine

I am having this errors:

My arcade look like this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv57%2Fmaufonseca93%2FAvatars%2520and%2520siggys%2Farcadeincorrect.bmp&hash=725b99c1a2a86a09cc9bf2c456ba852b0defd2f6) (my theme)

And should look like this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv57%2Fmaufonseca93%2FAvatars%2520and%2520siggys%2Farcadecorrect.bmp&hash=fdf5551f6fa13e8647a218999d7cda83debbd07c) (default theme)

That looks like misssing langauge file
Title: Re: SMF Arcade
Post by: maufonseca on February 12, 2005, 01:31:47 PM
Do you have an idea of wich one should it be?
Title: Re: SMF Arcade
Post by: xenovanis on February 12, 2005, 01:52:43 PM
Look in de mod file for the changes made in your english language file and adjust this manually in the language file which you use for your Planetfall theme.
Title: Re: SMF Arcade
Post by: maufonseca on February 12, 2005, 01:55:57 PM
I was missing Modifications.english.php

Thanks :D
Title: Re: SMF Arcade
Post by: Xtasy on February 12, 2005, 08:47:48 PM
Hey guys I have the arcade up and running on the latest version of SMF but Ive run into 1 problem. When I Click admin then arcade settings I recieve the following error: "Query is invalid!" Making it impossible to edit the settings and categories. Anyone got any suggestions?
Title: Re: SMF Arcade
Post by: niko on February 13, 2005, 02:57:08 AM
update to lastest
Title: Re: SMF Arcade
Post by: sh-demon on February 13, 2005, 06:34:37 PM
Im not sure how to do that. could you post here the queries that i need to run for the arcade to work. I tried runnint the queries that failed again using phpmyadmin but they would always fail. I think there might be something wrong with the actual queries. Only 2 of the queries failed so there must be something wrong with them. Any help with this would be greatly appreciated. I really want to get this thing to work.

the following query fails when i try to run it using phpmyadmin

SQL-query:

CREATE TABLE IF NOT EXISTS `smf_games` (

`id` int( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`game` varchar( 25 ) NOT NULL ,
`name` varchar( 25 ) NOT NULL ,
`help` text NOT NULL ,
`desc` text NOT NULL ,
`highscore` int( 11 ) NOT NULL DEFAULT '0',
`caterogy` int( 11 ) NOT NULL DEFAULT '0',
`width` int( 11 ) NOT NULL DEFAULT '0',
`height` int( 11 ) NOT NULL DEFAULT '0',
`type` int( 11 ) NOT NULL DEFAULT '0',
`file` varchar( 255 ) NOT NULL ,
`bgcolor` varchar( 7 ) NOT NULL DEFAULT '#FFFFFF',

)


this is the error i get after trying to run it


MySQL said: 

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1


this query fails only because the first query above fails to create the table

Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` ( `id` int(11) NOT NULL DEFAULT '0' auto_increment PRIMARY KEY, `member` int(11) NOT NULL DEFAULT '0' , `game` varchar(255) NOT NULL DEFAULT '0' );... Failed
Table 'smf2.smf_games' doesn't exist


I installed a brand spanking new smf board in another folder and created a new database for it just to try this out again and yet it still doesn't work so it must be something the actual mod is messing up on. I am using both latest smf forum and smf arcade so im at a loss as to what is wrong.
Title: Re: SMF Arcade
Post by: Elijah Bliss on February 13, 2005, 10:50:04 PM
Quote from: sh-demon on February 13, 2005, 06:34:37 PM
Im not sure how to do that. could you post here the queries that i need to run for the arcade to work. I tried runnint the queries that failed again using phpmyadmin but they would always fail. I think there might be something wrong with the actual queries. Only 2 of the queries failed so there must be something wrong with them. Any help with this would be greatly appreciated. I really want to get this thing to work.

the following query fails when i try to run it using phpmyadmin

SQL-query:

CREATE TABLE IF NOT EXISTS `smf_games` (

`id` int( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`game` varchar( 25 ) NOT NULL ,
`name` varchar( 25 ) NOT NULL ,
`help` text NOT NULL ,
`desc` text NOT NULL ,
`highscore` int( 11 ) NOT NULL DEFAULT '0',
`caterogy` int( 11 ) NOT NULL DEFAULT '0',
`width` int( 11 ) NOT NULL DEFAULT '0',
`height` int( 11 ) NOT NULL DEFAULT '0',
`type` int( 11 ) NOT NULL DEFAULT '0',
`file` varchar( 255 ) NOT NULL ,
`bgcolor` varchar( 7 ) NOT NULL DEFAULT '#FFFFFF',

)


this is the error i get after trying to run it


MySQL said: 

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1


this query fails only because the first query above fails to create the table

Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` ( `id` int(11) NOT NULL DEFAULT '0' auto_increment PRIMARY KEY, `member` int(11) NOT NULL DEFAULT '0' , `game` varchar(255) NOT NULL DEFAULT '0' );... Failed
Table 'smf2.smf_games' doesn't exist


I installed a brand spanking new smf board in another folder and created a new database for it just to try this out again and yet it still doesn't work so it must be something the actual mod is messing up on. I am using both latest smf forum and smf arcade so im at a loss as to what is wrong.

same problem here.
Title: Re: SMF Arcade
Post by: Tony Reid on February 14, 2005, 03:45:57 AM
That query is for the previous version of Arcade not the latest release.

The field 'desc' has since been replaced with 'dsc'  and I guess some other things would have changed.

You both need to upgrade to the current version.

Title: Re: SMF Arcade
Post by: johnm on February 14, 2005, 04:58:41 AM
Quote from: sh-demon on February 13, 2005, 06:34:37 PM
Im not sure how to do that. could you post here the queries that i need to run for the arcade to work. I tried runnint the queries that failed again using phpmyadmin but they would always fail. I think there might be something wrong with the actual queries. Only 2 of the queries failed so there must be something wrong with them. Any help with this would be greatly appreciated. I really want to get this thing to work.

the following query fails when i try to run it using phpmyadmin

SQL-query:

CREATE TABLE IF NOT EXISTS `smf_games` (

`id` int( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`game` varchar( 25 ) NOT NULL ,
`name` varchar( 25 ) NOT NULL ,
`help` text NOT NULL ,
`desc` text NOT NULL ,
`highscore` int( 11 ) NOT NULL DEFAULT '0',
`caterogy` int( 11 ) NOT NULL DEFAULT '0',
`width` int( 11 ) NOT NULL DEFAULT '0',
`height` int( 11 ) NOT NULL DEFAULT '0',
`type` int( 11 ) NOT NULL DEFAULT '0',
`file` varchar( 255 ) NOT NULL ,
`bgcolor` varchar( 7 ) NOT NULL DEFAULT '#FFFFFF',

)


this is the error i get after trying to run it


MySQL said: 

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1


this query fails only because the first query above fails to create the table

Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` ( `id` int(11) NOT NULL DEFAULT '0' auto_increment PRIMARY KEY, `member` int(11) NOT NULL DEFAULT '0' , `game` varchar(255) NOT NULL DEFAULT '0' );... Failed
Table 'smf2.smf_games' doesn't exist


I installed a brand spanking new smf board in another folder and created a new database for it just to try this out again and yet it still doesn't work so it must be something the actual mod is messing up on. I am using both latest smf forum and smf arcade so im at a loss as to what is wrong.


would i be correct to assume that your db prefix is smf2_ ???
you need to reflect that when adding any code in to the sql window cause if your forums is looking for a table starting with smf2_ and not actualy smf_

Title: Re: SMF Arcade
Post by: sh-demon on February 14, 2005, 08:13:26 AM
I am using the current version because i just downloaded it again yesterday. I have also tried it with smf_ and smf2_ so i do not know what is wrong.
Title: Re: SMF Arcade
Post by: Tony Reid on February 14, 2005, 08:20:31 AM
Then I dont know why your sql script has the 'desc' field - that was removed.

As an example here is my games table..... which you could try(might have to add the prefix) - however, Im not so sure it would work...


CREATE TABLE `games` (
  `id` int(11) NOT NULL auto_increment,
  `game` varchar(25) NOT NULL default '',
  `name` varchar(25) NOT NULL default '',
  `dsc` text NOT NULL,
  `highscore` int(11) NOT NULL default '0',
  `caterogy` int(11) NOT NULL default '0',
  `width` int(11) NOT NULL default '0',
  `height` int(11) NOT NULL default '0',
  `type` int(11) NOT NULL default '0',
  `file` varchar(255) NOT NULL default '',
  `bgcolor` varchar(7) NOT NULL default '#FFFFFF',
  `help` text NOT NULL,
  PRIMARY KEY  (`id`)
) TYPE=MyISAM AUTO_INCREMENT=50 ;
       

Title: Re: SMF Arcade
Post by: Jazhawk on February 14, 2005, 01:26:46 PM
Table 'jazhawk_forum.smf_games_caterogy' doesn't exist
File: /home/jazhawk/public_html/forum/Sources/Arcade.php
Line: 722

What does this mean.  (other than the obvious)  How do I fix this?

-Jazhawk
Title: Re: SMF Arcade
Post by: Elijah Bliss on February 14, 2005, 03:26:57 PM
This mod doesn't work when doing a clean install, it's only good as an update.
Title: Re: SMF Arcade
Post by: niko on February 14, 2005, 03:40:58 PM
1.0.1 is released in installer should now work propely also theres one major change on challenge feature
Installer bug was only on some mysql-version i think and was beacuse default values on auto_increment filed
Title: Re: SMF Arcade
Post by: Elijah Bliss on February 14, 2005, 04:16:05 PM
Quote from: Niko on February 14, 2005, 03:40:58 PM
1.0.1 is released in installer should now work propely also theres one major change on challenge feature
Installer bug was only on some mysql-version i think and was beacuse default values on auto_increment filed

Cool!

Excellent work BTW!
Title: Re: SMF Arcade
Post by: JayBachatero on February 14, 2005, 06:22:38 PM
I was thinking that there should be an option to add categories directly from the admin panel instead of going to the databses and modifying it there.
Title: Re: SMF Arcade
Post by: sh-demon on February 14, 2005, 08:28:59 PM
Once again new install and now same query fails again

Running query CREATE TABLE IF NOT EXISTS `smf2_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF' , );... Failed You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 14

that is from the arcade installer.

this is from phpmyadmin

SQL-query:

CREATE TABLE IF NOT EXISTS `smf2_games` (

`id` int( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`game` varchar( 25 ) NOT NULL ,
`name` varchar( 25 ) NOT NULL ,
`help` text NOT NULL ,
`desc` text NOT NULL ,
`highscore` int( 11 ) NOT NULL DEFAULT '0',
`caterogy` int( 11 ) NOT NULL DEFAULT '0',
`width` int( 11 ) NOT NULL DEFAULT '0',
`height` int( 11 ) NOT NULL DEFAULT '0',
`type` int( 11 ) NOT NULL DEFAULT '0',
`file` varchar( 255 ) NOT NULL ,
`bgcolor` varchar( 7 ) NOT NULL DEFAULT '#FFFFFF',

)
MySQL said: 

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1


this is on a fresh install of smf and a fresh install of the arcade using the package manager. this is the only mod i cannot seem to get to work on my board.
Title: Re: SMF Arcade
Post by: _complex on February 15, 2005, 12:04:15 AM
Get this iN Error log??

http://my.site/forum//index.php?action=arcade
Apply Filter: Only show the errors with the same message
2: Division by zero
File: /home/XXX/public_html/forum/Sources/Subs.php
Line: 582


http://my.site/forum//index.php?action=arcade
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_games_per_page
File: /home/XXX/public_html/forum/Sources/Arcade.php
Line: 163
Title: Re: SMF Arcade
Post by: johnm on February 15, 2005, 09:04:59 AM
Quote from: sh-demon on February 14, 2005, 08:28:59 PM
Once again new install and now same query fails again

Running query CREATE TABLE IF NOT EXISTS `smf2_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF' , );... Failed You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 14

that is from the arcade installer.

this is from phpmyadmin

SQL-query:

CREATE TABLE IF NOT EXISTS `smf2_games` (

`id` int( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`game` varchar( 25 ) NOT NULL ,
`name` varchar( 25 ) NOT NULL ,
`help` text NOT NULL ,
`desc` text NOT NULL ,
`highscore` int( 11 ) NOT NULL DEFAULT '0',
`caterogy` int( 11 ) NOT NULL DEFAULT '0',
`width` int( 11 ) NOT NULL DEFAULT '0',
`height` int( 11 ) NOT NULL DEFAULT '0',
`type` int( 11 ) NOT NULL DEFAULT '0',
`file` varchar( 255 ) NOT NULL ,
`bgcolor` varchar( 7 ) NOT NULL DEFAULT '#FFFFFF',

)
MySQL said: 

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1


this is on a fresh install of smf and a fresh install of the arcade using the package manager. this is the only mod i cannot seem to get to work on my board.

use this check your db prefix!!!!!!!!!


CREATE TABLE `smf_games` (
  `id` int(11) NOT NULL auto_increment,
  `game` varchar(25) NOT NULL default '',
  `name` varchar(25) NOT NULL default '',
  `dsc` text NOT NULL,
  `highscore` int(11) NOT NULL default '0',
  `caterogy` int(11) NOT NULL default '0',
  `width` int(11) NOT NULL default '0',
  `height` int(11) NOT NULL default '0',
  `type` int(11) NOT NULL default '0',
  `file` varchar(255) NOT NULL default '',
  `bgcolor` varchar(7) NOT NULL default '#FFFFFF',
  `help` text NOT NULL,
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;
Title: Re: SMF Arcade
Post by: niko on February 15, 2005, 12:20:59 PM
Fixed installer (http://svnhosting.org:8000/websvn/filedetails.php?repname=pahajoki&path=%2Ftrunk%2Farcade_sql.php&rev=0&sc=0) is now available
Title: Re: SMF Arcade
Post by: _complex on February 15, 2005, 01:35:46 PM

Im getting this in my forum Error log.. Way to fix this.?? :-\

http://my.site/forum//index.php?action=arcade
Apply Filter: Only show the errors with the same message
2: Division by zero
File: /home/XXX/public_html/forum/Sources/Subs.php
Line: 582


http://my.site/forum//index.php?action=arcade
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_games_per_page
File: /home/XXX/public_html/forum/Sources/Arcade.php
Line: 163

Title: Re: SMF Arcade
Post by: niko on February 15, 2005, 01:39:08 PM
INSERT INTO smf_settings SET value='1.00', variable='arcade_version'
INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'


those must be inserted
Title: Re: SMF Arcade
Post by: _complex on February 15, 2005, 01:43:00 PM
 MySQL said: Documentation
#1064 - You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO smf_settings SET value='15', variable='arcade_games
Title: Re: SMF Arcade
Post by: FaSan on February 15, 2005, 02:34:26 PM
Quote from: _complex on February 15, 2005, 01:43:00 PM
MySQL said: Documentation
#1064 - You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO smf_settings SET value='15', variable='arcade_games


You Need, at the end ';


Title: Re: SMF Arcade
Post by: _complex on February 15, 2005, 02:55:21 PM
Hmm I did like this
INSERT INTO smf_settings SET value='1.00', variable='arcade_version'
INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'';


and it said

MySQL said: Documentation
#1064 - You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'I' at line 1
Title: Re: SMF Arcade
Post by: sportman3333333 on February 15, 2005, 02:59:28 PM
this is a great mod, i love it and my members love it :)
Title: Re: SMF Arcade
Post by: Elijah Bliss on February 15, 2005, 05:37:06 PM
I found this:
legenddriverc scored 3.11e+06 on Video Poker at Today at 12:50:44 PM (11)

Is there anyway to convert that in to a whole number?
Title: Re: SMF Arcade
Post by: sportman3333333 on February 15, 2005, 08:52:30 PM
Ok one more question, if i wanted to uninstall my arcade which i am not. It doesnt show SMFArcade in the package manager? Why?
Title: Re: SMF Arcade
Post by: sh-demon on February 15, 2005, 09:31:05 PM
once again I still keep getting the failed to create error for smf_games this is the only query that is not working. Can someone please help me here before i go nuts. I really want to try out this mod.
Title: Re: SMF Arcade
Post by: sh-demon on February 15, 2005, 09:39:35 PM
ok finally got it to work. I had to use that new arcade.sql.php file and install it manually. the package manager was doing something wrong. now where do i get these games from.
Title: Re: SMF Arcade
Post by: Elijah Bliss on February 15, 2005, 10:48:21 PM
Quote from: sh-demon on February 15, 2005, 09:39:35 PM
ok finally got it to work. I had to use that new arcade.sql.php file and install it manually. the package manager was doing something wrong. now where do i get these games from.

http://smfgames.com/forum/index.php
Title: Re: SMF Arcade
Post by: sh-demon on February 15, 2005, 11:37:38 PM
yes i found them and i downloaded that huge pack but im having issues installing them i keep getting a dsc error after i hit install

this is the error


You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' height=, type=0, file='airfox.swf'' at line 1
File: c:\wamp\www\forums\Sources\Arcade.php
Line: 956


are there any default values that need to be filled in for these games to install?
Title: Re: SMF Arcade
Post by: Little Wolf on February 16, 2005, 11:58:46 AM
Quote from: sh-demon on February 15, 2005, 11:37:38 PM
yes i found them and i downloaded that huge pack but im having issues installing them i keep getting a dsc error after i hit install

this is the error


You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' height=, type=0, file='airfox.swf'' at line 1
File: c:\wamp\www\forums\Sources\Arcade.php
Line: 956


are there any default values that need to be filled in for these games to install?

You just put the games in your Games folder, install the games through the Arcade Admin section and that should be fine.
Title: Re: SMF Arcade
Post by: sh-demon on February 16, 2005, 08:54:20 PM
Ok here is what i do i click on admin then click on arcade then click on games and it brings up a page that lets you click one of the games and then click on install. After choosing a game say airfox i then click on install it then brings up another page which shows some fields that let you enter some information about them like game name , width, height, background, help text box and a description box. Now i have no idea what i have to enter in these areas to make the game install cuz just clicking on install will bring up an error about width and height. I really could use some help on this.


EDIT: actually nvm i tried again just entering 400 width and 400 height and it works now. Im stumped as to why it didn't work  before. anyone know what the best widht and height would be for these games?
Title: Re: SMF Arcade
Post by: JayBachatero on February 16, 2005, 09:28:15 PM
i saw on the smfgames.com website that john has a random game block for his mkportal.  how can this be implemented to work with regular smf sites???
Title: Re: SMF Arcade
Post by: _complex on February 16, 2005, 11:14:25 PM
How can i solve this? when i input that.. i get the error below... thanks

Quote from: _complex on February 15, 2005, 02:55:21 PM
Hmm I did like this
INSERT INTO smf_settings SET value='1.00', variable='arcade_version'
INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'';


and it said

MySQL said: Documentation
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'I' at line 1

Title: Re: SMF Arcade
Post by: trenchteam on February 17, 2005, 06:50:05 AM
in what file and line can I find this?

Search the files for obExit(); 

for the arcade.

Thanks!
Title: Re: SMF Arcade
Post by: niko on February 17, 2005, 08:00:57 AM
Quote from: _complex on February 16, 2005, 11:14:25 PM
How can i solve this? when i input that.. i get the error below... thanks

Quote from: _complex on February 15, 2005, 02:55:21 PM
Hmm I did like this
INSERT INTO smf_settings SET value='1.00', variable='arcade_version'
INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'';


and it said

MySQL said: Documentation
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'I' at line 1



every line must have ;

like
INSERT INTO smf_settings SET value='1.00', variable='arcade_version';
INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page';
INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page';
INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'';

Title: Re: SMF Arcade
Post by: JayBachatero on February 17, 2005, 02:27:27 PM
how can i implement this on my website.  im not running mkportal.

<?php

//by [email protected]

$content "";


$query $DB->query("SELECT id  FROM smf_games");
$count $DB->get_num_rows ($query);
$start = rand(0, ($count -1));
$query $DB->query("SELECT id, game, name FROM smf_games LIMIT $start, 1");
$row $DB->fetch_row($query);
$id $row['id'];
$game $row['game'];
$name $row['name'];

if(file_exists("./forum/Games/{$row['game']}.gif")){
$thumb "$this->siteurl/forum/Games/{$row['game']}.gif";
}
elseif(file_exists("./forum/Games/{$row['game']}.GIF")){
$thumb "$this->siteurl/forum/Games/{$row['game']}.GIF";
}
elseif(file_exists("./forum/Games/{$row['game']}.png")){
$thumb "$this->siteurl/forum/Games/{$row['game']}.png";
}
elseif(file_exists("./forum/Games/{$row['game']}.PNG")){
$thumb "$this->siteurl/forum/Games/{$row['game']}.PNG";
}
elseif(file_exists("./forum/Games/{$row['game']}.jpg")){
$thumb "$this->siteurl/forum/Games/{$row['game']}.jpg";
}
elseif(file_exists("./forum/Games/{$row['game']}.JPG")){
$thumb "$this->siteurl/forum/Games/{$row['game']}.JPG";
}

elseif(file_exists("./Games/{$row['game']}.gif")){
$thumb "$this->siteurl/forum/Games/{$row['game']}.gif";
}
elseif(file_exists("./Games/{$row['game']}.GIF")){
$thumb "$this->siteurl/forum/Games/{$row['game']}.GIF";
}
elseif(file_exists("./Games/{$row['game']}.png")){
$thumb "$this->siteurl/forum/Games/{$row['game']}.png";
}
elseif(file_exists("./Games/{$row['game']}.PNG")){
$thumb "$this->siteurl/forum/Games/{$row['game']}.PNG";
}
elseif(file_exists("./Games/{$row['game']}.jpg")){
$thumb "$this->siteurl/forum/Games/{$row['game']}.jpg";
}
elseif(file_exists("./Games/{$row['game']}.JPG")){
$thumb "$this->siteurl/forum/Games/{$row['game']}.JPG";
}



$content "<td align=\"center\" id=\"tdblock\" ><a href=\"$this->siteurl/forum/index.php?action=arcade;do=play;game=$id\">Click To Play<br>$name<br></a><a href=\"$this->siteurl/forum/index.php?action=arcade;do=play;game=$id\"><img src='{$thumb}' border=\"0\"></a>";

unset($query);
unset($count);
unset($start);
unset($row);
unset($id);
unset($game);
unset($thumb);

?>
Title: Re: SMF Arcade
Post by: Pause on February 18, 2005, 07:25:13 AM
Well, latest version installed via package manager, and I get the following error - and I've checked through the sql in documents and it's not in there...

QuoteTable 'smf_games_champ' doesn't exist
File: /home/httpd/vhosts/---/httpdocs/community/Sources/Display.php
Line: 546
[EDIT - Nevermind, forgot you had to use the php installation file too]
Title: Re: SMF Arcade
Post by: Oldiesmann on February 18, 2005, 02:21:40 PM
Quote from: Niko on February 17, 2005, 08:00:57 AM
Quote from: _complex on February 16, 2005, 11:14:25 PM
How can i solve this? when i input that.. i get the error below... thanks

Quote from: _complex on February 15, 2005, 02:55:21 PM
Hmm I did like this
INSERT INTO smf_settings SET value='1.00', variable='arcade_version'
INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'';


and it said

MySQL said: Documentation
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'I' at line 1



every line must have ;

like
INSERT INTO smf_settings SET value='1.00', variable='arcade_version';
INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page';
INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page';
INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'';



INSERT INTO smf_settings (variable, value) VALUES (('arcade_version', '1.00'), ('arcade_games_per_page', '15'), ('arcade_challenge_per_page', '15'), ('arcade_results_per_page', '15'));
Title: Re: SMF Arcade
Post by: Jazhawk on February 18, 2005, 03:07:14 PM
Where is the installer for this mod?  I thought I had it installed when I used the package server but Niko says I need to install it.  And he must be right because I get the same error on two seperate servers about a missing table so it must not be installed yet.

QuoteTable 'jazhawk_astroboy.smf_games' doesn't exist
File: /home/jazhawk/public_html/forum/Sources/Arcade.php
Line: 875

-Jazhawk
Title: Re: SMF Arcade
Post by: niko on February 18, 2005, 03:10:30 PM
arcade_sql.php
Title: Re: SMF Arcade
Post by: Jazhawk on February 18, 2005, 03:14:05 PM
Thanx Niko.  How do I install that?  Sorry, I'm still a noob.

Never mind Niko. I think I got it.

-Jazhawk
Title: Re: SMF Arcade
Post by: trenchteam on February 18, 2005, 11:50:44 PM
Niko, can you see if you can help me with the arcade in my Mambo Portal.  It gets called, but the games cant be played. This thread explains it more. Thanks for any help.

http://www.simplemachines.org/community/index.php?topic=28302.0
Title: Re: SMF Arcade
Post by: johnm on February 19, 2005, 10:03:02 AM
Quote from: trenchteam on February 18, 2005, 11:50:44 PM
Niko, can you see if you can help me with the arcade in my Mambo Portal.  It gets called, but the games cant be played. This thread explains it more. Thanks for any help.

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

could you try this

create Games dir in /portal dir upload just one game say tetris.swf and tetris.gif

or you can edit arcade.php

look for the html code function and edit the /Games path to the full path
like /home/user/public_html/forums/Games
Title: Re: SMF Arcade
Post by: trenchteam on February 19, 2005, 06:31:24 PM
I'll give it a go. thanks! ;D

EDIT: Adding the Games to the portal worked. ;D
Title: Re: SMF Arcade
Post by: bigamers.com on February 20, 2005, 12:49:21 PM
ok when its loading up the pics next to the avatar it says loading pic from http://www.bigamers.com/forums/index.php/games/frogger.gif
were the hell did index.php come in? and how can i fix this... this happened after i installed tiny portal and it did this to my friends as  well!
Title: Re: SMF Arcade
Post by: johnm on February 20, 2005, 02:43:22 PM
Quote from: bigamers.com on February 20, 2005, 12:49:21 PM
ok when its loading up the pics next to the avatar it says loading pic from http://www.bigamers.com/forums/index.php/games/frogger.gif
were the hell did index.php come in? and how can i fix this... this happened after i installed tiny portal and it did this to my friends as well!

turn off search engine freindly urls under features and options in admin
Title: Re: SMF Arcade
Post by: Jazhawk on February 20, 2005, 03:29:34 PM
How do I add buttons / link to the arcade on a theme that is not the default SMF theme?

-Jazhawk
Title: Re: SMF Arcade
Post by: Dem0n on February 20, 2005, 03:30:07 PM
edit index.template.php of the current theme you want it in, and look for the current buttons ontop and add the code for the buttons you wish to add.
Title: Re: SMF Arcade
Post by: Jazhawk on February 20, 2005, 03:31:49 PM
Quote from: Dem0n on February 20, 2005, 03:30:07 PM
edit index.template.php of the current theme you want it in, and look for the current buttons ontop and add the code for the buttons you wish to add.

That makes sense. Thanx Dem0n

-Jazhawk
Title: Re: SMF Arcade
Post by: Dem0n on February 20, 2005, 03:33:53 PM
No problem.

this is the code you can look for theres the other buttons there...


// How about the [search] button?
if ($context['allow_search'])
echo '
<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];


It pretty much explains itself from there.
Title: Re: SMF Arcade
Post by: Jazhawk on February 20, 2005, 03:35:01 PM
Yes it does.  Thanx again!

-Jazhawk
Title: Re: SMF Arcade
Post by: Dem0n on February 20, 2005, 03:39:22 PM
not a problem like i said.
Title: Re: SMF Arcade
Post by: Enigma on February 20, 2005, 03:45:17 PM
when clicking the challenge link, i get this...

Unable to load the 'challenge' template.

what did i miss during my upgrade?
Title: Re: SMF Arcade
Post by: Enigma on February 20, 2005, 04:21:44 PM
nevermind. i am not using the default theme and i missed a file when copying to the current theme.
Title: Re: SMF Arcade
Post by: bigamers.com on February 20, 2005, 10:33:12 PM
Quote from: John on February 20, 2005, 02:43:22 PM
Quote from: bigamers.com on February 20, 2005, 12:49:21 PM
ok when its loading up the pics next to the avatar it says loading pic from http://www.bigamers.com/forums/index.php/games/frogger.gif
were the hell did index.php come in? and how can i fix this... this happened after i installed tiny portal and it did this to my friends as well!

turn off search engine freindly urls under features and options in admin

ok thanks alot ^^ and also what does that search friendly crap do anyway? and is there a way i can limit how many campions of games it shows near there avatar?
Title: Re: SMF Arcade
Post by: johnm on February 21, 2005, 07:05:36 AM
Quote from: bigamers.com on February 20, 2005, 10:33:12 PM
Quote from: John on February 20, 2005, 02:43:22 PM
Quote from: bigamers.com on February 20, 2005, 12:49:21 PM
ok when its loading up the pics next to the avatar it says loading pic from http://www.bigamers.com/forums/index.php/games/frogger.gif
were the hell did index.php come in? and how can i fix this... this happened after i installed tiny portal and it did this to my friends as well!

turn off search engine freindly urls under features and options in admin

ok thanks alot ^^ and also what does that search friendly crap do anyway? and is there a way i can limit how many campions of games it shows near there avatar?

look for in display.php

/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game",__FILE__,__LINE__);


replace with

/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game LIMIT 10",__FILE__,__LINE__);


change LIMIT 10 to what ever you want i.e LIMIT 12
Title: Re: SMF Arcade
Post by: Dragon Gamer on February 22, 2005, 12:29:39 PM
I think that all these stuff should be put in a file within the mod so when people download it they know what they're dealing with when they have to make modifications.
Title: Re: SMF Arcade
Post by: maufonseca on February 22, 2005, 05:21:44 PM
I upgraded to 1.0.2, but now I cant enter the Arcade Admin; It redirects me to my forum's index
Title: Re: SMF Arcade
Post by: crank0r on February 22, 2005, 06:45:29 PM
im sure this has been asked before but searched through thread and didnt figure out the solution so maybe someone will helpe a n00b...

i installed works fine, just have 2 games buttons, how to delete 1, here is site btw. www.crank0r.com

also i realized that under username in posts its displaying the top score for say a game for 1 person twice, so maybe i have it installed twice, but in manager its only there once, any ideas ?
Title: Re: SMF Arcade
Post by: Aravot on February 22, 2005, 09:26:30 PM
Quote from: crank0r on February 22, 2005, 06:45:29 PM

i installed works fine, just have 2 games buttons, how to delete 1, here is site btw. www.crank0r.com


You'll have two of the following code delete one from index.template.php, located in templates>default folder
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'];
Title: Re: SMF Arcade
Post by: crank0r on February 23, 2005, 03:00:34 PM
thanks aravot, now only 1 button, but my second problem is that im seeing donkeykong champion twice under my name in posts? so something is installed twice isnt it ?
Title: Re: SMF Arcade
Post by: Aravot on February 23, 2005, 05:10:32 PM
Quote from: crank0r on February 23, 2005, 03:00:34 PM
thanks aravot, now only 1 button, but my second problem is that im seeing donkeykong champion twice under my name in posts? so something is installed twice isnt it ?

Sorry can't help you there, cause I am on version 6.1 which doesn't have that feature.
Title: Re: SMF Arcade
Post by: johnm on February 23, 2005, 06:31:34 PM
Quote from: Dragon Gamer on February 22, 2005, 12:29:39 PM
I think that all these stuff should be put in a file within the mod so when people download it they know what they're dealing with when they have to make modifications.

we'll be there for years doing that, but its the same with prob. 90% of the mods here you cant expect mod authors to explain everything, theres many sites out there that explain the basic uses of php and mysql. if you plan on running any forums you should be prepared to at least look in to these basic things you can only better your self in the process
Title: Re: SMF Arcade
Post by: johnm on February 24, 2005, 08:12:38 AM
Quote from: Aravot on February 23, 2005, 05:10:32 PM
Quote from: crank0r on February 23, 2005, 03:00:34 PM
thanks aravot, now only 1 button, but my second problem is that im seeing donkeykong champion twice under my name in posts? so something is installed twice isnt it ?

Sorry can't help you there, cause I am on version 6.1 which doesn't have that feature.

you will need to edit display.template.php and remove the duplicated lines of code
(search for arcade)

you should check display.php to to see if the arcade code is duplicated there too.
Title: Re: SMF Arcade
Post by: asdf1248 on February 24, 2005, 10:19:26 AM
Sorry if this has been asked before...but is there one compatible for SMF 1.0.2 yet? Or is the current version compatible?
Title: Re: SMF Arcade
Post by: Trekkie101 on February 24, 2005, 05:06:57 PM
I dunno for sure but im getting

QuoteUnknown column 'dsc' in 'field list'
File: /home/trekkie1/public_html/place/Sources/Arcade.php
Line: 934

When trying to install a game.
Title: Re: SMF Arcade
Post by: johnm on February 24, 2005, 08:26:31 PM
Quote from: asdf1248 on February 24, 2005, 10:19:26 AM
Sorry if this has been asked before...but is there one compatible for SMF 1.0.2 yet? Or is the current version compatible?

Yes

Quote from: Trekkie101 on February 24, 2005, 05:06:57 PM
I dunno for sure but im getting

QuoteUnknown column 'dsc' in 'field list'
File: /home/trekkie1/public_html/place/Sources/Arcade.php
Line: 934

When trying to install a game.

have you run arcade_sql.php? after install with package manager?
if so run again and post any errors here
Title: Re: SMF Arcade
Post by: maufonseca on February 24, 2005, 10:18:50 PM
Quote from: maufonseca on February 22, 2005, 05:21:44 PM
I upgraded to 1.0.2, but now I cant enter the Arcade Admin; It redirects me to my forum's index
Anyone saw my post?
Title: Re: SMF Arcade
Post by: johnm on February 24, 2005, 10:52:59 PM
Quote from: maufonseca on February 24, 2005, 10:18:50 PM
Quote from: maufonseca on February 22, 2005, 05:21:44 PM
I upgraded to 1.0.2, but now I cant enter the Arcade Admin; It redirects me to my forum's index
Anyone saw my post?


did you install via package manager? and then run arcade_sql.php
Title: Re: SMF Arcade
Post by: johnm on February 24, 2005, 10:53:58 PM
Hi, everyone can you please read your arcade news in your arcadeadmin panel
Title: Re: SMF Arcade
Post by: Elijah Bliss on February 24, 2005, 11:59:56 PM
I get this all of a sudden with the game "eskiv"
Cheating detected

All the high scores are not showing up even though they are still in the database.

How does one fix this?
Title: Re: SMF Arcade
Post by: Aravot on February 25, 2005, 02:15:50 AM
Quote from: John on February 24, 2005, 10:53:58 PM
Hi, everyone can you please read your arcade news in your arcadeadmin panel

Arcade beta 6.1b following message:

Unable to connect smfgames.com
Visit site for latest news
Title: Re: SMF Arcade
Post by: niko on February 25, 2005, 05:44:40 AM
Quote from: maufonseca on February 24, 2005, 10:18:50 PM
Quote from: maufonseca on February 22, 2005, 05:21:44 PM
I upgraded to 1.0.2, but now I cant enter the Arcade Admin; It redirects me to my forum's index
Anyone saw my post?


check that you have following on index.php

'arcade' => array('Arcade.php','Arcade'),
'arcadeadmin' => array('Arcade.php', 'ArcadeAdmin'),
Title: Re: SMF Arcade
Post by: johnm on February 25, 2005, 06:13:22 AM
Quote from: Aravot on February 25, 2005, 02:15:50 AM
Quote from: John on February 24, 2005, 10:53:58 PM
Hi, everyone can you please read your arcade news in your arcadeadmin panel

Arcade beta 6.1b following message:

Unable to connect smfgames.com
Visit site for latest news


feed checked it seems fine to me
Title: Re: SMF Arcade
Post by: niko on February 25, 2005, 06:47:16 AM
Quote from: Aravot on February 25, 2005, 02:15:50 AM
Quote from: John on February 24, 2005, 10:53:58 PM
Hi, everyone can you please read your arcade news in your arcadeadmin panel

Arcade beta 6.1b following message:

Unable to connect smfgames.com
Visit site for latest news


Do you have javascript enabled?
Title: Re: SMF Arcade
Post by: greyknight17 on February 25, 2005, 12:19:26 PM
I set everything up for SMF Arcade on my machine (localhost using WAMP).  Everything looks good.  I just need the games now.  Where can I get them?  I tried some of the sites here (at least ones I remember) and they are either down or won't allow me to download.  For SMFGames.com, do I need to make a certain amount of postings before I can download there?

The installation was easy to follow through (even with my limited PHP knowledge), but I have one question.  Where the README says to edit the index.php, I'm assuming this is the file in the main root for the zip file right?  The instructionis just said to edit index.php without indicating the folder name, so I edited the one in root.

For all those folders (sources and themes), I should copy and paste those files over right and not overwrite the whole sources and themes folder?  I assume the rest like the getid3 folder (I think) and others could go into the main SMF root folder?

I'm sure everything is ok now, ran Step 2 and all Success.  Only problem is that I can't test it out to see if the games work since I don't know where I can get them now.

Thanks.
Title: Re: SMF Arcade
Post by: Aravot on February 25, 2005, 12:43:22 PM
Quote from: Niko on February 25, 2005, 06:47:16 AM
Quote from: Aravot on February 25, 2005, 02:15:50 AM
Quote from: John on February 24, 2005, 10:53:58 PM
Hi, everyone can you please read your arcade news in your arcadeadmin panel

Arcade beta 6.1b following message:

Unable to connect smfgames.com
Visit site for latest news


Do you have javascript enabled?

Yes I have, today I get the following message.

Latest news from smfgames.com
Security hole - Please Patch immediately @ February 24, 2005, 09:43:07 PM
SECURITY RISK: Please download Arcade.php (zipped)
click here to download
upload this file to your sources dir (backup old one first)
you do not need to login or register to get this download.
this is meant for version 1.0.2 if you have a version lower than that i suggest you update first!!!!!

--------------------------------------------------------------------------------

Update:
1.0.3 Have now released wich has this hole fixed.
Download from SimpleMachines
By: john
Read
Title: Re: SMF Arcade
Post by: flapper on February 25, 2005, 05:58:15 PM


I cant install arcade

First i unistalled SMF Arcade Beta 5.6

Then uploaded SMF_Arcade_1[1].0.3 using Package Manager and installed



Installing this package will perform the following actions:  Type Action Description
1. Execute Modification index.php Success
2. Execute Modification Themes/default/index.template.php Success
3. Execute Modification Sources/Subs.php Success
4. Execute Modification Sources/ManagePermissions.php Success
5. Execute Modification Themes/default/languages/Modifications.english.php Success
6. Execute Modification Themes/default/Display.template.php Success
7. Execute Modification Sources/Display.php Success



8. Extract Tree ./getid3 
9. Extract Tree ./Games 
10. Extract File ./arcade_sql.php 
11. Extract File ./Sources/Arcade.php 
12. Extract Tree ./Themes/default/default 
13. Extract File ./Themes/default/Arcade.template.php 
14. Extract File ./Themes/default/ArcadeAdmin.template.php 
15. Extract File ./Themes/default/images/english/games.gif 
16. Extract File ./Themes/default/languages/Arcade.english.php 


Then exicuted

arcade_sql.php


Welcome to Arcade Install & Update tool
Clean Install

but keep getting this error, I checked all files and everything is 777


Fatal error: [] operator not supported for strings in /home/********/*/my site/user/htdocs/forum/arcade_sql.php on line 20



can someone please help me.
Title: Re: SMF Arcade
Post by: greyknight17 on February 25, 2005, 07:33:55 PM
I tried doing this both manually and using Package Manager.  This is the error I got:
QuoteSMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 35 tables in database
smf1_games
id   int(11) NOT NULL auto_increment PRIMARY KEY
game   varchar(25) NOT NULL
name   varchar(25) NOT NULL
help   text NOT NULL
desc   text NOT NULL
dsc   text
highscore   int(11) NOT NULL DEFAULT '0'
caterogy   int(11) NOT NULL DEFAULT '0'
width   int(11) NOT NULL DEFAULT '0'
height   int(11) NOT NULL DEFAULT '0'
type   int(11) NOT NULL DEFAULT '0'
file   varchar(255) NOT NULL
bgcolor   varchar(7) NOT NULL DEFAULT '#FFFFFF'
smf1_games_challenge
cid   int(11) NOT NULL auto_increment PRIMARY KEY
player1   int(11) NOT NULL DEFAULT '0'
player2   int(11) NOT NULL DEFAULT '0'
game   int(11) NOT NULL DEFAULT '0'
player1_score   float NOT NULL DEFAULT '0'
player2_score   float NOT NULL DEFAULT '0'
message   varchar(255) NOT NULL
complete   int(11) NOT NULL DEFAULT '0'
reason   varchar(255) NOT NULL
player1_status   int(11) NOT NULL DEFAULT '0'
player2_status   int(11) NOT NULL DEFAULT '0'
time   int(11) NOT NULL DEFAULT '0'
smf1_games_high
id   int(11) NOT NULL auto_increment PRIMARY KEY
game   varchar(25) NOT NULL
member   int(11) NOT NULL DEFAULT '0'
score   float NOT NULL DEFAULT '0'
stime   bigint(20) NOT NULL DEFAULT '0'
ip   varchar(11) NOT NULL
comment   varchar(255)
smf1_games_caterogy
id   int(11) NOT NULL auto_increment PRIMARY KEY
name   varchar(255) NOT NULL
smf1_games_sessions
id   int(11) NOT NULL auto_increment PRIMARY KEY
user   int(11) NOT NULL DEFAULT '0'
info   tinytext NOT NULL
smf1_games_champ
id   int(11) NOT NULL auto_increment PRIMARY KEY
member   int(11) NOT NULL DEFAULT '0'
game   varchar(255) NOT NULL DEFAULT '0'
Step 1 done
Dynamic SQL-Queries needeed: 6
Step 2
When I click on Step 2, I got:
QuoteSMF Arcade Install & Update tool
Welcome to Arcade Install & Update tool
Connectin to database... Connected and Selected Database
Checking settings
Running query SELECT * FROM smf1_settings WHERE variable='arcade_games_per_page'... Success
Running query SELECT * FROM smf1_settings WHERE variable='arcade_challenge_per_page'... Success
Running query SELECT * FROM smf1_settings WHERE variable='arcade_results_per_page'... Success
Running query SELECT * FROM smf1_settings WHERE variable='arcade_highscores_per_page'... Success
Running query SELECT * FROM smf1_settings WHERE variable='arcade_version'... Success
Running query UPDATE smf1_settings SET value='1.00' WHERE variable='arcade_version'... Success

Warning: Invalid argument supplied for foreach() in c:\wamp\www\smf1.0.2\arcade_sql.php on line 686
Table 'smf1.smf1_games' doesn't exist
I have the games in the game folder already.  When I set up SMF (on local computer here - not on webhost yet), I called the database smf1 (since I have smf in a previous install already).  I'm not good with databases or PHP, but can follow instructions if shown/told what to do.

Please help.  Thanks.
Title: Re: SMF Arcade
Post by: crank0r on February 25, 2005, 08:31:59 PM
Quote from: John on February 24, 2005, 08:12:38 AM
Quote from: Aravot on February 23, 2005, 05:10:32 PM
Quote from: crank0r on February 23, 2005, 03:00:34 PM
thanks aravot, now only 1 button, but my second problem is that im seeing donkeykong champion twice under my name in posts? so something is installed twice isnt it ?

Sorry can't help you there, cause I am on version 6.1 which doesn't have that feature.

you will need to edit display.template.php and remove the duplicated lines of code
(search for arcade)

you should check display.php to to see if the arcade code is duplicated there too.


found it thanks
Title: Re: SMF Arcade
Post by: niko on February 26, 2005, 05:19:24 AM
Quote from: flapper on February 25, 2005, 05:58:15 PM


I cant install arcade

First i unistalled SMF Arcade Beta 5.6

Then uploaded SMF_Arcade_1[1].0.3 using Package Manager and installed



Installing this package will perform the following actions:  Type Action Description
1. Execute Modification index.php Success
2. Execute Modification Themes/default/index.template.php Success
3. Execute Modification Sources/Subs.php Success
4. Execute Modification Sources/ManagePermissions.php Success
5. Execute Modification Themes/default/languages/Modifications.english.php Success
6. Execute Modification Themes/default/Display.template.php Success
7. Execute Modification Sources/Display.php Success



8. Extract Tree ./getid3 
9. Extract Tree ./Games 
10. Extract File ./arcade_sql.php 
11. Extract File ./Sources/Arcade.php 
12. Extract Tree ./Themes/default/default 
13. Extract File ./Themes/default/Arcade.template.php 
14. Extract File ./Themes/default/ArcadeAdmin.template.php 
15. Extract File ./Themes/default/images/english/games.gif 
16. Extract File ./Themes/default/languages/Arcade.english.php 


Then exicuted

arcade_sql.php


Welcome to Arcade Install & Update tool
Clean Install

but keep getting this error, I checked all files and everything is 777


Fatal error: [] operator not supported for strings in /home/********/*/my site/user/htdocs/forum/arcade_sql.php on line 20



can someone please help me.

Seems like your arcade_sql.php is old version upload it with ftp
Title: Re: SMF Arcade
Post by: trenchteam on February 26, 2005, 08:10:31 PM
HOw do i add the champion name under the avatar in Custom themes?
Title: Re: SMF Arcade
Post by: johnm on February 27, 2005, 06:28:06 AM
Quote from: trenchteam on February 26, 2005, 08:10:31 PM
HOw do i add the champion name under the avatar in Custom themes?

read arcade.xml and perform steps for display.template.php manually to custom theme display.template.php
Title: Re: SMF Arcade
Post by: flapper on February 27, 2005, 07:06:31 AM
Quote from: Niko on February 26, 2005, 05:19:24 AM
Seems like your arcade_sql.php is old version upload it with ftp

But arcade_sql.php was surely in the zip file upgrade, sorry im confused now
Title: Re: SMF Arcade
Post by: flapper on February 27, 2005, 06:53:27 PM
If i do a manual install, do i upload all the files in the zip file
Title: Re: SMF Arcade
Post by: johnm on February 27, 2005, 09:46:16 PM
Quote from: flapper on February 27, 2005, 06:53:27 PM
If i do a manual install, do i upload all the files in the zip file

yes but you still need to run arcade_aql.php after manuall install
Title: Re: SMF Arcade
Post by: Snort on February 27, 2005, 11:30:09 PM
Question. Is there an easy way to install the arcade into the Helios theme? I'm running SMF 1.0.2. :P
Title: Re: SMF Arcade
Post by: trenchteam on February 28, 2005, 03:29:59 AM
It doesnt matter what theme you use. It works. I've used about 6 themes and they work fine. I just cant get the champion icons to show on other themes yet.
Title: Re: SMF Arcade
Post by: ViV on February 28, 2005, 06:08:44 AM
everything has got installed... its only wen in my admin panel... i select a game and click on install... then fill necessary info...and submit.. it gives me this error...

Unknown column 'dsc' in 'field list'
File: /home/mycpanelloginname(sorry i havnt disclosed that)/public_html/forum/Sources/Arcade.php
Line: 936

Any idea as to what it could be and how can I install games?

Title: Re: SMF Arcade
Post by: ViV on February 28, 2005, 06:32:56 AM
yeah I read about running it twice at smfgames... it resolved the issue ...  8)
Title: Re: SMF Arcade
Post by: Aravot on February 28, 2005, 11:13:41 AM
Upgraded from b6.1b to 1.0.3 everything went smooth, no problem whatsoever.
Title: Re: SMF Arcade
Post by: readme.txt on February 28, 2005, 08:07:11 PM
Hi, I have a problem, when someone is champion in a game and to the moment to see his messages in a topic, the thumbail does not go out for me but q this link goes out: "http://www.zonarave.com/forum/index.php/Games/funkypong.gif", this where the problem? In "display.template.php"??

example:
http://www.zonarave.com/forum/index.php/topic,5785.msg81067.html
"Campeón de  " arrives of the avatar
Title: Re: SMF Arcade
Post by: redone on February 28, 2005, 08:16:36 PM
Looks like your .gif files are not uploaded. Check that the .gif's are there and that they are spelt correct including capitals where needed.

:)
Title: Re: SMF Arcade
Post by: flapper on February 28, 2005, 08:32:07 PM
ok could not upgrade using package manager so uploaded all file using ftp and then changed files as it said in the html file and then ran arcade_sql, everything seemed fine, when into arcade and all games were there and extras that were included on SMF_Arcade_1[1].0.3 only problem is my members cannot play the games, it says :

An Error Has Occurred!
You arent allowed to view arcade, sorry! 

this happens with all my members, when i go to admin cp and click on edit permissions i get this error on the page:

Notice: Undefined index: mainsite in /home/fhlinux198/a/africansouth.co.uk/user/htdocs/forum/Sources/Load.php(1040) : eval()'d code on line 429

Notice: Undefined index: gallery in /home/fhlinux198/a/africansouth.co.uk/user/htdocs/forum/Sources/Load.php(1040) : eval()'d code on line 479

repeated lines 501, 504 and 516

Can someone please help me

thank you in advance
Title: Re: SMF Arcade
Post by: greyknight17 on February 28, 2005, 10:54:38 PM
OK, I reran everything and installed via Package Manager.  Is it safe for me to assume that installing it through the Package Manager will do the edits for me?  I edited the files manually last time and it looks like if I installed via the Package Manager it did it automatically for me.

I installed and clicked on Proceed.  Then I got some error messages (it looks like).  I click Step 2 and it says success but has a warning:

Warning: Invalid argument supplied for foreach() in c:\wamp\www\1\arcade_sql.php on line 686
Table 'smf.smf_games' doesn't exist

When I click on Arcades button in my forum, this shows up:

Table 'smf.smf_games_high' doesn't exist
File: c:\wamp\www\1\Sources\Arcade.php
Line: 1206

If the error messages in Step 1 is important, I posted them earlier (page 41).

Any help on this will be greatly appreciated.

Thanks.
Title: Re: SMF Arcade
Post by: flapper on March 02, 2005, 03:45:57 AM
Can someone pleeeeeeeease help me with reply 617, i really need to fix this, is it possible to replace forum files with those from a previous backup, i don't want to make matter worse by messing around with something i don't know about.
Title: Re: SMF Arcade
Post by: greyknight17 on March 02, 2005, 08:35:49 AM
flapper, I'm no expert at this, but I see some users posting the actual lines in those files here.

So try posting the corresponding lines in the files mentioned and post them here.  Maybe that will help them (the helpers here) more.
Title: Re: SMF Arcade
Post by: flapper on March 02, 2005, 10:39:28 AM
Quote from: greyknight17 on March 02, 2005, 08:35:49 AM
flapper, I'm no expert at this, but I see some users posting the actual lines in those files here.

So try posting the corresponding lines in the files mentioned and post them here.  Maybe that will help them (the helpers here) more.

ok hope this helps

get this error on the Edit Permissions page

Parse error: parse error, unexpected ';', expecting ')' in /home/fhlinux198/a/africansouth.co.uk/user/htdocs/forum/Sources/ManagePermissions.php on line 1035

and members are still not allowed in arcade

here are the lines in the ManagePermissions.php file sorry only have notepad so no line count:


'send_mail' => false,

      ),
         'profile' => array(
            'profile_view' => true,
            'profile_identity' => true,
            'profile_extra' => true,
            'profile_title' => true,
            'profile_remove' => true,
            'profile_remote_avatar' => false,
         ),
         'arcade' => array(
            'view_arcade' => false,
            'play_arcade' => false,
            'submit_score' => false,
            'challenge_send' => false,
            'challenge_view' => false,
            'admin_arcade' => false,
         ),       

         'board' => array(
Title: Re: SMF Arcade
Post by: Waste on March 02, 2005, 12:24:31 PM
Hello, me again.
I got the arcade to work finally by manually installing it.
But, I do not like where the "Current Champion of:" thumbnails are as I have someone on my site3 who is really good at flash games and is the champion of 10+ games.
It really makes his posts huge.

My question is, how can I stick the code for the champion list into thier profiles instead of on thier posts?


if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){

     foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){

    //print_r($tmp);

    if($tmp['thumbnail'] != ''){

    echo '

    ',$tmp['name'],' ', $txt['arcade_136'],'<br />';

    }

    else

    echo '

    ', $tmp['name'], ' ', $txt['arcade_136'],'<br />';

    }

    }
Title: Re: SMF Arcade
Post by: flapper on March 02, 2005, 01:28:06 PM
Quote from: flapper on March 02, 2005, 10:39:28 AM
Quote from: greyknight17 on March 02, 2005, 08:35:49 AM
flapper, I'm no expert at this, but I see some users posting the actual lines in those files here.

So try posting the corresponding lines in the files mentioned and post them here.  Maybe that will help them (the helpers here) more.

ok hope this helps

get this error on the Edit Permissions page

Parse error: parse error, unexpected ';', expecting ')' in /home/fhlinux198/a/africansouth.co.uk/user/htdocs/forum/Sources/ManagePermissions.php on line 1035

and members are still not allowed in arcade

here are the lines in the ManagePermissions.php file sorry only have notepad so no line count:


'send_mail' => false,

      ),
         'profile' => array(
            'profile_view' => true,
            'profile_identity' => true,
            'profile_extra' => true,
            'profile_title' => true,
            'profile_remove' => true,
            'profile_remote_avatar' => false,
         ),
         'arcade' => array(
            'view_arcade' => false,
            'play_arcade' => false,
            'submit_score' => false,
            'challenge_send' => false,
            'challenge_view' => false,
            'admin_arcade' => false,
         ),       

         'board' => array(


Thanks for everyones help, problem sorted now, it was a ), short

eg. 'challenge_send' => false,
            'challenge_view' => false,
            'admin_arcade' => false,
         ),       
),
Title: Re: SMF Arcade
Post by: trenchteam on March 03, 2005, 12:21:06 AM
how about a hack to show their latest conquest. Then a link such as a pop up etc for the full list.....

ex.

PACMAN
Champion
[more..]
Title: Arcade 1.03 Mod error
Post by: nokonium on March 03, 2005, 12:42:26 PM
When I try to install the Arcade mod I get the following error

QuoteTable 'db119726169.sidigames_caterogy' doesn't exist
File: /[munged]/Sources/Arcade.php
Line: 861

Note the 'typo' "caterogy"

Do we have a little gremlin?
Title: Re: Arcade 1.03 Mod error
Post by: [Unknown] on March 04, 2005, 03:46:08 AM
I suggest you ask the mod author; it's likely there's been an update.

-[Unknown]
Title: Re: Arcade 1.03 Mod error
Post by: nokonium on March 04, 2005, 12:45:24 PM
I think I found the problem

/* Tables to check */
$tables[][0] = $db_prefix.'games';
$tables[][0] = $db_prefix.'games_challenge';
$tables[][0] = $db_prefix.'games_high';
$tables[][0] = $db_prefix.'games_caterogy';
$tables[][0] = $db_prefix.'games_sessions';
$tables[][0] = $db_prefix.'games_champ';


Should say

$tables[][0] = $db_prefix.'games_category';

I've PM'd him
Title: Re: Arcade 1.03 Mod error
Post by: nokonium on March 04, 2005, 01:18:33 PM
HRMPH!

I've been through and corrected but still have the error, at least this time it is spelt correctly  ;D
Title: Re: SMF Arcade
Post by: Nietha on March 06, 2005, 02:43:31 AM
Quote from: ViV on February 28, 2005, 06:08:44 AM
everything has got installed... its only wen in my admin panel... i select a game and click on install... then fill necessary info...and submit.. it gives me this error...

Unknown column 'dsc' in 'field list'
File: /home/mycpanelloginname(sorry i havnt disclosed that)/public_html/forum/Sources/Arcade.php
Line: 936

Any idea as to what it could be and how can I install games?

open Sources/Arcade.php and change all "dsc" to "desc" there's about 4-5 of them.
Title: Re: SMF Arcade
Post by: nokonium on March 06, 2005, 03:50:21 AM
With a bit of pushing and shoving I have Arcade running. A spikey M8 found the answer for us. Even if you install with Package Manager, you have to manually run arcade_sql.php at least twice, second time after loading the games for me. You may need to hit the game install button a few times as well.
Title: Re: SMF Arcade
Post by: johnm on March 07, 2005, 09:50:49 AM
Quote from: Nietha on March 06, 2005, 02:43:31 AM
Quote from: ViV on February 28, 2005, 06:08:44 AM
everything has got installed... its only wen in my admin panel... i select a game and click on install... then fill necessary info...and submit.. it gives me this error...

Unknown column 'dsc' in 'field list'
File: /home/mycpanelloginname(sorry i havnt disclosed that)/public_html/forum/Sources/Arcade.php
Line: 936

Any idea as to what it could be and how can I install games?

open Sources/Arcade.php and change all "dsc" to "desc" there's about 4-5 of them.


dont do that just run the installer again

dsc is a field name from the games table
Title: Re: SMF Arcade
Post by: nokonium on March 08, 2005, 02:43:01 PM
Original problem sorted, but how do you assign games to different 'caterogies' (  ;D ) ?

I do not seem to get an option to allocate them and they all appear as 'no caterogy'
Title: Re: SMF Arcade
Post by: SeaOfSin on March 11, 2005, 06:42:52 PM
Quote from: Waste on March 02, 2005, 12:24:31 PM
Hello, me again.
I got the arcade to work finally by manually installing it.
But, I do not like where the "Current Champion of:" thumbnails are as I have someone on my site3 who is really good at flash games and is the champion of 10+ games.
It really makes his posts huge.

My question is, how can I stick the code for the champion list into thier profiles instead of on thier posts?


if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){

     foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){

    //print_r($tmp);

    if($tmp['thumbnail'] != ''){

    echo '

    ',$tmp['name'],' ', $txt['arcade_136'],'<br />';

    }

    else

    echo '

    ', $tmp['name'], ' ', $txt['arcade_136'],'<br />';

    }

    }



How about this for a compromise.....

goto the Display.template and find the code above and replace with

// Arcade
if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="',$tmp['name'],'', $txt['arcade_136'],'" width="20">';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
// Arcade


What this does is put just the icons on the post and when you move the mouse over them it gives the information to the game.

you can also move the same code to below


// Now print the second column where the members avatar/text is shown.
echo '



which moves it underneath the icons below the avatar.

Hope this is of some help for now!

Sea Of Sin
Title: Re: SMF Arcade
Post by: boogiedown on March 14, 2005, 06:23:41 PM
I installed the arcade, running 1.0.2 ran the sql.php file all success
When i go into admin and intall a game i get the following error:
Parse error: parse error, unexpected T_STRING in /client/milossa/public_html/board/Games/parasites.swf on line 369

Ive tried other games and it does the same.
Title: Re: SMF Arcade
Post by: niko on March 15, 2005, 06:37:20 AM
it's bug in 1.1 and will be fixed in 1.1.1 one missing thing and ... :(
Title: Re: SMF Arcade
Post by: jerm on March 15, 2005, 06:47:46 PM
i installed this, then got parse errors when viewing threads, said i had to upgrade the database. Also in my sources folder it created another folder called sources and put the files in there? and a bunch of other links where invalid as well
Title: Re: SMF Arcade
Post by: Christian A. Herrnboeck on March 15, 2005, 10:39:52 PM
The package is mis-packaged. You need to move everything in Sources/sources/ to just Sources/ (copy files up one dir).

Also, I keep getting this:  Parse error: parse error, unexpected '}' in /home/lounge/public_html/forum/Games/diamond_chaser.swf on line 91
I haven't had time to check the code... but from the looks of it, you're trying to parse a binary swf file with php??
Title: Re: SMF Arcade
Post by: niko on March 16, 2005, 07:24:38 AM
fm-2: 1.1.1 is availbe from http://smfgames.com/forum/index.php?topic=410.0...

mis-paging i check it...
Title: Re: SMF Arcade
Post by: Aravot on March 16, 2005, 02:04:39 PM
Upgraded from 1.0.3 to 1.1.1 (default theme)
The copyright info bottom of the page still read SMF Arcade 1.0.3.

Admin>>Highscores settings, following error
QuoteInvalid argument supplied for foreach()

Admin>>Arcade settings
Games Directory (Path):
Games Directory (URL):
type the path for Games folder click submit, nothing shows in the text box blank

Package Manager reads SMF Arcade 1.1 instead of 1.1.1
Title: Re: SMF Arcade
Post by: nokonium on March 16, 2005, 05:16:44 PM
I'm getting the following

On running arcade_sql.php -
ALTER TABLE sidigames CHANGE `desc` `dsc` text NOT NULL
Failed Duplicate column name 'dsc'

On trying to allocate a category to an installed game -
2: mysql_free_result(): supplied argument is not a valid MySQL result resource
File: /[games directory path]/Sources/ArcadeAdmin.php
Line: 338
Title: Re: SMF Arcade
Post by: Kindred on March 17, 2005, 03:02:40 PM
QuoteOk guys...   I am completely boggled with this one:

I have installed the Arcade mod (and it would appear successful)

I then added some categories.
I am now trying to add some games.

I choose the game (say, MahJong for example), enter data and click submit.

I then get a whole screen full of ASCII characters, ending with the message
Fatal error: Cannot instantiate non-existent class: mahjong in /XXX/Sources/ArcadeAdmin.php on line 277

line 277 is:

$gam = new $class($scripturl);


so... for some reason, it's not letting me install games.


Anyone have a clue as to what is going on here???

Ok...   I reinstalled v.1.1.1 and the problem seems to have gone away

strange.   (just note: I did look through the thread here and didn't see any reports similar... )
Yes, I downloaded the 1.1 version from the smf package server, originally...

thanks Niko.

Oh.. and BTW: Although I am registered now on your board, I can't get to the downloads section....  it tells me I need to be registered.
Title: Re: SMF Arcade
Post by: niko on March 17, 2005, 03:15:06 PM
its alerdy fixed, read from earlier this page for link to latest since mods site doesnt work
Title: Re: SMF Arcade
Post by: Kindred on March 17, 2005, 03:24:37 PM
Now, however, if I try to change the category of the game, I get:

An Error Has Occurred!
2: mysql_free_result(): supplied argument is not a valid MySQL result resource
File: /XXX/Sources/ArcadeAdmin.php
Line: 338 
Title: Re: SMF Arcade
Post by: niko on March 17, 2005, 03:26:20 PM
Quote from: kindred on March 17, 2005, 03:24:37 PM
Now, however, if I try to change the category of the game, I get:

An Error Has Occurred!
2: mysql_free_result(): supplied argument is not a valid MySQL result resource
File: /XXX/Sources/ArcadeAdmin.php
Line: 338 


1.1.2 is now avaible here... this bug is fixed in it
Title: Re: SMF Arcade
Post by: Kindred on March 17, 2005, 03:32:14 PM
quick question...  does 1.1.2 require me to uninstall 1.1.1 or can I just install as an upgrade?
Title: Re: SMF Arcade
Post by: Aravot on March 17, 2005, 03:53:27 PM
Uninstalled previous version 1.1.1, installed 1.1.2, now when I click on Games button get the following error message.

Quote2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
Title: Re: SMF Arcade
Post by: Aravot on March 17, 2005, 04:08:14 PM
After installing SMF Arcade 1.1.2 I noticed I have a Sources folder with the following files

QuoteArcade.php
Arcade2.php
arcade_custom.php
arcade_custom.zip
ArcadeAdmin.php

in my SMF/Sources folder, full path

/SMF
      /Sources
                   /Sources
                           Arcade.php
                           Arcade2.php
                           arcade_custom.php
                           arcade_custom.zip
                           ArcadeAdmin.php
Title: Re: SMF Arcade
Post by: niko on March 17, 2005, 04:23:30 PM
Quote from: Aravot on March 17, 2005, 04:08:14 PM
After installing SMF Arcade 1.1.2 I noticed I have a Sources folder with the following files

QuoteArcade.php
Arcade2.php
arcade_custom.php
arcade_custom.zip
ArcadeAdmin.php

in my SMF/Sources folder, full path

/SMF
      /Sources
                   /Sources
                           Arcade.php
                           Arcade2.php
                           arcade_custom.php
                           arcade_custom.zip
                           ArcadeAdmin.php

Fixed, replaced old with new...
i think it was becuase extract tree Souirces to $sourcesdir changed it  to Boarddir
Title: Re: SMF Arcade
Post by: Aravot on March 17, 2005, 04:51:13 PM
Quote from: Niko on March 17, 2005, 04:23:30 PM
Quote from: Aravot on March 17, 2005, 04:08:14 PM
After installing SMF Arcade 1.1.2 I noticed I have a Sources folder with the following files

QuoteArcade.php
Arcade2.php
arcade_custom.php
arcade_custom.zip
ArcadeAdmin.php

in my SMF/Sources folder, full path

/SMF
      /Sources
                   /Sources
                           Arcade.php
                           Arcade2.php
                           arcade_custom.php
                           arcade_custom.zip
                           ArcadeAdmin.php

Fixed, replaced old with new...
i think it was becuase extract tree Souirces to $sourcesdir changed it  to Boarddir

Now the files are in correct location but still get the following error.

Quote2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
Title: Re: SMF Arcade
Post by: Champi on March 17, 2005, 04:51:53 PM
i have uploaded everything manually on my testboard... it seems to work... but when i want to run arcade_sql.php it says Error: Make sure you have uploaded all files correctly!


how can this be possible... i unzipped only the package without using the package manager...

but the arcade module is functioning..it works...

???

is t really nescessary to run arcade_sql... did make? there werent new tables isnt?

greetz
Title: Re: SMF Arcade
Post by: Aravot on March 17, 2005, 05:14:34 PM
Me too, same error as above post
Title: Re: SMF Arcade
Post by: Champi on March 17, 2005, 05:26:19 PM
QuoteNow, however, if I try to change the category of the game, I get:

An Error Has Occurred!
2: mysql_free_result(): supplied argument is not a valid MySQL result resource
File: /XXX/Sources/ArcadeAdmin.php
Line: 338 



1.1.2 is now avaible here... this bug is fixed in it

this problem now apearrs when you try to get to the admin area..

i ve replaced it with the old file... around 338 those few linbes you added

greetz
Title: Re: SMF Arcade
Post by: nokonium on March 17, 2005, 05:50:24 PM
I tried it on my backup and all was OK, so I went and tried on the main forum. It would not install and run, ended up uninstalling it and reinstalling 1.0.3 it is working again but we have two Games buttons in default and all the champions have double sets of awards. :-X
Title: Re: SMF Arcade
Post by: Aravot on March 17, 2005, 06:57:45 PM
Quote from: nokonium on March 17, 2005, 05:50:24 PM
I tried it on my backup and all was OK, so I went and tried on the main forum. It would not install and run, ended up uninstalling it and reinstalling 1.0.3 it is working again but we have two Games buttons in default and all the champions have double sets of awards. :-X

You can remove the extra button by deleting a duplicate code from index.template.php

search for this code and remove one.

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'];
Title: Re: SMF Arcade
Post by: SeaOfSin on March 18, 2005, 01:38:14 AM
Quote from: champi.nl on March 17, 2005, 04:51:53 PM
i have uploaded everything manually on my testboard... it seems to work... but when i want to run arcade_sql.php it says Error: Make sure you have uploaded all files correctly!


how can this be possible... i unzipped only the package without using the package manager...

but the arcade module is functioning..it works...

???

is t really nescessary to run arcade_sql... did make? there werent new tables isnt?

greetz

I have this error but every time I try and go to arcade it takes me to arcade admin.

any ideas?


Sea Of Sin
Title: Re: SMF Arcade
Post by: nokonium on March 18, 2005, 02:05:25 AM
Quote from: Aravot on March 17, 2005, 06:57:45 PM
You can remove the extra button by deleting a duplicate code from index.template.php


Thanks Aravot, that is one problem solved.
Title: Re: SMF Arcade
Post by: Champi on March 18, 2005, 05:48:42 AM
QuoteI have this error but every time I try and go to arcade it takes me to arcade admin.

try to enable arcade in adminpanel... anyone resolved other problems..

???
Title: Re: SMF Arcade
Post by: Chris de Boden on March 18, 2005, 12:45:15 PM
Here (http://www.simplemachines.org/community/index.php?topic=30749.new;topicseen#new) is the Dutch translation :)
Title: Re: SMF Arcade
Post by: nokonium on March 18, 2005, 12:57:08 PM
Quote from: nokonium on March 17, 2005, 05:50:24 PM
all the champions have double sets of awards. :-X

We have found that one as well now in Display.template.php

if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
Title: Re: SMF Arcade
Post by: Champi on March 18, 2005, 05:13:49 PM
dutch translation also available smfgames.com (http://smfgames.com)
Title: Re: SMF Arcade
Post by: SeaOfSin on March 19, 2005, 11:06:44 AM
Quote from: champi.nl on March 18, 2005, 05:48:42 AM
QuoteI have this error but every time I try and go to arcade it takes me to arcade admin.

try to enable arcade in adminpanel... anyone resolved other problems..

???

I can't....The admin panel wants me to fill out the path of the games, etc, but it won't let me.  I think it wants me to run arcade_sql. but that doesn't work either

Sea Of Sin
Title: Re: SMF Arcade
Post by: Aravot on March 19, 2005, 11:57:53 AM
You are not alone, I have the same problem Arcade 1.1.2
Title: Re: SMF Arcade
Post by: Champi on March 19, 2005, 01:19:06 PM
i know that the arcade_sql.php isnt working correctly... ask your questions also at smfgames.com...
i think they re working on it... have now 1.1.1 installed... (backup..)..

;)
Title: Re: SMF Arcade
Post by: Kindred on March 19, 2005, 03:49:21 PM
OK... I had this problem, until I realized that the installation did a couple of things wrong.

Make certain your arcade files are int he smf/Sources directory, and not the smf/Sources/Sources directory
Make certain smf/Games is writeable...
Title: Re: SMF Arcade
Post by: Champi on March 20, 2005, 09:17:59 AM
i did everything manually trough ftp... not with the package manager... so evything is in the right place... games also

i have problems with the arcade_sql.php file... i ve downloaded aginb the mod... perheps now a modified version? perhaps that i downloaded to earlier and have a wrong package..
Title: Re: SMF Arcade
Post by: SeaOfSin on March 20, 2005, 11:03:54 AM
There will be a new version out Monday according to the smfgames.com website!
Title: Re: SMF Arcade
Post by: niko on March 20, 2005, 12:53:38 PM
1.1.3 released! go grab it
Title: Re: SMF Arcade
Post by: nokonium on March 20, 2005, 02:12:55 PM
I grabbed it!
and I installed it!
and arcade_sql.php works!

BUT If I click on the Arcade/Games button all I get is the Admin panel .........
Title: Re: SMF Arcade
Post by: niko on March 20, 2005, 02:47:40 PM
Set status to Enabled from Arcade Settings
Title: Re: SMF Arcade
Post by: nokonium on March 20, 2005, 03:12:41 PM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fblack-cat%2Fgreetings%2Frara1.gif&hash=74e281b3946e33cb13565ca03f3c89c572a3d2a8)

Thanks
Title: Re: SMF Arcade
Post by: Champi on March 20, 2005, 04:28:50 PM
thnx
Title: Re: SMF Arcade
Post by: Tony Reid on March 20, 2005, 06:01:26 PM
Quote from: Niko on March 20, 2005, 12:53:38 PM
1.1.3 released! go grab it

I grabbed it installed it via package manager - ran the php sql script and now when I go to the arcade I get this error :(

2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /home/fertilit/public_html/forum/index.php
Line: 119


Any ideas?
Title: Re: SMF Arcade
Post by: redone on March 20, 2005, 06:11:34 PM
I am assuming you un-installed the previous version then downloaded the latest version and installed? I just did this at my test site and everything went just fine.

Post back with what you did and we should be able to figure it out.

:)
Title: Re: SMF Arcade
Post by: Tony Reid on March 20, 2005, 06:16:57 PM
Yeah thats exactly what I did :(

I guess Im going to have to go through it step by step and check everything manually :(

Title: Re: SMF Arcade
Post by: Tony Reid on March 20, 2005, 06:28:06 PM
Solved it - I had a stray , in my index.php

Dont know how it got there - think it must of got corrupted when package manager had hold of it.

Thanks for being nice anyway ;)

Tony
Title: Re: SMF Arcade
Post by: nokonium on March 21, 2005, 05:43:47 PM
OK, I've been hammering 1.1.3 on my Arcade test site and I'm getting two errors.

If I click on the (category) by the game name I get:
2: Invalid argument supplied for foreach()
File: /[file path]/Sources/Arcade.php
Line: 172

and the error log is full of:

8: Undefined index: version
File: /[file path]/Themes/default/languages/Arcade.english.php (eval?)
Line: 421
Title: Re: SMF Arcade
Post by: Aravot on March 21, 2005, 07:26:23 PM
SMF Arcade 1.1.3, clicking on the game button gets me the following error message

Quote2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /mysite.com/smf/index.php
Line: 121

here is the code from line 121 of smf/index.php
// What function shall we execute? (done like this for memory's sake.)
call_user_func(smf_main());
Title: Re: SMF Arcade
Post by: [Unknown] on March 21, 2005, 10:47:36 PM
That means said function hasn't been defined, which may mean that the file wasn't found or included.

-[Unknown]
Title: Re: SMF Arcade
Post by: Aravot on March 22, 2005, 02:04:05 AM
So how to fix it
Title: Re: SMF Arcade
Post by: niko on March 22, 2005, 09:14:19 AM
check that index.php has ArcadeAdim => 'ArcadeAdmin.php' not Arcade.php
Title: Re: SMF Arcade
Post by: Aravot on March 22, 2005, 12:03:57 PM
Quote from: Niko on March 22, 2005, 09:14:19 AM
check that index.php has ArcadeAdim => 'ArcadeAdmin.php' not Arcade.php

Thanks Niko (http://www.simplemachines.org/community/index.php?action=profile;u=189) that was it had two line of the following code, deleted the wrong one, (thats the second line)


'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),
'arcadeadmin' => array('Arcade.php', 'ArcadeAdmin'),
Title: Re: SMF Arcade
Post by: nokonium on March 22, 2005, 12:58:58 PM
Quote from: nokonium on March 21, 2005, 05:43:47 PM
8: Undefined index: version
File: /[file path]/Themes/default/languages/Arcade.english.php (eval?)
Line: 421

I think I've fixed this one, I over wrote the themes/default/images/english version with the one I found in default/images/english

When you are trying to sort it which is the latest version it would help if they were not all 1.1  ;)
Title: Re: SMF Arcade
Post by: nokonium on March 22, 2005, 01:21:01 PM
arcade.php

if(isset($_GET['category']) && @count($_GET['category']) > 0){
if($where != ""){
$where .= " AND ";
}
if($where2 != ""){
$where2 .= " AND ";
}

$or = "";
foreach($_GET['category'] as $id){
$where .= " $or caterogy={$id}";
$where2 .= " $or caterogy={$id}";

$url .= ";category[]={$id}";

$or = "OR";

}
}


A couple of typo's still in there?
Title: Re: SMF Arcade
Post by: niko on March 22, 2005, 01:30:41 PM
its caterogy in database
Title: Re: SMF Arcade
Post by: nokonium on March 22, 2005, 01:53:52 PM
Line 172 is:
   foreach($_GET['category'] as $id){

And that is where the error appears to be, so should line 172 read:

   foreach($_GET['caterogy'] as $id){

?
Title: Re: SMF Arcade
Post by: johnm on March 24, 2005, 07:59:25 PM
it doesnt matter how its spelt there

Title: Re: SMF Arcade
Post by: nokonium on March 25, 2005, 02:35:46 AM
We have now found a workaround, set all games to 'uncategorized'

It is a pity to have little niggles because it is such a popular addition to our board.
Title: Re: SMF Arcade
Post by: sWiZz on March 26, 2005, 10:46:33 AM
2: Division by zero
File: /home/alex/public_html/alfino/forums/Sources/Subs.php
Line: 582

I got this error.
Title: Re: SMF Arcade
Post by: niko on March 26, 2005, 11:05:58 AM
Quote from: sWiZZ on March 26, 2005, 10:46:33 AM
2: Division by zero
File: /home/alex/public_html/alfino/forums/Sources/Subs.php
Line: 582

I got this error.

make sure your per page number is more than 0 and installer is run
Title: Re: SMF Arcade
Post by: goodwinner on March 27, 2005, 02:57:07 AM
i get this error dudes

Table 'goodwinn_smf1.smf_games_caterogy' doesn't exist
File: /home/goodwinn/public_html/forum/Sources/ArcadeAdmin.php
Line: 169

Title: Re: SMF Arcade
Post by: Anubis on March 27, 2005, 06:06:20 AM
I can't seem to get the newest version to work. I removed my older version and installed 1.1.3 and for me it worked just fine but no members could access it. I logged into my test account which only has member permissions and I got a "Your not allowed to access this" error. I tried to access the permissions in admin CP and was no longer able to access it. It just loaded a white screen and the browser said the page was done loading. I removed the mod and was able to access the permissions in admin CP without issue again. I tried this on my test install of SMF with the same results. Any ideas? I hate to have to drop this MOD.

Oh, and to the previous question, you need to run the "arcade_sql.php" located in the home directory of your website. So you would type "www.yoursitehere.com/arcade_sql.php" in your address bar.
Title: Re: SMF Arcade
Post by: SeaOfSin on March 28, 2005, 02:15:09 AM
I have a slight problem. The upgrade went fine but I have a guest....who was banned who has lots of icons next to their name but they never even played the arcade. Any way I can stop that?

Title: Re: SMF Arcade
Post by: boogiedown on March 28, 2005, 02:22:08 PM
For those who have high score, i want to add a title for them under thier user names. i saw this done with other forums but not here. has anyone done this or can tell me how:

stevebor1
smf newbie
duck hunt high scorer
Title: Re: SMF Arcade
Post by: verylost on March 31, 2005, 05:45:07 PM
Hi,

I've installed this mod through the package manager and it won't work - if I click on any links or topics I get this error:

Database Error
Table 'lostinfr_smf1.smf_games_champ' doesn't exist
File: /backup/home/lostinfr/public_html/testforum/Sources/Display.php
Line: 546

Help :(

PS I tried also running  in  arcade_sql.php but no luck.
Title: Re: SMF Arcade
Post by: Wizard2005 on April 01, 2005, 04:25:28 AM
I have run the arcade_sql.php which reports success at every step.............. but am still geting loads of errors in the Forum Error Log



http://xx.xx.xx.xx/xxx/index.php?action=arcade

8: Undefined index: caterogy
File: /xxxx/xxxxxxxx/xxxxxxxx/xxx/Themes/default/languages/Arcade.english.php (eval?)
Line: 236

With a few of

8: Undefined index: version............ Line: 421

8: Undefined variable: true .............Line: 330

Any clues please ?
Title: Re: SMF Arcade
Post by: chupacabra on April 02, 2005, 03:55:03 AM
 Table 'db_name1.smf_games_champ' doesn't exist
File: /drones2/alcoves/chupacabra/public_html/forum/Sources/Display.php
Line: 558
i get this error
i use smf 1.0.3
Title: Re: SMF Arcade
Post by: Dragon Gamer on April 02, 2005, 02:04:49 PM
well i have an error in which it says my Games path is incorrect... i tried to modify it but it always tells me it is incorrect what should i do...
Title: Re: SMF Arcade
Post by: edg on April 02, 2005, 02:37:21 PM
I don't think it will work with 1.0.3....... it says on it's page it's compatible with 1.0.2 or something but no mention of latest version......
In arcadeadmin it says the database may need an upgrade as is v 1.0.2, I think that's because the arcade is using the old db...
Title: Re: SMF Arcade
Post by: trenchteam on April 03, 2005, 07:24:16 AM
This is the error Im getting with the new version.

2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /home/XXXX/public_html/XXXX/index.php
Line: 119
Title: Re: SMF Arcade
Post by: niko on April 03, 2005, 07:47:17 AM
Quote from: trenchteam on April 03, 2005, 07:24:16 AM
This is the error Im getting with the new version.

2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /home/XXXX/public_html/XXXX/index.php
Line: 119

Fix your index.php arcade admin has now own file and its no longer in Arcade.php
Title: Re: SMF Arcade
Post by: trenchteam on April 04, 2005, 12:34:21 AM
Do i just delete what I had added in the index before?
Title: Re: SMF Arcade
Post by: ashvin on April 04, 2005, 12:03:59 PM
i dont think it works for 1.0.3, i keep gettin same error as some people above

smf_games_champ' doesn't exist

no point installing
Title: Re: SMF Arcade
Post by: niko on April 04, 2005, 12:18:54 PM
Quote from: ashvin on April 04, 2005, 12:03:59 PM
i dont think it works for 1.0.3, i keep gettin same error as some people above

smf_games_champ' doesn't exist

no point installing

it works,  you just havent installed probelty.
Title: Re: SMF Arcade
Post by: trenchteam on April 05, 2005, 06:40:35 AM
Got it to work. just used the arcade xml file and did everything manually.   8)
Title: Re: SMF Arcade
Post by: eFishie on April 05, 2005, 08:43:19 AM
OMG, manually? Oh dear, here I go...
Title: Re: SMF Arcade
Post by: nokonium on April 05, 2005, 02:04:04 PM
I've just had a permissions problem, I thought it was only on my test install, but tonight I tried to check some permissions on the main board and I got a parse error. The last install/update was Arcade and re-installing ManagePermissions.php~ over the top of the Arcade altered one seems to have solved the problem.

Sorry Nico but I think that 1.1.3 has a bug.
Title: Re: SMF Arcade
Post by: boogiedown on April 05, 2005, 03:44:59 PM
Any news on adding user high score info when the post topics or replies next to the user name?
Title: Re: SMF Arcade
Post by: eFishie on April 05, 2005, 04:42:18 PM
I'd like to see a version that is working for 1.0.3.
Title: Re: SMF Arcade
Post by: nokonium on April 05, 2005, 04:43:51 PM
I have just run a test on my test setup. I reloaded ManagePermissions.php from the SMF 1.0.3 upgrade zip file. Checked Permissions OK can get there.

Run Arcade 1.1.3 mod and arcade_sql.php

Checked Permissions:

Parse error: parse error, unexpected ',', expecting ')' in /[url]/Sources/ManagePermissions.php on line 1044

uploaded the upgrade copy of ManagePermissions.php and the Permissions are accessable again.

QED ?
Title: Re: SMF Arcade
Post by: Kindred on April 05, 2005, 04:59:01 PM
I found it, myself...

In Manage permissions, it adds an additional (an extraneous) , after the ),
this causes errors.  to fix it, just remove the single comma...
Title: Re: SMF Arcade
Post by: nokonium on April 06, 2005, 02:20:38 AM
Great, that fixed it. I also had a duplicated arcade array which I removed as well.
Title: Re: SMF Arcade
Post by: Kindred on April 06, 2005, 03:28:06 PM
hmmm....   I'm having some errors pop up when people access the "arcade search" page.

specifically,

8: Undefined index: caterogy
File: /XXX/forums/Sources/Arcade.php
Line: 228

and
8: Undefined index:
File: /XXX/forums/Themes/default/shout.template.php (eval?)
Line: 195

I believe they are both related, since the shout mod only causes the error when the arcade search is called.
(also, there is no line 195 in the shout template)

and I saw someone else post a message about the caterogy...   but no one answered it...
Title: Re: SMF Arcade
Post by: rmb on April 06, 2005, 04:54:11 PM
I tryed today but I heave problem with permission file. Is that mod working on 1.0.3 or is there some bug?
Title: Re: SMF Arcade
Post by: ashvin on April 07, 2005, 01:15:04 PM
it says

You arent allowed to view arcade, sorry
when my members try 2 access, ive already enabled in arcade
Title: Re: SMF Arcade
Post by: niko on April 07, 2005, 01:35:35 PM
Quote from: rmb on April 06, 2005, 04:54:11 PM
I tryed today but I heave problem with permission file. Is that mod working on 1.0.3 or is there some bug?

It works. It sometimes borkes permissons file there are some extra character whic you must remove

Quote from: ashvin on April 07, 2005, 01:15:04 PM
it says

You arent allowed to view arcade, sorry
when my members try 2 access, ive already enabled in arcade

Add permissions.
Title: Re: SMF Arcade
Post by: neil_mcd on April 07, 2005, 07:10:13 PM
Everything up and running fine!

3 Questions,

Is there some way to edit game data (ie modify descriptions, change categories for each game?)

How do challenges work??

Most exellent mod, have issued my first challenge!

Cheers, NEil.
Title: Re: SMF Arcade
Post by: boogiedown on April 08, 2005, 03:11:41 AM
Quote from: ashvin on April 07, 2005, 01:15:04 PM
it says

You arent allowed to view arcade, sorry
when my members try 2 access, ive already enabled in arcade
you have to add the permission for their user groups
Title: Re: SMF Arcade
Post by: ashvin on April 08, 2005, 07:01:08 AM
where do i add these permissions? in managepermissions.php?

how do i go about this?
Title: Re: SMF Arcade
Post by: kaioshade on April 09, 2005, 04:04:26 PM
I am getting the subs.php error as well. I have checked line 582 and am having a bit of trouble with the number per page thing. what am i checking for?

            $tmpStart = $start - $num_per_page * $nCont;
Title: Re: SMF Arcade
Post by: Raves on April 09, 2005, 04:50:48 PM
Hi!

I am slowly giving up on this...

I instaled this mod and installed the games.. everything works fine.. but.. when you press play games never load.. if I go to file on server it works..

Please help!

Bye, Raves
Title: Re: SMF Arcade
Post by: profile on April 09, 2005, 05:14:59 PM
everything works fine in standalone forum, but not with cowboy mambo integration
Title: Re: SMF Arcade
Post by: Kindred on April 09, 2005, 06:58:22 PM
this has been covered...

The arcade mod will not work properly with the mambo bridge (any version)...

It should load games just fine, but will not save high scores and will exit back to the top level frontpage of the site...

nothing can be done about it without actually changing the flash files themselves.

In mambo, I suggest you run the mamboflashgames component and use pnGames flash games...
Title: Re: SMF Arcade
Post by: Neol on April 09, 2005, 07:30:23 PM
Ok, I have installed SMF Arcade!  How to install games?
Title: Re: SMF Arcade
Post by: profile on April 09, 2005, 07:47:00 PM
Quote from: olti on April 09, 2005, 07:30:23 PM
Ok, I have installed SMF Arcade!  How to install games?

upload to the arcade folder, then add the games via the forum configuration > arcade >
Title: Re: SMF Arcade
Post by: profile on April 09, 2005, 07:52:41 PM
Quote from: kindred on April 09, 2005, 06:58:22 PM
this has been covered...

The arcade mod will not work properly with the mambo bridge (any version)...

It should load games just fine, but will not save high scores and will exit back to the top level frontpage of the site...

nothing can be done about it without actually changing the flash files themselves.

In mambo, I suggest you run the mamboflashgames component and use pnGames flash games...

Would it be possible for the mod description to state that it's not supported using any bridge?  I must've missed it since there's over 40 pages of postings now.  Thanks.
Title: Re: SMF Arcade
Post by: Neol on April 09, 2005, 08:16:21 PM
Quote from: profile on April 09, 2005, 07:47:00 PM
Quote from: olti on April 09, 2005, 07:30:23 PM
Ok, I have installed SMF Arcade!  How to install games?

upload to the arcade folder, then add the games via the forum configuration > arcade >

Where do I find games for SMF Arcade to download and then upload to my server?
Title: Re: SMF Arcade
Post by: boogiedown on April 09, 2005, 09:05:54 PM
http://smfgames.com
Title: Re: SMF Arcade
Post by: DoW Kid Rock on April 10, 2005, 01:02:26 PM
I just upgraded from beta 6 to version 1.1.3 (thought I would see what happened if I just added it as new instead of trying to just update some files) and it worked perfectly.  I like the changes and think it was great putting the admin in with the admin panel.  keep up the good work.  now I just have to find out how to hold tournaments


also not sure if this has been mentioned, but would like to be able to create a category that has a password attached to it.  the reason is that I run a gamer messageboard that has younger gamers and I want to put the violent games in a category, where they don't have access.

thanks again for the great update
Title: Re: SMF Arcade
Post by: rmb on April 12, 2005, 03:40:35 AM
Howw cann I add categories to arcade? Everything is working just fine but  without categories.

Thabk you for your answer
Title: Re: SMF Arcade
Post by: profile on April 12, 2005, 06:59:30 AM
Quote from: rmb on April 12, 2005, 03:40:35 AM
Howw cann I add categories to arcade? Everything is working just fine but  without categories.

Thabk you for your answer

use the forum admin, then click on arcade, then categorys
Title: Re: SMF Arcade
Post by: ashvin on April 12, 2005, 09:35:12 AM
Does any1 have any solutions for the problems that this Arcade mod, creates in managepermissions.php, i've had parse errors in there
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/rapcage/public_html/forum/Sources/ManagePermissions.php on line 1011

wen i fix errors more crop up, i saw another thread on the forum about these errors however the thread was shut as the user was told 2 come to this post though i haven't seen him post here
Title: Re: SMF Arcade
Post by: ashvin on April 12, 2005, 06:38:19 PM
^ i fixed this problem, but and i changed permissions in admin but it still doesnt seem 2 have any affect as members cant access arcade
Title: Re: SMF Arcade
Post by: profile on April 12, 2005, 06:43:20 PM
logs are showing the following:

8: Undefined index: new
File: /forum/Sources/ArcadeAdmin.php
Line: 137

8: Undefined variable: true
File: /forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 329

8: Undefined variable: true
File: /forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 330

8: Undefined index: version
File: /forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 421

Title: Re: SMF Arcade
Post by: rmb on April 13, 2005, 04:12:35 AM
Quote from: profile on April 12, 2005, 06:59:30 AM
use the forum admin, then click on arcade, then categorys

Arcade - admin and I get this:

Arcade
Start | Games | Arcade settings | Highscores


menu looks like this:

Arcade panel
Game listing
Admin
Challenges

No Actions
Category:
Show all games
No Caterogy



I really do not know how to add categories..
Title: Re: SMF Arcade
Post by: chupacabra on April 14, 2005, 09:05:19 AM
is this mod compatible with 1.0.3 now?
Title: Re: SMF Arcade
Post by: SeaOfSin on April 14, 2005, 12:39:02 PM
Quote from: chupacabra on April 14, 2005, 09:05:19 AM
is this mod compatible with 1.0.3 now?

I always thought it was!


I had no problems with it!
Title: Re: SMF Arcade
Post by: profile on April 14, 2005, 12:46:53 PM
Quote from: rmb on April 13, 2005, 04:12:35 AM
Quote from: profile on April 12, 2005, 06:59:30 AM
use the forum admin, then click on arcade, then categorys

Arcade - admin and I get this:

Arcade
Start | Games | Arcade settings | Highscores



The arcade section should look like this:

Arcade
Start | Games | Arcade settings | Categorys | Highscores
Title: Re: SMF Arcade
Post by: profile on April 14, 2005, 12:47:32 PM
Quote from: chupacabra on April 14, 2005, 09:05:19 AM
is this mod compatible with 1.0.3 now?

I'm testing it on 1.03 as well
Title: Re: SMF Arcade
Post by: profile on April 14, 2005, 05:02:52 PM
anyone getting "An Error Has Occurred!" when using the challenge feature?
Title: Re: SMF Arcade
Post by: rmb on April 15, 2005, 12:57:05 AM
Quote from: profile on April 14, 2005, 12:46:53 PM
The arcade section should look like this:

Arcade
Start | Games | Arcade settings | Categorys | Highscores

No, I heave just this:

Arcade
Start | Games | Arcade settings | Highscores


So, how to solve this problem? Wich file must I open and what must I add to heave categories?

Thank you for your answer and help!
Title: Re: SMF Arcade
Post by: Aaron Nelsen on April 15, 2005, 01:23:13 AM
For some reason I can't get the challenges to work. Whenever one is sent and the person accepts it, it takes them to the screen to play the game but the game never loads.

What do I do to fix this?

EDIT: These are the errors I found in my error log...

8: Undefined index: pm_successfully_sent
File: /home/yotn/public_html/community/Sources/Subs-Post.php
Line: 497

8: Undefined index: game
File: /home/yotn/public_html/community/Sources/Arcade.php
Line: 419

8: Undefined index: sub_template
File: /home/yotn/public_html/community/Themes/default/languages/Arcade.english.php (eval?)
Line: 101
Title: Re: SMF Arcade
Post by: mediman on April 19, 2005, 07:11:54 PM
this:


8: Undefined index: game
File: /home/yotn/public_html/community/Sources/Arcade.php
Line: 419

seems to be the reason ...

mediman
Title: Re: SMF Arcade
Post by: niko on April 20, 2005, 11:08:38 AM
The Challenges have been fixed in next version...
Title: Re: SMF Arcade
Post by: mediman on April 20, 2005, 11:32:38 AM
any idea when it comes out?

btw: great work 8)

mediman
Title: Re: SMF Arcade
Post by: dragon52225 on April 20, 2005, 02:10:52 PM
Hey, how come i can't install games?
I get this error:
Quote2: ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons
File: /data/members/free/tripod/uk/s/p/a/sparks/htdocs/SMF/getid3/getid3.php
Line: 60
can somone help me?
Title: Re: SMF Arcade
Post by: nokonium on April 20, 2005, 02:41:23 PM
Please don't take criticism as an insult, the mod is very popular and is used by some unexpected members, just please fix the problems that the admins have to put up with.
Title: Re: SMF Arcade
Post by: mediman on April 20, 2005, 02:42:05 PM
your provider has disabled any important things in php for security reasons ...

mediman
Title: Re: SMF Arcade
Post by: niko on April 20, 2005, 05:25:33 PM
Quote from: dragon52225 on April 20, 2005, 02:10:52 PM
Hey, how come i can't install games?
I get this error:
Quote2: ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons
File: /data/members/free/tripod/uk/s/p/a/sparks/htdocs/SMF/getid3/getid3.php
Line: 60
can somone help me?

There are way to skip this... but i still dont recormend using tripod...

Open getid3.php find all ini_get functions and replace them like

$memory_limit = ini_get('memory_limit'); with  $memory_limit = 12345;
Title: Re: SMF Arcade
Post by: dragon52225 on April 20, 2005, 06:23:06 PM
Quote from: Niko on April 20, 2005, 05:25:33 PM
Quote from: dragon52225 on April 20, 2005, 02:10:52 PM
Hey, how come i can't install games?
I get this error:
Quote2: ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons
File: /data/members/free/tripod/uk/s/p/a/sparks/htdocs/SMF/getid3/getid3.php
Line: 60
can somone help me?

There are way to skip this... but i still dont recormend using tripod...

Open getid3.php find all ini_get functions and replace them like

$memory_limit = ini_get('memory_limit'); with  $memory_limit = 12345;

I no, I don't like it either, right now, my real host (hiya-host) got hacked and they are recovering
Title: Re: SMF Arcade
Post by: revgreed on April 21, 2005, 12:06:56 AM
Hello,

I really need some help and I appreciate everyone who provides this help.  I downloaded SMF_Arcade v1.1.3.  I went to the Package Manager where it was displayed and clicked on "Apply Mod".  It created the following output:

***********************
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification index.php Success
2. Execute Modification Themes/default/index.template.php Success
3. Execute Modification Sources/Subs.php Success
4. Execute Modification Sources/ManagePermissions.php Success
5. Execute Modification Themes/default/languages/Modifications.english.php Success
6. Execute Modification Themes/default/Display.template.php Success
7. Execute Modification Sources/Display.php Success
8. Extract Tree ./getid3 
9. Extract Tree ./Games 
10. Extract File ./arcade_sql.php 
11. Extract Tree ./Sources 
12. Extract File ./Themes/default/Arcade.template.php 
13. Extract File ./Themes/default/ArcadeAdmin.template.php 
14. Extract File ./Themes/default/images/english/games.gif 
15. Extract File ./Themes/default/languages/Arcade.english.php 
16. Extract File ./Themes/default/languages/Arcade.finnish.php

Some of the files this package needs to modify are not writable. This needs to be changed by logging into FTP and chmoding the files.
**********************

Next, I ran the file "arcade_sql.php" and received this output:

**********************

SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 48 tables in database
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_games_per_page'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_challenge_per_page'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_results_per_page'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_highscores_per_page'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_enabled'
Success
Running query:
UPDATE yabbse_settings SET value='0' WHERE variable='arcade_enabled'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_message'
Success
Running query:
UPDATE yabbse_settings SET value='Arcade Have Been Disabled Automatically before performing update' WHERE variable='arcade_message'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_games_dir'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_games_url'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_version'
Success
Running query:
UPDATE yabbse_settings SET value='1.1.3' WHERE variable='arcade_version'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_tournament_per_page'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_tournaments'
Success
Running query:
ALTER TABLE yabbse_games_tournament_players CHANGE `member` `member` int(11) NOT NULL
Success
Updating yabbse_games_champ
Running query DELETE FROM yabbse_games_champ... Success
NOW DELETE THIS FILE! (if sucess else retry)
********************

My questions are to put it plainly....what do I do now?  Where is the Arcade located...meaning is there something I need to do in order for it to show up ON the forum?  I can't find it anywhere on the forum or Admin portion.  I've located the appropriate arcade files via FTP and they're there.  But I just don't understand what I need to do now.

Thank you very much.

Title: Re: SMF Arcade
Post by: Kindred on April 21, 2005, 01:02:12 AM
are you running on the default theme or something different?

If you are using a different theme, you'll have to install the arcade link button by hand.
Title: Re: SMF Arcade
Post by: revgreed on April 21, 2005, 02:01:10 AM
Quote from: kindred on April 21, 2005, 01:02:12 AM
are you running on the default theme or something different?

If you are using a different theme, you'll have to install the arcade link button by hand.


Hi there,

I am using the default theme.
Title: Re: SMF Arcade
Post by: Kindred on April 21, 2005, 07:29:26 AM
In that case, the package should have installed a "games" button up next to the calendar... and there should be an Admin action in the admin left-hand bar...

Don't forget to go into Manage Permissions and give people permissions for the various arcade actions.
Title: Re: SMF Arcade
Post by: revgreed on April 23, 2005, 07:06:10 AM
Quote from: kindred on April 21, 2005, 07:29:26 AM
In that case, the package should have installed a "games" button up next to the calendar... and there should be an Admin action in the admin left-hand bar...

Don't forget to go into Manage Permissions and give people permissions for the various arcade actions.

Hi again,

I appreciate your time here.  I made a mistake - my current Theme settings are this:

Admin > Current Theme's Settings

This Theme's URL:  mywebsite.org/Themes/classic
This Theme's images URL:  mywebsite.org/Themes/classic/images
This Theme's directory:  mywebsite.org/Themes/converted

The button did not appear after the installation nor did any arcade admin on the left hand bar.  Does this mean I need to manually place one?  If so, what would be the path or what have you?  And how would I get the admin portion to display?

Thanks again!
Title: Re: SMF Arcade
Post by: thelastbaron on April 23, 2005, 09:01:37 PM
Hi. Is there a version of this for 1.0.3 coming out anytime soon?

Thanks.
Title: Re: SMF Arcade
Post by: niko on April 24, 2005, 04:01:33 AM
1.1.x works in 1.0.3. 1.2 is coming in few weeks
Title: Re: SMF Arcade
Post by: Kindred on April 24, 2005, 10:34:59 AM
Quote from: revgreed on April 23, 2005, 07:06:10 AM
Hi again,

I appreciate your time here.  I made a mistake - my current Theme settings are this:

Admin > Current Theme's Settings

This Theme's URL:  mywebsite.org/Themes/classic
This Theme's images URL:  mywebsite.org/Themes/classic/images
This Theme's directory:  mywebsite.org/Themes/converted

The button did not appear after the installation nor did any arcade admin on the left hand bar.  Does this mean I need to manually place one?  If so, what would be the path or what have you?  And how would I get the admin portion to display?

Thanks again!

Go into your package manager... next to the arcade mod is the option to list files...

find the .mod (hmm... or is it .xml for arcade?)   Anyway, find the file that handles the install and view it...

Find any mention of the TEMPLATE files that exist in the classic directory. You'll have to manually edit each of those. (definitely index.template.php, maybe admin.template.php, maybe more)
Title: Re: SMF Arcade
Post by: niko on April 24, 2005, 10:56:54 AM
Quote from: kindred on April 24, 2005, 10:34:59 AM
Quote from: revgreed on April 23, 2005, 07:06:10 AM
Hi again,

I appreciate your time here.  I made a mistake - my current Theme settings are this:

Admin > Current Theme's Settings

This Theme's URL:  mywebsite.org/Themes/classic
This Theme's images URL:  mywebsite.org/Themes/classic/images
This Theme's directory:  mywebsite.org/Themes/converted

The button did not appear after the installation nor did any arcade admin on the left hand bar.  Does this mean I need to manually place one?  If so, what would be the path or what have you?  And how would I get the admin portion to display?

Thanks again!

Go into your package manager... next to the arcade mod is the option to list files...

find the .mod (hmm... or is it .xml for arcade?)   Anyway, find the file that handles the install and view it...

Find any mention of the TEMPLATE files that exist in the classic directory. You'll have to manually edit each of those. (definitely index.template.php, maybe admin.template.php, maybe more)


No. Package does only modify default theme not classic so it must manually edit it
Title: Re: SMF Arcade
Post by: Kindred on April 24, 2005, 01:21:34 PM
niko...  that's what I was telling him...

but the package manager, list files, view file will tell him WHAT files in the Classice theme directory he must modify and how...
Title: Re: SMF Arcade
Post by: Chab on April 24, 2005, 02:20:02 PM
Quote from: profile on April 09, 2005, 07:52:41 PM
Quote from: kindred on April 09, 2005, 06:58:22 PM
this has been covered...

The arcade mod will not work properly with the mambo bridge (any version)...

It should load games just fine, but will not save high scores and will exit back to the top level frontpage of the site...

nothing can be done about it without actually changing the flash files themselves.

In mambo, I suggest you run the mamboflashgames component and use pnGames flash games...

Would it be possible for the mod description to state that it's not supported using any bridge?  I must've missed it since there's over 40 pages of postings now.  Thanks.

I agree with this, please to the author take a advertissement ;)
I have download the mod, take all modification an is not working
and then y see this post   ::) too late  :(
Title: Re: SMF Arcade
Post by: WhyMan on April 24, 2005, 05:20:23 PM
HI there,

Anyone seen this error b4? 8: Undefined index: version
File: /home/compfree/public_html/forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 421
Looked at the Arcade.english.php and this is what i get at line 421? $txt['arcade_185'] = "Click here to join";Now for some reason only admins can see & play the games.. Global mods & users get An Error Has Occurred!
You arent allowed to view arcade, sorry!
heh i'm pretty sure i've got the permissions right, any input or resolve would be greatly appreciated ;)

Cheers..  8)
Title: Re: SMF Arcade
Post by: Kindred on April 24, 2005, 06:46:22 PM
well, for the playing games part...   in the aracde admin, one option is to have the games active or not...  if not, only admins can get in
Title: Re: SMF Arcade
Post by: Bradkaz96 on April 25, 2005, 11:38:45 PM
Everything went as planned with this mod until I had to install games,  I got this error message.

Unknown column 'dsc' in 'field list'
File: /home/xxxxxx/xxxxx/forum/Sources/Arcade.php
Line: 936

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.3, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

I didn't upgrade to a higher version, I started with SMF 1.0.3 someone please help me!! :-X

EDIT: I aslo noticed this? I am using Blocs Black22 there and I get this in the admin panel (The first number represents my version on my current template, and the second represents the most current version in SMF). 

Current Templates 1.0  1.0.3
BoardIndex.template.php 1.0.1 1.0.1
Calendar.template.php 1.0 1.0
Display.template.php 1.0 1.0.3
InstantMessage.template.php 1.0 1.0
MessageIndex.template.php 1.0 1.0
Recent.template.php 1.0.1 1.0.1
Settings.template.php 1.0 1.0
index.template.php 1.0 1.0

Any guidance is appreciated.  8)

Title: Re: SMF Arcade
Post by: niko on April 26, 2005, 12:08:51 PM
you havent ran arcade_sql.php some version need it to run two times (not most recent ones)
Title: Re: SMF Arcade
Post by: Bradkaz96 on April 26, 2005, 01:44:56 PM
Thanks Niko, Installed sucessfully
Title: Re: SMF Arcade
Post by: revgreed on April 27, 2005, 05:30:13 AM
Hello,

I just recently got the installation to work.  I switched over to the default theme so it would be easier.  I just have a question though.  In my forum error log I'm noticing the following errors in relation to the Arcade.  These errors are occuring constantly.

8: Undefined index: admin_arcade
File: /home/forum/Sources/Subs.php
Line: 1373

8: Undefined index: admin_arcade
File: /home/forum/Sources/Subs.php
Line: 1365

Any help would be appreciated on what this is and how to fix it.  Thank you so much.

Title: Re: SMF Arcade
Post by: hobo jim on April 27, 2005, 10:23:18 AM
You should have games installed for the arcade as a mod.
Title: Re: SMF Arcade
Post by: WhyMan on April 27, 2005, 12:29:18 PM
Hi there,
Thanks kindred
Quote from: kindred on April 24, 2005, 06:46:22 PM
well, for the playing games part...   in the aracde admin, one option is to have the games active or not...  if not, only admins can get in
but i'd enabled the arcade well ahead of discovering the error ;)
Still having issues.. the boards/arcade is here (http://www.complete-free-host.com/forum/index.php), any input or resolution would be great.. thanks
Title: Re: SMF Arcade
Post by: kburrows on April 27, 2005, 05:04:47 PM
After installing the Arcade mod it tells me I am running a 1.02 Database... how can I upgrade it?
Title: Re: SMF Arcade
Post by: dragon52225 on April 27, 2005, 10:48:17 PM
HELP!  when I go to games i get this error
2: Division by zero
File: C:\Program Files\Apache Group\Apache2\htdocs\SMF\Sources\Subs.php
Line: 582
Title: Re: SMF Arcade
Post by: carmelkevlar32 on April 30, 2005, 12:36:13 AM
Quote from: kburrows on April 27, 2005, 05:04:47 PM
After installing the Arcade mod it tells me I am running a 1.02 Database... how can I upgrade it?

Me too!
Title: Re: SMF Arcade
Post by: [Unknown] on April 30, 2005, 12:38:55 AM
The error you're getting is a database error.  It may be caused by something wrong with the arcade mod, or improper installation.

However, because you used, presumably, the package manager to upgrade... you didn't run upgrade.php.  This isn't a problem and is not the cause of your problem, but running upgrade.php will remove that warning (basically describing that the problem *could* be that.)

Your problems with the arcade mod will not go away at this point.  You will still have to resolve them either with the information in this topic or by upgrading at some point to a version without the bug.

-[Unknown]
Title: Re: SMF Arcade
Post by: WhyMan on May 01, 2005, 10:57:34 AM
Hey there [Unknown],
Quote from: [Unknown] on April 30, 2005, 12:38:55 AMYour problems with the arcade mod will not go away at this point.  You will still have to resolve them either with the information in this topic or by upgrading at some point to a version without the bug.
-[Unknown]
Appreciate the input, thanks
Title: Re: SMF Arcade
Post by: dragon52225 on May 07, 2005, 12:31:51 PM
Quote from: [Unknown] on April 30, 2005, 12:38:55 AM
The error you're getting is a database error.  It may be caused by something wrong with the arcade mod, or improper installation.

However, because you used, presumably, the package manager to upgrade... you didn't run upgrade.php.  This isn't a problem and is not the cause of your problem, but running upgrade.php will remove that warning (basically describing that the problem *could* be that.)

Your problems with the arcade mod will not go away at this point.  You will still have to resolve them either with the information in this topic or by upgrading at some point to a version without the bug.

-[Unknown]



Unknown, I think your post it to the ppl with 1.02 DB error, so what is wrong with my thing
Title: Re: SMF Arcade
Post by: niko on May 07, 2005, 12:40:25 PM
Its "problem" with ConstructPageIndex installing game from admin will remove this its probably that i havent remembered to put check before CPI usage.
Title: Re: SMF Arcade
Post by: Bigguy on May 08, 2005, 08:50:36 PM
I am trying to install this mod through package manager but for some reason it doesnt want to ...I`m very new to this ...is it possible for some one to walk me through this ... I dont have much mysql experience either
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 09:03:40 PM
Quote from: Bigguy on May 08, 2005, 08:50:36 PM
I am trying to install this mod through package manager but for some reason it doesnt want to ...I`m very new to this ...is it possible for some one to walk me through this ... I dont have much mysql experience either


Once the mod is uploaded via the Package Manager, you then need to click on the link that says [ Apply Mod ].

-Dan The Man
Title: Re: SMF Arcade
Post by: Bigguy on May 08, 2005, 09:13:47 PM
I did that ....it comes up saying success for about 6 or 7 files and stops at getid folder or somthing and tells me to chmodd via ftp ...I do ....and nothing ...what am I doing wrong
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 09:44:42 PM
Quote from: Bigguy on May 08, 2005, 09:13:47 PM
I did that ....it comes up saying success for about 6 or 7 files and stops at getid folder or somthing and tells me to chmodd via ftp ...I do ....and nothing ...what am I doing wrong


Go into your FTP and make sure that all files' permissions are set to 777 by looking at their properties.

-Dan The Man
Title: Re: SMF Arcade
Post by: Bigguy on May 08, 2005, 09:51:48 PM
ok so after they are set to 777 I try to install the arcade again right ...at which point do I run arcade.sql or what ever that file is or do I have to run it first ???
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 10:09:43 PM
Quote from: Bigguy on May 08, 2005, 09:51:48 PM
ok so after they are set to 777 I try to install the arcade again right ...at which point do I run arcade.sql or what ever that file is or do I have to run it first ???

Change your theme to the SMF Default theme and then click on the button in the navigation bar that says "Arcade".  Once you do that, it runs what needs to be run.  Upon doing that, delete the arcade.sql file from the root directory of your forums.  Now when you click on the Arcade link, it should take you to the main Arcade page.

-Dan The Man
Title: Re: SMF Arcade
Post by: Bigguy on May 08, 2005, 10:18:48 PM
here is a screen shot of the package manager.... does this help. this is were I`m stuck. I chmod the files and press the proceed button and it brings me back to here.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg16.echo.cx%2Fimg16%2F2%2Farcade4fz.jpg&hash=7d0724c45b35c3e4de6c7af8677327c71b3991b9)
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 10:33:55 PM
Please create an Administrator account for me and PM me the username and password and I'll see what I can do.

-Dan The Man
Title: Re: SMF Arcade
Post by: Bigguy on May 08, 2005, 10:40:37 PM
Well thats a very nice offer ....that makes me a bit nervous doing that to tell you the truth...I am sorry. I think I would have to go into cpanel in order to do this right I cant see how you are going to do anything with an admin account on my board that I haven`t already done ...I know I`m new to this but there doesnt seem to be any options in the admin panel other than the ones I have used already ...
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 10:43:19 PM
Quote from: Bigguy on May 08, 2005, 10:40:37 PM
Well thats a very nice offer ....that makes me a bit nervous doing that to tell you the truth...I am sorry. I think I would have to go into cpanel in order to do this right I cant see how you are going to do anything with an admin account on my board that I haven`t already done ...I know I`m new to this but there doesnt seem to be any options in the admin panel other than the ones I have used already ...

That's fine.  I completely understand.  Your choice.

-Dan The Man
Title: Re: SMF Arcade
Post by: Bigguy on May 08, 2005, 10:50:13 PM
I still do need help though ...and I `m not trying to be rude to you. I have just got this board up and running after some server downtime on my host ...everything is fixed now on the host server and I`m just a bit anxious to get things rolling. I am a mod on my hosting site so if anything needs doing I`m sure I can do it ...I have just never played with smf before ...and again I`m sorry about that ...is there away you can still help ??
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 10:53:45 PM
Quote from: Bigguy on May 08, 2005, 10:50:13 PM
I still do need help though ...and I `m not trying to be rude to you. I have just got this board up and running after some server downtime on my host ...everything is fixed now on the host server and I`m just a bit anxious to get things rolling. I am a mod on my hosting site so if anything needs doing I`m sure I can do it ...I have just never played with smf before ...and again I`m sorry about that ...is there away you can still help ??

No, seriously, It's fine :).  I'm sorry but I am completely stumped :-\.  Niko, however, may have a fix for the problem you're having though.

-Dan The Man
Title: Re: SMF Arcade
Post by: Bigguy on May 08, 2005, 10:56:25 PM
Thats nuts ...my first time in here and that happens ....wow man  :'(
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 10:58:34 PM
Quote from: Bigguy on May 08, 2005, 10:56:25 PM
Thats nuts ...my first time in here and that happens ....wow man  :'(

It's OK.  I've only seen this happen one other time.

-Dan The Man
Title: Re: SMF Arcade
Post by: Aravot on May 08, 2005, 11:01:01 PM
Just ignore G-RIDER must be a looser.

Bigguy, there is nothing to worry about you can always change the password.
Title: Re: SMF Arcade
Post by: Bigguy on May 08, 2005, 11:03:39 PM
It would be nice to get this installed. I have tried a couple times, but get the same thing ...no real error messages or anything it just doesnt do anything
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 11:04:52 PM
Quote from: Bigguy on May 08, 2005, 11:03:39 PM
It would be nice to get this installed. I have tried a couple times, but get the same thing ...no real error messages or anything it just doesnt do anything

That's really wierd.  I don't suppose that you're installing an older version of the arcade, are you?

-Dan The Man
Title: Re: SMF Arcade
Post by: Bigguy on May 08, 2005, 11:09:25 PM
well guys ...no offence but I`ll be back when this guy is gone ....someone can pm me here when this matter is taken care of ...thanks
Title: Re: SMF Arcade
Post by: Douglas on May 08, 2005, 11:12:48 PM
G-RIDER, freedom of speach only applies to publicly owned places, not privately owned sites.  And you know, you illiterate twit, you would have been taken more seriously if you knew how to spell and use proper grammar and punctuation.

Moron.
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 11:15:48 PM
Quote from: Douglas on May 08, 2005, 11:12:48 PM
G-RIDER, freedom of speach only applies to publicly owned places, not privately owned sites.  And you know, you illiterate twit, you would have been taken more seriously if you knew how to spell and use proper grammar and punctuation.

Moron.

Thank God...a Moderator is finally here.  Thank you.

-Dan The Man
Title: Re: SMF Arcade
Post by: Douglas on May 08, 2005, 11:17:32 PM
Slapped him down, for now.
Title: Re: SMF Arcade
Post by: Bigguy on May 09, 2005, 12:12:46 AM
ok is there any help for this problem now that he`s gone
Title: Re: SMF Arcade
Post by: Bigguy on May 09, 2005, 12:22:07 AM
ok ...Hey guys I got it installed .....but I get this error .....now what do I do

QuoteTable 'bigguy_smf1.smf_games_caterogy' doesn't exist
File: /home/bigguy/public_html/smf/Sources/ArcadeAdmin.php
Line: 169

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.3, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Title: Re: SMF Arcade
Post by: niko on May 09, 2005, 12:24:51 AM
you need to run arcade_sql.php
Title: Re: SMF Arcade
Post by: Bigguy on May 09, 2005, 12:29:52 AM
do I have to go into my cpanel to do that  ??? ???
Title: Re: SMF Arcade
Post by: Bigguy on May 09, 2005, 12:31:41 AM
I dont know how to run that file other than in cpanel ...is there another way ?  sorry for the  double post ...I`m anxious now LOL
Title: Re: SMF Arcade
Post by: dtm.exe on May 09, 2005, 12:38:23 AM
Quote from: Bigguy on May 09, 2005, 12:31:41 AM
I dont know how to run that file other than in cpanel ...is there another way ?  sorry for the  double post ...I`m anxious now LOL

No.  It's not done from Cpanel.  It's done from http://www.yourwebsite.com/arcadesql.php .

-Dan The Man
Title: Re: SMF Arcade
Post by: Bigguy on May 09, 2005, 12:41:18 AM
ok well hey guys I actually did it from cpanel and it works awesome I got it installed.....hey you guys are good even with that little interuption we had .....now were do I download AND how do I install a game or 2
Title: Re: SMF Arcade
Post by: dtm.exe on May 09, 2005, 12:43:34 AM
Quote from: Bigguy on May 09, 2005, 12:41:18 AM
ok well hey guys I actually did it from cpanel and it works awesome I got it installed.....hey you guys are good even with that little interuption we had .....now were do I download AND how do I install a game or 2

You can download game packages from the link below.  They have hundreds of games to choose from and offer great support.

www.smfgames.com

-Dan The Man
Title: Re: SMF Arcade
Post by: Bigguy on May 09, 2005, 12:46:10 AM
how do I install ??? upload to the games directory and it should be there in my admin panel
Title: Re: SMF Arcade
Post by: dtm.exe on May 09, 2005, 01:02:52 AM
Quote from: Bigguy on May 09, 2005, 12:46:10 AM
how do I install ??? upload to the games directory and it should be there in my admin panel

You add the games to the root/Games directory, I believe.  Then open the Arcade Admin and install them by selecting them in the drop-down list :).

-Dan The Man
Title: Re: SMF Arcade
Post by: Yann on May 09, 2005, 01:34:17 AM
Hello,

when i launch arcade_php i have a internal server error  :(

Can i have a complete sql file for the version that we can download here at this time ?

I don't xant to create all table one by one  ;D

Thanks
Title: Re: SMF Arcade
Post by: Bigguy on May 09, 2005, 01:50:21 AM
ok I got some installed so I think I`m on my way ...I gotta thank you guys for your quick response earlier to that nasty situation, and for all your help and quick replies ...I`ll be back .. thanks
Title: Re: SMF Arcade
Post by: Ben_S on May 09, 2005, 12:33:36 PM
Are there any plans to "fix" this mod so it doesn't do in excess of 70 queries on some page views?
Title: Re: SMF Arcade
Post by: Yann on May 09, 2005, 05:25:26 PM
ok it's not possible to have a simply sql file ............
Title: Re: SMF Arcade
Post by: probinson77 on May 12, 2005, 04:29:19 PM
I've written some code to make SMF Arcade work with Orstio's version of the Mambo-SMF bridge.  It's actually quite simple.  Just copy and paste the code from this thread (http://smfgames.com/forum/index.php?topic=796.0) at SMFGames into your Mambo index.php and submitting scores and comments, challenges and tournaments will all work with the bridge.
Title: Re: SMF Arcade
Post by: Aravot on May 12, 2005, 04:39:25 PM
Quote from: probinson77 on May 12, 2005, 04:29:19 PM
I've written some code to make SMF Arcade work with Orstio's version of the Mambo-SMF bridge.  It's actually quite simple.  Just copy and paste the code from this thread (http://smfgames.com/forum/index.php?topic=796.0) at SMFGames into your Mambo index.php and submitting scores and comments, challenges and tournaments will all work with the bridge.

Thank you
Title: Re: SMF Arcade
Post by: dragon52225 on May 13, 2005, 09:53:36 AM
Quote from: Yann on May 09, 2005, 05:25:26 PM
ok it's not possible to have a simply sql file ............
Open the arcade_sql.php and find the code creating the table and run the raw sql in phpmyadmin or something
Title: Re: SMF Arcade
Post by: Skhilled on May 13, 2005, 11:23:04 PM
Hi, after installing and upgrading, I've received this error message:

Database Error
Table 'wishyou_smf1.smf_games_caterogy' doesn't exist
File: /home/wishyou/public_html/skhilled/smf/Sources/ArcadeAdmin.php
Line: 169 

Do I need to manually create the table? Or should I have used "update" instead of "upgrade"?
Title: Re: SMF Arcade
Post by: Aravot on May 14, 2005, 01:58:14 AM
Quote from: Skhilled on May 13, 2005, 11:23:04 PM
Hi, after installing and upgrading, I've received this error message:

Database Error
Table 'wishyou_smf1.smf_games_caterogy' doesn't exist
File: /home/wishyou/public_html/skhilled/smf/Sources/ArcadeAdmin.php
Line: 169 

Do I need to manually create the table? Or should I have used "update" instead of "upgrade"?

Run arcade_sql.php
Title: Re: SMF Arcade
Post by: Skhilled on May 14, 2005, 10:30:55 AM
Thanks but figured it out before I read your post.  :)
Title: Re: SMF Arcade
Post by: Hooje on May 15, 2005, 03:24:15 PM
Hey guys. I've installed a fresh SMF link = http://www.LoveTheWeekend.com/smf  and i've installed SMF Arcade. Here's the steps I took.

1) Admin control panel -> packages -> download and install SMF Arcade -> proceed (everything looked good)
2) I went to install the sql tables (arcade_sql.php) using this link http://lovetheweekend.com/smf/arcade_sql.php

Here's the error

QuoteInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

If anyone can help, i'd really appreciated it. Here's my contact details if you want to be extra helpful!

AIM: Hooje
MSN: Hooje [at] LoveTheWeekend.com

Thanks for any help - and i can make you admin if you need to try your own things no problem.
Title: Re: SMF Arcade
Post by: niko on May 15, 2005, 03:35:21 PM
your host seems to runnign php as cgi and your chmod for arcade_sql.php is wrong
Title: Re: SMF Arcade
Post by: Hooje on May 15, 2005, 03:40:01 PM
Yep, that fixed it. Thanks! :).

For any other users - Make SURE arcade_sql.php is set to CHMOD 755. CHECK AND CHECK AGAIN!  :D
Title: Re: SMF Arcade
Post by: niko on May 15, 2005, 03:53:51 PM
its only reguired if its runned under cgi i think... or if php is runned under other user than 'nobody'. So if you get Internal Server error or Permission Deined on line 0 you need to chmod 755.
Title: Re: SMF Arcade
Post by: Tony Reid on May 15, 2005, 06:30:38 PM
Quote from: Ben_S on May 09, 2005, 12:33:36 PM
Are there any plans to "fix" this mod so it doesn't do in excess of 70 queries on some page views?

I took arcade off my board because of the excess queries - my sites way to busy to take a punch from the arcades queries.

Its a shame because its a really cool mod :(

Lets hope Niko can find time to optimise the sql.
Title: Re: SMF Arcade
Post by: b0b on May 16, 2005, 04:56:07 AM
Hey anyone know where I can download some games for this?
Title: Re: SMF Arcade
Post by: niko on May 16, 2005, 07:43:49 AM
smfgames.com
Title: Re: SMF Arcade
Post by: Nitro on May 17, 2005, 12:22:35 AM
where do i get this arcadesql.php?
thank you man!

Quote from: OIDanTheManIO on May 09, 2005, 12:38:23 AM
Quote from: Bigguy on May 09, 2005, 12:31:41 AM
I dont know how to run that file other than in cpanel ...is there another way ?  sorry for the  double post ...I`m anxious now LOL

No.  It's not done from Cpanel.  It's done from http://www.yourwebsite.com/arcadesql.php .

-Dan The Man
Title: Re: SMF Arcade---game directory invaild
Post by: Nitro on May 17, 2005, 02:14:46 AM
question:
i have ran twice the arcadesql.php twice and still it gives me the same error below. i checked for chmod and it is correct to 777 (as i read on previous posts in here)

Quotegame directory path:
www._________________.com/bb/Games/ (Games Directory is invalid)[/b]

and url:
/homepages/20/d107436098/htdocs/bb/games (no errors here but the only first one)

so in the game settings page it keeps showing "games Directory is invalid"

can someone please help me on this one , PLEASE?:

THANK YOU SO MUCH!!!
-richard
Title: Re: SMF Arcade
Post by: niko on May 17, 2005, 08:44:12 AM
Create the directory...

Edit: you have wrong place so swap them
Title: Re: SMF Arcade
Post by: Aravot on May 17, 2005, 05:38:12 PM
Niko's SMF Arcade 1.1.3 updated for SMF 1.1 Beta 1 & 2

Notice: My updated version ONLY works with SMF 1.1 beta 1 & 2, DO NOT install it on SMF 1.0.x it will not work.

I updated the Arcade for my personal website and thought to share it with the community, I give No Support, use it at your own risk, Backup, Backup, Backup.

Link to SMF 1.1 Beta 2 with Arcade 1.1.3 (http://www.armeniancollegeofcalcutta.com/smf/index.php)
test/test

To stop any confusion with the original version of Arcade I name the archive 'SMF_Arcade_1.1.3-fixed'
Title: Re: SMF Arcade
Post by: hel8itch on May 18, 2005, 04:41:22 AM
i had the arcade installed on one forum with no problems atall.now iv tried to install it on another board i get
newscore.php was not found on this server.
Title: Re: SMF Arcade
Post by: xcel on May 18, 2005, 08:20:50 AM
Hi hell,
you might find the problem isnt with the arcade but with the actual game thats causing the error.

games modded for IBP Arcade mod and this Mod send the score to index.php?newscore (or somethin like that) but games modded for the phpBB arcade use the system of sending it to newscore.php. So im guessing the game(s) you are having probs with were modded for phpbb.

any game available for phpbb mod is ALMOST always gonna have also been modded for IBP arcade and therefore SMF also, so have a hunt around and replace the games in question.
------------------

Hopefully im right with that, its my first post here as I was just checking out SMF and happened to see your question.
Title: Re: SMF Arcade
Post by: hel8itch on May 19, 2005, 02:53:12 PM
they are games from AMOD..which are swf for phpbb..

where can i get games that will work...
Title: Re: SMF Arcade
Post by: hel8itch on May 19, 2005, 04:09:23 PM
can someone make the arrays for all the games for me pleeeeeeeeeeeeeeeeease
i tried adding one to the list i have and it buggered up  :-[
Title: Re: SMF Arcade
Post by: LFC4EVA on May 21, 2005, 09:17:21 AM
is this mod gonna be compatible for SMF 1.0.3
Title: Re: SMF Arcade
Post by: forsakenlad on May 21, 2005, 01:16:00 PM
It already is :)
Title: Re: SMF Arcade
Post by: LFC4EVA on May 21, 2005, 01:46:17 PM
i cant read any posts i keep getting

Table 'live_forum.smf_games_champ' doesn't exist
File: /home/live/public_html/forum/Sources/Display.php
Line: 546

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.3, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

can someone help me
Title: Re: SMF Arcade
Post by: caNcer_b0y on May 21, 2005, 02:28:01 PM
Quote from: hel8itch on May 19, 2005, 04:09:23 PM
can someone make the arrays for all the games for me pleeeeeeeeeeeeeeeeease
i tried adding one to the list i have and it buggered up  :-[

You can find games for this mod at smfgames.com  You need to register and post 2 times.
Title: Re: SMF Arcade
Post by: forsakenlad on May 21, 2005, 04:38:47 PM
You must run the upgrade.php that you can obtain from the Downloads page...
Title: Re: SMF Arcade
Post by: eddie43302 on May 21, 2005, 09:55:45 PM
as soon as i installed the arcade mod no one could view any post on my forum got errors so i uninstalled it and my forum back to normal i like this mod but it made my forum go down!
Title: Re: SMF Arcade
Post by: RingofFire on May 21, 2005, 10:46:22 PM
Is there anyway to turn off the champion listings under peoples names in posts, it takes up half a page cause one guy won 40 things
Title: Re: SMF Arcade
Post by: Lostnode on May 22, 2005, 06:00:10 AM
Anywhere I can get the games, the game site seems to be down the last few days :(
Title: Re: SMF Arcade
Post by: LFC4EVA on May 22, 2005, 07:13:27 AM
Quote from: eddie43302 on May 21, 2005, 09:55:45 PM
as soon as i installed the arcade mod no one could view any post on my forum got errors so i uninstalled it and my forum back to normal i like this mod but it made my forum go down!
exacully what happend to me m8, i really wanted it  :(
Title: Re: SMF Arcade
Post by: LFC4EVA on May 22, 2005, 09:33:59 AM
How do i install a game?
Title: Re: SMF Arcade
Post by: LFC4EVA on May 22, 2005, 10:08:18 AM
my members cant view the games it says there not allowed. can someone help
Title: Re: SMF Arcade
Post by: Nitro on May 22, 2005, 04:43:20 PM
Quote from: RingofFire on May 21, 2005, 10:46:22 PM
Is there anyway to turn off the champion listings under peoples names in posts, it takes up half a page cause one guy won 40 things

in display.php look for this

/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))


change to something like this:

/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game LIMIT 5",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))


change where it says LIMIT 5 to something you want, i have  only 2 and that works for me.
that should do it.
Title: Re: SMF Arcade
Post by: Nitro on May 22, 2005, 04:46:46 PM
Quote from: LFC4EVA on May 22, 2005, 10:08:18 AM
my members cant view the games it says there not allowed. can someone help

gotto give them permissions
Title: Re: SMF Arcade
Post by: Nitro on May 22, 2005, 04:47:20 PM
Quote from: LFC4EVA on May 22, 2005, 09:33:59 AM
How do i install a game?


package manager, or you mean how do you add more games? for more games, FTP games to your game folder.
Title: Re: SMF Arcade
Post by: Nitro on May 22, 2005, 04:48:54 PM
Quote from: LFC4EVA on May 22, 2005, 07:13:27 AM
Quote from: eddie43302 on May 21, 2005, 09:55:45 PM
as soon as i installed the arcade mod no one could view any post on my forum got errors so i uninstalled it and my forum back to normal i like this mod but it made my forum go down!
exacully what happend to me m8, i really wanted it  :(

were you getting  errors on the permissions.php? or perhaps give some permissions would do it.
Title: Re: SMF Arcade
Post by: Nitro on May 22, 2005, 04:51:12 PM
Quote from: Lostnode on May 22, 2005, 06:00:10 AM
Anywhere I can get the games, the game site seems to be down the last few days :(

http://www.smfgames.com/index.php
Title: Re: SMF Arcade
Post by: eddie43302 on May 22, 2005, 05:25:04 PM
Quote from: NitroRich on May 22, 2005, 04:48:54 PM
Quote from: LFC4EVA on May 22, 2005, 07:13:27 AM
Quote from: eddie43302 on May 21, 2005, 09:55:45 PM
as soon as i installed the arcade mod no one could view any post on my forum got errors so i uninstalled it and my forum back to normal i like this mod but it made my forum go down!
exacully what happend to me m8, i really wanted it  :(

were you getting  errors on the permissions.php? or perhaps give some permissions would do it.
here is the exact error i got after i hit apply mod in the package manager i didnt do anything else.
Table 'user_14351.smf_games_champ' doesn't exist
File: /home/content/e/d/d/eddie43302/html/smf/Sources/Display.php
Line: 577

thats the error i got when i tried to read one of my topics when the mod was applied,everyone else got the error to!
Title: Re: SMF Arcade
Post by: Champi on May 22, 2005, 06:59:13 PM
QuoteTable 'user_14351.smf_games_champ' doesn't exist

check if table smf_games_champ exists... run arcade_sql.php or do it manually trough phpmyadmin
Title: Re: SMF Arcade
Post by: Nitro on May 22, 2005, 08:44:00 PM
are you installing the arcade in default theme? yeah, to run the arcade sql might help as well.
Title: Re: SMF Arcade
Post by: Bitwiz44 on May 23, 2005, 09:40:08 AM
I  installed this. it put the extra characters in, causing a crash. I did edit the file, The mod mostly works, Im concerned about the "errors' in the forum table.

my members went crazy, they really like this mod.  :D

I would like to see this Mod cleaned up as I believe this could be a very popular mod for SMF.
Title: Re: SMF Arcade
Post by: niko on May 23, 2005, 01:13:36 PM
Smf Arcade 1.2 released!


SMF 1.1 is not supported...
Title: Re: SMF Arcade
Post by: dtamer on May 23, 2005, 02:37:01 PM
Hi, i just installed the SMF Arcade the new one i think its 1.2.0 or something so i installed it and everything, but when i wat to add a game, i fill our everything but it says

Please fill form completely

can u help me??????
Title: Re: SMF Arcade
Post by: ArkServer on May 23, 2005, 03:30:12 PM
ive got this wierd error, i just installed the mod but now i got 4/5 game button's on my index
http://arkserver.servehttp.com/smf/index.php

anyone know howto fix? thnx allot  ;D
Title: Re: SMF Arcade
Post by: niko on May 23, 2005, 03:43:20 PM
Quote from: ArkServer on May 23, 2005, 03:30:12 PM
ive got this wierd error, i just installed the mod but now i got 4/5 game button's on my index
http://arkserver.servehttp.com/smf/index.php

anyone know howto fix? thnx allot  ;D

just edit your template
Title: Re: SMF Arcade
Post by: ArkServer on May 23, 2005, 03:46:06 PM
Quote from: Niko on May 23, 2005, 03:43:20 PM
Quote from: ArkServer on May 23, 2005, 03:30:12 PM
ive got this wierd error, i just installed the mod but now i got 4/5 game button's on my index
http://arkserver.servehttp.com/smf/index.php

anyone know howto fix? thnx allot  ;D

just edit your template

how?


//edit

i just noticed i cant install any games? i put a file called Game_pack0.zip into the \games directory and when i click on games on the admin section i dont see anything that can be installed :S
Title: Re: SMF Arcade
Post by: Nitro on May 23, 2005, 03:58:13 PM
looks like you tried to install it too many times.
for smf arcade support goto:
smfgames.com
Title: Re: SMF Arcade
Post by: ArkServer on May 23, 2005, 04:13:34 PM
Quote from: NitroRich on May 23, 2005, 03:58:13 PM
looks like you tried to install it too many times.
for smf arcade support goto:
smfgames.com

button prob is fixed, thnx :)

but now i cant install any games and i already looked at the support forum over there
Title: Re: SMF Arcade
Post by: niko on May 23, 2005, 04:15:29 PM
Quote from: ArkServer on May 23, 2005, 03:46:06 PM




//edit

i just noticed i cant install any games? i put a file called Game_pack0.zip into the \games directory and when i click on games on the admin section i dont see anything that can be installed :S

You must extract files...
Title: Re: SMF Arcade
Post by: Nitro on May 23, 2005, 04:19:38 PM
that's right!
extract the files and yo have to upload these into the game directory using a ftp program like http://winscp.net/eng/download.php it is free! then go to the admin section , click on games-admin then in the 'games' section look under the list of your games, (if any) you will see a drop list, select the one you have UPLOADED then click on 'install'
Title: Re: SMF Arcade
Post by: ArkServer on May 23, 2005, 04:38:49 PM
Quote from: NitroRich on May 23, 2005, 04:19:38 PM
that's right!
extract the files and yo have to upload these into the game directory using a ftp program like http://winscp.net/eng/download.php it is free! then go to the admin section , click on games-admin then in the 'games' section look under the list of your games, (if any) you will see a drop list, select the one you have UPLOADED then click on 'install'


thnx i can see the games now :D

after i hit install i goto "Game Installer" and fill everything in but when i hit submit it says " Please fill form completely"


I think it is in this field "Background color (FLASH)" because i dont know what to fill in so i typed "white" lol

anyways thnx allot for helping me out :D
Title: Re: SMF Arcade
Post by: Nitro on May 23, 2005, 04:44:56 PM
make sure to put a name to your game:
Internal Name: ameriman
Name: AmeriMan
File: ....

etc...etc..
Title: Re: SMF Arcade
Post by: ArkServer on May 23, 2005, 05:03:05 PM
Quote from: NitroRich on May 23, 2005, 04:44:56 PM
make sure to put a name to your game:
Internal Name: ameriman
Name: AmeriMan
File: ....

etc...etc..

still got same error, i guess im too dumb to install this :/
Title: Re: SMF Arcade
Post by: Nitro on May 23, 2005, 06:41:28 PM
you mean... lots of buttons?
why don't you go to www.smfarcade.com for support. they know all the tweaks about that MOD
Title: Re: SMF Arcade
Post by: niko on May 24, 2005, 08:20:47 AM
Quote from: ArkServer on May 23, 2005, 04:38:49 PM
Quote from: NitroRich on May 23, 2005, 04:19:38 PM
that's right!
extract the files and yo have to upload these into the game directory using a ftp program like http://winscp.net/eng/download.php it is free! then go to the admin section , click on games-admin then in the 'games' section look under the list of your games, (if any) you will see a drop list, select the one you have UPLOADED then click on 'install'


thnx i can see the games now :D

after i hit install i goto "Game Installer" and fill everything in but when i hit submit it says " Please fill form completely"


I think it is in this field "Background color (FLASH)" because i dont know what to fill in so i typed "white" lol

anyways thnx allot for helping me out :D

Background color i think it must be in hex... and it should auto-detected...
Title: Re: SMF Arcade
Post by: Harro on May 24, 2005, 10:17:22 AM
I saw here and on smfgames.com that the "chamion of..." images don't work when using search engine friendly url's.
But didn't find a way to fix that.
Is it impossible to have those images when using sef url's?
Title: Re: SMF Arcade
Post by: niko on May 24, 2005, 01:53:19 PM
it is alerdy fixed or so i remember
Title: Re: SMF Arcade
Post by: Champi on May 24, 2005, 03:28:07 PM
did you miss the rating stars in arcade.template.php  ???
Title: Re: SMF Arcade
Post by: Harro on May 25, 2005, 06:18:52 AM
Quote from: Niko on May 24, 2005, 01:53:19 PM
it is alerdy fixed or so i remember
Did they fix that in arcade 1.2.0 then?
Cuz it isn't fixed in 1.1.3...
I'll take a look at it :)
Title: Re: SMF Arcade
Post by: niko on May 25, 2005, 09:03:59 AM
Smf arcade 1.2 seems to have few bugs... Repack will be released in few days... till it i recormed staying in 1.1.3
Title: Re: SMF Arcade
Post by: Bitwiz44 on May 25, 2005, 07:52:24 PM
Anyone know of another way of obtaining games that can plug in to this mod? Its seems another re-source will be needed soon.
Title: Re: SMF Arcade
Post by: ShadowStriker on May 25, 2005, 08:17:13 PM
WOW i finnally got mine to work: http://wwp.x10hosting.com/general/index.php?action=arcade
Title: Re: SMF Arcade
Post by: caNcer_b0y on May 26, 2005, 02:30:38 PM
Quote from: Bitwiz44 on May 25, 2005, 07:52:24 PM
Anyone know of another way of obtaining games that can plug in to this mod? Its seems another re-source will be needed soon.

Only place you can get legal games for this mode is at http://smfgames.com

At Smfgames.com we get permission from the authors to use their games with the mod.  So if you obtain games anywhere else you are responsible for any legal action an author takes.

But feel free to pop over register, Post 2 times, and download games :)
Title: Re: SMF Arcade
Post by: wwepassion.com on May 26, 2005, 03:43:15 PM
I have finished every other file, and I get to managepermissions.php .
I do as it asks:
Find
Copy to clipboardCode:
'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => false,
),
Add after
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),

I add the last piece of code, and go to try the permissions but cannot enter the page because of an error.
I get this error:
2: Invalid argument supplied for foreach()
File: /home/hwwepa08/public_html/board/Sources/ManagePermissions.php
Line: 1083

Now I have checked that line, and it's to do with 'profile'=>array...A few lines near where I changed...AFTER I edited the file, the code looks like this:

),
'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
                'profile_remote_avatar' =>false,                  )
),'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),


Please help? BTW, Admins ARE able to play. but not any other member.



Title: Re: SMF Arcade
Post by: rider on May 27, 2005, 02:35:23 AM
I can, if you goto smfgames you can get a copy of the managepermissions.php.Its in the faq forum there.Just apply it and you should be good togo. :D
Title: Re: SMF Arcade
Post by: mrselnombre on May 29, 2005, 02:55:21 AM
having a problem installing with the package manager
i'm getting this error

Notice: Undefined index: theme_dir in /home/totaltwa/public_html/board/Sources/Load.php on line 847
Notice: Undefined index: default_theme_dir in /home/totaltwa/public_html/board/Sources/Load.php on line 849
Notice: Undefined index: default_theme_dir in /home/totaltwa/public_html/board/Sources/Load.php on line 856
Notice: Undefined index: theme_dir in /home/totaltwa/public_html/board/Sources/Load.php on line 905
Notice: Undefined index: theme_url in /home/totaltwa/public_html/board/Sources/Load.php on line 905
Notice: Undefined index: theme_dir in /home/totaltwa/public_html/board/Sources/Load.php on line 906
Notice: Undefined index: theme_url in /home/totaltwa/public_html/board/Sources/Load.php on line 906
Notice: Undefined index: default_theme_url in /home/totaltwa/public_html/board/Sources/Load.php on line 907
Notice: Undefined index: default_theme_url in /home/totaltwa/public_html/board/Sources/Load.php on line 908


this part of where it says the problem is
if (file_exists($settings['theme_dir'] . '/' . $template_name . '.template.php'))
template_include($settings['theme_dir'] . '/' . $template_name . '.template.php', true);
elseif (file_exists($settings['default_theme_dir'] . '/' . $template_name . '.template.php'))
{
// Make it known that this template uses different directories...
$settings['default_template'] = true;
template_include($settings['default_theme_dir'] . '/' . $template_name . '.template.php', true);
}
// Hmmm... doesn't exist?!  I don't suppose the directory is wrong, is it?
elseif (!file_exists($settings['default_theme_dir']) && file_exists($boarddir . '/Themes/default'))


and here

array($settings['theme_dir'], $template_name, $lang, $settings['theme_url']),
array($settings['theme_dir'], $template_name, $language, $settings['theme_url']),
array($settings['default_theme_dir'], $template_name, $lang, $settings['default_theme_url']),
array($settings['default_theme_dir'], $template_name, $language, $settings['default_theme_url'])
);


I am upgrading from the previous arcade version. The arcade appears to be working fine, except there are no options in the game installer page.
My directories are where they are supposed to be too.
Title: Re: SMF Arcade
Post by: flapper on May 29, 2005, 08:13:43 AM
Hi, installed SMF Arcade 1.2 RP , had to do a manual install, kept getting errors using package manager.  All works fine except the Statistics page

get error:

An Error Has Occurred!
2: Division by zero 

screen shot included

Thanks in advance, u guys doing a brilliant job.
Title: Re: SMF Arcade
Post by: flapper on May 29, 2005, 09:42:11 AM
Sorry sorted problem out, clicked on Force update champions in Quick Actions in the arcade admin and errors disappeared.
Title: Re: SMF Arcade
Post by: AlexHobbs on May 30, 2005, 09:42:56 AM
Hey, firstly great arcade - old version works but i tried to install version 1.1.3 and once it was installed and everything i click on the arcade button on index.php and it comes up with
An Error Has Occurred!
2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /home2/wide/public_html/forum/index.php
Line: 119 
Title: Re: SMF Arcade
Post by: NOS ChromeNut on May 30, 2005, 12:29:31 PM
I tried to load the arcade on my new forums, onto a freshly loaded version 1.0.3 of SMF.  It blew away my index.php file and came up as version 1.0.2 after the mod. 

Anyone know is this supposed to be compatible with 1.0.3 and going forward, will it be compatible with 1.1??  ???
Title: Re: SMF Arcade
Post by: Harro on May 30, 2005, 03:18:05 PM
What does the "Force update champions" do exactly?
Title: Re: SMF Arcade
Post by: nokonium on May 30, 2005, 03:27:34 PM
Quote from: Niko on May 25, 2005, 09:03:59 AM
Smf arcade 1.2 seems to have few bugs...

But they don't want bug reports on SMF Games, they want them posted off site. If you post and say the buck stops at SMFGAMES, they ban you.

I am not prepared to use a supposedly secure site with an a invalid certificate. I will not accept an unknown issuer for a secure certificate so I am unable to make any bug reports there. When you click on the link to the site to report bugs, then a security warning pops up - unknown issuer for secure certificate

Why can't bugs be reported in what I assumed was the Arcade support forum, rather than offsite, where it looks like they are being hidden.

Surely it's better for everybody to see what problems others are experiencing and together find cures.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fblack-cat%2Fangry%2Fflaming1.gif&hash=f09a637da0e5d6e739059492526d6ad5ace2cd52) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fblack-cat%2Fangry%2Fflaming1.gif&hash=f09a637da0e5d6e739059492526d6ad5ace2cd52) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fblack-cat%2Fangry%2Fflaming1.gif&hash=f09a637da0e5d6e739059492526d6ad5ace2cd52)
Title: Re: SMF Arcade
Post by: johnm on May 30, 2005, 06:27:57 PM
Quote from: nokonium on May 30, 2005, 03:27:34 PM
Quote from: Niko on May 25, 2005, 09:03:59 AM
Smf arcade 1.2 seems to have few bugs...

But they don't want bug reports on SMF Games, they want them posted off site. If you post and say the buck stops at SMFGAMES, they ban you.

I am not prepared to use a supposedly secure site with an a invalid certificate. I will not accept an unknown issuer for a secure certificate so I am unable to make any bug reports there. When you click on the link to the site to report bugs, then a security warning pops up - unknown issuer for secure certificate

Why can't bugs be reported in what I assumed was the Arcade support forum, rather than offsite, where it looks like they are being hidden.

Surely it's better for everybody to see what problems others are experiencing and together find cures.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fblack-cat%2Fangry%2Fflaming1.gif&hash=f09a637da0e5d6e739059492526d6ad5ace2cd52) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fblack-cat%2Fangry%2Fflaming1.gif&hash=f09a637da0e5d6e739059492526d6ad5ace2cd52) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fblack-cat%2Fangry%2Fflaming1.gif&hash=f09a637da0e5d6e739059492526d6ad5ace2cd52)

you were banned because you violated our site policy by being abusive to one of the staff there
wether this would have been towards a member of staff or a member you would have still been banned.

for the record you post is still where it was so the other members can see.
its not that we dont want bugs reported its simply easier for niko.

i also gave you the option to appolagise for your behaviour and your ban would be lifted after a cooling off period of 3 days.

just to be clear you was not banned for voicing your opinion you were banned for being offensive/abusive.

the balls in your court...
Title: Re: SMF Arcade
Post by: redone on May 30, 2005, 08:02:30 PM
If you break forum rules then you get what you asked for. Bugs are posted at SMFgames all the time. Bottomline is simply no one has anything to hide.

;)
Title: Re: SMF Arcade
Post by: caNcer_b0y on May 30, 2005, 11:00:36 PM
Harumph! :P  I know for a fact that bugs get submitted, and solved. as has already been stated.
Title: Re: SMF Arcade
Post by: crazystu on May 30, 2005, 11:29:58 PM
If it wasn't for bug reports, then we would have a pretty bad arcade ;)
Title: Re: SMF Arcade
Post by: nokonium on May 31, 2005, 02:14:22 AM
Quote from: johnm on May 30, 2005, 06:27:57 PM
the balls in your court...

No it is in yours, my e-mail got bounced, which is why I posted in here. And I am not prepared to use a supposedly secure site with an a invalid certificate.





Title: Re: SMF Arcade
Post by: nokonium on May 31, 2005, 02:26:52 AM
1.2RP Bug report

6 pages of arcade errors in the error log when installed, another 6 when 'installed' again, It does not show up as installed in the Package manager. You cannot add new games.
Title: Re: SMF Arcade
Post by: nokonium on May 31, 2005, 02:33:14 AM
Quote from: nesianstyles on May 30, 2005, 11:29:58 PM
If it wasn't for bug reports, then we would have a pretty bad arcade ;)

Without the bugs it would be better. Bloc withdrew one of his beta mods because he was concerned about the problems with it and it is now only being released to beta testers until it is stable.

Arcade could do with more beta testing before a new version is released.
Title: Re: SMF Arcade
Post by: rider on May 31, 2005, 12:36:58 PM
Quote from: nokonium on May 31, 2005, 02:33:14 AM
Quote from: nesianstyles on May 30, 2005, 11:29:58 PM
If it wasn't for bug reports, then we would have a pretty bad arcade ;)

Without the bugs it would be better. Bloc withdrew one of his beta mods because he was concerned about the problems with it and it is now only being released to beta testers until it is stable.

Arcade could do with more beta testing before a new version is released.

Everything would be better without the bugs.LOL.Until the bugs are worked  just use 1.1.3.As for the invalid cert.As far as I know it is valid.You don't have any sercurity issues to be worried about at smfgames anyways.
Title: Re: SMF Arcade
Post by: nokonium on May 31, 2005, 01:08:21 PM
Quote from: rider on May 31, 2005, 12:36:58 PM
Until the bugs are worked  just use 1.1.3

That was until it was repacked, 1.2RP has been repacked, that is what RP stands for  ::)

QuoteAs for the invalid cert.As far as I know it is valid.

AFAIK my browser knows better than I do on this subject so I believe it.
Title: Re: SMF Arcade
Post by: rider on May 31, 2005, 02:37:40 PM
Quote from: nokonium on May 31, 2005, 01:08:21 PM
Quote from: rider on May 31, 2005, 12:36:58 PM
Until the bugs are worked  just use 1.1.3

That was until it was repacked, 1.2RP has been repacked, that is what RP stands for  ::)

No kidding.Well I guess the bugs have not been worked out,so just use 1.1.3 until fixed.

QuoteAs for the invalid cert.As far as I know it is valid.

AFAIK my browser knows better than I do on this subject so I believe it.

Believe what you want.With or without the cert.There are no security issue with the site.
Title: Re: SMF Arcade
Post by: niko on May 31, 2005, 03:45:15 PM
You can also post to smfgames forum...
Title: Re: SMF Arcade
Post by: johnm on May 31, 2005, 04:09:11 PM
rider dont bother hes just trying to cause trouble



Title: Re: SMF Arcade
Post by: redone on May 31, 2005, 10:52:31 PM
My arcade works just fine thanks!  ;D
Title: Re: SMF Arcade
Post by: nokonium on June 01, 2005, 08:33:25 AM
Quote from: Niko on May 31, 2005, 03:45:15 PM
You can also post to smfgames forum...

Do I want to post in SMF Games? Yes I do, I have a forum that is running Arcade, it is a popular feature and I have some bug problems that need to be resolved. However I cannot post there because I and my IP have been banned without any warning, for saying it as I saw it. I did not call anyone an idiot or worse, I did not excercise the swear filter. I am a blunt speaker and will continue to be.

FYI I have a screenshot of the security message.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fbits%2Frootcert.jpg&hash=2515da9e784bb3564f4968837816520c249a5d48)
Title: Re: SMF Arcade
Post by: AlexHobbs on June 01, 2005, 09:14:49 AM
Hey, firstly great arcade - old version works but i tried to install version 1.1.3 and once it was installed and everything i click on the arcade button on index.php and it comes up with
An Error Has Occurred!
2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /home2/wide/public_html/forum/index.php
Line: 119


If anyone could help with this i would be extremely grateful.
If it dosent work is their a way to add catagorys on the old version?
Title: Re: SMF Arcade
Post by: niko on June 01, 2005, 09:21:25 AM
make sure you have upload ArcadeAdmin.php and others
Title: Re: SMF Arcade
Post by: AlexHobbs on June 01, 2005, 09:28:05 AM
Quote from: Niko on June 01, 2005, 09:21:25 AM
make sure you have upload ArcadeAdmin.php and others
Does that mean i also have to upload arcade.xml and the other .xml?
Title: Re: SMF Arcade
Post by: AlexHobbs on June 01, 2005, 09:43:01 AM
Quote from: AlexHobbs on June 01, 2005, 09:28:05 AM
Quote from: Niko on June 01, 2005, 09:21:25 AM
make sure you have upload ArcadeAdmin.php and others
Does that mean i also have to upload arcade.xml and the other .xml?
Right ive uploaded every single file in the zip and it still comes up with the same error?
I've run arcade_sql.php to install it and it still dosent work
Title: Re: SMF Arcade
Post by: niko on June 01, 2005, 11:41:36 AM
no xmls needed
Title: Re: SMF Arcade
Post by: johnm on June 01, 2005, 04:29:06 PM
Quote from: nokonium on June 01, 2005, 08:33:25 AM
Quote from: Niko on May 31, 2005, 03:45:15 PM
You can also post to smfgames forum...

Do I want to post in SMF Games? Yes I do, I have a forum that is running Arcade, it is a popular feature and I have some bug problems that need to be resolved. However I cannot post there because I and my IP have been banned without any warning, for saying it as I saw it. I did not call anyone an idiot or worse, I did not excercise the swear filter. I am a blunt speaker and will continue to be.

FYI I have a screenshot of the security message.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fbits%2Frootcert.jpg&hash=2515da9e784bb3564f4968837816520c249a5d48)

well dont take this the wrong way but that doesnt actually mean that the cert isnt valid its just saying that your browser doesnt recognise it.
if you use fire fox or ie and double click on the padlock (better in FF) it will confirm that it is indeed valid.

i personaly purchaed this cert for smfgames and i did it at rapidssl.com through my reseller if you still have doubts you can contact them at [email protected] and they will actually check it for you.

all i am tying to do is help our members achive greater privacy by having the option to register/login via ssl and obvously for other reasons like maybe a shop. ssl helps prevent the data being read between the server and the client.

now if you want you can email me (its in my profile) to discuss this otherwise you remain banned for the reasons wich were meantioned before
John
Title: Re: SMF Arcade
Post by: caNcer_b0y on June 01, 2005, 11:56:05 PM
Quote from: AlexHobbs on June 01, 2005, 09:43:01 AM
Quote from: AlexHobbs on June 01, 2005, 09:28:05 AM
Quote from: Niko on June 01, 2005, 09:21:25 AM
make sure you have upload ArcadeAdmin.php and others
Does that mean i also have to upload arcade.xml and the other .xml?
Right ive uploaded every single file in the zip and it still comes up with the same error?
I've run arcade_sql.php to install it and it still dosent work

Some times more than one run of arcade_sql.php is needed.  Also, did you uninstall the previous version you had installed?  if not you should do so :) then let us know if it has been resolved. :)
Title: Re: SMF Arcade
Post by: Harro on June 02, 2005, 07:11:40 AM
Anychance that in future releases of the arcade something will change for the tournaments?
Now when a tournament is over, nothing happens...
If you don't go to the tournament you won't know who won.
Maybe another page with "finished tournaments" with the results there?
Title: Re: SMF Arcade
Post by: AlexHobbs on June 02, 2005, 08:20:57 AM
Quote from: caNcer_b0y on June 01, 2005, 11:56:05 PM
Quote from: AlexHobbs on June 01, 2005, 09:43:01 AM
Quote from: AlexHobbs on June 01, 2005, 09:28:05 AM
Quote from: Niko on June 01, 2005, 09:21:25 AM
make sure you have upload ArcadeAdmin.php and others
Does that mean i also have to upload arcade.xml and the other .xml?
Right ive uploaded every single file in the zip and it still comes up with the same error?
I've run arcade_sql.php to install it and it still dosent work

Some times more than one run of arcade_sql.php is needed.  Also, did you uninstall the previous version you had installed?  if not you should do so :) then let us know if it has been resolved. :)

Ive run arcade_sql.php more then once and before i uploaded every new file i deleted allthe old ones to do with arcade. Im doing this manually and it comes up with
2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /home2/wide/public_html/forum/index.php
Line: 119
Should i try and use package manager?
Title: Re: SMF Arcade
Post by: AlexHobbs on June 02, 2005, 08:24:34 AM
Quote from: Harro on June 02, 2005, 07:11:40 AM
Anychance that in future releases of the arcade something will change for the tournaments?
Now when a tournament is over, nothing happens...
If you don't go to the tournament you won't know who won.
Maybe another page with "finished tournaments" with the results there?
Yea im experiencing that - only the players who played it can view the results is there any way to make them public?
Title: Re: SMF Arcade
Post by: vintagepc on June 02, 2005, 11:43:02 AM
I'm having a prob, with 1.0.3- dl'd it with the package manager, but the arcade won't install, I just get a page of errors... what do I do?
Title: Re: SMF Arcade
Post by: dtm.exe on June 02, 2005, 11:45:28 AM
Quote from: vintagepc on June 02, 2005, 11:43:02 AM
I'm having a prob, with 1.0.3- dl'd it with the package manager, but the arcade won't install, I just get a page of errors... what do I do?

Post the errors that you're getting when you install the SMF Arcade mod.

-Dan The Man
Title: Re: SMF Arcade
Post by: vintagepc on June 02, 2005, 11:55:10 AM
Install
Checking database differences
Connected and Selected Database
Finding tables... 133 tables in database

Notice: Undefined index: theme_dir in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 839

Notice: Undefined index: default_theme_dir in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 841

Notice: Undefined index: default_theme_dir in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 848

Notice: Undefined index: theme_dir in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 897

Notice: Undefined index: theme_url in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 897

Notice: Undefined index: theme_dir in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 898

Notice: Undefined index: theme_url in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 898

Notice: Undefined index: default_theme_url in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 899

Notice: Undefined index: default_theme_url in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 900

The default theme's directory is wrong, please correct it by clicking this text.

Notice: Undefined index: theme_dir in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 839

An Error Has Occurred!
2: mysql_affected_rows(): supplied argument is not a valid MySQL-Link resource
File: /home/virus/public_html/vintagepc/forum/Packages/temp/arcade_sql.php
Line: 916 
Title: Re: SMF Arcade
Post by: vintagepc on June 02, 2005, 12:02:55 PM
also, when I try to view topics I'm told that my databases are SMF 1.0.2, but  my install is .0.3.
odd... and that champ and when viewing posts I get :

Table 'virus_vintage2.smf_games_champ' doesn't exist
File: /home/virus/public_html/vintagepc/forum/Sources/Display.php
Line: 546

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.3, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Title: Re: SMF Arcade
Post by: vintagepc on June 02, 2005, 12:04:32 PM
odd, just re-ran arcade_sql, no errors this time, and it seems to be fixed...
Title: Re: SMF Arcade
Post by: niko on June 02, 2005, 12:47:29 PM
Quote from: Harro on June 02, 2005, 07:11:40 AM
Anychance that in future releases of the arcade something will change for the tournaments?
Now when a tournament is over, nothing happens...
If you don't go to the tournament you won't know who won.
Maybe another page with "finished tournaments" with the results there?

thats for next version
Title: Re: SMF Arcade
Post by: nokonium on June 02, 2005, 01:30:11 PM
Quote from: johnm on June 01, 2005, 04:29:06 PM
well dont take this the wrong way but that doesnt actually mean that the cert isnt valid its just saying that your browser doesnt recognise it.
John


I am very pleased to see that you have become a member of Our-Local (http://our-local.co.uk) and that you and our internet security expert are discussing this issue.
Title: Re: SMF Arcade
Post by: Harro on June 02, 2005, 05:19:17 PM
Quote from: Niko on June 02, 2005, 12:47:29 PM
Quote from: Harro on June 02, 2005, 07:11:40 AM
Anychance that in future releases of the arcade something will change for the tournaments?
Now when a tournament is over, nothing happens...
If you don't go to the tournament you won't know who won.
Maybe another page with "finished tournaments" with the results there?

thats for next version

Great ;)
Looking forward to it :)
Title: Re: SMF Arcade
Post by: superstorm on June 02, 2005, 07:33:58 PM
im having so many problems installing this lol . If someone would be kind enough to drop me a pm or something to help me out id really really appreciate it
Title: Re: SMF Arcade
Post by: johnm on June 03, 2005, 12:15:28 PM
Quote from: nokonium on June 02, 2005, 01:30:11 PM
Quote from: johnm on June 01, 2005, 04:29:06 PM
well dont take this the wrong way but that doesnt actually mean that the cert isnt valid its just saying that your browser doesnt recognise it.
John


I am very pleased to see that you have become a member of Our-Local (http://our-local.co.uk) and that you and our internet security expert are discussing this issue.

i give up! lol
Title: Re: SMF Arcade
Post by: redone on June 04, 2005, 09:19:25 AM
If your doing the install manually follow the readme.html and upload all files.
Title: Re: SMF Arcade
Post by: LFC4EVA on June 05, 2005, 02:14:12 PM
my members cant view the arcade.
its enabled and they have permission but nothing
any ideas
Title: Re: SMF Arcade
Post by: johnm on June 06, 2005, 08:30:38 AM
Quote from: LFC4EVA on June 05, 2005, 02:14:12 PM
my members cant view the arcade.
its enabled and they have permission but nothing
any ideas

you going to need to post a little more info than that
Title: Re: SMF Arcade
Post by: grymlin72 on June 06, 2005, 10:23:23 AM
ok upload went fine, but in the arcade admin panel i have errors.  Same as stated by someone else. 

I'll post them:

Under Games:
QuoteTable 'nquiz.smf_games_caterogy' doesn't exist
File: /home/content/r/r/a/rramos/html/forum/Sources/ArcadeAdmin.php
Line: 169

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.3, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

Categorys
QuoteTable 'nquiz.smf_games_caterogy' doesn't exist
File: /home/content/r/r/a/rramos/html/forum/Sources/ArcadeAdmin.php
Line: 113

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.3, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

Title: Re: SMF Arcade
Post by: grymlin72 on June 06, 2005, 10:25:53 AM
Oh also...I uninstalled arcade, but my forum is still giving me errors...  how do i fix??
Title: Re: SMF Arcade
Post by: niko on June 06, 2005, 10:30:13 AM
you didnt run aracde_sql.php some servers require it to ran twice
Title: Re: SMF Arcade
Post by: grymlin72 on June 06, 2005, 10:31:47 AM
Quote from: Niko on June 06, 2005, 10:30:13 AM
you didnt run aracde_sql.php some servers require it to ran twice

so what should i do now?  I uninstalled it.  should i reinstall? and run arcade_sql.php?
Title: Re: SMF Arcade
Post by: johnm on June 06, 2005, 07:09:41 PM
you could try that

it depends on what errors your getting if they are about missing arcade tables you can try to run arcade_sql.php even if you are not reinstalling the arcade

but once it is uninstalled you shouldnt get errors
Title: Re: SMF Arcade
Post by: MichiganMinis on June 06, 2005, 08:59:34 PM
I just uninstalled this and I get this error
QuoteTable 'michiga1_smf1.smf_games_champ' doesn't exist
File: /home/michiga1/public_html/forum/Sources/Display.php
Line: 639

How do I get rid of this?
Title: Re: SMF Arcade
Post by: Julie on June 07, 2005, 11:01:50 PM
Where can I get the arcade_custom.php file needed for adding custom php games? Or how can I fix the error:

2: arcadeadmin_games(***/forums/Sources/arcade_custom.php): failed to open stream: No such file or directory
File: ***/forums/Sources/ArcadeAdmin.php
Line: 273

The file arcade_custom is not in any of the zip downloads I have found available.

Thanks!
Julie
Title: Re: SMF Arcade
Post by: DoW Kid Rock on June 10, 2005, 11:53:05 AM
couldn't seem to find if someone has this same problem, but here are the errors when I try to upgrade:

SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 113 tables in database

Notice: Undefined index: theme_dir in /home/disciple/public_html/forum/Sources/Load.php on line 837

Notice: Undefined index: default_theme_dir in /home/disciple/public_html/forum/Sources/Load.php on line 839

Notice: Undefined index: default_theme_dir in /home/disciple/public_html/forum/Sources/Load.php on line 846

Notice: Undefined index: theme_dir in /home/disciple/public_html/forum/Sources/Load.php on line 895

Notice: Undefined index: theme_url in /home/disciple/public_html/forum/Sources/Load.php on line 895

Notice: Undefined index: theme_dir in /home/disciple/public_html/forum/Sources/Load.php on line 896

Notice: Undefined index: theme_url in /home/disciple/public_html/forum/Sources/Load.php on line 896

Notice: Undefined index: default_theme_url in /home/disciple/public_html/forum/Sources/Load.php on line 897

Notice: Undefined index: default_theme_url in /home/disciple/public_html/forum/Sources/Load.php on line 898
The default theme's directory is wrong, please correct it by clicking this text.

Notice: Undefined index: theme_dir in /home/disciple/public_html/forum/Sources/Load.php on line 837

Notice: Undefined index: _ in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 147
Hey, Kid Rock, you have 62 messages, 0 are new.
Total time logged in: 3 days, 14 hours and 26 minutes.
Show unread posts since last visit.
Show new replies to your posts.
June 10, 2005, 08:51:59 AM
Search:     Advanced search

20391 Posts in 2408 Topics by 214 Members
Latest Member: DrPayne
*
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 428
Home
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 429
Help
Notice: Undefined index: images_url in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 431
Gallery
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 435
Search
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 440
Admin
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 445
Profile
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 449
Member Map
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 454
Calendar Arcade
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 462
Shop
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 469

Notice: Undefined index: chatAlt in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 469

Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 474
Make a Donation
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 486
Logout


the thing is that it has installed....not sure what the errors are for
Title: Re: SMF Arcade
Post by: five on June 11, 2005, 12:24:49 PM
Hi

I attempted to install this with no other mods but I use the helios theme. It has trashed my forum and there is a big notice saying I have an illegal copy of smf because of the copyright. However, I never removed the copyright and would know how even if I wanted to. Up till now I have been so very pleased with SMF because it is so much easier to use than phpbb.

I havent got a clue when it comes to php and if there are no instructions i am up shoot creek wihtout a paddle. If some one can fix this I am even willing to pay. Would the support on this site be able to upgrade me to the latest version for the $49 and stick my back up in it? Any help will be very gratefully received.

Thanks

P.S.
I am not sure if I am allowed to post the address of my board so just delete if it is a problem.
www.lowlifescum.com/fora
Title: Re: SMF Arcade
Post by: peta-sucks.com on June 11, 2005, 12:29:19 PM
i wish someone woulfd help me.  i cant install games. i have them uploaded in my games directory

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpeta-sucks.com%2Fgd.JPG&hash=516eb4ab1bd7dd397dab538e0d697e308074b0c5)
Title: Re: SMF Arcade
Post by: [Unknown] on June 11, 2005, 04:59:52 PM
Quote from: peta-sucks.com on June 11, 2005, 12:29:19 PM
i wish someone woulfd help me.  i cant install games. i have them uploaded in my games directory

Path should be:

/home/peta/public_html/boards/Games

Or similar.  The URL should be:

http://peta-sucks.com/boards/Games

-[Unknown]
Title: Re: SMF Arcade
Post by: bloc on June 11, 2005, 07:00:37 PM
Quote from: five on June 11, 2005, 12:24:49 PM
Hi

I attempted to install this with no other mods but I use the helios theme. It has trashed my forum and there is a big notice saying I have an illegal copy of smf because of the copyright. However, I never removed the copyright and would know how even if I wanted to. Up till now I have been so very pleased with SMF because it is so much easier to use than phpbb.

I havent got a clue when it comes to php and if there are no instructions i am up shoot creek wihtout a paddle. If some one can fix this I am even willing to pay. Would the support on this site be able to upgrade me to the latest version for the $49 and stick my back up in it? Any help will be very gratefully received.

Thanks

P.S.
I am not sure if I am allowed to post the address of my board so just delete if it is a problem.
www.lowlifescum.com/fora

You have replaced the default theme with Helios theme..and the mod was then actually changing the wrong theme - since default and Helios are not the same.

I suggest you re-upload the default theme, install Helios again as a extra theme and then try to run the mod on the right default theme. You will have to modify Helios with the changes manually or... I am currently working on a Helios version that support among others arcade mod out-of-the-box, so if you could wait for that, it will be perhaps be easier.
Title: Re: SMF Arcade
Post by: peta-sucks.com on June 11, 2005, 07:39:26 PM
ok i got it working. but how do i turn off the option that shows what game u are champ at under your avatar?
Title: Re: SMF Arcade
Post by: Weston on June 13, 2005, 02:17:02 AM
facing a BIG problem. I try to install this game mode.but face error 2 times.. downloading 1.2 version
I think i did not remove properly.. now how am i going to remove the 2 GAMES TAB I've on my forum...

www.c3k.25s.com/forum

Complete newbie in php
Please advise the necessary steps to manually remove etc...

Thanks
Title: Re: SMF Arcade
Post by: nokonium on June 13, 2005, 02:21:33 AM
It is in your default theme index.template, near the end of the file. Look for this

<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'];

and delete one or both, depending how many buttons you want to remove.

You may have to edit some other files as well, you may find you have 'champions' with doubled champion icons, duplication in, IIRC, display.template, and also check your permissions in your admin console. You may get a parse error, IIRC line 994, don't worry, it is easy to fix. You may find a duplicated array and an errant '
Title: Re: SMF Arcade
Post by: Weston on June 13, 2005, 02:40:51 AM
didn't do anything, but now face

Table 'sbc3k_smf.smf_games_champ' doesn't exist
File: /home/sbc3k/public_html/forum/Sources/Display.php
Line: 597

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

How can i do that ?..
Title: Re: SMF Arcade
Post by: Weston on June 13, 2005, 02:57:49 AM
i can't find any upgrade.php anywhere..
Title: Re: SMF Arcade
Post by: Weston on June 13, 2005, 03:36:17 AM
Table 'sbc3k_smf.smf_games_champ' doesn't exist
File: /home/sbc3k/public_html/forum/Sources/Display.php
Line: 597

basically i regret doing that arcade now upgrading i facing this error
Title: Re: SMF Arcade
Post by: [Unknown] on June 13, 2005, 04:32:56 AM
Upload all the files from the upgrade zip file - this will uninstall all your mods, including the arcade.

After that, if you still want the arcade installed, you can see if your solution was posted elsewhere in this topic, and try again.

-[Unknown]
Title: Re: SMF Arcade
Post by: niko on June 13, 2005, 04:57:54 PM
you need to run arcade_sql.php
Title: Re: SMF Arcade
Post by: Kindred on June 13, 2005, 05:07:49 PM
I'm having a really odd occurance....


the thumbnail url is being saved as Games/NAME.gif
no $boardurl...

So, in display.template.php, the pic appears as a blank box (red X) and the url is http://site.org/index.php/Games/NAME.gif

I have temporaily fixed it, by changing the line in Display.template.php to read:
         echo '
                        <img src="', $boardurl, '/',  $tmp['thumbnail'], '" alt="', $tmp['name'], ' ', $txt['arcade_136'],'" width="20">';


I don't know if this is an interaction with some other mod or what....  but the thumbnails disappeared a few weeks ago
Title: Re: SMF Arcade
Post by: Harro on June 13, 2005, 05:52:13 PM
You've got SEF url's enabled?
Title: Re: SMF Arcade
Post by: Kindred on June 13, 2005, 06:32:55 PM
nope...  not SEF.
Title: Re: SMF Arcade
Post by: jsdoyle on June 13, 2005, 11:45:12 PM
I don't know what's going on.  My install of Arcade 1.1.3 was working fine.  I uploaded the files from 1.2RP to my server and ran the sql file.  Now I can't install any new games.

I get an error no matter what I do that says "Missing field: Category".

I think it has something to do with the fact that the table in the database is called "smf_games_caterogy" and in the arcade_admin.php file the word "Category" is misspelled "Caterogy" throughout the file.  It is possible that one was misspelled where it shouldn't have been for the update.

Anyone have a clue why I'm getting the error?  and maybe a better question is why does it appear I'm the only one with the error??

Thanks!
Title: Re: SMF Arcade
Post by: nokonium on June 14, 2005, 03:18:39 PM
Quote from: jsdoyle on June 13, 2005, 11:45:12 PM
I don't know what's going on.  My install of Arcade 1.1.3 was working fine.  I uploaded the files from 1.2RP to my server and ran the sql file.  Now I can't install any new games.

Neither can anyone else who has installed 1.2rp, in the tradition of M$, it is a feature  ;)
Title: Re: SMF Arcade
Post by: johnm on June 14, 2005, 03:48:10 PM
were releasing game pack 7 with an sql file so members can install games for the latest game pack

if you need any other ones im happy to provide them just let me know
Title: Re: SMF Arcade
Post by: mrselnombre on June 16, 2005, 05:32:02 AM
Quote from: jsdoyle on June 13, 2005, 11:45:12 PM
I don't know what's going on.  My install of Arcade 1.1.3 was working fine.  I uploaded the files from 1.2RP to my server and ran the sql file.  Now I can't install any new games.

I get an error no matter what I do that says "Missing field: Category".

I think it has something to do with the fact that the table in the database is called "smf_games_caterogy" and in the arcade_admin.php file the word "Category" is misspelled "Caterogy" throughout the file.  It is possible that one was misspelled where it shouldn't have been for the update.

Anyone have a clue why I'm getting the error?  and maybe a better question is why does it appear I'm the only one with the error??

Thanks!

there is a fix for this,

In arcadeadmin.php find

$to_check = array('game','bgcolor','name','highscore','category','width','height','type','file');

it has typo change it to

$to_check = array('game','bgcolor','name','highscore','caterogy','width','height','type','file');


it has to read caterogy in that line, not category. It is line 268 i think.
Title: Re: SMF Arcade
Post by: Jako on June 16, 2005, 08:25:01 PM
The whole 60something pages is a little intimidating, so excuse me if this question was already answered, but when will this be compatible with v1.0.4?
Title: Re: SMF Arcade
Post by: Harro on June 16, 2005, 08:27:20 PM
I just upgraded to 1.0.4 and arcade still seems to work...
So my guess is that you can safely install it on 1.0.4 ;)
Title: Re: SMF Arcade
Post by: tylerd213 on June 16, 2005, 11:26:36 PM
Quote from: mrselnombre on June 16, 2005, 05:32:02 AM
Quote from: jsdoyle on June 13, 2005, 11:45:12 PM
I don't know what's going on.  My install of Arcade 1.1.3 was working fine.  I uploaded the files from 1.2RP to my server and ran the sql file.  Now I can't install any new games.

I get an error no matter what I do that says "Missing field: Category".

I think it has something to do with the fact that the table in the database is called "smf_games_caterogy" and in the arcade_admin.php file the word "Category" is misspelled "Caterogy" throughout the file.  It is possible that one was misspelled where it shouldn't have been for the update.

Anyone have a clue why I'm getting the error?  and maybe a better question is why does it appear I'm the only one with the error??

Thanks!

there is a fix for this,

In arcadeadmin.php find

$to_check = array('game','bgcolor','name','highscore','category','width','height','type','file');

it has typo change it to

$to_check = array('game','bgcolor','name','highscore','caterogy','width','height','type','file');


it has to read caterogy in that line, not category. It is line 268 i think.

I did that but it is still giving me that same error saying no catagory
Title: Re: SMF Arcade
Post by: mrselnombre on June 17, 2005, 02:44:22 AM
make sure you are editting the right line. It worked for me.
Title: Installed a MOD... Arcade ...Database Errors!!!
Post by: badshah on June 17, 2005, 10:15:57 AM
everything going fine till the point where i try to installs games...
this is the error i get:

Unknown column 'dsc' in 'field list'
File: /home/******/public_html/smf/Sources/Arcade.php
Line: 936

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

but i downloaded SMF like 2 days ago so i have the latest version..duno what seems to be the problems though..any help would be much appreciated!!
Title: Re: Installed a MOD... Arcade ...Database Errors!!!
Post by: [Unknown] on June 17, 2005, 10:18:05 AM
I suggest you post in the Arcade mod's topic.  It's not made by us - it's a third party thing.

-[Unknown]
Title: Re: Installed a MOD... Arcade ...Database Errors!!!
Post by: Harro on June 17, 2005, 10:21:01 AM
Have you tried to run the sql file again?
Title: Re: Installed a MOD... Arcade ...Database Errors!!!
Post by: badshah on June 17, 2005, 10:21:53 AM
Quote from: Harro on June 17, 2005, 10:21:01 AM
Have you tried to run the sql file again?
i did that and everything is fine..just when m tryin to install the game itgive that error....
Title: Re: Installed a MOD... Arcade ...Database Errors!!!
Post by: Harro on June 17, 2005, 10:26:27 AM
Can you post those lines where the error is?
Title: Re: Installed a MOD... Arcade ...Database Errors!!!
Post by: badshah on June 17, 2005, 10:44:35 AM
ah i've found the solution..needed the latest smf arcade..cheers anyway
Title: Re: SMF Arcade
Post by: dtm.exe on June 17, 2005, 01:14:33 PM
Above six posts merged with the appropriate topic.

-Dan The Man
Title: Re: SMF Arcade
Post by: tylerd213 on June 17, 2005, 01:17:59 PM
Quote from: mrselnombre on June 17, 2005, 02:44:22 AM
make sure you are editting the right line. It worked for me.

I edited it correctly and it still is not working, here is a link to my arcadeadmin.php file (in .txt format) http://www.hpr.x10hosting.com/arcadeadmin.txt
Title: Re: SMF Arcade
Post by: mrselnombre on June 17, 2005, 02:54:54 PM
ahh seems there is the same problem on line 403 it says category when it should be caterogy.

Try changing that one, i am sure i only had to edit my file once though.
Title: Re: SMF Arcade
Post by: floating on June 17, 2005, 04:38:29 PM
I want to unisntall smf arcade, how can i do it. because when i try from pacage manager to uninstall it t says: parse error, And an oter thing, i installed by mistake 3 times the same packet, and now i have 3 icons on my board, how can i do that only one shws up?
Title: Re: SMF Arcade
Post by: niko on June 17, 2005, 05:39:25 PM
Find extra links in index.template.php under template_menu function (after calendar part)
Title: Re: SMF Arcade
Post by: johnm on June 17, 2005, 06:24:18 PM
if it wont fully uninstall:-

upload the files for smf in the upgrade package
(source and default template)
and if you really want all traces of it gone use myphpadmin to drop the dbprefix_games tables

Good tip

what i do is make a full copy of my default theme when i go to apply mods this way if the mod breaks the theme files all i need to do is just restore that file, you can then edit that file manually to make  sure you dont get any parse erros etc.
Title: Re: SMF Arcade
Post by: tylerd213 on June 17, 2005, 07:10:02 PM
Quote from: mrselnombre on June 17, 2005, 02:54:54 PM
ahh seems there is the same problem on line 403 it says category when it should be caterogy.

Try changing that one, i am sure i only had to edit my file once though.

Thanks so much man, It worked!!!! You were an awesome help, Good thing there are people like you in this world :)
Title: Re: SMF Arcade
Post by: ivo2296 on June 18, 2005, 12:20:17 AM
Please a little help!

Database Error
Table 'smf.smf_games_caterogy' doesn't exist
File: D:\Program Files\Apache Group\Apache2\htdocs\f\Sources\Arcade.php
Line: 861

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php. 


What ia can do to change that when i call index.php?action=arcadeadmin;sa=games
Title: Re: Few Things Requested On My Forums
Post by: HindSights2020 on June 18, 2005, 02:13:03 AM
Well now that I installed the Arcade I get this error if I try to view threads.

Database Error
Table 'hindsigh_smf1.smf_games_champ' doesn't exist
File: /home/hindsigh/public_html/forums/Sources/Display.php
Line: 577

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.1. It is recommended that you execute the latest version of upgrade.php. 
Title: Re: SMF Arcade
Post by: dtm.exe on June 18, 2005, 02:17:44 AM
Quote from: HindSights2020 on June 18, 2005, 02:13:03 AM
Well now that I installed the Arcade I get this error if I try to view threads.

Database Error
Table 'hindsigh_smf1.smf_games_champ' doesn't exist
File: /home/hindsigh/public_html/forums/Sources/Display.php
Line: 577

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.1. It is recommended that you execute the latest version of upgrade.php. 


Post merged with the appropriate topic.

-Dan The Man
Title: Re: SMF Arcade
Post by: floating on June 18, 2005, 05:15:59 AM
Thnx Niko for your tip, it worked.
@ Johnm : how u do a copy of your of template so i can do it myself. I think is a good way to be away from porb.
Title: Re: SMF Arcade
Post by: floating on June 18, 2005, 05:27:58 AM
New prob in my forum. When i try to post e new message it comes out

Table 'albanian_smf.smf_games_champ' doesn't exist
File: /home/albanian/public_html/smf/Sources/Display.php
Line: 634


What can i do do repar it?
Title: Re: SMF Arcade
Post by: johnm on June 18, 2005, 06:32:59 AM
either run_arcade_sql.php again

or edit display.php and search for arcade thingy and remove the lines related to the arcade
Title: Re: SMF Arcade
Post by: the mighty gc on June 18, 2005, 11:47:17 AM
Quote from: ivo2296 on June 18, 2005, 12:20:17 AM
Please a little help!

Database Error
Table 'smf.smf_games_caterogy' doesn't exist
File: D:\Program Files\Apache Group\Apache2\htdocs\f\Sources\Arcade.php
Line: 861

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php. 


What ia can do to change that when i call index.php?action=arcadeadmin;sa=games

i have this same problem....then i upgrade my forum....and i have the same problem as hindsight right after.  how can i fix it to make the arcade work.  i had to completely clean out arcade to get things working again, but obviously i want to run arcade...how can i do this without breaking everything again?
Title: Re: SMF Arcade
Post by: rider on June 18, 2005, 12:37:31 PM
Quote from: the mighty gc on June 18, 2005, 11:47:17 AM
Quote from: ivo2296 on June 18, 2005, 12:20:17 AM
Please a little help!

Database Error
Table 'smf.smf_games_caterogy' doesn't exist
File: D:\Program Files\Apache Group\Apache2\htdocs\f\Sources\Arcade.php
Line: 861

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php. 


What ia can do to change that when i call index.php?action=arcadeadmin;sa=games

i have this same problem....then i upgrade my forum....and i have the same problem as hindsight right after.  how can i fix it to make the arcade work.  i had to completely clean out arcade to get things working again, but obviously i want to run arcade...how can i do this without breaking everything again?

rerun the arcade_sql.php a couple of times that usaully fixes that problem.
Title: Re: SMF Arcade
Post by: HindSights2020 on June 18, 2005, 12:40:22 PM
Quote from: OIDanTheManIO on June 18, 2005, 02:17:44 AM
Quote from: HindSights2020 on June 18, 2005, 02:13:03 AM
Well now that I installed the Arcade I get this error if I try to view threads.

Database Error
Table 'hindsigh_smf1.smf_games_champ' doesn't exist
File: /home/hindsigh/public_html/forums/Sources/Display.php
Line: 577

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.1. It is recommended that you execute the latest version of upgrade.php. 


Post merged with the appropriate topic.

-Dan The Man

Could someone please answere this one?
Title: Arcade Issue
Post by: Forsaken on June 19, 2005, 03:33:48 PM
Every time I attempt to install the Arcade I keep getting these error messages.


SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 78 tables in database

Notice: Undefined index: theme_dir in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 884

Notice: Undefined index: default_theme_dir in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 886

Notice: Undefined index: default_theme_dir in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 893

Notice: Undefined index: theme_dir in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 942

Notice: Undefined index: theme_url in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 942

Notice: Undefined index: theme_dir in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 943

Notice: Undefined index: theme_url in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 943

Notice: Undefined index: default_theme_url in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 944

Notice: Undefined index: default_theme_url in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 945

The default theme's directory is wrong, please correct it by clicking this text.
Title: Re: SMF Arcade
Post by: dtm.exe on June 19, 2005, 03:37:13 PM
Quote from: Forsaken on June 19, 2005, 03:33:48 PM
Every time I attempt to install the Arcade I keep getting these error messages.


SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 78 tables in database

Notice: Undefined index: theme_dir in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 884

Notice: Undefined index: default_theme_dir in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 886

Notice: Undefined index: default_theme_dir in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 893

Notice: Undefined index: theme_dir in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 942

Notice: Undefined index: theme_url in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 942

Notice: Undefined index: theme_dir in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 943

Notice: Undefined index: theme_url in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 943

Notice: Undefined index: default_theme_url in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 944

Notice: Undefined index: default_theme_url in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 945

The default theme's directory is wrong, please correct it by clicking this text.

Post merged with the appropriate topic.

-Dan The Man
Title: Re: SMF Arcade
Post by: redone on June 19, 2005, 05:05:08 PM
If you supply me with the ftp info I will take a look for you.

:)
Title: Re: SMF Arcade
Post by: drummerkid418 on June 19, 2005, 09:32:06 PM
I installed SMF Arcade 1.1.3 through the package manager.  Clicked "list files", viewed "arcade_sql.php" and it said at the bottom of a very long code "echo "NOW DELETE THIS FILE! (if sucess else retry)";".   So I logged into my FTP folder and deleted "arcade_sql.php". 

Now, before I deleted this, and even after, when I click on the "games" button or "arcade" on the left in the admin menu, I get this following error message.

An Error Has Occurred!
2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /home/content/h/i/l/hillwoodband/html/smf/index.php
Line: 119


I have installed and uninstalled this arcade multiple times in hopes of getting it to work.  Sometimes, I had to edit the "index.template" code manually to remove the games button.  The "Arcade" option always remainded on the admin menu and I would always get an error message, understandably. 

I need to know how to get rid of this code and if I went about deleting arcade_sql.php correctly.  Also, is the root directory the smf folder in my ftp program?  Thanks very much.
Title: Re: SMF Arcade
Post by: niko on June 20, 2005, 05:50:13 AM
you dont have all files uploaded
Title: Re: SMF Arcade
Post by: HindSights2020 on June 20, 2005, 11:40:25 AM
Quote from: HindSights2020 on June 18, 2005, 12:40:22 PM
Quote from: OIDanTheManIO on June 18, 2005, 02:17:44 AM
Quote from: HindSights2020 on June 18, 2005, 02:13:03 AM
Well now that I installed the Arcade I get this error if I try to view threads.

Database Error
Table 'hindsigh_smf1.smf_games_champ' doesn't exist
File: /home/hindsigh/public_html/forums/Sources/Display.php
Line: 577

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.1. It is recommended that you execute the latest version of upgrade.php. 


Post merged with the appropriate topic.

-Dan The Man

Could someone please answere this one?
hello?
Title: Re: SMF Arcade
Post by: NOS ChromeNut on June 20, 2005, 11:41:34 AM
 :(
I asked this question maybe 5, 6, 10 pages back and never got an answer, so I'm not feeling the love here...  :'(  Oh well, let me restate my question, updating it slightly. Before, I had an issue where when I loaded the arcade pack on 1.0.3 it overwrote my index.php file, and put me back a couple of revisions per the Current Templates review.

New updated question - does this arcade pack work with 1.0.4?  And don't answer that you had it prior to 1.0.4 and when you updated to 1.0.4 it still works, I get that.  I want to know that if I load this pack it will not reverse my version again to something older...

still not feeling the love... {heavy sigh} :'(
Title: Re: SMF Arcade
Post by: drummerkid418 on June 20, 2005, 04:31:00 PM
Quote from: Niko on June 20, 2005, 05:50:13 AM
you dont have all files uploaded

Then, what do I need to upload?  And how do I do it?
Title: Re: SMF Arcade
Post by: johnm on June 20, 2005, 05:46:15 PM
Quote from: drummerkid418 on June 20, 2005, 04:31:00 PM
Quote from: Niko on June 20, 2005, 05:50:13 AM
you dont have all files uploaded

Then, what do I need to upload?  And how do I do it?

check the read me file see the manual install instructions

Quote from: NOS ChromeNut on June 20, 2005, 11:41:34 AM
:(
I asked this question maybe 5, 6, 10 pages back and never got an answer, so I'm not feeling the love here...  :'(  Oh well, let me restate my question, updating it slightly. Before, I had an issue where when I loaded the arcade pack on 1.0.3 it overwrote my index.php file, and put me back a couple of revisions per the Current Templates review.

New updated question - does this arcade pack work with 1.0.4?  And don't answer that you had it prior to 1.0.4 and when you updated to 1.0.4 it still works, I get that.  I want to know that if I load this pack it will not reverse my version again to something older...

still not feeling the love... {heavy sigh} :'(

the mod doesnt replace the index.php file it just edits it

it should work on 1.0.4 if you have doubts read the maunal install insructions and follow them

Quote from: HindSights2020 on June 20, 2005, 11:40:25 AM
Quote from: HindSights2020 on June 18, 2005, 12:40:22 PM
Quote from: OIDanTheManIO on June 18, 2005, 02:17:44 AM
Quote from: HindSights2020 on June 18, 2005, 02:13:03 AM
Well now that I installed the Arcade I get this error if I try to view threads.

Database Error
Table 'hindsigh_smf1.smf_games_champ' doesn't exist
File: /home/hindsigh/public_html/forums/Sources/Display.php
Line: 577

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.1. It is recommended that you execute the latest version of upgrade.php. 


Post merged with the appropriate topic.

-Dan The Man

Could someone please answere this one?
hello?

run arcade_sql.php again if no luck replace display.php with the one from the smf upgrade package
Title: Re: SMF Arcade
Post by: johnm on June 24, 2005, 07:24:11 AM
No need to post twice at smfgames.com to get the games just need to be a member
Title: Re: SMF Arcade
Post by: eddie43302 on June 24, 2005, 07:26:54 PM
yea lol! they are gonna want you to pay in the future lol! Someone out there always trying to make a buck!i know i aint gonna pay for that crap this arcade aint worth all that lol!!!!
Title: Re: SMF Arcade
Post by: johnm on June 25, 2005, 05:14:44 AM
Quote from: eddie43302 on June 24, 2005, 07:26:54 PM
yea lol! they are gonna want you to pay in the future lol! Someone out there always trying to make a buck!i know i aint gonna pay for that crap this arcade aint worth all that lol!!!!

for your refrence it wouldnt hurt to check up on things before you open your mouth,
they (we) cant charge you for the games as one term for us having permission for them is that we dont charge for them.
however if you want to ask me stupid questions like how do i add a button, whats php or parse errors you will have to pay me, ive wasted to much time on crap like that.

yes we may charge for some stuff but never games
Title: Re: SMF Arcade
Post by: badshah on June 25, 2005, 04:19:27 PM
right..everything done and dusted but how do i add games???..i download a game, .swf file, uploaded it, the tried tio install it via the Acrade option in Admin Panel in forum, i get some error :
Unknown column 'dsc' in 'field list'
File: /home/badshah/public_html/smf1/Sources/Arcade.php
Line: 936

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

now i knw m doin everything right, the file is .swf its a flash game:

any help on putin games in will be much much much much much appreciated!!!
Title: Re: SMF Arcade
Post by: badshah on June 25, 2005, 04:25:41 PM
actually its all sorted.....ran the intall file and n boom..all worked...yeehaaaa
Title: Re: SMF Arcade
Post by: johnm on June 26, 2005, 08:15:59 AM
Quote from: badshah on June 25, 2005, 04:25:41 PM
actually its all sorted.....ran the intall file and n boom..all worked...yeehaaaa

glad to hear it, several problems can be solved by runing the install script twice, you can run the install script as many times as you wish.
Title: Re: SMF Arcade
Post by: nokonium on June 26, 2005, 09:08:52 AM
I've just been looking at the ArcadeAdmin file and I've notices something that concerns me. I know that there are caterogies'' and that it has to be kept that way, what concerns me are categories  

This is what I mean

An array in the Load Template section has category only
'category' => array(
'name' => &$txt['arcade_144'],
'selected' => false,
'link' => $scripturl.'?action=arcadeadmin;sa=category',
'last' => false,


and the function: Function ArcadeAdmin_category(), which has both category and caterogy

Function ArcadeAdmin_category()
{
global $boardurl, $txt, $scripturl, $db_prefix;
global $ID_MEMBER;
global $context, $user_info, $db_prefix, $modSettings;

$query = "SELECT * FROM {$db_prefix}games_caterogy";
$result = db_query($query, __FILE__, __LINE__);
//$context['arcade']['caterogy'][0] = $txt['arcade_67']; // First (0) is reversed for 'No Caterogy'


There are only 3 instances of category, all the others are caterogy.

Is the inconsistancy, not the spelling, part of the Arcade problems?
Title: Re: SMF Arcade
Post by: johnm on June 26, 2005, 05:30:15 PM
Quote from: nokonium on June 26, 2005, 09:08:52 AM
I've just been looking at the ArcadeAdmin file and I've notices something that concerns me. I know that there are caterogies'' and that it has to be kept that way, what concerns me are categories  

This is what I mean

An array in the Load Template section has category only
'category' => array(
'name' => &$txt['arcade_144'],
'selected' => false,
'link' => $scripturl.'?action=arcadeadmin;sa=category',
'last' => false,


and the function: Function ArcadeAdmin_category(), which has both category and caterogy

Function ArcadeAdmin_category()
{
global $boardurl, $txt, $scripturl, $db_prefix;
global $ID_MEMBER;
global $context, $user_info, $db_prefix, $modSettings;

$query = "SELECT * FROM {$db_prefix}games_caterogy";
$result = db_query($query, __FILE__, __LINE__);
//$context['arcade']['caterogy'][0] = $txt['arcade_67']; // First (0) is reversed for 'No Caterogy'


There are only 3 instances of category, all the others are caterogy.

Is the inconsistancy, not the spelling, part of the Arcade problems?

really this shouldnt be anything to worry about, but the way its done here could just make it difficult for niko to find bugs, i think as this mod is progressing niko is spelling category correctly wich will cause some confusion for some people especialy if they are trying to get 1.2 to work!!

whilst i think the arcade mod has progressed quite nicley niko needs to iorn out the bugs before any newer features are added
Title: Re: SMF Arcade
Post by: nokonium on June 27, 2005, 12:45:52 AM
Quote from: johnm on June 26, 2005, 05:30:15 PM
whilst i think the arcade mod has progressed quite nicley niko needs to iorn out the bugs before any newer features are added

I think a lot of peeps would agree with that.
Title: Re: SMF Arcade
Post by: ROGUE-Master on June 27, 2005, 08:58:03 PM
Is this compatible with 1.0.4?
Title: Re: SMF Arcade
Post by: johnm on June 27, 2005, 09:13:59 PM
Quote from: ROGUE-Master on June 27, 2005, 08:58:03 PM
Is this compatible with 1.0.4?

should be compatible with 1.0.5 (including 1.0.4)
Title: Re: SMF Arcade
Post by: caNcer_b0y on June 27, 2005, 10:51:53 PM
Works fine with 1.0.4, and 1.0.5. :)  as i ran it on both upgrades :)
Title: Re: SMF Arcade
Post by: azyabb on June 28, 2005, 01:19:20 PM
I am sure this has been asked before but, I can't seems to find the answer. I installed SMF 1.05 and arcade 1.03. I have the arcade button on the main menu bar but, when I click on it, the page just reloads. Also I do not see anywhere in the admin where I can admin the arcade to add games etc. What am I missing or what did I do wrong?
AzYabb  ???
Title: Re: SMF Arcade
Post by: johnm on June 28, 2005, 04:26:38 PM
ok if the page just reloads when you click the arcade button you need to open up the index file (index.php) for your forum and add the arcade bit to the array - see the readme.

as for a missing link in the admin pages it could be that it didnt modify your themes admin template
but you should be able to access the arcades admin panel once you have completed the edits to index.php by going to www.yoursite.com/forumdir/index.php?action=arcadeadmin

check the readme for instructions on how to edit the admin template
Title: Re: SMF Arcade
Post by: ivo2296 on June 30, 2005, 11:55:36 PM
I did installed the mod and i have pack7 with some games, created categories in admin panel but when try to install a game always shows err.:
Missing field: Category
Title: Re: SMF Arcade
Post by: johnm on July 01, 2005, 04:53:53 AM
manually insert the details into myphpadmin
Title: Re: SMF Arcade
Post by: Itch™ on July 01, 2005, 05:48:18 AM
I'll wait for 1.1 Beta 3 support......

YM
Title: Re: SMF Arcade
Post by: flapper on July 01, 2005, 08:28:57 AM
Quote from: ivo2296 on June 30, 2005, 11:55:36 PM
I did installed the mod and i have pack7 with some games, created categories in admin panel but when try to install a game always shows err.:
Missing field: Category



im getting same error:

QuoteAn Error Has Occurred!
Missing field: Category 

When i go to phpMyAdmin i find that the table smf_games_caterogy   is spelt wrong and should be spelt category is this the reason for error, if so how do i change the table heading.
Title: Re: SMF Arcade
Post by: redone on July 03, 2005, 07:58:36 AM
In arcadeadmin.php find

$to_check = array('game','bgcolor','name','highscore','category','width','height','type','file');
it has typo change it to
$to_check = array('game','bgcolor','name','highscore','caterogy','width','height','type','file');
IIRC

or just find $to_check and replace with latter

I am assuming your using 1.2rp.
Title: Re: SMF Arcade
Post by: niko on July 03, 2005, 12:57:35 PM
Quote from: redone on July 03, 2005, 07:58:36 AM
In arcadeadmin.php find

$to_check = array('game','bgcolor','name','highscore','category','width','height','type','file');
it has typo change it to
$to_check = array('game','bgcolor','name','highscore','caterogy','width','height','type','file');
IIRC

or just find $to_check and replace with latter

I am assuming your using 1.2rp.


And rememper replace all (theres two edit and install)
Title: Re: SMF Arcade
Post by: ivo2296 on July 03, 2005, 09:39:50 PM
In arcadeadmin.php find

>  $to_check = array('game','bgcolor','name','highscore','category','width','height','type','file');
it has typo change it to
$to_check = array('game','bgcolor','name','highscore','caterogy','width','height','type','file');
IIRC

or just find $to_check and replace with latter

I am assuming your using 1.2rp.  <

Waitt i don't get something - the socond string has typo not the first
Title: Re: SMF Arcade
Post by: Douglas on July 04, 2005, 12:58:47 AM
Do this the easy way.  Run this in phpMyAdmin, changing dlh to your SMF's table prefixes...

DROP TABLE IF EXISTS dlh_games_caterogy;
CREATE TABLE dlh_games_category (
  id int(11) NOT NULL auto_increment,
  name varchar(255) NOT NULL default '',
  PRIMARY KEY  (id)
);
Title: Re: SMF Arcade
Post by: Douglas on July 04, 2005, 01:07:29 AM
Additional information:

in your dlh_games table, CHANGE "caterogy" to "category".

In $Sourcedir/ArcadeAdmin.php, do a search and replace on "caterogy" with "category". (24 changes)
Do the same in $Sourcedir/Arcade.php  (7 changes)
Do the same in $Sourcedir/Arcade2.php  (4 changes)
Do the same in $Themedir/ArcadeAdmin.template.php  (9 changes)
Do the same in $Sourcedir/Arcade.template.php  (6 changes)

This will fix this issues on a NEW installation.
Title: Re: SMF Arcade
Post by: nokonium on July 04, 2005, 01:32:59 AM
Quote from: ivo2296 on July 03, 2005, 09:39:50 PM
Waitt i don't get something - the socond string has typo not the first

The sad truth is that 'caterogy' although mis-spelt was the spelling coded in, so if category is used when caterogy is required, category is a coding typo.
Title: Re: SMF Arcade
Post by: we8 on July 04, 2005, 08:09:54 AM
I can't seem to register at SMFGames - just never get sent the validation email
Title: Re: SMF Arcade
Post by: ivo2296 on July 04, 2005, 09:25:20 AM
How can uninstall this mod, in package manager it shows that the mod is not installed. But i have install it and some game are there.


Please help cause i can't access forum's permitions after i installed the mod!
Title: Re: SMF Arcade
Post by: SeaOfSin on July 04, 2005, 12:49:05 PM
Quote from: ivo2296 on July 04, 2005, 09:25:20 AM
How can uninstall this mod, in package manager it shows that the mod is not installed. But i have install it and some game are there.


Please help cause i can't access forum's permitions after i installed the mod!


The permissions problem is easy to fix!

Open
ManagePermissions.php

Find

'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),


Just below it you will see an extra  ),  Just remove that.


Title: Re: SMF Arcade
Post by: ivo2296 on July 04, 2005, 08:39:21 PM
Quote from: SeaOfSin on July 04, 2005, 12:49:05 PM
Quote from: ivo2296 on July 04, 2005, 09:25:20 AM
How can uninstall this mod, in package manager it shows that the mod is not installed. But i have install it and some game are there.


Please help cause i can't access forum's permitions after i installed the mod!


The permissions problem is easy to fix!

Open
ManagePermissions.php

Find

'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),


Just below it you will see an extra  ),  Just remove that.



I did it but nothing - the same situation and how can manualy uninstall this mod?

My php editor found one more error in ManagePermissions.php:

PHP Parse error:  syntax error, unexpected ';', expecting ')'
on line 1037
so line 1037 has this:   );


PHP Parse error:  syntax error, unexpected T_VARIABLE,
on line 1040
line 1040 has:  $non_guest_permissions = array(
Title: Re: SMF Arcade
Post by: ivo2296 on July 04, 2005, 09:18:45 PM
So i fixed the problem with permissions, if  someone has the same problem i can give him my fixed ManagePermissions.php


Title: Re: SMF Arcade
Post by: Isaac on July 04, 2005, 11:58:05 PM
Hmm, I'm wondering where I can download games.  I went to www.smfgames.com or whatever the website is, but it says I cannot access the downloads.  I attempted to register on the forums, and am not getting my activation e-mail...
Title: Re: SMF Arcade
Post by: nokonium on July 05, 2005, 01:44:36 AM
The arcade array problem can sometimes just be a ' or you can also get a duplicated array as well. The line 1037 error    );  needs to be ));

Sorry I can't answer the third one, I haven't had that error yet
Title: Re: SMF Arcade
Post by: robertwatcher on July 06, 2005, 10:32:06 PM
I first posted this this morning on SMF forum:

-------

I am getting this message when trying to access High Scores for games (only place I notice it so far) - just upgraded to SMF 1.0.5 last week through the package manager - have uninstalled and reinstalled all mods:

QuoteDatabase Error
The SELECT would examine too many records and probably take a very long time. Check your WHERE and use SET OPTION SQL_BIG_SELECTS=1 if the SELECT is ok
File: /mnt/web_g/d01/s24/b023e0e0/www/prophoto/forum/Sources/Arcade.php
Line: 444

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php. 

Not sure just what this implies - and if I will loose data or mess up settings by using "upgrade.php" - or for that matter why the upgrade didn't take place with the upgrade through Package Manager - everything else seems to be working flawlessly.


--------------------

Then after finding out there was a newer version of the Archade Mod - I uninstalled the mod and downloaded the new version and tried installing it through package manager - noew I have tons of problems - The games button is installed twice and I can't seem to get rid of the one installation of it - - - also the High scores still do not show up but instead show the database message above.

Any help please - the Mod is installed at http://www.prophotoforum.com  (http://www.prophotoforum.com) .

My Pakage Manager does not show any Archade mod in the list so I can't even uninstall it while I try and figure things out. How do I get rid of the extra game installations that have been installed?
Title: Re: SMF Arcade
Post by: robertwatcher on July 06, 2005, 10:45:19 PM
OK - I figured out the duplication of Game link buttons part (I hope anyway) by deleting the extra entries in index_template.php.

What about the database main issue where High Scores cannot be viewed
Title: Re: SMF Arcade
Post by: johnm on July 07, 2005, 07:54:35 AM
im not sure if this is right

but you can try to edit arcade.php on line 444 and add to the query SET OPTION SQL_BIG_SELECTS=1

that might allow the query to be executed
Title: Re: SMF Arcade
Post by: robertwatcher on July 07, 2005, 09:14:02 AM
Quotebut you can try to edit arcade.php on line 444 and add to the query SET OPTION SQL_BIG_SELECTS=1

How do I add it - into what ever is there:

444 $context['arcade']['panel']['panels'][] = $game_info2;


or on its own line somewhere with a semi colon at the end

Not sure what you mean.
Title: Re: SMF Arcade
Post by: SeaOfSin on July 07, 2005, 11:26:21 PM
Just for fun I installed 1.2 rp on my test site 1.1 Beta 3 Public and it had only one failure in subs.php

all you have to do is find

if (allowedTo('manage_smileys'))
$context['admin_areas']['layout']['areas']['manage_smileys'] = '<a href="' . $scripturl . '?action=smileys">' . $txt['smileys_manage'] . '</a>';

add below

if (allowedTo('admin_arcade'))
$context['admin_areas']['layout']['areas']['admin_arcade'] = '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>';


and then goto ManagePermissions.php and find the extra comma after the arcade options.

But I checked everything and it all works fine. You may have to run the sql file twice but all seems well after that!
Title: Re: SMF Arcade
Post by: Charge on July 08, 2005, 04:27:57 AM
hi, i don't really can install all the thing into my database ? cause i intsall it on my forum and then i clicked on the Arcade and clicked Games, it says that smf_ blabla table not found ?
Title: Re: SMF Arcade
Post by: Pause on July 08, 2005, 04:49:20 AM
Quote from: Charge on July 08, 2005, 04:27:57 AM
hi, i don't really can install all the thing into my database ? cause i intsall it on my forum and then i clicked on the Arcade and clicked Games, it says that smf_ blabla table not found ?
run arcade_sql.php
Title: Re: SMF Arcade
Post by: Charge on July 08, 2005, 05:12:25 AM
i try that, but it can't works too and somemore my whole display theme is mess up after i install it.
Title: Re: SMF Arcade
Post by: Pause on July 08, 2005, 05:38:07 AM
Quote from: Charge on July 08, 2005, 05:12:25 AM
i try that, but it can't works too and somemore my whole display theme is mess up after i install it.
Are you using the default theme or another?
Title: Re: SMF Arcade
Post by: Charge on July 08, 2005, 06:57:56 AM
i'm using the SMF Default to install it.. but it can't seem to work, so i change the theme to Helios.. wonder can it works ?
Title: Re: SMF Arcade
Post by: ivo2296 on July 08, 2005, 10:48:41 AM
Sorry i 'll ask one more time:

How can unistall this mode manualy on 1.0.5 cause i have installed but in package manager shows Aplay mode but Unistall mode?
Title: Re: SMF Arcade
Post by: Kindred on July 08, 2005, 10:55:32 AM
you can manually uninstall by openning the XML install file and doing the actions listed in reverse... (i.e. instead of adding code, remove the code that the install file tells you to add)
Title: Re: SMF Arcade
Post by: ivo2296 on July 08, 2005, 11:03:36 AM
Quote from: Kindred on July 08, 2005, 10:55:32 AM
you can manually uninstall by openning the XML install file and doing the actions listed in reverse... (i.e. instead of adding code, remove the code that the install file tells you to add)

That is in the XML:

<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">

<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
   <id>Niko:Arcade</id>
   <name>SMF Arcade</name>
   <version>1.2</version>

   <type>modification</type>

   <install>
      <readme>Documents/readme.txt</readme>
      <modification type="file">arcade.xml</modification>
      <require-dir name="getid3" destination="$boarddir" />
      <require-dir name="Games" destination="$boarddir" />
      <require-file name="arcade_sql.php" destination="$boarddir" />
      <require-dir name="Sources" destination="$boarddir" />
      <require-file name="Themes/default/Arcade.template.php" destination="$themedir" />
      <require-file name="Themes/default/ArcadeAdmin.template.php" destination="$themedir" />
      <require-file name="Themes/default/images/english/games.gif" destination="$themedir/images/english" />
      <require-file name="Themes/default/languages/Arcade.english.php" destination="$themedir/languages" />
      <require-file name="Themes/default/languages/Arcade.finnish.php" destination="$themedir/languages" />
      <code>arcade_sql.php</code>
</install>

   <uninstall>
      <modification type="file" reverse="true">arcade.xml</modification>
   </uninstall>
</package-info>


What should i change?
Title: Re: SMF Arcade
Post by: tylerd213 on July 08, 2005, 03:31:13 PM
How do I set the permissions for the arcade? cause regular users are not allowed to view it
Title: Re: SMF Arcade
Post by: robertwatcher on July 08, 2005, 04:19:09 PM
Can anyone tell me how to go about doing this - I have no idea:


Quotejust run query "SET OPTION SQL_BIG_SELECTS=1" (or maybe you have to add it to highscores query).

The above was the response I got back from an SMF Arcade administrator concerning the problem I am having on my ProPhotoForum.com when trying to display Arcade Game High Scores - this is the error message I am getting:

QuoteDatabase Error
The SELECT would examine too many records and probably take a very long time. Check your WHERE and use SET OPTION SQL_BIG_SELECTS=1 if the SELECT is ok
File: /mnt/web_g/d01/s24/b023e0e0/www/prophoto/forum/Sources/Arcade.php
Line: 444

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php. 

I need help - display of the high scores has been working perfectly on the forum - but has recently changed.
Title: Re: SMF Arcade
Post by: Charge on July 09, 2005, 12:10:43 AM
hmm, no matter how i install it. the database cannot create ?
Title: Re: SMF Arcade
Post by: johnm on July 09, 2005, 10:08:13 AM
if you cannot create the tables then arcade_sql.php must be returning an error

please post any error messages for us to help you
Title: Re: SMF Arcade
Post by: Itch™ on July 09, 2005, 12:43:54 PM
I'll just wait for a total 1.1 Public upgrade....

YM
Title: Re: SMF Arcade
Post by: rider on July 09, 2005, 01:16:55 PM
Quote from: tylerd213 on July 08, 2005, 03:31:13 PM
How do I set the permissions for the arcade? cause regular users are not allowed to view it

go into your users permissions and see if the arcade permissions are there and if so click allow to access the arcade.If the permissions are not there then you need to change your managepermisions.php.Also what version of the arcade and smf are you running?
Title: Re: SMF Arcade
Post by: Skhilled on July 10, 2005, 04:44:55 AM
Hi I've had a problem with arcade not loading properly after installing smf 1.0.5 but corrected it by uninstalling arcade. I've also encountered 3 games buttons due to my reinstalling and unstalling and have removed the extras. But now I have 3 sets of champion text/info over my users names.

For example, it will list your championship scores over your name 3 times. How can I remove the extras?
Title: Re: SMF Arcade
Post by: nokonium on July 10, 2005, 04:56:29 AM
IIRC that is in DisplayTemplate.php

Title: Re: SMF Arcade
Post by: nokonium on July 10, 2005, 10:12:24 AM
I've just found another bit of code that Arcade creates multiple entries of.

I had over 200 pages, of "8: Undefined index:" errors in the log. OK so I don't go in there very often  ;)

When I looked at index.php and scrolled down to line 205 I found this

// Here's the monstrous $_REQUEST['action'] array - $_REQUEST['action'] => array($file, $function).
$actionArray = array(
'activate' => array('Register.php', 'Activate'),
'admin' => array('Admin.php', 'Admin'),
'arcade' => array('Arcade.php','Arcade'),
'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),
'arcade' => array('Arcade.php','Arcade'),
'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),
'arcade' => array('Arcade.php','Arcade'),
'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),


Three sets of 'arcade' and 'arcadeadmin'.

On Line 205 was the second occurence of
'arcade' => array('Arcade.php','Arcade'),
Title: Re: SMF Arcade
Post by: niko on July 11, 2005, 09:48:45 AM
1.2.1 is now available   :)
Title: Re: SMF Arcade
Post by: robertwatcher on July 11, 2005, 11:33:33 AM
2 questions

1 ) when I try to download the new Archade 1.2.1 from the Package Manager - I get the message that the file I am trying to download is corrupt or not compatable with my version of SMF (which is 1.0.5) - so I can't download the new version from there.

2 ) How do I uninstall Arcade when I don't have an uninstaller available - even though I am running archade on my forum (www.prophotoforum.com)

Thanks for any help.
Title: Re: SMF Arcade
Post by: Itch™ on July 11, 2005, 05:00:31 PM
After installing, using the package manager I get:
3.     Execute Modification     Sources/Subs.php     Test failed

If I install anyway, I get:
Table 'xxx_1.smf_games_category' doesn't exist
File: /srv/www/htdocs/xxxxx/html/community/Sources/ArcadeAdmin.php
Line: 191

Obviously it doesn't connect to my database, or is it something different?
Title: Re: SMF Arcade
Post by: Togster on July 11, 2005, 05:22:04 PM
Quote from: YahMan on July 11, 2005, 05:00:31 PM
After installing, using the package manager I get:
3.     Execute Modification     Sources/Subs.php     Test failed

If I install anyway, I get:
Table 'xxx_1.smf_games_category' doesn't exist
File: /srv/www/htdocs/xxxxx/html/community/Sources/ArcadeAdmin.php
Line: 191

Obviously it doesn't connect to my database, or is it something different?

I get the same.... cool that this is gonna work with 1.1 now though :)
Title: Re: SMF Arcade
Post by: DemonicInfluence on July 11, 2005, 07:42:24 PM
install is good, but the source files are buggy........ it won't let anyone to access the arcade. I mean the arcade.php and the arcade2.php .
Title: Re: SMF Arcade
Post by: the mighty gc on July 11, 2005, 11:31:05 PM
installing 1.2.1 i get these errors....

3. Execute Modification Sources/Subs.php Test failed
4. Execute Modification Sources/ManagePermissions.php Test failed

same as for 1.2

im running 1.1 Beta 3.
Title: Re: SMF Arcade
Post by: Charge on July 12, 2005, 06:12:15 AM
 Type Action Description
1. Execute Modification index.php Success
2. Execute Modification Themes/default/index.template.php Success
3. Execute Modification Sources/Subs.php Success
4. Execute Modification Sources/ManagePermissions.php Success
5. Execute Modification Themes/default/languages/Modifications.english.php Success
6. Execute Modification Themes/default/Display.template.php Failure
7. Execute Modification Sources/Display.php Success

i got this problem...  help ??
Title: Re: SMF Arcade
Post by: Graeme1978 on July 12, 2005, 06:44:48 AM
Quote from: YahMan on July 11, 2005, 05:00:31 PM
After installing, using the package manager I get:
3.     Execute Modification     Sources/Subs.php     Test failed

Quote from: the mighty gc on July 11, 2005, 11:31:05 PM
installing 1.2.1 i get these errors....

3. Execute Modification Sources/Subs.php Test failed

I also get this error.  Running SMF 1.1 Beta 3 - I get this error when trying to install SMF Arcade 1.2 or 1.2.1
Title: Re: SMF Arcade
Post by: nokonium on July 12, 2005, 12:40:46 PM
And now for something completely different ....

We have had a request/suggestion from a member with circa 12 Champions icons (all different  ;) ) and has asked if there is a way to set the maximum height and then force a scrollbar to see the full set.

Is that possible?

Currently running on SMF 1.0.5 (but have 1.1b3p test site) and Arcade 1.2)
Title: Re: SMF Arcade
Post by: DoW Kid Rock on July 12, 2005, 02:57:36 PM
I get the same kind of message as others

Connected and Selected Database
Finding tables... 114 tables in database
Table 'disciple_smf.smf_games_category' doesn't exist
Title: Re: SMF Arcade
Post by: DemonicInfluence on July 12, 2005, 06:20:55 PM
just go to phpmyadmin and change the table from smf_games_caterogy to smf_games_category
Title: Re: SMF Arcade
Post by: Charge on July 12, 2005, 09:01:37 PM
what about mine ? the display templetes
Title: Re: SMF Arcade
Post by: DemonicInfluence on July 13, 2005, 12:14:46 AM
manually do it then.
Title: Re: SMF Arcade
Post by: Charge on July 13, 2005, 05:06:43 AM
but there is no Display.template.php ?? how i do it manually ?
Title: Re: SMF Arcade
Post by: littleone on July 13, 2005, 06:30:29 AM
I am getting this when I try to upload the mod:

Type Action Description
1. Execute Modification index.php Success
2. Execute Modification Themes/default/index.template.php Success
3. Execute Modification Sources/Subs.php Success
4. Execute Modification Sources/ManagePermissions.php Success
5. Execute Modification Themes/default/languages/Modifications.english.php Success
6. Execute Modification Themes/default/Display.template.php Failure
7. Execute Modification Sources/Display.php Success

Any Help is appreciated!
Title: Re: SMF Arcade
Post by: Jounouchi on July 13, 2005, 07:24:43 AM
HELP@
I get this:
Table 'gbanetwork_smf.SMF_games_category' doesn't exist
File: /home/gbanetwork/domains/gba-network.mihopa.com/public_html/Sources/ArcadeAdmin.php
Line: 135

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

What should I do now?
Title: Re: SMF Arcade
Post by: littleone on July 13, 2005, 08:40:36 AM
I had the same thing and it took me nearly 3 hours to get my forum back to being able to read the posts.  I had to go into my file manager and myPHPadmin (or whatever thats called) and remove everything under the MySQL tab that was related to the arcade stuff.  I really, really want this, but something is going on with it.  I am getting that failure also on the /display.php and have no clue why.
Title: Re: SMF Arcade
Post by: Jounouchi on July 13, 2005, 08:51:42 AM
Hmm......
Hope someone can help us. 8)
Title: Re: SMF Arcade
Post by: AlexHobbs on July 13, 2005, 10:43:20 AM
Quote from: Jounouchi on July 13, 2005, 07:24:43 AM
HELP@
I get this:
Table 'gbanetwork_smf.SMF_games_category' doesn't exist
File: /home/gbanetwork/domains/gba-network.mihopa.com/public_html/Sources/ArcadeAdmin.php
Line: 135

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

What should I do now?

This has something to do with the arcade you are trying to install, and it clashes with your overall forum version, to get your database up to version 1.0.5 download the 1.0.5 upgrade zip file from the download section on this site and upload it and run it  ;)

Hope it helps.
Title: Re: SMF Arcade
Post by: johnm on July 13, 2005, 06:35:59 PM
it will return this error even if your database is up to date it has been posted many times about this error and i cant belive it hasnt been resolved yet
Title: Re: SMF Arcade
Post by: Charge on July 13, 2005, 09:47:18 PM
oh man, the Display.template.php still not beeen slove ?  :(
Title: Re: SMF Arcade
Post by: Jounouchi on July 14, 2005, 06:16:56 AM
I am using SMF 1.0.5 now.
How come it is SMF 1.0.2?
Title: Re: SMF Arcade
Post by: the mighty gc on July 14, 2005, 11:33:25 PM
i manually got this thing to run, but only admins can access the arcade, cant seem to get the permissions file to accept the arcade...i defnitely dont want everyone to be admins, lol

how can i fix the permissions in 1.1 beta 3 to allow me to give permissions to regular members?
Title: Re: SMF Arcade
Post by: Charge on July 15, 2005, 12:38:49 AM
Quote from: the mighty gc on July 14, 2005, 11:33:25 PM
i manually got this thing to run, but only admins can access the arcade, cant seem to get the permissions file to accept the arcade...i defnitely dont want everyone to be admins, lol

how can i fix the permissions in 1.1 beta 3 to allow me to give permissions to regular members?

you manually install ? how ? inside the zip file didn't have the display.templates ??
Title: Re: SMF Arcade
Post by: Graeme1978 on July 15, 2005, 04:20:37 AM
Quote from: Graeme1978 on July 12, 2005, 06:44:48 AM

3. Execute Modification Sources/Subs.php Test failed


I also get this error.  Running SMF 1.1 Beta 3 - I get this error when trying to install SMF Arcade 1.2 or 1.2.1

Anyone found a fix for this yet??
Title: Re: SMF Arcade
Post by: AlexHobbs on July 15, 2005, 11:07:19 AM
Quote from: the mighty gc on July 14, 2005, 11:33:25 PM
i manually got this thing to run, but only admins can access the arcade, cant seem to get the permissions file to accept the arcade...i defnitely dont want everyone to be admins, lol

how can i fix the permissions in 1.1 beta 3 to allow me to give permissions to regular members?
If you installed it manually (like me) in the read me you have to add a code to permissions.php? find that part and edit it so everything is 'yes' accept for arcade admin which should be 'no'
yes = everyone can do it
no= only admins can

Hope it helps :)
Title: Re: SMF Arcade
Post by: Charge on July 15, 2005, 09:44:31 PM
thank ! i'll try my best to do it !
Title: Re: SMF Arcade
Post by: ShadowStriker on July 15, 2005, 10:07:13 PM
when i try to install the arcade mod i get this: 2: copy(/home/wwpx10h/public_html/general/getid3/getid3.lib.php): failed to open stream: Permission denied
File: /home/wwpx10h/public_html/general/Sources/Subs-Package.php
Line: 961
Title: Re: SMF Arcade
Post by: TedNigma on July 15, 2005, 10:25:04 PM
This was listed as 1.1 Beta 3 ready...  Why the errors?  I am getting the same BTW.
Title: Re: SMF Arcade: errors
Post by: edi67 on July 16, 2005, 08:58:42 AM
i have smf arcad 1.1.3 all work ok but i have always a lot of this errors in logs errors:

Quote8: Undefined index: id
File: /home/forumzonenetru/www/Themes/default/languages/Arcade.italian.php (eval?)
Linea: 515

is possible fix it?
Title: Re: SMF Arcade
Post by: AlexHobbs on July 16, 2005, 10:22:35 AM
Quote from: edi67 on July 16, 2005, 08:58:42 AM
i have smf arcad 1.1.3 all work ok but i have always a lot of this errors in logs errors:

Quote8: Undefined index: id
File: /home/forumzonenetru/www/Themes/default/languages/Arcade.italian.php (eval?)
Linea: 515

is possible fix it?

That seems to be the case for many mods - it installs fine and everything works but it floods your error log with errors that dont occur.

But with arcade.italian.php i checked and the line number is out of range it only goes up to line: 294,

Sorry but thats the only information i have, but i might be able to help you more if you could tell me what line 515 says in the arcade file, if you could i ill reply as soon as possible
Title: Re: SMF Arcade
Post by: edi67 on July 16, 2005, 10:39:20 AM
Arcade.php

514    $subject = $txt['arcade_143'].' '.$game['name'];
515   // Add link to results
516     $link =  "[url={$scripturl}?action=arcade;sa=challenge;id={$cid}]{$txt['arcade_85']}[/url]";


tell me if you need something else thanx for you rhelp

Title: Re: SMF Arcade
Post by: AlexHobbs on July 16, 2005, 11:05:00 AM
Sorry if i wasnt clear i meant arcade.italian.php not the main arcade.php

Sorry  :P
Title: Re: SMF Arcade
Post by: AlexHobbs on July 16, 2005, 12:01:51 PM
Arcade.italian.php  :-\ confusing in my experience with all versions of the arcade none require a italian language file, is the language file your own or downloaded from somewhere?
Title: Re: SMF Arcade
Post by: edi67 on July 16, 2005, 12:06:48 PM
i made with my self for my italian forum i translated all comand from original Arcade_english.php
Title: Re: SMF Arcade
Post by: AlexHobbs on July 16, 2005, 12:10:10 PM
Ok could you link me so i can see error for myself?
Title: Re: SMF Arcade
Post by: edi67 on July 16, 2005, 01:05:09 PM
which link you want? for file arcade.italian.php ? or forum ?
Title: Re: SMF Arcade
Post by: AlexHobbs on July 17, 2005, 06:19:33 AM
right ive added a eval (~) to the end of my arcade and the error your experiencing has come up, so i took of the ~ and it works, try doing that and tell me what happens.
Title: Re: SMF Arcade
Post by: Vi31 on July 17, 2005, 10:23:21 PM
Can someone tell me how to find and get rid of all the files that belong to this mod.  I uploaded this mod and completely FU...D up my forum.  Now when I click on a topic I get this error.

Table 'msvi007_smf1.smf_games_champ' doesn't exist
File: /home/msvi007/public_html/timeout/Sources/Display.php
Line: 631

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

Please Please Please help me get rid of it.
Title: Re: SMF Arcade
Post by: edi67 on July 18, 2005, 12:39:13 AM
Quote from: AlexHobbs on July 17, 2005, 06:19:33 AM
right ive added a eval (~) to the end of my arcade and the error your experiencing has come up, so i took of the ~ and it works, try doing that and tell me what happens.

sorry me where i add a eval  (~) ? you can show me the line ?
Title: Re: SMF Arcade
Post by: Fiery on July 18, 2005, 04:34:22 AM
Hey everyone, anyone know how to fix this:

Table 'ndbisonc_smf1.smf_games_category' doesn't exist
File: /home/ndbisonc/public_html/forums/Sources/ArcadeAdmin.php
Line: 191


I am running SMF 1.0.5

THANKS
Title: Re: SMF Arcade
Post by: AlexHobbs on July 18, 2005, 10:00:05 AM
Quote from: pmp6nl on July 18, 2005, 04:34:22 AM
Hey everyone, anyone know how to fix this:

Table 'ndbisonc_smf1.smf_games_category' doesn't exist
File: /home/ndbisonc/public_html/forums/Sources/ArcadeAdmin.php
Line: 191


I am running SMF 1.0.5

THANKS
You are using either:
the wrong forum version to go with the arcade you are trying to use or...
try using arcade_sql.php again
Quote from: Vi31 on July 17, 2005, 10:23:21 PM
Can someone tell me how to find and get rid of all the files that belong to this mod.  I uploaded this mod and completely FU...D up my forum.  Now when I click on a topic I get this error.

Table 'msvi007_smf1.smf_games_champ' doesn't exist
File: /home/msvi007/public_html/timeout/Sources/Display.php
Line: 631

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

Please Please Please help me get rid of it.
exactly the same as above

Quote from: edi67 on July 18, 2005, 12:39:13 AM
Quote from: AlexHobbs on July 17, 2005, 06:19:33 AM
right ive added a eval (~) to the end of my arcade and the error your experiencing has come up, so i took of the ~ and it works, try doing that and tell me what happens.

sorry me where i add a eval  (~) ? you can show me the line ?
the actual file name so from arcade.italian.php~ change it to arcade.italian.php with no ~

Hope it helps you 3 :)
Title: Re: SMF Arcade
Post by: edi67 on July 18, 2005, 10:03:34 AM
Quotethe actual file name so from arcade.italian.php~ change it to arcade.italian.php with no ~

i have not so called the file is only arcade.italian.php without ~

some other solution please
Title: Re: SMF Arcade
Post by: littleone on July 18, 2005, 10:39:34 AM
I am getting these kinds of messages as soon as upload the mod for Arcade.  Any suggestions or ideas?

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
File: /home/xxxxx/public_html/xxxxxx/Sources/Display.php
Line: 546

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.


Table 'xxxx_smf1.smf_games_category' doesn't exist
File: /home/xxxxxx/public_html/xxxxxxxx/Sources/ArcadeAdmin.php
Line: 191

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Title: Re: SMF Arcade
Post by: AlexHobbs on July 18, 2005, 10:40:56 AM
514    $subject = $txt['arcade_143'].' '.$game['name'];
515  // Add link to results
516    $link =  "[url={$scripturl}?action=arcade;sa=challenge;id={$cid}]{$txt['arcade_85']}[/url]";


Hmm sorry i will add more when i find out but the coding is exactly the right code. i will try and tell you asap
Title: Re: SMF Arcade
Post by: AlexHobbs on July 18, 2005, 10:42:07 AM
Quote from: littleone on July 18, 2005, 10:39:34 AM
I am getting these kinds of messages as soon as upload the mod for Arcade.  Any suggestions or ideas?

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
File: /home/xxxxx/public_html/xxxxxx/Sources/Display.php
Line: 546

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.


Table 'xxxx_smf1.smf_games_category' doesn't exist
File: /home/xxxxxx/public_html/xxxxxxxx/Sources/ArcadeAdmin.php
Line: 191

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.


Run the arcade_sql.php again and try running the latest upgrade.php
Title: Re: SMF Arcade
Post by: rider on July 18, 2005, 10:47:18 AM
try to run the arcade_sql.php a couple of times and see if that clears up a couple of issues.Also you can checkout smfgames.com.Read the faq section.You should find alot of the answers there.
Title: Re: SMF Arcade
Post by: oldmanwolf on July 18, 2005, 02:59:00 PM
Okay, first off:  Running SMF 1.0.5 several mods installed but no issues with any of them at this point, Arcade 1.2.1, installed w/ package manager, manually ran arcade_sql.php... 

I'm getting the same error...  I finish playing a game, and instead of being redirected somewhere, I get this mess:
Fatal error: Call to undefined function: parse_bbc() in /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php on line 280

line 280:$top10[$i]['comment'] = parse_bbc("[i]{$txt['arcade_25']}[/i]");

When I refresh that page, I get a page that tells me  Possible cheating detected!

At the same time, I'm getting this error in the Admin log...
8: Undefined variable: latest
File: /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php
Line: 495


line 495: return $latest;

I get the line 495 error a couple times before, probably when starting the game in the first place...  These two could be related somehow...

Any ideas?   :-\
Title: Re: SMF Arcade
Post by: niko on July 19, 2005, 08:22:01 AM
parse_bbc is smf function so you probably have something missing :/
i'll check when i have time... i have been lately so bysy
Title: Re: SMF Arcade
Post by: littleone on July 20, 2005, 07:29:02 AM
I get the same error about Arcade 2!  Also, it is awarding 16 credits per response instead of 1, like I have selected.  Any ideas?
Title: Re: SMF Arcade
Post by: Graeme1978 on July 20, 2005, 11:40:36 AM
Quote from: Graeme1978 on July 15, 2005, 04:20:37 AM
3. Execute Modification Sources/Subs.php Test failed


I also get this error.  Running SMF 1.1 Beta 3 - I get this error when trying to install SMF Arcade 1.2 or 1.2.1

Still no ideas from anyone?  :-\
Title: Re: SMF Arcade
Post by: AlexHobbs on July 20, 2005, 11:45:29 AM
Unfortunately you will have to do this manually, go to the arcade zip folder and open up install.xml it will tell you what modification should go in Subs.php
Title: Re: SMF Arcade
Post by: Fiery on July 21, 2005, 02:29:46 AM
It fixed it.  You are awesome.... Should I delete arcade_sql.php?

THANKS

Quote from: AlexHobbs on July 18, 2005, 10:00:05 AM
Quote from: pmp6nl on July 18, 2005, 04:34:22 AM
Hey everyone, anyone know how to fix this:

Table 'ndbisonc_smf1.smf_games_category' doesn't exist
File: /home/ndbisonc/public_html/forums/Sources/ArcadeAdmin.php
Line: 191


I am running SMF 1.0.5

THANKS
You are using either:
the wrong forum version to go with the arcade you are trying to use or...
try using arcade_sql.php again
Quote from: Vi31 on July 17, 2005, 10:23:21 PM
Can someone tell me how to find and get rid of all the files that belong to this mod.  I uploaded this mod and completely FU...D up my forum.  Now when I click on a topic I get this error.

Table 'msvi007_smf1.smf_games_champ' doesn't exist
File: /home/msvi007/public_html/timeout/Sources/Display.php
Line: 631

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

Please Please Please help me get rid of it.
exactly the same as above

Quote from: edi67 on July 18, 2005, 12:39:13 AM
Quote from: AlexHobbs on July 17, 2005, 06:19:33 AM
right ive added a eval (~) to the end of my arcade and the error your experiencing has come up, so i took of the ~ and it works, try doing that and tell me what happens.

sorry me where i add a eval  (~) ? you can show me the line ?
the actual file name so from arcade.italian.php~ change it to arcade.italian.php with no ~

Hope it helps you 3 :)
Title: Re: SMF Arcade
Post by: rider on July 21, 2005, 02:45:46 AM
If everything is working then yes go ahead and delete it
Title: Re: SMF Arcade
Post by: Fiery on July 21, 2005, 03:05:19 AM
What is the games directory path suppose to be (by default)?

thanks
Title: Re: SMF Arcade
Post by: rider on July 21, 2005, 03:15:54 AM
It should be something like this..../home/xxxxxxx/public_html/xxxxxx/Games.Let me know if this works.
Title: Re: SMF Arcade
Post by: Fiery on July 21, 2005, 03:19:20 AM
Yes, that fixed it.

Thanks

Quote from: rider on July 21, 2005, 03:15:54 AM
It should be something like this..../home/xxxxxxx/public_html/xxxxxx/Games.Let me know if this works.
Title: Re: SMF Arcade
Post by: AlexHobbs on July 21, 2005, 03:29:49 AM
Glad everything is fixed  ;)
Title: Re: SMF Arcade
Post by: hel8itch on July 21, 2005, 10:43:48 AM
installed the arcade mod today everything looks ok in the admin panel but when i click games at the top of my forum i get this message

Fatal error: Call to undefined function: parse_bbc() in /home/***/public_html/Sources/Arcade2.php on line 280

can anyone help please
Title: Re: SMF Arcade
Post by: TedNigma on July 21, 2005, 05:03:05 PM
I looked around for this boggle and found one post about it, where the poster never responded to the advice.  Anyhoo.  I got it all setup, installed Asteroids aok.  it did give a 'sub error' however since this is my 'tester' board and not the live one I just told it to goahead.  Something I should DO there?  or is it aok if it seems to function fine?  I did have to rerun 'arcadesql.php' or whatever though, but it fixed my DB boggles.

however when i 'play' it the 'flash box' is just black..  I tried it in Mozilla 1.7, and IE 6.  Running Beta 3 btw.

Thanks for the help, I am sure it's something stupid I am overlooking.
BSDBill
Title: Re: SMF Arcade
Post by: TedNigma on July 21, 2005, 05:42:30 PM
Nevermind.  I found something about 'hotlink' protection.  However I am unable to access my server panel from 'outside', so I must wait until I get home to jack with it.  I'll keep you posted tho.
Title: Re: SMF Arcade
Post by: [Unknown] on July 21, 2005, 06:32:11 PM
Quote from: hel8itch on July 21, 2005, 10:43:48 AM
installed the arcade mod today everything looks ok in the admin panel but when i click games at the top of my forum i get this message

Fatal error: Call to undefined function: parse_bbc() in /home/***/public_html/Sources/Arcade2.php on line 280

can anyone help please

That function only exists in 1.1.  I would guess you are using the 1.1 version in SMF 1.0, or that there is something wrong with the mod.

-[Unknown]
Title: Re: SMF Arcade
Post by: oldmanwolf on July 22, 2005, 12:28:30 AM
Looks like SMF Arcade 1.2.1 only works for SMF 1.1...  If you've got SMF 1.0.x, you'll have to use Arcade 1.1.3...  It works wonderfully, though!  Don't forget to run arcade_sql.php or you'll get errors!  :P
Title: Re: SMF Arcade
Post by: Fiery on July 22, 2005, 02:44:49 AM
No you can run 1.2.1 on SMF 1.0.5.  I got it working, then I started to get the

Fatal error: Call to undefined function: parse_bbc() in /home/***/public_html/forums/Sources/Arcade2.php on line 280

errors.

Editing the hotlink properties didnt fix it... any other ideas?

thanks

Quote from: oldmanwolf on July 22, 2005, 12:28:30 AM
Looks like SMF Arcade 1.2.1 only works for SMF 1.1...  If you've got SMF 1.0.x, you'll have to use Arcade 1.1.3...  It works wonderfully, though!  Don't forget to run arcade_sql.php or you'll get errors!  :P
Title: Re: SMF Arcade
Post by: oldmanwolf on July 22, 2005, 03:54:55 AM
Quote from: pmp6nl on July 22, 2005, 02:44:49 AM
No you can run 1.2.1 on SMF 1.0.5.  I got it working, then I started to get the

Fatal error: Call to undefined function: parse_bbc() in /home/***/public_html/forums/Sources/Arcade2.php on line 280

Like [Unknown] said, the function parse_bbc() doesn't exist in 1.0.x...  The function in 1.0.x is doUBBC()...  Since that function doesn't exist, that's why you get the error.  You may be able to fix it by changing parse_bbc to doUBBC, but 1.1.3 runs just fine, and doesn't give any errors when trying to record a high score (my installation ran perfectly until I tried to record a score, then I got the same error you did)...

Try changing that function, and let us know how it works...  There's a few folks over on the smfgames forum that are having this issue as well, and if there's a simple fix, that would be ideal, you know?
Title: Re: SMF Arcade
Post by: hel8itch on July 22, 2005, 04:25:22 AM
iv tried to install the 1.13 version but get loads of errors..
i run the sql file first and got


Warning: main(/home/***/public_html/Sources/Arcade.php): failed to open stream: No such file or directory in /home/***/public_html/arcade_sql.php on line 7

Warning: main(/home/***public_html/Sources/Arcade.php): failed to open stream: No such file or directory in /home/***/public_html/arcade_sql.php on line 7

Warning: main(): Failed opening '/home/***/public_html/Sources/Arcade.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/***/public_html/arcade_sql.php on line 7
Installer version is: 1.1.3 while Arcade.php version is . This is internal version and may diffrent from 'real' version


Title: Re: SMF Arcade
Post by: hel8itch on July 22, 2005, 04:28:19 AM
oh..take that back..
i installed it via package manager..i was trying to install the 1.13 fixed version..just done the norm 1.13 and its installed run the arcade-sql file and so far so good.

but why is it when i install stuff package manager gives an error when adding a mod to this


Themes/default/Display.template.php
Title: Re: SMF Arcade
Post by: TedNigma on July 22, 2005, 01:03:19 PM
Quote from: BSDBILL4 on July 21, 2005, 05:42:30 PM
Nevermind.  I found something about 'hotlink' protection.  However I am unable to access my server panel from 'outside', so I must wait until I get home to jack with it.  I'll keep you posted tho.

No joy. Hotlink protection was off anyway.  Still only get a black box, when I right click it it says 'Movie not loaded'

Any clues?  I've scrubbed the forum here, and the mod writers joint, nothing seems to work.
Thanks
BSDBill
Title: Re: SMF Arcade
Post by: scrawl on July 23, 2005, 07:19:12 AM
how do i customise games to work with the highscore stuff if i don't have the original file i lost?
Title: Re: SMF Arcade
Post by: littleone on July 24, 2005, 09:16:48 AM
Quote from: oldmanwolf on July 22, 2005, 03:54:55 AM
Quote from: pmp6nl on July 22, 2005, 02:44:49 AM
No you can run 1.2.1 on SMF 1.0.5.  I got it working, then I started to get the

Fatal error: Call to undefined function: parse_bbc() in /home/***/public_html/forums/Sources/Arcade2.php on line 280

Like [Unknown] said, the function parse_bbc() doesn't exist in 1.0.x...  The function in 1.0.x is doUBBC()...  Since that function doesn't exist, that's why you get the error.  You may be able to fix it by changing parse_bbc to doUBBC, but 1.1.3 runs just fine, and doesn't give any errors when trying to record a high score (my installation ran perfectly until I tried to record a score, then I got the same error you did)...

Try changing that function, and let us know how it works...  There's a few folks over on the smfgames forum that are having this issue as well, and if there's a simple fix, that would be ideal, you know?

I gave this a try.  On line 280 and then 284 I changed the parse_bbc to doUBBC, but now I get this error:

Parse error: parse error, unexpected T_FUNCTION in /home/xxxxxx/public_html/xxxxxxxxxx/Sources/Arcade2.php on line 305
Title: Re: SMF Arcade
Post by: trenchteam on July 25, 2005, 05:00:27 AM
I dont want the champion stuff to appear under the avatar. How do i get rid of it?
Title: Re: SMF Arcade
Post by: Pause on July 25, 2005, 05:08:37 AM
Quote from: BSDBILL4 on July 22, 2005, 01:03:19 PM
Quote from: BSDBILL4 on July 21, 2005, 05:42:30 PM
Nevermind.  I found something about 'hotlink' protection.  However I am unable to access my server panel from 'outside', so I must wait until I get home to jack with it.  I'll keep you posted tho.

No joy. Hotlink protection was off anyway.  Still only get a black box, when I right click it it says 'Movie not loaded'

Any clues?  I've scrubbed the forum here, and the mod writers joint, nothing seems to work.
Thanks
BSDBill
It could be that you hadn't fully uploaded the flash files, try re-uploading them.
Title: Re: SMF Arcade
Post by: Fiery on July 25, 2005, 02:43:24 PM
I just went with the older version... I couldnt find the file that you were talking about...

Does the older version have any missing features? Do all the games work with it?

Thanks

Quote from: oldmanwolf on July 22, 2005, 03:54:55 AM
Quote from: pmp6nl on July 22, 2005, 02:44:49 AM
No you can run 1.2.1 on SMF 1.0.5.  I got it working, then I started to get the

Fatal error: Call to undefined function: parse_bbc() in /home/***/public_html/forums/Sources/Arcade2.php on line 280

Like [Unknown] said, the function parse_bbc() doesn't exist in 1.0.x...  The function in 1.0.x is doUBBC()...  Since that function doesn't exist, that's why you get the error.  You may be able to fix it by changing parse_bbc to doUBBC, but 1.1.3 runs just fine, and doesn't give any errors when trying to record a high score (my installation ran perfectly until I tried to record a score, then I got the same error you did)...

Try changing that function, and let us know how it works...  There's a few folks over on the smfgames forum that are having this issue as well, and if there's a simple fix, that would be ideal, you know?
Title: Re: SMF Arcade
Post by: nokonium on July 25, 2005, 03:26:47 PM
Quote from: trenchteam on July 25, 2005, 05:00:27 AM
I dont want the champion stuff to appear under the avatar. How do i get rid of it?

I haven't tried this myself, except to remove multiple champions icons  ;)

This is the code in the Display.template that inserts the champion icon and text, so removing it should remove the icons and champion text.

if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
                        foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
                                //print_r($tmp);
                                if($tmp['thumbnail'] != ''){
                        echo '
                                                                <img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'<br />';
                                }
                        else
                        echo '
                                                                ', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
                        }
                        }
Title: Re: SMF Arcade
Post by: edi67 on July 25, 2005, 05:28:31 PM
how solve these erros:

Quotehttp://www.forumzone.net.ru/index.php?topic=49779.0 
8: Undefined index: 98
File: /home/forumzonenetru/www/Themes/default/languages/Arcade.english.php (eval?)
Line: 482

   taurus1971   Oggi alle 23:25:31 
82.57.84.231     6b10bd507f385f56a1608d23f78739e3 
http://www.forumzone.net.ru/index.php?topic=49778.0 
8: Undefined index: nazione
File: /home/forumzonenetru/www/Themes/default/languages/Arcade.english.php (eval?)
Line: 308
Title: Re: SMF Arcade
Post by: trenchteam on July 25, 2005, 08:03:00 PM
Quote from: nokonium on July 25, 2005, 03:26:47 PM
Quote from: trenchteam on July 25, 2005, 05:00:27 AM
I dont want the champion stuff to appear under the avatar. How do i get rid of it?

I haven't tried this myself, except to remove multiple champions icons  ;)

This is the code in the Display.template that inserts the champion icon and text, so removing it should remove the icons and champion text.

if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
                        foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
                                //print_r($tmp);
                                if($tmp['thumbnail'] != ''){
                        echo '
                                                                <img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'<br />';
                                }
                        else
                        echo '
                                                                ', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
                        }
                        }


Thanks. That solved my problem!
Title: Re: SMF Arcade
Post by: Scott013 on July 26, 2005, 11:43:37 PM
Where can I get games for this? www.smfgames.com seems quite broken (I don't receive a validation email). Is there another place to get them?
Title: Re: SMF Arcade
Post by: nokonium on July 27, 2005, 01:39:15 AM
Basically that is it. They develop the modify the games to work with SMF. If you have a problem contact them. They "currently have 99 Converted Games and an extra 25 Games in Conversion".
Title: Re: SMF Arcade
Post by: Scott013 on July 27, 2005, 03:03:48 PM
Am I the only one that can't get the site to work?
[Edit] NEvermind, they had to manually validate me, some things weren't working.
Title: Re: SMF Arcade
Post by: the mighty gc on July 28, 2005, 01:00:53 AM
i manually installed the arcade on 1.1 beta 3.  i altered all the permissions to true....yet still only admins can access the arcade room, what did i miss?
Title: Re: SMF Arcade
Post by: Fiery on July 28, 2005, 01:29:34 AM
Did you open the arcade?
Title: Re: SMF Arcade
Post by: Orbit45244 on July 28, 2005, 09:47:58 AM
With SMF 1.0.5, when installing SMFArcade 1.2.1, I get this error when viewing posts:

QuoteDatabase Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
File: (censored for security)\Sources\Display.php
Line: 567

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

I also get an error when going into the "Games" section in the Admin CP.  It says:
Quote
Database Error
Table '(censored for security).smf_games_category' doesn't exist
File: (censored for security)\Sources\ArcadeAdmin.php
Line: 135

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

Can anyone help me?
Title: Re: SMF Arcade
Post by: littleone on July 28, 2005, 11:27:05 AM
Is there a way to make an additional mod that will put (say a trophy or title) in the actual forum for the member that has the most highest scores?
Title: Re: SMF Arcade
Post by: Kindred on July 28, 2005, 11:33:07 AM
of course there IS a way...   however, it would be moderately complicated to do this (and would probably require a chron job to do, since you'd want to check for most-high scores only every week (or other time period))

but, it could be done...  feel free to do it. :)
Title: Re: SMF Arcade
Post by: DemonicInfluence on July 28, 2005, 12:12:30 PM
I get this error message when I visit the arcade home:

Quote8: Undefined index: member
File: /home/u1/libo/html/Themes/default/languages/Arcade.english.php (eval?)
Line: 220

And this one when i submit scores:

Quote8: Undefined index: member
File: /home/u1/libo/html/Sources/Arcade.php
Line: 434

and sometimes this

Quote8: Undefined index: memberid
File: /home/u1/libo/html/Sources/Arcade2.php
Line: 454

I fixed it. I dunno how...
Title: Re: SMF Arcade
Post by: Fiery on July 29, 2005, 01:18:34 AM
Humm, I did the same thing and it works... Copy the coding for the whole page and ill take a look



Quote from: littleone on July 24, 2005, 09:16:48 AM
Quote from: oldmanwolf on July 22, 2005, 03:54:55 AM
Quote from: pmp6nl on July 22, 2005, 02:44:49 AM
No you can run 1.2.1 on SMF 1.0.5.  I got it working, then I started to get the

Fatal error: Call to undefined function: parse_bbc() in /home/***/public_html/forums/Sources/Arcade2.php on line 280

Like [Unknown] said, the function parse_bbc() doesn't exist in 1.0.x...  The function in 1.0.x is doUBBC()...  Since that function doesn't exist, that's why you get the error.  You may be able to fix it by changing parse_bbc to doUBBC, but 1.1.3 runs just fine, and doesn't give any errors when trying to record a high score (my installation ran perfectly until I tried to record a score, then I got the same error you did)...

Try changing that function, and let us know how it works...  There's a few folks over on the smfgames forum that are having this issue as well, and if there's a simple fix, that would be ideal, you know?

I gave this a try.  On line 280 and then 284 I changed the parse_bbc to doUBBC, but now I get this error:

Parse error: parse error, unexpected T_FUNCTION in /home/xxxxxx/public_html/xxxxxxxxxx/Sources/Arcade2.php on line 305

Title: Re: SMF Arcade
Post by: Fiery on July 29, 2005, 01:19:48 AM
uninstall, reinstall run update... then what does it say?

If it doesnt work, go with older version

Quote from: Libo on July 28, 2005, 12:12:30 PM
I get this error message when I visit the arcade home:

Quote8: Undefined index: member
File: /home/u1/libo/html/Themes/default/languages/Arcade.english.php (eval?)
Line: 220

And this one when i submit scores:

Quote8: Undefined index: member
File: /home/u1/libo/html/Sources/Arcade.php
Line: 434

and sometimes this

Quote8: Undefined index: memberid
File: /home/u1/libo/html/Sources/Arcade2.php
Line: 454
Title: Re: SMF Arcade
Post by: Fiery on July 30, 2005, 02:34:58 AM
Is there a way to set it up where 1 post = 5 credits to play games?????
Title: Re: SMF Arcade
Post by: trenchteam on July 30, 2005, 07:40:22 AM
^ that would actually be cool as hell!
Title: Re: SMF Arcade
Post by: Togster on July 30, 2005, 10:35:30 AM
Hi, I have the arcade working well on 1.1 Beta 3, it is excellent, I just get pages and pages of messages in the Error log when anyone visits and plays the arcade, it works, but creates an error log entry, they are as follows:-

http://www.monopolysquad.co.uk/CED/index.php?topic=1843.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: game
File: /home/monopoly/public_html/CED/Sources/Display.php
Line: 675

-------------------------------------------------

http://www.monopolysquad.co.uk/CED/index.php?topic=1843.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: i
File: /home/monopoly/public_html/CED/Sources/Display.php
Line: 672

-------------------------------------------------

672   $context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default
673
674   foreach($ext as $ex){
675 if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
676 $context['arcade']['games'][$i]['thumbnail'] = $modSettings['arcade_games_url']."/".$game['game'].".".$ex;
677 break;
678 }
679   }


any ideas?? help greatly appreciated :)
Title: Re: SMF Arcade
Post by: Fiery on July 31, 2005, 02:40:33 AM
I have that problem also.. I have 75 pages of errors.. in 1.5 days



Quote from: Togster on July 30, 2005, 10:35:30 AM
Hi, I have the arcade working well on 1.1 Beta 3, it is excellent, I just get pages and pages of messages in the Error log when anyone visits and plays the arcade, it works, but creates an error log entry, they are as follows:-

http://www.monopolysquad.co.uk/CED/index.php?topic=1843.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: game
File: /home/monopoly/public_html/CED/Sources/Display.php
Line: 675

-------------------------------------------------

http://www.monopolysquad.co.uk/CED/index.php?topic=1843.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: i
File: /home/monopoly/public_html/CED/Sources/Display.php
Line: 672

-------------------------------------------------

672   $context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default
673
674   foreach($ext as $ex){
675 if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
676 $context['arcade']['games'][$i]['thumbnail'] = $modSettings['arcade_games_url']."/".$game['game'].".".$ex;
677 break;
678 }
679   }


any ideas?? help greatly appreciated :)
Title: Re: SMF Arcade
Post by: DemonicInfluence on July 31, 2005, 09:40:02 AM
use this code instead of the normal code:

/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ, {$db_prefix}games
WHERE {$db_prefix}games_champ.game={$db_prefix}games.game",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))
{
if(!empty($rivi['game']) && !empty($rivi['member']))
$arcade_champ[$rivi['member']][$rivi['game']] = $rivi;

if(file_exists("./Games/{$rivi['game']}.gif")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.gif";
}
elseif(file_exists("./Games/{$rivi['game']}.GIF")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.GIF";
}
elseif(file_exists("./Games/{$rivi['game']}.png")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.png";
}
elseif(file_exists("./Games/{$rivi['game']}.PNG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.PNG";
}
elseif(file_exists("./Games/{$rivi['game']}.jpg")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.jpg";
}
elseif(file_exists("./Games/{$rivi['game']}.JPG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.JPG";
}
else{
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "";
}

}
loadLanguage('Arcade'); // We need strings from Arcade language file
$context['arcade']['champions'] = $arcade_champ;


I got it from www.smfgame.com very useful.
Title: Re: SMF Arcade
Post by: Togster on July 31, 2005, 12:41:04 PM
Quote from: Libo on July 31, 2005, 09:40:02 AM
use this code instead of the normal code:

/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ, {$db_prefix}games
WHERE {$db_prefix}games_champ.game={$db_prefix}games.game",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))
{
if(!empty($rivi['game']) && !empty($rivi['member']))
$arcade_champ[$rivi['member']][$rivi['game']] = $rivi;

if(file_exists("./Games/{$rivi['game']}.gif")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.gif";
}
elseif(file_exists("./Games/{$rivi['game']}.GIF")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.GIF";
}
elseif(file_exists("./Games/{$rivi['game']}.png")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.png";
}
elseif(file_exists("./Games/{$rivi['game']}.PNG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.PNG";
}
elseif(file_exists("./Games/{$rivi['game']}.jpg")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.jpg";
}
elseif(file_exists("./Games/{$rivi['game']}.JPG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.JPG";
}
else{
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "";
}

}
loadLanguage('Arcade'); // We need strings from Arcade language file
$context['arcade']['champions'] = $arcade_champ;


I got it from www.smfgame.com very useful.


Works!! thanks :)
Title: Re: SMF Arcade
Post by: flowerweb on July 31, 2005, 12:54:58 PM
I don't want to appear champions arcade under the avatar, buta i would like to appear under the signature, like signature whit a line separator.
Moreover I wanted that if a user is champion in several games, that came shown without to go to head for every game.
What code i have to edit?
Title: Re: SMF Arcade
Post by: DemonicInfluence on July 31, 2005, 02:40:02 PM
Quote from: flowerweb on July 31, 2005, 12:54:58 PM
I don't want to appear champions arcade under the avatar, buta i would like to appear under the signature, like signature whit a line separator.
Moreover I wanted that if a user is champion in several games, that came shown without to go to head for every game.
What code i have to edit?

Edit the display.template.php . Delete the original code...

edit is for display.template.php so that your champion icons show in a row under your forum signature.

replace:

  // Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%; padding-bottom: 3px;" class="signature">', $message['member']['signature'], '</div>';

with the following:

// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%; padding-bottom: 3px;" class="signature">', $message['member']['signature'], '</div><hr />';
if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
$i = 0;

echo "SmfArcade Champion&nbsp;";
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){

// echo '
// <img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'
';

echo '<a href="', $scripturl, '?action=arcade;do=play;game=',$tmp['id'],'" ><img border="0" src="', $tmp['thumbnail'], '" alt="', $tmp['name'] ,'" width="20" height="20"></a>&nbsp;';

}
}
}

Got it from smfgames. I dont know what you mean by that came shown without to go to head for every game
Title: Re: SMF Arcade
Post by: snork13 on August 01, 2005, 01:40:02 AM
Quote from: littleone on July 24, 2005, 09:16:48 AM
Quote from: oldmanwolf on July 22, 2005, 03:54:55 AM
Quote from: pmp6nl on July 22, 2005, 02:44:49 AM
No you can run 1.2.1 on SMF 1.0.5.  I got it working, then I started to get the

Fatal error: Call to undefined function: parse_bbc() in /home/***/public_html/forums/Sources/Arcade2.php on line 280

Like [Unknown] said, the function parse_bbc() doesn't exist in 1.0.x...  The function in 1.0.x is doUBBC()...  Since that function doesn't exist, that's why you get the error.  You may be able to fix it by changing parse_bbc to doUBBC, but 1.1.3 runs just fine, and doesn't give any errors when trying to record a high score (my installation ran perfectly until I tried to record a score, then I got the same error you did)...

Try changing that function, and let us know how it works...  There's a few folks over on the smfgames forum that are having this issue as well, and if there's a simple fix, that would be ideal, you know?

I gave this a try.  On line 280 and then 284 I changed the parse_bbc to doUBBC, but now I get this error:

Parse error: parse error, unexpected T_FUNCTION in /home/xxxxxx/public_html/xxxxxxxxxx/Sources/Arcade2.php on line 305


it work for me ..change those to lines with version 1.05

thanks
Title: Re: SMF Arcade
Post by: flowerweb on August 01, 2005, 07:59:54 AM
Quote from: Libo on July 31, 2005, 02:40:02 PM
Quote from: flowerweb on July 31, 2005, 12:54:58 PM
I don't want to appear champions arcade under the avatar, buta i would like to appear under the signature, like signature whit a line separator.
Moreover I wanted that if a user is champion in several games, that came shown without to go to head for every game.
What code i have to edit?

Edit the display.template.php . Delete the original code...

edit is for display.template.php so that your champion icons show in a row under your forum signature.

replace:

  // Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%; padding-bottom: 3px;" class="signature">', $message['member']['signature'], '</div>';

with the following:

// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%; padding-bottom: 3px;" class="signature">', $message['member']['signature'], '</div><hr />';
if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
$i = 0;

echo "SmfArcade Champion&nbsp;";
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){

// echo '
// <img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'
';

echo '<a href="', $scripturl, '?action=arcade;do=play;game=',$tmp['id'],'" ><img border="0" src="', $tmp['thumbnail'], '" alt="', $tmp['name'] ,'" width="20" height="20"></a>&nbsp;';

}
}
}

Got it from smfgames. I dont know what you mean by that came shown without to go to head for every game

Ok thanks very very much Libo.
I mean to show games in which the user is champion in a row and not in much row.
Title: Re: SMF Arcade
Post by: azuregenesis on August 01, 2005, 08:49:47 AM
got it working on 1.0.5 :) thanks!

now to redo this to fit my other themes...

xD
Title: Re: SMF Arcade
Post by: qbproger on August 01, 2005, 03:41:25 PM
i keep getting this error in my error log:

8: Undefined index: memberid
File: /home/qbproger/public_html/forums/Sources/Arcade2.php
Line: 454
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 01, 2005, 06:40:21 PM
define memberid in arcade2.php

On line 454 for a unmodified Arcade2.php

change this:

$x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['memberid']}', game='{$arr['game']}', stime='{$top[0]['time']}'";

Into this:

  $x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['member']}', game='{$arr['game']}', stime='{$top[0]['time']}'";
Title: Re: SMF Arcade
Post by: qbproger on August 01, 2005, 08:36:28 PM
why does my arcade panel look like this:

Arcade panel
Game listing
Admin
Challenges
Tournaments
Statistics
No Actions
Flatout
Champion: Array
Score: 376


The part that has me confused is:
Champion: Array
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 01, 2005, 09:09:02 PM
I had that too. Do this to fix:

In Arcade.template.php in Themes/default

Find:
echo "<td><a href=\"$scripturl?action=profile;u={$tmp['member']}\">{$user_profile[$tmp['member']]['realName']}</a></td><td width=\"100\"><img src=\"" . $settings['images_url'] . '/bar.gif" width="' . $tmp['precent'] . "\" height=\"15\" alt=\"".$tmp['precent']."%\" border=\"0\" /></td><td>{$tmp['cnt']}</td>";

Replace with this:
echo "<td><a href=\"$scripturl?action=profile;u={$tmp['member']}\">{$user_profile[$tmp['member']]['realName']}</a></td><td width=\"100\"><img src=\"" . $settings['images_url'] . '/bar.gif" width="' . $tmp['precent'] . "\" height=\"15\" alt=\"".$tmp['precent']."%\" border=\"0\" /></td><td>{$tmp['cnt']}</td>";
Title: Re: SMF Arcade
Post by: qbproger on August 01, 2005, 09:27:01 PM
when i changed that top line, now i get 2 new errors:

8: Undefined offset: 0
File: /home/qbproger/public_html/forums/Sources/Arcade2.php
Line: 454

and this one:

8: Undefined variable: GET_
File: /home/qbproger/public_html/forums/Sources/ArcadeAdmin.php
Line: 572
Title: Re: SMF Arcade
Post by: qbproger on August 01, 2005, 09:58:56 PM
ok... i don't think the line you said is where the problem lies... as it started 2 more errors.  i think it's somewhere in here

if(isset($user_profile[$score['member']]))
{
$top10[$i]['member'] = $user_profile[$score['member']];
}
else
{
$top10[$i]['memberid'] = $score['member'];
}
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 02, 2005, 12:17:27 AM
It isn't sorry... Try this:

Arcade2.php

Find:
          $x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['memberid']}', game='{$arr['game']}', stime='{$top[0]['time']}'";

Replace:
$x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['member']}', game='{$arr['game']}', stime='{$top[0]['time']}'";

This SHould work now.
Title: Re: SMF Arcade
Post by: qbproger on August 02, 2005, 12:24:52 AM
that's the same edit as above that caused different errors
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 02, 2005, 12:34:37 AM
One is in Arcade template. Other is in Arcade2....
Title: Re: SMF Arcade
Post by: qbproger on August 02, 2005, 01:03:56 AM
the edit you told me for arcade2 is the same one as before... the one that causes different errors.
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 02, 2005, 02:18:16 AM
I dunno then. Sorry, I had the error too on my board and I fixed it. I frogot how  :(
Title: Re: SMF Arcade
Post by: qbproger on August 02, 2005, 02:29:07 AM
I figured it out... with some php knowledge  :D

This is the address of where I show how to fix the error.
http://smfgames.com/forum/index.php?topic=1322.0 (http://smfgames.com/forum/index.php?topic=1322.0)

There is only one more problem now... and i'm looking at the source code, i don't see what could be causing this one...
On every game page is says:
Champion: Array...

I think it has something to do with this line in Arcade.php:
$game_info .= "<b>{$txt['arcade_7']}</b>: {$context['arcade']['top10'][0]['member']}<br /><b>{$txt['arcade_1']}</b>: {$context['arcade']['top10'][0]['score']}<br />";

I'm going to add some debugging code, and see if i can figure it out... we'll see i guess...
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 02, 2005, 06:42:51 PM
$game_info .= "<b>{$txt['arcade_7']}</b>: {$context['arcade']['top10'][0]['member']['realName']}<br /><b>{$txt['arcade_1']}</b>: {$context['arcade']['top10'][0]['score']}<br />";

That's the edit I had. :)
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 02, 2005, 09:16:55 PM
Err... the game thumbnails for the champs don't display... I have Search engine friendly urls. When i turn that off, the thumbnails reappear. So, how do I make it able to display...
Title: Re: SMF Arcade
Post by: Evolution-8 on August 03, 2005, 02:32:41 AM
Quote from: Orbit45244 on July 28, 2005, 09:47:58 AM
With SMF 1.0.5, when installing SMFArcade 1.2.1, I get this error when viewing posts:

QuoteDatabase Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
File: (censored for security)\Sources\Display.php
Line: 567

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

I also get an error when going into the "Games" section in the Admin CP.  It says:
Quote
Database Error
Table '(censored for security).smf_games_category' doesn't exist
File: (censored for security)\Sources\ArcadeAdmin.php
Line: 135

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

Can anyone help me?

So, how do you fix that?  I need to know, my forum is down until that is fixed.
Title: Re: SMF Arcade
Post by: scrawl on August 03, 2005, 02:48:23 AM
could someone explain a little more about where and what code to put into my games so they work with the high score system?

cheers.
Title: Re: SMF Arcade
Post by: scrawl on August 03, 2005, 02:51:02 AM
Quote from: Evolution-8 on August 03, 2005, 02:32:41 AM
Quote from: Orbit45244 on July 28, 2005, 09:47:58 AM
With SMF 1.0.5, when installing SMFArcade 1.2.1, I get this error when viewing posts:

QuoteDatabase Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
File: (censored for security)\Sources\Display.php
Line: 567

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

I also get an error when going into the "Games" section in the Admin CP.  It says:
Quote
Database Error
Table '(censored for security).smf_games_category' doesn't exist
File: (censored for security)\Sources\ArcadeAdmin.php
Line: 135

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

Can anyone help me?

So, how do you fix that?  I need to know, my forum is down until that is fixed.

i had this problem as well so i uninstalled the files that had been installed then installed 1.0.3 it works fine on SMF 1.5. but i couldn't get the latest version to work at all. but i don't know that much maybe someone can offer an explanation
Title: Re: SMF Arcade
Post by: tentronik on August 03, 2005, 02:53:00 AM
Try changing the version number inside the xml before you install.
You have to unpack/repack therefor.
Title: Re: SMF Arcade
Post by: Evolution-8 on August 03, 2005, 02:54:06 AM
Quote from: scrawl on August 03, 2005, 02:51:02 AM
Quote from: Evolution-8 on August 03, 2005, 02:32:41 AM
Quote from: Orbit45244 on July 28, 2005, 09:47:58 AM
With SMF 1.0.5, when installing SMFArcade 1.2.1, I get this error when viewing posts:

QuoteDatabase Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
File: (censored for security)\Sources\Display.php
Line: 567

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

I also get an error when going into the "Games" section in the Admin CP.  It says:
Quote
Database Error
Table '(censored for security).smf_games_category' doesn't exist
File: (censored for security)\Sources\ArcadeAdmin.php
Line: 135

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

Can anyone help me?

So, how do you fix that?  I need to know, my forum is down until that is fixed.

i had this problem as well so i uninstalled the files that had been installed then installed 1.0.3 it works fine on SMF 1.5. but i couldn't get the latest version to work at all. but i don't know that much maybe someone can offer an explanation

I am not going to reinstall everthing and use 1.0.3
Title: Re: SMF Arcade
Post by: scrawl on August 03, 2005, 08:34:19 AM
that's cool bro settle down i was just offering some advice i didn't say you had to take it.
Title: Re: SMF Arcade
Post by: trenchteam on August 04, 2005, 01:32:13 AM
Quote from: WhyMan on April 24, 2005, 05:20:23 PM
HI there,

Anyone seen this error b4? 8: Undefined index: version
File: /home/compfree/public_html/forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 421
Looked at the Arcade.english.php and this is what i get at line 421? $txt['arcade_185'] = "Click here to join";Now for some reason only admins can see & play the games.. Global mods & users get An Error Has Occurred!
You arent allowed to view arcade, sorry!
heh i'm pretty sure i've got the permissions right, any input or resolve would be greatly appreciated ;)

Cheers..  8)


Im getting this now too.  Im not sure why only admins have acess and users do not. :-[
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 04, 2005, 01:50:40 AM
Go to regular users and check the permissions. Also the admin arcade has the enable arcade thing. make sure its enabled.
Title: Re: SMF Arcade
Post by: trenchteam on August 04, 2005, 03:00:30 AM
for some odd reason the managepermissions.php file was not modded..  So I manually added

This
'arcade' => array( /* Lisätty */
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
)


after this:

Quote'profile' => array(
            'profile_view' => true,
            'profile_identity' => true,
            'profile_extra' => true,
            'profile_title' => true,
            'profile_remove' => true,
            'profile_remote_avatar' => false,
         ),

I was able to grant permission again.  What is strange was I was running the arcade for the longest time without ever having permission options. Then just today, it required it. At least its working now.  thanks for the suggestion though.
Title: Re: SMF Arcade
Post by: Phoenixoverlord on August 05, 2005, 07:12:30 AM
I'm having trouble with this mod in SMF 1.0.5. It's bridged with Orstio's 3.19 bridge to Mambo.

I've installed it manually as it didn't want to install anything at all. But I've read the readme and applied all modifications. I get the menu and can enable it for the normal users as well, but I can't install any games.

I've uploaded invaders.swf to the Games dir and it's in the drop down box, but when I press the install button, I get logged out of the forum and nothing happens. I also get a whole bunch of errors:

Undefined variable: latest
File: /home/flaming/public_html/smftest/Sources/Arcade2.php
Line: 400

Undefined index: admin_arcade
File: /home/flaming/public_html/smftest/Themes/default/languages/Arcade.english.php (eval?)
Line: 12

Undefined index: version
File: /home/flaming/public_html/smftest/Themes/default/languages/Arcade.english.php (eval?)
Line: 421

Undefined index: admin_games2
File: /home/flaming/public_html/smftest/Themes/default/languages/Arcade.english.php (eval?)
Line: 118

Also, I've tried downloading the games from smfgames.com but I've only been able to unzip spaceinvaders. All the others give errors. And uploading the zip doesn't work either.


EDIT: ok the game install isn't running smoothly yet, but I know what's going wrong. I've replaced all instances of ?action=arcade or =arcadeadmin with ?option=com_smf&Itemid=26&action=whatever. Just need to find this install line...
Title: Re: SMF Arcade
Post by: probinson77 on August 05, 2005, 08:40:03 AM
When you install games, you should go directly to your forum, not through the bridge.  So for example, you would go to sitename.com/smf_install_dir/index.php and then login to the admin from there to install games.

As for the other problem, I posted a solution to making the Arcade work with the Mambo bridge on the smfgames website a while back, but I figured it would nice to have it here too.  Basically, you need to modify only one file, your MAMBO index.php file, and put this code at the top of the file right after the opening <? before anything else:

/////////////////// Code added for SMF-Arcade Redirects ///////////////////////////
if($_GET['option'] != 'com_smf') {
parse_str(preg_replace('/&(\w+)(&|$)/', '&$1=$2', strtr($_SERVER['QUERY_STRING'], ';', '&')), $_GET);
if($_GET['action'] == 'arcade') {
$do_arcade = true;
}
}
if($do_arcade == true) {
define("SMF_ARCADE_PATH", "http://your_site_name/index.php?option=com_smf&Itemid=36&action=arcade");
if($_GET['search'] == 'Search') { // Search Function
header("Location: ".SMF_ARCADE_PATH."&name={$_GET['name']}&order={$_GET['order']}&search=Search");
}
?>
<html>
<head>
<script type="text/javascript">
function form_redirect() {
document.form1.submit(); //Code to pass POST variables to arcade
}
</script>
</head>
<body>
<form name="form1" action="<? echo SMF_ARCADE_PATH;
if($_GET['sa'] == 'challenge') { // Send challenge
echo ';sa=challenge;send';
}
if($_GET['sa'] == 'tournament' && isset($_GET['join'])) { //Join tournament
echo ";sa=tournament;id={$_GET['id']};join";
}
if($_GET['sa'] == 'tournament' && $_GET['new'] == 2) { // New tournament(2)
echo ';sa=tournament;new=2';
}
if($_GET['sa'] == 'tournament' && $_GET['new'] == 3) { // New tournament(3)
echo ';sa=tournament;new=3';
}
?>" method="POST">
<? if($_POST['do'] == 'comment') { ?>  <!-- Post comment with score -->
<input type="hidden" name="do" value="<? echo $_POST['do']; ?>">
<input type="hidden" name="time" value="<? echo $_POST['time']; ?>">
<input type="hidden" name="game" value="<? echo $_POST['game']; ?>">
<input type="hidden" name="comment" value="<? echo $_POST['comment']; ?>">
<? } elseif($_GET['sa'] == 'challenge') { ?> <!-- Submit a challenge -->
<input type="hidden" name="to" value="<? echo $_POST['to']; ?>">
<input type="hidden" name="game" value="<? echo $_POST['game']; ?>">
<input type="hidden" name="message" value="<? echo $_POST['message']; ?>">
<? } elseif($_GET['sa'] == 'tournament' && isset($_GET['join'])) { ?> <!-- Join a tournament -->
<input type="hidden" name="pass" value="<? echo $_POST['pass']; ?>">
<? } elseif($_GET['sa'] == 'tournament' && $_GET['new'] == 2) { ?> <!-- New tournament(2) -->
<input type="hidden" name="name" value="<? echo $_POST['name']; ?>">
<input type="hidden" name="rounds" value="<? echo $_POST['rounds']; ?>">
<input type="hidden" name="round2" value="<? echo $_POST['round2']; ?>">
<input type="hidden" name="player" value="<? echo $_POST['player']; ?>">
<input type="hidden" name="player2" value="<? echo $_POST['player2']; ?>">
<input type="hidden" name="pass" value="<? echo $_POST['pass']; ?>">
<input type="hidden" name="type" value="<? echo $_POST['type']; ?>">
<input type="hidden" name="teams" value="<? echo $_POST['teams']; ?>">
<input type="hidden" name="teams2" value="<? echo $_POST['teams2']; ?>">
<? } elseif($_GET['sa'] == 'tournament' && $_GET['new'] == 3) { ?> <!-- New tournament(3) -->
<input type="hidden" name="data" value="<? echo htmlentities($_POST['data']); ?>">
<input type="hidden" name="game[]" value="<? echo $_POST['game[]']; ?>">
<input type="hidden" name="team[]" value="<? echo $_POST['team[]']; ?>">
<? } else { ?> <!-- Submit score -->
<input type="hidden" name="game" value="<? echo $_POST['game']; ?>">
<input type="hidden" name="score" value="<? echo $_POST['score']; ?>">
<? } ?>
</form>
<script type="text/javascript">
form_redirect();
</script>
</body>
</html>
<?
}
else {


...and then at the bottom of your mambo index.php right before the ?> You must put a closing }.  That should do it.  I've been using this hack for about 2 months now and it works like a charm.
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 05, 2005, 09:07:22 AM
Quote from: Phoenixoverlord on August 05, 2005, 07:12:30 AM
I'm having trouble with this mod in SMF 1.0.5. It's bridged with Orstio's 3.19 bridge to Mambo.

I've installed it manually as it didn't want to install anything at all. But I've read the readme and applied all modifications. I get the menu and can enable it for the normal users as well, but I can't install any games.

I've uploaded invaders.swf to the Games dir and it's in the drop down box, but when I press the install button, I get logged out of the forum and nothing happens. I also get a whole bunch of errors:

Undefined variable: latest
File: /home/flaming/public_html/smftest/Sources/Arcade2.php
Line: 400

Undefined index: admin_arcade
File: /home/flaming/public_html/smftest/Themes/default/languages/Arcade.english.php (eval?)
Line: 12

Undefined index: version
File: /home/flaming/public_html/smftest/Themes/default/languages/Arcade.english.php (eval?)
Line: 421

Undefined index: admin_games2
File: /home/flaming/public_html/smftest/Themes/default/languages/Arcade.english.php (eval?)
Line: 118

Also, I've tried downloading the games from smfgames.com but I've only been able to unzip spaceinvaders. All the others give errors. And uploading the zip doesn't work either.


EDIT: ok the game install isn't running smoothly yet, but I know what's going wrong. I've replaced all instances of ?action=arcade or =arcadeadmin with ?option=com_smf&Itemid=26&action=whatever. Just need to find this install line...

did u run arcade_sql? This is how, www.yoursite.com/arcade_sql.php . Replace the yoursite.com with your sites adress...
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 05, 2005, 09:29:28 AM
Quote from: Libo on August 02, 2005, 09:16:55 PM
Err... the game thumbnails for the champs don't display... I have Search engine friendly urls. When i turn that off, the thumbnails reappear. So, how do I make it able to display...

So, can anyone fix this problem? to make the thumbnails appear?
Title: Re: SMF Arcade
Post by: Phoenixoverlord on August 05, 2005, 11:21:06 AM
Quote from: Libo on August 05, 2005, 09:07:22 AM


did u run arcade_sql? This is how, www.yoursite.com/arcade_sql.php . Replace the yoursite.com with your sites adress...

Aye aye, I ran it and no problem there. But I only get this when I install the games. Everything else works fine. I think it's because I forgot one instance of ?action somewhere...
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 05, 2005, 12:31:21 PM
what version are u using? maybe reupload sources?
Title: Re: SMF Arcade
Post by: Phoenixoverlord on August 05, 2005, 02:03:34 PM
I'm using 1.1.3. as the 1.2.something is for SMF 1.1 (I'm using SMF 1.0.5.)
Title: Re: SMF Arcade
Post by: niko on August 05, 2005, 03:15:56 PM
I'll try to get a really working version this week or first part of next week... when i get time to setup it to my testing server... (smf 1.0.5 and smf 1.1 beta 3)
Title: Re: SMF Arcade
Post by: Col on August 05, 2005, 06:38:57 PM
Hi,

Installed on an unmodded forum, but get the following when I click on games:

QuoteTable 'xxxxxx_smf5.smf_games_category' doesn't exist
File: /home/xxxxxx/public_html/community/Sources/ArcadeAdmin.php
Line: 191

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

And similar messages in Games Installer, and Categories.

I also get the follwing when trying to view posts:

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
File: /home/xxxxxx/public_html/community/Sources/Display.php
Line: 546

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

Help greatly appreciated. :-[
Title: Re: SMF Arcade
Post by: redone on August 05, 2005, 07:17:21 PM
You need to upgrade your forum to SMF 1.05 and install the mod again. Basically your forum and its database versions don't match.

Upgrading and reinstalling the mod should fix that for you.

Title: Re: SMF Arcade
Post by: Col on August 05, 2005, 07:22:56 PM
Hi,

Sorry, no. The forum is a fresh install, version 1.0.5, using fantistico. The forum was workimg fine untill the arcade install.
Title: Re: SMF Arcade
Post by: Col on August 05, 2005, 07:52:53 PM
OK, I've sorted out the problems above, but now I have new ones. :-[

First, why is there no explanation the you must run http://www.YOUR SITE.COM/FORUM NAME/arcade_sql.php? I've looked through the first two pages of this thread, and no mention. It should be in first post! - Is it in a read me file? When you install using the package manager you would see that anyway. :-[

Anyway, the new problem. I now get:

Quote2: Division by zero
File: /home/xxxxxx/public_html/community/Sources/Subs.php
Line: 582

....when I try to use the arcade. :-\

Anyone? - Thanks.
Title: Re: SMF Arcade
Post by: Col on August 05, 2005, 08:09:49 PM
I had to enter some values in the Arcade Settings, it appears to be working now.

This is a fantastic mod, and huge effort has been made to provide some great games, and I am hugely appreciative, but why isn't there a guide at the beginning of this thread. I've managed to work this out, just, and by the skin of my teeth. For the want of a little documentation, this mod package is seriously let down. I do mean this constructively, even if it doesn't come across that way.

Anyway, huge thanks, despite the difficulties.
Title: Re: SMF Arcade
Post by: Col on August 05, 2005, 09:17:39 PM
...Also had to change some code in in Arcade2.php as per http://www.simplemachines.org/community/index.php?topic=29619.msg310977#msg310977
Title: Re: SMF Arcade
Post by: Fiery on August 05, 2005, 10:27:38 PM
Quote from: Libo on August 04, 2005, 01:50:40 AM
Go to regular users and check the permissions. Also the admin arcade has the enable arcade thing. make sure its enabled.

Yea I tried to do that but, I got this error:

Parse error: parse error, unexpected ',', expecting ')' in /home/***/public_html/forums/Sources/ManagePermissions.php on line 1045

what do I need to modify on line 1045?

Is there some easy way to find line 1045?

thanks
Title: Re: SMF Arcade
Post by: oldmanwolf on August 06, 2005, 01:01:40 AM
Quote from: pmp6nl on August 05, 2005, 10:27:38 PM
Quote from: Libo on August 04, 2005, 01:50:40 AM
Go to regular users and check the permissions. Also the admin arcade has the enable arcade thing. make sure its enabled.

Yea I tried to do that but, I got this error:

Parse error: parse error, unexpected ',', expecting ')' in /home/***/public_html/forums/Sources/ManagePermissions.php on line 1045

what do I need to modify on line 1045?

Is there some easy way to find line 1045?

thanks

The easiest way to find line 1045 is to open it up in Dreamweaver or some other code editing program.  I think Dreamweaver may even have a trial version you can d/l and try for 30 days, too...  Then just check that line and take out the extra code in it...
Title: Re: SMF Arcade
Post by: Fiery on August 06, 2005, 01:38:40 AM
Quote from: oldmanwolf on August 06, 2005, 01:01:40 AM
Quote from: pmp6nl on August 05, 2005, 10:27:38 PM
Quote from: Libo on August 04, 2005, 01:50:40 AM
Go to regular users and check the permissions. Also the admin arcade has the enable arcade thing. make sure its enabled.

Yea I tried to do that but, I got this error:

Parse error: parse error, unexpected ',', expecting ')' in /home/***/public_html/forums/Sources/ManagePermissions.php on line 1045

what do I need to modify on line 1045?

Is there some easy way to find line 1045?

thanks

The easiest way to find line 1045 is to open it up in Dreamweaver or some other code editing program.  I think Dreamweaver may even have a trial version you can d/l and try for 30 days, too...  Then just check that line and take out the extra code in it...

That fixed that now I got:


Parse error: parse error, unexpected ',' in /home/***/public_html/forums/Sources/ManagePermissions.php on line 1061
From 1049-1080
   

),
         'arcade' => array(
            'view_arcade' => true,
            'play_arcade' => true,
            'submit_score' => true,
            'challenge_send' => true,
            'challenge_view' => true,
            'admin_arcade' => true,
         ),      



      ),
      'board' => array(
         'general_board' => array(
            'moderate_board' => false,
         ),
         'topic' => array(
            'post_new' => false,
            'merge_any' => false,
            'split_any' => false,
            'send_topic' => false,
            'make_sticky' => false,
            'make_gsticky' => false,
            'move' => true,
            'lock' => true,
            'delete' => true,
            'post_reply' => true,
            'modify_replies' => false,
            'remove_replies' => false,
            'announce_topic' => false,
         ),

The error causer is in red.  What do I need to fix now?

Thanks
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 06, 2005, 02:05:31 AM
         'arcade' => array(
'view_arcade' => true,
'play_arcade' => true,
'submit_score' => true,
'challenge_send' => true,
'challenge_view' => true,
'admin_arcade' => true,
),
'board' => array(
'general_board' => array(
'moderate_board' => false,
),
'topic' => array(
'post_new' => false,
'merge_any' => false,
'split_any' => false,
'send_topic' => false,
'make_sticky' => false,
'make_gsticky' => false,
'move' => true,
'lock' => true,
'delete' => true,
'post_reply' => true,
'modify_replies' => false,
'remove_replies' => false,
'announce_topic' => false,
),


THis is waht u need
Title: Re: SMF Arcade
Post by: Fiery on August 06, 2005, 02:30:32 AM
Quote from: Libo on August 06, 2005, 02:05:31 AM
         'arcade' => array(
'view_arcade' => true,
'play_arcade' => true,
'submit_score' => true,
'challenge_send' => true,
'challenge_view' => true,
'admin_arcade' => true,
),
'board' => array(
'general_board' => array(
'moderate_board' => false,
),
'topic' => array(
'post_new' => false,
'merge_any' => false,
'split_any' => false,
'send_topic' => false,
'make_sticky' => false,
'make_gsticky' => false,
'move' => true,
'lock' => true,
'delete' => true,
'post_reply' => true,
'modify_replies' => false,
'remove_replies' => false,
'announce_topic' => false,
),


THis is waht u need

Thanks for fixing that now I get:

2: Invalid argument supplied for foreach()
File: /home/***/public_html/forums/Sources/ManagePermissions.php
Line: 1150

1148-1153

);

         foreach ($permissionArray as $perm => $has_own_any)
         {
            if (isset($context['group']['id']) && $context['group']['id'] == -1 && in_array($perm, $non_guest_permissions))
               continue;

Is my coding totally messed up or what?
Title: Re: SMF Arcade
Post by: trenchteam on August 06, 2005, 03:21:12 AM
Im using 1.05 of SMF.  Can I use the latest Arcade?
Title: Re: SMF Arcade
Post by: Fiery on August 06, 2005, 03:40:20 AM
Quote from: trenchteam on August 06, 2005, 03:21:12 AM
Im using 1.05 of SMF.  Can I use the latest Arcade?

Dont bother with it... too many errors.  Im going back to older version
Title: Re: SMF Arcade
Post by: nokonium on August 06, 2005, 07:36:38 AM
Quote from: pmp6nl on August 06, 2005, 02:30:32 AM

Thanks for fixing that now I get:

2: Invalid argument supplied for foreach()
File: /home/***/public_html/forums/Sources/ManagePermissions.php
Line: 1150

1148-1153

);

         foreach ($permissionArray as $perm => $has_own_any)
         {
            if (isset($context['group']['id']) && $context['group']['id'] == -1 && in_array($perm, $non_guest_permissions))
               continue;

Is my coding totally messed up or what?


[edited 7 Aug]
I've been trying to sort Arcade out on my test site and I have done it with a manual install of 1.1.3 (following a manual uninstall of 1.2rp. The arcade install creates the problem.

I may be out of my tree here as I cannot code php, but this isn't a WAG.  8)  I took the permissionlist array apart and came to the conclusion that the problem is caused by the 'arcade' array not being part of the 'membergroup' array. Before you install Arcade the 'membergroup' array and the last child array in it, are closed by the  )  ), following the 'profile' array. I have moved the ) from the 'profile' array to follow the 'arcade' array. Thus 'profile' ends ), and 'arcade' ends ) ),   

I can now set all permissions including arcade and arcade permissions can be set for each membergroup.

This is my modified code.

                      'profile' => array(
                                'profile_view' => true,
                                'profile_identity' => true,
                                'profile_extra' => true,
                                'profile_title' => true,
                                'profile_remove' => true,
                                'profile_remote_avatar' => false,
                         
                        ),
                        'arcade' => array(
                                'view_arcade' => false,
                                'play_arcade' => false,
                                'submit_score' => false,
                                'challenge_send' => false,
                                'challenge_view' => false,
                                'admin_arcade' => false,
                        )
                    ),


Now all I have to do is get rid of the 8: Undefined index: version error
Title: Re: SMF Arcade
Post by: nokonium on August 06, 2005, 08:17:00 AM
Quote from: nokonium on August 06, 2005, 07:36:38 AM
.. now all I have to do is get rid of the 8: Undefined index: version error

I may have a handle on this now, I found the answer on SMF Games.

Line 421 in ArcadeAdmin.Template.php is the offender

        echo "<span class=\"smalltext\"><a href=\"http://www.pahajoki.info\">SMF Arcade {$context['arcade']['version']}</a> &copy; Niko Pahajoki 2004-2005</span>";

Replace it with

        echo "<span class=\"smalltext\"><a href=\"http://www.pahajoki.info\">SMF Arcade 1.1.3</a> &copy; Niko Pahajoki 2004-2005</span>";     
Title: Re: SMF Arcade
Post by: AlexHobbs on August 07, 2005, 09:13:07 AM
Hey guys, im back from my holiday
Anyone need help with the arcade?
Tell me and ill try to help  ;)
Title: Re: SMF Arcade
Post by: oldmanwolf on August 07, 2005, 02:08:09 PM
Well, a couple things...  I keep getting errors in my log when guests try to go to the arcade..

8: Undefined index: cannot_play_arcade
File: /home/www/animalrescuecooperation.org/forum/Sources/Security.php
Line: 683

There's other errors, but I can't find them - I had to empty my log since the SMF-Mambo bridge is filling it up with errors too...

Plus my set member permissions page is a little messed up - I have the settings but not the words for the challenges part, and the lines under that are no longer lined up right... 

The challenges thing doesn't seem to work right, so I've got it disabled right now...

Using SMF 1.0.5 and Arcade 1.1.3
Title: Re: SMF Arcade
Post by: greyknight17 on August 07, 2005, 02:18:26 PM
Yay, someone's here to help  ;D

I'm having problems installing the MOD on SMF 1.1 beta 3.  It gives me this failure:
Quote3.     Execute Modification     Sources/Subs.php     Test failed
Quoteso I just stopped installation.  I have tried suggestions from others, like looking for this line:
Quoteif (allowedTo('manage_smileys'))
  $context['admin_areas']['config']['areas']['manage_smileys'] = '<a href="' . $scripturl . '?action=smileys">' . $txt['smileys_manage'] . '</a>';
and adding this after it:
Quoteif (allowedTo('admin_arcade'))
  $context['admin_areas']['config']['areas']['admin_arcade'] = '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>';
It will show me the Arcade button.  But when I run arcade_sql.php or just click on that Arcade link, it will give me a database error (don't have it written down - but I think error 87?).

I tried to do a clean install (no MODS, started SMF from scratch) of Arcade 1.1.3 on SMF 1.1 but it still won't work.  I tried the newest version but it's said that it's not stable on SMF 1.1.

I have high scores that I want to save and move over to this newer version.

Any help would be greatly appreciated.

Thanks.
Title: Re: SMF Arcade
Post by: Col on August 07, 2005, 05:07:41 PM
Quote from: trenchteam on August 06, 2005, 03:21:12 AM
Im using 1.05 of SMF.  Can I use the latest Arcade?

I'm using the latest on smf 1.0.5, but not without some problems. Read my posts on the previous page. - I did get it working.
Title: Re: SMF Arcade
Post by: the mighty gc on August 09, 2005, 12:17:01 AM
im still having trouble letting anyone whos not an admin use this.  ive done everything everyone has said so far, but only admins can play it.  the arcade just doesnt show up in permissions for me to get the baord to allow non admins to play, and i changed everything to true in teh code.  still no luck.  what have i missed?
Title: Re: SMF Arcade
Post by: demon1975 on August 09, 2005, 12:46:18 PM
Database Error
Table 'smf.smf_games_category' doesn't exist
File: /Forum/Sources/ArcadeAdmin.php
Line: 191

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php. 


Thats funny seeing as everything I have is a fresh new install and NO my database is NOT 1. 0.2, so ...what gives? I also noticed that it says my games directory is invalid, no it's not it's right where I told it it was lol aghhhh help  >:(


It's not writing tables why? how do I fix it?

Database Error
Table 'smf.smf_games_category' doesn't exist
File: /Forum/Sources/ArcadeAdmin.php
Line: 299

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php. 

Title: Re: SMF Arcade
Post by: DemonicInfluence on August 09, 2005, 01:00:51 PM
dl the 1.05 upgrade.php. Run it.
Title: Re: SMF Arcade
Post by: demon1975 on August 09, 2005, 02:16:46 PM
already have


also got this error Table 'smf.smf_games_caterogy' doesn't exist
File: /Forum/Sources/Arcade.php
Line: 861

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
and um its category lol not caterogy
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 09, 2005, 02:59:46 PM
phpmyadmin your catergory database to caterogy..
Title: Re: SMF Arcade
Post by: tentronik on August 09, 2005, 03:32:06 PM
Is there a version for 1.1 beta 3p SMF?
I found out the arcade1.1.3 version is compatible but didnt find all files to install.
Anyone has managed to install 1.1. beta 3p yet?
Also there (http://mods.simplemachines.org/index.php?mod=36) is a file called 1.2.1 which is beside uisng same version numbers as SMF a little confusing.

1.  Execute Modification  index.php  Test failed
2. Execute Modification Themes/default/index.template.php File not found
3. Execute Modification Sources/Subs.php File not found
4. Execute Modification Sources/ManagePermissions.php File not found
5. Execute Modification Themes/default/languages/Modifications.english.php File not found
6. Execute Modification Themes/default/Display.template.php File not found
7. Execute Modification Sources/Display.php File not found
Title: Re: SMF Arcade
Post by: tentronik on August 09, 2005, 03:45:58 PM
Ok i saw (http://www.pahajoki.info/index.php?action=arcade) the MOD works with 1.1 beta 3p - anyone has a clue why i get a file not found on the 1st 7 files when i try to install version 1.1.3?
Title: Re: SMF Arcade
Post by: oldmanwolf on August 09, 2005, 03:47:59 PM
It might be easier for you to do a manual install...  There's a lot of quirks with doing this, though..  I think the arcade 1.2.1 works with 1.1 B3...  Just a thought...
Title: Re: SMF Arcade
Post by: tentronik on August 09, 2005, 08:58:28 PM
Install of 1.2.1 works with 1.1 b3p clean install and if you run afterwards the arcade_sql.php from the forum root folder.
Title: Re: SMF Arcade
Post by: tentronik on August 10, 2005, 03:28:34 AM
There is still a flaw with the memberid i saw in the error log.
But the mod works basicly!

Example: robot invasion beta some mod game (http://tinyurl.com/9w5aq)

Title: Re: SMF Arcade
Post by: oldmanwolf on August 10, 2005, 03:49:37 AM
Quote from: tentronik on August 10, 2005, 03:28:34 AM
There is still a flaw with the memberid i saw in the error log.
But the mod works basicly!

Example: robot invasion beta some mod game (http://tinyurl.com/9w5aq)



The memberid issue was answered a couple pages back...  change [id] to ['id'] or something similar...
Title: Re: SMF Arcade
Post by: niko on August 10, 2005, 05:42:39 AM
Damn how hard its to run arcade_sql.php ... maybe i need to automate it :p

1.2.2 added
Title: Re: SMF Arcade
Post by: Champi on August 10, 2005, 08:20:18 AM
Ho, ho... lets solve the problems.. people have spend hours to make this arcade mod.. complaining has no use..

with 1.2.2. all score issues solved niko, also those with the reverse highscores..?

greetz
Title: Re: SMF Arcade
Post by: demon1975 on August 10, 2005, 08:27:29 AM
hmm everything seemed to install ok and work with one minor exception... now it tells me Games directory is invalid
Title: Re: SMF Arcade
Post by: AlexHobbs on August 10, 2005, 09:01:49 AM
In the older versions of the arcade, this was a problem - even if you added the right path it will say invalid and you can't install games, what is happening is the ArcadeAdmin.template.php is a different version to the whole Arcade - make sure all files are the same version
Title: Re: SMF Arcade
Post by: demon1975 on August 10, 2005, 10:39:09 AM
I got the directory situation handled but the heck is this all about? :

An Error Has Occurred!
2: Division by zero
File: /Forum/Sources/Subs.php
Line: 582 
Title: Re: SMF Arcade
Post by: Col on August 10, 2005, 12:42:21 PM
Demon,

You need to add some values in arcade settings. I had the same problem.

http://www.simplemachines.org/community/index.php?topic=29619.1167 and the follwing post.

I've said this before, and I'll say it again: this is a wonderful mod, seriously let down by the lack of documentation. - Please can the opening post to this thread be edited to include a tutorial, and be updated with present issues, and how they might be resolved. :(

The above problem, and an explanation that that the file (that I've forgotten the name of) that has to be executed to start the mod. - Things like this should be explained at the beginning.

Thanks. :-[
Title: Re: SMF Arcade
Post by: johnm on August 10, 2005, 03:52:58 PM
Quote from: Niko on August 10, 2005, 05:42:39 AM
Damn how hard its to run arcade_sql.php ... maybe i need to automate it :p

1.2.2 added

didnt you used to lol!!!
why not have a setting that package manager sets in the db 'needs_to_run_arcade_sql' and when the admin visits arcade it looks for and executes it (and maybe execute it a second time)
Title: Re: SMF Arcade
Post by: johnm on August 10, 2005, 03:55:23 PM
how about a flash tutorial?
Title: Re: SMF Arcade
Post by: Fiery on August 11, 2005, 02:04:57 AM
where are the manual uninstall instructions (for the latest version) ? I cant find them.

thanks
Title: Re: SMF Arcade
Post by: niko on August 11, 2005, 05:23:06 AM
just reverse install ie. replace second with first
Quote from: johnm on August 10, 2005, 03:52:58 PM
didnt you used to lol!!!
why not have a setting that package manager sets in the db 'needs_to_run_arcade_sql' and when the admin visits arcade it looks for and executes it (and maybe execute it a second time)

I did have but dunno where it disappeard

Edit: 1.2.3 is now available, theres only few bug fixes. To update just reupload files... (no need to re-apply)

Title: Re: SMF Arcade
Post by: demon1975 on August 11, 2005, 08:14:46 AM
The mode made my permissions page not work and my members can't play the game only admins, what are the fixes to this?
Title: Re: SMF Arcade
Post by: tentronik on August 11, 2005, 03:19:44 PM
Quote from: johnm on August 10, 2005, 03:55:23 PM
how about a flash tutorial?

Tutorial I - How to synchronize FLASH games with the mambo smf arcade mod,
so the highscores get passed to the arcade mod.

1.
Check your game and get the "score" variable.

2.
At the game over sequence add a button like:
on (release) {
game = "my_freakazoid_game";
score = _root.my_score
getURL("index.php?action=arcade", "_self", "POST");
}


Now change "my_freakazoid_game" to the name of your flash *.swf file.
Then change _root.my_score to your score variable.
If you prefer not to have a button you could just past
game = "my_freakazoid_game";
score = _root.my_score
getURL("index.php?action=arcade", "_self", "POST");

on a keyframe.

And voila - rockzors in the boxors :-p

Title: Re: SMF Arcade
Post by: tentronik on August 11, 2005, 03:21:56 PM
Quote from: demon1975 on August 11, 2005, 08:14:46 AM
The mode made my permissions page not work and my members can't play the game only admins, what are the fixes to this?
Go to the admin panel and click permissions then modify the member permissions.
The arcade mod adds his own permission values to the overall smf permission section.
Title: Re: SMF Arcade
Post by: Aravot on August 11, 2005, 09:22:04 PM
Champion icon gone after upgrade to SMF 1.1b3p and arcade 1.2.3

Was running SMF 1.0.1
Arcade 1.0.3

Today I upgraded to SMF 1.1 beta 3 public and Arcade 1.2.3, now the champion icons under the post count is gone, tried few things but can't get it back any help is appreciated.

thx
Title: Re: SMF Arcade
Post by: Anihc on August 12, 2005, 12:31:32 AM
it looks like the link to the most resent version is broken

1.2.2 and where is the link for 1.2.3? I thought it was updated recently?

I scanned though the thread but must have over looked it if it is there. :(

Anyone have a good link to these?

Thanks,
Anihc
Title: Re: SMF Arcade
Post by: ChaosForce on August 12, 2005, 06:45:27 AM
Got a problem with mine:

Table 'tekhack_smf1.smf_games_caterogy' doesn't exist
File: /home/tekhack/public_html/forum/Sources/ArcadeAdmin.php
Line: 169

Get that when I click on the games link.

I tried running that arcade_sql.php, but i get a 500 internal server error >_>
Title: Re: SMF Arcade
Post by: johnm on August 12, 2005, 09:39:56 AM
chmodd it to 755 and then run it twice
Title: Re: SMF Arcade
Post by: tentronik on August 12, 2005, 12:43:12 PM
Download not working
http://mods.simplemachines.org/index.php?a=download;mod=36;id=9206
Title: Re: SMF Arcade
Post by: Aravot on August 12, 2005, 01:54:35 PM
Link for 1.2.3 is missing? was there yesterday.
Title: Re: SMF Arcade
Post by: tentronik on August 12, 2005, 02:01:05 PM
Do you have a link and i thought the newest is 1.2.2?
Title: Re: SMF Arcade
Post by: Anihc on August 12, 2005, 02:22:27 PM
The link is there but it does not work.

1.2.2 is the latest via a link but a few pages back it was mentioned that 1.2.3 is an update but there is no link on the mod page for that update. I think it was in a post somewhere in this thread but I can't find it.
Title: Re: SMF Arcade
Post by: Aravot on August 12, 2005, 02:27:27 PM
Quote from: Aravot on August 11, 2005, 09:22:04 PM
Champion icon gone after upgrade to SMF 1.1b3p and arcade 1.2.3

Was running SMF 1.0.1
Arcade 1.0.3

Today I upgraded to SMF 1.1 beta 3 public and Arcade 1.2.3, now the champion icons under the post count is gone, tried few things but can't get it back any help is appreciated.

thx

Changing the code in 'Sources/Display.php' from this (arcade v1.2.3)


/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game LIMIT 0,{$modSettings['arcade_champions_in_post']}",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))
{
$ext = array('gif','GIF','png','PNG','jpg','JPG',); // Extensions to look for

$context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default

foreach($ext as $ex){
if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
$context['arcade']['games'][$i]['thumbnail'] = $modSettings['arcade_games_url']."/".$game['game'].".".$ex;
break;
}
}

}
loadLanguage('Arcade'); // We need strings from Arcade language file
$context['arcade']['champions'] = $arcade_champ;


to this solved my issue however I still would like to get it work with the other code since it seems much cleaner.


/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))
{
if(!empty($rivi['game']) && !empty($rivi['member']))
$arcade_champ[$rivi['member']][$rivi['game']] = $rivi;

if(file_exists("./Games/{$rivi['game']}.gif")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.gif";
}
elseif(file_exists("./Games/{$rivi['game']}.GIF")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.GIF";
}
elseif(file_exists("./Games/{$rivi['game']}.png")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.png";
}
elseif(file_exists("./Games/{$rivi['game']}.PNG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.PNG";
}
elseif(file_exists("./Games/{$rivi['game']}.jpg")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.jpg";
}
elseif(file_exists("./Games/{$rivi['game']}.JPG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.JPG";
}
else{
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "";
}

}
loadLanguage('Arcade'); // We need strings from Arcade language file
$context['arcade']['champions'] = $arcade_champ;

Title: Re: SMF Arcade
Post by: tentronik on August 12, 2005, 04:04:42 PM
http://mods.simplemachines.org/index.php?mod=36
Newest version is 1.2.2 and i know that at least 1.2.1 is fine with 1.1 beta 3p after you run the arcade_sql.php and fixing memberid to member (see log).

And the 1.2.2 is currently not accessable.
Title: Re: SMF Arcade
Post by: Aravot on August 12, 2005, 04:19:54 PM
Quote from: tentronik on August 12, 2005, 04:04:42 PM
http://mods.simplemachines.org/index.php?mod=36
Newest version is 1.2.2 and i know that at least 1.2.1 is fine with 1.1 beta 3p after you run the arcade_sql.php and fixing memberid to member (see log).

And the 1.2.2 is currently not accessable.

Are you referring to me, if so what 'memberid' to 'member' are you talking about what log?

I am running arcade v1.2.3
Title: Re: SMF Arcade
Post by: tentronik on August 12, 2005, 05:42:39 PM
Where did you downloaded the 1.2.3 ?
The error log is in admin panel -> forum error log
Title: Re: SMF Arcade
Post by: Col on August 12, 2005, 06:01:41 PM
I'm getting 1000's of these errors in the logs. Everything appears fine, both with the forum, and the games.

8: Undefined variable: i
File: /home/xxxxxx/public_html/community/Sources/Display.php
Line: 551
?topic=477.0


Line 551:

$context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default

What's the problem?

Thanks.
Title: Re: SMF Arcade
Post by: shroomin on August 12, 2005, 07:21:24 PM
Quote from: Col on August 12, 2005, 06:01:41 PM
I'm getting 1000's of these errors in the logs. Everything appears fine, both with the forum, and the games.

8: Undefined variable: i
File: /home/xxxxxx/public_html/community/Sources/Display.php
Line: 551
?topic=477.0


What's the problem?

Thanks.


I have been getting this also... Been searching everywhere for a fix with no luck. I also get

Undefinded variable: Game
Title: Re: SMF Arcade
Post by: tentronik on August 12, 2005, 07:22:48 PM
Which version you are using and where did you downloaded it?
Title: Re: SMF Arcade
Post by: Aravot on August 12, 2005, 07:31:01 PM
Quote from: tentronik on August 12, 2005, 05:42:39 PM
Where did you downloaded the 1.2.3 ?
The error log is in admin panel -> forum error log

I downloaded yesterday from here SMF mod section, don't have any errors related to arcade but than again nobody has played any games yet
Title: Re: SMF Arcade
Post by: shroomin on August 12, 2005, 07:33:35 PM
Quote from: tentronik on August 12, 2005, 07:22:48 PM
Which version you are using and where did you downloaded it?


Current SMF version: SMF 1.0.5
SMFArcade: 1.2.1
I downloaded it through the package manager link.

*edit* I would just try 1.2.2 since it was released recently, but the DL link for it is broken, so a fix for this, or a link to 1.2.2(or 3 whatevers latest atm) that works would be much appreciated.
Title: Re: SMF Arcade
Post by: tentronik on August 12, 2005, 10:07:58 PM
Current SMF version: SMF 1.0.5
SMFArcade: 1.2.1

Not sure but i think 1.0.5 needs 1.1.3 arcade mod :) ?
Title: Re: SMF Arcade
Post by: 1948Pal on August 13, 2005, 12:01:52 AM
When I click on the latest release of this mod to download, I get taken to a white blank screen and nothing happens. Is anyone having the same thing?
Title: Re: SMF Arcade
Post by: Anihc on August 13, 2005, 01:23:02 AM
yeah same problem here, I mentioned it a few posts back along with a few others.

Can anyone that has 1.2.2 and 1.2.3 post a link to their packages folder until someone can fix the links please? I really would like to get this installed.
Title: Re: SMF Arcade
Post by: Col on August 13, 2005, 04:26:40 AM
Quote from: Anihc on August 13, 2005, 01:23:02 AM
yeah same problem here, I mentioned it a few posts back along with a few others.

Can anyone that has 1.2.2 and 1.2.3 post a link to their packages folder until someone can fix the links please? I really would like to get this installed.

Available for download for a few days from here. (http://benzobuddies.org/community/Packages/SMF_Arcade_1.2.3.zip)

Uknown posted the easy fix for now, 'Well, you can probably comment out the line since it's clearly not doing what it should...'.

Works for me! :D


Title: Re: SMF Arcade
Post by: tentronik on August 13, 2005, 05:26:37 AM
Thank You!

I just installed the mod and all template related files didnt got installed so i opend the arcade.xml and changed them manually.
Now all seems to work.

I wonder about the arcade2.xml what is the diffrence?

Title: Re: SMF Arcade
Post by: Col on August 13, 2005, 09:56:38 AM
Update: I've had to comment out the whole block. There were at least two other errors being generated by that code. I've about 25,000 errors generated by that block of code in the past two days, and that's just with my account. I guess I should have done that anyway. I was wondering why championship titles weren't being displayed, not that I wanted them. :D

I will have to check just how much space all the errors are taking up. It must be huge when I take it across the whole membership! :(
Title: Re: SMF Arcade
Post by: trenchteam on August 13, 2005, 11:28:23 AM
So Im using 1.05 of SMF.  Can I uninstall Arcade 1.13 then install 1.2.3  Will it work on SMF 1.05? ???
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 13, 2005, 11:49:26 AM
I don't think so...
Title: Re: SMF Arcade
Post by: Col on August 13, 2005, 11:56:02 AM
Quote from: Col on August 13, 2005, 09:56:38 AMI will have to check just how much space all the errors are taking up. It must be huge when I take it across the whole membership! :(

I've checked, and errors account for 32MB of space, and most of that was generated in a little over 24 hours. That would use up all my disc space resources within a month. Anyone using this (version 1.2.3) should comment out or remove the code that the arcade mod adds to display.php if you don't want run out of resources!

I don't know if this problem exists in other versions of the arcade, but commenting out does stop all the errors.

Trenchteam, apart from this issue, 1.2.3 works with 1.0.5. My members are loving it.
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 13, 2005, 12:04:36 PM
in 1.1 there are no errors...
Title: Re: SMF Arcade
Post by: tentronik on August 13, 2005, 12:54:56 PM
What you mean with commenting out?
When yoiu get the error?

Which error, please post hall message.

Cheetah!
Title: Re: SMF Arcade
Post by: Anihc on August 13, 2005, 02:04:55 PM
I just installed 1.2.3 on my 1.1b3 forum and well.....

1. I had to manually change the files as Niko has stated they may not update using package manager.
2. I had to upload the g3tid3 folder as it also did not install (along with various package files most but not all).
3. Now I have it installed but it don't do nuttin!

A. If I click the games link it takes me to the exact page as the arcade link in the admin panel. (and you must be logged in to     
    get to either.
B. There is no arcade admin panel to speak of, both links takes you to a news page that has the following info:

Arcade
| | | | |  <-this appears to be where I would hit the links for the various pages of games.
SMFArcade 1.2.3 Released @ August 10, 2005, 11:15:17 AM
First bad news - school is gonna start next week so there wont be large releases soon... i hope you understand
This wont mean that there wont be any, but i dont have much time to do...

New version can be dled from here.
I hope this works better than prevovious releases.

See ya
By: niko
Read
Mkarcade - release @ August 10, 2005, 01:05:28 AM

Champions @ August 04, 2005, 10:22:43 AM

MKarcade @ August 04, 2005, 10:20:51 AM

MkArcade Beta1 @ July 27, 2005, 01:10:49 AM

Live support when available @ July 19, 2005, 02:36:44 AM

Theme changed @ July 19, 2005, 02:29:46 AM

My Absence @ July 13, 2005, 08:53:05 PM

Java/css Menu added @ July 11, 2005, 10:51:14 PM

Support system upgraded @ July 07, 2005, 02:43:29 PM

And users get this error:
An Error Has Occurred!

Arcade Have Been Disabled Automatically before performing update 

and yes I ran the sql file:
SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 72 tables in database

Updating champions table
All queries done, there were no errors

I am at a total loss as to what to do now  :'(
www.thinkingblock.com/smf
Title: Re: SMF Arcade
Post by: nokonium on August 13, 2005, 02:15:37 PM
Personally I'm doing diddly squat until this thread ceases to be one of the most active SMF threads.
Title: Re: SMF Arcade
Post by: niko on August 13, 2005, 02:22:20 PM
Quote from: Anihc on August 13, 2005, 02:04:55 PM
I just installed 1.2.3 on my 1.1b3 forum and well.....

1. I had to manually change the files as Niko has stated they may not update using package manager.
2. I had to upload the g3tid3 folder as it also did not install (along with various package files most but not all).
3. Now I have it installed but it don't do nuttin!

A. If I click the games link it takes me to the exact page as the arcade link in the admin panel. (and you must be logged in to     
    get to either.
B. There is no arcade admin panel to speak of, both links takes you to a news page that has the following info:

Arcade
| | | | |  <-this appears to be where I would hit the links for the various pages of games.
SMFArcade 1.2.3 Released @ August 10, 2005, 11:15:17 AM
First bad news - school is gonna start next week so there wont be large releases soon... i hope you understand
This wont mean that there wont be any, but i dont have much time to do...

New version can be dled from here.
I hope this works better than prevovious releases.

See ya
By: niko
Read
Mkarcade - release @ August 10, 2005, 01:05:28 AM

Champions @ August 04, 2005, 10:22:43 AM

MKarcade @ August 04, 2005, 10:20:51 AM

MkArcade Beta1 @ July 27, 2005, 01:10:49 AM

Live support when available @ July 19, 2005, 02:36:44 AM

Theme changed @ July 19, 2005, 02:29:46 AM

My Absence @ July 13, 2005, 08:53:05 PM

Java/css Menu added @ July 11, 2005, 10:51:14 PM

Support system upgraded @ July 07, 2005, 02:43:29 PM

And users get this error:
An Error Has Occurred!

Arcade Have Been Disabled Automatically before performing update 

and yes I ran the sql file:
SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 72 tables in database

Updating champions table
All queries done, there were no errors

I am at a total loss as to what to do now  :'(
www.thinkingblock.com/smf

You need to enable it from arcade admin
Title: Re: SMF Arcade
Post by: Anihc on August 13, 2005, 03:05:23 PM
yeah seems the problem was I could not get access to all of the admin section lol. I fiddled some more and walla!!!!

Ok so all in all package installer does not work so well with it but I was able to get it working. I uninstalled it via package installer then re-installed it once more, THEN I manually went in and uploaded some of the files again.

My suggestion is to just avoid package installer all together for this, I was really not that hard to follow the arcade2.xml for the 1.1b3 install. And it would have saved me a bunch of time messing with it all like I did.

nice to know this does work with 1.1b3 now :)

Hey Niko did you fix the link in the mod to the correct versions by chance? nm I just checked it and looks like you did :)

Thanks :)
Title: Re: SMF Arcade
Post by: tentronik on August 13, 2005, 03:12:07 PM
@Niko
What is the diffrence of arcade.xml and arcade2.xml?
Sorry if this got answered somewhere else already.

Btw i really liek this mod its sisu!
Title: Re: SMF Arcade
Post by: nokonium on August 13, 2005, 03:47:34 PM
I really like this mod, my members really like this mod, but I have to fix the crap that comes with it ....
Title: Re: SMF Arcade
Post by: Fiery on August 13, 2005, 06:50:18 PM
Hey!

The arcade is causing to many problems for me.  I want to delete it manually, but I am not sure what I have to modify in the files... I got these errors when I tried to do the auto uninstall:

Sources/ManagePermissions.php Failure

Themes/default/Display.template.php Failure

What do I need to modify to fix the permissions problem, I cant access the permissions.

THANKS
Title: Re: SMF Arcade
Post by: tentronik on August 13, 2005, 07:25:25 PM
Make a backup and reupload the file from the original release. If you have modified it for other mods you have to check the file or open the *.xml files to see which parts got added.
Also im not sure about the database tables you might delete them manually too if you want.

The mod works but has installation issues so you need to manually fix stuff.
Title: Re: SMF Arcade
Post by: Anihc on August 13, 2005, 07:26:04 PM
QuotePosted by: tentronik Posted on: Today at 03:12:07 PM  
Insert Quote
@Niko
What is the diffrence of arcade.xml and arcade2.xml?
Sorry if this got answered somewhere else already.

Correct me if I am wrong but if you you open them up they should say what board version they are intended to mod. I believe arcade2.xml is the one for 1.1b3 at least that is the one I used for it anyway.

GL,
Anihc
Title: SMF Arcade INSTALL
Post by: tentronik on August 13, 2005, 07:30:46 PM
Both states
<version>1.2.1</version>
I noticed i have 2 errors left both in display.php unknown i and game variable. i check now if its works with the arcade2.xml :)
Looks liek at least the Sources/Display.php need the arcade2.xml

Title: Re: SMF Arcade
Post by: Anihc on August 13, 2005, 07:40:07 PM
oops sorry, did this this morning so I forgot where I saw the info.

I saw this following code in the package info xml file and well assumed (I think I made the right assumption) that is what it was saying.

<?xml version="1.0" ?>
  <!DOCTYPE package-info (View Source for full doctype...)>
- <package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
  <id>Niko:Arcade</id>
  <name>SMF Arcade</name>
  <version>1.2.1</version>
  <type>modification</type>
- <install for="1.1 Beta 1 - 1.1 Beta 3 Public">
  <readme type="file">Documents/readme.txt</readme>
  <modification type="file" reverse="false" format="xml">arcade2.xml</modification>
  <require-dir name="getid3" destination="$boarddir" />
  <require-dir name="Games" destination="$boarddir" />
  <require-file name="arcade_sql.php" destination="$boarddir" />
  <require-dir name="Sources" destination="$boarddir" />
  <require-file name="Themes/default/Arcade.template.php" destination="$themedir" />
  <require-file name="Themes/default/ArcadeAdmin.template.php" destination="$themedir" />
  <require-file name="Themes/default/images/english/games.gif" destination="$themedir/images/english" />
  <require-file name="Themes/default/languages/Arcade.english.php" destination="$themedir/languages" />
  <require-file name="Themes/default/languages/Arcade.finnish.php" destination="$themedir/languages" />
  </install>
- <install>
  <readme type="file">Documents/readme.txt</readme>
  <modification type="file" reverse="false" format="xml">arcade.xml</modification>
  <require-dir name="getid3" destination="$boarddir" />
  <require-dir name="Games" destination="$boarddir" />
  <require-file name="arcade_sql.php" destination="$boarddir" />
  <require-dir name="Sources" destination="$boarddir" />
  <require-file name="Themes/default/Arcade.template.php" destination="$themedir" />
  <require-file name="Themes/default/ArcadeAdmin.template.php" destination="$themedir" />
  <require-file name="Themes/default/images/english/games.gif" destination="$themedir/images/english" />
  <require-file name="Themes/default/languages/Arcade.english.php" destination="$themedir/languages" />
  <require-file name="Themes/default/languages/Arcade.finnish.php" destination="$themedir/languages" />
  </install>

Looks like two seperate installers to me.
I really don't know xml code well enough and it is not exactly an if statment but sounded good to me lol. :)

Anihc
Title: Re: SMF Arcade
Post by: Fiery on August 13, 2005, 07:41:28 PM
Quote from: tentronik on August 13, 2005, 07:25:25 PM
Make a backup and reupload the file from the original release. If you have modified it for other mods you have to check the file or open the *.xml files to see which parts got added.
Also im not sure about the database tables you might delete them manually too if you want.

The mod works but has installation issues so you need to manually fix stuff.


Is there any other way.  Everytime I try to reupload the original file, in PHP myadmin it causes errors.

thanks
Title: SMF Arcade HOWTO INSTALL MANUAL 1.2.3 under 1.1.3bp
Post by: tentronik on August 13, 2005, 07:58:13 PM
HOWTO INSTALL MOD under 1.1 beta 3 p with version 1.2.3:

This information is taken from the arcade2.xml from the 1.2.3 release.
Also i suggest after install success and applying all and checking afterwards the forum error log - when then there are no errors delete the file arcade_sql.php from your forum root directory.

1.)
Download the 1.2.3 rlease from page 82 of this topic. Or check the offical mod download page here at simple machines.

2.)
GO to your forum packagmanger and click download -> then upload from your harddisc.

3.)
Now you might see a "failed file" on all default theme stuff as i encountered.

if so proceed with 3.1.)

3.1.) the manual way
3.1.1.)
Open file: forum/index.php

Hit F3 or STRG-F and search for: 'admin' => array('Admin.php', 'Admin')

After this past: 'arcade' => array('Arcade.php','Arcade'),
'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),

3.1.2.)
Open file: forum/Themes/YOURTHEME/index.template.php

Hit F3 or STRG-F and search for: 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'];]]>


After this past: 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'];]]>

3.1.3.)
Open file: Sources/Subs.php

Hit F3 or STRG-F and search for: 'edit_mods_settings' => '<a href="' . $scripturl . '?action=modifyModSettings">' . $txt['modSettings_title']

After this past: 'admin_arcade' => '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>',]]>

3.1.4.)
Open file: Sources/ManagePermissions.php

Hit F3 or STRG-F and search for: 'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => false,
)


After this past: 'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),

3.1.5.)
Open file: Themes/default/languages/Modifications.english.php

Hit F3 or STRG-F and search for: last line or where you prefer.

And this past: $txt['permissiongroup_arcade'] = "Arcade";
$txt['cannot_view_arcade'] = "You arent allowed to view arcade, sorry!";
$txt['permissionhelp_view_arcade'] = "Allow this if you want this group to access arcade";
$txt['permissionname_view_arcade'] = "Can view arcade (main)";
$txt['cannot_arcade_play_arcade'] = "You arent allowed to play on arcade, sorry!";
$txt['permissionhelp_play_arcade'] = "Allow this if you want this group to play in arcade";
$txt['permissionname_play_arcade'] = "Can play in arcade";
$txt['cannot_submit_score'] = "You arent allowed to submit scores on arcade, sorry!";
$txt['permissionhelp_submit_score'] = "Allow this if you want ALLOW this group to submit scores in arcade";
$txt['permissionname_submit_score'] = "Can Submit scores in arcade";
$txt['arcade_highscores_per_page'] = "Highscores per page in arcade";
$txt['admin_arcade'] = "Arcade";
$txt['admin_arcade2'] = "Arcade Admin";
$txt['cannot_admin_arcade'] = "You arent allowed to Admin Arcade!";
$txt['permissionname_admin_arcade'] = "Can Admin Arcade";
$txt['cannot_challenge_send'] = "You arent allowed to send challenges arcade, sorry!";
$txt['permissionhelp_challenge_send'] = "Allow this if you want this group to send challenges arcade";
$txt['permissionname_challenge_send'] = "Can send challenges";
$txt['cannot_challenge_view'] = "You arent allowed to view challenges arcade, sorry!";
$txt['permissionhelp_challenge_view'] = "Allow this if you want this group to view challenges arcade";
$txt['permissionname_challenge_view'] = "Can view challenges";


3.1.6)
Open file: Themes/default/Display.template.php

Hit F3 or STRG-F and search for: ', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';


After this past: if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}

3.1.7.)
Open file: Sources/Display.php

Hit F3 or STRG-F and search for: $attachments = array();

After this past: /* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game LIMIT 0,{$modSettings['arcade_champions_in_post']}",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))
{
$ext = array('gif','GIF','png','PNG','jpg','JPG',); // Extensions to look for

$context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default

foreach($ext as $ex){
if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
$context['arcade']['games'][$i]['thumbnail'] = $modSettings['arcade_games_url']."/".$game['game'].".".$ex;
break;
}
}

}
loadLanguage('Arcade'); // We need strings from Arcade language file
$context['arcade']['champions'] = $arcade_champ;


Ok basicly make a backup before applying this changes (without garanty i hope all is correct).
Also remember to enable the mod itself after install inside the "arcade settings" and apply the permission for this mod at the admin panel -> permission.

I hope this helps and feel free to correct me or add something. And Niko if you like to use this go ahead :)

Cheers
Title: Re: SMF Arcade
Post by: Anihc on August 13, 2005, 08:11:11 PM
DOH! Tetronik beat me to it but this may look more simple ;-) but same info really:

Mini tutorial to install this mod - Seriously dont remove it if you want it. This should work, I know because I had my own doubts :)

1. DL the file and extract it into a new folder.
2. Open the xml that relates to your board version (see my post above) This shows you what files to modify.
3. package_info.xml will show you where some files and folders belong upload those as required
4. custom game folder - I uploaded to the smf root as a folder of its own
5. under sources upload those files to smf/Sources
6. under themes upload those files to themes
7. upload the two php files in the root to the smf root folder
8 create a Games folder in the smf root
9 I uploaded the documents into a documents folder in the smf root (I dont think this is required)
10 upload getid3 folder into a getid3 folder off the smf root
11 under misc - I think these are just where the package handler looks for some info to mod? the two language files are just a partial file and the index template looks more complete but would overide any of your current mod customization so I ignored these.
12 run www.yoursite/sml/arcade_sql.php and you should then be abe to use the admin panel.
13 grab a drink and relax after that effort you deserve it :)

GL
Anihc
Title: Re: SMF Arcade HOWTO INSTALL MANUAL 1.2.3 under 1.1.3bp
Post by: Fiery on August 13, 2005, 08:15:19 PM
Quote from: tentronik on August 13, 2005, 07:58:13 PM


After this past: 'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),



Arent there suppose to be two ), at the end; such as:


'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),


),
Title: Re: SMF Arcade
Post by: tentronik on August 13, 2005, 08:17:34 PM
:-p

OK!
But yours is just suitable when you have a fresh smf forum instalation done.
Otherwise you would overwrite all other modifications (mods).

Cheers  btw rightnow i have very delicious black tea :)

tetronik

@pmp6nl no its just 1 - do you encounter managepermissions errors in your forum error log?
Title: Re: SMF Arcade
Post by: tentronik on August 13, 2005, 08:32:44 PM
Ok i checked my error log again and still this error.
I tried both arcade.xml code and the arcade2.xml code.
8: Undefined variable: game
/customers/xxxxe/httpd.www/bbs/Sources/Display.php
Line: 675

8: Undefined variable: i
/customers/xxxxe/httpd.www/bbs/Sources/Display.php
Line: 672


If some1 has a fix please post, thanks.
Beside that all seems to work, but i dont like error messages.
Title: Re: SMF Arcade
Post by: Anihc on August 13, 2005, 09:06:11 PM
I think it would be ok on an allready moded board the files inside sources and themes included with this mod are arcade specific the only files that looked like they would overwite existing smf files are the ones in misc. And I did not upload those they looked like something the package handler might use to compare and update the sections from? not sure about that folder but the rest of the files seem to be mod specific and the other instructions are edits. So I think this would be a safe way to go about it.

could Niko perhaps confirm this?

Thanks and Cheers,
Anihc
Title: Re: SMF Arcade
Post by: Fiery on August 13, 2005, 09:07:36 PM
Quote from: tentronik on August 13, 2005, 08:17:34 PM

@pmp6nl no its just 1 - do you encounter managepermissions errors in your forum error log?

Yes I am getting hundreds of error messages.

Also, the manage permissions still does not work.  Can you post yours on here or something, so I can look it over?

Thanks
Title: Re: SMF Arcade
Post by: 1stStrike on August 13, 2005, 09:23:12 PM
In the admin menu when I try to go to "arcade" and edit it I get the following error:

Unable to load the 'ArcadeAdmin' template.

Any idea what the problem might be?
Title: Re: SMF Arcade
Post by: tentronik on August 13, 2005, 09:27:50 PM
Quote from: pmp6nl on August 13, 2005, 09:07:36 PM
Quote from: tentronik on August 13, 2005, 08:17:34 PM

@pmp6nl no its just 1 - do you encounter managepermissions errors in your forum error log?

Yes I am getting hundreds of error messages.

Also, the manage permissions still does not work.  Can you post yours on here or something, so I can look it over?

Thanks

'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),

Thats it what i added nothing else.
Quote from: 1stStrike on August 13, 2005, 09:23:12 PM
In the admin menu when I try to go to "arcade" and edit it I get the following error:

Unable to load the 'ArcadeAdmin' template.

Any idea what the problem might be?
Right version? And did you tried the arcade_sql.php yet to check the database.
And what does the forum error log showing?
Title: Re: SMF Arcade
Post by: Fiery on August 13, 2005, 09:29:52 PM
Quote from: tentronik on August 13, 2005, 09:27:50 PM
Quote from: pmp6nl on August 13, 2005, 09:07:36 PM
Quote from: tentronik on August 13, 2005, 08:17:34 PM

@pmp6nl no its just 1 - do you encounter managepermissions errors in your forum error log?

Yes I am getting hundreds of error messages.

Also, the manage permissions still does not work.  Can you post yours on here or something, so I can look it over?

Thanks

'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),

Thats it what i added nothing else.
Quote from: 1stStrike on August 13, 2005, 09:23:12 PM
In the admin menu when I try to go to "arcade" and edit it I get the following error:

Unable to load the 'ArcadeAdmin' template.

Any idea what the problem might be?
Right version? And did you tried the arcade_sql.php yet to check the database.
And what does the forum error log showing?

NO, I got that and thats not the problem.  There is some other problem with my permissions file and I was just looking for a normal one so I could try to figure out my problem
Title: Re: SMF Arcade
Post by: tentronik on August 13, 2005, 09:32:23 PM
Its just the file is 48kb huge, so please try uploading a fresh one with the modifications.
If you cant make it pm me your email i sent it to you then.

Title: Re: SMF Arcade
Post by: Fiery on August 13, 2005, 09:44:10 PM
I uploaded the file, I am looking where the error shows up and comparing it to the original and there seems to be no difference in the area...what to do?

Do you see any errors in the area:

                        ),
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),


'visual_warn' => array(
'visual_warn_any' => false,
'visual_approve_any' => false,
),
'arcade' => array(
'view_arcade' => true,
'play_arcade' => true,
'submit_score' => true,
'challenge_send' => true,
'challenge_view' => true,
'admin_arcade' => true,
),
'board' => array(
'general_board' => array(
'moderate_board' => false,
),
'topic' => array(
'post_new' => false,
'merge_any' => false,
'split_any' => false,
'send_topic' => false,
'make_sticky' => false,
'make_gsticky' => false,
'move' => true,
'lock' => true,
'delete' => true,
'post_reply' => true,
'modify_replies' => false,
'remove_replies' => false,
'announce_topic' => false,
),
'post' => array(
'remove' => true,
'modify' => true,
'report_any' => false,
),
'poll' => array(
'poll_view' => false,
'poll_vote' => false,
'poll_post' => false,
'poll_add' => true,
'poll_edit' => true,
'poll_lock' => true,
'poll_remove' => true,
),
'notification' => array(
'mark_any_notify' => false,
'mark_notify' => false,
),
'attachment' => array(
'view_attachments' => false,
'post_attachment' => false,
)
)
);

// This is just a helpful array of permissions guests... cannot have.
$non_guest_permissions = array(
'karma_edit',
'pm_read',
'pm_send',
'profile_identity',
'profile_extra',
'profile_title',
'profile_remove',
'profile_remote_avatar',
'poll_vote',
'mark_any_notify',
'mark_notify',
);


The error is on the line with the );

the error is

Parse error: parse error, unexpected ';', expecting ')' in /home/***/public_html/forums/Sources/ManagePermissions.php on line 1100
Title: Re: SMF Arcade
Post by: tentronik on August 13, 2005, 09:49:38 PM
So please you didnt answered this yet.
Which version you using of SMF and which version of the mod you try to install?
Then just past the arcade array behind the array as i posted in the howto.
If you post parts of the script please post all relevant pasrt. This is the function before and a few lines after the script where you trieng to implement the additions.

And if you get errors please post the error message completely as found in your error log.

UPDATE:
The line 1100 is not correspondenting with mine managa permissions file.
How big in filesize is your file?

And did you checked if its right place?
Do you used the right untouched original script ?
Title: Re: SMF Arcade
Post by: Fiery on August 13, 2005, 09:56:17 PM
Quote from: tentronik on August 13, 2005, 09:49:38 PM
So please you didnt answered this yet.
Which version you using of SMF and which version of the mod you try to install?
Then just past the arcade array behind the array as i posted in the howto.
If you post parts of the script please post all relevant pasrt. This is the function before and a few lines after the script where you trieng to implement the additions.

And if you get errors please post the error message completely as found in your error log.

UPDATE:
The line 1100 is not correspondenting with mine managa permissions file.
How big in filesize is your file?

And did you checked if its right place?
Do you used the right untouched original script ?


I am not worried about the errors in the error log.  I am worried about trying to get access to the permissions section.  I am running SMF 1.0.5, Arcade 1.2.3

I downloaded and compared it to the SMF 1.0.5 manage permissions file (the original non modified version)


That is my entire permissions section:

<?php
/******************************************************************************
* ManagePermissions.php                                                       *
*******************************************************************************
* SMF: Simple Machines Forum                                                  *
* Open-Source Project Inspired by Zef Hemel ([email protected])                *
* =========================================================================== *
* Software Version:           SMF 1.0                                         *
* Software by:                Simple Machines (http://www.simplemachines.org) *
* Copyright 2001-2004 by:     Lewis Media (http://www.lewismedia.com)         *
* Support, News, Updates at:  http://www.simplemachines.org                   *
*******************************************************************************
* This program is free software; you may redistribute it and/or modify it     *
* under the terms of the provided license as published by Lewis Media.        *
*                                                                             *
* This program is distributed in the hope that it is and will be useful,      *
* but WITHOUT ANY WARRANTIES; without even any implied warranty of            *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                        *
*                                                                             *
* See the "license.txt" file for details of the Simple Machines license.      *
* The latest version can always be found at http://www.simplemachines.org.    *
******************************************************************************/
if (!defined('SMF'))
die('Hacking attempt...');

// Function for displaying all members with specific permissions;
function SpecificPermissions()
{
global $context$txt$db_prefix$scripturl;

$context['sub_template'] = 'member_specific';
$context['page_title'] = $txt['permission_bymember'];

$context['permissions'] = array();

// Get all the counts for allow permissions
$request db_query("
SELECT COUNT(mp.permission) AS allow, mp.ID_MEMBER, mem.realName
FROM 
{$db_prefix}member_permissions AS mp
LEFT JOIN 
{$db_prefix}members AS mem ON (mem.ID_MEMBER = mp.ID_MEMBER)
WHERE mp.addDeny = 1
GROUP BY mp.ID_MEMBER"
__FILE____LINE__);
while ($row mysql_fetch_assoc($request))
$context['permissions'][$row['ID_MEMBER']] = array(
'name' => '<a href="' $scripturl '?action=profile;u=' $row['ID_MEMBER'] . '">' $row['realName'] . '</a>',
'link' => '<a href="' $scripturl '?action=profile;u=' $row['ID_MEMBER'] . ';sa=showPermissions">' $txt['permissions_modify'] . '</a>',
'deny' => 0,
'allow' => $row['allow']
);
mysql_free_result($request);

// Same again but for deny!
$request db_query("
SELECT COUNT(mp.permission) AS deny, mp.ID_MEMBER, mem.realName
FROM 
{$db_prefix}member_permissions AS mp
LEFT JOIN 
{$db_prefix}members AS mem ON (mem.ID_MEMBER = mp.ID_MEMBER)
WHERE mp.addDeny = 0
GROUP BY mp.ID_MEMBER"
__FILE____LINE__);
while ($row mysql_fetch_assoc($request))
{
if (!isset($context['permissions'][$row['ID_MEMBER']]))
$context['permissions'][$row['ID_MEMBER']] = array(
'name' => '<a href="' $scripturl '?action=profile;u=' $row['ID_MEMBER'] . '">' $row['realName'] . '</a>',
'link' => '<a href="' $scripturl '?action=profile;u=' $row['ID_MEMBER'] . ';sa=showPermissions">' $txt['permissions_modify'] . '</a>',
'deny' => $row['deny'],
'allow' => 0
);
else
$context['permissions'][$row['ID_MEMBER']]['deny'] = $row['deny'];
}
mysql_free_result($request);

obExit();
}
function 
ModifyPermissions()
{
isAllowedTo('manage_permissions');

adminIndex('edit_permissions');

loadTemplate('ManagePermissions');
loadLanguage('ManagePermissions');

$subActions = array(
'quick' => 'SetQuickGroups',
'mspecific' => 'SpecificPermissions',
'quickboard' => 'SetQuickBoards',
'modify' => 'ModifyMembergroup',
'modify2' => 'ModifyMembergroup2',
'switch' => 'SwitchBoard',
);

if (isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]))
{
$sa $subActions[$_REQUEST['sa']];
unset($subActions);

$sa();
}
else
PermissionIndex();
}

function 
PermissionIndex()
{
global $db_prefix$txt$scripturl$context$settings;

$context['page_title'] = $txt['permissions_title'];

// Load all the permissions. We'll need them in the template.
loadAllPermissions();

// Determine the number of ungrouped members.
$request db_query("
SELECT COUNT(ID_MEMBER)
FROM 
{$db_prefix}members
WHERE ID_GROUP = 0"
__FILE____LINE__);
list ($num_members) = mysql_fetch_row($request);
mysql_free_result($request);

// Fill the context variable with 'Guests' and 'Ungrouped Members'.
$context['groups'] = array(
-=> array(
'id' => -1,
'name' => $txt['membergroups_guests'],
'num_members' => $txt['membergroups_guests_na'],
'allow_delete' => false,
'allow_modify' => true,
'can_search' => false,
'href' => '',
'link' => '',
'is_post_group' => false,
'color' => '',
'stars' => '',
'num_permissions' => array(
'allowed' => 0,
'denied' => 0
),
'access' => false
),
=> array(
'id' => 0,
'name' => $txt['membergroups_members'],
'num_members' => $num_members,
'allow_delete' => false,
'allow_modify' => true,
'can_search' => true,
'href' => $scripturl '?action=viewmembers;sa=query;params=' base64_encode('ID_GROUP = 0'),
'link' => '<a href="' $scripturl '?action=viewmembers;sa=query;params=' base64_encode('ID_GROUP = 0') . '">' $num_members '</a>',
'is_post_group' => false,
'color' => '',
'stars' => '',
'num_permissions' => array(
'allowed' => 0,
'denied' => 0
),
'access' => false
),
);

// Query the database defined membergroups.
$query db_query("
SELECT mg.ID_GROUP, mg.groupName, mg.minPosts, mg.onlineColor, mg.stars, COUNT(mem.ID_MEMBER) AS num_members
FROM 
{$db_prefix}membergroups AS mg
LEFT JOIN 
{$db_prefix}members AS mem ON (mem.ID_GROUP = mg.ID_GROUP OR FIND_IN_SET(mg.ID_GROUP, mem.additionalGroups) OR mg.ID_GROUP = mem.ID_POST_GROUP)
GROUP BY mg.ID_GROUP
ORDER BY mg.minPosts, IF(mg.ID_GROUP < 4, mg.ID_GROUP, 4), mg.groupName"
__FILE____LINE__);
while ($row mysql_fetch_assoc($query))
{
$row['stars'] = explode('#'$row['stars']);
$context['groups'][$row['ID_GROUP']] = array(
'id' => $row['ID_GROUP'],
'name' => $row['groupName'],
'num_members' => $row['ID_GROUP'] != $row['num_members'] : $txt['membergroups_guests_na'],
'allow_delete' => $row['ID_GROUP'] > 4,
'allow_modify' => $row['ID_GROUP'] > 1,
'can_search' => $row['ID_GROUP'] != 3,
'href' => $scripturl '?action=viewmembers;sa=query;params=' base64_encode($row['minPosts'] == -"ID_GROUP = $row[ID_GROUP] OR FIND_IN_SET($row[ID_GROUP], additionalGroups)" "ID_POST_GROUP = $row[ID_GROUP]"),
'link' => '<a href="' $scripturl '?action=viewmembers;sa=query;params=' base64_encode($row['minPosts'] == -"ID_GROUP = $row[ID_GROUP] OR FIND_IN_SET($row[ID_GROUP], additionalGroups)" "ID_POST_GROUP = $row[ID_GROUP]") . '">' $row['num_members'] . '</a>',
'is_post_group' => $row['minPosts'] != -1,
'color' => empty($row['onlineColor']) ? '' $row['onlineColor'],
'stars' => !empty($row['stars'][0]) && !empty($row['stars'][1]) ? str_repeat('<img src="' $settings['images_url'] . '/' $row['stars'][1] . '" alt="*" border="0" />'$row['stars'][0]) : '',
'num_permissions' => array(
'allowed' => $row['ID_GROUP'] == '(' $txt['permissions_all'] . ')' 0,
'denied' => $row['ID_GROUP'] == '(' $txt['permissions_none'] . ')' 0
),
'access' => false
);
}
mysql_free_result($query);

$board_groups = array();
foreach ($context['groups'] as $group)
if ($group['allow_modify'])
$board_groups[$group['id']] = array(
'id' => &$group['id'],
'name' => &$group['name'],
'num_permissions' => array(
'allowed' => 0,
'denied' => 0
),
);

if (empty($_REQUEST['boardid']))
{
$request db_query("
SELECT b.ID_BOARD, b.name, COUNT(mods.ID_MEMBER) AS moderators, b.memberGroups, b.use_local_permissions, b.childLevel
FROM 
{$db_prefix}boards AS b, {$db_prefix}categories AS c
LEFT JOIN 
{$db_prefix}moderators AS mods ON (mods.ID_BOARD = b.ID_BOARD)
WHERE c.ID_CAT = b.ID_CAT
GROUP BY b.ID_BOARD
ORDER BY c.catOrder, b.boardOrder"
__FILE____LINE__);
$context['boards'] = array();
while ($row mysql_fetch_assoc($request))
{
$row['memberGroups'] = explode(','$row['memberGroups']);
$context['boards'][$row['ID_BOARD']] = array(
'id' => $row['ID_BOARD'],
'child_level' => $row['childLevel'],
'name' => $row['name'],
'num_moderators' => $row['moderators'],
'public' => in_array(0$row['memberGroups']) || in_array(-1$row['memberGroups']),
'membergroups' => $row['memberGroups'],
'use_local_permissions' => $row['use_local_permissions'] == 1,
'groups' => $board_groups
);
}
mysql_free_result($request);

$request db_query("
SELECT ID_GROUP, COUNT(permission) AS numPermissions, addDeny
FROM 
{$db_prefix}permissions
GROUP BY ID_GROUP, addDeny"
__FILE____LINE__);
while ($row mysql_fetch_assoc($request))
if (isset($context['groups'][(int) $row['ID_GROUP']]))
$context['groups'][(int) $row['ID_GROUP']]['num_permissions'][empty($row['addDeny']) ? 'denied' 'allowed'] = $row['numPermissions'];
mysql_free_result($request);

$request db_query("
SELECT ID_BOARD, ID_GROUP, COUNT(permission) AS numPermissions, addDeny
FROM 
{$db_prefix}board_permissions
GROUP BY ID_BOARD, ID_GROUP, addDeny"
__FILE____LINE__);
while ($row mysql_fetch_assoc($request))
{
if ($row['ID_BOARD'] == 0)
{
if (isset($context['groups'][(int) $row['ID_GROUP']]))
$context['groups'][(int) $row['ID_GROUP']]['num_permissions'][empty($row['addDeny']) ? 'denied' 'allowed'] += $row['numPermissions'];
}
elseif (isset($context['boards'][$row['ID_BOARD']]) && isset($context['boards'][$row['ID_BOARD']]['groups'][(int) $row['ID_GROUP']]))
$context['boards'][$row['ID_BOARD']]['groups'][(int) $row['ID_GROUP']]['num_permissions'][empty($row['addDeny']) ? 'denied' 'allowed'] = $row['numPermissions'];
}
mysql_free_result($request);
}
else
{
$_REQUEST['boardid'] = (int) $_REQUEST['boardid'];

$request db_query("
SELECT ID_BOARD, ID_GROUP, COUNT(permission) AS numPermissions, addDeny
FROM 
{$db_prefix}board_permissions
WHERE ID_BOARD = 
$_REQUEST[boardid]
GROUP BY ID_BOARD, ID_GROUP, addDeny"
__FILE____LINE__);
while ($row mysql_fetch_assoc($request))
{
if (isset($context['groups'][(int) $row['ID_GROUP']]))
$context['groups'][(int) $row['ID_GROUP']]['num_permissions'][empty($row['addDeny']) ? 'denied' 'allowed'] += $row['numPermissions'];
}
mysql_free_result($request);

$context['board'] = array(
'id' => $_REQUEST['boardid']
);

// Load all the boards that we can set permissions off...
$request db_query("
SELECT ID_BOARD, name
FROM 
{$db_prefix}boards
WHERE ID_BOARD != 
$_REQUEST[boardid]
AND use_local_permissions = 1"
__FILE____LINE__);
$context['boards'] = array();
while ($row mysql_fetch_assoc($request))
$context['copy_boards'][] = array(
'id' => $row['ID_BOARD'],
'name' => $row['name']
);
mysql_free_result($request);

$request db_query("
SELECT name, memberGroups
FROM 
{$db_prefix}boards
WHERE ID_BOARD = 
$_REQUEST[boardid]
LIMIT 1"
__FILE____LINE__);
list ($context['board']['name'], $groups) = mysql_fetch_row($request);
mysql_free_result($request);

$groups explode(','$groups);
foreach ($groups as $group)
{
if ($group !== '' && isset($context['groups'][(int) $group]))
$context['groups'][(int) $group]['access'] = true;
}
}
}

function 
SetQuickGroups()
{
global $db_prefix;

checkSession();

// Make sure only one of the quick options was selected.
if ((!empty($_POST['predefined']) && ((isset($_POST['copy_from']) && $_POST['copy_from'] != 'empty') || !empty($_POST['permissions']))) || (!empty($_POST['copy_from']) && $_POST['copy_from'] != 'empty' && !empty($_POST['permissions'])))
fatal_lang_error('permissions_only_one_option');

if (empty($_POST['group']) || !is_array($_POST['group']))
$_POST['group'] = array();

// Only accept numeric values for selected membergroups.
foreach ($_POST['group'] as $id => $group_id)
$_POST['group'][$id] = (int) $group_id;
$_POST['group'] = array_unique($_POST['group']);

if (empty($_REQUEST['boardid']))
$_REQUEST['boardid'] = 0;
else
$_REQUEST['boardid'] = (int) $_REQUEST['boardid'];

if (isset($_POST['access']))
{
foreach ($_POST['access'] as $k => $v)
$_POST['access'][$k] = (int) $v;
$access implode(','$_POST['access']);
}
else
$access '';

db_query("
UPDATE 
{$db_prefix}boards
SET memberGroups = '
$access'
WHERE ID_BOARD = 
$_REQUEST[boardid]
LIMIT 1"
__FILE____LINE__);

// No groups where selected.
if (empty($_POST['group']))
redirectexit('action=permissions;boardid=' $_REQUEST['boardid']);

// Set a predefined permission profile.
if (!empty($_POST['predefined']))
{
// Make sure it's a predefined permission set we expect.
if (!in_array($_POST['predefined'], array('restrict''standard''moderator''maintenance')))
redirectexit('action=permissions;boardid=' $_REQUEST['boardid']);

foreach ($_POST['group'] as $group_id)
{
if (!empty($_REQUEST['boardid']))
setPermissionLevel($_POST['predefined'], $group_id$_REQUEST['boardid']);
else
setPermissionLevel($_POST['predefined'], $group_id);
}
}
// Set the permissions of the selected groups to that of their permissions in a different board.
elseif (isset($_POST['from_board']) && $_POST['from_board'] != 'empty')
{
// Just checking the input.
if (!is_numeric($_POST['from_board']))
redirectexit('action=permissions;boardid=' $_REQUEST['boardid']);

// Fetch all the board permissions for these groups.
$request db_query("
SELECT ID_GROUP, permission, addDeny
FROM 
{$db_prefix}board_permissions
WHERE ID_BOARD = 
$_POST[from_board]
AND ID_GROUP IN (" 
implode(','$_POST['group']) . ")"__FILE____LINE__);

$target_perms = array();
while ($row mysql_fetch_assoc($request))
$target_perms[] = "('$row[permission]', $row[ID_GROUP]$_REQUEST[boardid]$row[addDeny])";
mysql_free_result($request);

// Delete the previous global board permissions...
db_query("
DELETE FROM 
{$db_prefix}board_permissions
WHERE ID_GROUP IN (" 
implode(', '$_POST['group']) . ")
AND ID_BOARD = 
$_REQUEST[boardid]"__FILE____LINE__);

// And insert the copied permissions.
if (!empty($target_perms))
{
db_query("
INSERT IGNORE INTO 
{$db_prefix}board_permissions
(permission, ID_GROUP, ID_BOARD, addDeny)
VALUES " 
implode(','$target_perms), __FILE____LINE__);
}
}
// Set a permission profile based on the permissions of a selected group.
elseif ($_POST['copy_from'] != 'empty')
{
// Just checking the input.
if (!is_numeric($_POST['copy_from']))
redirectexit('action=permissions;boardid=' $_REQUEST['boardid']);

// Make sure the group we're copying to is never included.
$_POST['group'] = array_diff($_POST['group'], array($_POST['copy_from']));

// No groups left? Too bad.
if (empty($_POST['group']))
redirectexit('action=permissions;boardid=' $_REQUEST['boardid']);

if (empty($_REQUEST['boardid']))
{
// Retrieve current permissions of group.
$request db_query("
SELECT permission, addDeny
FROM 
{$db_prefix}permissions
WHERE ID_GROUP = 
$_POST[copy_from]"__FILE____LINE__);
$target_perm = array();
while ($row mysql_fetch_assoc($request))
$target_perm[$row['permission']] = $row['addDeny'];
mysql_free_result($request);

$insert_string '';
foreach ($_POST['group'] as $group_id)
foreach ($target_perm as $perm => $addDeny)
$insert_string .= "('$perm', $group_id$addDeny),";

// Delete the previous permissions...
db_query("
DELETE FROM 
{$db_prefix}permissions
WHERE ID_GROUP IN (" 
implode(', '$_POST['group']) . ")"__FILE____LINE__);

if (!empty($insert_string))
{
// Cut off the last comma.
$insert_string substr($insert_string0, -1);

// ..and insert the new ones.
db_query("
INSERT IGNORE INTO 
{$db_prefix}permissions
(permission, ID_GROUP, addDeny)
VALUES 
$insert_string"__FILE____LINE__);
}
}

// Now do the same for the board permissions.
$request db_query("
SELECT permission, addDeny
FROM 
{$db_prefix}board_permissions
WHERE ID_GROUP = 
$_POST[copy_from]
AND ID_BOARD = 
$_REQUEST[boardid]"__FILE____LINE__);
$target_perm = array();
while ($row mysql_fetch_assoc($request))
$target_perm[$row['permission']] = $row['addDeny'];
mysql_free_result($request);

$insert_string '';
foreach ($_POST['group'] as $group_id)
foreach ($target_perm as $perm => $addDeny)
$insert_string .= "('$perm', $group_id$_REQUEST[boardid]$addDeny),";

// Delete the previous global board permissions...
db_query("
DELETE FROM 
{$db_prefix}board_permissions
WHERE ID_GROUP IN (" 
implode(', '$_POST['group']) . ")
AND ID_BOARD = 
$_REQUEST[boardid]"__FILE____LINE__);

// And insert the copied permissions.
if (!empty($insert_string))
{
$insert_string substr($insert_string0, -1);

db_query("
INSERT IGNORE INTO 
{$db_prefix}board_permissions
(permission, ID_GROUP, ID_BOARD, addDeny)
VALUES 
$insert_string"__FILE____LINE__);
}
}
// Set or unset a certain permission for the selected groups.
elseif (!empty($_POST['permissions']))
{
// Unpack two variables that were transported.
list ($permissionType$permission) = explode('/'$_POST['permissions']);

// Check whether our input is within expected range.
if (!in_array($_POST['add_remove'], array('add''clear''deny')) || !in_array($permissionType, array('membergroup''board')))
redirectexit('action=permissions;boardid=' $_REQUEST['boardid']);

if ($_POST['add_remove'] == 'clear')
{
if ($permissionType == 'membergroup')
db_query("
DELETE FROM 
{$db_prefix}permissions
WHERE ID_GROUP IN (" 
implode(', '$_POST['group']) . ")
AND permission = '
$permission'"__FILE____LINE__);
else
db_query("
DELETE FROM 
{$db_prefix}board_permissions
WHERE ID_GROUP IN (" 
implode(', '$_POST['group']) . ")
AND ID_BOARD = 
$_REQUEST[boardid]
AND permission = '
$permission'"__FILE____LINE__);
}
// Add a permission (either 'set' or 'deny').
else
{
$addDeny $_POST['add_remove'] == 'add' '1' '0';
if ($permissionType == 'membergroup')
db_query("
REPLACE INTO 
{$db_prefix}permissions
(permission, ID_GROUP, addDeny)
VALUES
('
$permission', " implode(", $addDeny),
('
$permission', "$_POST['group']) . ", $addDeny)"__FILE____LINE__);
// Board permissions go into the other table.
else
db_query("
REPLACE INTO 
{$db_prefix}board_permissions
(permission, ID_GROUP, ID_BOARD, addDeny)
VALUES
('
$permission', " implode(", $_REQUEST[boardid]$addDeny),
('
$permission', "$_POST['group']) . ", $_REQUEST[boardid]$addDeny)"__FILE____LINE__);
}
}

redirectexit('action=permissions;boardid=' $_REQUEST['boardid']);
}

// Switch a board from local to global permissions or v.v.
function SwitchBoard()
{
global $db_prefix;

// Security above all.
checkSession('get');
validateSession();
$_GET['boardid'] = (int) $_GET['boardid'];

// Make sure the board exists and can be switched to $_GET['to'].
$request db_query("
SELECT ID_BOARD
FROM 
{$db_prefix}boards
WHERE ID_BOARD = 
$_GET[boardid]
AND use_local_permissions = " 
. ($_GET['to'] == 'local' '0' '1') . "
LIMIT 1"
__FILE____LINE__);
if (mysql_num_rows($request) != 1)
{
if ($_GET['to'] == 'local')
PermissionIndex();
else
redirectexit('action=permissions');
return;
}
mysql_free_result($request);

// Copy the global permissions to the specific board.
if ($_GET['to'] == 'local')
{
$request db_query("
SELECT ID_GROUP, permission, addDeny
FROM 
{$db_prefix}board_permissions
WHERE ID_BOARD = 0"
__FILE____LINE__);
$insertRows = array();
while ($row mysql_fetch_assoc($request))
$insertRows[] = "($row[ID_GROUP]$_GET[boardid], '$row[permission]', $row[addDeny])";
mysql_free_result($request);

// Reset the current local permissions.
db_query("
DELETE FROM 
{$db_prefix}board_permissions
WHERE ID_BOARD = 
$_GET[boardid]"__FILE____LINE__);

if (!empty($insertRows))
db_query("
INSERT INTO 
{$db_prefix}board_permissions
(ID_GROUP, ID_BOARD, permission, addDeny)
VALUES " 
implode(",
"
$insertRows), __FILE____LINE__);
}

// Switch back to inherited permissions (delete all local permissions).
else
db_query("
DELETE FROM 
{$db_prefix}board_permissions
WHERE ID_BOARD = 
$_GET[boardid]"__FILE____LINE__);

// Update the board setting.
db_query("
UPDATE 
{$db_prefix}boards
SET use_local_permissions = " 
. ($_GET['to'] == 'local' '1' '0') . "
WHERE ID_BOARD = 
$_GET[boardid]"__FILE____LINE__);

if ($_GET['to'] == 'local')
PermissionIndex();
else
redirectexit('action=permissions');
}

function 
ModifyMembergroup()
{
global $db_prefix$context$txt;

$context['group']['id'] = (int) $_GET['id'];

loadAllPermissions();

if ($context['group']['id'] > 0)
{
$result db_query("
SELECT groupName
FROM 
{$db_prefix}membergroups
WHERE ID_GROUP = 
{$context['group']['id']}
LIMIT 1"
__FILE____LINE__);
list ($context['group']['name']) = mysql_fetch_row($result);
mysql_free_result($result);
}
elseif ($context['group']['id'] == -1)
$context['group']['name'] = &$txt['membergroups_guests'];
else
$context['group']['name'] = &$txt['membergroups_members'];

$context['board']['id'] = empty($_GET['boardid']) ? : (int) $_GET['boardid'];
$context['local'] = !empty($_GET['boardid']);

if ($context['local'])
{
$request db_query("
SELECT name
FROM 
{$db_prefix}boards
WHERE ID_BOARD = 
{$context['board']['id']}
AND use_local_permissions = 1"
__FILE____LINE__);
// Either the board was not found or the permissions are set to global.
if (mysql_num_rows($request) == 0)
fatal_lang_error('smf232');
list ($context['board']['name']) = mysql_fetch_row($request);
mysql_free_result($request);
}

// Fetch the current permissions.
$permissions = array(
'membergroup' => array('allowed' => array(), 'denied' => array()),
'board' => array('allowed' => array(), 'denied' => array())
);
if ($context['group']['id'] != && !$context['local'])
{
$result db_query("
SELECT permission, addDeny
FROM 
{$db_prefix}permissions
WHERE ID_GROUP = 
$_GET[id]"__FILE____LINE__);
while ($row mysql_fetch_assoc($result))
$permissions['membergroup'][empty($row['addDeny']) ? 'denied' 'allowed'][] = $row['permission'];
mysql_free_result($result);
$context['permissions']['membergroup']['show'] = true;
}
else
$context['permissions']['membergroup']['show'] = false;

// Fetch current board permissions.
$result db_query("
SELECT permission, addDeny
FROM 
{$db_prefix}board_permissions
WHERE ID_GROUP = 
{$context['group']['id']}
AND ID_BOARD = 
{$context['board']['id']}"__FILE____LINE__);

while ($row mysql_fetch_assoc($result))
$permissions['board'][empty($row['addDeny']) ? 'denied' 'allowed'][] = $row['permission'];
mysql_free_result($result);
$context['permissions']['board']['show'] = true;

// Loop through each permission and set whether it's checked.
foreach ($context['permissions'] as $permissionType => $tmp)
{
foreach ($tmp['columns'] as $position => $permissionGroups)
{
foreach ($permissionGroups as $permissionGroup => $permissionArray)
{
foreach ($permissionArray['permissions'] as $perm)
{
// Create a shortcut for the current permission.
$curPerm = &$context['permissions'][$permissionType]['columns'][$position][$permissionGroup]['permissions'][$perm['id']];
if ($perm['has_own_any'])
{
$curPerm['any']['select'] = in_array($perm['id'] . '_any'$permissions[$permissionType]['allowed']) ? 'on' : (in_array($perm['id'] . '_any'$permissions[$permissionType]['denied']) ? 'denied' 'off');
$curPerm['own']['select'] = in_array($perm['id'] . '_own'$permissions[$permissionType]['allowed']) ? 'on' : (in_array($perm['id'] . '_own'$permissions[$permissionType]['denied']) ? 'denied' 'off');
}
else
$curPerm['select'] = in_array($perm['id'], $permissions[$permissionType]['denied']) ? 'denied' : (in_array($perm['id'], $permissions[$permissionType]['allowed']) ? 'on' 'off');
}
}
}
}
$context['sub_template'] = 'modify_group';
$context['page_title'] = $txt['permissions_modify_group'];
}

function 
ModifyMembergroup2()
{
global $db_prefix;

checkSession();

$_GET['id'] = (int) $_GET['id'];
$_GET['boardid'] = (int) $_GET['boardid'];

$givePerms = array('membergroup' => array(), 'board' => array());

// Prepare all permissions that were set or denied for addition to the DB.
foreach ($_POST['perm'] as $perm_type => $perm_array)
foreach ($perm_array as $permission => $value)
if ($value == 'on' || $value == 'deny')
$givePerms[$perm_type][] = "$permission', " . ($value == 'on' '1' '0');

// Insert the general permissions.
if ($_GET['id'] != && empty($_GET['boardid']))
{
db_query("
DELETE FROM 
{$db_prefix}permissions
WHERE ID_GROUP = 
$_GET[id]"__FILE____LINE__);
if (!empty($givePerms['membergroup']))
db_query("
INSERT IGNORE INTO 
{$db_prefix}permissions
(ID_GROUP, permission, addDeny)
VALUES (
$_GET[id], '" implode("),
(
$_GET[id], '"$givePerms['membergroup']) . ")"__FILE____LINE__);
}

// Insert the boardpermissions.
db_query("
DELETE FROM 
{$db_prefix}board_permissions
WHERE ID_GROUP = 
$_GET[id]
AND ID_BOARD = 
$_GET[boardid]"__FILE____LINE__);
if (!empty($givePerms['board']))
db_query("
INSERT IGNORE INTO 
{$db_prefix}board_permissions
(ID_GROUP, ID_BOARD, permission, addDeny)
VALUES (
$_GET[id]$_GET[boardid], '" implode("),
(
$_GET[id]$_GET[boardid], '"$givePerms['board']) . ")"__FILE____LINE__);

redirectexit('action=permissions;boardid=' $_GET['boardid']);
}

// Set the permission level for a specific board, group, or group for a board.
function setPermissionLevel($level$group$board 'null')
{
global $db_prefix;

// Levels by group... restrict, standard, moderator, maintenance.
$groupLevels = array(
'board' => array('inherit' => array()),
'group' => array('inherit' => array())
);
// Levels by board... standard, publish, free.
$boardLevels = array('inherit' => array());

// Restrictive - ie. guests.
$groupLevels['global']['restrict'] = array(
'search_posts',
'calendar_view',
'view_stats',
'who_view',
'profile_view_own',
'profile_identity_own',
);
$groupLevels['board']['restrict'] = array(
'poll_view',
'post_new',
'post_reply_own',
'post_reply_any',
'remove_own',
'modify_own',
'mark_any_notify',
'mark_notify',
'report_any',
'send_topic',
);

// Standard - ie. members.  They can do anything Restrictive can.
$groupLevels['global']['standard'] = array_merge($groupLevels['global']['restrict'], array(
'view_mlist',
'karma_edit',
'pm_read',
'pm_send',
'profile_view_any',
'profile_extra_own',
'profile_remote_avatar',
'profile_remove_own',
));
$groupLevels['board']['standard'] = array_merge($groupLevels['board']['restrict'], array(
'poll_vote',
'poll_edit_own',
'poll_post',
'poll_add_own',
'post_attachment',
'lock_own',
'delete_own',
'view_attachments',
));

// Moderator - ie. moderators :P.  They can do what standard can, and more.
$groupLevels['global']['moderator'] = array_merge($groupLevels['global']['standard'], array(
'calendar_post',
'calendar_edit_own',
));
$groupLevels['board']['moderator'] = array_merge($groupLevels['board']['standard'], array(
'make_sticky',
'make_gsticky',
'poll_edit_any',
'remove_any',
'modify_any',
'lock_any',
'delete_any',
'move_any',
'merge_any',
'split_any',
'poll_lock_any',
'poll_remove_any',
'poll_add_any',
));

// Maintenance - wannabe admins.  They can do almost everything.
$groupLevels['global']['maintenance'] = array_merge($groupLevels['global']['moderator'], array(
'manage_attachments',
'manage_smileys',
'manage_boards',
'moderate_forum',
'manage_membergroups',
'manage_bans',
'admin_forum',
'manage_permissions',
'edit_news',
'calendar_edit_any',
'profile_identity_any',
'profile_extra_any',
'profile_title_any',
));
$groupLevels['board']['maintenance'] = array_merge($groupLevels['board']['moderator'], array(
));

// Standard - nothing above the group permissions. (this SHOULD be empty.)
$boardLevels['standard'] = array(
);

// Locked - just that, you can't post here.
$boardLevels['locked'] = array(
'poll_view',
'mark_notify',
'report_any',
'send_topic',
'view_attachments',
);

// Publisher - just a little more...
$boardLevels['publish'] = array_merge($boardLevels['locked'], array(
'post_new',
'post_reply_own',
'post_reply_any',
'remove_own',
'modify_own',
'mark_any_notify',
'remove_replies',
'modify_replies',
'poll_vote',
'poll_edit_own',
'poll_post',
'poll_add_own',
'poll_remove_own',
'post_attachment',
'lock_own',
'delete_own',
));

// Free for All - Scary.  Just scary.
$boardLevels['free'] = array_merge($boardLevels['publish'], array(
'poll_lock_any',
'poll_edit_any',
'poll_add_any',
'poll_remove_any',
'make_sticky',
'make_gsticky',
'lock_any',
'delete_any',
'remove_any',
'split_any',
'merge_any',
'modify_any',
));

// Setting group permissions.
if ($board === 'null' && $group !== 'null')
{
$group = (int) $group;

if (empty($groupLevels['global'][$level]))
return;

db_query("
DELETE FROM 
{$db_prefix}permissions
WHERE ID_GROUP = 
$group"__FILE____LINE__);
db_query("
DELETE FROM 
{$db_prefix}board_permissions
WHERE ID_GROUP = 
$group
AND ID_BOARD = 0"
__FILE____LINE__);

db_query("
INSERT INTO 
{$db_prefix}permissions
(ID_GROUP, permission)
VALUES (
$group, '" implode("'),
(
$group, '"$groupLevels['global'][$level]) . "')"__FILE____LINE__);
db_query("
INSERT INTO 
{$db_prefix}board_permissions
(ID_BOARD, ID_GROUP, permission)
VALUES (0, 
$group, '" implode("'),
(0, 
$group, '"$groupLevels['board'][$level]) . "')"__FILE____LINE__);
}
// Setting board permissions for a specific group.
elseif ($board !== 'null' && $group !== 'null')
{
$group = (int) $group;
$board = (int) $board;

if (!empty($groupLevels['global'][$level]))
{
db_query("
DELETE FROM 
{$db_prefix}board_permissions
WHERE ID_GROUP = 
$group
AND ID_BOARD = 
$board"__FILE____LINE__);
}

if (!empty($groupLevels['board'][$level]))
{
db_query("
INSERT INTO 
{$db_prefix}board_permissions
(ID_BOARD, ID_GROUP, permission)
VALUES (
$board$group, '" implode("'),
(
$board$group, '"$groupLevels['board'][$level]) . "')"__FILE____LINE__);
}
}
// Setting board permissions for all groups.
elseif ($board !== 'null' && $group === 'null')
{
$board = (int) $board;

db_query("
DELETE FROM 
{$db_prefix}board_permissions
WHERE ID_BOARD = 
$board"__FILE____LINE__);

if (empty($boardLevels[$level]))
return;

// Get all the groups...
$query db_query("
SELECT ID_GROUP
FROM 
{$db_prefix}membergroups
WHERE ID_GROUP > 3
ORDER BY minPosts, IF(ID_GROUP < 4, ID_GROUP, 4), groupName"
__FILE____LINE__);
while ($row mysql_fetch_row($query))
{
$group $row[0];

db_query("
INSERT INTO 
{$db_prefix}board_permissions
(ID_BOARD, ID_GROUP, permission)
VALUES (
$board$group, '" implode("'),
(
$board$group, '"$boardLevels[$level]) . "')"__FILE____LINE__);
}
mysql_free_result($query);

// Add permissions for ungrouped users.
db_query("
INSERT INTO 
{$db_prefix}board_permissions
(ID_BOARD, ID_GROUP, permission)
VALUES (
$board, 0, '" implode("'),
(
$board, 0, '"$boardLevels[$level]) . "')"__FILE____LINE__);
}
// $board and $group are both null!
else
fatal_lang_error(1false);
}

function 
loadAllPermissions()
{
global $context$txt;

/*  The format of this list is as follows:
'permission_group' => array(
'permissions_inside' => has_multiple_options,
),

   It should be noted that if the permission_group starts with $ it is not treated as a permission.
   However, if it does not start with $, it is treated as a normal permission.
$txt['permissionname_' . $permission] is used for the names of permissions.
$txt['permissiongroup_' . $group] is used for names of groups that start with $.
$txt['permissionhelp_' . $permission] is used for extended information.
$txt['permissionicon_' . $permission_or_group] is used for the icons, if it exists.
*/

$permissionList = array(
'membergroup' => array(
'general' => array(
'view_stats' => false,
'view_mlist' => false,
'who_view' => false,
'search_posts' => false,
'karma_edit' => false,
),
'pm' => array(
'pm_read' => false,
'pm_send' => false,
),
'calendar' => array(
'calendar_view' => false,
'calendar_post' => false,
'calendar_edit' => true,
),
'maintenance' => array(
'admin_forum' => false,
'manage_boards' => false,
'manage_attachments' => false,
'manage_smileys' => false,
'edit_news' => false,
),
'member_admin' => array(
'moderate_forum' => false,
'manage_membergroups' => false,
'manage_permissions' => false,
'manage_bans' => false,
'send_mail' => false,
),                       'profile' => array(
                                
'profile_view' => true,
                                
'profile_identity' => true,
                                
'profile_extra' => true,
                                
'profile_title' => true,
                                
'profile_remove' => true,
                                
'profile_remote_avatar' => false,
                          
                        ),
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),


'visual_warn' => array(
'visual_warn_any' => false,
'visual_approve_any' => false,
),
'arcade' => array(
'view_arcade' => true,
'play_arcade' => true,
'submit_score' => true,
'challenge_send' => true,
'challenge_view' => true,
'admin_arcade' => true,
),
'board' => array(
'general_board' => array(
'moderate_board' => false,
),
'topic' => array(
'post_new' => false,
'merge_any' => false,
'split_any' => false,
'send_topic' => false,
'make_sticky' => false,
'make_gsticky' => false,
'move' => true,
'lock' => true,
'delete' => true,
'post_reply' => true,
'modify_replies' => false,
'remove_replies' => false,
'announce_topic' => false,
),
'post' => array(
'remove' => true,
'modify' => true,
'report_any' => false,
),
'poll' => array(
'poll_view' => false,
'poll_vote' => false,
'poll_post' => false,
'poll_add' => true,
'poll_edit' => true,
'poll_lock' => true,
'poll_remove' => true,
),
'notification' => array(
'mark_any_notify' => false,
'mark_notify' => false,
),
'attachment' => array(
'view_attachments' => false,
'post_attachment' => false,
)
)
);

// This is just a helpful array of permissions guests... cannot have.
$non_guest_permissions = array(
'karma_edit',
'pm_read',
'pm_send',
'profile_identity',
'profile_extra',
'profile_title',
'profile_remove',
'profile_remote_avatar',
'poll_vote',
'mark_any_notify',
'mark_notify',
);

// All permission groups that will be shown in the left column.
$leftPermissionGroups = array(
'general',
'calendar',
'maintenance',
'member_admin',
'general_board',
'topic',
'post',
);

$context['permissions'] = array();
foreach ($permissionList as $permissionType => $permissionGroups)
{
$context['permissions'][$permissionType] = array(
'id' => $permissionType,
'columns' => array(
'left' => array(),
'right' => array()
)
);
foreach ($permissionGroups as $permissionGroup => $permissionArray)
{
$position in_array($permissionGroup$leftPermissionGroups) ? 'left' 'right';
$context['permissions'][$permissionType]['columns'][$position][$permissionGroup] = array(
'type' => $permissionType,
'id' => $permissionGroup,
'name' => &$txt['permissiongroup_' $permissionGroup],
'icon' => isset($txt['permissionicon_' $permissionGroup]) ? $txt['permissionicon_' $permissionGroup] : $txt['permissionicon'],
$txt['permissionhelp_' $permissionGroup] : '',
'permissions' => array()
);

foreach ($permissionArray as $perm => $has_own_any)
{
if (isset($context['group']['id']) && $context['group']['id'] == -&& in_array($perm$non_guest_permissions))
continue;

$context['permissions'][$permissionType]['columns'][$position][$permissionGroup]['permissions'][$perm] = array(
'id' => $perm,
'name' => &$txt['permissionname_' $perm],
'show_help' => isset($txt['permissionhelp_' $perm]),
'has_own_any' => $has_own_any,
'own' => array(
'id' => $perm '_own',
'name' => $has_own_any $txt['permissionname_' $perm '_own'] : ''
),
'any' => array(
'id' => $perm '_any',
'name' => $has_own_any $txt['permissionname_' $perm '_any'] : ''
)
);
}

if (empty($context['permissions'][$permissionType]['columns'][$position][$permissionGroup]['permissions']))
unset($context['permissions'][$permissionType]['columns'][$position][$permissionGroup]);
}
}
}

?>















my error is the ); right after the

'attachment' => array(
            'view_attachments' => false,
            'post_attachment' => false,
Title: Re: SMF Arcade
Post by: tentronik on August 13, 2005, 09:59:58 PM
Ok basicly i dont know for sure if 1.05 running with 1.2.3.
There are other releases in the mod database here.
But i guessing this is why you have trouble so.

I in your position would upgrade the forum to 1.1.beta3.p and then try everything again :))
Title: Re: SMF Arcade
Post by: Fiery on August 13, 2005, 10:08:03 PM
Quote from: tentronik on August 13, 2005, 09:59:58 PM
Ok basicly i dont know for sure if 1.05 running with 1.2.3.
There are other releases in the mod database here.
But i guessing this is why you have trouble so.

I in your position would upgrade the forum to 1.1.beta3.p and then try everything again :))


The problems were originally caused by Arcade 1.1.3.  I tired uninstalling but it doesnt fix.  I guess I can post in the charter section.

Thanks for your help
Title: Re: SMF Arcade
Post by: tentronik on August 13, 2005, 10:11:55 PM
When you download the 1.05 release again and uploading the file again - this should fix it.
Also try to download 1 of theolder releases and try the file from those releases.
Also as i dont know the code for 1.05 i cant help you much and cause the posted code from the file slowing this topic while loading - i suggest to delete it and if you still like attache it as a file again.

Title: Re: SMF Arcade
Post by: tentronik on August 13, 2005, 10:18:46 PM
Wait i just saw you passted it wrong plz wait.

UPDATE:
Hmm ok nothing try a diffrent arcade release or try upgrading or try support in charter board :)
You did all right.
Title: Re: SMF Arcade
Post by: oldmanwolf on August 14, 2005, 12:03:01 AM
Change this block:

'maintenance' => array(
'admin_forum' => false,
'manage_boards' => false,
'manage_attachments' => false,
'manage_smileys' => false,
'edit_news' => false,
),
'member_admin' => array(
'moderate_forum' => false,
'manage_membergroups' => false,
'manage_permissions' => false,
'manage_bans' => false,
'send_mail' => false,
),                       'profile' => array(
                                'profile_view' => true,
                                'profile_identity' => true,
                                'profile_extra' => true,
                                'profile_title' => true,
                                'profile_remove' => true,
                                'profile_remote_avatar' => false,
                         
                        ),
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),


'visual_warn' => array(
'visual_warn_any' => false,
'visual_approve_any' => false,
),
'arcade' => array(
'view_arcade' => true,
'play_arcade' => true,
'submit_score' => true,
'challenge_send' => true,
'challenge_view' => true,
'admin_arcade' => true,
),
'board' => array(


To this:

'maintenance' => array(
'admin_forum' => false,
'manage_boards' => false,
'manage_attachments' => false,
'manage_smileys' => false,
'edit_news' => false,
),
'member_admin' => array(
'moderate_forum' => false,
'manage_membergroups' => false,
'manage_permissions' => false,
'manage_bans' => false,
'send_mail' => false,
),                       'profile' => array(
                                'profile_view' => true,
                                'profile_identity' => true,
                                'profile_extra' => true,
                                'profile_title' => true,
                                'profile_remove' => true,
                                'profile_remote_avatar' => false,
                         
                        ),
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),
'visual_warn' => array(
'visual_warn_any' => false,
'visual_approve_any' => false,
)
),
'board' => array(


You had two instances of the arcade array, and it was missing the extra ")" closing tag...

There may need to be a , after that second to last ) - but it doesn't seem to matter on mine...

Give that a shot and let us know!
Title: Re: SMF Arcade
Post by: rider on August 14, 2005, 01:10:23 AM
Quote from: pmp6nl on August 13, 2005, 09:07:36 PM
Quote from: tentronik on August 13, 2005, 08:17:34 PM

@pmp6nl no its just 1 - do you encounter managepermissions errors in your forum error log?

Yes I am getting hundreds of error messages.

Also, the manage permissions still does not work.  Can you post yours on here or something, so I can look it over?

Thanks

Have you gone to the arcade site and d/l a copy of the edited manage permissions.php?You can find it in the FAQ section.I'm running smf1.0.5 and arcade ver 1.2.3.Try that and see if it helps.If not pm me your site addi and I can take a look for you.
Title: Re: SMF Arcade
Post by: nokonium on August 14, 2005, 02:37:14 AM
Quote from: oldmanwolf on August 14, 2005, 12:03:01 AM
and it was missing the extra ")" closing tag...

There may need to be a , after that second to last ) - but it doesn't seem to matter on mine...

Give that a shot and let us know!

So I was right back on page 79 (http://www.simplemachines.org/community/index.php?topic=29619.msg322041#msg322041)  ;)

QuoteI took the permissionlist array apart and came to the conclusion that the problem is caused by the 'arcade' array not being part of the 'membergroup' array. Before you install Arcade the 'membergroup' array and the last child array in it, are closed by the  )  ), following the 'profile' array. I have moved the ) from the 'profile' array to follow the 'arcade' array. Thus 'profile' ends ), and 'arcade' ends ) ),   

The same would go for any mods that have 'membergroup' permissions, their array has to be inside the closing tag for the 'membergroup' array.

If you don't have that closing tag I would assume that you would keep chasing the error down the page.
Title: Re: SMF Arcade
Post by: Fiery on August 14, 2005, 02:57:40 AM
Quote from: nokonium on August 14, 2005, 02:37:14 AM
Quote from: oldmanwolf on August 14, 2005, 12:03:01 AM
and it was missing the extra ")" closing tag...

There may need to be a , after that second to last ) - but it doesn't seem to matter on mine...

Give that a shot and let us know!

So I was right back on page 79 (http://www.simplemachines.org/community/index.php?topic=29619.msg322041#msg322041)  ;)

QuoteI took the permissionlist array apart and came to the conclusion that the problem is caused by the 'arcade' array not being part of the 'membergroup' array. Before you install Arcade the 'membergroup' array and the last child array in it, are closed by the  )  ), following the 'profile' array. I have moved the ) from the 'profile' array to follow the 'arcade' array. Thus 'profile' ends ), and 'arcade' ends ) ),   

The same would go for any mods that have 'membergroup' permissions, their array has to be inside the closing tag for the 'membergroup' array.

If you don't have that closing tag I would assume that you would keep chasing the error down the page.

Mine looks like:

                      'profile' => array(
                                'profile_view' => true,
                                'profile_identity' => true,
                                'profile_extra' => true,
                                'profile_title' => true,
                                'profile_remove' => true,
                                'profile_remote_avatar' => false,
                         
                        ),
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),


I tried to change it to:


                      'profile' => array(
                                'profile_view' => true,
                                'profile_identity' => true,
                                'profile_extra' => true,
                                'profile_title' => true,
                                'profile_remove' => true,
                                'profile_remote_avatar' => false,
                         
                        ),
                        'arcade' => array(
                                'view_arcade' => false,
                                'play_arcade' => false,
                                'submit_score' => false,
                                'challenge_send' => false,
                                'challenge_view' => false,
                                'admin_arcade' => false,
                        )
                    ),


and various other movements of the ), ) etc.

none of them seem to fix it :(
Title: Re: SMF Arcade
Post by: oldmanwolf on August 14, 2005, 03:22:33 AM
Did you remove the extra instance of the arcade array?  You've got it twice in yours...  Paste the code I put in exactly over the section of your code I've indicated...
Title: Re: SMF Arcade
Post by: Fiery on August 14, 2005, 03:33:54 AM
Quote from: oldmanwolf on August 14, 2005, 03:22:33 AM
Did you remove the extra instance of the arcade array?  You've got it twice in yours...  Paste the code I put in exactly over the section of your code I've indicated...

It didnt fix it :(

I am going to bed so I will talk to you later.

Thank you for your help
Title: Re: SMF Arcade
Post by: oldmanwolf on August 14, 2005, 03:36:44 AM
Quote from: pmp6nl on August 14, 2005, 03:33:54 AM
Quote from: oldmanwolf on August 14, 2005, 03:22:33 AM
Did you remove the extra instance of the arcade array?  You've got it twice in yours...  Paste the code I put in exactly over the section of your code I've indicated...

Umm for some reason every time I delete the extra instance it puts it back in automatically????

WTF

???  That's a little bit weird...  Try taking them both out, maybe?  Then it'll just put the one back in, and you'll be good to go!
Title: Re: SMF Arcade
Post by: Fiery on August 14, 2005, 03:42:00 AM
Quote from: oldmanwolf on August 14, 2005, 03:36:44 AM
Quote from: pmp6nl on August 14, 2005, 03:33:54 AM
Quote from: oldmanwolf on August 14, 2005, 03:22:33 AM
Did you remove the extra instance of the arcade array?  You've got it twice in yours...  Paste the code I put in exactly over the section of your code I've indicated...

Umm for some reason every time I delete the extra instance it puts it back in automatically????

WTF

???  That's a little bit weird...  Try taking them both out, maybe?  Then it'll just put the one back in, and you'll be good to go!

I stopped it from auto putting it in, but it didnt fix the error   :(

I am going to bed so I will talk to you later.

Thank you for your help
Title: Re: SMF Arcade
Post by: nokonium on August 14, 2005, 10:54:13 AM
This is the whole of the Permissionlist array.
        $permissionList = array(
                'membergroup' => array(
                        'general' => array(
                                'view_stats' => false,
                                'view_mlist' => false,
                                'who_view' => false,
                                'search_posts' => false,
                                'karma_edit' => false,
                        ),
                        'pm' => array(
                                'pm_read' => false,
                                'pm_send' => false,
                        ),
                        'calendar' => array(
                                'calendar_view' => false,
                                'calendar_post' => false,
                                'calendar_edit' => true,
                        ),
                        'maintenance' => array(
                                'admin_forum' => false,
                                'manage_boards' => false,
                                'manage_attachments' => false,
                                'manage_smileys' => false,
                                'edit_news' => false,
                        ),
                        'member_admin' => array(
                                'moderate_forum' => false,
                                'manage_membergroups' => false,
                                'manage_permissions' => false,
                                'manage_bans' => false,
                                'send_mail' => false,
                        ),
                        'profile' => array(
                                'profile_view' => true,
                                'profile_identity' => true,
                                'profile_extra' => true,
                                'profile_title' => true,
                                'profile_remove' => true,
                                'profile_remote_avatar' => false,
                        )
                ),
                'board' => array(
                        'general_board' => array(
                                'moderate_board' => false,
                        ),
                        'topic' => array(
                                'post_new' => false,
                                'merge_any' => false,
                                'split_any' => false,
                                'send_topic' => false,
                                'make_sticky' => false,
                                'move' => true,
                                'lock' => true,
                                'delete' => true,
                                'post_reply' => true,
                                'modify_replies' => false,
                                'remove_replies' => false,
                                'announce_topic' => false,
                        ),
                        'post' => array(
                                'remove' => true,
                                'modify' => true,
                                'report_any' => false,
                        ),
                        'poll' => array(
                                'poll_view' => false,
                                'poll_vote' => false,
                                'poll_post' => false,
                                'poll_add' => true,
                                'poll_edit' => true,
                                'poll_lock' => true,
                                'poll_remove' => true,
                        ),
                        'notification' => array(
                                'mark_any_notify' => false,
                                'mark_notify' => false,
                        ),
                        'attachment' => array(
                                'view_attachments' => false,
                                'post_attachment' => false,
                        )
                )
   


It contains nested arrays, a
'membergroup' => array
and a 
'board' => array.

Within the 'membergroup' => array are the
'general' => array, 
'pm' => array, 
'calendar' => array, 
'maintenance' => array, 
'member_admin' => array
and 
'profile' => array.

If you add a mod that needs 'membergroup' permissions it must be within the 'membergroup' => array( This last ( opens the tag and this  ) closes the tag.

      'profile' => array(
           'profile_view' => true,
           'profile_identity' => true,
           'profile_extra' => true,
           'profile_title' => true,
           'profile_remove' => true,
           'profile_remote_avatar' => false,
         )
       ),

If a mod adds an array the   )         ), following profile have to be replaced by just  ), and the  ), at the end of the new 'membergroup' array the  ), has to be replaced by   )         ), . It is probably better to do this with a fresh copy, adding the required arrays, as who knows what you actually did chasing the error down the page.
Title: Re: SMF Arcade
Post by: Bigguy on August 14, 2005, 11:45:46 AM
how do I create this table "smf_games_category" Everytime I install the arcade on smf 1.0.5 it never creates this table.
Title: Re: SMF Arcade
Post by: ChaosForce on August 14, 2005, 01:47:55 PM
Run "arcade_sql.php". Before you do that though, make sure its chmodded to 755.
Title: Re: SMF Arcade
Post by: bolo1122 on August 14, 2005, 02:10:16 PM
Ok im sorry for being the 86th page noob, but i have been trying to follow these pages concerning the error with the databse saying 1.02 and outdate from a fresh install using the program from server.
First of all i have SMF1.05 and download to my pc (not installed to the forum) all 3 of the version of the arcade.

So first question: which version should i installed to give me the least pct of errors so i can get this thing on the way? I know it might have some errors, but from what ive seen, its a headache just to read the little tweaks top make changes.

I first installed the 1.2.3 patch and when i got the updating error, i tried the other 2, and got the same error. so i deleted them all and now i just have my forums with about 4 or 5 different themes



1. Buddy List 1.21   
2. Enhanced Quick Reply 1.0   
3. Member Color Link 1.81   
4. Reply to 1.0.1   
5. Report PM to Administrator 0.2   
6. Visual Warning / Post Moderation 1.21   
7. PHP 4.4.0 Compatibility Update 1.0   


These are all the mods i have installed. What i need since everyone has all these changes is if anyone has a working copy of those PHP files that can easiy be added in or a basic change, since alot of ppl having the same errors from the beginning, that i can paste into the files.

This is going on a school website, where they requested the arcade page, so for 11 days its been hell for me to follow these pages  :'(
Title: Re: SMF Arcade
Post by: Col on August 14, 2005, 03:42:29 PM
Quote from: tentronik on August 13, 2005, 12:54:56 PM
What you mean with commenting out?
When yoiu get the error?

Which error, please post hall message.

Cheetah!

I meant all the code in display.php that refers to the Arcade mod. The only problem I can see with this is that you will not have championships displayed under avatars in posts. Sinse I don't want that anyway, it's of no consequence to me.
Title: Re: SMF Arcade
Post by: Col on August 14, 2005, 03:57:59 PM
bolo1122,

I think you have two choices, either accept that the championships are not displayed under the avatars in posts (either comment out the code in display.php that is to do the Arcade, or remove it); or you could look at this code posted at the SMFArcade site: http://smfgames.com/forum/index.php?topic=1322.0

I have 1.2.3 running on 1.0.5. I've commented out the code for the Arcade in display.php.

I hope that is what you are looking for.

The 1.0.2 thing is a bug of some kind. I understand that it's of no consequence.
Title: Re: SMF Arcade
Post by: bolo1122 on August 14, 2005, 04:42:33 PM
attempted what you said, but maybe i mislead you my problem lies in here:


Table 'commun14_smf1.smf_games_category' doesn't exist
File: /home/commun14/public_html/forum/Sources/ArcadeAdmin.php
Line: 299

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

But also when i try to run the arcade_sql.php by typing it in the browser i get this:


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@##.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Thanks for assisting.

Title: Re: SMF Arcade
Post by: Col on August 14, 2005, 05:55:39 PM
I had similar errors, look at thread: http://www.simplemachines.org/community/index.php?topic=45186.msg325412#msg325412

QuoteNote: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

Ben_S siad that error could be ignored. - I took it on trust, he's seems to know his stuff.

Title: Re: SMF Arcade
Post by: Col on August 14, 2005, 06:00:45 PM
Following up my own post! ::)

Here: http://www.simplemachines.org/community/index.php?topic=29619.msg321754#msg321754

And my comments a few posts later. I've had that many errors, I forget! :-[

I think you haven't run the file I mention two or three posts later. - Lack of documentaion! - I keep asking that this stuff is put in the first post of this thread. :(

Hope that solves the problem for you.

P.S. I think that the file (and I've just read your post more carefully) 'arcade_sql.php', needs to be CHMODed to 775, for it to run. In anycase, once it is sucessfully run, don't forget to delete of the server.
Title: Re: SMF Arcade
Post by: bolo1122 on August 14, 2005, 09:11:39 PM
Awesome, gave permissions and sweet it runs,but it was 755, not 775,np  now just 2 problems left and i think this will complete it. I had those errors with the darn parenthesis, but i fix those but now when i click edit permissions i get this error


2: Invalid argument supplied for foreach()
File: /home/commun14/public_html/forum/Sources/ManagePermissions.php
Line: 1090

that line has this:
foreach ($permissionArray as $perm => $has_own_any)
{
if (isset($context['group']['id']) && $context['group']['id'] == -1 && in_array($perm, $non_guest_permissions))
continue;



Thanks for the help, thank god its about done.
Title: Re: SMF Arcade
Post by: tentronik on August 14, 2005, 09:21:08 PM
2: Invalid argument supplied for foreach()
File: /home/commun14/public_html/forum/Sources/ManagePermissions.php
Line: 1090

Hmm with all this mods installed - do you have a backup from this file?
If so add it manual into this file.
Also i guess in the folder is a backup starting with "~".
Title: Re: SMF Arcade
Post by: gizmo28 on August 14, 2005, 10:39:39 PM
Ok I downloaded and installed this mod to find out you have to download games from the one site. So I go there and register and never get the activation email, I try having one resent but it says a error occurred, and after seraching through the menus I find a contact us link, fill that out and get a  page with sql errors, so my question is how the heck do you get games for this mod if you can't get activated or contact anyone on that site.
Title: Re: SMF Arcade
Post by: Anihc on August 14, 2005, 11:13:26 PM
well, I tried to activate but when I clicked the link in my email it took me to their main forum no activation page and no place to put the activation code, I doubt the link was automatic so my guess is you can log in using your password you chose anyway :)

Worse comes to worse and you can just create another account there and try again.

GL
Anihc
Title: Re: SMF Arcade
Post by: bolo1122 on August 14, 2005, 11:39:34 PM
Ahh finally, its alive!! Let me recap for anyone else:

1. SMF 1.05 and Arcade 1.2.3

2. Install arcade 1.2.3. thru Package Manager

3. Change permissions on arcade_sql.php to 755

4. Loaded file by inputting www.your site.org/forum/arcade.sql_php

5. Got a few errors inside managepermissions.php file. Fixed them by deleting some ")" where it asked

6. Got error about not being able to change permissions. Download a edited managedpermission from smfgames.com  http://smfgames.com/forum/index.php?topic=432.0 (http://smfgames.com/forum/index.php?topic=432.0), fixed that!!

7. Got error on games directory (path) invalid. Uploaded files to games folder and typed "./Games"
Case sensitive without quotation marks.

8. gold.gif file missing from package, doesnt show during statistics screen, went to page and got a good pic renamed gold.gif  working fine!

And walla School forum arcade is working beautifully!! thanks to Col and others for the help :-*
Title: Re: SMF Arcade
Post by: Nitro on August 14, 2005, 11:51:08 PM
i had to install everything manually. i have smf 1.1b3

uploaded one game to games folder, by the way, on the arcade2.xml i found no reference to create a games or game folder but since previous version did, so i figured, i had to create it, so i am not sure if i did it right.

i uploaded one game and it is not showing on the list.

did i miss something?

any comments please? thank you.
Title: Re: SMF Arcade
Post by: tentronik on August 15, 2005, 12:34:53 AM
Quote from: gizmo28 on August 14, 2005, 10:39:39 PM
Ok I downloaded and installed this mod to find out you have to download games from the one site. So I go there and register and never get the activation email, I try having one resent but it says a error occurred, and after seraching through the menus I find a contact us link, fill that out and get a  page with sql errors, so my question is how the heck do you get games for this mod if you can't get activated or contact anyone on that site.
Find a flash game and contact the author about it. YOu just need to assign a getURL actionscript inside the flash movie when submitting scores.
Btw. i think the errors you encountered are get fixed. A few days ago all was working ok.


Quotei uploaded one game and it is not showing on the list.
You need to go to the arcade admin and enable the mod inside the arcade settings and then install the game with the game installer link.
Title: Re: SMF Arcade
Post by: Nitro on August 15, 2005, 02:21:14 AM
thank you man, i think i forgot that thing. now everything is working EXCEPT....
all games are working fine, except when someone ends playing any game at the very end of it, it kickes the player all the way back to the main forum index. i had to disable highscore because it is doing the same thing.

help!!!!

can someone tell me here how do i fix this thing? thank you!!
Title: Re: SMF Arcade
Post by: tentronik on August 15, 2005, 02:29:21 AM
When does the forum index load?
When a player submit a score?
And did you also set the settings inside game link after game install?
Title: Re: SMF Arcade
Post by: Nitro on August 15, 2005, 02:36:40 AM
Quote from: tentronik on August 15, 2005, 02:29:21 AM
When does the forum index load?
When a player submit a score?
And did you also set the settings inside game link after game install?

the index loads after someone finishes the game, they click next or somethingand it kicks you all the way to the main index of the forum, it does the same when they submit a score so it is now disabled.

the settings are as follows:
Games Directory (Path): /homepages/20/d107436098/htdocs/bb/bb/Games
Games Directory (Url): http://www.mypowerforum.com/bb/Games

so even when i changing some of the names of the games and when i save it, it kicks me all the way back to the main index. that's weird.

i am wondering if i missed something durin gmanual instllation.
Title: Re: SMF Arcade
Post by: johnm on August 15, 2005, 07:15:36 AM
QuoteGames Directory (Path): /homepages/20/d107436098/htdocs/bb/bb/Games
Games Directory (Url): http://www.mypowerforum.com/bb/Games

they dont match up or is it just a typo?

paths should be like
/home/user/httpdcos/forumpath/gamesdir
would be http://site.com/forumpath/gamesdir

is this an install on a local machine?
Title: Re: SMF Arcade
Post by: tentronik on August 15, 2005, 07:18:01 AM
The above path is the path on the web ftp server.
The bottom the domain address URL
Title: Re: SMF Arcade
Post by: johnm on August 15, 2005, 07:19:49 AM
er? i know what the paths are and should be like

but the path should idealy be the full path not the path from the ftp root
Title: Re: SMF Arcade
Post by: tentronik on August 15, 2005, 07:27:20 AM
I dont know how this script is concpted so maybe its nessasary to do so.
Many scripts needs the fullpath, i think for accessing other stuff on ther server.
Title: Re: SMF Arcade
Post by: Bigguy on August 15, 2005, 10:15:59 AM
I had smf 1.0.3 installed on this site and running with shop and arcade for about 4 months then the server updated php version and I updated with a new install of smf 1.0.5 with the original database from smf 1.0.3. I have the board up and running the shop is running and I have some mods installed like faster parse code visual warnings and such.  All works eccept I cant get the arcade to install. I get this error in the package manager:  (hope its allowed to post screen shots)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg116.imageshack.us%2Fimg116%2F7176%2Fadmincp0wh.jpg&hash=c3ac516b046bee5d472e829320e253a07bdaf699)
Title: Re: SMF Arcade
Post by: Nitro on August 15, 2005, 10:19:39 AM
i fyou are using smf1.1b3 you might have to install it manually. that's what most of the people here using the new smf have done. it is not that hard, except you might run into some details like the ones i am having here and am still waiting for an answer.
Title: Re: SMF Arcade
Post by: Bigguy on August 15, 2005, 10:38:39 AM
Well I`m using smf 1.0.5 and I get other errors as well this is when trying to install anyone of the 3 versions of the arcade. Like I said I had the arcade installed on smf 1.0.3, then the server changed php versions and I had to upgrade the forum. I have tried installing when no other modifications are installed, upgrading the database reinstalling the whole thing. I have to keep the database its running on because it has everything in it so getting rid of it and starting with a new database is not an option.
Title: Re: SMF Arcade
Post by: Nitro on August 15, 2005, 10:46:39 AM
did you try www.smfarcade.com ?
Title: Re: SMF Arcade
Post by: johnm on August 15, 2005, 11:16:06 AM
Quote from: Bigguy on August 15, 2005, 10:38:39 AM
Well I`m using smf 1.0.5 and I get other errors as well this is when trying to install anyone of the 3 versions of the arcade. Like I said I had the arcade installed on smf 1.0.3, then the server changed php versions and I had to upgrade the forum. I have tried installing when no other modifications are installed, upgrading the database reinstalling the whole thing. I have to keep the database its running on because it has everything in it so getting rid of it and starting with a new database is not an option.

next time uninstall your mods first if possible back up the smfarcade tables then drop them install the mod then run arcade_sql.php then put your backed up data in to those tables run arcade_sql.php again
Title: Re: SMF Arcade
Post by: Bigguy on August 15, 2005, 11:41:25 AM
Quote from: johnm on August 15, 2005, 11:16:06 AM
Quote from: Bigguy on August 15, 2005, 10:38:39 AM
Well I`m using smf 1.0.5 and I get other errors as well this is when trying to install anyone of the 3 versions of the arcade. Like I said I had the arcade installed on smf 1.0.3, then the server changed php versions and I had to upgrade the forum. I have tried installing when no other modifications are installed, upgrading the database reinstalling the whole thing. I have to keep the database its running on because it has everything in it so getting rid of it and starting with a new database is not an option.

next time uninstall your mods first if possible back up the smfarcade tables then drop them install the mod then run arcade_sql.php then put your backed up data in to those tables run arcade_sql.php again


Well I`m not very good with database stuff but I might poke around in there in a bit, thanks for the suggestion.
And NitroRich I`m over at smf arcade right now checking things out, thanks for your suggestion.
Title: Re: SMF Arcade
Post by: tentronik on August 15, 2005, 03:39:12 PM
Anyone,
I got two questions:

1. - where can i see/find a readme about the new additions and fixes?
2. - How can i fix  the id and game error from sources/display.php fixed?

Thanks in advance
Title: Re: SMF Arcade
Post by: Bigguy on August 16, 2005, 03:03:59 PM
I keep getting this error everytime I install arcade 1.2.3 on smf 1.0.5

Execute Modification          Themes/default/Display.template.php               Failure

If the fix for this has been mentioned sorry about missing it. But how do I fix this ??
Title: Re: SMF Arcade
Post by: Nitro on August 16, 2005, 03:28:23 PM
go to www.smfgames.com they have a FAQ section and a fix for this problem.
Title: Re: SMF Arcade
Post by: Bigguy on August 16, 2005, 03:47:06 PM
Ok I just did that and I still get the same error. Does it matter if you have other mods installed or should they come out first.
Title: Re: SMF Arcade
Post by: Bigguy on August 16, 2005, 07:09:59 PM
Can no one help or am I just asking dumb questions ??
Title: Re: SMF Arcade
Post by: tentronik on August 16, 2005, 07:12:00 PM
Hi Bigguy,
you can add the modification yourself to the display.template.php see the last 3 pages there are detailed instructions.
Its just 1 pasting action actually :)
Title: Re: SMF Arcade
Post by: tentronik on August 16, 2005, 07:15:16 PM
Oops 5 pages http://www.simplemachines.org/community/index.php?topic=29619.60
Title: Re: SMF Arcade
Post by: Bigguy on August 16, 2005, 07:21:59 PM
I have been at smfgames and copy and pasted the modifications into the display.template.php but I still get the same error. Something else thats wierd is that in my file manager in cpanel it tells me the arcade version is 1.2.3 and that is what I ftp`d up to the file manager, but in my admin panel it tells me its version 1.2.1 or something but the version number is different.
Title: Re: SMF Arcade
Post by: tentronik on August 16, 2005, 07:26:41 PM
It hasnt been updated 1.2.1 says my version too.

Did the code looke dlike this?


Open file: Themes/default/Display.template.php

Hit F3 or STRG-F and search for:
Code:

', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';


After this past:
Code:

if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
Title: Re: SMF Arcade
Post by: Bigguy on August 16, 2005, 07:31:59 PM
Yes it did. thats what I used.
Title: Re: SMF Arcade
Post by: johnm on August 17, 2005, 03:59:57 AM
im hoping that you didnt paste the comments that were at the top of the code block!!

should be

if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}

this might have changed in the latest releases so ill check,
but you will need two sets of code one goes in Display.php and the other in Display.template.php
Title: Re: SMF Arcade
Post by: Bigguy on August 17, 2005, 10:42:07 AM
I`m not to sure, is that what you have posted is just the comments from the code block ?
Title: Re: SMF Arcade
Post by: tentronik on August 17, 2005, 12:11:34 PM
Yes i posted the comments too.
Just past what johnm attached and thats it.
Title: Re: SMF Arcade
Post by: nokonium on August 17, 2005, 12:53:41 PM
On the board that I co-admin we use the Karma for 'appreciating' cockups and general naffness. Dr Fuss Bogle awards points based on the magnitude of the cockup, the stupidity that led to an FDISK etc.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2FDr_Fuss-Bogle%2FYou%2520have%2520been%2Fbp-asking.gif&hash=62bcede322499464b79bb8db7382f0042a910a13)
Title: Re: SMF Arcade
Post by: Richard North on August 17, 2005, 02:43:53 PM
Quote from: nokonium on August 17, 2005, 12:53:41 PM

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2FDr_Fuss-Bogle%2FYou%2520have%2520been%2Fbp-asking.gif&hash=62bcede322499464b79bb8db7382f0042a910a13)

Maybe we should make a 'special award' in 'appreciation' of all your hours of sheer exasperation with that arcade mod...  :o

Do you want to tell him, or shall I?  ;)

I've not been banned here yet...  8)
Title: Re: SMF Arcade
Post by: kat on August 17, 2005, 03:09:32 PM
I don't know what the hassles are, coz it works fine, for me... ;)

As far as I know...
Title: Re: SMF Arcade
Post by: johnm on August 17, 2005, 03:55:02 PM
I think it maybe down to the number of bugs and problems that a lot of people have had/are having. with this mod.

were currently looking in to getting the docs up to date and debuging the mod, but time goes by very quickly on the net....
Title: Re: SMF Arcade
Post by: Bigguy on August 17, 2005, 03:56:48 PM
Ok I just wanted to let everyone know that I have gotten the arcade installed. I renamed the table "smf_games_caterogy" to "smf_games_category" that took care of the problem I was having with the error message telling me that "smf_games_category doesn`t exist" I was also getting an error in package manager about if failing to execute a modification in display.template.php I think it was. I gnored that warning when installing. It seems to be working now, just going to try installing some games. Hope this helped someone.
Title: Re: SMF Arcade
Post by: johnm on August 17, 2005, 04:10:22 PM
Quote from: Bigguy on August 17, 2005, 03:56:48 PM
Ok I just wanted to let everyone know that I have gotten the arcade installed. I renamed the table "smf_games_caterogy" to "smf_games_category" that took care of the problem I was having with the error message telling me that "smf_games_category doesn`t exist" I was also getting an error in package manager about if failing to execute a modification in display.template.php I think it was. I gnored that warning when installing. It seems to be working now, just going to try installing some games. Hope this helped someone.

glad you finaly got it to work
Title: Re: SMF Arcade
Post by: Bigguy on August 17, 2005, 05:15:51 PM
yep I have smfarcade 1.2.3 running on smf 1.0.5 with simpleportal 1.1, simpledownload 1.1.1, shop 1.1 (build4) and its all running fine. Thank you all for your help.
Title: Re: SMF Arcade
Post by: tentronik on August 17, 2005, 05:22:42 PM
Quoteyep I have smfarcade 1.2.3 running on smf 1.0.5 with simpleportal 1.1, simpledownload 1.1.1, shop 1.1 (build4) and its all running fine. Thank you all for your help.
And its open source!

:D

Cheers
Title: Re: SMF Arcade
Post by: Bigguy on August 17, 2005, 09:29:37 PM
Yep thats one of the best parts for sure, now I got to get a bit of help with a couple other things and I`m golden. Thanks again guys.
Title: Re: SMF Arcade
Post by: spleen1015 on August 18, 2005, 03:21:59 PM
Hey guys. I need a little help installing this thing. I am getting the following error when I try to install it:

2: copy(index.php~): failed to open stream: Permission denied
File: /home/spleen/public_html/smf/Sources/Subs-Package.php
Line: 1241

I would do a search but it is disabled it seems.
Title: Re: SMF Arcade
Post by: Juggler on August 18, 2005, 03:25:53 PM
ftp in and delete the index.php~ file (It's only a back up) and also make sure that subs-package.php is CHMOD'ed to 777
Title: Re: SMF Arcade
Post by: spleen1015 on August 18, 2005, 03:29:55 PM
Thanks! That helped me get installed, but now I have 3 'Games' buttons at the top of my board. How can I get it down to 1?

I tried uninstalliong the mod and that left me with 2 of them.
Title: Re: SMF Arcade
Post by: rider on August 18, 2005, 06:46:52 PM
Quote from: spleen1015 on August 18, 2005, 03:29:55 PM
Thanks! That helped me get installed, but now I have 3 'Games' buttons at the top of my board. How can I get it down to 1?

I tried uninstalliong the mod and that left me with 2 of them.

Hi if you go to smfgames.com and check the FAQ forum most of the problems you're having can be fixed,including the one for too many buttons.Hope this helps.
Title: Re: SMF Arcade
Post by: Juggler on August 19, 2005, 03:09:56 AM
ah yes, we've all gone through the multiple buttons problem at some pont or another. As above check out SMFgames.com as there is lots of useful tips, tricks and advice you can get there plus all the game packs too.
Title: Re: SMF Arcade
Post by: Richard North on August 19, 2005, 10:55:07 AM
Quote from: johnm on August 17, 2005, 03:55:02 PM

debuging the mod

That's what's at the root of most of the bugs... decent code, but very poorly typed...  :-X
Title: Re: SMF Arcade
Post by: trenchteam on August 26, 2005, 06:46:36 AM
Im getting this error.

QuoteYou have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
File: /XXXXXX/XXXXXX/public_html/forum/Sources/Display.php
Line: 673

Not sure what this means?  Everything installed great.  I am running SMF 1.1b public and the latest arcade. It says 1.2.1 even though I dl 1.2.3

Title: Re: SMF Arcade
Post by: trenchteam on August 26, 2005, 07:32:05 AM
^ gah! got it working. changed the permissions, the re-ran the SQL.  It works! ;D
Title: Re: SMF Arcade
Post by: Fiery on August 27, 2005, 07:42:17 PM
I have added the section you need in the permissions for the arcade, but prople still cant access the arcade, its open but only i have access.  The added code is:

'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),


Any ideas?
Thanks
Title: Re: SMF Arcade
Post by: ^Raven^ on August 27, 2005, 07:47:38 PM
I've tried to use the SMF search feature but it has been momentarily disabled due to high stress on the server or so the pop-up message says.  Anyway, I'm receiving an error message I need some help with,.

Table 'bleebiz_forum.smf_games_category' doesn't exist
File: /home/bleebiz/public_html/swforum/Sources/ArcadeAdmin.php
Line: 299

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

How do I go about fixing this?  I tried going to http://swforum.blee.biz/upgrade.php but got a 404 error.  Would I go somewhere else to fix this?
Title: Re: SMF Arcade
Post by: CODude on August 28, 2005, 01:04:40 AM
Something went wrong :S

At my website, after it's installed, it's just like blank. It does work and everything but there are no games or anything of anything. Any help appreciated!

Link: http://cristianosenlinea.org/foros/index.php?action=arcade

Thanks!
Title: Re: SMF Arcade
Post by: rider on August 28, 2005, 10:09:38 AM
Quote from: ^Raven^ on August 27, 2005, 07:47:38 PM
I've tried to use the SMF search feature but it has been momentarily disabled due to high stress on the server or so the pop-up message says.  Anyway, I'm receiving an error message I need some help with,.

Table 'bleebiz_forum.smf_games_category' doesn't exist
File: /home/bleebiz/public_html/swforum/Sources/ArcadeAdmin.php
Line: 299

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

How do I go about fixing this?  I tried going to http://swforum.blee.biz/upgrade.php but got a 404 error.  Would I go somewhere else to fix this?

Have you tried to run the arcade_sql.php more than once.That might work.Another way to fix this is by deleting that table from your database and reinstalling the arcade.Also if you go to smfgames.com and check out the FAQ forum you'll find most of your answers.Hope this helps.
Title: Re: SMF Arcade
Post by: rider on August 28, 2005, 10:12:30 AM
Quote from: pmp6nl on August 27, 2005, 07:42:17 PM
I have added the section you need in the permissions for the arcade, but prople still cant access the arcade, its open but only i have access.  The added code is:

'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),


Any ideas?
Thanks

Have you go into your admin panel and into the edit permissions for each group and set up permissions there as well.
Title: Re: SMF Arcade
Post by: rider on August 28, 2005, 10:14:08 AM
Quote from: ^Raven^ on August 27, 2005, 07:47:38 PM
I've tried to use the SMF search feature but it has been momentarily disabled due to high stress on the server or so the pop-up message says.  Anyway, I'm receiving an error message I need some help with,.

Table 'bleebiz_forum.smf_games_category' doesn't exist
File: /home/bleebiz/public_html/swforum/Sources/ArcadeAdmin.php
Line: 299

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

How do I go about fixing this?  I tried going to http://swforum.blee.biz/upgrade.php but got a 404 error.  Would I go somewhere else to fix this?

also you can try this as well...Ok I just wanted to let everyone know that I have gotten the arcade installed. I renamed the table "smf_games_caterogy" to "smf_games_category" that took care of the problem I was having with the error message telling me that "smf_games_category doesn`t exist" I was also getting an error in package manager about if failing to execute a modification in display.template.php I think it was. I gnored that warning when installing. It seems to be working now, just going to try installing some games. Hope this helped someone
Title: Re: SMF Arcade
Post by: Fiery on August 28, 2005, 01:16:58 PM
Quote from: rider on August 28, 2005, 10:12:30 AM
Quote from: pmp6nl on August 27, 2005, 07:42:17 PM
I have added the section you need in the permissions for the arcade, but prople still cant access the arcade, its open but only i have access.  The added code is:

'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),


Any ideas?
Thanks

Have you go into your admin panel and into the edit permissions for each group and set up permissions there as well.

O,ok that fixed it... thanks
Title: Re: SMF Arcade
Post by: ^Raven^ on August 28, 2005, 02:00:07 PM
Yeah CODude.  I fixed my problem but now like you the arcade is instsalled but no games are.  I don't know how to get the games installed.
Title: Re: SMF Arcade
Post by: rider on August 28, 2005, 03:28:09 PM
Quote from: ^Raven^ on August 28, 2005, 02:00:07 PM
Yeah CODude.  I fixed my problem but now like you the arcade is instsalled but no games are.  I don't know how to get the games installed.

D/L the games from smfgames.com.Then you have to upload the games to your FTP.put them in the games folder and then install them thru the arcade settings in your admin panel.Hope this helps
Title: Re: SMF Arcade
Post by: rider on August 28, 2005, 03:30:35 PM
Quote from: pmp6nl on August 28, 2005, 01:16:58 PM
Quote from: rider on August 28, 2005, 10:12:30 AM
Quote from: pmp6nl on August 27, 2005, 07:42:17 PM
I have added the section you need in the permissions for the arcade, but prople still cant access the arcade, its open but only i have access.  The added code is:

'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),


Any ideas?
Thanks

Have you go into your admin panel and into the edit permissions for each group and set up permissions there as well.

O,ok that fixed it... thanks

Glad it worked for you. ;D
Title: Re: SMF Arcade
Post by: [wicked] on August 28, 2005, 08:04:17 PM
Hi all,

I love the sound of this mod and have uploaded the .zip via package manager and then clicked Proceed.

It unpacks a few files and then gives me this

Some  of the files this package needs to modify are not writable. This needs to be changed by logging into FTP and chmoding the files.

I put my ftp details into the provided box's and click proceed and nothing happens? I know my ftp settings are correct!.. any ideas please?
Title: Re: SMF Arcade
Post by: rider on August 28, 2005, 09:19:47 PM
Quote from: [wicked] on August 28, 2005, 08:04:17 PM
Hi all,

I love the sound of this mod and have uploaded the .zip via package manager and then clicked Proceed.

It unpacks a few files and then gives me this

Some  of the files this package needs to modify are not writable. This needs to be changed by logging into FTP and chmoding the files.

I put my ftp details into the provided box's and click proceed and nothing happens? I know my ftp settings are correct!.. any ideas please?

Did you reinstall it?did you run the arcade_sql.php.do you have a games button on the top of the forum..try to run the arcade_sql.php and go into the admin panel and enable the arcade thru the arcade settings.If you still need help grant me admin status and a link to your forum.I will get it going.
Title: Re: SMF Arcade
Post by: CODude on August 28, 2005, 09:50:47 PM
Sorry to bother, but I really can't find a thing to edit in the Admin section of my board. Where's it supposed to be and what's it supposed to say?
Title: Re: SMF Arcade
Post by: scrawl on August 28, 2005, 10:07:55 PM
Quote from: CODude on August 28, 2005, 09:50:47 PM
Sorry to bother, but I really can't find a thing to edit in the Admin section of my board. Where's it supposed to be and what's it supposed to say?

it should be under "Forum Configuration"

Edit Features and Options
Edit Server Settings
Current Theme's Settings
Theme and Layout Settings
Smileys and Smiley Sets
Arcade
Edit Censored Words
Edit Registration Agreement

or you can access it by going into the arcade.
Title: Re: SMF Arcade
Post by: rider on August 28, 2005, 11:10:36 PM
Quote from: CODude on August 28, 2005, 09:50:47 PM
Sorry to bother, but I really can't find a thing to edit in the Admin section of my board. Where's it supposed to be and what's it supposed to say?

pm me a link to your site and i'll have a look for you.
Title: Re: SMF Arcade
Post by: CODude on August 28, 2005, 11:50:59 PM
thanks for helping, but I can't see it :\ and when I go to the arcade there's no edit button or anything.
Title: Re: SMF Arcade
Post by: vol_freak on August 29, 2005, 12:18:49 AM
Quote from: CODude on August 28, 2005, 11:50:59 PM
thanks for helping, but I can't see it :\ and when I go to the arcade there's no edit button or anything.

I am having the same problem. anyone?
Title: Re: SMF Arcade
Post by: rider on August 29, 2005, 01:40:07 AM
do you have a games button and if you do what happens when you click on it.also post a link to your site and i'll try to help.
Title: Re: SMF Arcade
Post by: trenchteam on August 29, 2005, 03:30:51 AM
my games button didn't show up in the default theme, so I added it manually
Title: Re: SMF Arcade
Post by: judymcl on August 29, 2005, 02:48:28 PM
Hi, I installed SMF 1.05 and installed the smfgames module 1.2.3. The arcade is the only module I am using.

Editing games descriptions text issue:

I have searched here and the smfgames site, but unfortunately have not found an answer.  I have installed about 6 or so games and that went ok, but I cannot go back and edit the description/help text for any of them or place them into a category. (They are un-categorized for now.) I get an error stating "Please fill form completely". I have no idea what would be missing, as all areas are filled in.

I am also not sure how the categories work. All I see after I create one is it listed with a checkbox in the search area. I am just not sure how the categories are supposed to be displayed I guess.

I don't know what fixes I should or should not apply as I did get the newest version, so I don't know if the issues have been addressed or not.

I do not know why because I did download the 1.2..3 package, but it shows as 1.2.2 in my arcade admin panel. Yet it shows 1.2.3 in the public area of the arcade.

My SMF itself runs perfectly, it's just the module giving me issues.

(I had posted this on the smfgames support forum days ago, but I am assuming they are too busy at this time with other things, so I thought it would be best to post it to the arcade thread here in hopes that someone else has run across the same issue with editing the game descriptions text.)

Thanks for any help,
Ruskin
Title: Re: SMF Arcade
Post by: Mobilemick on August 29, 2005, 02:55:08 PM
Yeah ,  i cant find the Games icon anywhere, 
Also when i unzipped all the files, I ran the arcade.sql.php  and install screen said it was all OK.

but what about the other files ,  were do these go,  :)


Thanks
Mick
Title: Re: SMF Arcade
Post by: judymcl on August 30, 2005, 04:23:22 PM

Update on my situation:

I decided to just reinstall the module to see what would happen, and for whatever reason it seems to be working now. I think some things were missing on the 1st installation, and it seems to be ok now. I am able to edit descriptions, change a game's category, and add new games.

Thanks very much anyway, it works great now!
Ruskin
Title: Re: SMF Arcade
Post by: trenchteam on August 30, 2005, 08:42:38 PM
Quote from: Mobilemick on August 29, 2005, 02:55:08 PM
Yeah ,  i cant find the Games icon anywhere, 
Also when i unzipped all the files, I ran the arcade.sql.php  and install screen said it was all OK.

but what about the other files ,  were do these go,  :)


Thanks
Mick

try the default theme. Your runing a custom theme, and your'll have to add the button yourself. 

Try http://youraddress.com/YOURFORUM//index.php?action=arcade

If it appears, you should be in business.
Title: Re: SMF Arcade
Post by: Jazhawk on August 31, 2005, 07:50:03 PM
Quote from: rider on August 28, 2005, 10:14:08 AM
Quote from: ^Raven^ on August 27, 2005, 07:47:38 PM
I've tried to use the SMF search feature but it has been momentarily disabled due to high stress on the server or so the pop-up message says.  Anyway, I'm receiving an error message I need some help with,.

Table 'bleebiz_forum.smf_games_category' doesn't exist
File: /home/bleebiz/public_html/swforum/Sources/ArcadeAdmin.php
Line: 299

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

How do I go about fixing this?  I tried going to http://swforum.blee.biz/upgrade.php but got a 404 error.  Would I go somewhere else to fix this?

also you can try this as well...Ok I just wanted to let everyone know that I have gotten the arcade installed. I renamed the table "smf_games_caterogy" to "smf_games_category" that took care of the problem I was having with the error message telling me that "smf_games_category doesn`t exist" I was also getting an error in package manager about if failing to execute a modification in display.template.php I think it was. I gnored that warning when installing. It seems to be working now, just going to try installing some games. Hope this helped someone

I'm getting the same error.  How do you rename a table?  I think I found it.

-Jazhawk
Title: Re: SMF Arcade
Post by: Mobilemick on September 01, 2005, 05:47:32 AM
Quotetry the default theme. Your runing a custom theme, and your'll have to add the button yourself.

Try http://youraddress.com/YOURFORUM//index.php?action=arcade

If it appears, you should be in business.

Ran that address and it took me to my site www.mobilemick.com/smf2

still no sign of a games button,
How do i add it manually  :)

Thanks
Mick

p.s,  found the games.gif button, and uploaded it to FTP. but still cant see it on me hompage  ;(
Title: Re: SMF Arcade
Post by: scrawl on September 01, 2005, 06:48:08 AM
i'm pretty sure this is the code for the default theme, if you use another theme it might be a little different but you'll be able to change it to work

<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'];
Title: Re: SMF Arcade
Post by: Mobilemick on September 01, 2005, 06:53:45 AM
thanks m8,  i am usingthe defaulttheme now,  waht file do i putthat in is it index.php


Mick
Title: Re: SMF Arcade
Post by: scrawl on September 01, 2005, 07:25:22 AM
Quote from: Mobilemick on September 01, 2005, 06:53:45 AM
thanks m8,  i am usingthe defaulttheme now,  waht file do i putthat in is it index.php


Mick

just put it in "index.template.php" file. Scroll down in the code and you'll see the code for the other buttons and just put it in where you want the button to appear.
Title: Re: SMF Arcade
Post by: Mobilemick on September 01, 2005, 07:41:56 AM
Ahhh.  Ok m8 i now have a games button,  But i click on it and it doesnt go anywhere. ??  what do i point it to.  or shall i run the installer again. :)

Determined to ge this arcade working  lol


thanks
Mick
Title: Re: SMF Arcade
Post by: trenchteam on September 01, 2005, 07:57:25 AM
did you try

http://www.yoursite.com/forumfolder/index.php?action=arcade
Title: Re: SMF Arcade
Post by: Mobilemick on September 01, 2005, 10:41:29 AM
Yeah trenchteam  i tried that and it just took me back to my index page...??

:)

Mick
Title: Re: SMF Arcade
Post by: Mobilemick on September 01, 2005, 05:26:22 PM
A little more progress :)

Now when i click on Games icon it takes me to this page :- http://www.mobilemick.com/smf2/index.php?action=arcade

I get a error

Mick

(Test account

user - test
pass - test
Title: Re: SMF Arcade
Post by: Aravot on September 01, 2005, 05:58:57 PM
Go to arcade Admin --> Arcade settings and enable arcade
Title: Re: SMF Arcade
Post by: Mobilemick on September 01, 2005, 07:28:20 PM
When i do goto admin panel , and try to install game i get :-
Quote2: arcadeadmin_games(./getid3/getid3.php): failed to open stream: No such file or directory
File: /home/mick/domains/mobilemick.com/public_html/smf2/Sources/Arcade.php
Line: 916

?

Thx
Mick
Title: Re: SMF Arcade
Post by: zhoushi on September 01, 2005, 10:13:03 PM
Seems someone forgot several $boarddir in the files arcade2.xml and arcade.xml
e.g. <file name="index.php"> should be <file name="$boarddir/index.php">
Title: Re: SMF Arcade
Post by: Mobilemick on September 02, 2005, 03:28:43 AM
Quote2: smf_main(/home/mick/domains/mobilemick.com/public_html/smf2/Sources/Arcade.php): failed to open stream: No such file or directory
File: /home/mick/domains/mobilemick.com/public_html/smf2/index.php
Line: 320


More Problems...  If i edit display.template.php (as per instructions in ReadMe) i get this error when clicking on Games tab.  also when i click on a subject in forum, i get a template error, if i restore backup of display.template.php all me links work again, but error message still there.  :)

Thanks
Mick
Title: Re: SMF Arcade
Post by: johnm on September 02, 2005, 06:15:35 AM
check that that file exists and if it does chmod it to 0777
Title: Re: SMF Arcade
Post by: Mobilemick on September 02, 2005, 10:59:42 AM
Haaa...!!!  Arcade.php was missing  Doh!!  8) (i was looking at index.php.

Ok now problems installing games   lol

:(

:(

Mick
Title: Re: SMF Arcade
Post by: rider on September 02, 2005, 11:20:01 AM
Quote from: Mobilemick on September 02, 2005, 10:59:42 AM
Haaa...!!!  Arcade.php was missing  Doh!!  8) (i was looking at index.php.

Ok now problems installing games   lol

:(

:(

Mick

To install the games you have to put them in the games folder in your ftp and install them thru your admin panel on your site.Also you have to set your permissions for each member group in order for them to view the arcade.The games can be D/L from the smfgames.com site.
Title: Re: SMF Arcade
Post by: Mobilemick on September 02, 2005, 12:27:14 PM
mobilemick.com/public_html/smf2/Games ..   think i had to create Games Folder.

is this the right place

why does the error message say
mobilemick.com/public_html/smf2/Sources/Arcade.php

?

Thanks
Mick
Title: Re: SMF Arcade
Post by: rider on September 02, 2005, 12:43:31 PM
Quote from: Mobilemick on September 02, 2005, 12:27:14 PM
mobilemick.com/public_html/smf2/Games ..   think i had to create Games Folder.

is this the right place

why does the error message say
mobilemick.com/public_html/smf2/Sources/Arcade.php

?

Thanks
Mick

Yup thats the right folder and when are you getting that error message?
Title: Re: SMF Arcade
Post by: Mobilemick on September 02, 2005, 03:28:01 PM
Ok  Fixed now,  had to uploade .get  file as well,

Thanks everyone who replied or thought about replying.

Mick

Maybe i`ll make a IDIOTS guide on how to install this Arcade Mod  :)


Mick
Title: Re: SMF Arcade
Post by: CODude on September 02, 2005, 07:12:52 PM
rider, I figure that you've been busy, but I still haven't been able to have my arcade work. the url I set in my pm, remember?
Title: Re: SMF Arcade
Post by: rider on September 02, 2005, 08:07:27 PM
Quote from: CODude on September 02, 2005, 07:12:52 PM
rider, I figure that you've been busy, but I still haven't been able to have my arcade work. the url I set in my pm, remember?

Sorry for the late response,I've been busy.I think the problem is you need to have a italian langauge file to make it work.I tried to change it so I can view the site in english but I can't.i know someone on the arcade support site is working on doing a translation for italian lang.php for the arcade.Hopefully soon so we can get it working.Hang in there we'll get it working.
Title: Re: SMF Arcade
Post by: Jazhawk on September 02, 2005, 08:41:03 PM
ooooo scary.  I got most of this to work.  Looking back it really wasn't too hard to do.  Now I need some games a little bit better than pong, donkey kong and jewels.

Good job guys.  Any links to some games would be appreciated too!   :D

-Jazhawk
Title: Re: SMF Arcade
Post by: diane_tt on September 02, 2005, 08:41:13 PM
Quote from: Mobilemick on September 02, 2005, 03:28:01 PM
Ok  Fixed now,  had to uploade .get  file as well,

Thanks everyone who replied or thought about replying.

Mick

Maybe i`ll make a IDIOTS guide on how to install this Arcade Mod  :)


Mick

yes please, dummy here   :-[ i'd greatly appreciate that

i'm running 1.0.5, been searching for smf arcade 1.1 with no luck...could i please have it? thank you!
Title: Re: SMF Arcade
Post by: diane_tt on September 02, 2005, 09:20:01 PM
Quote from: Bigguy on August 17, 2005, 03:56:48 PM
Ok I just wanted to let everyone know that I have gotten the arcade installed. I renamed the table "smf_games_caterogy" to "smf_games_category" that took care of the problem I was having with the error message telling me that "smf_games_category doesn`t exist" I was also getting an error in package manager about if failing to execute a modification in display.template.php I think it was. I gnored that warning when installing. It seems to be working now, just going to try installing some games. Hope this helped someone.

definitely lost....someone please help me? how do i rename a table?
Title: Re: SMF Arcade
Post by: Jazhawk on September 02, 2005, 09:33:10 PM
Quote from: diane_tt on September 02, 2005, 09:20:01 PM
Quote from: Bigguy on August 17, 2005, 03:56:48 PM
Ok I just wanted to let everyone know that I have gotten the arcade installed. I renamed the table "smf_games_caterogy" to "smf_games_category" that took care of the problem I was having with the error message telling me that "smf_games_category doesn`t exist" I was also getting an error in package manager about if failing to execute a modification in display.template.php I think it was. I gnored that warning when installing. It seems to be working now, just going to try installing some games. Hope this helped someone.

definitely lost....someone please help me? how do i rename a table?

Their maybe a simpler way but head into MySQL and find the games table.  Probably called whatever your board name is, i.e. boardname_games_catagory.  But it will be misspelled catergory or whatever it was.

Click the button on that line called "Structure".

Then on top, click the "operations" link.

Find the label named Rename table to:

and enter the name you need.  Then click GO.

It's what worked in my case.

-Jazhawk

Title: Re: SMF Arcade
Post by: diane_tt on September 03, 2005, 02:05:48 AM
Quote from: Jazhawk on September 02, 2005, 09:33:10 PM

Their maybe a simpler way but head into MySQL and find the games table.  Probably called whatever your board name is, i.e. boardname_games_catagory.  But it will be misspelled catergory or whatever it was.

Click the button on that line called "Structure".

Then on top, click the "operations" link.

Find the label named Rename table to:

and enter the name you need.  Then click GO.

It's what worked in my case.

-Jazhawk



^ omg that worked thank you for going step by step for me!!  :-* ty ty !
Title: Re: SMF Arcade
Post by: Jazhawk on September 03, 2005, 02:09:10 AM
Quote from: diane_tt on September 03, 2005, 02:05:48 AM
Quote from: Jazhawk on September 02, 2005, 09:33:10 PM

Their maybe a simpler way but head into MySQL and find the games table.  Probably called whatever your board name is, i.e. boardname_games_catagory.  But it will be misspelled catergory or whatever it was.

Click the button on that line called "Structure".

Then on top, click the "operations" link.

Find the label named Rename table to:

and enter the name you need.  Then click GO.

It's what worked in my case.

-Jazhawk



^ omg that worked thank you for going step by step for me!!  :-* ty ty !

Frightning isn't it? :)
Glad it worked out for you.

-Jazhawk
Title: Re: SMF Arcade
Post by: John Slater on September 03, 2005, 01:21:39 PM
where can i download some games for it then?
Title: Re: SMF Arcade
Post by: redone on September 03, 2005, 01:28:15 PM
Link is in my sig for games for the mod.

www.smfgames.com

;)
Title: Re: SMF Arcade
Post by: John Slater on September 03, 2005, 02:08:38 PM
this is the error i get when i run the sql_install file

Connected and Selected Database
Finding tables... 115 tables in database
Table 'pd_members.smf_games_category' doesn't exist
Title: Re: SMF Arcade
Post by: diane_tt on September 03, 2005, 03:02:43 PM
Quote from: John Slater on September 03, 2005, 02:08:38 PM
this is the error i get when i run the sql_install file

Connected and Selected Database
Finding tables... 115 tables in database
Table 'pd_members.smf_games_category' doesn't exist

john that's the same error i got, try renaming the table. see previous posts just within the past couple of pages that has helped me. hope i help you.
Title: Re: SMF Arcade
Post by: diane_tt on September 03, 2005, 03:13:26 PM
i have installed a game or two, but when i click on games and it shows the list, it doesn't show the picture....how can i fix that? i attached screenshot of the picture that isn't working thank you in advance!

http://img22.imageshack.us/img22/4396/nopicshow0hw.jpg

and i noticed that when members tried try to play the game they get this message

An Error Has Occurred!
You arent allowed to view arcade, sorry!   

i have enabled the arcade....the field in arcade settings ----> check to enable arcade but the status message always says Arcade Have Been Disabled Automatically before performing update?

uh-oh i've noticed when i go to permission i get this error

Parse error: parse error, unexpected ',', expecting ')' in /home/thai/public_html/main/Sources/ManagePermissions.php on line 995

found out line 955...it's the screenshot below
http://img189.imageshack.us/img189/4864/line9553rz.jpg

any suggestions please? thank you  :D
Title: Re: SMF Arcade
Post by: Jazhawk on September 03, 2005, 05:55:37 PM
Quote from: diane_tt on September 03, 2005, 03:13:26 PM
i have installed a game or two, but when i click on games and it shows the list, it doesn't show the picture....how can i fix that? i attached screenshot of the picture that isn't working thank you in advance!

http://img22.imageshack.us/img22/4396/nopicshow0hw.jpg

and i noticed that when members tried try to play the game they get this message

An Error Has Occurred!
You arent allowed to view arcade, sorry!   

i have enabled the arcade....the field in arcade settings ----> check to enable arcade but the status message always says Arcade Have Been Disabled Automatically before performing update?

uh-oh i've noticed when i go to permission i get this error

Parse error: parse error, unexpected ',', expecting ')' in /home/thai/public_html/main/Sources/ManagePermissions.php on line 995

found out line 955...it's the screenshot below
http://img189.imageshack.us/img189/4864/line9553rz.jpg

any suggestions please? thank you  :D

Where did it get this path from:
Quotehttp://img22.imageshack.us/img22/4396/nopicshow0hw.jpg
The jpg or gif for the game should be in the same folder your games are stored.  If there is another path to get there, someone will correct me shortly. :D

In your admin window, head into Arcade/ Arcade Settings
On the path information, it should look like:
Games Directory: (Path) /Games
Games Directory (URL): http://domainname.com/foldername/Games

Also, in order for someone other than the admin to play, from admin panel
Head into: Edit Permissions
Then: Permissions by Membergroup
Then: Modify link for the specific group you need to have permissions to use it.  i.e. Noobs, full member or whatever your ranking list says.

Find the games permissions and change it from X to A to allow users to see and play.  You'll figure it out when you see it.


-Jazhawk
Title: Re: SMF Arcade
Post by: Mobilemick on September 03, 2005, 07:18:03 PM
When you goto http://www.smfgames.com/  download the full package of games,  and all pictures work fine

hth

Mick
Title: Re: SMF Arcade
Post by: diane_tt on September 03, 2005, 10:18:06 PM
Quote from: Jazhawk on September 03, 2005, 05:55:37 PM

Also, in order for someone other than the admin to play, from admin panel
Head into: Edit Permissions
Then: Permissions by Membergroup
Then: Modify link for the specific group you need to have permissions to use it.  i.e. Noobs, full member or whatever your ranking list says.

Find the games permissions and change it from X to A to allow users to see and play.  You'll figure it out when you see it.


-Jazhawk


thanks for replying Jazhawk! actually, that's the problem that i'm getting with line 955....when i go to edit permissions....line 955.....guess i messed up my ManagePermissions.php  :-[ and hmm....i did make sure all paths were the same....i downloaded the package 0 from smfgames a while back....maybe i should see if i can uninstall and start all over? new package..upload new files?
Title: Re: SMF Arcade
Post by: Jazhawk on September 03, 2005, 10:22:43 PM
Either method of recovery would work I suppose.   I've boogered up SMF a few times before it made sense to me.   ;)

-Jazhawk
Title: Re: SMF Arcade
Post by: zhoushi on September 03, 2005, 11:04:21 PM
OK, I've finished the Chinese Version, it works fine!
Download from (please register first): http://www.mambo.cn/index.php?option=com_docman&task=cat_view&Itemid=1&gid=37&orderby=dmdate_published&ascdesc=DESC (http://www.mambo.cn/index.php?option=com_docman&task=cat_view&Itemid=1&gid=37&orderby=dmdate_published&ascdesc=DESC)
Title: Re: SMF Arcade
Post by: rider on September 03, 2005, 11:23:14 PM
Quote from: diane_tt on September 03, 2005, 10:18:06 PM
Quote from: Jazhawk on September 03, 2005, 05:55:37 PM

Also, in order for someone other than the admin to play, from admin panel
Head into: Edit Permissions
Then: Permissions by Membergroup
Then: Modify link for the specific group you need to have permissions to use it.  i.e. Noobs, full member or whatever your ranking list says.

Find the games permissions and change it from X to A to allow users to see and play.  You'll figure it out when you see it.


-Jazhawk


thanks for replying Jazhawk! actually, that's the problem that i'm getting with line 955....when i go to edit permissions....line 955.....guess i messed up my ManagePermissions.php  :-[ and hmm....i did make sure all paths were the same....i downloaded the package 0 from smfgames a while back....maybe i should see if i can uninstall and start all over? new package..upload new files?
if you check out the FAQ at smfgames .com you'll find a managepermissions.php already modified.If you use that copy the error should go away.You shouldn't have to uninstall it.If you're still having problems post a link to your site and I'll try to help.
Title: Re: SMF Arcade
Post by: mlrocks1 on September 04, 2005, 12:50:23 AM
Hello! looks like theres a problem... with my arcade ... i installed the mod but theres not arcade settings .. i just go to arcade admin and i see this

 
| | | | | 









SMFArcade 1.2.3 Released @ August 10, 2005, 11:15:17 AM

Mkarcade - release @ August 10, 2005, 01:05:28 AM

Champions @ August 04, 2005, 10:22:43 AM

MKarcade @ August 04, 2005, 10:20:51 AM
MkArcade Beta1 @ July 27, 2005, 01:10:49 AM
Live support when available @ July 19, 2005, 02:36:44 AM
Theme changed @ July 19, 2005, 02:29:46 AM
My Absence @ July 13, 2005, 08:53:05 PM
Java/css Menu added @ July 11, 2005, 10:51:14 PM
Support system upgraded @ July 07, 2005, 02:43:29 PM


just news//// what can i do... any comments?
Title: Re: SMF Arcade
Post by: mlrocks1 on September 04, 2005, 01:35:37 AM
i mean how can i enable it... help pleasee
Title: Re: SMF Arcade
Post by: tentronik on September 04, 2005, 05:14:23 AM
Try changing to default theme IF your install procedure gave you successful checks during install (Check your mod installed files from the package manager).
If you encountered failed install infos on diffrent files you need to add the modifications manually(search this topic - basicly all is said here).

Also to enable ARCADE you need to enable the mod from the mod admin and from permissions - from the main forum admin.
If this is not possible the mod isn`t complete installed yet.
Title: Re: SMF Arcade
Post by: niko on September 04, 2005, 07:57:21 AM
There is also problems in 1.1b3 packgage manager... it says all succesful... but it in reality it did nothing...
this problem at least on my testing server and avatar upload not working neither attachment gets thumbnails...
its still very buggy.

if you wonder why domain doesnt work it did expire and i cant renew it...
Title: Re: SMF Arcade
Post by: diane_tt on September 04, 2005, 01:11:56 PM
Quote from: Jazhawk on September 03, 2005, 10:22:43 PM
Either method of recovery would work I suppose.   I've boogered up SMF a few times before it made sense to me.   ;)

-Jazhawk
lol me agrees, but it's a great great great thing!!  :D

Quote from: rider on September 03, 2005, 11:23:14 PM
Quote from: diane_tt on September 03, 2005, 10:18:06 PM
Quote from: Jazhawk on September 03, 2005, 05:55:37 PM

Also, in order for someone other than the admin to play, from admin panel
Head into: Edit Permissions
Then: Permissions by Membergroup
Then: Modify link for the specific group you need to have permissions to use it.  i.e. Noobs, full member or whatever your ranking list says.

Find the games permissions and change it from X to A to allow users to see and play.  You'll figure it out when you see it.


-Jazhawk


thanks for replying Jazhawk! actually, that's the problem that i'm getting with line 955....when i go to edit permissions....line 955.....guess i messed up my ManagePermissions.php  :-[ and hmm....i did make sure all paths were the same....i downloaded the package 0 from smfgames a while back....maybe i should see if i can uninstall and start all over? new package..upload new files?
if you check out the FAQ at smfgames .com you'll find a managepermissions.php already modified.If you use that copy the error should go away.You shouldn't have to uninstall it.If you're still having problems post a link to your site and I'll try to help.

omg....oops darn. i had already uninstalled from the board since i needed to edit some permissions and i'll download and upload a new package - thanks for the response rider! i'm going to reload my pictures into the directory and put the games up....wish me luck!  ;D

edit : OOOH i found the error there's an extra [ , ] at the end of the arcade!! thank you so much!!

----------------------------------------------------------------------

since i had uninstalled it and readded i now have two game buttons?  :o what php edits the header?
http://img168.imageshack.us/img168/8337/twogames2bz.jpg
Title: Re: SMF Arcade
Post by: bolo1122 on September 04, 2005, 04:48:41 PM
Ok maybe dumb question but gotta ask.. can flash games that run from vbulletin, can they run in SMF arcade? or how to make them work with smf, like scoring  and stuff.
Title: Re: SMF Arcade
Post by: johnm on September 04, 2005, 07:42:35 PM
they either need to be converted or you need to write a script to pass the info to the arcade mod
Title: Re: SMF Arcade
Post by: bolo1122 on September 04, 2005, 07:59:18 PM
ok i got the game from a buddy, a jewels game, and it came with a php script. I think its the one that loads it into vbulletin, can it be used for smf, or i have to make some changes?
Title: Re: SMF Arcade
Post by: diane_tt on September 04, 2005, 08:55:48 PM
^ i am not much help but i suggest going to smfgames and downloading their packages  ;D
Title: Re: SMF Arcade
Post by: bolo1122 on September 04, 2005, 10:09:59 PM
yeah im signed in there, got the packages, just my bud got vbulletin and a cool game (run n gun), so i was like darn can i get that on my board. Now if its impossible, fine i can deal with it.
Title: Re: SMF Arcade
Post by: rider on September 04, 2005, 10:28:53 PM
did you run the arcade_sql.php?.In the arcade settings you should have a option to enable the arcade.Post a link to your site and I'll have a look for you.
Title: Re: SMF Arcade
Post by: bolo1122 on September 04, 2005, 10:32:32 PM
yes my arcade has been up. all 58 games work fine, just this game came from the vbulletin section. I was already told that it needs to be converted or installed by a php file. I have the file (php) that came with it, just wanted to know if anyone actually done this, dont want to run that php file and get error that causes me to reinstall arcade again
Title: Re: SMF Arcade
Post by: rider on September 04, 2005, 10:41:59 PM
Quote from: bolo1122 on September 04, 2005, 10:32:32 PM
yes my arcade has been up. all 58 games work fine, just this game came from the vbulletin section. I was already told that it needs to be converted or installed by a php file. I have the file (php) that came with it, just wanted to know if anyone actually done this, dont want to run that php file and get error that causes me to reinstall arcade again

Sorry bud my reply was meant for someone from the previous page.Next time i'll quote the person.Glad its working for you and there's more games then 58.
Title: Re: SMF Arcade
Post by: Mobilemick on September 05, 2005, 04:06:55 PM
Did get Arcade working, but my site messed up, so trying to install it again,

Have uploaded Arcade, but games icon doesnt show, have tried adding the code(in previous topics)  but it still doesnt show,  or does Arcade show in admin panel  :(

Thanks
Mick
Title: Re: SMF Arcade
Post by: MasterOfHyrule on September 05, 2005, 05:30:30 PM
Have a little problem.  Need help!

Table 'jlieroxa_phpb1.smf_games_category' doesn't exist
File: /home/jlieroxa/public_html/moh/outofsiteauctions/forums/Sources/ArcadeAdmin.php
Line: 191

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Title: Re: SMF Arcade
Post by: diane_tt on September 05, 2005, 08:17:47 PM
Quote from: Mobilemick on September 05, 2005, 04:06:55 PM
Did get Arcade working, but my site messed up, so trying to install it again,

Have uploaded Arcade, but games icon doesnt show, have tried adding the code(in previous topics)  but it still doesnt show,  or does Arcade show in admin panel  :(

Thanks
Mick


oops....mine shows two game icons....trying to fix that too  :o

Quote from: MasterOfHyrule on September 05, 2005, 05:30:30 PM
Have a little problem.  Need help!

Table 'jlieroxa_phpb1.smf_games_category' doesn't exist
File: /home/jlieroxa/public_html/moh/outofsiteauctions/forums/Sources/ArcadeAdmin.php
Line: 191

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

just the past couple of pages show how to fix that error, try jazhawk's posts ^___^
Title: Re: SMF Arcade
Post by: MasterOfHyrule on September 05, 2005, 10:37:21 PM
It fixed but ran into another problem.

How do you have it for other templates?  It didn't show up on my template that I'm using.
Title: Re: SMF Arcade
Post by: oldmanwolf on September 06, 2005, 12:48:07 AM
Quote from: MasterOfHyrule on September 05, 2005, 10:37:21 PM
It fixed but ran into another problem.

How do you have it for other templates?  It didn't show up on my template that I'm using.

Just like with any other modification, you have to manually mod templates other than default.
Title: Re: SMF Arcade
Post by: Mobilemick on September 06, 2005, 04:23:30 AM
For the double game icon,you`ll have to look at your themes/default/ index.template.php file, and look for 2 lots of  text the same.  remove one,  and you shall have 1 icon.

Mick
Title: Re: SMF Arcade
Post by: diane_tt on September 06, 2005, 10:59:25 AM
^ thanks mick! i'll try that....

uh-oh

Template Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

:'(
Title: Re: SMF Arcade
Post by: Mobilemick on September 06, 2005, 01:06:56 PM
Looks like u messed that file up index.template.php   check what u last edited  :)

Mick
Title: Re: SMF Arcade
Post by: Mobilemick on September 06, 2005, 01:33:03 PM
 :(   oh well back to square one,  :(

Just done a fresh install of SMF  and now having probs again installing Arcade Mod,,  Games& Music Mod,  no problem.

I have ran the arcade_sql,php  No Errors :)

Added code to make games icon show,(but it doesnt show)

Is there a way to completley un-install and start again,  :)

Mick
Title: Re: SMF Arcade
Post by: snork13 on September 07, 2005, 10:35:04 PM
quick questions? any takers? as i install all mode by hand, i just wanted to add....

what is the difference between arcade.xml and arcade2.xml, and how would a user know which to use? I don't use package manger..too many problems when more then 1 mod is going

difference:

Arcade2

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

<operation>
<search position="replace"><![CDATA[ if (allowedTo('manage_smileys'))
$context['admin_areas']['config']['areas']['manage_smileys'] = '<a href="' . $scripturl . '?action=smileys">' . $txt['smileys_manage'] . '</a>';]]>
</search>
<add>
<![CDATA[ if (allowedTo('manage_smileys'))
$context['admin_areas']['config']['areas']['manage_smileys'] = '<a href="' . $scripturl . '?action=smileys">' . $txt['smileys_manage'] . '</a>';

if (allowedTo('admin_arcade'))
$context['admin_areas']['config']['areas']['admin_arcade'] = '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>';
]]>
</add>



Arcade


<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>',]]>




package-info.xml says nothing about placement of folders:

custom games
Misc
Documents (i know it to read and installing is not needed), but a noobie?


this should be included? No!

-snork13

ps..Great Mod, my members love it! and have flipped ;) the poker
Title: Re: SMF Arcade
Post by: Jay T on September 08, 2005, 01:50:20 PM
I running 1.1 SMFf and 1.2.3 Arcade.

I installed the arcade with the package manager. Only problem is the champions are not showing up in their posts or profiles.

All codes seem to be properly modified.

Any ideas?
Title: Re: SMF Arcade
Post by: DemonicInfluence on September 08, 2005, 02:48:12 PM
Quote from: snork13 on September 07, 2005, 10:35:04 PM
quick questions? any takers? as i install all mode by hand, i just wanted to add....

what is the difference between arcade.xml and arcade2.xml, and how would a user know which to use? I don't use package manger..too many problems when more then 1 mod is going

difference:

Arcade2

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

<operation>
<search position="replace"><![CDATA[ if (allowedTo('manage_smileys'))
$context['admin_areas']['config']['areas']['manage_smileys'] = '<a href="' . $scripturl . '?action=smileys">' . $txt['smileys_manage'] . '</a>';]]>
</search>
<add>
<![CDATA[ if (allowedTo('manage_smileys'))
$context['admin_areas']['config']['areas']['manage_smileys'] = '<a href="' . $scripturl . '?action=smileys">' . $txt['smileys_manage'] . '</a>';

if (allowedTo('admin_arcade'))
$context['admin_areas']['config']['areas']['admin_arcade'] = '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>';
]]>
</add>



Arcade


<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>',]]>




package-info.xml says nothing about placement of folders:

custom games
Misc
Documents (i know it to read and installing is not needed), but a noobie?


this should be included? No!


One is for 1.1 one is for 1.05. those are optional i think
-snork13

ps..Great Mod, my members love it! and have flipped ;) the poker

Title: Re: SMF Arcade
Post by: Col on September 08, 2005, 05:31:06 PM
Quote from: Jay T on September 08, 2005, 01:50:20 PM
I running 1.1 SMFf and 1.2.3 Arcade.

I installed the arcade with the package manager. Only problem is the champions are not showing up in their posts or profiles.

All codes seem to be properly modified.

Any ideas?

There are some errors in the code. You'll have to look back over the replies from the past few weeks. I resolved it by removing the code from the template to display champions, as I didn't want it anyway. If you don't repair the bug, you should remove that code though, as every page clicked produces  two or three errors. - The error log ends up being enormous, and could even eat up all your server space! Also, makes it a heck of a lot harder to notice and find other errors.
Title: Re: SMF Arcade
Post by: Jay T on September 09, 2005, 10:53:32 PM
Quote from: Col on September 08, 2005, 05:31:06 PM
Quote from: Jay T on September 08, 2005, 01:50:20 PM
I running 1.1 SMFf and 1.2.3 Arcade.

I installed the arcade with the package manager. Only problem is the champions are not showing up in their posts or profiles.

All codes seem to be properly modified.

Any ideas?

There are some errors in the code. You'll have to look back over the replies from the past few weeks. I resolved it by removing the code from the template to display champions, as I didn't want it anyway. If you don't repair the bug, you should remove that code though, as every page clicked produces  two or three errors. - The error log ends up being enormous, and could even eat up all your server space! Also, makes it a heck of a lot harder to notice and find other errors.

I looked thorugh the past 3 weeks, didn't find any info that was helpful.

I removed what you said but still getting the errors in my erro log. I am getting about 2000 error logs a day.

Can someone please help? I really like this mod but need some help to get it fixed.
Title: Re: SMF Arcade
Post by: TANDIONO.COM on September 10, 2005, 05:33:18 AM
I often got this error log :

8: Undefined variable: game
File: /home/xxx/public_html/Sources/Display.php
Line: 554

8: Undefined variable: i
File: /home/xxx/public_html/Sources/Display.php
Line: 551

how can i fix it?
Title: Re: SMF Arcade
Post by: Col on September 10, 2005, 04:38:26 PM
This has been talked about a lot over the past few weeks. I removed the the bad code (it generates the display of members championshhip sataus for any particular game under their avatar), as I don't need that function anyway. Fixes have been posted too. Look back over the past month or so.
Title: Re: SMF Arcade
Post by: Jay T on September 10, 2005, 11:27:40 PM
I have everything working fine but what would cause these error logs?

8: Undefined index: arcade
File: /home/xxxx/public_html/Themes/default/Errors.template.php (eval?)
Line: 466

8: Undefined index: arcade
File: /home/xxxx/public_html/Themes/helios_multi11/languages/Arcade.english.php (eval?)
Line: 466

8: Undefined index: arcade
File: /home/xxxx/public_html/Themes/default/Profile.template.php (eval?)
Line: 466

8: Undefined index: arcade
File: /home/xxxx/public_html/Themes/default/languages/Who.english.php (eval?)
Line: 466

8: Undefined index: arcade
File: /home/xxxx/public_html/Themes/helios_multi11/MessageIndex.template.php (eval?)
Line: 466

8: Undefined index: arcade
File: /home/xxxx/public_html/Themes/default/Post.template.php (eval?)
Line: 466

8: Undefined index: arcade
File: /home/legends/public_html/Themes/default/languages/Errors.english.php (eval?)
Line: 466
Title: Re: SMF Arcade
Post by: MULITRI on September 11, 2005, 08:23:14 AM
I've installed correctly the Arcade Mod, but i need to add the button to the index template, i saw a Member already asked for that but seems nobody has replied him
http://www.simplemachines.org/community/index.php?topic=29619.msg167921#msg167921

I've tried to find the answer via Search function but seems has been disabled, i've been reading almost 30 pages in this thread and is a big pain and waste of time.

Please, could someone tell me the code to add the Arcade button?

Thanks in advance
Title: Re: SMF Arcade
Post by: Jay T on September 11, 2005, 02:47:22 PM
Quote from: MULITRI on September 11, 2005, 08:23:14 AM
I've installed correctly the Arcade Mod, but i need to add the button to the index template, i saw a Member already asked for that but seems nobody has replied him
http://www.simplemachines.org/community/index.php?topic=29619.msg167921#msg167921

I've tried to find the answer via Search function but seems has been disabled, i've been reading almost 30 pages in this thread and is a big pain and waste of time.

Please, could someone tell me the code to add the Arcade button?

Thanks in advance

If you added this manually then follow the directions. It will add it to the default theme. If you are using a different them then add all the theme codes for the one you are using.

If you added with the package manager then it should all be working fine in the default them. Again you will need to edit the theme codes for the theme you are using.
Title: Re: SMF Arcade
Post by: chaking on September 11, 2005, 10:07:48 PM
...
Title: Re: SMF Arcade
Post by: niko on September 13, 2005, 10:13:55 AM
check that you have uploaded all lang. files
Title: Re: SMF Arcade
Post by: Jay T on September 13, 2005, 01:36:05 PM
Quote from: Jay T on September 10, 2005, 11:27:40 PM
I have everything working fine but what would cause these error logs?

8: Undefined index: arcade
File: /home/xxxx/public_html/Themes/default/Errors.template.php (eval?)
Line: 466

8: Undefined index: arcade
File: /home/xxxx/public_html/Themes/helios_multi11/languages/Arcade.english.php (eval?)
Line: 466

8: Undefined index: arcade
File: /home/xxxx/public_html/Themes/default/Profile.template.php (eval?)
Line: 466

8: Undefined index: arcade
File: /home/xxxx/public_html/Themes/default/languages/Who.english.php (eval?)
Line: 466

8: Undefined index: arcade
File: /home/xxxx/public_html/Themes/helios_multi11/MessageIndex.template.php (eval?)
Line: 466

8: Undefined index: arcade
File: /home/xxxx/public_html/Themes/default/Post.template.php (eval?)
Line: 466

8: Undefined index: arcade
File: /home/legends/public_html/Themes/default/languages/Errors.english.php (eval?)
Line: 466


Niko any idea on this?
Title: Re: SMF Arcade
Post by: niko on September 14, 2005, 08:58:38 AM
i will chek when i get my computer fully working... 466 is line probably in Arcade.php/Arcade2.php :/
Title: Re: SMF Arcade
Post by: skoozee on September 14, 2005, 05:55:13 PM
is this mod worth installing ?
by the looks of previous posts lots of peopel are having problems with it.

i just dont want to install it and have problems as ive just got my forum running :)
Title: Re: SMF Arcade
Post by: htmlmaster on September 14, 2005, 09:37:37 PM
I'm having some problems too, my members can't play! I tried to fix this by editing the permissions, however, the mod messed them up, apparently its missing a comma at line 991 or something. Could you help me out?
Title: Re: SMF Arcade
Post by: DemonicInfluence on September 14, 2005, 09:38:24 PM
Quote from: htmlmaster on September 14, 2005, 09:37:37 PM
I'm having some problems too, my members can't play! I tried to fix this by editing the permissions, however, the mod messed them up, apparently its missing a comma at line 991 or something. Could you help me out?
manually edit the file...dl the fresh copy.
Title: Re: SMF Arcade
Post by: redone on September 15, 2005, 01:24:15 AM
If your running SMF1.05 you can install from the package manager with no problems. It generally installs out of the box providing you do not have other mod's installed.

If all else fails simply follow the instructions provided in the arcade.xml or arcade2.xml if your running SMF1.1.

By reading the readme.html and the arcade.xml file you can install it with no problems.

Regarding the permissions issue. It's a common problem to not edit the ManagePermissions.php file correctly. The changes in your file should look like this:

   'arcade' => array(
            'view_arcade' => false,
            'play_arcade' => false,
            'submit_score' => false,
            'challenge_send' => false,
            'challenge_view' => false,
            'admin_arcade' => false,
         ),

Title: Re: SMF Arcade
Post by: Jay T on September 15, 2005, 03:17:10 PM
Quote from: Niko on September 14, 2005, 08:58:38 AM
i will chek when i get my computer fully working... 466 is line probably in Arcade.php/Arcade2.php :/

Thank You
Title: Re: SMF Arcade
Post by: chaking on September 15, 2005, 10:36:25 PM
I've manually installed the arcade mod in my smf 1.1 b3 installation... I've done it 4 times now... Every time I seem to end up with this same error...

8: Undefined variable: game
File: Sources/Display.php
Line: 675

the good news is that it is considerably less errors than before, but this one keeps popping up... any ideas?

if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
/\ that's the line the error is referencing


I just looked over my error log, and it looks like 1 more error is popping up sometimes too:
8: Undefined variable: i
File: Sources/Display.php
Line: 672

$context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default

/\ that's line 672
Title: Re: SMF Arcade
Post by: SeaOfSin on September 16, 2005, 09:44:04 PM
I'm using Arcade 1.2.3 and have a problem with the search.  I have mambo as well. When someone clicks on search it goes back to the main page

eg

instead of doing this

http://www.revolutionsorphans.com/community/index.php?action=arcade&name=&order=0&order2=DESC&search=Search

I get this

http://www.revolutionsorphans.com/index.php?action=arcade&name=&order=0&order2=DESC&search=Search

Now I don't know if mambo is the cause or not, but it seems like the address is correct.  Everything else seems fine.

Help!! :)
Title: Re: SMF Arcade
Post by: johnm on September 17, 2005, 10:48:32 AM
chaking.

to sort out both of your problems change this


/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game LIMIT 0,{$modSettings['arcade_champions_in_post']}",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))
{
$ext = array('gif','GIF','png','PNG','jpg','JPG',); // Extensions to look for

$context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default

foreach($ext as $ex){
if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
$context['arcade']['games'][$i]['thumbnail'] = $modSettings['arcade_games_url']."/".$game['game'].".".$ex;
break;
}
}

}
loadLanguage('Arcade'); // We need strings from Arcade language file
$context['arcade']['champions'] = $arcade_champ;


to this


/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game LIMIT 0,{$modSettings['arcade_champions_in_post']}",__FILE__,__LINE__);
$i = 0;
while ($rivi = mysql_fetch_assoc($req))
{
$ext = array('gif','GIF','png','PNG','jpg','JPG',); // Extensions to look for

$context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default

foreach($ext as $ex){
if(file_exists($modSettings['arcade_games_dir']."/".$rivi['game'].".".$ex)){
$context['arcade']['games'][$i]['thumbnail'] = $modSettings['arcade_games_url']."/".$rivi['game'].".".$ex;
break;
}
}
$i++;
}
loadLanguage('Arcade'); // We need strings from Arcade language file
$context['arcade']['champions'] = $arcade_champ;


chaking did your champion icons work with the code you had in display.php (before you update with the one above) if they did plaease change $rivi['game'] to $game['game'] in the code i posted above

John
Title: Re: SMF Arcade
Post by: Ray™ on September 17, 2005, 08:09:24 PM
I just installed Acade 1.2.3 and when I go to the Edit Permissions page in the admin I get a blank page and can not see anything? I know it is something simple- any help thanks

this is what I am using
Pictures On DVD (POD) | Powered by SMF 1.1 Beta 3 Public.
© 2001-2005, Lewis Media. All Rights Reserved.
TinyPortal v.0.7.2b by Bloc


EDIT: I fixed it -- recopied a back up them did the changes myself -- all is good thanks
Title: Re: SMF Arcade
Post by: chaking on September 18, 2005, 08:16:28 PM
Hey thanks a lot johnm... seems to be working so far.. of course nobody has challenged anyone yet, so we will see... If you are still arond can yuo tell me what icon and where it is supposed to appear? I had initially replaced $rivi with $game and was still getting errors... but when I switched back it was gone... so hopefully that was it... we'll see...

thanks again man
Title: Re: SMF Arcade
Post by: Ray™ on September 18, 2005, 08:33:13 PM
Hey Chaking the same thing happen to me and I change the settings and my errors are gone also- not sure what that did but hey it seems to work
Title: Re: SMF Arcade
Post by: johnm on September 18, 2005, 08:38:14 PM
glad it worked for both of you this is cause it checks if something is defined first rather than assuming that it is defined (wich is bad)
Title: Re: SMF Arcade
Post by: Ray™ on September 18, 2005, 09:22:22 PM
Thanks Johnm
Title: Re: SMF Arcade
Post by: eye97 on September 19, 2005, 07:44:45 AM
I am using 1.1 beta 4 and when I use the package manager under install actions I get this:

3.     Execute Modification     Sources/Subs.php     Test failed
4.    Execute Modification    Sources/ManagePermissions.php    Test failed

Anyone know what I need ot do here before I continue?

Thank you,

RJ
Title: Re: SMF Arcade
Post by: redone on September 19, 2005, 08:17:30 AM
Well you could continue with the install of the mod and make those changes manually. Follow arcade.xml or arcade2.xml depending on which version of SMF your installing the mod on.

Title: Re: SMF Arcade
Post by: eye97 on September 19, 2005, 08:23:44 AM
If I continue will it screw up anything on my current forum? Or will this problem only be for the Arcade mod?
Title: Re: SMF Arcade
Post by: niko on September 19, 2005, 09:02:22 AM
It wont srew but arcade wont work it you dont edit them manually , it will but there will be no permission entrys or admin link in admin area
Title: Re: SMF Arcade
Post by: eye97 on September 19, 2005, 09:09:51 AM
Ok I will try it now and I am sure I will come running for help as I am new to all this :)

Hmm now when I put this in the Packages directly and click on Apply I get this message:

You cannot download or install new packages because the Packages directory is not writable!

I did check the folder and its set to read, write 755. Any ideas?
Title: Re: SMF Arcade
Post by: redone on September 19, 2005, 09:25:35 AM
chmodd to 777.

:)

Title: Re: SMF Arcade
Post by: eye97 on September 19, 2005, 09:34:01 AM
No dice. Changed to 777 and still says the same thing! Should I just delete that directory and create a new one?
Title: Re: SMF Arcade
Post by: redone on September 19, 2005, 09:47:14 AM
Check that these are 777 also:

Packages/installed.list
Packages/server.list
Title: Re: SMF Arcade
Post by: eye97 on September 19, 2005, 09:53:20 AM
Was 644 and I changed both to 777, still says the same thing. Maybe something went wrong. Should I delete that directory and create a new one?
Title: Re: SMF Arcade
Post by: redone on September 19, 2005, 11:28:09 AM
I am assuming your server is apache and not windows? With the correct permissions for your SMF install everything should work fine. Try a test demo install in a different folder and make sure all the permissions are correct.

If that install gives you the same issues either do the install of the mod by hand or contact your host to resolve your permissions issue.

:)
Title: Re: SMF Arcade
Post by: eye97 on September 19, 2005, 11:31:15 AM
Ok all installed fine. Only had a failure when applying mod to Subs.php. Is there soemthing I need to do to Subs.php? I have changed the Subs.php to 777 as well.
Now I am stuck as to what to do next. Sorry all this is so new to me and I am learning many things.

Cheers

RJ
Title: Re: SMF Arcade
Post by: johnm on September 19, 2005, 02:05:51 PM
usually smf will tell you if it cant change a file due to permissions and it should ask you for your ftp info to proceed.

if you get a failure in package manager it could be caused by anything such as having other modules installed.

simply edit it manually and it should work fine
Title: Re: SMF Arcade
Post by: redone on September 19, 2005, 02:11:14 PM
Here is the changes based on arcade.xml. This works for SMF1.05. Please read arcade2.xml if your installing for SMF beta 3 public.


if (allowedTo('manage_smileys'))
$context['admin_areas']['config']['areas']['manage_smileys'] = '<a href="' . $scripturl . '?action=smileys">' . $txt['smileys_manage'] . '</a>';
  ]]>


Replace with:




if (allowedTo('manage_smileys'))
$context['admin_areas']['config']['areas']['manage_smileys'] = '<a href="' . $scripturl . '?action=smileys">' . $txt['smileys_manage'] . '</a>';

if (allowedTo('admin_arcade'))
$context['admin_areas']['config']['areas']['admin_arcade'] = '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>';

Title: Re: SMF Arcade
Post by: Niall on September 20, 2005, 06:42:16 AM
Ok, so I've uploaded, I went to arcade_sql.php and everything was fine.

How do I get it onto my forum or portal now???
Title: Re: SMF Arcade
Post by: Niall on September 20, 2005, 06:45:55 AM
I'm using 1.0.5 btw, and MKPortal.
Title: Re: SMF Arcade
Post by: Niall on September 20, 2005, 06:47:44 AM
http://www.followthecat.co.uk/forum/index.php?action=arcade just takes me back to my forum index.
Title: Re: SMF Arcade
Post by: eye97 on September 20, 2005, 06:57:57 AM
I am having a tough time installing this mod on 1.1 beta 4. If anyone has it installed on 1.1 beta 4, was wondering if you can help me install this as I am fairly new to this. Let me know and I will give you my server info.

Cheers

RJ

P.S:My AIM is EYE97COM
Title: Re: SMF Arcade
Post by: TtuEd on September 20, 2005, 12:03:56 PM
I am also having problems with SMF Arcade. I installed it and started arcade_sql.php. It integrated into forum, but when I try to access it or add games i get an error message:
2: Division by zero
File:
(local path)/Sources/Subs.php
Line: 582
Title: Re: SMF Arcade
Post by: TtuEd on September 20, 2005, 12:07:47 PM
btw, I'm using  SMF 1.0.5
Title: Re: SMF Arcade
Post by: redone on September 20, 2005, 02:59:15 PM
I helped out eye97 with his arcade.  ;)

As for TtuEd which version of the arcade are you trying to install? The mod should install fine from the package manager with no issues.

If you still cannot get it the mod to work pm me your information and I will take a look.

~redone
Title: Re: SMF Arcade
Post by: foxed on September 20, 2005, 04:57:32 PM
Hey all,

Got the mod installed, runs fine as an admin - the only problem I have is that in the permissions area I don't have the option to enable/disable access to it - and no one but an admin can actually use it.

Any ideas?

Cheers
Foxed
Title: Re: SMF Arcade
Post by: htmlmaster on September 20, 2005, 05:22:15 PM
^ That's my problem too. I tried to get into the permissions, but its missing a comma somewhere... stupid parse error...
Title: Re: SMF Arcade
Post by: Bigguy on September 20, 2005, 05:22:19 PM
Have you checked the permissions for usergroups ??? there should be permissions to enable there for everyone.
Title: Re: SMF Arcade
Post by: foxed on September 20, 2005, 05:36:51 PM
No im not getting the parse error ... the option just isn't available  :'(
Title: Re: SMF Arcade
Post by: niko on September 21, 2005, 03:16:33 AM
Manually edit ManagePermissions.php in sources then... and if theres blanks edit modifications.english.php
Title: Re: SMF Arcade
Post by: foxed on September 21, 2005, 03:51:05 AM
Can I ask for a little more information?  :-[

What am I supposed to put in there? I would look through this thread to try and find the answer, but 98 pages is a wee bit too much! A concise FAQ would be superb ...

But in the meantime knowing what is supposed to be there would be great  8)
Title: Re: SMF Arcade
Post by: redone on September 21, 2005, 04:54:15 AM
We are working at SMFgames to build a new FAQ for the arcade mod. In the meantime here is the edit you need to make to your Sources/ManagePermissions.php file.

Find and remove 'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => false,
)


replace with

'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => false,
),
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),


Copy the edits exactly and remember when editing your php files to use a clean edtor like notepad or php editor not an HTML editor.

~redone
Title: Re: SMF Arcade
Post by: dracomiconia on September 21, 2005, 05:03:21 AM
Download section is not working in http://snmarcade.com/

Any problem?
Title: Re: SMF Arcade
Post by: eye97 on September 21, 2005, 08:29:00 AM
redone, I would like to publicly thank you for your help :) The ARcade mod rocks!
Title: Re: SMF Arcade
Post by: foxed on September 21, 2005, 12:55:08 PM
Indeed, thanks redone - worked a charm  ;)

p.s is there any way to have a notice below a members avatar/post count if they are the current champion of xyz game ?
Title: Re: SMF Arcade
Post by: htmlmaster on September 21, 2005, 03:34:33 PM
Quote from: redone on September 21, 2005, 04:54:15 AM
We are working at SMFgames to build a new FAQ for the arcade mod. In the meantime here is the edit you need to make to your Sources/ManagePermissions.php file.

Find and remove 'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => false,
)


replace with

'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => false,
),
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),


Copy the edits exactly and remember when editing your php files to use a clean edtor like notepad or php editor not an HTML editor.

~redone
Still not working...
Title: Re: SMF Arcade
Post by: DemonicInfluence on September 21, 2005, 09:45:04 PM
What is error.. Maybe replace the permission with fresh copy then try...


Anyway, when will this be updated for 1.1 RC1?
Title: Re: SMF Arcade
Post by: dracomiconia on September 22, 2005, 10:53:38 AM
I have installed SMF Arcade, but I have problems with Tournaments.... They dont advance, and fill with a lot of private messages the inbox... Is there any problem with the mod in this part?
Title: Re: SMF Arcade
Post by: ArkServer on September 22, 2005, 11:12:36 AM
Does anyone has the games? i cannot login nor retrieve password. seems their site is missing a few php files.
Title: Re: SMF Arcade
Post by: n1kki6 on September 23, 2005, 12:25:28 AM
Is their any other place than snmarcade.com to download games?
Title: Re: SMF Arcade
Post by: redone on September 23, 2005, 01:36:27 AM
Thanks for the kind words. eye97

The edits for the permissions do work.  htmlmaster

Tournaments are not fully functioning as yet.  dracomiconia

With 1.1rc just released you will have to wait for niko to update the arcade to be compatible and yes there will obviously be some bug fixes!  libo

Here is the edit to display the icons below your posts foxed


// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%; padding-bottom: 3px;" class="signature">', $message['member']['signature'], '</div>';

if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
$i = 0;

echo "SMFarcadel Champion&nbsp;";
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){

// echo '
// <img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'
// ';

echo '<a href="', $scripturl, '?action=arcade;do=play;game=',$tmp['id'],'" ><img border="0" src="', $tmp['thumbnail'], '" alt="', $tmp['name'] ,'" width="20" height="20"></a>&nbsp;';

}
}
}


The only place to download games that submit scores to your arcade is snmarcade.com.

~redone

p.s with niko in school right now there will be a delay in the next release. johnm though is fixing bugs.



Title: Re: SMF Arcade
Post by: Uzbekistan on September 23, 2005, 06:08:41 AM
Sorry guys, is this mod compatible with SMF 1.1 RC1? As it does not say so on the mod page.
Title: Re: SMF Arcade
Post by: DemonicInfluence on September 23, 2005, 07:21:54 AM
Quote from: Uzbek on September 23, 2005, 06:08:41 AM
Sorry guys, is this mod compatible with SMF 1.1 RC1? As it does not say so on the mod page.

Quote from: redone on September 23, 2005, 01:36:27 AM
With 1.1rc just released you will have to wait for niko to update the arcade to be compatible and yes there will obviously be some bug fixes!  libo
look up on the post above u...
Title: Re: SMF Arcade
Post by: cferd on September 23, 2005, 07:45:02 AM
Quote from: Uzbek on September 23, 2005, 06:08:41 AM
Sorry guys, is this mod compatible with SMF 1.1 RC1? As it does not say so on the mod page.

For what it's worth, I have 1.1 rc1 wrapped in Mambo 4.5.2.3, and the latest Arcade mod. and it's working almost as good as it did with 1.03.

The only part that's missing is the "Champion" bit in posts. Other than that, it's running smoothly.
Title: Re: SMF Arcade
Post by: foxed on September 23, 2005, 09:15:38 AM
Thanks redone - I've added the following but it doesn't seem to do anything ?

// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div class="signature">', $message['member']['signature'], '</div>';

if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
$i = 0;

echo "SMFarcadel Champion&nbsp;";
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){

// echo '
// <img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'
// ';

echo '<a href="', $scripturl, '?action=arcade;do=play;game=',$tmp['id'],'" ><img border="0" src="', $tmp['thumbnail'], '" alt="', $tmp['name'] ,'" width="20" height="20"></a>&nbsp;';

}
}
}

echo '
</td>
</tr>
</table>
</td></tr>
</table>
</td></tr>';
}
echo '
<tr><td style="padding: 0 0 1px 0;"></td></tr>
</table>
Title: Re: SMF Arcade
Post by: redone on September 23, 2005, 10:14:18 AM
Okay here is the breakdown of the edit you need:

Remove in your display.template.php

// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%; padding-bottom: 3px;" class="signature">', $message['member']['signature'], '</div>';

Replace with:

// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%; padding-bottom: 3px;" class="signature">', $message['member']['signature'], '</div><hr />';
if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
$i = 0;

echo "SmfArcade Champion&nbsp;";
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){

// echo '
// <img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'
';

echo '<a href="', $scripturl, '?action=arcade;do=play;game=',$tmp['id'],'" ><img border="0" src="', $tmp['thumbnail'], '" alt="', $tmp['name'] ,'" width="20" height="20"></a>&nbsp;';

}
}
}

~redone

p.s I will add this one to the faq over at snmarcade

Title: Re: SMF Arcade
Post by: Jay T on September 23, 2005, 11:16:38 AM
Redone, did you come up with any ideas on those error logs I am getting?
Title: Re: SMF Arcade
Post by: redone on September 23, 2005, 02:03:04 PM
The errors you are describing especially "undefined variable game etc" is a known bug that niko is looking to fix in the next release.

Here is a fix that johnm did that should help though:

/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game LIMIT 0,{$modSettings['arcade_champions_in_post']}",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))
{
$ext = array('gif','GIF','png','PNG','jpg','JPG',); // Extensions to look for

$context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default

foreach($ext as $ex){
if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
$context['arcade']['games'][$i]['thumbnail'] = $modSettings['arcade_games_url']."/".$game['game'].".".$ex;
break;
}
}

}
loadLanguage('Arcade'); // We need strings from Arcade language file
$context['arcade']['champions'] = $arcade_champ;



~redone
Title: Re: SMF Arcade
Post by: foxed on September 23, 2005, 07:13:58 PM
Hi again,

That doesnt seem to work ...

There was a problem loading the /Themes/default/Display.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: parse error, unexpected T_STRING in .../Themes/default/Display.template.php on line 541

532: echo "SmfArcade Champion ";
533: foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
534: //print_r($tmp);
535: if($tmp['thumbnail'] != ''){
536:
537: // echo '
538: // <img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'
539: ';
540:
541: echo '<a href="', $scripturl, '?action=arcade;do=play;game=',$tmp['id'],'" ><img border="0" src="', $tmp['thumbnail'], '" alt="', $tmp['name'] ,'" width="20" height="20"></a> ';
542:
543: }
544: }
545: }
Title: Members with Admin Privaleges unable to see link to Admin Panel
Post by: houston on September 23, 2005, 09:00:23 PM
I have given one of my member complete access to all option to the arcade panel, but they are unable to find the link to the Admin options I have set all permissions to allow. I am useing smf 1.0.5 and smarcade 1.2.3

Any thoughts or comments

Thanks
Title: Re: SMF Arcade
Post by: piers38 on September 23, 2005, 09:20:14 PM
I think you have to be administrator before you can access the arcade admin.
I have two site's with arcades and am admin on one and global mod on the other and have the same problem with arcade admin but when sign in as admin no problem.
Title: Re: SMF Arcade
Post by: htmlmaster on September 23, 2005, 09:24:15 PM
Quote
The edits for the permissions do work.
No they don't:

Parse error: parse error, unexpected ',', expecting ')' in /home/b2l1483/public_html/webforum/Sources/ManagePermissions.php on line 1000
Title: Re: SMF Arcade
Post by: houston on September 23, 2005, 09:28:13 PM
Quote from: piers38 on September 23, 2005, 09:20:14 PM
I think you have to be administrator before you can access the arcade admin.
I have two site's with arcades and am admin on one and global mod on the other and have the same problem with arcade admin but when sign in as admin no problem.


What I did was to create another user group called Arcade Admin and Set all the arcade permissions to allow, and then assigned one of my members to the new user group. I would think that the link to the admin panel would show up in the arcade panel of the main arcade window but there is no link there when he goes to the arcade.

Have I confused you yet?
Title: Re: SMF Arcade
Post by: houston on September 23, 2005, 09:30:20 PM
Quote from: htmlmaster on September 23, 2005, 09:24:15 PM
Quote
The edits for the permissions do work.
No they don't:

Parse error: parse error, unexpected ',', expecting ')' in /home/b2l1483/public_html/webforum/Sources/ManagePermissions.php on line 1000


I am getting the same error  after making the changes to the code.
Title: Re: SMF Arcade
Post by: redone on September 23, 2005, 10:51:50 PM
I will need to look at the display.template code more closely. I am sure you need to edit out the comments // from the code.

For those that are having permissions issues drop me a pm and I will take look for you. Please include all relevant info so I access the site and take a look.

~redone

Title: Re: SMF Arcade
Post by: cferd on September 24, 2005, 07:16:13 PM
Quote from: htmlmaster on September 23, 2005, 09:24:15 PM
Quote
The edits for the permissions do work.
No they don't:

Parse error: parse error, unexpected ',', expecting ')' in /home/b2l1483/public_html/webforum/Sources/ManagePermissions.php on line 1000



The following code is taken from my Manage Permissions file and it works.
It worked on 1.03 and it also works on 1.1 rc1. Take notice of the extra ')' that you seem to be missing in your file.

),
'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_server_avatar' => false,
'profile_upload_avatar' => false,
'profile_remote_avatar' => false,
),
                                                'arcade' => array(
                                                                'view_arcade' => false,
                                                                'play_arcade' => false,
                                                                'submit_score' => false,
                                                                'challenge_send' => false,
                                                                'challenge_view' => false,
                                                                'admin_arcade' => false,
                                                       )
),
'board' => array(
'general_board' => array(
'moderate_board' => false,
Title: Re: SMF Arcade
Post by: ArkServer on September 25, 2005, 10:15:54 AM
anyone know how to add an arcade button for the neptune by bloc template?

and if you check this: http://arkserver.audiohosting.org/forum/index.php?action=arcade;sa=play;game=3
the game doesnt load. how to fix it?
(i know i could search and i did but i dont want to read 100 pages)
Title: Re: SMF Arcade
Post by: Jazhawk on September 25, 2005, 11:02:05 AM
I can't get arcade to install on RC1.1  I get major errors during the install but it worked ok before RC1.1. test bed.

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 failed

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
8. Extract Tree ./getid3 
9. Extract Tree ./Games 
10. Extract File ./arcade_sql.php 
11. Extract Tree ./Sources 
12. Extract File ./Themes/default/Arcade.template.php 
13. Extract File ./Themes/default/ArcadeAdmin.template.php 
14. Extract File ./Themes/default/images/english/games.gif 
15. Extract File ./Themes/default/languages/Arcade.english.php 
16. Extract File ./Themes/default/languages/Arcade.finnish.php

I thought the latest version would install but I guess not.

-Jazhawk
Title: Re: SMF Arcade
Post by: htmlmaster on September 25, 2005, 12:08:14 PM
OK, I fixed the error, still doesn't work -PM sent.
Title: Re: SMF Arcade
Post by: DemonicInfluence on September 25, 2005, 05:11:27 PM
Quote from: Jazhawk on September 25, 2005, 11:02:05 AM
I can't get arcade to install on RC1.1  I get major errors during the install but it worked ok before RC1.1. test bed.

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 failed

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
8. Extract Tree ./getid3 
9. Extract Tree ./Games 
10. Extract File ./arcade_sql.php 
11. Extract Tree ./Sources 
12. Extract File ./Themes/default/Arcade.template.php 
13. Extract File ./Themes/default/ArcadeAdmin.template.php 
14. Extract File ./Themes/default/images/english/games.gif 
15. Extract File ./Themes/default/languages/Arcade.english.php 
16. Extract File ./Themes/default/languages/Arcade.finnish.php

I thought the latest version would install but I guess not.

-Jazhawk

http://snmarcade.com/forum/index.php?topic=1537.0
Title: Re: SMF Arcade
Post by: Jazhawk on September 25, 2005, 05:18:22 PM
Thanx for the update.  I'll let it sit until the updates.

-Jazhawk
Title: Re: SMF Arcade
Post by: redone on September 25, 2005, 06:31:48 PM
I have installed the arcade on 1.1rc. The display champion icons doesn't work as yet but other than that this is the only issue.

You must understand that updating mods for new releases like 1.1rc takes a while. To be honest the odds are basically right now no mods install via the package manager!

To ArkServer I answered your question at smfgames.

~redone
Title: Re: SMF Arcade
Post by: Jazhawk on September 25, 2005, 06:56:59 PM
Quote from: redone on September 25, 2005, 06:31:48 PM
I have installed the arcade on 1.1rc. The display champion icons doesn't work as yet but other than that this is the only issue.

You must understand that updating mods for new releases like 1.1rc takes a while. To be honest the odds are basically right now no mods install via the package manager!

To ArkServer I answered your question at smfgames.

~redone

I hope it isn't too long but if it takes a month or so to do, it's cool.  It's an option, not a need.

-Jazhawk
Title: Re: SMF Arcade
Post by: ExistenZ on September 25, 2005, 07:14:08 PM
I am using SMF 1.0.6 and when I try to run the arcade_sql.php file I get a 500 Internal Server Error. Can someone pleasse tell me what t do. :'(
Title: Re: SMF Arcade
Post by: TheChicken on September 25, 2005, 09:13:36 PM
Hi,
Try to chmod it to 755, it worked for me.

Also.
None of my members can acess the arcade how can I fix this?
Title: Re: SMF Arcade
Post by: Jazhawk on September 25, 2005, 10:17:03 PM
Quote from: Nbtk on September 25, 2005, 09:13:36 PM
Hi,
Try to chmod it to 755, it worked for me.

Also.
None of my members can acess the arcade how can I fix this?

It's a common question that's been asked a few times in this thread.  You will need to go into Edit Permissions in your admin panel.  Modify the group you want to have access and find the arcade section and turn it on.

-Jazhawk
Title: Re: SMF Arcade
Post by: ExistenZ on September 26, 2005, 03:11:38 PM
Quote from: Nbtk on September 25, 2005, 09:13:36 PM
Hi,
Try to chmod it to 755, it worked for me.

That didn't work, but I got it to work by chmodding it to 711
Title: Re: SMF Arcade
Post by: foxed on September 26, 2005, 05:38:19 PM
Hey redone,

Thanks for taking the time anyway :)

I look forward to it maybe working soon :)

Regards,
Foxed
Title: Re: SMF Arcade
Post by: TheChicken on September 26, 2005, 07:23:24 PM
After I installed it theres an error in my permissions.
Parse error: parse error, unexpected ',', expecting ')' in /home/egotmilk/public_html/Sources/ManagePermissions.php on line 993
Title: Re: SMF Arcade
Post by: DemonicInfluence on September 26, 2005, 07:46:18 PM
Quote from: redone on September 21, 2005, 04:54:15 AM
We are working at SMFgames to build a new FAQ for the arcade mod. In the meantime here is the edit you need to make to your Sources/ManagePermissions.php file.

Find and remove 'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => false,
)


replace with

'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => false,
),
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),


Copy the edits exactly and remember when editing your php files to use a clean edtor like notepad or php editor not an HTML editor.

~redone
look. at previous posts..
Title: Re: SMF Arcade
Post by: yellow1912 on September 27, 2005, 06:01:06 AM
I got these errors:
1.     Execute Modification     index.php     Test failed
2.    Execute Modification    Themes/default/index.template.php    File not found
3.    Execute Modification    Sources/Subs.php    File not found
4.    Execute Modification    Sources/ManagePermissions.php    File not found
5.    Execute Modification    Themes/default/languages/Modifications.english.php    File not found
6.    Execute Modification    Themes/default/Display.template.php    File not found
7.    Execute Modification    Sources/Display.php    File not found
8.     Extract Tree     ./getid3     
9.    Extract Tree    ./Games    
10.    Extract File    ./arcade_sql.php    
11.    Extract Tree    ./Sources    
12.    Extract File    ./Themes/default/Arcade.template.php    
13.    Extract File    ./Themes/default/ArcadeAdmin.template.php    
14.    Extract File    ./Themes/default/images/english/games.gif    
15.    Extract File    ./Themes/default/languages/Arcade.english.php    
16.    Extract File    ./Themes/default/languages/Arcade.finnish.php

From what I see, I believe that all the links (1-7) should be ./........ but then what caused this error and how to fix it?


Edit: I know the cause of this error now: this happens when the forum is in wrapped mode (Joomla!) but it works will in stand-alone mode! Any idea how to fix this would be great
Title: Re: SMF Arcade
Post by: yellow1912 on September 27, 2005, 07:46:03 AM
I couldnt register there, the activation email never comes. Anyone knows of other places to download the games? Thanks
Title: Re: SMF Arcade
Post by: DemonicInfluence on September 27, 2005, 11:31:24 AM
nope. anywhere else is illegal..
Title: Re: SMF Arcade
Post by: dracomiconia on September 27, 2005, 12:30:26 PM
Well....

There is the only place, because he is the only one who has worked in games to adapt to the script. But if anybody has the permission of game-makers to change code and make it for SMF Arcade, it would be legal... or wouldn't it?

I have began to work (well, not me, one of my users) in three games, and I would like to be ok...
Title: Re: SMF Arcade
Post by: ExistenZ on September 27, 2005, 04:05:39 PM
My users is getting this message when trying to open games:

QuoteYou arent allowed to view arcade, sorry!

Now, I have no idea how to fix this. Arcade is enabled in arcade setting, I even went to look in group permissions, but nothing of arcade is mentioned there.

I would of course be happy to search, but the search is disabled.
Title: Re: SMF Arcade
Post by: ExistenZ on September 27, 2005, 04:12:59 PM
Ok, sorry.. fixed it. I simply had to edit that ManagePermissions.php file....I feel so...embarresed. But why dosn't the mod do this automatically?
Title: Re: SMF Arcade
Post by: yellow1912 on September 27, 2005, 04:34:49 PM
Can someone just upload 1-2 games so I can test(use yousendit)? I installed this mod and have no way to test if it works. Or if anyone know how to contact the admin of smfgames.com ? Maybe he doesnt know the bug that prevents users from getting the activation mail
Title: Re: SMF Arcade
Post by: Matthuffy on September 28, 2005, 12:56:33 AM
maybe it will help, but i did not get an activation email ( i was using a hotmail account) i then tried with another account and it came instantly?? i would give it a try again, as i got it in.

Title: Re: SMF Arcade
Post by: dtm.exe on September 28, 2005, 12:59:49 AM
Quote from: Matthuffy on September 28, 2005, 12:56:33 AM
maybe it will help, but i did not get an activation email ( i was using a hotmail account) i then tried with another account and it came instantly?? i would give it a try again, as i got it in.



What is it that you are having trouble registering with?
Title: Re: SMF Arcade
Post by: yellow1912 on September 28, 2005, 06:00:07 AM
Hi, my forum is currently wrapped inside Joomla! as a component, and some how the score is not saved. But If I access the forum diectly, everything works fine. Any way to fix this error?
Edit: I found the code to fix it, thanks a lot
Title: Re: SMF Arcade
Post by: DemonicInfluence on September 28, 2005, 07:23:43 AM
Quote from: dtm.exe on September 28, 2005, 12:59:49 AM
Quote from: Matthuffy on September 28, 2005, 12:56:33 AM
maybe it will help, but i did not get an activation email ( i was using a hotmail account) i then tried with another account and it came instantly?? i would give it a try again, as i got it in.



What is it that you are having trouble registering with?
I think www.snmarcade.com
Title: Re: SMF Arcade
Post by: johnm on September 29, 2005, 08:05:08 AM
if any one is having problems with activation emails or accessing the site the email [email protected] and we will sort it out
Title: Re: SMF Arcade
Post by: Gargoyle on September 29, 2005, 09:25:12 PM
Any idea when this will be updated for use in 1.1 RC1 or higher ?

I would really like to use this.

Thanks. ;D
Title: Re: SMF Arcade
Post by: redone on September 29, 2005, 09:29:58 PM
Niko is working on this as we speak. More info about niko's plans can be found at www.snmarcade.com

Just to repeat the current version of the mod does work with 1.1rc with only one limitation that I can see and  that's the failure to display champion icons.

Title: Re: SMF Arcade
Post by: Ray™ on September 29, 2005, 10:37:05 PM

Quote from: redone on September 29, 2005, 09:29:58 PM
Niko is working on this as we speak. More info about niko's plans can be found at www.snmarcade.com

Just to repeat the current version of the mod does work with 1.1rc with only one limitation that I can see and  that's the failure to display champion icons.



I get this error
Unable to load the 'arcade_above' template-- ??

EDIT: All is working ok now, I just copied the files back over to the web site.
Title: Re: SMF Arcade
Post by: v3x on September 30, 2005, 09:33:57 AM
How do I install games? :-\
Title: Re: SMF Arcade
Post by: rider on September 30, 2005, 02:54:34 PM
Quote from: v3x on September 30, 2005, 09:33:57 AM
How do I install games? :-\

To install the games you have to upload them to your games folder in your ftp then install them thru your arcade settings in your admin panel on your site.Hope this helps.
Title: Re: SMF Arcade
Post by: Netos on October 02, 2005, 09:00:28 AM
Wow awesome mod.  I managed to install it, add a button for it on Techhead (thanks to Bloc's support forums) and get all my users in without any permission problems!  Does this mean I'm no longer a noob?
Title: Re: SMF Arcade
Post by: Gargoyle on October 02, 2005, 10:14:23 AM
O'kay I have the MOD now due to some help at the snmarcade.com site !

Now I am wondering how to manually install this game ? It seems that a post of there said that it would not install with SMF RC1.

I just need to know where to start. Thanks!!
Title: Re: SMF Arcade
Post by: Ray™ on October 02, 2005, 01:22:23 PM
Am running on RC1 you can see it work here
http://www.rranderson.com/dvd/index.php?action=arcade

Title: Re: SMF Arcade
Post by: ripple on October 02, 2005, 02:25:09 PM
Great Mod.

On my default smf theme, there are two graphics in the header for "games".  How do I remove one of them?

On the other themes I have installed, only one "games" button shows up, like it should.

Thanks.
Title: Re: SMF Arcade
Post by: johnm on October 02, 2005, 02:35:39 PM
you need to edit index.template.php in the Themes/default folder

scroll to the bottom and you will find your menu links (buttons)
Title: Re: SMF Arcade
Post by: v3x on October 02, 2005, 09:50:07 PM
Hey, users cannot access the arcade, only I can. Are there some sort of preset access levels or something?
Title: Re: SMF Arcade
Post by: mflintjer on October 03, 2005, 07:09:46 AM
hey, i can say that i have read SOME of this thread -- but still have NO IDEA on how to install the games.  I did as the one reply stated "upload files to your games folder" and NOE of them show up in the install section of the arcade acp...


what in the hell am i doing so wrong??  please help, as i would love to use this mod.  the mod itself installed without any hitches -- but can't get ANY games to show up AT ALL!!
Title: Re: SMF Arcade
Post by: ripple on October 03, 2005, 08:15:45 AM
Quote from: v3x on October 02, 2005, 09:50:07 PM
Hey, users cannot access the arcade, only I can. Are there some sort of preset access levels or something?

Go into the Admin area and check your permissions for certain membergroups.  If I'm not mistaken, as a default, only admins can play the games.
Title: Re: SMF Arcade
Post by: redone on October 03, 2005, 08:18:10 AM
You need to enable permissions for guests etc in your forum control panel. Permissions are set for guests, newbies etc regarding access to the arcade.

~redone

Title: Re: SMF Arcade
Post by: v3x on October 03, 2005, 10:05:33 AM
Thanks again! :D
Title: Re: SMF Arcade
Post by: Uzbekistan on October 04, 2005, 02:15:46 AM
Sorry for probably dumb question (i am c++ prgrammer, not php) - but how do you declare variable in php? My arcade gives me the following error:
Undefined variable: game
Файл: /home/somename/public_html/blablabla/Sources/Display.php
line: 700


This is my 700 line:
if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
Title: Re: SMF Arcade
Post by: edi67 on October 04, 2005, 02:43:11 AM
Quote from: Uzbek on October 04, 2005, 02:15:46 AM
My arcade gives me the following error:
Undefined variable: game
Файл: /home/somename/public_html/blablabla/Sources/Display.php
line: 700


This is my 700 line:
if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){

i have a lot of the same errors too, SMF1.1 SmfArcade 1.2.3 installed
Title: Re: SMF Arcade
Post by: Uzbekistan on October 04, 2005, 02:50:19 AM
Just gone through the forum - it seems to be a common error :(.
Title: Re: SMF Arcade
Post by: Uzbekistan on October 04, 2005, 06:51:32 AM
I really liked the "thingy" about adding chamion titles under avatar (although i put them underneath avatar and personal text - looks neater).

I also thought of making them (champions titles under avatrs) clickable - linked to the game. Can anyone give me suggestions of how to do it?
Title: Re: SMF Arcade
Post by: ExistenZ on October 04, 2005, 02:57:46 PM
You declare a variable like so:

$name = "Andre";


That dollar sign. And the name of the variable. ALWAYS REMEMBER THE $!
Also, if you use a variable in a sentene, thingy, you must put the sentense in double qoutes. " " Unlike ' ' which some people do.
Title: 8: Undefined variable: game and 8: Undefined variable: i
Post by: gconn77 on October 04, 2005, 03:47:06 PM
8: Undefined variable: game
File: /home/forumarc/public_html/arcade/Sources/Display.php
Line: 554

Hey guys,

This place is huge... so sorry if this has already been asked... I used the "Search" Button .... but there are so many results to sift thru.

How do I correct this error? I have tons of errors like this one and similiar.

I am running smf 1.0.5 I have Chatbubbles as the theme and running arcade 1.2.3 and karma log... no other mods. The program is being hosted by my Linux VPS using PowerVSP.

Thanks in advanced.
Garry
Title: Re: SMF Arcade
Post by: rider on October 04, 2005, 05:06:00 PM
Quote from: mflintjer on October 03, 2005, 07:09:46 AM
hey, i can say that i have read SOME of this thread -- but still have NO IDEA on how to install the games.  I did as the one reply stated "upload files to your games folder" and NOE of them show up in the install section of the arcade acp...


what in the hell am i doing so wrong??  please help, as i would love to use this mod.  the mod itself installed without any hitches -- but can't get ANY games to show up AT ALL!!
If you loaded them to your games folder in your ftp then you should see them in your admin panel in your arcade settings/game installer.If you still have trouble pm me a link to your site and let me have a look at it.I'm at work right now but will be on later.
Title: Re: SMF Arcade
Post by: edi67 on October 05, 2005, 12:48:16 AM
Quote from: ExistenZ on October 04, 2005, 02:57:46 PM
You declare a variable like so:

$name = "Andre";


That dollar sign. And the name of the variable. ALWAYS REMEMBER THE $!
Also, if you use a variable in a sentene, thingy, you must put the sentense in double qoutes. " " Unlike ' ' which some people do.

And the solution is ???
Title: Re: SMF Arcade
Post by: ExistenZ on October 05, 2005, 01:09:49 AM
Well, have you tried to edit the file which is repeated over and over in the topic. I can't remember what it is, but there are a few file edits you must do before it will work correctly.

But I just started with PHP with a book weighing more than me....so...i am sorry. So, I don't know.
Title: Re: SMF Arcade
Post by: edi67 on October 05, 2005, 01:55:35 AM
ok not problem  ;D i solved all problems and add icons champion under signature  :D


as you can see in my forum
http://www.forumzone.net.ru/index.php
Title: Re: SMF Arcade
Post by: johnm on October 05, 2005, 05:12:57 AM
/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game LIMIT 0,{$modSettings['arcade_champions_in_post']}",__FILE__,__LINE__);
$i = 0;
while ($rivi = mysql_fetch_assoc($req))
{
$ext = array('gif','GIF','png','PNG','jpg','JPG',); // Extensions to look for

$context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default

foreach($ext as $ex){
if(file_exists($modSettings['arcade_games_dir']."/".$rivi['game'].".".$ex)){
$context['arcade']['games'][$i]['thumbnail'] = $modSettings['arcade_games_url']."/".$rivi['game'].".".$ex;
break;
}
}
$i++;
}
loadLanguage('Arcade'); // We need strings from Arcade language file
$context['arcade']['champions'] = $arcade_champ;
Title: Re: SMF Arcade
Post by: johnm on October 05, 2005, 05:18:10 AM
Quote from: ExistenZ on October 04, 2005, 02:57:46 PM
You declare a variable like so:

$name = "Andre";


That dollar sign. And the name of the variable. ALWAYS REMEMBER THE $!
Also, if you use a variable in a sentene, thingy, you must put the sentense in double qoutes. " " Unlike ' ' which some people do.

not totaly true

to avoid undefined errors its best to use
if(isset($var)){
//its set now perfom a test on it!
}else{
//its not set so there no point testing the var
}
Title: Re: SMF Arcade
Post by: gconn77 on October 05, 2005, 05:34:51 AM
Ok what file and where do I put this code?


Quote from: johnm on October 05, 2005, 05:12:57 AM
/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game LIMIT 0,{$modSettings['arcade_champions_in_post']}",__FILE__,__LINE__);
$i = 0;
while ($rivi = mysql_fetch_assoc($req))
{
$ext = array('gif','GIF','png','PNG','jpg','JPG',); // Extensions to look for

$context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default

foreach($ext as $ex){
if(file_exists($modSettings['arcade_games_dir']."/".$rivi['game'].".".$ex)){
$context['arcade']['games'][$i]['thumbnail'] = $modSettings['arcade_games_url']."/".$rivi['game'].".".$ex;
break;
}
}
$i++;
}
loadLanguage('Arcade'); // We need strings from Arcade language file
$context['arcade']['champions'] = $arcade_champ;

Title: Re: SMF Arcade
Post by: caNcer_b0y on October 05, 2005, 11:03:32 AM
k im not going to read through 104 pages to find if this has been answered.

i have noticed, that after version 1.2RP the permissions mean squat, maybe its just me but i have the arcade set so that on my forum you need to have at least 25 posts to gain access to the arcade.  i have checked the settings many times, and even tested it with a test account.  it allows everyone except guests to see and play in the arcade. whats the deal?  its rather annoying, as people login play the arcade and never post.  >:(
Title: Re: SMF Arcade
Post by: tentronik on October 05, 2005, 11:09:18 AM
Hi,
did you checked the permissions (admin panel).
The arcade mod has its on permissions.
Title: Re: SMF Arcade
Post by: caNcer_b0y on October 05, 2005, 01:56:19 PM
Quote from: tentronik on October 05, 2005, 11:09:18 AM
Hi,
did you checked the permissions (admin panel).
The arcade mod has its on permissions.



Like i said.  i have double checked all permissions.  and i cant find any that are not set right.  i think its a bug...
Title: Re: SMF Arcade
Post by: tentronik on October 05, 2005, 02:03:18 PM
I goinna test the new version soon.
The old had


admin panel -> permissions -> choose group then alter the arcade permissions.

Title: Re: SMF Arcade
Post by: rider on October 05, 2005, 02:21:34 PM
Quote from: caNcer_b0y on October 05, 2005, 01:56:19 PM
Quote from: tentronik on October 05, 2005, 11:09:18 AM
Hi,
did you checked the permissions (admin panel).
The arcade mod has its on permissions.



Like i said.  i have double checked all permissions.  and i cant find any that are not set right.  i think its a bug...

Hey bud.I just tried to figure it out and this is what I did.For a newbie I set the permissions to deny and then used my test account to see what happened.The result I got was you're not allowed to view the arcade.Try that and see if thats what you're after.rider
Title: Re: SMF Arcade
Post by: caNcer_b0y on October 05, 2005, 04:14:13 PM
Quote from: rider on October 05, 2005, 02:21:34 PM
Hey bud.I just tried to figure it out and this is what I did.For a newbie I set the permissions to deny and then used my test account to see what happened.The result I got was you're not allowed to view the arcade.Try that and see if thats what you're after.rider


Yeah seems like it IS a bug, becuase you shouldnt have to DENY, 'Disallow' (X) SHOULD work.  maybe thats somthing that niko should look into.  but thanks Rider.
Title: Re: SMF Arcade
Post by: TwinsX2Dad on October 06, 2005, 01:16:15 AM
Quote from: caNcer_b0y on October 05, 2005, 11:03:32 AM
k im not going to read through 104 pages to find if this has been answered.

That is a demand made by two-bit, no-account children dying to act all high and mighty over those who need a little help.

So I don't blame you cb - I wouldn't look through all the pages either.

The complexity of SMF isn't great - it is pretty simple to find things - and the SMF Arcade was coded to the loosest possible standards. Just witness the high server & database load it requires. Asking the kiddies for an answer, only to get the infantile response of "IT'S BEEN POSTED BEFORE! SEARCH IS YOUR FRIEND" is for the birds.

I did look through the 104 pages for an assortment of items. Fully half of the questions in this thread, no one had the brains to answer, nor the desire to help anyone find out. It reads like the trash found over on that S 'n' M Arcade forum. A bunch of 12 year olds, trying to figure out what t do with this testosterone thing.

My suggestion is to get rid of the arcade - in its place, one could run a dozen forums, using a cleanly written script.
Title: Re: SMF Arcade
Post by: gconn77 on October 06, 2005, 04:38:27 AM
Quote from: Purple on October 06, 2005, 01:16:15 AM
Quote from: caNcer_b0y on October 05, 2005, 11:03:32 AM
k im not going to read through 104 pages to find if this has been answered.

That is a demand made by two-bit, no-account children dying to act all high and mighty over those who need a little help.

So I don't blame you cb - I wouldn't look through all the pages either.

The complexity of SMF isn't great - it is pretty simple to find things - and the SMF Arcade was coded to the loosest possible standards. Just witness the high server & database load it requires. Asking the kiddies for an answer, only to get the infantile response of "IT'S BEEN POSTED BEFORE! SEARCH IS YOUR FRIEND" is for the birds.

I did look through the 104 pages for an assortment of items. Fully half of the questions in this thread, no one had the brains to answer, nor the desire to help anyone find out. It reads like the trash found over on that S 'n' M Arcade forum. A bunch of 12 year olds, trying to figure out what t do with this testosterone thing.

My suggestion is to get rid of the arcade - in its place, one could run a dozen forums, using a cleanly written script.

I will comment more about this.
Title: Re: SMF Arcade
Post by: rider on October 06, 2005, 08:49:51 AM
Quote from: Purple on October 06, 2005, 01:16:15 AM
Quote from: caNcer_b0y on October 05, 2005, 11:03:32 AM
k im not going to read through 104 pages to find if this has been answered.

That is a demand made by two-bit, no-account children dying to act all high and mighty over those who need a little help.

So I don't blame you cb - I wouldn't look through all the pages either.

The complexity of SMF isn't great - it is pretty simple to find things - and the SMF Arcade was coded to the loosest possible standards. Just witness the high server & database load it requires. Asking the kiddies for an answer, only to get the infantile response of "IT'S BEEN POSTED BEFORE! SEARCH IS YOUR FRIEND" is for the birds.

I did look through the 104 pages for an assortment of items. Fully half of the questions in this thread, no one had the brains to answer, nor the desire to help anyone find out. It reads like the trash found over on that S 'n' M Arcade forum. A bunch of 12 year olds, trying to figure out what t do with this testosterone thing.

My suggestion is to get rid of the arcade - in its place, one could run a dozen forums, using a cleanly written script.

Well for starters I resent your comments.BTW this site and snmarcade all the ?'s have been answered.I'm not a coder  but I can make it work and have helped lots of people getting it to work.Up into recently you could get all the answers from the arcade site and at one point we had the modded phps you needed as well.I'm sure once all the changes are made at the arcade site their FAQ will be back to normal.I guess the bottom line is if you don't like the mod don't use it.PS I'm not 12 and I don't whine and snivel when things don't work
Title: Re: SMF Arcade
Post by: niko on October 06, 2005, 08:54:38 AM
Deny denies even if its allowed somewhere

If user has: Default, Newbie membergroups default has arcade rights you must deny then from newbie disallow doesnt work because allow overrides it... deny overrides allow... hopefully this helps
Title: Re: SMF Arcade
Post by: Harro on October 06, 2005, 10:09:39 AM
I'm suddenly getting an error when I try to go to the arcade...
Fatal error: Only variables can be passed by reference in /home/users/members/hwbk/harro/public_html/forums/Sources/Arcade2.php on line 298
10 minutes ago it was working normally.
Was trying out the "tournament function" in the newest release.
When I tried to submit a score (when playing my second game), I got a blank page.
And now when I go to the arcade, I get that error.
Any idea what it can be?
Title: Re: SMF Arcade
Post by: TwinsX2Dad on October 06, 2005, 11:20:30 AM
Quote from: rider on October 06, 2005, 08:49:51 AMI guess the bottom line is if you don't like the mod don't use it.

Exactly - which is why I'd never use it for a board which sees more than 7 members. Far too resource intensive - partly because of sloppy code, but mainly because of the nature of a database fed script and the demand for games.

And yes, the questions get answered - at some point - but often after the problem has wrecked the person's board and seldom is the problem answered with courtesy. Instead, the answer is usually dripping with the arrogance of a snot-nosed kid who thinks they know everything.

The SMF related issues are generally answered here with courtesy, but not always promptly. The courtesy, kindness and intelligence all go out the window when dealing with the kiddies and their arcade.

Here's a newsflash - if they were intelligent, courteous and honest, they might figure out a way to afford a game console. Possibly mommy and daddy might spring for one if they raised nicer kids.
Title: Re: SMF Arcade
Post by: niko on October 06, 2005, 01:49:07 PM
Indeed code is not very good but its better than it was first
Title: Re: SMF Arcade
Post by: rider on October 06, 2005, 02:30:28 PM
Quote from: Purple on October 06, 2005, 11:20:30 AM
Quote from: rider on October 06, 2005, 08:49:51 AMI guess the bottom line is if you don't like the mod don't use it.

Exactly - which is why I'd never use it for a board which sees more than 7 members. Far too resource intensive - partly because of sloppy code, but mainly because of the nature of a database fed script and the demand for games.

And yes, the questions get answered - at some point - but often after the problem has wrecked the person's board and seldom is the problem answered with courtesy. Instead, the answer is usually dripping with the arrogance of a snot-nosed kid who thinks they know everything.

The SMF related issues are generally answered here with courtesy, but not always promptly. The courtesy, kindness and intelligence all go out the window when dealing with the kiddies and their arcade.

Here's a newsflash - if they were intelligent, courteous and honest, they might figure out a way to afford a game console. Possibly mommy and daddy might spring for one if they raised nicer kids.

Please so me these so called rude answers.I've never been rude when someone has trouble.To me you're just someone trying to stir the pot.As for this mod screwing up peoples forums that only happens when someone doesn't listen to the advice giving to them.As for the rude answers bud I'm willing to bet it was from people that don't do the support for the arcade.
Title: Re: SMF Arcade
Post by: ExistenZ on October 06, 2005, 03:28:25 PM
I ahve never seen people who complain as much.

I don't care about the silly code...not that the code is silly, mind you. It works fine on my website and a LOT of people play the games and I have like every game on snmgames on my site.
Title: Re: SMF Arcade
Post by: TwinsX2Dad on October 06, 2005, 03:50:07 PM
Quote from: Niko on October 06, 2005, 01:49:07 PM
Indeed code is not very good but its better than it was first

That it is, Niko - kudos for that.

Here are the problems in getting an arcade working correctly - you've done a good job, but have limitations....

A) An arcade is hard on a server to start with. There are so many bits of information being passed back and forth, it is a nightmare.

B) Your resources are limited. Take a look at the staffs of entities like Jelsoft, Infopop, Invision and even Lewis Media. You will find that there isn't one coder, but many. There are many more who are checking and rechecking the alpha code. Then they put out the code to those willing to try beta release software. Then they may have an additional level, or a release candidate, before the official release is published.

From what I understand, you are doing it all on your own and the users of this forum software are the alpha & beta testers. The Arcade is never truly 'release' quality, since you are doing the work all on your own. You don't have the time to get all the bugs worked out, much less optimize the code, before the next revision of the forum script is released and then it starts all over again for you.

To make matters worse, there are bottom feeders, like the kiddies over at the Sadism & Masochism Arcade board, rendering awful support and offering cheesy excuses to go with their extreme arrogance and misplaced sense of self-importance. It makes you look bad, especially with their sudden alliance with MKPortal (another under-supported and poorly written script) and their continued badmouthing of SMF and the SMF community.

Is SMF perfect? No, but neither was YaBB and neither is vB. Invision has some issues and...... well, the list could go on and on. SMF has a way to go to compete with the better written offerings, but those offerings cost $$$.

My suggestion for you, Niko, is to continue the work you're doing, but to retain more control over the support and who is offering it. Some of the few who are doing it now are in some real need of serious attitude adjustments - I wouldn't trust them to sweep my garage, much less give me support on php issues.

This isn't directed at everyone, mind you - just those who have that attitude of 'you idiot, can't you use search? The answer was covered in one of these 105 pages!'
Title: Re: SMF Arcade
Post by: rider on October 06, 2005, 05:03:09 PM
Also people who use a diff theme other than default will have problems until they mod the right phps,but the same goes for all the other add-ons as well.Niko is working all the bugs out but like everything else it takes time.
Title: Re: SMF Arcade
Post by: niko on October 07, 2005, 07:43:58 AM
Quote from: Purple on October 06, 2005, 03:50:07 PM
Quote from: Niko on October 06, 2005, 01:49:07 PM
Indeed code is not very good but its better than it was first

That it is, Niko - kudos for that.

Here are the problems in getting an arcade working correctly - you've done a good job, but have limitations....

A) An arcade is hard on a server to start with. There are so many bits of information being passed back and forth, it is a nightmare.

B) Your resources are limited. Take a look at the staffs of entities like Jelsoft, Infopop, Invision and even Lewis Media. You will find that there isn't one coder, but many. There are many more who are checking and rechecking the alpha code. Then they put out the code to those willing to try beta release software. Then they may have an additional level, or a release candidate, before the official release is published.

From what I understand, you are doing it all on your own and the users of this forum software are the alpha & beta testers. The Arcade is never truly 'release' quality, since you are doing the work all on your own. You don't have the time to get all the bugs worked out, much less optimize the code, before the next revision of the forum script is released and then it starts all over again for you.

To make matters worse, there are bottom feeders, like the kiddies over at the Sadism & Masochism Arcade board, rendering awful support and offering cheesy excuses to go with their extreme arrogance and misplaced sense of self-importance. It makes you look bad, especially with their sudden alliance with MKPortal (another under-supported and poorly written script) and their continued badmouthing of SMF and the SMF community.

Is SMF perfect? No, but neither was YaBB and neither is vB. Invision has some issues and...... well, the list could go on and on. SMF has a way to go to compete with the better written offerings, but those offerings cost $$$.

My suggestion for you, Niko, is to continue the work you're doing, but to retain more control over the support and who is offering it. Some of the few who are doing it now are in some real need of serious attitude adjustments - I wouldn't trust them to sweep my garage, much less give me support on php issues.

This isn't directed at everyone, mind you - just those who have that attitude of 'you idiot, can't you use search? The answer was covered in one of these 105 pages!'

A) Feel telling more spefically parts that are specially 'nightmares'?
Tournaments & Challanges are the most... and will be totally recoded some time (and merged)
Loading position dynamically for scores from database too... i think queries can be recuded by X * 2 wheres X = Number of games per page (Default 20: so 20 * 2 = 40) if not more

B) The mod's are different from forum software, but i'm ready to take more coders if theres some one who can read my code (worst parts) and use subversion... Anyone could test code theres guide at smf 'n mkp games and subversion server is at http://scm.madjoki.com ( scm.madjoki.com:3690 no username/password needed )
Title: Re: SMF Arcade
Post by: Lisah746 on October 07, 2005, 08:12:06 AM
Hate to break up the love fest!  ;D

Are there any plans to update the arcade to work with 1.1 RC1 any time soon?

Thanks,
Lisa
Title: Re: SMF Arcade
Post by: niko on October 07, 2005, 08:20:37 AM
Next version will work with 1.1 RC1
Title: Re: SMF Arcade
Post by: Uzbekistan on October 07, 2005, 08:25:33 AM
Hmm. It is working for me now! :)
Title: Re: SMF Arcade
Post by: Lisah746 on October 07, 2005, 08:37:44 AM
Quote from: Niko on October 07, 2005, 08:20:37 AM
Next version will work with 1.1 RC1

Any time frame on that?

Thanks
Title: Re: SMF Arcade
Post by: rider on October 07, 2005, 08:48:14 AM
Quote from: Uzbek on October 07, 2005, 08:25:33 AM
Hmm. It is working for me now! :)

Did you have any trouble getting it to run and is it possible to help lisa if she has any ?'s.I'm still running 1.05 so I have no idea what the issue are or will be.maybe your answers can help other.Thanks rider
Title: Re: SMF Arcade
Post by: niko on October 07, 2005, 09:05:52 AM
Quote from: Lisah746 on October 07, 2005, 08:37:44 AM
Quote from: Niko on October 07, 2005, 08:20:37 AM
Next version will work with 1.1 RC1

Any time frame on that?

Thanks

"This year"... hopefully
Title: Re: SMF Arcade
Post by: Lisah746 on October 07, 2005, 09:19:14 AM
Quote from: rider on October 07, 2005, 08:48:14 AM
Quote from: Uzbek on October 07, 2005, 08:25:33 AM
Hmm. It is working for me now! :)

Did you have any trouble getting it to run and is it possible to help lisa if she has any ?'s.I'm still running 1.05 so I have no idea what the issue are or will be.maybe your answers can help other.Thanks rider

Well the first issue I can't get around is when you click on the games link it just re-directs you to the main index page. That goes for clicking on the arcade admin as well.
Title: Re: SMF Arcade
Post by: Joseph on October 07, 2005, 09:50:43 AM
Locking this thread before cleaning it up. It will be unlocked later today.
Title: Re: SMF Arcade
Post by: Joseph on October 07, 2005, 10:01:38 AM
I just spent some time cleaning out an interesting thread of flamebait here. Keep in mind people, that there are a few things you agreed to when you joined this board.

QuoteYou agree, through your use of this forum, that you will not post any material which is ..., abusive, vulgar, hateful, harassing, ..., or otherwise in violation of any International, Canadian, or United States Federal law.

A lot of the statemnts and insults thrown around in this topic were very insulting and very abusive. This is not the place for it.

Objective debate and discussion is encouraged, but telling someone they're an idiot, an ass, or have no intelligence because have a certain perspective is not only unconstructive, but completely innaporopriate and unacceptable.
Title: Re: SMF Arcade
Post by: Uzbekistan on October 07, 2005, 11:12:11 AM
Quote from: Lisah746 on October 07, 2005, 09:19:14 AM
Quote from: rider on October 07, 2005, 08:48:14 AM
Quote from: Uzbek on October 07, 2005, 08:25:33 AM
Hmm. It is working for me now! :)
Did you have any trouble getting it to run and is it possible to help lisa if she has any ?'s.I'm still running 1.05 so I have no idea what the issue are or will be.maybe your answers can help other.Thanks rider
Well the first issue I can't get around is when you click on the games link it just re-directs you to the main index page. That goes for clicking on the arcade admin as well.

How did you install it - using "Package manager" or manually? As far as i know package manager does not support it. I installed it manually - everything seems to be fine (apart from lots of error coming in error log, especially hate one about defintion of "game" in display.php.
Title: Re: SMF Arcade
Post by: rider on October 07, 2005, 11:23:56 AM
Quote from: Lisah746 on October 07, 2005, 09:19:14 AM
Quote from: rider on October 07, 2005, 08:48:14 AM
Quote from: Uzbek on October 07, 2005, 08:25:33 AM
Hmm. It is working for me now! :)

Did you have any trouble getting it to run and is it possible to help lisa if she has any ?'s.I'm still running 1.05 so I have no idea what the issue are or will be.maybe your answers can help other.Thanks rider

Well the first issue I can't get around is when you click on the games link it just re-directs you to the main index page. That goes for clicking on the arcade admin as well.
When you are in your admin panel and in the arcade admin did you enable the arcade?
Title: Re: SMF Arcade
Post by: Lisah746 on October 07, 2005, 11:49:09 AM
I was using smf 1.1 beta 3 public. I had the arcade working fine with that release. I removed all mods and upgraded to 1.1RC1 and when I put the games back it's not working. I did use the package installer and the tests went through successfully. I made sure to enable the arcade in the admin panel.
Title: Re: SMF Arcade
Post by: rider on October 07, 2005, 12:14:54 PM
OK Did you try and run the arcade_sql.php more than once?
Title: Re: SMF Arcade
Post by: Lisah746 on October 07, 2005, 12:25:17 PM
Quote from: rider on October 07, 2005, 12:14:54 PM
OK Did you try and run the arcade_sql.php more than once?

No, should I try running it more than once?
Title: Re: SMF Arcade
Post by: rider on October 07, 2005, 01:23:08 PM
Quote from: Lisah746 on October 07, 2005, 12:25:17 PM
Quote from: rider on October 07, 2005, 12:14:54 PM
OK Did you try and run the arcade_sql.php more than once?

No, should I try running it more than once?

It won't hurt anything if you do.Hopefully someone will be able to add a little more insight to this.
Title: Re: SMF Arcade
Post by: Lisah746 on October 07, 2005, 01:34:31 PM
Nope it didn't work  :(  Thankx for trying to help. Does anyone have any ideas for doing anything else?
Title: Re: SMF Arcade
Post by: snork13 on October 07, 2005, 02:56:58 PM
Quote from: Lisah746 on October 07, 2005, 01:34:31 PM
Nope it didn't work  :(  Thankx for trying to help. Does anyone have any ideas for doing anything else?

if you have phpadmin, check the database and see if the table are made...try running the query from within phpadmin...

-snork
Title: Re: SMF Arcade
Post by: Uzbekistan on October 07, 2005, 05:25:42 PM
I actually didn't install it again after upgrading to RC1 from Beta 3. I just updated the templates and integrated into forum, without touching database.
Title: Re: SMF Arcade
Post by: niko on October 07, 2005, 05:39:23 PM
Quote from: Lisah746 on October 07, 2005, 01:34:31 PM
Nope it didn't work  :(  Thankx for trying to help. Does anyone have any ideas for doing anything else?

You need probably to edit index.php

find
      'admin' => array('Admin.php', 'Admin'),
and add these after it
      'arcade' => array('Arcade.php','Arcade'),
      'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),
Title: Re: SMF Arcade
Post by: Lisah746 on October 08, 2005, 08:40:59 AM
Quote from: Niko on October 07, 2005, 05:39:23 PM
Quote from: Lisah746 on October 07, 2005, 01:34:31 PM
Nope it didn't work  :(  Thankx for trying to help. Does anyone have any ideas for doing anything else?

You need probably to edit index.php

find
      'admin' => array('Admin.php', 'Admin'),
and add these after it
      'arcade' => array('Arcade.php','Arcade'),
      'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),

That did it! Thank-You so much!
Title: Re: SMF Arcade
Post by: greyknight17 on October 09, 2005, 06:34:39 PM
Finally had enough courage to try getting SMF Arcade back but ran into some problems.  I'm using SMF 1.1 Beta 3.  Got errors about not finding a database ..._games_category, but I went into phpMyAdmin and think I got it corrected.  It was a misspelling of caterogy instead of category.  I got that fixed up and ran arcade_sql.php and got this error now:
QuoteSMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 87 tables in database

Query ALTER TABLE yabbse_games ADD COLUMN `category` int(11) NOT NULL Failed
Duplicate column name 'category'

Updating champions table
All queries done, there were 1 errors
Funny thing is that my arcade seems to work now.  I checked and see that I don't have 87 tables...I have 94 right now.  Is everything ok?  How do I correct that one error above?

EDIT:Also why aren't my images showing up next to the games?  They all have an X next to them.  The images are in the same folder as the games.  I have left them there since the last time I lost the SMF Arcade mod due to the forum upgrade I did.  Games seem to work though, just no images next to the list of games.

I also noticed something else.  In my admin settings (game settings), I see version 1.2.2, but in the games section (where the list of games are), I see version 1.2.3...minor error?
Title: Re: SMF Arcade
Post by: rider on October 09, 2005, 06:58:12 PM
try to reinstall the gif images for the games and see if that works.As for that error I think what I did was deleted that table and uninstalled the arcade and then reinstalled it.Also if the category error comes back try to run the arcade_sql.php twice and see if that all works.hope this helps
Title: Re: SMF Arcade
Post by: Gargoyle on October 09, 2005, 07:40:02 PM
I couldn't even run the sql file so don't feel to bad... LOL!!!
Title: Re: SMF Arcade
Post by: greyknight17 on October 09, 2005, 07:48:21 PM
Thanks for the reply rider.

When you say reinstall, do you want me to delete the games and then go back to installing them again?  Tried it with one of the games ... didn't seem to work  :(

Fixed that single error though by running arcade_sql.php again  :)  No need to delete the table then if the error is fixed right?

Yeah, had that problem too Gargoyle...I think it was for different version though when I did it a while back.  Are you using compatible versions?  I know compatibility for SMF 1.1RC1 is still not ready yet.
Title: Re: SMF Arcade
Post by: rider on October 09, 2005, 07:55:07 PM
Quote from: greyknight17 on October 09, 2005, 07:48:21 PM
Thanks for the reply rider.

When you say reinstall, do you want me to delete the games and then go back to installing them again?  Tried it with one of the games ... didn't seem to work  :(

Fixed that single error though by running arcade_sql.php again  :)  No need to delete the table then if the error is fixed right?

Yeah, had that problem too Gargoyle...I think it was for different version though when I did it a while back.  Are you using compatible versions?  I know compatibility for SMF 1.1RC1 is still not ready yet.
I meant to uninstall the arcade but you don't have to cause you fixed the error.Did you try to upload the gif images for the games only?Try that in the past it has worked.As for it working in 1.1 rc1 if you look up a few posts back someone had a problem and it was fixed.The answer is on the this page.
Title: Re: SMF Arcade
Post by: rider on October 09, 2005, 08:01:54 PM
Quote from: Gargoyle on October 09, 2005, 07:40:02 PM
I couldn't even run the sql file so don't feel to bad... LOL!!!

What happened when you ran it?
Title: Re: SMF Arcade
Post by: Gargoyle on October 09, 2005, 08:27:06 PM
white page of death... Basically nothing happened....

I was trying to follow some directions on the snmarcade forum to get it to work with 1.1RC1 and all it did was mess up the forums and not work... LOL!!

I guess I should just wait for the 1.1 RC1 version to be completed.
Title: Re: SMF Arcade
Post by: greyknight17 on October 09, 2005, 10:48:44 PM
Quote from: riderDid you try to upload the gif images for the games only?
Should I delete the gif images I have in the Games folder and reupload them then?  I have these images with the games already when I was using SMF 1.0.5, but since the upgrade to 1.1b3 killed the MOD a while back, I just left the folder with the games there.
Title: Re: SMF Arcade
Post by: steve in houston on October 09, 2005, 11:50:30 PM
I am having problems finding games to download.
The links mentioned earlier in this thread by Niko are not
working anymore.

Where else can I find some games?
Title: Re: SMF Arcade
Post by: rider on October 10, 2005, 12:53:42 AM
Quote from: Stucknut on October 09, 2005, 11:50:30 PM
I am having problems finding games to download.
The links mentioned earlier in this thread by Niko are not
working anymore.

Where else can I find some games?
You can try this link here its working....http://smfarcade.arcade.web.com/
Title: Re: SMF Arcade
Post by: rider on October 10, 2005, 12:56:15 AM
Quote from: greyknight17 on October 09, 2005, 10:48:44 PM
Quote from: riderDid you try to upload the gif images for the games only?
Should I delete the gif images I have in the Games folder and reupload them then?  I have these images with the games already when I was using SMF 1.0.5, but since the upgrade to 1.1b3 killed the MOD a while back, I just left the folder with the games there.
You shouldn't have to delete them.Just copy over and see if that works.If not then delete one and replace it.
Title: Re: SMF Arcade
Post by: rider on October 10, 2005, 12:12:37 PM
Here's another link to the arcade site   http://smfarcade.arcade.web.com/
Title: Re: SMF Arcade
Post by: steve in houston on October 10, 2005, 12:22:16 PM
It's back up now.
Thanks.
Title: Re: SMF Arcade
Post by: rider on October 10, 2005, 12:25:19 PM
NP.Glad to help.If you have any problems post back here or at the arcade site and someone will help you.
Title: Re: SMF Arcade
Post by: steve in houston on October 10, 2005, 01:43:10 PM
Is this possible?

I found some good games at http://www.infowire.org/forums/arcade/ (http://www.infowire.org/forums/arcade/) that I want to put on my site.  The games upload and play fine, but it sends different variables out when score is submitted.  Is there a way to intercept those variables and add them to the database?

zizzochallenge.swf is what I tested.  I love that game. If anyone knows how to use the GameRival games with SMF, please let me know.

thanks
Title: Re: SMF Arcade
Post by: greyknight17 on October 10, 2005, 04:22:16 PM
Quote from: rider on October 10, 2005, 12:56:15 AM
Quote from: greyknight17 on October 09, 2005, 10:48:44 PM
Quote from: riderDid you try to upload the gif images for the games only?
Should I delete the gif images I have in the Games folder and reupload them then?  I have these images with the games already when I was using SMF 1.0.5, but since the upgrade to 1.1b3 killed the MOD a while back, I just left the folder with the games there.
You shouldn't have to delete them.Just copy over and see if that works.If not then delete one and replace it.
Hi rider, I tried even putting up a new game (upload both swf and gif files) and images are still not showing up  :'(

Stucknut, are those SMF games though?  I see familiar names  :)  If not, I don't think it will work unless you ask Niko (and company) to get permission to work on them.  Go to the forum that rider posted:

http://smfarcade.arcade.web.com/

Ask them there if those games could be used on SMF arcade.
Title: Re: SMF Arcade
Post by: Uzbekistan on October 11, 2005, 12:32:34 AM
The games in the link a IPB games. Someone has to port them to SMF before being able to play them

Can someone do it for Curveball?!! My favourite game - and still no smf port!
Title: Re: SMF Arcade
Post by: ExistenZ on October 11, 2005, 04:13:39 PM
Do you have a link to where this game can be downloaded?
Title: Re: SMF Arcade
Post by: ufuk.exe on October 11, 2005, 05:17:00 PM
Sorry, I couldn't search through 107 pages of posts, because SEARCH is disabled right now.. :(

Anyway,

I am getting " You arent allowed to view arcade, sorry!" error, using a regular member. W

Admin can play without a problem.

Why?
Thank You.
Title: Re: SMF Arcade
Post by: ufuk.exe on October 11, 2005, 05:27:27 PM
please ignore above post
Search is back, and I found it
Title: Re: SMF Arcade
Post by: Uzbekistan on October 11, 2005, 07:16:59 PM
Quote from: ExistenZ on October 11, 2005, 04:13:39 PM
Do you have a link to where this game can be downloaded?
Here we go: http://www.flashplayer.com/games/curveball.html
Title: Re: SMF Arcade
Post by: Lisah746 on October 12, 2005, 09:35:44 AM
I'm having a problem getting the display champions to work. I'm running 1.1 rc1. I have searched and found some fixes for other people with the same problem but thoses fixes did not work for me. Any idea how I can get this up and running?
Title: Re: SMF Arcade
Post by: rider on October 12, 2005, 11:15:52 AM
I've noticed what worked before doesn't work with 1.1rc1.I think you may have to wait till nico can update it.
Title: Re: SMF Arcade
Post by: Lisah746 on October 12, 2005, 11:18:32 AM
Quote from: rider on October 12, 2005, 11:15:52 AM
I've noticed what worked before doesn't work with 1.1rc1.I think you may have to wait till nico can update it.

K, no problem. Thanks Rider.
Title: Re: SMF Arcade
Post by: rider on October 12, 2005, 11:19:56 AM
you can try this link and see if this helps you....http://smfarcade.arcade.web.com/forum/index.php?topic=1606.0.
This will take you to the arcade site.Hope it helps.
Title: Re: SMF Arcade
Post by: rider on October 12, 2005, 11:33:34 AM
Also you can check out pages 95 to 97 in this thread.It may help you out.
Title: Re: SMF Arcade
Post by: snork13 on October 12, 2005, 09:07:51 PM
@Lisah746

i have the arcade working with 1.1rc1 including the champion! I can help!
Title: Re: SMF Arcade
Post by: Pod on October 13, 2005, 02:32:58 AM
i installed this..went nice and smoothly..i played a few games as did my members and the high scores are not showing or the Most Active users (by submit count)....or the Most Played Games (by submit count)........is there a fix for this?
Title: Re: SMF Arcade
Post by: rider on October 13, 2005, 08:21:49 AM
Quote from: Pod on October 13, 2005, 02:32:58 AM
i installed this..went nice and smoothly..i played a few games as did my members and the high scores are not showing or the Most Active users (by submit count)....or the Most Played Games (by submit count)........is there a fix for this?

when you are in the arcade can you click on the statistics button?You should beable to see everything there.If you running the lastest version it should be working.























Title: Re: SMF Arcade
Post by: Pod on October 13, 2005, 10:49:04 AM
version 1.2.3i installed this using the package manager..i had to edit subs.php and memberpermissions.php myself then the rest seem to work ok..maybe a file is missing editing cause even other users on my forum have pointed this problem out and are wondering why its not saving their high scores lol.
Title: Re: SMF Arcade
Post by: rider on October 13, 2005, 11:10:37 AM
can you send me a link so I can take a look?
Title: Re: SMF Arcade
Post by: Pod on October 13, 2005, 01:14:34 PM
http://www.wicked-messenger.info

Username:Test
Password:test
Title: Re: SMF Arcade
Post by: rider on October 13, 2005, 01:44:54 PM
My 1st ? is where'd did you get those games?if you didn't d/l then from the arcade site they will not work with the smfarcade.Go to the arcade siat and D/l the games and try it.here is the link to the games....http://www.snmarcade.com/

Title: Re: SMF Arcade
Post by: Pod on October 13, 2005, 02:59:06 PM
ty that fixed it..didnt know u needed those games from the site for it to work :d..ty all fixed
Title: Re: SMF Arcade
Post by: rider on October 13, 2005, 03:08:06 PM
Glad I could help. :)
Title: Re: SMF Arcade
Post by: Frostbyte on October 15, 2005, 09:27:40 AM
Why cant I access any game downloads from any of the site links in this thread..they are all down, and the http://www.snmarcade.com/ after I have registered and when I click download it says error I dont have permission to access that page...I installed the arcade but now I dont have any games....any help where I could download the converted ones at?


Frostbyte
Title: Re: SMF Arcade
Post by: Frostbyte on October 15, 2005, 09:33:46 AM
Also when I ran PHPBB software we could get 100's of flash games that are used by permission from phpbb-amod.com, any chance we could get permission from all the same authors they did?,also I just need to find a place to download games for SMF Arcade.....



Frostbyte
Title: Re: SMF Arcade
Post by: rider on October 15, 2005, 10:14:31 AM
The games used for the arcade are by permission only.We do try and get permission from as many authors as we can.Try this link for the D/L.http://www.arcade.web.com/index.php

The site is under going some changes right now so bare with us as it gets done.
Title: Re: SMF Arcade
Post by: Salamence on October 15, 2005, 10:43:20 AM
hmm. I have some problems to instaling Packages. And when I instal SMF Arcade it says that I most chmodde some files, but who of them most i chmodde?

A littlebit bad in engliah :P But I hope you undersatnd ;)
Title: Re: SMF Arcade
Post by: rider on October 15, 2005, 10:48:19 AM
There's a good chance that the ones that need to be cmodded are already done.Go ahead and install it and let us know if you have any trouble.
Title: Re: SMF Arcade
Post by: RoarinRow on October 15, 2005, 12:49:08 PM
Does anyone have a working ArcadeAdmin.php?  I get the 'caterogy' error in my logs and I do not know which one to correct.  It looks all Greek to me. 

The other error message I get is with file Arcade2.php.   I would just like some working files.  Please.
Title: Re: SMF Arcade
Post by: Salamence on October 16, 2005, 03:14:09 AM
Quote from: rider on October 15, 2005, 10:48:19 AM
There's a good chance that the ones that need to be cmodded are already done.Go ahead and install it and let us know if you have any trouble.
hmm. I cant install it. This is the message i get: "You most chmodde som files before you can install this package". I must chmodde the files before  i can install it. So which files is it?
Title: Re: SMF Arcade
Post by: rider on October 16, 2005, 10:25:04 AM
Quote from: Salamence on October 16, 2005, 03:14:09 AM
Quote from: rider on October 15, 2005, 10:48:19 AM
There's a good chance that the ones that need to be cmodded are already done.Go ahead and install it and let us know if you have any trouble.
hmm. I cant install it. This is the message i get: "You most chmodde som files before you can install this package". I must chmodde the files before  i can install it. So which files is it?

Send me a link to your site and I'll see if I can help.
Title: Re: SMF Arcade
Post by: Salamence on October 16, 2005, 02:33:40 PM
OK. I have sendt it on PM
Title: Re: SMF Arcade
Post by: MarkL on October 17, 2005, 11:28:44 AM
HI,

I am new to SMF boards and have a question. I just downloaded a game pack for SMF Games but I have not idea how to install it. I do have the SMF Games Package installed. I went to the games installer but see no options for installing new games.

How would I install the game pack I just downloaded?

THANKS!!!
Title: Re: SMF Arcade
Post by: rider on October 17, 2005, 12:00:48 PM
Quote from: jazzmark on October 17, 2005, 11:28:44 AM
HI,

I am new to SMF boards and have a question. I just downloaded a game pack for SMF Games but I have not idea how to install it. I do have the SMF Games Package installed. I went to the games installer but see no options for installing new games.

How would I install the game pack I just downloaded?

THANKS!!!


You have to upload the games to your main games folder in your ftp and install thru you game installer in your admin panel on your site.Hope this helps.
Title: Re: SMF Arcade
Post by: MarkL on October 17, 2005, 12:14:20 PM
Quote from: rider on October 17, 2005, 12:00:48 PM
Quote from: jazzmark on October 17, 2005, 11:28:44 AM
HI,

I am new to SMF boards and have a question. I just downloaded a game pack for SMF Games but I have not idea how to install it. I do have the SMF Games Package installed. I went to the games installer but see no options for installing new games.

How would I install the game pack I just downloaded?

THANKS!!!


You have to upload the games to your main games folder in your ftp and install thru you game installer in your admin panel on your site.Hope this helps.

Thanks for the quick reply, unfortunately, I am not seeing any INSTALL option in the installer section. Maybe I uploaded it incorrectly. Should I be uploading into a subdirectory of games or directly into the games directory?

What I have is a bunch of SWF files and graphic.

Thanks!!!
Title: Re: SMF Arcade
Post by: rider on October 17, 2005, 12:25:51 PM
Upload them to your main games directory in your ftp.Do a copy and paste of the images and files.Then you should see them when you go into your arcade admin panel on your site.If you see the games in the installer section then just click on the game and follow the next steps.
Title: Re: SMF Arcade
Post by: MarkL on October 17, 2005, 12:29:10 PM
Worked! THANKS!
Title: Re: SMF Arcade
Post by: rider on October 17, 2005, 12:37:53 PM
NP Glad I could help. :D
Title: Re: SMF Arcade
Post by: Swoah on October 18, 2005, 07:09:44 AM
Hi guys,

The arcade mod is working perfectly except for a few tiny things..
First of all i'm experiencing a lot of error messages in the error log:
Undefined variable: game       File: c:\domains\xxxxxxxx.com\wwwroot\forum\Sources\Display.php            Line: 555

The line it's refering to is:
if(file_exists($modSettings['arcade_games_dir']."/".$rivi['game'].".".$ex)){

I've tried the solution JohnM gave here: http://www.simplemachines.org/community/index.php?topic=29619.msg353026#msg353026

Thus this didn't work. I'm still getting the error message.
Can anybody help me with this?


There's also one little problem, in the game listing you don't see the thumbnails when you're using Firefox with IE everything is oke...

Thanks for your help...
Title: Re: SMF Arcade
Post by: Sting on October 19, 2005, 10:05:42 PM
Okay, I didn't have the time nore the patience to read through the 110 pages worth or posts so I will just post here, etc, etc.

I installed the arcade and when I went to add games... or basically anything with it it told me that I was running version 1.05 of smf but version 1.02 of the database. My question is, how do I fix this?

Now if you say upgrade to 1.1 I'll hurt you because I tried and couldn't get it to do so. It would always tell me I have internal configuration problems and that it could not load the upgrade.php because of it.

when I run arcade_sql.php I get "The server encountered an internal error or misconfiguration and was unable to complete your request."

And when I check server log I see this "[Wed Oct 19 20:31:13 2005] [error] [client 63.233.105.25] Premature end of script headers: /home/stingah/public_html/xfactor/arcade_sql.php"

EDIT: Ok, nvm fixed it... some reason the file was chmod'd to 666... I set it to 644 and it worked.
Title: Re: SMF Arcade
Post by: DangerGirl on October 20, 2005, 03:03:43 AM
Out of nowhere a member on my 1.0.5 forum received a database error while playing Mahjongg.  I wish I had copied the error, would have been nice.  We started getting that error while trying to play any game after that.  The second part of the error, the Note, was saying that my db files were out of date, like 1.02 or something.  I know, I'm so helpful.

Anyway, I tried to upgrade from arcade version 1.2 to 1.2.3, and while installing, Display.template.php failed.  I continued anyway, hoping, and now I get this error when going to arcade_sql.php:

SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 70 tables in database
Table 'bboards.smf_games_category' doesn't exist

I don't currently have access to the db, but I can relay info to the admin.  Any idea what I need to do?

Thanks!

Edit: I uploaded 1.2.3, but the only package available to install via package manager was SMF Arcade 1.2.1.  Could this be my problem?  I'm confused I guess, it's been a long night.  :P
Title: Re: SMF Arcade
Post by: Sting on October 20, 2005, 12:42:38 PM
Quote from: DangerGirl on October 20, 2005, 03:03:43 AM
Edit: I uploaded 1.2.3, but the only package available to install via package manager was SMF Arcade 1.2.1.  Could this be my problem?  I'm confused I guess, it's been a long night.  :P

ya, I even went to the web site and uploaded it normally. Still says 1.2.1 for the package manager and for the arcade itself (when you're adding games, etc) it says 1.2.2.  ;)

But everything on mine seems to work. I will try and upload Mahjongg when my server finishes updates and see if I encounter the same problem.
Title: Re: SMF Arcade
Post by: ripple on October 22, 2005, 04:42:23 PM
Couple of things:

It looks like the the arcade sites aren't working correctly -- can't get to any of the downloadable games.  Anyone have an updated link, or when these sites are going to work?

Secondly, how do you get the "Who's Online" link to display members who are in the arcade itself?  Now, it says "Unknown action"

Title: Re: SMF Arcade
Post by: niko on October 22, 2005, 05:23:27 PM
http://smfarcade.arcade.web.com/ (Support)
http://arcade.web.com/ (Games)

is current urls

Who's Online requires adding something to somewhere dont remember what it was... $txt['action_aracade'] = 'Arcade'; or something like that... i will tell more after sleep

Title: Re: SMF Arcade
Post by: Sting on October 22, 2005, 06:23:14 PM
Ok, 1st off, I couldn't find the game Mahjongg to test it so until I find it I can't help ya.

2ndly, I was looking back through some of the eroors that have been logged in the forum and I'm wondering if someone can't help me solve these before they potentially cause problems.

Error #1:
8: Undefined variable: game
File: /home/stingah/public_html/xfactor/Sources/Display.php
Line: 576


Line 576 code:
if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){

obviously it's the $game that's the problem, but I'm unsure where exactly it needs to be defined.

Error #2:
8: Undefined variable: i
File: /home/stingah/public_html/xfactor/Sources/Display.php
Line: 573


Line 573 code:
$context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default

same as the last, unsure where to define $i.

EDIT: duh... nvm, just had to globalize them

global $game, $i;
Title: Re: SMF Arcade
Post by: Gargoyle on October 22, 2005, 10:32:34 PM
http://smfarcade.arcade.web.com/ (Support)

It says the site is closed ?
Title: Re: SMF Arcade
Post by: Ray™ on October 23, 2005, 12:38:35 AM
Sorry to ask but where does this line of code go??

   global $game, $i;

Thanks
Title: Re: SMF Arcade
Post by: Sting on October 23, 2005, 01:58:08 AM
Quote from: Ray on October 23, 2005, 12:38:35 AM
Sorry to ask but where does this line of code go??

   global $game, $i;

Thanks

Sources/Display.php

Just so you have an idea of where to put it I added code above it. This is just where they are declaring their variables.

// The central part of the board - topic display.
function Display()
{
global $scripturl, $txt, $db_prefix, $modSettings, $context, $settings, $options, $sourcedir;
global $user_info, $ID_MEMBER, $board_info, $topic, $board, $attachments, $messages_request;
global $game, $i;





Quote from: Swoah on October 18, 2005, 07:09:44 AM
Hi guys,

The arcade mod is working perfectly except for a few tiny things..
First of all i'm experiencing a lot of error messages in the error log:
Undefined variable: game       File: c:\domains\xxxxxxxx.com\wwwroot\forum\Sources\Display.php            Line: 555

The line it's refering to is:
if(file_exists($modSettings['arcade_games_dir']."/".$rivi['game'].".".$ex)){

I've tried the solution JohnM gave here: http://www.simplemachines.org/community/index.php?topic=29619.msg353026#msg353026

Thus this didn't work. I'm still getting the error message.
Can anybody help me with this?


There's also one little problem, in the game listing you don't see the thumbnails when you're using Firefox with IE everything is oke...

Thanks for your help...

That will solve your problem with the undeclared variables as well. As for the displaying of thumbnails, I have no problems on my forum. If you're still having the problems, post the link to your site and I'll see if it happens to me.
Title: Re: SMF Arcade
Post by: deathwantsme on October 23, 2005, 03:03:08 AM
Database Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
File: /home/theorder/public_html/forum/Sources/Display.php
Line: 567

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

How do i fix this?
Title: Re: SMF Arcade
Post by: Sting on October 23, 2005, 03:40:28 AM
ok, I got this error before I ran the arcade_sql.php have you ran this?

If you haven't do so this will update you database. And if it tells you it has an "Internal Configuration Error", chmod (change permissions from 666 to 644).
Title: Re: SMF Arcade
Post by: Swoah on October 23, 2005, 09:14:15 AM
Thanks Sting, it seems to work...
Title: Re: SMF Arcade
Post by: deathwantsme on October 23, 2005, 01:36:45 PM
how do you "run" a file in cPanel?
Title: Re: SMF Arcade
Post by: Xarcell on October 23, 2005, 01:53:33 PM
I dunno from cPanel, but I think it means just go to teh url of the file "http://xxx/xxx/xx/yourfile.php

-Xarcell
Title: Re: SMF Arcade
Post by: deathwantsme on October 23, 2005, 01:55:17 PM
yup, that seemed to do it. Thanks MUCH!
Title: Re: SMF Arcade
Post by: Ray™ on October 23, 2005, 02:00:06 PM
Thanks Sting no one has posted that fix - thanks again

maybe you have an idea about this error -- this is my last one to have that shows up all the time

http://www.rranderson.com/xxx/index.php?action=arcade  
8: Undefined index: member
File: X:\xxx\xxx\Themes\default\TPortalBlocks.template.php (game_list sub template - eval?)
Line: 220

this is in the acade.template.php
and here is the code -- I think

if($temp['highscore'] != 2){
if(count($temp['top10']) >= 1){

$champ = "<a href=\"{$scripturl}?action=profile;u={$temp['top10'][0]['member']['ID_MEMBER']}\">".$temp['top10'][0]['member']['realName']."</a><br />";

$champ.= (float)$temp['top10'][0]['score'];
         }
Title: Re: SMF Arcade
Post by: Sting on October 23, 2005, 02:49:08 PM
Quote from: deathwantsme on October 23, 2005, 01:36:45 PM
how do you "run" a file in cPanel?

from cpanel click on File manager, go to the file you want to run, click on it and a link should show up around the tiop right hand side http://www.yoursite.com/folder/filename.php

Quote from: Ray on October 23, 2005, 02:00:06 PM
Thanks Sting no one has posted that fix - thanks again

maybe you have an idea about this error -- this is my last one to have that shows up all the time

http://www.rranderson.com/xxx/index.php?action=arcade 
8: Undefined index: member
File: X:\xxx\xxx\Themes\default\TPortalBlocks.template.php (game_list sub template - eval?)
Line: 220


npz, you might try opening your TPortalBlocks.template.php and doing the same thing there

global $member;

if that doesn't work you might post the code or file and I will look through it.
Title: Re: SMF Arcade
Post by: Ray™ on October 23, 2005, 03:58:55 PM
it didnt work so here is the file to look at and I want to really thank you

shoot i do not have rights to upload a file

you want the code from tportal or the arcade file??
Title: Re: SMF Arcade
Post by: Sting on October 23, 2005, 04:03:45 PM
The TPortalBlocks.template.php is where the prob is so that file.
Title: Re: SMF Arcade
Post by: Ray™ on October 23, 2005, 04:46:19 PM
Here it is and sorry it is sooo big

yea i didnt like doing that

sending email
Title: Re: SMF Arcade
Post by: Sting on October 23, 2005, 04:56:23 PM
Quote from: Ray on October 23, 2005, 02:00:06 PM
http://www.rranderson.com/xxx/index.php?action=arcade 
8: Undefined index: member
File: X:\xxx\xxx\Themes\default\TPortalBlocks.template.php (game_list sub template - eval?)
Line: 220

this is in the acade.template.php
and here is the code -- I think

if($temp['highscore'] != 2){
if(count($temp['top10']) >= 1){

$champ = "<a href=\"{$scripturl}?action=profile;u={$temp['top10'][0]['member']['ID_MEMBER']}\">".$temp['top10'][0]['member']['realName']."</a><br />";

$champ.= (float)$temp['top10'][0]['score'];
         }

hmmz... well the line of code that is said to have the problem according to the error was line 220 of TPortalBlocks.template.php

echo '<br />'.$bullet.'<a href="', $scripturl, '?action=pm">' .$txt['tp-pm'].' ', $context['user']['messages'], '</a>';


and the code you posted above... well, I'm not too sure. I mean, I don't see anything that just jumps out at me that would cause an error.
Title: Re: SMF Arcade
Post by: deathwantsme on October 23, 2005, 09:28:34 PM
Would anyone like to be nice enough to give me the links for all the sites where you can download games? There are over 1100 posts in this thread and i dont want to have to search all of the posts for the game downloads. Much appriciated if you do!
Title: Re: SMF Arcade
Post by: Gargoyle on October 23, 2005, 09:33:16 PM
http://arcade.web.com/
Title: Re: SMF Arcade
Post by: deathwantsme on October 23, 2005, 09:35:38 PM
Is this the only ones or are there other sites where you can get games for your arcade? If i can find other flash games that arent on there, would i be able to install them on my forum?
Title: Re: SMF Arcade
Post by: Gargoyle on October 23, 2005, 09:43:14 PM
No those are the only ones that will work properly.

They have been specially edited to work with the mod.
Title: Re: SMF Arcade
Post by: deathwantsme on October 23, 2005, 09:44:56 PM
So if i find some and put the games on here, would someone edit it so that we can all use the games?
Title: Re: SMF Arcade
Post by: Sting on October 23, 2005, 09:49:22 PM
They basically have to get permission to use it for that to begin with from what I understand.
Title: Re: SMF Arcade
Post by: deathwantsme on October 23, 2005, 09:50:18 PM
ERG... people and their red tape. Got to love it.
Title: Re: SMF Arcade
Post by: RoarinRow on October 24, 2005, 12:12:18 AM
Quote from: oldmanwolf on July 18, 2005, 02:59:00 PM
At the same time, I'm getting this error in the Admin log...
8: Undefined variable: latest
File: /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php
Line: 495


line 495: return $latest;

I get the line 495 error a couple times before, probably when starting the game in the first place...  These two could be related somehow...

Any ideas?   :-\

Has anyone fixed this error message about:

8: Undefined variable: latest
File: /forum/Sources/Arcade2.php
Line: 518

It's one of my last error messages to fix in addition to:

- Unable to load the 'tourney' template.

and

-8: Undefined index: Users
File: /forum/Sources/Arcade.php
Line: 1164

and

- Unable to load the 'top' template.

Thanks!
Title: Re: SMF Arcade
Post by: deathwantsme on October 24, 2005, 12:14:12 AM
I get 2 buttons for the arcade called games with this in the default CSS and would like to know how to add just 1 button on other CSS' Can anyone help me?
Title: Re: SMF Arcade
Post by: Ray™ on October 24, 2005, 12:33:10 AM
Quote from: Sting on October 23, 2005, 04:56:23 PM
Quote from: Ray on October 23, 2005, 02:00:06 PM
http://www.rranderson.com/xxx/index.php?action=arcade 
8: Undefined index: member
File: X:\xxx\xxx\Themes\default\TPortalBlocks.template.php (game_list sub template - eval?)
Line: 220

this is in the acade.template.php
and here is the code -- I think

if($temp['highscore'] != 2){
if(count($temp['top10']) >= 1){

$champ = "<a href=\"{$scripturl}?action=profile;u={$temp['top10'][0]['member']['ID_MEMBER']}\">".$temp['top10'][0]['member']['realName']."</a><br />";

$champ.= (float)$temp['top10'][0]['score'];
         }

hmmz... well the line of code that is said to have the problem according to the error was line 220 of TPortalBlocks.template.php

echo '<br />'.$bullet.'<a href="', $scripturl, '?action=pm">' .$txt['tp-pm'].' ', $context['user']['messages'], '</a>';


and the code you posted above... well, I'm not too sure. I mean, I don't see anything that just jumps out at me that would cause an error.

emailing you the file I think the error is in
Title: Re: SMF Arcade
Post by: deathwantsme on October 24, 2005, 12:38:08 AM
thats greek to me. I have no clue what im supposed to do with that or how to. Do i do that in my FTP or via the forum's theme manager?
Title: Re: SMF Arcade
Post by: Sting on October 24, 2005, 01:03:22 AM
Ray, you can remove the $member from global. It's not the problem because it's not being called in the file whatsoever, and it's not in the other either. This one's not going to be as easy as the other ones.

I'm starting to wonder what the relevance of "(game_list sub template - eval?)" has to theis problem from "File: X:\xxx\xxx\Themes\default\TPortalBlocks.template.php (game_list sub template - eval?)". Are you running a different theme from default? If it's not that ten maybe you will want to contact whoever made MKPortal. Sorry I couldn't be of any help on this one. If I can think of anything that might help I'll let you know.


Quote from: RoarinRow on October 24, 2005, 12:12:18 AM
Quote from: oldmanwolf on July 18, 2005, 02:59:00 PM
At the same time, I'm getting this error in the Admin log...
8: Undefined variable: latest
File: /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php
Line: 495


line 495: return $latest;

I get the line 495 error a couple times before, probably when starting the game in the first place...  These two could be related somehow...

Any ideas?   :-\

Has anyone fixed this error message about:

8: Undefined variable: latest
File: /forum/Sources/Arcade2.php
Line: 518

It's one of my last error messages to fix in addition to:

- Unable to load the 'tourney' template.

and

-8: Undefined index: Users
File: /forum/Sources/Arcade.php
Line: 1164

and

- Unable to load the 'top' template.

Thanks!

Ok, first open Arcade2.php and scroll up to the top of the fuction where you found $latest. When you find it, add $latest to the gloabal variables. Example:

global $context, $user_info, $db_prefix, $modSettings, $latest;

The undefined index is a similar problem Ray is having. No success on determining what is causing that.
Title: Re: SMF Arcade
Post by: deathwantsme on October 24, 2005, 01:05:07 AM
thats going to remove the 2nd button?
Title: Re: SMF Arcade
Post by: RoarinRow on October 24, 2005, 01:35:27 AM
Quote from: Sting on October 24, 2005, 01:03:22 AM
Ray, you can remove the $member from global. It's not the problem because it's not being called in the file whatsoever, and it's not in the other either. This one's not going to be as easy as the other ones.

I'm starting to wonder what the relevance of "(game_list sub template - eval?)" has to theis problem from "File: X:\xxx\xxx\Themes\default\TPortalBlocks.template.php (game_list sub template - eval?)". Are you running a different theme from default? If it's not that ten maybe you will want to contact whoever made MKPortal. Sorry I couldn't be of any help on this one. If I can think of anything that might help I'll let you know.


Quote from: RoarinRow on October 24, 2005, 12:12:18 AM
Quote from: oldmanwolf on July 18, 2005, 02:59:00 PM
At the same time, I'm getting this error in the Admin log...
8: Undefined variable: latest
File: /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php
Line: 495


line 495: return $latest;

I get the line 495 error a couple times before, probably when starting the game in the first place...  These two could be related somehow...

Any ideas?   :-\

Has anyone fixed this error message about:

8: Undefined variable: latest
File: /forum/Sources/Arcade2.php
Line: 518

It's one of my last error messages to fix in addition to:

- Unable to load the 'tourney' template.

and

-8: Undefined index: Users
File: /forum/Sources/Arcade.php
Line: 1164

and

- Unable to load the 'top' template.

Thanks!

Ok, first open Arcade2.php and scroll up to the top of the fuction where you found $latest. When you find it, add $latest to the gloabal variables. Example:

global $context, $user_info, $db_prefix, $modSettings, $latest;

The undefined index is a similar problem Ray is having. No success on determining what is causing that.

Thanks Sting, but I'm still getting the 'latest error'.  I found the code you referenced in 3 place in the Arcade2.php file.  I added $latest after $modSettings.
Title: Re: SMF Arcade
Post by: Sting on October 24, 2005, 02:31:05 AM
Quote from: deathwantsme on October 24, 2005, 01:05:07 AM
thats going to remove the 2nd button?

not sure I completely understanding what you are trying to do so I don't know quite what to tell you.

Quote from: RoarinRow on October 24, 2005, 01:35:27 AM
Quote from: Sting on October 24, 2005, 01:03:22 AM
Ray, you can remove the $member from global. It's not the problem because it's not being called in the file whatsoever, and it's not in the other either. This one's not going to be as easy as the other ones.

I'm starting to wonder what the relevance of "(game_list sub template - eval?)" has to theis problem from "File: X:\xxx\xxx\Themes\default\TPortalBlocks.template.php (game_list sub template - eval?)". Are you running a different theme from default? If it's not that ten maybe you will want to contact whoever made MKPortal. Sorry I couldn't be of any help on this one. If I can think of anything that might help I'll let you know.


Quote from: RoarinRow on October 24, 2005, 12:12:18 AM
Quote from: oldmanwolf on July 18, 2005, 02:59:00 PM
At the same time, I'm getting this error in the Admin log...
8: Undefined variable: latest
File: /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php
Line: 495


line 495: return $latest;

I get the line 495 error a couple times before, probably when starting the game in the first place...  These two could be related somehow...

Any ideas?   :-\

Has anyone fixed this error message about:

8: Undefined variable: latest
File: /forum/Sources/Arcade2.php
Line: 518

It's one of my last error messages to fix in addition to:

- Unable to load the 'tourney' template.

and

-8: Undefined index: Users
File: /forum/Sources/Arcade.php
Line: 1164

and

- Unable to load the 'top' template.

Thanks!

Ok, first open Arcade2.php and scroll up to the top of the fuction where you found $latest. When you find it, add $latest to the gloabal variables. Example:

global $context, $user_info, $db_prefix, $modSettings, $latest;

The undefined index is a similar problem Ray is having. No success on determining what is causing that.

Thanks Sting, but I'm still getting the 'latest error'.  I found the code you referenced in 3 place in the Arcade2.php file.  I added $latest after $modSettings.

Ya, I don't understand what it is meaning by undefined index. If we get this figured out it should fix Ray's problem as well.

EDIT: Ok, I'm grasping at straws here, but try looking at your Themes/themename/languages/Arcade.English.php file and see if       $txt['arcade_229'] is defined anywhere in it... I may going way off but it's a shot.  :P
Title: Re: SMF Arcade
Post by: Ray™ on October 24, 2005, 03:09:51 AM
Quote
EDIT: Ok, I'm grasping at straws here, but try looking at your Themes/themename/languages/Arcade.English.php file and see if       $txt['arcade_229'] is defined anywhere in it... I may going way off but it's a shot.  :P



this line is their

$txt['arcade_229'] = "Total Players";     
Title: Re: SMF Arcade
Post by: Sting on October 24, 2005, 03:31:05 AM
hmmz, ok, I will continue to look about and see if I might mangae to come across something.
Title: Re: SMF Arcade
Post by: RoarinRow on October 24, 2005, 10:38:57 AM
Quote from: Ray on October 24, 2005, 03:09:51 AM
Quote
EDIT: Ok, I'm grasping at straws here, but try looking at your Themes/themename/languages/Arcade.English.php file and see if       $txt['arcade_229'] is defined anywhere in it... I may going way off but it's a shot.  :P



this line is their

$txt['arcade_229'] = "Total Players";     


That's my line says as well.  Thanks for your help!  :D
Title: Re: SMF Arcade
Post by: judymcl on October 24, 2005, 03:18:10 PM
Quotehttp://smfarcade.arcade.web.com/ (Support)

Says site is closed.

arcade.web.com/ takes me to MK Portal. I don't use MK Portal; I just use the arcade module for SMF. ....Any other ideas as to where the support board for smf arcade might be besides here please??
Title: Re: SMF Arcade
Post by: rider on October 24, 2005, 03:49:18 PM
Right now the arcade site is under going some major changes.If you are looking to just add games then use that link to d/l the games.For now we have to use this thread for support.I'm hoping to have things running within the next few days.sorry for the inconvinicne and we'll get it running soon.
Title: Re: n00b question
Post by: rider on October 24, 2005, 05:10:00 PM
Quote from: deathwantsme on October 24, 2005, 04:43:17 PM
quite the n00b question here. I downloaded game package 1-7, uploaded them (on dial up thank you) and extracted the files. I still cant install the games, what am i not doing?
Let me see if I can help.You d.l the gamepacks to your pc then open the zip files and upload the games file and gif images to your game folder in your ftp.Then go into your admin panel on your site and install them thru the games installer in the arcade admin.Let me know if this helps.
Title: Re: SMF Arcade
Post by: deathwantsme on October 24, 2005, 05:17:46 PM
I fixed it a kind of simpler way. I just moved each file out of the folder it extracted to into the games section and then installed :) Thanks for the help.
Title: Re: SMF Arcade
Post by: rider on October 24, 2005, 05:22:01 PM
I'm glad you got it working If you have anymore trouble just post back here and I'll do my best to help.
Title: Re: SMF Arcade
Post by: judymcl on October 25, 2005, 03:55:06 AM
Rider, thank you for the information. I am not in need of any games just now, but I had put in a request a while back for one (Chicken Shootout) and they had obtained permission and were going to proceed with converting it for SMF Arcade, so I just had wondered what was happening when it said the site was closed. I'm glad to know that the site is not gone. Will the same URL be used for it or will we have a new one again?

Thank you again,
Ruskin
Title: Re: SMF Arcade
Post by: rider on October 25, 2005, 01:32:22 PM
Quote from: ruskin on October 25, 2005, 03:55:06 AM
Rider, thank you for the information. I am not in need of any games just now, but I had put in a request a while back for one (Chicken Shootout) and they had obtained permission and were going to proceed with converting it for SMF Arcade, so I just had wondered what was happening when it said the site was closed. I'm glad to know that the site is not gone. Will the same URL be used for it or will we have a new one again?

Thank you again,
Ruskin

I'm hoping when the dust settles the url will be smfgames but I have to wait to see.As for the game request I'll check into it and let you know.
Title: Re: SMF Arcade
Post by: judymcl on October 25, 2005, 02:01:20 PM
Thank you so much!
Title: Re: SMF Arcade
Post by: DaHoffermn on October 25, 2005, 11:16:19 PM
I just recently set up SMF Arcade on my forum. I really like it, and so do my students (it's my class' online presence).

However, I've seen on some other sites where Karma points can be used to "buy" games. I'd like to be able to do this so my students don't just play games.

Anyone have any idea how this can be done?
Title: Re: SMF Arcade
Post by: rider on October 26, 2005, 01:55:04 PM
Quote from: Rockboy on October 26, 2005, 01:49:55 PM
Nice modification. My Sources directory was deleted when I ran the SQL file.

What do you mean it was deleted?As far as I know the arcade doesn't delete anything.This is the 1st time I've heard of this.
Title: Re: SMF Arcade
Post by: Rockboy on October 26, 2005, 02:09:36 PM
Sorry...I'll delete that post, as I can't say that was exactly what happened. But I ran Arcade_SQL.php, and tested out my forum, and voila, my Sources directory is missing. My forum is down right now as I'm trying to reinstall it. Fortunately, I just backed up my database before I ran that file.
Title: Re: SMF Arcade
Post by: Rockboy on October 26, 2005, 02:26:31 PM
However, I did run into this error:
Fatal error: main(): Failed opening required 'C:\****\****\kutlessrocks.com\wwwroot\board2\Sources/QueryString.php
I can see that I entered the source directory incorrectly, where can I edit that?
Title: Re: SMF Arcade
Post by: redone on October 26, 2005, 02:35:31 PM
Do you have the correct permissions for your sources directory (chmodded to 777)?

Which version of SMF, arcade are you using? Are you using the default theme or a custom one?

The arcade mod does not modify that file in anyway.

~redone
Title: Re: SMF Arcade
Post by: Rockboy on October 26, 2005, 02:47:31 PM
I downloaded the Arcade via the Package Manager today. I executed it, and when I ran the SQL file, my sources directory mysteriously disappeared. I had it backed up, so I re-uploaded it. Now I can't access anything arcade-related. When I try to uninstall, 3 of the files fail the tests...oh wait. I know why. By typing this out, I figured out what my problem is. :-D

*EDIT* Fixed with 4 mouseclicks.   :-[
Title: Re: SMF Arcade
Post by: boogiedown on October 26, 2005, 04:03:37 PM
I upgraded my acrcade to the latest version, all works fine, but when it lists highscores, instead of the click able member name/profile, it says Array.

But if i look under the  "welcome to Arcade" it list the username fine for high score.

How do i fix?
Title: Re: SMF Arcade
Post by: Elmacik on October 27, 2005, 12:50:10 AM
a little note for the auothor of this mod:
first, congrats. this mod is really great
but i think your package has lots of excess code in <search for> commands.
and it makes  the package have a high probability of giving failed tests during install
Title: Re: SMF Arcade
Post by: ordered on October 27, 2005, 03:11:14 PM
Quote from: rider on October 15, 2005, 10:14:31 AM
The games used for the arcade are by permission only.We do try and get permission from as many authors as we can.Try this link for the D/L.http://www.arcade.web.com/index.php

The site is under going some changes right now so bare with us as it gets done.

Does anyone know how to install games? None of the links in this thread work. Accounts are suspended, domains are not registered. Does anyone have this working on thier SMF?
Title: Re: SMF Arcade
Post by: diane_tt on October 27, 2005, 04:30:18 PM
you have to install the files onto your webserver. yes i have arcade working.
Title: Re: SMF Arcade
Post by: rider on October 27, 2005, 04:51:20 PM
Quote from: ordered on October 27, 2005, 03:11:14 PM
Quote from: rider on October 15, 2005, 10:14:31 AM
The games used for the arcade are by permission only.We do try and get permission from as many authors as we can.Try this link for the D/L.http://www.arcade.web.com/index.php

The site is under going some changes right now so bare with us as it gets done.

Does anyone know how to install games? None of the links in this thread work. Accounts are suspended, domains are not registered. Does anyone have this working on thier SMF?

You can use the link to d/l the games again.Sorry for the inconvinece.
To add the games you need to upload them to your FTP and into the games folder.Then install them thru the arcade admin features on your site.
Title: Re: SMF Arcade
Post by: Salamence on October 29, 2005, 09:49:37 AM
hmm. How did I Install games?

I have downloads one game pack from here (http://www.arcade.web.com/index.php?ind=downloads). But when I unzip it and try to upload it it dousen't go. Waths rong?
Title: Re: SMF Arcade
Post by: rider on October 29, 2005, 10:08:36 AM
Quote from: Salamence on October 29, 2005, 09:49:37 AM
hmm. How did I Install games?

I have downloads one game pack from here (http://www.arcade.web.com/index.php?ind=downloads). But when I unzip it and try to upload it it dousen't go. Waths rong?

You need to follow my instuctions in the post above yours and you should have no trouble.
Title: Re: SMF Arcade
Post by: DangerGirl on October 29, 2005, 07:41:09 PM
I found the solution regarding the below text.  Come to find out, the installation spelled the table wrong.  I had to have my website admin fix that.

Quote from: DangerGirl on October 20, 2005, 03:03:43 AM
Anyway, I tried to upgrade from arcade version 1.2 to 1.2.3, and while installing, Display.template.php failed.  I continued anyway, hoping, and now I get this error when going to arcade_sql.php:

SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 70 tables in database
Table 'bboards.smf_games_category' doesn't exist

Edit: I uploaded 1.2.3, but the only package available to install via package manager was SMF Arcade 1.2.1.  Could this be my problem?  I'm confused I guess, it's been a long night.  :P
Title: Re: SMF Arcade
Post by: Salamence on October 30, 2005, 03:49:53 AM
Quote from: rider on October 29, 2005, 10:08:36 AM
Quote from: Salamence on October 29, 2005, 09:49:37 AM
hmm. How did I Install games?

I have downloads one game pack from here (http://www.arcade.web.com/index.php?ind=downloads). But when I unzip it and try to upload it it dousen't go. Waths rong?

You need to follow my instuctions in the post above yours and you should have no trouble.
I can't upload them. When I do it it com up an error "Transferd failed".
Title: Re: SMF Arcade
Post by: rider on October 30, 2005, 09:31:27 AM
Quote from: Salamence on October 30, 2005, 03:49:53 AM
Quote from: rider on October 29, 2005, 10:08:36 AM
Quote from: Salamence on October 29, 2005, 09:49:37 AM
hmm. How did I Install games?

I have downloads one game pack from here (http://www.arcade.web.com/index.php?ind=downloads). But when I unzip it and try to upload it it dousen't go. Waths rong?

You need to follow my instuctions in the post above yours and you should have no trouble.
I can't upload them. When I do it it com up an error "Transferd failed".

Give me access to your ftp and I'll see what I can do
Title: Re: SMF Arcade
Post by: rellik on November 02, 2005, 08:34:25 PM
One quick question.

Any idea when Game Pack 0 is gonna be fixed, still downloads as corrupted, and alot smaller then it should be.

Really interested in this, because it's by far the most games available.
Title: Re: SMF Arcade
Post by: Champi on November 03, 2005, 04:11:12 AM
Hi rider en everyone..
Is 1.2.3. allready compatible with 1.1 rc1.. i assume it is.. i saw some sites who had installed 1.2.3 at smf1.1 rc1


but at tthe mod list here http://mods.simplemachines.org/index.php?mod=36 .. they say its only compatible with: 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1 Beta 3 Public

can anyone confirm if its working fullt with smf 1.1rc1
Title: Re: SMF Arcade
Post by: DemonicInfluence on November 03, 2005, 07:23:27 AM
Quote from: champi on November 03, 2005, 04:11:12 AM
Hi rider en everyone..
Is 1.2.3. allready compatible with 1.1 rc1.. i assume it is.. i saw some sites who had installed 1.2.3 at smf1.1 rc1


but at tthe mod list here http://mods.simplemachines.org/index.php?mod=36 .. they say its only compatible with: 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1 Beta 3 Public

can anyone confirm if its working fullt with smf 1.1rc1

It is... You just need to manually do the edits for subs.php and managepermissions.php .

Also, you need to replace the files automatically put there by package manager because Arcade.php, ArcadeAdmin.php, Arcade.template.php, and ArcadeAdmin.template.php...

Those need to be rewritten because they are 0 bytes (problem with package manager)

Finally, you need to manually replace the images..
Title: Re: SMF Arcade
Post by: rider on November 03, 2005, 09:54:15 AM
hey champi.It is compatable with 1.1.rc1.Stop by the site and I'm sure redone can explain how todo it.The addi is www.smfarcade.com.We are in the building stages so there's not alot there at the moment.feel free to stop by everyone.
Title: Re: SMF Arcade
Post by: redone on November 03, 2005, 02:43:03 PM
Downloads have been fixed. Game packs etc are now available at www.smfarcade.com together with support, faq's etc. Please use this site for additional support for niko's SMF arcade mod.

~redone

:)
Title: Re: SMF Arcade
Post by: eohjay on November 04, 2005, 03:06:10 AM
Pardon me if this has been asked before, or is it's in the wrong section, but the search function is currently down so I'm not sure where it should be posted.

I'd like to limit the amount of highscores shown on the highscore list to 1 per member, instead of and infinite amount per member, to save a lot of clutter.

Is there a way to go about doing this? I haven't seen the option anywhere, and I tried using google. Any help would be appreciated.
Title: Re: SMF Arcade
Post by: gh0stw4lk3r on November 04, 2005, 06:12:01 AM
i am still getting tons of errors in 1 day all with the same message:


8: Undefined index: member
Bestand: /var/www/html/smf/Themes/default/languages/Arcade.dutch.php (eval?)
Regel: 303


line 303 in arcade.dutch.php doesn't exist .

anyone who knows how to resolve this?
Title: Re: SMF Arcade
Post by: DemonicInfluence on November 04, 2005, 06:42:41 AM
err. are u using dutch?
Title: Re: SMF Arcade
Post by: Foreverpurple on November 04, 2005, 06:54:16 AM
Quote from: DangerGirl on October 29, 2005, 07:41:09 PM
I found the solution regarding the below text.  Come to find out, the installation spelled the table wrong.  I had to have my website admin fix that.

Quote from: DangerGirl on October 20, 2005, 03:03:43 AM
Anyway, I tried to upgrade from arcade version 1.2 to 1.2.3, and while installing, Display.template.php failed.  I continued anyway, hoping, and now I get this error when going to arcade_sql.php:

SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 70 tables in database
Table 'bboards.smf_games_category' doesn't exist

Edit: I uploaded 1.2.3, but the only package available to install via package manager was SMF Arcade 1.2.1.  Could this be my problem?  I'm confused I guess, it's been a long night.  :P


Could you tell me where (what file) you fixed?  I have the same error... the template and the table error.
Title: Re: SMF Arcade
Post by: gh0stw4lk3r on November 04, 2005, 06:57:17 AM
Quote from: Libo on November 04, 2005, 06:42:41 AM
err. are u using dutch?

yeah i am using dutch, do u have an answer?

the problems shows in th elogs everytime some user clicks on a topic to read it. so in a day i have over 4000 pages of this error message :(
Title: Re: SMF Arcade
Post by: niko on November 04, 2005, 08:12:33 AM
smf doesnt always show right file for error  :( thats what makes tricy to find errors...

Do you have highest scores from ex-member? I just fixed that few minutes ago
Title: Re: SMF Arcade
Post by: gh0stw4lk3r on November 04, 2005, 08:19:01 AM
what do u mean with ex-member?
Title: Re: SMF Arcade
Post by: redone on November 04, 2005, 08:43:47 AM
We have a new copy of the dutch language file at smfarcade.com too if that helps.

~redone

Title: Re: SMF Arcade
Post by: rider on November 04, 2005, 08:48:55 AM
If any one else can convert other langauge files for files for the arcade let us now.Thanks  :D
Title: Re: SMF Arcade
Post by: gh0stw4lk3r on November 04, 2005, 09:06:46 AM
installed the new dutch language file, problem still exists :(

i hope someone knows the answer, emptying the logfile each day with thousends of the same entries isn't fun ;)
Title: Re: SMF Arcade
Post by: niko on November 04, 2005, 12:22:10 PM
Quote from: gh0stw4lk3r on November 04, 2005, 08:19:01 AM
what do u mean with ex-member?

member that has been removed
Title: Re: SMF Arcade
Post by: Ray™ on November 04, 2005, 03:33:53 PM
this error is driving me nuts - I just can not find where to fix it--

http://www.rranderson.com/dvd/index.php?action=arcade 
8: Undefined index: member
File: X:\XXX\XXX\Themes\default\TPortalBlocks.template.php (game_list sub template - eval?)
Line: 220

My log fills up with this
Here are the versions I am using
SMF Arcade 1.2.1   really is 1.2.3
RRanderson.com for Family and Friends | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
TechHead / TinyPortal v.0.75 by Bloc

Title: Re: SMF Arcade
Post by: Sig on November 05, 2005, 12:12:49 AM
Is this going to be updated for RC1? I'm not very good at editing files manually
Title: Re: SMF Arcade
Post by: gh0stw4lk3r on November 05, 2005, 04:08:58 AM
Quote from: Niko on November 04, 2005, 12:22:10 PM
Quote from: gh0stw4lk3r on November 04, 2005, 08:19:01 AM
what do u mean with ex-member?

member that has been removed

i don't remove members, so no i haven't got them?
Title: Re: SMF Arcade
Post by: niko on November 05, 2005, 05:04:59 AM
Quote from: gh0stw4lk3r on November 05, 2005, 04:08:58 AM
Quote from: Niko on November 04, 2005, 12:22:10 PM
Quote from: gh0stw4lk3r on November 04, 2005, 08:19:01 AM
what do u mean with ex-member?

member that has been removed

i don't remove members, so no i haven't got them?

members may remove them self
Title: Re: SMF Arcade
Post by: gh0stw4lk3r on November 05, 2005, 07:16:28 AM
Quote from: Niko on November 05, 2005, 05:04:59 AM
Quote from: gh0stw4lk3r on November 05, 2005, 04:08:58 AM
Quote from: Niko on November 04, 2005, 12:22:10 PM
Quote from: gh0stw4lk3r on November 04, 2005, 08:19:01 AM
what do u mean with ex-member?

member that has been removed

i don't remove members, so no i haven't got them?

members may remove them self

not on my board :)

i do have the champion icons listed underneath the users in every post. maybe it is something in this code?


if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
$i = 0;

echo "<i>Arcade Kampioen in&nbsp;</i>";
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){

// echo '
// <img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'<br />';

echo '<a href="', $scripturl, '?action=arcade;do=play;game=',$tmp['id'],'" ><img border="0" src="', $tmp['thumbnail'], '" alt="', $tmp['name'] ,'" width="20" height="20"></a>&nbsp;';
/*
if( $i == 3 ){
echo "<br />";
$i = 0;
}
else {
$i++;
}
*/
}
// else
// echo '
/// ', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
Title: Re: SMF Arcade
Post by: niko on November 05, 2005, 07:45:54 AM

if ( isset($message['member']['id']))
{
if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
$i = 0;

echo "<i>Arcade Kampioen in&nbsp;</i>";
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){

// echo '
// <img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'<br />';

echo '<a href="', $scripturl, '?action=arcade;do=play;game=',$tmp['id'],'" ><img border="0" src="', $tmp['thumbnail'], '" alt="', $tmp['name'] ,'" width="20" height="20"></a>&nbsp;';
/*
if( $i == 3 ){
echo "<br />";
$i = 0;
}
else {
$i++;
}
*/
}
// else
// echo '
/// ', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
}


Try this
Title: Re: SMF Arcade
Post by: gh0stw4lk3r on November 05, 2005, 07:58:31 AM
replaced the code, problem still exists :(
tnx for looking into it!

Title: Re: SMF Arcade
Post by: Catdog on November 05, 2005, 10:07:50 AM
I have replace the Code in the Display.template.php, but there´s nothing to see:

// Show the member's signature?
if ( isset($message['member']['id']))
{
if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
$i = 0;

echo "<i>Arcade Kampioen in&nbsp;</i>";
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){

// echo '
// <img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'<br />';

echo '<a href="', $scripturl, '?action=arcade;do=play;game=',$tmp['id'],'" ><img border="0" src="', $tmp['thumbnail'], '" alt="', $tmp['name'] ,'" width="20" height="20"></a>&nbsp;';
/*
if( $i == 3 ){
echo "<br />";
$i = 0;
}
else {
$i++;
}
*/
}
// else
// echo '
/// ', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
}


I using, SMF 1.1rc1, Arcade1.2.3
Title: Re: SMF Arcade
Post by: Unas on November 05, 2005, 06:57:46 PM
ENige mede-Nederlanders hier?
Title: Re: SMF Arcade
Post by: ArkServer on November 05, 2005, 08:11:47 PM
Quote from: Unas on November 05, 2005, 06:57:46 PM
ENige mede-Nederlanders hier?

Ik kan nederlands praten :) voor support kan je beter naar de nederlandse sectie gaan.

^
|
|
|

english only here :)
Title: Re: SMF Arcade
Post by: draysniro on November 06, 2005, 04:20:02 AM
Ok, I know this may have been answered in here, but I really don't want to search through 115 pages. I am trying to figure out where to download games.

I am considering installing SMF on my site to replace my InvisionBoard that I destroyed. I had the ibproarcade installed on it and am hoping that this is similar. I have searched, but can't find any games for it.
Title: Re: SMF Arcade
Post by: DemonicInfluence on November 06, 2005, 11:38:05 AM
www.smfarcade.com
Title: Re: SMF Arcade
Post by: rider on November 06, 2005, 11:53:11 AM
Quote from: Libo on November 06, 2005, 11:38:05 AM
www.smfarcade.com

Thank you Libo. :D
Title: Re: SMF Arcade
Post by: twahms on November 06, 2005, 12:02:54 PM
The directions are a little vague to me (duh), lol. Do I need to be setting any permissions and what does Apply edits and Upload & Apply mean in the instructions? Also where is my settings.php file it was not in the download am I missing something here.  Thank you.
Title: Re: SMF Arcade
Post by: rider on November 06, 2005, 12:09:47 PM
You will need to set the permissions for each membergroup.In your admin panel under arcade you'll need to set the arcade to enable.For the games you need to d/l them to your puter and u/l them tp your ftp and then apply them thru your arcade admin on your site.if you have any problems click on my sig and it will take you to our support site.Your settings.php should be in your sources folder.
Title: Re: SMF Arcade
Post by: twahms on November 06, 2005, 12:18:53 PM
No the settings.php is not in any of the folders that I have downloaded for the arcade, so how in the world do I get it and where else can I go for support for this arcade because I do not see anything about any permission setting, thank you very much.
Title: Re: SMF Arcade
Post by: Tommienbp on November 07, 2005, 07:25:05 AM
Maybe mentioned before, therefore I apologies, but www.smfarcade.com seems to be under construction. Does anybody has any idea when things will be up and running again? Thanks.
Title: Re: SMF Arcade
Post by: rider on November 07, 2005, 08:37:16 AM
Quote from: Tommienbp on November 07, 2005, 07:25:05 AM
Maybe mentioned before, therefore I apologies, but www.smfarcade.com seems to be under construction. Does anybody has any idea when things will be up and running again? Thanks.

I have no idea why the site is not up and running.It was yesterday.As soon as I know whats going on I'll post back here.
Title: Re: SMF Arcade
Post by: ndiniz on November 07, 2005, 03:35:21 PM
Somehow I can't get SMF Arcade to work. I tried everything I could, and nothing worked! I get an error alert before I try to install the darn arcade package. :'(
Title: Re: SMF Arcade
Post by: rider on November 07, 2005, 03:57:26 PM
What version of the arcade and smf are you using?What is the error message you get.
Title: Re: SMF Arcade
Post by: ndiniz on November 07, 2005, 04:48:32 PM
I'm using the current version, and It tells me that subs.php test failed.
Title: Re: SMF Arcade
Post by: rider on November 07, 2005, 04:54:00 PM
Quote from: ndiniz on November 07, 2005, 04:48:32 PM
I'm using the current version, and It tells me that subs.php test failed.

Goto www.smfarcade.com and check out the FAQ section.I think you should be ok to install it but check there to make sure.
Title: Re: SMF Arcade
Post by: Jerry on November 07, 2005, 06:41:56 PM
Quote from: rider on November 07, 2005, 04:54:00 PM
Quote from: ndiniz on November 07, 2005, 04:48:32 PM
I'm using the current version, and It tells me that subs.php test failed.

Goto www.smfarcade.com and check out the FAQ section.I think you should be ok to install it but check there to make sure.
What modification to subs.php does the arcade make? Any modifications to that file that didn't work might mess up the mod, or forums completely.
Title: Unable to load the 'arcade_above' template. Error
Post by: houston on November 07, 2005, 06:46:28 PM
Unable to load the 'arcade_above' template.

This shows up when I click on the arcade button.
Newest arcade script installed on smf1.1 rc1

Thanks
Title: Re: SMF Arcade
Post by: DemonicInfluence on November 07, 2005, 07:03:58 PM
YOu have to manually upload arcade.php and arcade.template.php and adminarcade.php and adminarcade.template.php . 1.1 Rc1 has a package manager problem. SO, you must manually upload those files to right places.

Arcade.php + AdminArcade.php in sources folder and Arcade.template.php + AdminArcade.template.php in the default template folder
Title: Re: SMF Arcade
Post by: gh0stw4lk3r on November 08, 2005, 04:18:08 AM
anyone already knows what to do with my strange problem? the thousends of entries of undefined index: member on line 303 in arcade.dutch.php
see a few posts above
Title: Re: SMF Arcade
Post by: Gandalf on November 08, 2005, 06:25:45 AM
Hello,

I am always getting this error:

3.  Execute Modification  ./Sources/Subs.php  Test failed
4. Execute Modification ./Sources/ManagePermissions.php Test failed


it's a fresh installation of SMF1.1RC1, any ideas??

Thx
Title: Re: SMF Arcade
Post by: DemonicInfluence on November 08, 2005, 07:22:06 AM
that's normal. The package has a few problems. Just manually opent he .xml file and do the edits for those 2 file
Title: Re: SMF Arcade
Post by: niko on November 08, 2005, 09:07:09 AM
Quote from: Jerry on November 07, 2005, 06:41:56 PM
Quote from: rider on November 07, 2005, 04:54:00 PM
Quote from: ndiniz on November 07, 2005, 04:48:32 PM
I'm using the current version, and It tells me that subs.php test failed.

Goto www.smfarcade.com and check out the FAQ section.I think you should be ok to install it but check there to make sure.
What modification to subs.php does the arcade make? Any modifications to that file that didn't work might mess up the mod, or forums completely.

It does only add Arcade menu item to admin area
Title: Re: SMF Arcade
Post by: RoarinRow on November 08, 2005, 05:12:24 PM
This is my last error to resolve with SMF Arcade:

8: Undefined variable: latest
File: /forum/Sources/Arcade2.php
Line: 518

Anyone know how to resolve?  Please.

I'm on version 1.0.5

Thanks!
Title: Re: SMF Arcade
Post by: rider on November 08, 2005, 05:45:49 PM
Not me,but I'll see what I can find out.
Title: Re: SMF Arcade
Post by: anunlike on November 09, 2005, 12:30:35 AM
I just installed this on a test fresh install of 1.1 Beta 3 Public. Everything went smoothly and with no problems, until I actually went to the Arcade. I get:
QuoteYou have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
File: /home/xxx/public_html/testforums2/Sources/Arcade.php
Line: 252

In my Forum Error Log, I also get:
Quoteadmin
XX.XX.XX.XX
http://testforums2.anunlikeworld.info/index.php?action=arcade
Undefined variable: latest
/home/xxx/public_html/testforums2/Sources/Arcade2.php
Line: 518
&
admin
XX.XX.XX.XX
http://testforums2.anunlikeworld.info/index.php?action=arcade
Database Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
/home/xxx/public_html/testforums2/Sources/Arcade.php
252

I've checked all the files manually and everything is OK. Any help would be great.
???
Title: Re: SMF Arcade
Post by: Sting on November 09, 2005, 03:19:48 AM
Quote from: RoarinRow on November 08, 2005, 05:12:24 PM
This is my last error to resolve with SMF Arcade:

8: Undefined variable: latest
File: /forum/Sources/Arcade2.php
Line: 518

Anyone know how to resolve?  Please.

I'm on version 1.0.5

Thanks!


Ok, first open Arcade2.php and scroll up to the top of the fuction where you found $latest. When you find it, add $latest to the gloabal variables. Example:

global $context, $user_info, $db_prefix, $modSettings, $latest;




Quote from: anunlike on November 09, 2005, 12:30:35 AM
I just installed this on a test fresh install of 1.1 Beta 3 Public. Everything went smoothly and with no problems, until I actually went to the Arcade. I get:
QuoteYou have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
File: /home/xxx/public_html/testforums2/Sources/Arcade.php
Line: 252

In my Forum Error Log, I also get:
Quoteadmin
XX.XX.XX.XX
http://testforums2.anunlikeworld.info/index.php?action=arcade
Undefined variable: latest
/home/xxx/public_html/testforums2/Sources/Arcade2.php
Line: 518
&
admin
XX.XX.XX.XX
http://testforums2.anunlikeworld.info/index.php?action=arcade
Database Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
/home/xxx/public_html/testforums2/Sources/Arcade.php
252

I've checked all the files manually and everything is OK. Any help would be great.
???

Do like listed above for the first error... I'm not sure about the other error. Did the arcade_sql.php run correctly?
Title: Re: SMF Arcade
Post by: pastortravis on November 09, 2005, 10:17:21 AM
Okay...

I am running RC1 and I finally figured out how to get the Arcade 1.2.2 to work.

I have a few issues that have arisen....

1.  Only I can access the Arcade.  Everyone else it tells them that they do not have access to the arcade.  ANY THOUGHTS?
2.  How do I upgrade to 1.2.3 and is there really any difference?

Please send info on these questions.  Thanks!
Title: Re: SMF Arcade
Post by: rider on November 09, 2005, 10:32:34 AM
Quote from: pastortravis on November 09, 2005, 10:17:21 AM
Okay...

I am running RC1 and I finally figured out how to get the Arcade 1.2.2 to work.

I have a few issues that have arisen....

1.  Only I can access the Arcade.  Everyone else it tells them that they do not have access to the arcade.  ANY THOUGHTS?
2.  How do I upgrade to 1.2.3 and is there really any difference?

Please send info on these questions.  Thanks!
Glad you got it working.For the permissions you need to allow each memebergroup permission to access the arcade.You can do that by editing the permissions  thru your admin panel on your site.There is no diff btw 1.2.2 and 1.2.3.Hope this helps.if you need more help click on my sig and go there.
Title: Re: SMF Arcade
Post by: pastortravis on November 09, 2005, 11:06:28 AM
Thanks for that info...

I have searched through the Permission of my forums, but there is nothing giving or denying access to the games area.

Is there something that was missed during installation that I can manually add. 

Thanks.
Title: Re: SMF Arcade
Post by: Jay T on November 09, 2005, 11:47:10 AM
Here is the code for SMF 1.1RC1 to have the champion icons to appear in the members signature versus their profile.

themedir> display.template.php

Find:
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div class="signature">', $message['member']['signature'], '</div>';


Replace with:
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%; padding-bottom: 3px;" class="signature">', $message['member']['signature'], '</div><hr width="100%" size="1" class="hrcolor" />';
if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
echo "SmfArcade Champion&nbsp;";

foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img border="0" src="', $tmp['thumbnail'], '" alt="" width="20" height="20">',$tmp['name'],' ', $txt['arcade_136'];
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'];
}
}
Title: Re: SMF Arcade
Post by: niko on November 09, 2005, 12:36:59 PM
1.2.4 is to be released 15.11.2005 if testing goes all right and still few features missing
Title: Re: SMF Arcade
Post by: rider on November 09, 2005, 12:40:06 PM
Quote from: Niko on November 09, 2005, 12:36:59 PM
1.2.4 is to be released 15.11.2005 if testing goes all right and still few features missing

Thanks for the update niko and JayT thanks for the code for the the championicons. :D
Title: Re: SMF Arcade
Post by: Sting on November 09, 2005, 01:09:25 PM
could someone post code to have the championships listed on the side of the posts, like under the avatars or under the icons for msn, etc.?
Title: Re: SMF Arcade
Post by: Jay T on November 09, 2005, 01:38:12 PM
Quote from: Sting on November 09, 2005, 01:09:25 PM
could someone post code to have the championships listed on the side of the posts, like under the avatars or under the icons for msn, etc.?

themedir> display.template.php

Find:
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';


Add after:
                  if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="" width="20"><br />',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
Title: Re: SMF Arcade
Post by: hopelessness on November 09, 2005, 02:18:35 PM
Quote from: Libo on November 08, 2005, 07:22:06 AM
that's normal. The package has a few problems. Just manually opent he .xml file and do the edits for those 2 file

What xml file is that and what is the edit?
Title: Re: SMF Arcade
Post by: anunlike on November 09, 2005, 02:25:10 PM
QuoteDid the arcade_sql.php run correctly?
Yeah, and I just ran it again, manually. Still same problem. I have this installed on a RC 1 too and get the exact same problem.

I got the first error out though, thanks much.
Title: Re: SMF Arcade
Post by: Sting on November 09, 2005, 05:30:28 PM
Quote from: Jay T on November 09, 2005, 01:38:12 PM
Quote from: Sting on November 09, 2005, 01:09:25 PM
could someone post code to have the championships listed on the side of the posts, like under the avatars or under the icons for msn, etc.?

themedir> display.template.php

Find:
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';


Add after:
                  if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="" width="20"><br />',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}



well that seems to already be there... but nothing shows up... is there a setting that needs to be changed?
Title: Re: SMF Arcade
Post by: nawien on November 09, 2005, 06:10:20 PM
sorry help me
permission ***
only admin play or wiev game any account

An Error Has Occurred!
You arent allowed to view arcade, sorry! 

please help me
permission.php =
      'manage_membergroups' => false,
            'manage_permissions' => false,
            'manage_bans' => false,
            'send_mail' => false,
         ),
         'profile' => array(
            'profile_view' => true,
            'profile_identity' => true,
            'profile_extra' => true,
            'profile_title' => true,
            'profile_remove' => true,
            'profile_server_avatar' => false,
            'profile_upload_avatar' => false,
            'profile_remote_avatar' => false,
            )
         ),
         'arcade' => array(
            'view_arcade' => true,
            'play_arcade' => true,
            'submit_score' => true,
            'challenge_send' => true,
            'challenge_view' => true,
            'admin_arcade' => false,
         ),
         'board' => array(
         'general_board' => array(
            'moderate_board' => false,
         ),
         'topic' => array(
            'post_new' => false,
            'merge_any' => false,
            'split_any' => false
but error
Title: Re: SMF Arcade
Post by: DemonicInfluence on November 09, 2005, 06:34:35 PM
'profile' => array(
            'profile_view' => true,
            'profile_identity' => true,
            'profile_extra' => true,
            'profile_title' => true,
            'profile_remove' => true,
            'profile_server_avatar' => false,
            'profile_upload_avatar' => false,
            'profile_remote_avatar' => false,
            )
         ),


Remove the extra )
Title: Re: SMF Arcade
Post by: Jay T on November 09, 2005, 08:58:52 PM
Quote from: Sting on November 09, 2005, 01:09:25 PM
well that seems to already be there... but nothing shows up... is there a setting that needs to be changed?

Did you do the display.php edits? And did you put the exact code I gave you?

Title: Re: SMF Arcade
Post by: Julie on November 09, 2005, 09:10:27 PM
Quote from: Jay T on November 09, 2005, 08:58:52 PM
Quote from: Sting on November 09, 2005, 01:09:25 PM
well that seems to already be there... but nothing shows up... is there a setting that needs to be changed?
Did you do the display.php edits? And did you put the exact code I gave you?

I'm having same problem. sources/Display.php was already updated (checked same as in XML and code you posted) and have updated my own Display.template.php but nothing appears on the right  >:(  I even changed to default theme to see if it would show on that but did not :(
Title: Re: SMF Arcade
Post by: Sting on November 09, 2005, 09:30:26 PM
Quote from: Jay T on November 09, 2005, 08:58:52 PM
Quote from: Sting on November 09, 2005, 01:09:25 PM
well that seems to already be there... but nothing shows up... is there a setting that needs to be changed?

Did you do the display.php edits? And did you put the exact code I gave you?



Ok, I didn't add anything to the Display.php under the Sources directory... I checked the display.template.php under the themes directory.

And ya, I even overwrote the old code that the package manager installed and still no result.

EDIT: I even tried the one for the signatures and it didn't show up there either.
Title: Re: SMF Arcade
Post by: snork13 on November 10, 2005, 12:44:11 AM
Quote from: Sting on November 09, 2005, 09:30:26 PM
Quote from: Jay T on November 09, 2005, 08:58:52 PM
Quote from: Sting on November 09, 2005, 01:09:25 PM
well that seems to already be there... but nothing shows up... is there a setting that needs to be changed?

Did you do the display.php edits? And did you put the exact code I gave you?



Ok, I didn't add anything to the Display.php under the Sources directory... I checked the display.template.php under the themes directory.

And ya, I even overwrote the old code that the package manager installed and still no result.

EDIT: I even tried the one for the signatures and it didn't show up there either.

the arcade works in 1.1rc1, some things need to be change though, like updating the database using the sql file found in the mod. To fix the champion thing, in sources/display.php, use this code instead of what's in the mod files

/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ, {$db_prefix}games
WHERE {$db_prefix}games_champ.game={$db_prefix}games.game",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))
{
if(!empty($rivi['game']) && !empty($rivi['member']))
$arcade_champ[$rivi['member']][$rivi['game']] = $rivi;

if(file_exists("./Games/{$rivi['game']}.gif")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.gif";
}
elseif(file_exists("./Games/{$rivi['game']}.GIF")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.GIF";
}
elseif(file_exists("./Games/{$rivi['game']}.png")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.png";
}
elseif(file_exists("./Games/{$rivi['game']}.PNG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.PNG";
}
elseif(file_exists("./Games/{$rivi['game']}.jpg")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.jpg";
}
elseif(file_exists("./Games/{$rivi['game']}.JPG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.JPG";
}
else{
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "";
}

}
loadLanguage('Arcade'); // We need strings from Arcade language file
$context['arcade']['champions'] = $arcade_champ;


and this may be the default, but my code in the $themedir/display.template.php

if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="" width="20"><br />',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}



hope this helps, you can find more info, it somewhere in the 100+ pages on the aracade mod
Title: Re: SMF Arcade
Post by: Sting on November 10, 2005, 06:03:55 AM
Quote from: snork13 on November 10, 2005, 12:44:11 AM
Quote from: Sting on November 09, 2005, 09:30:26 PM
Quote from: Jay T on November 09, 2005, 08:58:52 PM
Quote from: Sting on November 09, 2005, 01:09:25 PM
well that seems to already be there... but nothing shows up... is there a setting that needs to be changed?

Did you do the display.php edits? And did you put the exact code I gave you?



Ok, I didn't add anything to the Display.php under the Sources directory... I checked the display.template.php under the themes directory.

And ya, I even overwrote the old code that the package manager installed and still no result.

EDIT: I even tried the one for the signatures and it didn't show up there either.

the arcade works in 1.1rc1, some things need to be change though, like updating the database using the sql file found in the mod. To fix the champion thing, in sources/display.php, use this code instead of what's in the mod files

/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ, {$db_prefix}games
WHERE {$db_prefix}games_champ.game={$db_prefix}games.game",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))
{
if(!empty($rivi['game']) && !empty($rivi['member']))
$arcade_champ[$rivi['member']][$rivi['game']] = $rivi;

if(file_exists("./Games/{$rivi['game']}.gif")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.gif";
}
elseif(file_exists("./Games/{$rivi['game']}.GIF")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.GIF";
}
elseif(file_exists("./Games/{$rivi['game']}.png")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.png";
}
elseif(file_exists("./Games/{$rivi['game']}.PNG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.PNG";
}
elseif(file_exists("./Games/{$rivi['game']}.jpg")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.jpg";
}
elseif(file_exists("./Games/{$rivi['game']}.JPG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.JPG";
}
else{
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "";
}

}
loadLanguage('Arcade'); // We need strings from Arcade language file
$context['arcade']['champions'] = $arcade_champ;


and this may be the default, but my code in the $themedir/display.template.php

if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="" width="20"><br />',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}



hope this helps, you can find more info, it somewhere in the 100+ pages on the aracade mod

bingo, thnx alot  ;)
Title: Re: SMF Arcade
Post by: omeration on November 10, 2005, 11:19:36 PM
hey, for some reason i hve 3 links that say arcade, does anyone know why?

here is pic:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg480.imageshack.us%2Fimg480%2F2956%2Funtitled1ly.th.jpg&hash=9df2ba194a94e1587c78ffa6c530b281aeddd1ed)
Title: Re: SMF Arcade
Post by: DemonicInfluence on November 11, 2005, 07:22:01 AM
Go to your index.template file. Delete 2 of the arcade buttons. Just search for arcade in your file. Then delete 2 of them.
Title: Re: SMF Arcade
Post by: redone on November 11, 2005, 09:10:29 AM
You can find more of those common questions+fixes here: www.smfarcade.com

~redone

Title: Re: SMF Arcade
Post by: DemonicInfluence on November 11, 2005, 02:57:40 PM
yes, but guests can't go there...
Title: Re: SMF Arcade
Post by: gh0stw4lk3r on November 11, 2005, 03:05:58 PM
u aint a guest when u register ;)

Title: Re: SMF Arcade
Post by: DemonicInfluence on November 11, 2005, 04:01:01 PM
But that takes awhile.
Title: Re: SMF Arcade
Post by: rider on November 11, 2005, 04:16:32 PM
Actucully you don't have to wait for a activation email.The reason you have to sign up is to access the d/l's.I just taken over the domain and I was amazed how much bandwith is used fro them.Until I can fix this ,I have to leave it this way.I'm sorry for the inconvience,the good news it will be taken care of shortly.If you have a problem with trying to register let me know and I'll take care of it. :D
Title: Re: SMF Arcade
Post by: DemonicInfluence on November 11, 2005, 04:17:33 PM
oh. okay.
Title: Re: SMF Arcade
Post by: rider on November 13, 2005, 01:00:06 AM
problem sovled.No need to register to downloads the game packs or browse the fourms. :D :D
Title: Re: SMF Arcade
Post by: DemonicInfluence on November 13, 2005, 04:34:15 PM
Awesome.
Title: Re: SMF Arcade
Post by: rider on November 14, 2005, 02:32:50 PM
FYI.Game pack 10 has been released.Enjoy. :D
Title: Re: SMF Arcade
Post by: Aravot on November 14, 2005, 02:58:05 PM
Quote from: rider on November 14, 2005, 02:32:50 PM
FYI.Game pack 10 has been released.Enjoy. :D

Tried to download from http://www.smfarcade.com got '404 Not Found'
Title: Re: SMF Arcade
Post by: rider on November 14, 2005, 03:19:12 PM
Quote from: Aravot on November 14, 2005, 02:58:05 PM
Quote from: rider on November 14, 2005, 02:32:50 PM
FYI.Game pack 10 has been released.Enjoy. :D

Tried to download from http://www.smfarcade.com got '404 Not Found'
Thanks for letting me know.I
won't beable to fix until later when I get home from work.
Title: Re: SMF Arcade
Post by: rider on November 15, 2005, 12:46:27 AM
Downloads are working again.Sorry for any inconviences. :D
Title: Re: SMF Arcade
Post by: angelika on November 15, 2005, 04:42:59 AM
I have some problems with source/managepermissions

This is how its looks before the edit, and the permission in admin works fine

         ),
         'member_admin' => array(
            'moderate_forum' => false,
            'manage_membergroups' => false,
            'manage_permissions' => false,
            'manage_bans' => false,
            'send_mail' => false,
         ),
         'profile' => array(
            'profile_view' => true,
            'profile_identity' => true,
            'profile_extra' => true,
            'profile_title' => true,
            'profile_remove' => true,
            'profile_server_avatar' => false,
            'profile_upload_avatar' => false,
            'profile_remote_avatar' => false,
         )
      ),
      'board' => array(
         'general_board' => array(
            'moderate_board' => false,
         ),
         'topic' => array(
            'post_new' => false,
            'merge_any' => false,
            'split_any' => false,
            'send_topic' => false,
            'make_sticky' => false,
            'move' => true,
            'lock' => true,
            'remove' => true,
            'post_reply' => true,
            'modify_replies' => false,
            'delete_replies' => false,
            'announce_topic' => false,
         ),
         'post' => array(
            'delete' => true,
            'modify' => true,
            'report_any' => false,
         ),
         'poll' => array(
            'poll_view' => false,
            'poll_vote' => false,
            'poll_post' => false,
            'poll_add' => true,
            'poll_edit' => true,
            'poll_lock' => true,
            'poll_remove' => true,
         ),
         'notification' => array(
            'mark_any_notify' => false,
            'mark_notify' => false,
         ),
         'attachment' => array(
            'view_attachments' => false,
            'post_attachment' => false,
         )
      )
   );

   // This is just a helpful array of permissions guests... cannot have.
   $non_guest_permissions = array(
      'karma_edit',
      'pm_read',
      'pm_send',
      'profile_identity',
      'profile_extra',
      'profile_title',
      'profile_remove',
      'profile_server_avatar',
      'profile_upload_avatar',
      'profile_remote_avatar',
      'poll_vote',
      'mark_any_notify',
      'mark_notify',
   );

Then I edit:

'profile' => array(
            'profile_view' => true,
            'profile_identity' => true,
            'profile_extra' => true,
            'profile_title' => true,
            'profile_remove' => true,
            'profile_remote_avatar' => false,
         ),
         'arcade' => array(
            'view_arcade' => false,
            'play_arcade' => false,
            'submit_score' => false,
            'challenge_send' => false,
            'challenge_view' => false,
            'admin_arcade' => false,
         ),

Then it looks like this

         'member_admin' => array(
            'moderate_forum' => false,
            'manage_membergroups' => false,
            'manage_permissions' => false,
            'manage_bans' => false,
            'send_mail' => false,
         ),
         'profile' => array(
            'profile_view' => true,
            'profile_identity' => true,
            'profile_extra' => true,
            'profile_title' => true,
            'profile_remove' => true,
            'profile_remote_avatar' => false,
         ),
         'arcade' => array(
            'view_arcade' => false,
            'play_arcade' => false,
            'submit_score' => false,
            'challenge_send' => false,
            'challenge_view' => false,
            'admin_arcade' => false,
         ),
      'board' => array(
         'general_board' => array(
            'moderate_board' => false,
         ),
         'topic' => array(
            'post_new' => false,
            'merge_any' => false,
            'split_any' => false,
            'send_topic' => false,
            'make_sticky' => false,
            'move' => true,
            'lock' => true,
            'remove' => true,
            'post_reply' => true,
            'modify_replies' => false,
            'delete_replies' => false,
            'announce_topic' => false,
         ),
         'post' => array(
            'delete' => true,
            'modify' => true,
            'report_any' => false,
         ),
         'poll' => array(
            'poll_view' => false,
            'poll_vote' => false,
            'poll_post' => false,
            'poll_add' => true,
            'poll_edit' => true,
            'poll_lock' => true,
            'poll_remove' => true,
         ),
         'notification' => array(
            'mark_any_notify' => false,
            'mark_notify' => false,
         ),
         'attachment' => array(
            'view_attachments' => false,
            'post_attachment' => false,
         )
      )
   );

   // This is just a helpful array of permissions guests... cannot have.
   $non_guest_permissions = array(
      'karma_edit',
      'pm_read',
      'pm_send',
      'profile_identity',
      'profile_extra',
      'profile_title',
      'profile_remove',
      'profile_server_avatar',
      'profile_upload_avatar',
      'profile_remote_avatar',
      'poll_vote',
      'mark_any_notify',
      'mark_notify',
   );

Then i got a error

Parse error: parse error, unexpected ';', expecting ')' in /var/www/html/fantasieforum/Sources/ManagePermissions.php on line 1333

Its ); what causes the error, but when i change it, it goes to another line where ); stands.

What's going wrong. i tryed it several times, but it won't work.

sorry for my bad english.
Title: Re: SMF Arcade
Post by: hopelessness on November 15, 2005, 05:05:44 AM
I NEED HELP! I have tried installing the SMF Arcade package and get the following error:
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 Test failed
4. Execute Modification ./Sources/ManagePermissions.php Test failed
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
8. Extract Tree ./getid3 
9. Extract Tree ./Games 
10. Extract File ./arcade_sql.php 
11. Extract Tree ./Sources 
12. Extract File ./Themes/default/Arcade.template.php 
13. Extract File ./Themes/default/ArcadeAdmin.template.php 
14. Extract File ./Themes/default/images/english/games.gif 
15. Extract File ./Themes/default/languages/Arcade.english.php 
16. Extract File ./Themes/default/languages/Arcade.finnish.php

How do I fix this?
Title: Re: SMF Arcade
Post by: angelika on November 15, 2005, 05:29:51 AM
Quote from: hopelessness on November 15, 2005, 05:05:44 AM
I NEED HELP! I have tried installing the SMF Arcade package and get the following error:
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 Test failed
4. Execute Modification ./Sources/ManagePermissions.php Test failed
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
8. Extract Tree ./getid3 
9. Extract Tree ./Games 
10. Extract File ./arcade_sql.php 
11. Extract Tree ./Sources 
12. Extract File ./Themes/default/Arcade.template.php 
13. Extract File ./Themes/default/ArcadeAdmin.template.php 
14. Extract File ./Themes/default/images/english/games.gif 
15. Extract File ./Themes/default/languages/Arcade.english.php 
16. Extract File ./Themes/default/languages/Arcade.finnish.php

How do I fix this?

Did you edit the files? If you open arcade2.xml there you can find how to do and witch files to edit.
Title: Re: SMF Arcade
Post by: Gandalf on November 15, 2005, 06:34:50 AM
Hello,

I am using Joomla (Mambo) CMS on my website and SEF is enabled the url of arcade will be http://www.arabic-lounge.com/component/option,com_smf/Itemid,10/action,arcade/ when a game try to submit a score, it will be forwarded to http://www.arabic-lounge.com/index.php?action=arcade which is not where it must be forwarded so how do i make it forward to component/option,com_smf/Itemid,10/action,arcade/ instead of index.php?action=arcade

I tried also without SEF the url is http://www.arabic-lounge.com/index.php?option=com_smf&Itemid=10&action=arcade but it also forward to http://www.arabic-lounge.com/index.php?action=arcade so it doesnt take care of how the url is :(

Thanks
Title: Re: SMF Arcade
Post by: mj_4_emma on November 15, 2005, 07:53:33 AM
it says.. my games directory is invalid
Title: Re: SMF Arcade
Post by: boogiedown on November 15, 2005, 03:52:41 PM
Quote from: stevebor1 on October 26, 2005, 04:03:37 PM
I upgraded my acrcade to the latest version, all works fine, but when it lists highscores, instead of the click able member name/profile, it says Array.

But if i look under the  "welcome to Arcade" it list the username fine for high score.

How do i fix?
any help please.
Title: Re: SMF Arcade
Post by: rider on November 15, 2005, 04:02:52 PM
Quote from: mj_4_emma on November 15, 2005, 07:53:33 AM
it says.. my games directory is invalid

Here's a trick I use for that.Look at the current theme settings.C and P them for your arcade settings and then remove theme/default at the end and replace with /Games.That should work. :D
Also if you click on my sig it will take you to our support site for the arcade.
Title: Re: SMF Arcade
Post by: rider on November 15, 2005, 04:06:10 PM
Quote from: stevebor1 on November 15, 2005, 03:52:41 PM
Quote from: stevebor1 on October 26, 2005, 04:03:37 PM
I upgraded my acrcade to the latest version, all works fine, but when it lists highscores, instead of the click able member name/profile, it says Array.

But if i look under the  "welcome to Arcade" it list the username fine for high score.

How do i fix?
any help please.

If you are using smf1.1.rc1.There is a fix for the champion icons to work.Is this what you mean?Click on my sig and check out the FAQ at the support site.I'm sure you'll find your answer.
Title: Re: SMF Arcade
Post by: houston on November 15, 2005, 06:45:55 PM
Quote from: Sting on November 10, 2005, 06:03:55 AM
Quote from: snork13 on November 10, 2005, 12:44:11 AM
Quote from: Sting on November 09, 2005, 09:30:26 PM
Quote from: Jay T on November 09, 2005, 08:58:52 PM
Quote from: Sting on November 09, 2005, 01:09:25 PM
well that seems to already be there... but nothing shows up... is there a setting that needs to be changed?

Did you do the display.php edits? And did you put the exact code I gave you?



Ok, I didn't add anything to the Display.php under the Sources directory... I checked the display.template.php under the themes directory.

And ya, I even overwrote the old code that the package manager installed and still no result.

EDIT: I even tried the one for the signatures and it didn't show up there either.

the arcade works in 1.1rc1, some things need to be change though, like updating the database using the sql file found in the mod. To fix the champion thing, in sources/display.php, use this code instead of what's in the mod files

/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ, {$db_prefix}games
WHERE {$db_prefix}games_champ.game={$db_prefix}games.game",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))
{
if(!empty($rivi['game']) && !empty($rivi['member']))
$arcade_champ[$rivi['member']][$rivi['game']] = $rivi;

if(file_exists("./Games/{$rivi['game']}.gif")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.gif";
}
elseif(file_exists("./Games/{$rivi['game']}.GIF")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.GIF";
}
elseif(file_exists("./Games/{$rivi['game']}.png")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.png";
}
elseif(file_exists("./Games/{$rivi['game']}.PNG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.PNG";
}
elseif(file_exists("./Games/{$rivi['game']}.jpg")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.jpg";
}
elseif(file_exists("./Games/{$rivi['game']}.JPG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.JPG";
}
else{
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "";
}

}
loadLanguage('Arcade'); // We need strings from Arcade language file
$context['arcade']['champions'] = $arcade_champ;


and this may be the default, but my code in the $themedir/display.template.php

if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="" width="20"><br />',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}



hope this helps, you can find more info, it somewhere in the 100+ pages on the aracade mod

bingo, thnx alot  ;)

My game images are not showing up. The script is looking for them here.

http://www.eaglebaycamp.com/forum/index.php/Games/secondsofmadness.gif
Title: Re: SMF Arcade
Post by: rider on November 15, 2005, 06:50:12 PM
Make sure your games path and url directories are correct.
Title: Re: SMF Arcade
Post by: rider on November 15, 2005, 06:54:28 PM
Quote from: rider on November 15, 2005, 06:50:12 PM
Make sure your games path and url directories are correct.

I think I miss understood you.Houston are you talking about the champion icons not working?
Title: Re: SMF Arcade
Post by: houston on November 15, 2005, 06:57:09 PM
Quote from: rider on November 15, 2005, 06:54:28 PM
Quote from: rider on November 15, 2005, 06:50:12 PM
Make sure your games path and url directories are correct.

I think I miss understood you.Houston are you talking about the champion icons not working?

Yes. The icons that show up underneath the avatar are not showing up. I just checked the paths and they are correct
Title: Re: SMF Arcade
Post by: redone on November 16, 2005, 03:31:05 PM
The path cannot be correct if the images do not show.

~redone
Title: Re: SMF Arcade
Post by: Juggler on November 16, 2005, 03:49:16 PM
OK, had a quick check and your image is linked as below.

http://www.eaglebaycamp.com/forum/Games/secondsofmadness.gif

The path would appear to be correct as it matches :-

http://www.bluebuzzards.com/buzzards/Games/secondsofmadness.gif

Now I've just made the edit exactly as stated on the SMFarcade forum and it's worked fine. Not entirely sure from your description as to what's up.
Title: Re: SMF Arcade
Post by: houston on November 16, 2005, 04:14:47 PM
Quote from: redone on November 16, 2005, 03:31:05 PM
The path cannot be correct if the images do not show.

~redone


All the images in the arcade itself show up. It's the ones that are used as the champion images under a members avatar that are not showing up.
Title: Re: SMF Arcade
Post by: redone on November 16, 2005, 04:26:54 PM
I will take a look at this for you.  ;)

~redone
Title: Re: SMF Arcade
Post by: houston on November 16, 2005, 09:05:25 PM
Quote from: redone on November 16, 2005, 04:26:54 PM
I will take a look at this for you.  ;)

~redone


Thanks
Title: Re: SMF Arcade
Post by: deathwantsme on November 16, 2005, 09:41:33 PM
whats the URL for the 1.1RC1 version?
Title: Re: SMF Arcade
Post by: houston on November 16, 2005, 10:09:47 PM
Quote from: deathwantsme on November 16, 2005, 09:41:33 PM
whats the URL for the 1.1RC1 version?

The latest version is still for 1.0.5.

If you follow this thread, You will find how to install it in 1.1 rc1. It can be done severl people have done it including myself.
Title: Re: SMF Arcade
Post by: deathwantsme on November 16, 2005, 10:14:37 PM
there are WAY too many posts. I tried running the search, but that doesnt go work for just one topic like i thought. Could someone post here where about the update is, or re post how to do it?
Title: Re: SMF Arcade
Post by: houston on November 16, 2005, 10:47:16 PM
Quote from: deathwantsme on November 16, 2005, 10:14:37 PM
there are WAY too many posts. I tried running the search, but that doesnt go work for just one topic like i thought. Could someone post here where about the update is, or re post how to do it?

have you had a look at the www.smfarcade.com site? They have a solution as well. Your best bet is to install the mod and manually edit any files that indicate a failed test. When I did it it only one file  failed. The solutions are here and not that far back in the thread.
Title: Re: SMF Arcade
Post by: deathwantsme on November 16, 2005, 10:54:20 PM
i didnt know smf arcade had a site, awesome.
Title: Re: SMF Arcade
Post by: rider on November 17, 2005, 12:35:27 AM
Quote from: deathwantsme on November 16, 2005, 10:14:37 PM
there are WAY too many posts. I tried running the search, but that doesnt go work for just one topic like i thought. Could someone post here where about the update is, or re post how to do it?
Have you tried the support site?If you go there you'll get the answer and the help you need.Click on my sig to go there.
Title: Re: SMF Arcade
Post by: Champi on November 25, 2005, 07:43:31 AM
also updated form 1.0.5 tot 1.1.rc and 1.2 -> 1.2.3.

still miss some language strings i think.. follewd everything from arcade2.xml file.. think their will be an update if nikoi has the time?

greetz\z
Title: Re: SMF Arcade
Post by: Champi on November 25, 2005, 09:56:49 AM
seems i forgot to edit the modifications file.. so its my own fault..  :'(

everything works perfekt on 1.1rc..  as long as you folllow the insturctions of the xml files if you do it manually..

greetz
Title: Re: SMF Arcade
Post by: Champi on November 25, 2005, 11:49:20 AM
any update on the missing champions Icons..?
Title: Re: SMF Arcade
Post by: Jay T on November 25, 2005, 12:17:08 PM
Quote from: champi on November 25, 2005, 11:49:20 AM
any update on the missing champions Icons..?

Try going to www.smfarcade.com
Title: Re: SMF Arcade
Post by: flapper on November 27, 2005, 12:11:21 PM
Hi, just done a manual upgrade of SMF forums, could not not use the package manager.

Arcade works fine, but Ive notice that on the left were it shows the members details and avatar, that no longer are the Champion Icons shown anymore and now looks like this

Posts: 13586

Posts: 13586
£151 credits

It seems the post count is now doubled and replaced the champion icons.

Can anyone please help me.

Thanks in advance
Title: Re: SMF Arcade
Post by: DemonicInfluence on November 28, 2005, 11:32:21 AM
display.template.php

Search for the edit for the shop mod. Delete one of the posts code. Then go to smfarcade.com for a fix on the arcade champion icons.
Title: Re: SMF Arcade
Post by: RoarinRow on November 28, 2005, 06:21:27 PM
Does anyone know why a member with the same status, permissions, etc. can not post their high scores, but the other can?  I'm stumped.
Title: Re: SMF Arcade
Post by: niko on November 30, 2005, 03:50:43 PM
1.2.4 Is now released go get it and donate to poor student if you want :)
Title: Re: SMF Arcade
Post by: Moocat on November 30, 2005, 04:20:56 PM
what exactly has changed?
Title: Re: SMF Arcade
Post by: RoarinRow on November 30, 2005, 04:28:06 PM
Quote from: Moocat on November 30, 2005, 04:20:56 PM
what exactly has changed?

And what does it resolve?
Title: Re: SMF Arcade
Post by: DemonicInfluence on November 30, 2005, 08:12:00 PM
a LOT OF BUGS!
Title: Re: SMF Arcade error in 1.2.4
Post by: houston on November 30, 2005, 09:22:37 PM
Let me be the first.

After copying over the source file with the updated ones I got this error when I went to the games section.


Unknown column 'disabled' in 'where clause'
File: /home/eaglebay/public_html/forum/Sources/Arcade.php
Line: 269

I just copyied over the source files.

Running the arcade on smf 1.1 rc1 and tiny portal 0.75
Title: Re: SMF Arcade error in 1.2.4
Post by: digiSal on November 30, 2005, 11:28:56 PM
Quote from: houston on November 30, 2005, 09:22:37 PM
Let me be the first.

After copying over the source file with the updated ones I got this error when I went to the games section.


Unknown column 'disabled' in 'where clause'
File: /home/eaglebay/public_html/forum/Sources/Arcade.php
Line: 269

I just copyied over the source files.

Running the arcade on smf 1.1 rc1 and tiny portal 0.75

you also have to upload and run arcade_install.php. put it in the root of your smf

although, now when i got to admin the games i get this error:
Unable to load the 'ArcadeAdmin_above' template

and it is not loading wrapped in Joomla.

i know i missed something but dont know what...
Title: Re: SMF Arcade
Post by: niko on December 01, 2005, 12:44:43 AM
run arcade_install.php
Title: Re: SMF Arcade
Post by: Prasad007 on December 01, 2005, 03:26:24 AM
its not working for me!
it gives so many errors saying "failed" when testing before installation!!
i hav smf 1.1 rc1
what wrong ?
please help!!
Title: Re: SMF Arcade
Post by: DemonicInfluence on December 01, 2005, 07:25:25 AM
It works for me just champ icons aren't there is that intentional? And also the champ doesn't display in game listing.... Even though in mysql u can see it...
Title: Re: SMF Arcade
Post by: houston on December 01, 2005, 11:54:12 AM
I get the same error as DigiSal

Unable to load the 'ArcadeAdmin_above' template.

After copying over the original source files and running the arcade install.php file.

Any suggestions. The arcadeadmin.php file size on my server is not zeroed out.
Title: Re: SMF Arcade
Post by: ArkServer on December 01, 2005, 02:27:34 PM
I cant install the game
im trying to install new game but dunno how to fill in the fields
Title: Re: SMF Arcade
Post by: niko on December 01, 2005, 02:45:26 PM
If you have problems you should check and reupload all things

Quote from: ArkServer on December 01, 2005, 02:27:34 PM
I cant install the game
im trying to install new game but dunno how to fill in the fields

Game name and Description for it... bgcolor and size should be auto-detected if then check that getid3 is uploaded and swf is valid
Title: Re: SMF Arcade
Post by: digiSal on December 01, 2005, 05:21:46 PM
Reuploading the Theme  Files fixed it for me! and also it fixed my inability to move games into catergories and the admin is loading up quicker for me now!

thanks Niko!

Quote from: houston on December 01, 2005, 11:54:12 AM
I get the same error as DigiSal

Unable to load the 'ArcadeAdmin_above' template.

After copying over the original source files and running the arcade install.php file.

Any suggestions. The arcadeadmin.php file size on my server is not zeroed out.
Title: Re: SMF Arcade
Post by: houston on December 01, 2005, 05:52:53 PM
Quote from: digiSal on December 01, 2005, 05:21:46 PM
Reuploading the Theme  Files fixed it for me! and also it fixed my inability to move games into catergories and the admin is loading up quicker for me now!

thanks Niko!

Quote from: houston on December 01, 2005, 11:54:12 AM
I get the same error as DigiSal

Unable to load the 'ArcadeAdmin_above' template.

After copying over the original source files and running the arcade install.php file.

Any suggestions. The arcadeadmin.php file size on my server is not zeroed out.

That was the trick.

Thanks
Title: Re: SMF Arcade
Post by: RoarinRow on December 02, 2005, 01:35:57 AM
Any idea how I can fix this issue:

8: Undefined index: top10
File: /forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 219
Title: Re: SMF Arcade
Post by: Prasad007 on December 02, 2005, 03:03:50 AM
Quote from: RoarinRow on December 02, 2005, 01:35:57 AM
Any idea how I can fix this issue:

8: Undefined index: top10
File: /forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 219
yes i get that too!
any help please!!?
Title: Re: SMF Arcade
Post by: Nurdle on December 02, 2005, 10:47:55 AM
I'm having trouble getting the games to run using Firefox v1.5 and also version v1.0.7. I'm using SMF v1.1 RC1 and SMF Arcade v1.2.4 . Oh yeah it runs fine with I.E.

Does anyone know what this could be?

Nurdle
Title: Re: SMF Arcade
Post by: niko on December 02, 2005, 11:08:11 AM
1.2.4b is now avaible... uploading Sources directory will be enough

Title: Re: SMF Arcade
Post by: ArkServer on December 02, 2005, 12:44:04 PM
Tje game wont load whatever i try
http://arkserver.servehttp.com/forum/index.php?action=arcade
login with test //test and see it yourself
Title: Re: SMF Arcade
Post by: niko on December 02, 2005, 12:52:48 PM
You have wrong games url
Title: Re: SMF Arcade
Post by: digiSal on December 02, 2005, 01:05:48 PM
is there something we can do about the Play in Popup? when the game ends it redirects to the submit high score within the same small window. it would be cool if it closed and redirected to the submit highschore page, OR, if there was a submit score page that fit into that small window. Maybe ill post this in the feature reguest section of smfarcade.com

thanks..
Title: Re: SMF Arcade
Post by: ArkServer on December 02, 2005, 01:35:47 PM
Quote from: Niko on December 02, 2005, 12:52:48 PM
You have wrong games url

Could be just me but, i can see the screenshots etc, the only problem is that the games won't load.

Arcade setting: http://arkserver.servehttp.com/forum/Games
Title: Re: SMF Arcade
Post by: RoarinRow on December 02, 2005, 01:46:56 PM
Quote from: ripple on October 22, 2005, 04:42:23 PM
Couple of things:

It looks like the the arcade sites aren't working correctly -- can't get to any of the downloadable games.  Anyone have an updated link, or when these sites are going to work?

Secondly, how do you get the "Who's Online" link to display members who are in the arcade itself?  Now, it says "Unknown action"



Not sure if is related to games, but has anyone fixed this 'Unknown Action' description when viewing 'Who's Online'?  I'm on SMF 1.05.
Title: Re: SMF Arcade
Post by: Juggler on December 02, 2005, 03:47:57 PM
Yes,

Check out smfarcade.com which is the support forum and it answers that very question there!
Title: Re: SMF Arcade
Post by: PitViper on December 03, 2005, 08:02:33 PM
I must say to start out with SMF is a lot easier to deal with than phpBB  :D , greatly enjoy using the services provided, thank you.  ;)

Now down to the real problem. I have attempted to install the arcade mod but I keep getting this error:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi27.photobucket.com%2Falbums%2Fc194%2FRedDrake%2FError.jpg&hash=e1cd07b34f88469dd06984e012c4acfe9b402246)

I also have attempted to create the Games directory in the root temp directory, but it always says "permission denied". I have tried to CHMOD the new directory...but once again "permission denied". I found out that the mod had created the Games directory in the wrong root directory (i.e. forum/games...not:  forum/packages/temp/games) like it is supposed to be.

Could anyone possibly help with this? I am using the package downloader provided and not manually installing it btw.
Title: Re: SMF Arcade
Post by: digiSal on December 03, 2005, 08:21:56 PM
my games directory is  /smf/Games . i never read anything other wise.

where did you get those instructions?


Quote from: PitViper on December 03, 2005, 08:02:33 PM
I must say to start out with SMF is a lot easier to deal with than phpBB  :D , greatly enjoy using the services provided, thank you.  ;)

Now down to the real problem. I have attempted to install the arcade mod but I keep getting this error:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi27.photobucket.com%2Falbums%2Fc194%2FRedDrake%2FError.jpg&hash=e1cd07b34f88469dd06984e012c4acfe9b402246)

I also have attempted to create the Games directory in the root temp directory, but it always says "permission denied". I have tried to CHMOD the new directory...but once again "permission denied". I found out that the mod had created the Games directory in the wrong root directory (i.e. forum/games...not:  forum/packages/temp/games) like it is supposed to be.

Could anyone possibly help with this? I am using the package downloader provided and not manually installing it btw.
Title: Re: SMF Arcade
Post by: PitViper on December 03, 2005, 08:29:19 PM
I used the package manager to attempt to install the mod, so it was something that it went through and processed that error... ??? ::)
Title: Re: SMF Arcade
Post by: PitViper on December 04, 2005, 07:40:34 AM
Um new thing, even when I tired to run the arcade_install.php, it gave me two errors...probably because it never finished applying the mod.

Could someone please help with this? I would like to get this arcade up as soon as possible (seeing how it is a main part of the site I am building).
Title: Re: SMF Arcade
Post by: ArkServer on December 04, 2005, 09:17:43 AM
I figured out the arcade does work in IE but doesnt load in firefox, any idea why? and how to fix it? It also seems that i cant submit score on certain games like airfox
Title: Re: SMF Arcade
Post by: PitViper on December 04, 2005, 11:31:54 AM
Scratch that support request :) Managed to fix the bug.

As far as it not working in Firefox...I use firefox and it works just fine for me
Title: Re: SMF Arcade
Post by: Ray™ on December 04, 2005, 11:45:30 AM
ArkServer ,

how did you fix your problem?
Title: Re: SMF Arcade
Post by: Mystical on December 04, 2005, 06:49:40 PM
Quote from: PitViper on December 04, 2005, 07:40:34 AM

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi27.photobucket.com%2Falbums%2Fc194%2FRedDrake%2FError.jpg&hash=e1cd07b34f88469dd06984e012c4acfe9b402246)
Could you post how you fixed this.  I am using the package installer as well and I am stuck with the same error.
Title: Re: SMF Arcade
Post by: Bigguy on December 04, 2005, 07:21:36 PM
have you created the games folder on your server and chmodded it properly ???
Title: Re: SMF Arcade
Post by: JYM on December 04, 2005, 11:48:43 PM
I have the same problem.

If you try to chmod the temp folder, it won't let you..it will always go back to 755.  So...now i'm trying to find the file where it defines the games directory, so i can change it..
Title: Re: SMF Arcade
Post by: ArkServer on December 05, 2005, 02:24:45 PM
Quote from: PitViper on December 04, 2005, 11:31:54 AM
Scratch that support request :) Managed to fix the bug.

As far as it not working in Firefox...I use firefox and it works just fine for me

Even with ff1.5?
Title: Re: SMF Arcade
Post by: niko on December 05, 2005, 02:40:45 PM
It works with Firefox 1.5 at least for me... and with Opera...
Title: Re: SMF Arcade
Post by: ArkServer on December 05, 2005, 03:53:09 PM
Quote from: Niko on December 05, 2005, 02:40:45 PM
It works with Firefox 1.5 at least for me... and with Opera...

http://arkserver.servehttp.com/forum/index.php?action=arcade
please test
login with test // test
Title: Re: SMF Arcade
Post by: niko on December 05, 2005, 05:45:50 PM
Worked for me. Do you have macromedia flash installed to firefox...
you may have only it installed to ie only
Title: Re: SMF Arcade
Post by: Elmacik on December 05, 2005, 05:54:40 PM
Quote from: Niko on December 02, 2005, 11:08:11 AM
1.2.4b is now avaible... uploading Sources directory will be enough

Neither in 1.2.4 nor in 1.2.4b, there arent any permissions to set.
Here are other errors:
1- Subs.php fails on test even its newly extracted from SMF setup package.
2- There comes two empty lines under profile (Admin -> Permissions -> Any group -> Under profile)
3- Members cannot access to Admin whether if that two empty lines are selected or not.
4- There are many other errors in error log. The reason is, you spesified paths in setup package like:
"Themes/default/..."
SMF wont understand it. You must use the defined indexes like: $themedir, $boarddir or else.

The reason of the first-second errors is the forth. Shortly, neither 1.2.4 nor 1.2.4b installs correct.
(You will see if you look at your error log after installation.)

Another suggestion: Users must run arcade_install.php to run the arcade mod properly.
You can do this automatically and that way, users wont need to run that file.
Just add a line like this into package-info.xml  :
<code>arcade_install.php</code>

--You need to add this line into <install> </install> tags..

All these are urgent. Please apply!
Cheers and thanks again.
Title: Re: SMF Arcade
Post by: niko on December 05, 2005, 06:06:00 PM
The Package Manager is buggy and thus i havent (yet) updated.... it works with 1.0.5 howeover...

3- Members cannot access to Admin whether if that two empty lines are selected or not. - You have sometihng missing from Modification.enlglish.php.

4- There are many other errors in error log. The reason is, you spesified paths in setup package like:
"Themes/default/..."
SMF wont understand it. You must use the defined indexes like: $themedir, $boarddir or else.


Another suggestion: Users must run arcade_install.php to run the arcade mod properly.
You can do this automatically and that way, users wont need to run that file.
Just add a line like this into package-info.xml  :
<code>arcade_install.php</code>

arcade_install.php were partly interactive at first thus it isnt there...

Thanks, will fix these :)

Title: Re: SMF Arcade
Post by: Elmacik on December 05, 2005, 06:12:25 PM
Quote from: Niko
3- Members cannot access to Admin whether if that two empty lines are selected or not. - You have sometihng missing from Modification.enlglish.php.

I didnt say they cant access admin :P They cant access arcade. (not allowed)
And, I have nothing missing from Modification.english.php Becase I can see everything is there.
Even though you are right and I have something missing from Modifications.english.php, it still should allow members to access the arcade as I have checked the permission boxes)
Moreover, I am talking about SMF 1.1 RC1 (ofcouse I know about its bugs but the erros I pointed above are not related with the bugs.
You should update arcade2.xml and package-info.xml urgently.
Title: Re: SMF Arcade
Post by: niko on December 05, 2005, 06:18:30 PM
Quote from: Elmacik on December 05, 2005, 06:12:25 PM
Quote from: Niko
3- Members cannot access to Admin whether if that two empty lines are selected or not. - You have sometihng missing from Modification.enlglish.php.

I didnt say they cant access admin :P They cant access arcade. (not allowed)
And, I have nothing missing from Modification.english.php Becase I can see everything is there.
Even though you are right and I have something missing from Modifications.english.php, it still should allow members to access the arcade as I have checked the permission boxes)
Moreover, I am talking about SMF 1.1 RC1 (ofcouse I know about its bugs but the erros I pointed above are not related with the bugs.
You should update arcade2.xml and package-info.xml urgently.

I will update but you need to give them  Arcade view and play and submit permission to make rcade work (challenge and tourament is highly recormended)
Title: Re: SMF Arcade
Post by: Elmacik on December 05, 2005, 06:25:47 PM
Niko,
The file of Modifications.english.php already contains what you say. But they dont appear in permissions. Just 2 empty lines. Try with SMF 1.1 RC1
And checking them wont make it allow users into Arcade.
Title: Re: SMF Arcade
Post by: ArkServer on December 05, 2005, 06:32:08 PM
Quote from: Niko on December 05, 2005, 05:45:50 PM
Worked for me. Do you have macromedia flash installed to firefox...
you may have only it installed to ie only

Guess my FF is bugged :/
Title: Re: SMF Arcade
Post by: ASi ve MAVi on December 06, 2005, 10:19:57 AM
hi !

I'm set to  smf arcade my forum

and I'm set to my mysql

but

I wasn't load game

How  I'm to doing ?

* My forum circulation = 1.1Rc1

* I don't know English Speak,too 

Title: Re: SMF Arcade
Post by: Elvyn on December 06, 2005, 11:31:49 AM
PitViper , how did you fix that error message?

Elvyn
Title: Re: SMF Arcade
Post by: ASi ve MAVi on December 06, 2005, 01:04:47 PM
no no

I'm not taking error message

but

I wasn't load game ,too
Title: Re: SMF Arcade
Post by: Elmacik on December 06, 2005, 01:48:51 PM
ASi ve MAVi,
Elvyn isnt talking about you ;)

Senin hakkında konuşmuyor. Başka birine hatayı nasıl çözdün diyor.
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: verbalkent on December 08, 2005, 01:22:25 PM
Hi, I have manualy added the game mod to my 1.0.5 version of SMF. I see the admin panel, have the buttons, but when I select games to install, and clik "Install selected" it returns to the main game admin page and no games are installed,

I extracted the contents of the game packs to the "Games" root, so there are only files, no folders, and the game admin page see's the games, just doesnt instrall, i ran the install file from "forums/arcade_install.php"

what am i doing wrong? the "Games" folder is chmod'd to 755

**Edit** I got it to install a game MANUALY, (I didnt upload the "getid3" folder.. silly me) But it still doesnt allow to install using the check box and "Install Selected"

But, the flash game i have installed does not load... here is a link (http://www.thedrunkgeek.com/index.php?option=com_smf&Itemid=27&)

I tried to acces my board without the joomla wrapper, same results...

Without Wrapper (http://www.thedrunkgeek.com/forums)


Also, I am using 1.0.5, the mod I downloaded did not have a "arcade_sql.php" file, is this needed? if so, where can I find it for the version im using?

SMFArcade_111.2.4
SMF 1.0.5


Test Login.
test
test



thx
Title: Re: SMF Arcade
Post by: Veej on December 08, 2005, 01:30:27 PM
Hi!
I am completely know to this and was wondering if someone would be kind enough to answer my questions.

Firstly, is there any version of the SMF forum which will work with the installation of any of the versions of the arcade without the need to manually edit files?

If so, which SMF version and which arcade version is this?

Thanks.
Title: Re: SMF Arcade
Post by: Prasad007 on December 08, 2005, 03:13:32 PM
Quote from: Veej on December 08, 2005, 01:30:27 PM
Hi!
I am completely know to this and was wondering if someone would be kind enough to answer my questions.

Firstly, is there any version of the SMF forum which will work with the installation of any of the versions of the arcade without the need to manually edit files?

If so, which SMF version and which arcade version is this?

Thanks.
yeah!
i tried it with 1.0.5 as well as 1.1rc1
it works with neither!!
Title: Re: SMF Arcade
Post by: Bigguy on December 08, 2005, 03:25:04 PM
smf 1.0.5 does work with the arcade, I have it installed on my forums and it works great.
Title: Re: SMF Arcade
Post by: Prasad007 on December 08, 2005, 03:28:18 PM
Quote from: Bigguy on December 08, 2005, 03:25:04 PM
smf 1.0.5 does work with the arcade, I have it installed on my forums and it works great.
didnt work for me :(
Title: Re: SMF Arcade
Post by: Bigguy on December 08, 2005, 03:36:40 PM
I think I have my arcade closed to guests but it does run without a flaw.
Title: Re: SMF Arcade
Post by: Prasad007 on December 08, 2005, 03:48:23 PM
Quote from: Bigguy on December 08, 2005, 03:36:40 PM
I think I have my arcade closed to guests but it does run without a flaw.
lucky you :) but it still doesnt work for me after trying repeatedly
Title: Re: SMF Arcade
Post by: Bigguy on December 08, 2005, 04:03:39 PM
what error message are you getting
Title: Re: SMF Arcade
Post by: Veej on December 08, 2005, 05:48:10 PM
I got it working with 1.0.5 but still no luck making any version work with RC 1.1 - anyone have any ideas?
Title: Re: SMF Arcade
Post by: Prasad007 on December 09, 2005, 03:12:11 AM
Quote from: Bigguy on December 08, 2005, 04:03:39 PM
what error message are you getting

when testing installation,
it says "failed" for a few files
and if i continue with it
later i get a database errror!!
Title: Re: SMF Arcade
Post by: DemonicInfluence on December 09, 2005, 09:01:29 AM
Quote from: Veej on December 08, 2005, 01:30:27 PM
Hi!
I am completely know to this and was wondering if someone would be kind enough to answer my questions.

Firstly, is there any version of the SMF forum which will work with the installation of any of the versions of the arcade without the need to manually edit files?

If so, which SMF version and which arcade version is this?

Thanks.
no...
Title: Re: SMF Arcade
Post by: ArkServer on December 09, 2005, 11:00:11 AM
Quote from: Veej on December 08, 2005, 05:48:10 PM
I got it working with 1.0.5 but still no luck making any version work with RC 1.1 - anyone have any ideas?

I can comfirm the mod works for 1.1 rc1! nice mod :)
If you want too see it in action look into a few post before this one for the url to test..
Title: Re: SMF Arcade
Post by: Prasad007 on December 09, 2005, 11:47:51 AM
Quote from: ArkServer on December 09, 2005, 11:00:11 AM
Quote from: Veej on December 08, 2005, 05:48:10 PM
I got it working with 1.0.5 but still no luck making any version work with RC 1.1 - anyone have any ideas?

I can comfirm the mod works for 1.1 rc1! nice mod :)
If you want too see it in action look into a few post before this one for the url to test..
damn! it just doesnt seem to work for me!
am i doing something wrong??
please help!
thank you!
Title: Re: SMF Arcade
Post by: Bigguy on December 09, 2005, 11:59:45 AM
If you get a upgrade database error, I think there is a way to upgrade your database to make this work. As for the few files it fails on, you should be able to use programs like "Winmerge" and "php designer 2005" (Both are freeware or open source) to manually edit the files that dont take during installation.

Quote from: Prasad007 on December 09, 2005, 03:12:11 AM
Quote from: Bigguy on December 08, 2005, 04:03:39 PM
what error message are you getting

when testing installation,
it says "failed" for a few files
and if i continue with it
later i get a database errror!!
Title: Re: SMF Arcade
Post by: Tech o.O; on December 10, 2005, 01:24:51 AM
Hi.  I want to know how to install the arcade into the "classic" skin, since my forum doesn't use the "default" skin.  i don't even know how to install the arcade.  :O
Title: Re: SMF Arcade
Post by: Bigguy on December 10, 2005, 10:34:21 PM
Install it like you would by the package manager and then add the button to the classic skin.
Title: Re: SMF Arcade
Post by: California Dreamin on December 11, 2005, 04:10:25 AM
Quote from: Bigguy on December 10, 2005, 10:34:21 PM
Install it like you would by the package manager and then add the button to the classic skin.

Could you please explain how to do this? (Package manager)  I see this option, but don't understand how or where to upload the arcade.
Sorry, I'm a newbie and just learning how this board operates
Title: Re: SMF Arcade
Post by: Tech o.O; on December 11, 2005, 05:00:37 AM
Quote from: Bigguy on December 10, 2005, 10:34:21 PM
Install it like you would by the package manager and then add the button to the classic skin.

That's sort of the thing.  I'm new to SMF and I really don't know how to install these mods.  ):
Title: Re: SMF Arcade
Post by: Bigguy on December 11, 2005, 01:20:13 PM
The package manager basically does it all for you. If you go to the package manager and click on [Browse new packages] it will take you to the downloads page for mods. click on the one you want and it uploads it to your server. After this you will see it in a list under [Browse packages] click the [Apply Mod] button to install, follow on screen instructions. After all this is done, all you have to do is edit the template of the skin your using to show the button. I hope this helps a bit.

EDIT: this is how to do it in smf 1.0.5, 1.1rc1 should be pretty close to the same. Remember to back things up BEFORE making modifications.
Title: Re: SMF Arcade
Post by: California Dreamin on December 11, 2005, 05:23:38 PM
Quote from: Bigguy on December 11, 2005, 01:20:13 PM
The package manager basically does it all for you. If you go to the package manager and click on [Browse new packages] it will take you to the downloads page for mods. click on the one you want and it uploads it to your server. After this you will see it in a list under [Browse packages] click the [Apply Mod] button to install, follow on screen instructions. After all this is done, all you have to do is edit the template of the skin your using to show the button. I hope this helps a bit.

EDIT: this is how to do it in smf 1.0.5, 1.1rc1 should be pretty close to the same. Remember to back things up BEFORE making modifications.
I am running SMF 1.0.5
I have tried to do the "browse packages"  but, this is what I come up with.

Latest packages
New Packages:

Personal Message Auto Responder 0.1
Hide Post 1.0.3
Member list by registration 1.0
Updates for SMF 1.0.x:

PHP 4.4.0 Compatibility Update
Updates for SMF 1.0.5:

MySQL 5.0.12 Compatibility Update



Package Manager - Browse Packages
No packages yet.
Installed mods:  current version  older version 

Main Menu
[ Browse Packages ]
[ Download New Packages ]
[ View and Remove Installed Packages ]
[ Installation Options ]




Title: Re: SMF Arcade
Post by: California Dreamin on December 11, 2005, 05:55:03 PM
Ok, I finally got past that, but now have another problem:  I get an error no matter which one I try to browse:  An Error Has Occurred!
Unable to connect to the server. Please try using this URL instead.



Package Manager - Package Get
Package servers
Simple Machines Mod Site  [ Browse ]  [ Delete ] 
[Unknown]'s Packages  [ Browse ]  [ Delete ] 
Jack.R.Abbit's Package Server  [ Browse ]  [ Delete ] 
Grudge's Package Server  [ Browse ]  [ Delete ] 


Add server
Server name: 
URL: 

 

Upload a Package
Package to Upload: 

 

Main Menu
[ Browse Packages ]
[ Download New Packages ]
[ View and Remove Installed Packages ]
[ Installation Options ]


Title: Re: SMF Arcade
Post by: California Dreamin 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?
Title: Re: SMF Arcade
Post by: Catdog on December 12, 2005, 06:39:14 AM
I have Arcade 1.2.4b installed, i Have no " Longest kept champions (Current only)"

SMF 1.1 RC1
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: Bigguy on December 12, 2005, 08:03:04 PM
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.
Title: Re: SMF Arcade
Post by: lovesall on December 12, 2005, 08:52:13 PM
which lines would those be?

Thanks for your help
Title: Re: SMF Arcade
Post by: Bigguy on December 12, 2005, 09:43:39 PM
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.
Title: Re: SMF Arcade
Post by: kiddodee on December 13, 2005, 10:59:52 AM
About Permission of member to play Arcade Game

I get the problem...

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

How I set it to work.??

Thank you...
Title: Re: SMF Arcade
Post by: redone on December 13, 2005, 11:57:00 AM
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.

Title: Re: SMF Arcade
Post by: ArkServer on December 14, 2005, 06:00:01 AM
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?
Title: Re: SMF Arcade
Post by: Sven0 on December 14, 2005, 04:27:41 PM
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!
Title: Re: SMF Arcade
Post by: Sven0 on December 14, 2005, 05:58:47 PM
chmoded all files to 777 but still the same error....
Title: Re: SMF Arcade
Post by: Twiggy on December 14, 2005, 06:01:40 PM
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
Title: Re: SMF Arcade
Post by: mrandall131 on December 14, 2005, 08:09:19 PM
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.
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: Skhilled on December 15, 2005, 09:53:45 PM
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.
Title: Re: SMF Arcade
Post by: Skhilled on December 15, 2005, 09:57:55 PM
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 :)
Title: Re: SMF Arcade
Post by: Skhilled on December 15, 2005, 10:05:37 PM
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.
Title: Re: SMF Arcade
Post by: Skhilled on December 15, 2005, 10:20:06 PM
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.
Title: Re: SMF Arcade
Post by: Skhilled on December 15, 2005, 10:22:45 PM
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.
Title: Re: SMF Arcade
Post by: sadiqbaig on December 15, 2005, 11:07:10 PM
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> 
Title: Re: SMF Arcade
Post by: eeek on December 16, 2005, 11:03:31 AM
MANUAL INSTALL INSTRUCTIONS FOR
SMFArcade_1.2.4b
in to
SMF forum 1.1RC1



OPEN
index.php

FIND
                'admin' => array('Admin.php', 'Admin'),

ADD AFTER
                'arcade' => array('Arcade.php','Arcade'),
                'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),




OPEN
Themes/default/index.template.php

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'];


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'];




OPEN
Sources/Subs.php

FIND
                                'edit_mods_settings' => '<a href="' . $scripturl . '?action=modifyModSettings">' . $txt['modSettings_title'] . '</a>',

ADD AFTER
                                'admin_arcade' => '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>',



OPEN
Sources/ManagePermissions.php

FIND
                        'member_admin' => array(
                                'moderate_forum' => false,
                                'manage_membergroups' => false,
                                'manage_permissions' => false,
                                'manage_bans' => false,
                                'send_mail' => false,
                        ),


ADD AFTER
                        'arcade' => array(
                                'view_arcade' => false,
                                'play_arcade' => false,
                                'submit_score' => false,
                                'challenge_send' => false,
                                'challenge_view' => false,
                                'admin_arcade' => false,
                        ),




OPEN
Themes/default/languages/Modifications.english.php

FIND
?>

ADD BEFORE
$txt['permissiongroup_arcade'] = "Arcade";
$txt['cannot_view_arcade'] = "You arent allowed to view arcade, sorry!";
$txt['permissionhelp_view_arcade'] = "Allow this if you want this group to access arcade";
$txt['permissionname_view_arcade'] = "Can view arcade (main)";
$txt['cannot_arcade_play_arcade'] = "You arent allowed to play on arcade, sorry!";
$txt['permissionhelp_play_arcade'] = "Allow this if you want this group to play in arcade";
$txt['permissionname_play_arcade'] = "Can play in arcade";
$txt['cannot_submit_score'] = "You arent allowed to submit scores on arcade, sorry!";
$txt['permissionhelp_submit_score'] = "Allow this if you want ALLOW this group to submit scores in arcade";
$txt['permissionname_submit_score'] = "Can Submit scores in arcade";
$txt['arcade_highscores_per_page'] = "Highscores per page in arcade";
$txt['admin_arcade'] = "Arcade";
$txt['admin_arcade2'] = "Arcade Admin";
$txt['cannot_admin_arcade'] = "You arent allowed to Admin Arcade!";
$txt['permissionname_admin_arcade'] = "Can Admin Arcade";
$txt['cannot_challenge_send'] = "You arent allowed to send challenges arcade, sorry!";
$txt['permissionhelp_challenge_send'] = "Allow this if you want this group to send challenges arcade";
$txt['permissionname_challenge_send'] = "Can send challenges";
$txt['cannot_challenge_view'] = "You arent allowed to view challenges arcade, sorry!";
$txt['permissionhelp_challenge_view'] = "Allow this if you want this group to view challenges arcade";
$txt['permissionname_challenge_view'] = "Can view challenges";




UPLOAD

Everything in the Themes folder-> to your Themes folder
The complete getid3 folder and its contents to your forum root folder
The 3 files in Sources -> to your Sources folder

The arcade_install.php to your root folder
RUN arcade_install.php by pointing your browser at at.. like ....www.your_forum.com/arcade_install.php
Title: Re: SMF Arcade
Post by: sadiqbaig on December 16, 2005, 12:10:38 PM
but i m just getting test failed

in Subs.php n ManagePermissions.php

that means i just have to edit this 2 files

is it
Title: Re: SMF Arcade
Post by: Sven0 on December 16, 2005, 07:03:02 PM
Quote from: Catdog on December 12, 2005, 06:39:14 AM
I have Arcade 1.2.4b installed, i Have no " Longest kept champions (Current only)"

SMF 1.1 RC1

same here....... any solution for this?
Title: Re: SMF Arcade
Post by: Aravot on December 16, 2005, 07:04:51 PM
Wait for 1.2.5 should be any day
Title: Re: SMF Arcade
Post by: manicmage29 on December 16, 2005, 07:49:30 PM
 :(Fairly new to hosting tried to install smf arcade got 2 error messages 1 when I installed arcade :

Warning: main(/home/mage29/public_html/forumsx/Packages/SMFArcade_1.2.4/Settings.php): failed to open stream: No such file or directory in /home/mage29/public_html/forumsx/Packages/SMFArcade_1.2.4/arcade_install.php on line 16

Fatal error: main(): Failed opening required '/home/mage29/public_html/forumsx/Packages/SMFArcade_1.2.4/Settings.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mage29/public_html/forumsx/Packages/SMFArcade_1.2.4/arcade_install.php on line 16

and one when I tried to install the package saying : 2: opendir(/home/mage29/public_html/forumsx/Packages/temp/Games): failed to open dir: No such file or directory
File: /home/mage29/public_html/forumsx/Sources/Subs-Package.php
Line: 949
Could someone give me a hand thanks
Title: Re: SMF Arcade
Post by: L.G.S on December 17, 2005, 07:02:54 AM
I manually installed the arcade succesfully,

but when I use the installer it tells me it's the 1.4 version and not the 1.4b version, which I installed...

Any help?
Title: Re: SMF Arcade
Post by: RoarinRow on December 17, 2005, 05:51:40 PM
Quote from: Mystical on December 04, 2005, 06:49:40 PM
Quote from: PitViper on December 04, 2005, 07:40:34 AM

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi27.photobucket.com%2Falbums%2Fc194%2FRedDrake%2FError.jpg&hash=e1cd07b34f88469dd06984e012c4acfe9b402246)
Could you post how you fixed this.  I am using the package installer as well and I am stuck with the same error.

I may have missed it, but what's the fix for this for smf 1.0.5?

Thanks.
Title: Re: SMF Arcade
Post by: RoarinRow on December 17, 2005, 05:54:49 PM
Quote from: RoarinRow on November 28, 2005, 06:21:27 PM
Does anyone know why a member with the same status, permissions, etc. can not post their high scores, but the other can?  I'm stumped.

Any ideas on this?  He still can't post his high scores even though people with the same permission, same group can. 
Title: Re: SMF Arcade
Post by: DemonicInfluence on December 17, 2005, 07:02:41 PM
You have to run arcade_install.php put that file in your home directory. Theb through your browser type your site's home directory with the arcade_install.php at the end after the last /
Title: Re: SMF Arcade
Post by: rotor on December 18, 2005, 03:20:11 AM
I can't get the arcade_install.php to run ... just keeps sending me back to the site homepage ??? It's in the smf directory ... and the database hasn't been updated ...

all the files are ok - just the sub.php had to be edited after the package install ...

I'm using the bridge and have updated the index as per the games site suggests (shouldn't effect the arcade_install.php running anyway)

cant think of why this won't run ?? can anyone offer a suggestion ?
Title: Re: SMF Arcade
Post by: L.G.S on December 18, 2005, 08:17:52 AM
Why is the latest version installer not included in the zip file?
Title: Re: SMF Arcade
Post by: ExistenZ on December 18, 2005, 03:59:28 PM
Ok, I have upgraded from the older version to the latest version and now no one cn even open a game....can someone help me?

There were no errors in the upgrade script....

Edit: using SMF 1.0.5
Title: Re: SMF Arcade
Post by: dancecubed on December 18, 2005, 09:46:29 PM
Yes, the same thing is happening to me. My friend tells me this message keeps on showing.
"You arent allowed to view arcade, sorry!"
It took me forever to install everything and I don't want it to be for nothing. I hope you can help soon. Thank you!
Title: Re: SMF Arcade
Post by: sadiqbaig on December 18, 2005, 11:26:25 PM

on my demo forum

there's  no packages installed

but i got subs.php test failed

so what i did was added in subs.php what its earlier said in this forum

n again i ran the apply mod

but i got the same error (subs.php test failed)

but i applied the mod

n i m getting this errors

Database Error   
Table 'waplinks_smf2.smf_games' doesn't exist
File: /home/waplinks/public_html/wapwap/Sources/ArcadeAdmin.php
Line: 560

Installer version is: 1.2.4 while Arcade version is 1.2.4b.

demo site is also running on smf RC 1.1

plz help

Title: Re: SMF Arcade
Post by: sadiqbaig on December 18, 2005, 11:31:38 PM

owner of house of politics

i visited ur site

its running on smf RC 1.1

n also arcade installed in there

plz help
Title: Re: SMF Arcade
Post by: L.G.S on December 19, 2005, 05:15:13 AM
Im also getting this:

Installer version is: 1.2.4 while Arcade version is 1.2.4b.
Title: Re: SMF Arcade
Post by: ExistenZ on December 19, 2005, 05:40:36 AM
My members still cant open a game. If they click on a game then it opens the game screen, but the flash applet does nto load.
Title: Re: SMF Arcade
Post by: DemonicInfluence on December 19, 2005, 07:25:53 AM
what browser are u using.
Title: Re: SMF Arcade
Post by: ExistenZ on December 19, 2005, 07:32:12 AM
Firefox, myself, so are some of the members, and they are using IE. I mean, absolutly NO ONE can open a game. including me.
Title: Re: SMF Arcade
Post by: L.G.S on December 19, 2005, 07:54:56 AM
can anyone tell me why it doesnt come with the correct installer?
Title: Re: SMF Arcade
Post by: ExistenZ on December 19, 2005, 02:49:05 PM
I would also like to know. I am trying to install but it wont let me. It says:

QuoteInstaller version is: 1.2.4 while Arcade version is 1.2.4b.
Title: Under Champion it says "array"
Post by: boogiedown on December 19, 2005, 03:21:31 PM
Im sure it has to do with the db or something, but under my arcade page where it lists the chapions for each game, it says "array" instead of their name. everywhere else it says their name fine.

Im using smf 1.0.5 and SMF Arcade 1.2.3
Title: Re: SMF Arcade
Post by: Douglas on December 19, 2005, 11:25:27 PM
I did the install manually from the installer file, but that borked some of the permissions.  Reset the permissions, now everyone can see it, however, it's not saving scores correctly, so we NEED to have the 1.2.4b install file, please.
Title: Re: SMF Arcade
Post by: NOLA on December 20, 2005, 09:43:15 PM
hey gang,

I have read this topic for days and I still dont get it. :-[

Install went fine once I fixed the premissions, every thing seems to work fine ( add games etc.) accecpt the highscores dont work at all. 

and I get this error:

Quote/forum/index.php?action=arcade

8: Undefined variable: latest
File: /xxxx/xxxxx/x/x/x/xxxx/html/forum/Sources/Arcade2.php
Line: 589

any ideas???   THX

I'm running.....

SMF 1.1 RC1.
TinyPortal v.0.75 by Bloc
SMF Arcade 1.2.4
Title: Re: SMF Arcade
Post by: ExistenZ on December 21, 2005, 02:26:32 AM
I fixed the installer file! taht si why we dont get the installer to work in 1.4.2b. In the arcade_install.php

Line 25, change

$install_version = "1.2.4";
to
$install_version = "1.2.4b";
Title: Re: SMF Arcade
Post by: NOLA on December 21, 2005, 03:52:23 AM
QuoteI fixed the installer file! taht si why we dont get the installer to work in 1.4.2b. In the arcade_install.php

Line 25, change


Did this, now what......

SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 91 tables in database
All queries done, there were no errors


still no scores..........thx
Title: Re: SMF Arcade
Post by: Spamiam on December 21, 2005, 12:10:49 PM
Are there any "walkthru" instructions for this mod? The installer doesn't work, and the manual instructions give me everything from server errors to not founds. A walkthru on manual install would be awesome.

It looks like a great mod -- if one can get it installed and running.

:'(
Title: Re: SMF Arcade
Post by: NOLA on December 21, 2005, 07:47:11 PM
QuoteAre there any "walkthru" instructions for this mod? The installer doesn't work, and the manual instructions give me everything from server errors to not founds. A walkthru on manual install would be awesome.

no, not that I've seen...  I been working and searching to get this mod working for days.....

The support site was down for a couple of days however it's up now. I found a few answers there and I didn't have to go through 129 pages of post....

http://www.smfarcade.com/index.php/board,1.0.html


fixes for......
Permission, CHAMPION ICONS etc.

Title: Re: SMF Arcade
Post by: HWB on December 22, 2005, 07:00:16 PM
All I did to install it was add the b to the end of the installer version. It works like a charm. Excellent job guys. Do you know if there is a poker game or a blackjack game that I can install?
One thing though. None of my members can play the game. It tells them that they do not have permissions to view. Please help with this.
Title: Re: SMF Arcade
Post by: ExistenZ on December 23, 2005, 03:41:59 AM
You have to set the permissions. You have to edit managepermission.php (or something like that) manually. Anyway, I now have another problem. my members cannot play games via tournament. The "Play" button appears, but the game does not load. The games in the game listing works perfectly, though.
Title: Re: SMF Arcade
Post by: sadiqbaig on December 23, 2005, 06:05:50 AM

SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 76 tables in database
All queries done, there were no errors

just follow wat eek said on page 127
if ur site is running on smf rc 1.1
i ave installed it on my demo site

eek u should create a mod package

also u ave do this

follow wat ExistenZ said on page 129

n than run install
Title: Re: SMF Arcade
Post by: Prasad007 on December 23, 2005, 11:05:50 AM
I have SMF 1.1 RC1
i get this error
3.     Execute Modification     ./Sources/Subs.php     Test failed
please help!
Thank you!
Title: Re: SMF Arcade
Post by: DemonicInfluence on December 23, 2005, 11:42:41 AM
Quote from: Prasad007 on December 23, 2005, 11:05:50 AM
I have SMF 1.1 RC1
i get this error
3.     Execute Modification     ./Sources/Subs.php     Test failed
please help!
Thank you!

You have to manually do that edit...
Title: Re: SMF Arcade
Post by: Prasad007 on December 23, 2005, 12:01:24 PM
Quote from: DemonicInfluence on December 23, 2005, 11:42:41 AM
Quote from: Prasad007 on December 23, 2005, 11:05:50 AM
I have SMF 1.1 RC1
i get this error
3.     Execute Modification     ./Sources/Subs.php     Test failed
please help!
Thank you!

You have to manually do that edit...
what do i have to do?
Title: Re: SMF Arcade
Post by: DemonicInfluence on December 23, 2005, 12:25:50 PM
dl the subs.php and

find:

edit_mods_settings' => '<a href="' . $scripturl . '?action=modifyModSettings">' . $txt['modSettings_title'] . '</a>',

replace with:

'edit_mods_settings' => '<a href="' . $scripturl . '?action=modifyModSettings">' . $txt['modSettings_title'] . '</a>',
'admin_arcade' => '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>',
Title: Re: SMF Arcade
Post by: Prasad007 on December 23, 2005, 12:26:40 PM
Quote from: DemonicInfluence on December 23, 2005, 12:25:50 PM
dl the subs.php and

find:

edit_mods_settings' => '<a href="' . $scripturl . '?action=modifyModSettings">' . $txt['modSettings_title'] . '</a>',

replace with:

'edit_mods_settings' => '<a href="' . $scripturl . '?action=modifyModSettings">' . $txt['modSettings_title'] . '</a>',
'admin_arcade' => '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>',

where am i supposed to do this?
Subs.php ??
Title: Re: SMF Arcade
Post by: DemonicInfluence on December 23, 2005, 12:28:05 PM
yes...
Title: Re: SMF Arcade
Post by: Prasad007 on December 23, 2005, 12:28:48 PM
Quote from: DemonicInfluence on December 23, 2005, 12:28:05 PM
yes...
ok thanks!
Title: Re: SMF Arcade
Post by: DemonicInfluence on December 23, 2005, 12:29:17 PM
No problem...
Title: Re: SMF Arcade
Post by: Prasad007 on December 23, 2005, 12:32:34 PM
damn!
i get this error now
QuoteParse error: parse error, unexpected T_STRING, expecting ')' in /home/prasad00/public_html/forum/Sources/Subs.php on line 2618

cud u get it done for me?

i uploaded the subs.php file @ http://rapidshare.de/files/9701627/Subs.php.html

cud u get it done for me please

Thank you so very much in advance!
Title: Re: SMF Arcade
Post by: Prasad007 on December 23, 2005, 01:07:29 PM
i tried again!
its still not working for me!
please help!!! :)
Title: Re: SMF Arcade
Post by: DemonicInfluence on December 23, 2005, 01:47:30 PM
Okay. I edited for u..

here is link to dl:

www.thehouseofpolitics.com/Subs.zip

just upload that and should work..
Title: Re: SMF Arcade
Post by: ExistenZ on December 23, 2005, 04:01:45 PM
I still have the problem that members can;t play games in tournament mode. Whn try click on "play" in a tournament, the game does not load. On the main arcade screen, games work perfectly.
Title: Re: SMF Arcade
Post by: DemonicInfluence on December 23, 2005, 04:22:14 PM
have u looked here?

http://www.smfarcade.com/index.php/topic,224.0.html
Title: Re: SMF Arcade
Post by: Prasad007 on December 24, 2005, 12:19:39 AM
Quote from: DemonicInfluence on December 23, 2005, 01:47:30 PM
Okay. I edited for u..

here is link to dl:

www.thehouseofpolitics.com/Subs.zip

just upload that and should work..
Thank you so much!
Title: Re: SMF Arcade
Post by: ExistenZ on December 24, 2005, 04:45:59 AM
Quote from: DemonicInfluence on December 23, 2005, 04:22:14 PM
have u looked here?

http://www.smfarcade.com/index.php/topic,224.0.html

But that is not my prolem. I mean, I can play the games, just not in tournament mode.
Title: Re: SMF Arcade
Post by: Prasad007 on December 24, 2005, 06:23:35 AM
Quote from: DemonicInfluence on December 23, 2005, 01:47:30 PM
Okay. I edited for u..

here is link to dl:

www.thehouseofpolitics.com/Subs.zip

just upload that and should work..
it still doesnt work!
3.     Execute Modification     ./Sources/Subs.php     Test failed
Title: Re: SMF Arcade
Post by: joshkol on December 24, 2005, 11:49:57 AM
When I go to game installer it says

Table 'soluhost_smf1.smf_games' doesn't exist
File: /home/soluhost/public_html/forums/Sources/ArcadeAdmin.php
Line: 560

and when I go to games it says

Table 'soluhost_smf1.smf_games_category' doesn't exist
File: /home/soluhost/public_html/forums/Sources/ArcadeAdmin.php
Line: 199

Please help.

And what do I put for the game path?
Title: Re: SMF Arcade
Post by: DemonicInfluence on December 24, 2005, 03:31:47 PM
Quote from: Prasad007 on December 24, 2005, 06:23:35 AM
Quote from: DemonicInfluence on December 23, 2005, 01:47:30 PM
Okay. I edited for u..

here is link to dl:

www.thehouseofpolitics.com/Subs.zip

just upload that and should work..
it still doesnt work!
3.     Execute Modification     ./Sources/Subs.php     Test failed
Continue the install. then Upload that subs.php over the original...

Quote from: joshkol on December 24, 2005, 11:49:57 AM
When I go to game installer it says

Table 'soluhost_smf1.smf_games' doesn't exist
File: /home/soluhost/public_html/forums/Sources/ArcadeAdmin.php
Line: 560

and when I go to games it says

Table 'soluhost_smf1.smf_games_category' doesn't exist
File: /home/soluhost/public_html/forums/Sources/ArcadeAdmin.php
Line: 199

Please help.

And what do I put for the game path?

You haven't run arcade_install.php yet? Unzip the arcade install package. Upload the arcade_install.php and go to www.yoursite.com/arcade_install.php . That should stop the error..

Game Path = forum path to games directory

Ex. This is path to theme

/home/bob/html/Themes

assuming games folder is in the same level as the themes folder. then it should be:

/home/bob/html/Games

Title: Re: SMF Arcade
Post by: California Dreamin on December 25, 2005, 03:44:43 AM
I have version 1.2.1

I am now trying to install games......but, can not locate the games Admin area.
When I hit the games button, nothing happens. Just takes me "home"

I noticed this in my url:http://www.xxxxxxxxx.com/forum/index.php?action=arcade


HELP!
Title: Re: SMF Arcade
Post by: Prasad007 on December 25, 2005, 04:00:07 AM
Quote from: DemonicInfluence on December 24, 2005, 03:31:47 PM
Quote from: Prasad007 on December 24, 2005, 06:23:35 AM
Quote from: DemonicInfluence on December 23, 2005, 01:47:30 PM
Okay. I edited for u..

here is link to dl:

www.thehouseofpolitics.com/Subs.zip

just upload that and should work..
it still doesnt work!
3.     Execute Modification     ./Sources/Subs.php     Test failed
Continue the install. then Upload that subs.php over the original...

Quote from: joshkol on December 24, 2005, 11:49:57 AM
When I go to game installer it says

Table 'soluhost_smf1.smf_games' doesn't exist
File: /home/soluhost/public_html/forums/Sources/ArcadeAdmin.php
Line: 560

and when I go to games it says

Table 'soluhost_smf1.smf_games_category' doesn't exist
File: /home/soluhost/public_html/forums/Sources/ArcadeAdmin.php
Line: 199

Please help.

And what do I put for the game path?

You haven't run arcade_install.php yet? Unzip the arcade install package. Upload the arcade_install.php and go to www.yoursite.com/arcade_install.php . That should stop the error..

Game Path = forum path to games directory

Ex. This is path to theme

/home/bob/html/Themes

assuming games folder is in the same level as the themes folder. then it should be:

/home/bob/html/Games


ok ill try tht
Title: Re: SMF Arcade
Post by: sadiqbaig on December 25, 2005, 04:29:01 AM
Quote from: joshkol on December 24, 2005, 11:49:57 AM
When I go to game installer it says

Table 'soluhost_smf1.smf_games' doesn't exist
File: /home/soluhost/public_html/forums/Sources/ArcadeAdmin.php
Line: 560

and when I go to games it says

Table 'soluhost_smf1.smf_games_category' doesn't exist
File: /home/soluhost/public_html/forums/Sources/ArcadeAdmin.php
Line: 199

Please help.

And what do I put for the game path?

u got the error is bcoz

u ave not done wat eek n exitenz said

read page no 127 n 129
Title: Re: SMF Arcade
Post by: Skhilled on December 26, 2005, 06:25:58 PM
Hello,

If you cannot get your arcade to work please try the FAQ at SMFArcade.com (http://smfarcade.com)

We have added this FAQ to specifically adress certain problems that might be faced. Please keep in mind that this mod is in beta form. This means there will probably be problems and errors. We at smfarcade.com are working hard to circumvent these errors and problems. If you are experiencing a problem or have a solution to a problem, please post it there so we can resolve it and post the appropriate solution. We will then try to address it in the next beta.

Thank you for your patience.  :)
Title: Re: SMF Arcade
Post by: Prasad007 on December 27, 2005, 12:25:31 AM
Quote from: Skhilled on December 26, 2005, 06:25:58 PM
Hello,

If you cannot get your arcade to work please try the FAQ at SMFArcade.com (http://smfarcade.com)

We have added this FAQ to specifically adress certain problems that might be faced. Please keep in mind that this mod is in beta form. This means there will probably be problems and errors. We at smfarcade.com are working hard to circumvent these errors and problems. If you are experiencing a problem or have a solution to a problem, please post it there so we can resolve it and post the appropriate solution. We will then try to address it in the next beta.

Thank you for your patience.  :)
Thank you!
Title: Re: SMF Arcade
Post by: dreamcloud on December 28, 2005, 06:41:43 PM
Im having some problems, i got the SMF arcade 1.2.4b from pakage manager in smf board. Then installed with no errors. Now whenever i go to the arcade i get this error:

QuoteDatabase Error

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
File: /home/zeldare/public_html/forum/Sources/Arcade.php
Line: 252

Im using SMF 1.1 RC1

Please help  :(
Title: Re: SMF Arcade
Post by: DemonicInfluence on December 29, 2005, 01:15:02 PM
i think you haven't run arcade_install.php
Title: Re: SMF Arcade
Post by: dreamcloud on December 29, 2005, 02:33:31 PM
Quote from: DemonicInfluence on December 29, 2005, 01:15:02 PM
i think you haven't run arcade_install.php

I have. I can go to the areas of the arcade, but in all the sections, below it will say that database error. When installing it said it made all the tables without any errors, i dont understand why it would say that.
Title: Re: SMF Arcade
Post by: DemonicInfluence on December 30, 2005, 01:21:48 AM
try this edit for arcade_install.php for 1.24b:

http://www.smfarcade.com/index.php?topic=290.msg1598#msg1598

tell me if work or not
Title: Re: SMF Arcade
Post by: dreamcloud on December 30, 2005, 05:04:51 PM
Thanks, but i already tried that, it didnt work. Could it be perhaps because of my mysql version? Its:
Quote
Client API version    4.0.23
Title: Re: SMF Arcade
Post by: Gobo on December 31, 2005, 03:44:35 PM
ok this is a wonderful mod but requires way too many mods manually for smf 1.1rc1

so il just wait for the final version :D

lookin forward to it :D
Title: Re: SMF Arcade
Post by: Sword Master on January 02, 2006, 09:24:21 PM
I have a problem with installing games. Everytime I select a game to install it just redirects me to the index. The game was never installed. :'(
Title: Re: SMF Arcade
Post by: Bigguy on January 03, 2006, 12:01:19 AM
Is this error from the arcade ?

8: Undefined variable: i
File: /home/bigguy/public_html/smf/Sources/Display.php
Line: 551

And this, I looked at these lines and it does come from the arcade.

Undefined variable: game
File: /home/bigguy/public_html/smf/Sources/Display.php
Line: 554

I have fixed these errors and now my error log is totally clear. Now I have the same problem as "Sword Master" and I cant play any of the games that were installed previous to the upgrade.

EDIT: I did find an error actually in the error log not that I have checked and I stll cant install or play games. Here is the error.

8: Undefined index: member
File: /home/bigguy/public_html/smf/Sources/Arcade.php
Line: 485
Title: Re: SMF Arcade
Post by: RomanyX on January 03, 2006, 11:04:30 AM
I'm running SMF 1.1 RC2. I used the package manager to install version 1.2.4b and got two errors. One was for Subs.php, which I fixed. The other error involved the changes for index.template.php (I'm using the new default theme)...

arcade.xml says
<search position="replace"><![CDATA[ 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_w'];]]>
</search>


But instead, what we have in RC2 is
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



So given this new setup, what do I put next, instead of 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'];]]>


?

I know almost nothing about coding... :-[
Title: Re: SMF Arcade
Post by: Aravot on January 03, 2006, 11:43:52 AM
Use the following for SMF 1.1 RC2


// Show the [Arcade] button.
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=arcade">Arcade</a>
</td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
Title: Re: SMF Arcade
Post by: redone on January 03, 2006, 11:45:57 AM
Don't forget to check out www.smfarcade.com too for faq's etc and current development of the mod.

;)
Title: Re: SMF Arcade
Post by: Bigguy on January 03, 2006, 12:01:53 PM
Now I have the same problem as "Sword Master" and I cant play any of the games that were installed previous to the upgrade.

EDIT: I did find an error actually in the error log not that I have checked and I stll cant install or play games. Here is the error.

8: Undefined index: member
File: /home/bigguy/public_html/smf/Sources/Arcade.php
Line: 485

EDIT 2: All the other errors I reported earlier are back to

8: Undefined variable: i
File: /home/bigguy/public_html/smf/Sources/Display.php
Line: 551

Undefined variable: game
File: /home/bigguy/public_html/smf/Sources/Display.php
Line: 554

I am using the cirrent version of the arcade.
Title: Re: SMF Arcade
Post by: pcigre on January 05, 2006, 10:02:37 AM
Will there be working package version for 1.1 RC2, coz I'm not much into coding and such things...
Title: Re: SMF Arcade
Post by: niko on January 05, 2006, 10:46:45 AM
Yes. Hopefully this month. I want to make it nearly bugless hopefully totally without bugs  :P. Testing & Fixing takes time...
Title: Re: SMF Arcade
Post by: McNeo2 on January 07, 2006, 02:11:26 PM
Quote from: Niko on January 05, 2006, 10:46:45 AMYes. Hopefully this month. I want to make it nearly bugless hopefully totally without bugs  :P. Testing & Fixing takes time...

Thnx. It's worth to wait.
Title: Re: SMF Arcade
Post by: RomanyX on January 07, 2006, 03:53:38 PM
Thanx, Aravot!

Point taken, redone.
Title: Re: SMF Arcade
Post by: Xarcell on January 07, 2006, 07:47:06 PM
Quote from: dreamcloud on December 28, 2005, 06:41:43 PM
Im having some problems, i got the SMF arcade 1.2.4b from pakage manager in smf board. Then installed with no errors. Now whenever i go to the arcade i get this error:

QuoteDatabase Error

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
File: /home/zeldare/public_html/forum/Sources/Arcade.php
Line: 252

Im using SMF 1.1 RC1

Please help  :(

I have teh same issue.It only comes up when I click on games.
Title: Re: SMF Arcade
Post by: Douglas on January 08, 2006, 12:20:39 AM
Hopefully you'll release a version compatible for BOTH RC1 and RC2, as I need them for both sites.
Title: Re: SMF Arcade
Post by: Prasad007 on January 08, 2006, 07:48:26 AM
will a SMF 1.1 RC 2 version of SMF Arcade be releasing anytime soon?
Title: Re: SMF Arcade
Post by: eeek on January 08, 2006, 01:58:46 PM
QuoteHopefully you'll release a version compatible for BOTH RC1 and RC2, as I need them for both sites.

Quotewill a SMF 1.1 RC 2 version of SMF Arcade be releasing anytime soon?


Depends what compatible means?? If it means installs with the easy peasy package manager then youll have to wait.

If it means does it work..then yes 1.2.4b works in rc1 and rc2 but youll have to manually edit the files but its nothing complicated if you know what copy and paste is :)

Instructions at www.smfarcade.com in the FAQ

Title: Re: SMF Arcade
Post by: Douglas on January 08, 2006, 03:20:36 PM
eeek, 1.2.4b does NOT work correctly.  And you have to keep in mind that RC2's structure is a bit different than RC1's is, which is why I was requesting both.
Title: Re: SMF Arcade
Post by: FaSan on January 08, 2006, 03:24:46 PM
Quote from: Douglas on January 08, 2006, 03:20:36 PM
eeek, 1.2.4b does NOT work correctly.  And you have to keep in mind that RC2's structure is a bit different than RC1's is, which is why I was requesting both.


Work fine for me. SMF RC2 and Arcade v. 1.2.4b. i've install all manually (Modifications and DB)



FaSan
Title: Re: SMF Arcade
Post by: eeek on January 09, 2006, 07:28:55 AM
Works fine for me aswell, on a new install of rc2 and an upgrade

(or should I say -- works the same as on RC1 -- as its not perfect :) )

What doesnt work? It wont install with the package manager, thats the only difference I see.

But it might install with the package manager now :)

Who's feeling brave??

http://www.smfarcade.com/index.php?topic=400.0

Title: Re: SMF Arcade
Post by: McNeo2 on January 09, 2006, 08:53:50 AM
Quote from: eeek on January 09, 2006, 07:28:55 AMWho's feeling brave??

It works with RC2 fresh install and new theme. thnx. There was a little panic.. almost burned my computer.. but it ended fine.
Title: Re: SMF Arcade
Post by: J. S. on January 09, 2006, 09:41:02 AM
Is there any way to host the games on other server then SMF?
Title: Re: SMF Arcade
Post by: Douglas on January 09, 2006, 01:58:43 PM
Guess I should clarify.  The code itself is fine, the installer does not work.  Plus, several of my users on my 1.1 RC1 forum are complaining that high scores are not saved all the time.
Title: Re: SMF Arcade
Post by: eeek on January 09, 2006, 02:07:56 PM
Quotehigh scores are not saved all the time

some Internet Explorer users sometimes have that problem, doesnt seem to happen using firefox.

If they are IE users then it can be fixed :)

http://www.smfarcade.com/index.php/topic,215.0/topicseen.html
Title: Re: SMF Arcade
Post by: pcigre on January 09, 2006, 04:28:38 PM
Quote from: eeek on January 09, 2006, 07:28:55 AM
Works fine for me aswell, on a new install of rc2 and an upgrade

(or should I say -- works the same as on RC1 -- as its not perfect :) )

What doesnt work? It wont install with the package manager, thats the only difference I see.

But it might install with the package manager now :)

Who's feeling brave??

http://www.smfarcade.com/index.php?topic=400.0



It works fine with me.
Title: Re: SMF Arcade
Post by: Gargoyle on January 09, 2006, 07:56:40 PM
Worked perfectly for me so far.... I still need to find some games to really give it a test run.. ;D
Title: Re: SMF Arcade ERROR INSTALLING
Post by: neogarfield on January 10, 2006, 11:45:08 AM
Hi all,
   I tried installing this mod for a forum, but it didnt work.It shoes this error :


2: opendir(/home/********/public_html/tmp/Packages/temp/Games): failed to open dir: No such file or directory
File: /home/********/public_html/tmp/Sources/Subs-Package.php
Line: 949

P.S:The stars were kept by me.The original folder name was replaced for privacy reasons.Anyway, please help.Anyone know what the problem might be?

Thanks,
NG
Title: Re: SMF Arcade ERROR INSTALLING
Post by: houston on January 10, 2006, 02:50:59 PM
Quote from: neogarfield on January 10, 2006, 11:45:08 AM
Hi all,
   I tried installing this mod for a forum, but it didn't work.It shoes this error :


2: opendir(/home/********/public_html/tmp/Packages/temp/Games): failed to open dir: No such file or directory
File: /home/********/public_html/tmp/Sources/Subs-Package.php
Line: 949

P.S:The stars were kept by me.The original folder name was replaced for privacy reasons.Anyway, please help.Anyone know what the problem might be?

Thanks,
NG

I had a similar problem My ftp showed that the games folder was there. But when I tried to upload some games to it the ftp gave me an error saying the the folder did not exist. So I deleted it from the server and made a new folder with the same name and was able to upload files to it. You may want to try the same thing.
Title: Re: SMF Arcade
Post by: Sven0 on January 10, 2006, 05:17:09 PM
i use the Joomla 3.20 bridge and have the problem that Arcade 1.24b works if i use the direct link:

http://www.rapz.de/forum/index.php?action=arcade;sa=play;game=72

but not if i use to access the Game using the Joomla link:

http://www.rapz.de/component/option,com_smf/Itemid,198/action,arcade/sa,play/game,72

in this case the flash file don´t load...

I saw now the error that it tries to find this file:

<param name="movie" value="http://www.rapz.de/component/option,com_smf/Itemid,198/action,arcade/sa,download/file,swf">
and
<embed src="http://www.rapz.de/component/option,com_smf/Itemid,198/action,arcade/sa,download/file,swf" ....

How can i solve the problem that mod_rewrite dont change the link to the .swf file?
Title: Re: SMF Arcade
Post by: Polymath on January 13, 2006, 08:30:44 PM
I have the same problems.
forum/Packages/temp/Games): failed to open dir: No such file or directory

Im a simpleton that got bored one day and wacked up a website just by surfing the net (read up on Php and Html) and SMF is the forum I chose. Well any way SMF Arcade is well beyond me, the bottom line is (after reading 133 pages in this forum topic) is I don't think I will ever get it to work. ~shrug~ thanks anyway.

Is it ever going to be just install it? Or have I missed something simple.

Sorry about the frustration I am having. I need to vent. :-\
Title: Re: SMF Arcade
Post by: Bigguy on January 13, 2006, 08:34:38 PM
If you make the folder "Games" and put it in the right directory it will find it and that should take care of that error. Not sure were it goes though I think in the root of smf. (Like in the folder all your other smf files are in)
Title: Re: SMF Arcade
Post by: netpat on January 14, 2006, 07:57:51 AM
Same Problem here too, when SEF is activated (in Joomla only). Using RC2 and Bridge 3.20. Any advice?
Title: Re: SMF Arcade
Post by: niko on January 14, 2006, 08:41:23 AM
Quote from: netpat on January 14, 2006, 07:57:51 AM
Same Problem here too, when SEF is activated (in Joomla only). Using RC2 and Bridge 3.20. Any advice?

Wait for 1.3.0
Title: Re: SMF Arcade
Post by: Douglas on January 14, 2006, 12:47:03 PM
Niko, got an ETA on it?  And will you include instructions on how to add the new menu in for RC2's new default theme as well as the babylon theme?  I'm down into serious crunch time, and the arcade is pretty much the last thing holding me back from completing this upgrade.
Title: Re: SMF Arcade
Post by: bobby0408 on January 14, 2006, 06:24:05 PM
Quote from: ExistenZ on December 23, 2005, 04:01:45 PM
I still have the problem that members can;t play games in tournament mode. Whn try click on "play" in a tournament, the game does not load. On the main arcade screen, games work perfectly.

Has anyone figured out the issue with tournaments, I have everything installed and working good except the tournaments. Users can play games formthe main menu and through challenges but not popup or tournament mode. The flash file will not load in either.
Title: Re: SMF Arcade
Post by: mallon4 on January 14, 2006, 10:58:26 PM
Where can I find games for this version of the SMF Arcade?
Title: Re: SMF Arcade
Post by: Bigguy on January 14, 2006, 11:11:47 PM
http://www.smfarcade.com
Title: Re: SMF Arcade
Post by: haktanir2 on January 16, 2006, 12:02:08 PM
I'm trying to install games but it's not working. I'm sending the .swf game and its .gif icon to the Games folder. I can see its name from the Admin panel but when I choose to install it, the page refreshes to the entrance page and the games are not added.

Could someone pls help? :'(
Title: Re: SMF Arcade
Post by: haktanir2 on January 16, 2006, 01:03:28 PM
SWF games do not load. They work just fine if I enter the complete URL in my browser but when I try to play them within the forum, they just seem like they are loading forever and never do.

Help please?
Title: Re: SMF Arcade
Post by: J. S. on January 16, 2006, 04:18:41 PM
Quote from: J. S. on January 09, 2006, 09:41:02 AM
Is there any way to host the games on other server then SMF?


Anyone?....
Title: Re: SMF Arcade
Post by: niko on January 16, 2006, 04:39:12 PM
Quote from: J. S. on January 16, 2006, 04:18:41 PM
Quote from: J. S. on January 09, 2006, 09:41:02 AM
Is there any way to host the games on other server then SMF?


Anyone?....

No offical but... change url to other server ... upload files to smf server after installing you may delete them. I think I'll implement this to some version not 1.3.0 thought (it's almost ready... don't want to make new bugs :P)
Title: Re: SMF Arcade
Post by: eeek on January 17, 2006, 08:56:36 AM
Quote from: Niko on January 16, 2006, 04:39:12 PM
Quote from: J. S. on January 16, 2006, 04:18:41 PM
Quote from: J. S. on January 09, 2006, 09:41:02 AM
Is there any way to host the games on other server then SMF?


Anyone?....

No offical but... change url to other server ... upload files to smf server after installing you may delete them. I think I'll implement this to some version not 1.3.0 thought (it's almost ready... don't want to make new bugs :P)

I better swat up on htaccess then :)

I did think of trying this myself but dont know if its a good idea or not....ok for the hotlinkers but not so good for the game hosters :)
Title: Re: SMF Arcade
Post by: Xarcell on January 17, 2006, 10:29:46 PM
Are you trying to keep people from direct linking to your games? If so, just put a blank index.php file in teh folder with teh games.

Fixed...
Title: Re: SMF Arcade
Post by: ExistenZ on January 18, 2006, 09:56:39 AM
Ok, listen, does this mod work with RC2?
Title: Re: SMF Arcade
Post by: Prasad007 on January 18, 2006, 09:58:29 AM
Quote from: ExistenZ on January 18, 2006, 09:56:39 AM
Ok, listen, does this mod work with RC2?
no
i believe the update for rc2 is yet to be released
Title: Re: SMF Arcade
Post by: Bigguy on January 18, 2006, 12:13:31 PM
I am running the arcade with smf 1.1 RC2 and it works good.
Title: Re: SMF Arcade
Post by: DemonicInfluence on January 18, 2006, 01:53:54 PM
Yes, but you have to manually do it...
Title: Re: SMF Arcade
Post by: Bigguy on January 18, 2006, 08:51:51 PM
I did mine through the package manager. The only file I altered was the Who.php so it would show who was playing what game.
Title: Re: SMF Arcade
Post by: Gargoyle on January 18, 2006, 10:03:05 PM
Quote from: Bigguy on January 18, 2006, 08:51:51 PM
I did mine through the package manager. The only file I altered was the Who.php so it would show who was playing what game.

I did the same thing to my site running SMF 1.1RC2. The only draw back is the error log gets filled with errors when the arcade is being used. But it doesn't seem to effect the arcades performance at all..

Oh and tournaments don't work.
Title: Re: SMF Arcade
Post by: SKETCHi on January 19, 2006, 02:26:15 AM
After following the manual install instructions (listed at smfarcade.com) for SMF 1.0.5 (Arcade 1.2.4b), I have encountered the following error when attempting to run arcade_install.php

QuoteSMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 101 tables in database
Table 'graphic_smf1.smf_games_category' doesn't exist

FIXED
Problem:
The table "smf_games_category" was misspelled as "smf_games_caterogy".

How to fix:
Open phpMyAdmin > Your SMF Database
Run Query
RENAME TABLE smf_games_caterogy TO smf_games_category
Run arcade_install.php
Title: Re: SMF Arcade
Post by: Xarcell on January 19, 2006, 09:56:39 AM
Quote from: ExistenZ on January 18, 2006, 09:56:39 AM
Ok, listen, does this mod work with RC2?

Just read a few posts back. You'll see that questions asked more than once. You could have gotten your answer there.
Title: Re: SMF Arcade
Post by: DemonicInfluence on January 19, 2006, 01:04:19 PM
Quote from: Bigguy on January 18, 2006, 08:51:51 PM
I did mine through the package manager. The only file I altered was the Who.php so it would show who was playing what game.

Ah, but u were using the 1.1 rc2 compatible only avaliable at smfarcade.com ... The normal one doesn't work here..
Title: Re: SMF Arcade
Post by: scarface on January 19, 2006, 11:24:42 PM
hey guys, the authors website to download + install games is currently down. Is there any other web links to download Games for my Arcade? thanks for reading and your help!


the authors website is: http://www.pahajoki.info/
Title: Re: SMF Arcade
Post by: Aravot on January 20, 2006, 03:14:01 AM
http://www.smfarcade.net
Title: Re: SMF Arcade
Post by: The Soldier on January 20, 2006, 07:56:25 AM
When I try to add a game category or install a game, I keep getting this error....

QuoteTable 'theinfer_smf2.smf_games_category' doesn't exist
File: /home/theinfer/public_html/demo/Sources/ArcadeAdmin.php
Line: 191

I also get the following under arcade settings....

QuoteGames Directory (Path):   Games Directory is invalid

What do I do? Please help. :'(

P.S. - This is with the "1.2.1" version.
Title: Re: SMF Arcade
Post by: Xarcell on January 20, 2006, 09:00:47 AM
Please search and you will find your anwser.

Title: Re: SMF Arcade
Post by: DemonicInfluence on January 20, 2006, 09:16:10 AM
http://www.smfarcade.net/index.php/topic,503.0.html

That is the fix..
Title: Re: SMF Arcade
Post by: sadiqbaig on January 20, 2006, 01:15:30 PM

it worked when i had installed on my demo

forum

but i had to upload new subs.php file

but in my current forum

i cannot replace the orginal subs.php

coz 2many changes

i m getting this error

Parse error: parse error, unexpected ';' in /home/waplinks/public_html/wapforum/Sources/Subs.php on line 1730




Line 1729  // Can't have a one letter smiley, URL, or email!(sorry.)
Line 1730 if ($last_pos <; $pos - 1)
Line 1731 {



Title: Re: SMF Arcade
Post by: redone on January 20, 2006, 01:19:40 PM
If you have a parse error then simply put the changes you have made are not correct.

You will need to check the edits of that file again. The error you are seeing is generated when the code has been modified incorrectly.

Title: Re: SMF Arcade
Post by: Metal_GunBlade on January 23, 2006, 09:20:40 AM
Please tell me that it supports or will support SMF 1.1 RC2
Title: Re: SMF Arcade
Post by: Jay T on January 23, 2006, 11:55:12 AM
Yes, it supports rc2.
Title: Re: SMF Arcade
Post by: Prasad007 on January 23, 2006, 12:14:42 PM
Quote from: Jay T on January 23, 2006, 11:55:12 AM
Yes, it supports rc2.
the latest version of SMF Arcade supports rc2 ??
i dont think so! it didnt work for me...
Title: Re: SMF Arcade
Post by: Bigguy on January 23, 2006, 12:20:22 PM
The arcade Does run on Smf RC2 I have it running on my site.
Title: Re: SMF Arcade
Post by: Jay T on January 23, 2006, 12:23:41 PM
Quote from: Prasad007 on January 23, 2006, 12:14:42 PM
Quote from: Jay T on January 23, 2006, 11:55:12 AM
Yes, it supports rc2.
the latest version of SMF Arcade supports rc2 ??
i dont think so! it didnt work for me...


If it doesn't work then you did not do the installation properly.

Title: Re: SMF Arcade
Post by: Bigguy on January 23, 2006, 12:25:17 PM
go to smfarcade.net and check out what they got going on. You should find the help you need there.
Title: Re: SMF Arcade
Post by: Metal_GunBlade on January 23, 2006, 12:32:44 PM
hmm, I'll take my chances and install it...
Title: Re: SMF Arcade
Post by: Metal_GunBlade on January 23, 2006, 12:44:42 PM
Ok I tried to install it via package manager, and it gave me two errors:

1. Execute Modification ./index.php Test successful
2. Execute Modification ./Themes/default/index.template.php Test failed
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

will someone please tell me what's wrong??? and if possible could the author install it for me, I will gladly give him/her access to my cpanel-file manager...

P.S: I'm using SMF 1.1 RC2 and am installing it on the default theme...
Title: Re: SMF Arcade
Post by: Jay T on January 23, 2006, 01:12:10 PM
Metal, I am a part of the SMFArcade support team. Right now we do not have a compatible rc2 package install. Though one is in the makes.

Go ahead and finish the installation and then you will need to make the edits to the files that failed manually. These edits can be found in the xlm2 document.

Go to www.smfarcade.net for further instructions.
Title: Re: SMF Arcade
Post by: RomanyX on January 23, 2006, 01:21:27 PM
Quote from: sadiqbaig on January 20, 2006, 01:15:30 PM
Parse error: parse error, unexpected ';' in /home/waplinks/public_html/wapforum/Sources/Subs.php on line 1730




Line 1729  // Can't have a one letter smiley, URL, or email!(sorry.)
Line 1730 if ($last_pos <; $pos - 1)
Line 1731 {


Should be


Line 1729  // Can't have a one letter smiley, URL, or email!(sorry.)
Line 1730 if ($last_pos < $pos - 1)
Line 1731 {

Title: Re: SMF Arcade
Post by: Jay T on January 23, 2006, 01:42:23 PM
Quote from: Metal_GunBlade on January 23, 2006, 12:44:42 PM
Ok I tried to install it via package manager, and it gave me two errors:

1. Execute Modification ./index.php Test successful
2. Execute Modification ./Themes/default/index.template.php Test failed
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

will someone please tell me what's wrong??? and if possible could the author install it for me, I will gladly give him/her access to my cpanel-file manager...

P.S: I'm using SMF 1.1 RC2 and am installing it on the default theme...

Actually try the zip package attached to this post. Do not unzip and put it directly in your package folder. The use the admin panel of SMF to install it.

http://www.smfarcade.net/index.php/topic,400.0.html
Title: Re: SMF Arcade
Post by: Metal_GunBlade on January 23, 2006, 01:46:26 PM
Ok, got it...

I have installed it successfully, but there are no games, I will go to the smfarcade site and fetch some up...

Thanks ALOT!
Title: Re: SMF Arcade
Post by: Bigguy on January 23, 2006, 11:48:06 PM
2 things have happened to my site lately. 1.) My host updated php versions to 5.0.5. 2.) Because of this (http://www.simplemachines.org/community/index.php?topic=66862.0) I figured I would update my "script.js" file. Now when I go to play a game (it`s only when I click on the game to play it) I get this error:

QuoteFatal error: Only variables can be passed by reference in /home/bigguy/public_html/smf/Sources/Arcade2.php on line 333

Here is my line 333 from the arcade2.php:

Quote$top10[$i]['comment'] = censorText(doUBBC(stripslashes($score['comment'])));

What is the problem, any ideas ???

EDIT: I reverted any changes I made to the script.js file and I still get this error.
Title: Re: SMF Arcade
Post by: umiya on January 24, 2006, 09:47:25 AM
only problem im having now is my images not showing up

here is  the url it is looking for

http://www.hiya-host.com/forum/www.hiya-host.com/forum/Games/air_sk8ing.gif

which obiously should only be http://www.hiya-host.com/forum/Games/myownimage.gif

how do i fix this?
Title: Re: SMF Arcade
Post by: Bigguy on January 24, 2006, 11:23:16 AM
Does anyone knows whats going on. I can play some games.

Quote from: Bigguy on January 23, 2006, 11:48:06 PM
2 things have happened to my site lately. 1.) My host updated php versions to 5.0.5. 2.) Because of this (http://www.simplemachines.org/community/index.php?topic=66862.0) I figured I would update my "script.js" file. Now when I go to play a game (it`s only when I click on the game to play it) I get this error:

QuoteFatal error: Only variables can be passed by reference in /home/bigguy/public_html/smf/Sources/Arcade2.php on line 333

Here is my line 333 from the arcade2.php:

Quote$top10[$i]['comment'] = censorText(doUBBC(stripslashes($score['comment'])));

What is the problem, any ideas ???

EDIT: I reverted any changes I made to the script.js file and I still get this error.
Title: Re: SMF Arcade
Post by: Jay T on January 24, 2006, 02:44:39 PM
Quote from: umiya on January 24, 2006, 09:47:25 AM
only problem im having now is my images not showing up

here is  the url it is looking for

http://www.hiya-host.com/forum/www.hiya-host.com/forum/Games/air_sk8ing.gif

which obiously should only be http://www.hiya-host.com/forum/Games/myownimage.gif

how do i fix this?

In the arcade admin panel, look in the arcade settings. Make sure the games path and url is correct.
Title: Re: SMF Arcade
Post by: Jay T on January 24, 2006, 02:56:34 PM
Quote from: Bigguy on January 24, 2006, 11:23:16 AM
Does anyone knows whats going on. I can play some games.

Quote from: Bigguy on January 23, 2006, 11:48:06 PM
2 things have happened to my site lately. 1.) My host updated php versions to 5.0.5. 2.) Because of this (http://www.simplemachines.org/community/index.php?topic=66862.0) I figured I would update my "script.js" file. Now when I go to play a game (it`s only when I click on the game to play it) I get this error:

QuoteFatal error: Only variables can be passed by reference in /home/bigguy/public_html/smf/Sources/Arcade2.php on line 333

Here is my line 333 from the arcade2.php:

Quote$top10[$i]['comment'] = censorText(doUBBC(stripslashes($score['comment'])));

What is the problem, any ideas ???

EDIT: I reverted any changes I made to the script.js file and I still get this error.

This is a bug in PHP 5.0.5

The code needs to assign a return for the variable before passing through. I am not sure how to do that. You posted on smfarcade.net and the support staff is checking into it.

You will have a fix very soon.
Title: Re: SMF Arcade
Post by: Bigguy on January 24, 2006, 02:59:11 PM
well thank you very much. I have also found out that some games do work while others I get this error on. ( Dont know if that helps at all)
Title: Re: SMF Arcade
Post by: McNeo2 on January 24, 2006, 04:49:49 PM
SMF 1.1 RC2 / SMF Arcade 1.2.4b

one error I found. picture and error are connected.

Quote8: Undefined index: permissionname_arcade_any
File: /data01/virt8384/domeenid/***/htdocs/Sources/ManagePermissions.php
Line: 1428
   
8: Undefined index: permissionname_arcade_own
File: /data01/virt8384/domeenid/***/htdocs/Sources/ManagePermissions.php
Line: 1424

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.hot.ee%2Fbaraseph%2Ferror.gif&hash=3c8dc7831d3df2f019ef1a598c63db94ec56cb6c)

Looks like I found error. From arcade2.xml I can find:

<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,
),]]>

</add>
</operation>


but somehow it added these lines after 'profile' => array(
so I did little manual fix, and now it is ok.
Title: Re: SMF Arcade
Post by: Oldiesmann on January 25, 2006, 10:39:21 AM
Quote from: Bigguy on January 23, 2006, 11:48:06 PM
2 things have happened to my site lately. 1.) My host updated php versions to 5.0.5. 2.) Because of this (http://www.simplemachines.org/community/index.php?topic=66862.0) I figured I would update my "script.js" file. Now when I go to play a game (it`s only when I click on the game to play it) I get this error:

QuoteFatal error: Only variables can be passed by reference in /home/bigguy/public_html/smf/Sources/Arcade2.php on line 333

Here is my line 333 from the arcade2.php:

Quote$top10[$i]['comment'] = censorText(doUBBC(stripslashes($score['comment'])));

What is the problem, any ideas ???

EDIT: I reverted any changes I made to the script.js file and I still get this error.

Change that line to this:

         $comment = doUBBC(stripslashes($score['comment']));
         $top10[$i]['comment'] = censorText($comment);


censorText always calls parameters by reference. Up until PHP 4.1.0, you could get away with calling non-variables by reference - PHP would simply copy the results into a temporary variable, then call that variable by reference. However, as of PHP 4.1.0, you could no longer do this.

McNeo2 - the "position" attribute indicates where the code we're searching for should go relative to what we're adding, not the other way around, so that's why it added it in that weird spot.
Title: Re: SMF Arcade
Post by: Bigguy on January 25, 2006, 11:19:03 AM
I have tried what you said and still get the same errors.

Quote from: Oldiesmann on January 25, 2006, 10:39:21 AM
Quote from: Bigguy on January 23, 2006, 11:48:06 PM
2 things have happened to my site lately. 1.) My host updated php versions to 5.0.5. 2.) Because of this (http://www.simplemachines.org/community/index.php?topic=66862.0) I figured I would update my "script.js" file. Now when I go to play a game (it`s only when I click on the game to play it) I get this error:

QuoteFatal error: Only variables can be passed by reference in /home/bigguy/public_html/smf/Sources/Arcade2.php on line 333

Here is my line 333 from the arcade2.php:

Quote$top10[$i]['comment'] = censorText(doUBBC(stripslashes($score['comment'])));

What is the problem, any ideas ???

EDIT: I reverted any changes I made to the script.js file and I still get this error.

Change that line to this:

         $comment = doUBBC(stripslashes($score['comment']));
         $top10[$i]['comment'] = censorText($comment);


censorText always calls parameters by reference. Up until PHP 4.1.0, you could get away with calling non-variables by reference - PHP would simply copy the results into a temporary variable, then call that variable by reference. However, as of PHP 4.1.0, you could no longer do this.

McNeo2 - the "position" attribute indicates where the code we're searching for should go relative to what we're adding, not the other way around, so that's why it added it in that weird spot.
Title: Re: SMF Arcade
Post by: Uzbekistan on January 25, 2006, 05:01:20 PM
Hmmm, is it possible to just upgarde the arcade without losing the scores? Even if I have to do it manually.
Title: Re: SMF Arcade
Post by: DemonicInfluence on January 25, 2006, 08:30:42 PM
yesm that is normal. YOu just have to change the php files not the mysql database where all the scores are saved..
Title: Re: SMF Arcade
Post by: houston on January 26, 2006, 11:46:31 PM
Just updated to smf 1.1 rc 2 and smfarcade 1.2.4b and TP 0.8.4 but for some reason the games icon can not be found. All the permissions are set to allow. The arcade is enabled and this is what I have in the index.template.php file. // the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
</td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


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'];

// If the user is a guest, show [login] button.


But the darn icon is not showing up. Has anybody else had this problem.

Thanks
Title: Re: SMF Arcade
Post by: Skhilled on January 27, 2006, 10:57:15 AM
Huston make sure that you have a games.gif file in the /home/isaac/public_html/your_forum/Games dir. Please check that it isn't a .jpg or other extension also.
Title: Re: SMF Arcade
Post by: houston on January 27, 2006, 01:43:49 PM
Quote from: houston on January 26, 2006, 11:46:31 PM
Just updated to smf 1.1 rc 2 and smfarcade 1.2.4b and TP 0.8.4 but for some reason the games icon can not be found. All the permissions are set to allow. The arcade is enabled and this is what I have in the index.template.php file. // the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
</td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


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'];

// If the user is a guest, show [login] button.


But the darn icon is not showing up. Has anybody else had this problem.

Thanks

Never Mind. When the forum re-loaded after the upgrade it reloaded to the Babylon theme.  As soon as I set the theme back to the SMF default low and behold there it was.  ::)

Thanks.
Title: Re: SMF Arcade
Post by: ProcalX on January 29, 2006, 08:58:03 AM
I've installed the package and it is working perfectly, two questions:

How do i add a button or link on my main forum so that members can see that there is an arcade zone? - currently the only way of accessing the arcade zone is if you are logged in as Admin / Mod & click the direct link: "1234.com/forums/index.php?action=arcade"

also only Admins/Moderators currently have access to the arcade zone.. to play..?

How do i get both of these to work?
Title: Re: SMF Arcade
Post by: Jay T on January 29, 2006, 10:25:34 AM
What versions of SMF and SMFArcade are you using?

Also, these questions most likely have already been answered at www.smfarcade.net
Title: Re: SMF Arcade
Post by: Col on January 29, 2006, 03:06:16 PM
Are there any downsides in placing the Games folder outside of the forum? - It's just easier to make a global backup of the forum without having to download all the arcade game files. However, when I moved the Games folder outside of the forum directory, the games would not load (and yes, I did change the path and URL appropriately).

Any thoughts?
Title: Re: SMF Arcade
Post by: DemonicInfluence on January 29, 2006, 07:26:40 PM
I don't think it works when it is outside the forum dir..
Title: Re: SMF Arcade
Post by: niko on January 30, 2006, 06:28:25 AM
It works as long as you have correct path & url... for exaple i use same directory for two forums to save space.
Title: Re: SMF Arcade
Post by: Col on January 30, 2006, 12:59:19 PM
OK Niko,

I guess I need to check this again. I did check and recheck though; and when I moved the Games folder back to its original location, and changed the path and URL back to match, I did so correctly. - I'm at a loss as to what I was doing wrong. ???

Thanks.
Title: Re: SMF Arcade
Post by: haktanir2 on January 31, 2006, 04:18:21 AM
Quote from: ProcalX on January 29, 2006, 08:58:03 AM
I've installed the package and it is working perfectly, two questions:

How do i add a button or link on my main forum so that members can see that there is an arcade zone? - currently the only way of accessing the arcade zone is if you are logged in as Admin / Mod & click the direct link: "1234.com/forums/index.php?action=arcade"

also only Admins/Moderators currently have access to the arcade zone.. to play..?

How do i get both of these to work?
You should check that topic on adding standard tabs to RC2.

You have to set permissions for games from the permissions in admin.
Title: Re: SMF Arcade
Post by: Bigguy on January 31, 2006, 08:05:34 AM
Anyone know how to solve the problem of not being able to install games ???
Title: Re: SMF Arcade
Post by: haktanir2 on January 31, 2006, 08:36:09 AM
Quote from: Bigguy on January 31, 2006, 08:05:34 AM
Anyone know how to solve the problem of not being able to install games ???
Do you get an error message?
Title: Re: SMF Arcade
Post by: Bigguy on January 31, 2006, 09:35:45 AM
Nope. I have games installed and they work. I had to do a bit of an edit to the arcade as I had some problems after my host upgraded. All the games that are installed work fine, I can upload new games and they show in cpanel just not on the site. All my paths are correct and permissions are set right.

EDIT: Host problem, this is solved
Title: Re: SMF Arcade
Post by: scoobyx on January 31, 2006, 05:28:39 PM
looks a really nice mod shame i can't get it to work though, installed as recomended instructions.

set the permissions launch the arcade, selected a game from the list...

the flash box apears but no game actually runs , same result in popup also.

any ideas...  ::)   ?

TIA

p.s if I right click on the black flash panel it does show the about macromedia flash player 8, am confident my flash is working as it should

SMF 1.1 RC2 / SMF Bridge 1.1.2 with mambo

Title: Re: SMF Arcade
Post by: haktanir2 on February 01, 2006, 02:05:25 AM
Quote from: scoobyx on January 31, 2006, 05:28:39 PM
looks a really nice mod shame i can't get it to work though, installed as recomended instructions.

set the permissions launch the arcade, selected a game from the list...

the flash box apears but no game actually runs , same result in popup also.

any ideas...  ::)   ?

TIA

p.s if I right click on the black flash panel it does show the about macromedia flash player 8, am confident my flash is working as it should

SMF 1.1 RC2 / SMF Bridge 1.1.2 with mambo


Did u use Arcade 1.24 or 1.24b?
Title: Re: SMF Arcade
Post by: baselinej70 on February 01, 2006, 07:02:37 AM
Hi,

I get this error on auto-installing the package:
2.     Execute Modification     ./Themes/default/index.template.php     Test failed
3.    Execute Modification    ./Sources/Subs.php    Test failed

when I ignore this and try and run arcade_install.php I get "Installer version is: 1.2.4 while Arcade version is 1.2.4b."

I am on SMF 1.1 RC2 , PHP Version 4.4.1

Thanks very much for a great app. Keen to get it to work on my setup.
Title: Re: SMF Arcade
Post by: baselinej70 on February 01, 2006, 07:03:31 AM
Oops - forgot to say that I tried to install 1.2.4b
Title: Re: SMF Arcade
Post by: DemonicInfluence on February 01, 2006, 07:27:14 AM
try going here:

http://www.smfarcade.net/index.php/topic,400.0.html

That is an error free installation into rc2 of 1.2.4b. That should fix it :D
Title: Re: SMF Arcade
Post by: baselinej70 on February 01, 2006, 07:51:07 AM
Thanks DemonicInfluence!!! You've been a very positive influence..

Runs great!
Title: Re: SMF Arcade
Post by: haktanir2 on February 01, 2006, 08:02:26 AM
Quote from: baselinej70 on February 01, 2006, 07:02:37 AM
Hi,

I get this error on auto-installing the package:
2.     Execute Modification     ./Themes/default/index.template.php     Test failed
3.    Execute Modification    ./Sources/Subs.php    Test failed

when I ignore this and try and run arcade_install.php I get "Installer version is: 1.2.4 while Arcade version is 1.2.4b."

I am on SMF 1.1 RC2 , PHP Version 4.4.1

Thanks very much for a great app. Keen to get it to work on my setup.

I think you need to edit some file in 1.24b before installing it. Check previous posts.
Title: Re: SMF Arcade
Post by: Prasad007 on February 01, 2006, 08:35:44 AM
Is there an arcade for smf 1.1 rc 2 ?
Title: Re: SMF Arcade
Post by: Kindred on February 01, 2006, 09:50:01 AM
Prasad...

Did you read the message (by DemonicInfluence) 3 up from where you posted?
Title: Re: SMF Arcade
Post by: Prasad007 on February 01, 2006, 09:52:42 AM
Quote from: DemonicInfluence on February 01, 2006, 07:27:14 AM
try going here:

http://www.smfarcade.net/index.php/topic,400.0.html

That is an error free installation into rc2 of 1.2.4b. That should fix it :D

Quote from: Kindred on February 01, 2006, 09:50:01 AM
Prasad...

Did you read the message (by DemonicInfluence) 3 up from where you posted?

didnt read that! Thank you!! :)
Title: Re: SMF Arcade
Post by: Prasad007 on February 01, 2006, 09:57:07 AM
yay! it works!! thank you so very much!!! :) :)
Title: Re: SMF Arcade
Post by: Prasad007 on February 01, 2006, 09:59:40 AM
when i goto games installer it says no games installed
and this too
Database version recommended   1.0.0     Update
when i click update it says database updated
but i get the same thing over and over again
please help!
Thank you!!
Title: Re: SMF Arcade
Post by: Kindred on February 01, 2006, 10:52:46 AM
Prasad... please stop serial posting!  edit your last message if you have something to add and no one else has posted!
Title: Re: SMF Arcade
Post by: Bigguy on February 01, 2006, 11:09:59 AM
I wouldnt worry about that db problem right now. I have the same version of db in my arcade and it all works good. You have to manually upload the games to the Games folder inside your smf directory in your cpanel. Hope that helps a bit.

Quote from: Prasad007 on February 01, 2006, 09:59:40 AM
when i goto games installer it says no games installed
and this too
Database version recommended   1.0.0     Update
when i click update it says database updated
but i get the same thing over and over again
please help!
Thank you!!

Title: Re: SMF Arcade
Post by: Prasad007 on February 01, 2006, 01:23:10 PM
Quote from: Kindred on February 01, 2006, 10:52:46 AM
Prasad... please stop serial posting!  edit your last message if you have something to add and no one else has posted!
okay sorry about that. i didnt not intend to spam. wont happen again.


Quote from: Bigguy on February 01, 2006, 11:09:59 AM
I wouldnt worry about that db problem right now. I have the same version of db in my arcade and it all works good. You have to manually upload the games to the Games folder inside your smf directory in your cpanel. Hope that helps a bit.
how do i do that?? please help!
Title: Re: SMF Arcade
Post by: Jay T on February 01, 2006, 01:56:00 PM
You add games through your ftp. The games are added to the games directory which should be in your SMF directory.

Please visit www.smfarcade.net for further help.



If you need exact details look at the following post. :)
Title: Re: SMF Arcade
Post by: Bigguy on February 01, 2006, 01:59:44 PM
If you have ftp then its real easy, connect to your account using your ftp client. This usually requires you to know the ip address of the host you are on along with your username and password to your account. After you connect with ftp browse to your "Games" folder in your "smf" directory and upload the .swf file and the gif image of the game you want to play. After that is done go to your forums admin control panel and navigate to your arcade admin and install the games through the game installer. Its that simple.

If you dont have ftp this can still be done by going to your "file manager" in your cpanel and navigating to your "Games" folder that way. After you get to your "Games" folder you should see an "Upload" button press it and browse for the files on your computer you want to upload. Hope that helped.

EDIT: Sorry Jay T after typing all that I had to post :)
Title: Re: SMF Arcade
Post by: scoobyx on February 01, 2006, 07:24:12 PM
Quote from: haktanir2 on February 01, 2006, 02:05:25 AM
Quote from: scoobyx on January 31, 2006, 05:28:39 PM
looks a really nice mod shame i can't get it to work though, installed as recomended instructions.

set the permissions launch the arcade, selected a game from the list...

the flash box apears but no game actually runs , same result in popup also.

any ideas...  ::)   ?

TIA

p.s if I right click on the black flash panel it does show the about macromedia flash player 8, am confident my flash is working as it should

SMF 1.1 RC2 / SMF Bridge 1.1.2 with mambo


Did u use Arcade 1.24 or 1.24b?

SMFArcade_1.2.4b__RC2
Title: Re: SMF Arcade
Post by: Prasad007 on February 01, 2006, 09:23:12 PM
Quote from: Jay T on February 01, 2006, 01:56:00 PM
You add games through your ftp. The games are added to the games directory which should be in your SMF directory.

Please visit www.smfarcade.net for further help.



If you need exact details look at the following post. :)
Thank you!!
Title: Re: SMF Arcade
Post by: Skhilled on February 04, 2006, 10:04:59 PM
scoobyx, try this:

http://www.smfarcade.net/index.php/topic,484.msg2991.html#msg2991
Title: Re: SMF Arcade
Post by: Oldiesmann on February 13, 2006, 10:25:43 PM
Since I can confirm that this mod will work fine in RC2 with no changes, I updated the info on the mod site so it should now be compatible with 1.1RC2. I also updated the latest version details since 1.2.4b is the latest version.
Title: Re: SMF Arcade
Post by: Aitsukai on February 14, 2006, 01:00:26 PM
Oldiesmann, are you sure? I get:

2.     Execute Modification     ./Themes/default/index.template.php     Test failed
3.    Execute Modification    ./Sources/Subs.php    Test failed
Title: Re: SMF Arcade
Post by: MJJOS on February 15, 2006, 05:32:53 PM
Hi,

I tried installing v1.2.4b, and I uploaded it ok, I got those 2 test fail errors everyone has been getting, so I made those modifications manually from the aracde.xml file. Im using SMF1.1RC2. I made the modifications ok, no problems.

I then went to arcade_install.php like it said, but I get this message:
Installer version is: 1.2.4 while Arcade version is 1.2.4b.

Any advice? By the way, in the zip there are no instructions for manually installing on 1.1RC2, as well as that, it says for 1.1RC1, that you should use arcade3.xml, but there is no such file. I just noticed this as I was looking through it.

Thanks!

MJJOS.
Title: Re: SMF Arcade
Post by: haktanir2 on February 15, 2006, 06:36:37 PM
u need to edit a file there thats the prob
search in the previous posts or go to smfarcade.net
Title: Re: SMF Arcade
Post by: Pink Bee on February 16, 2006, 06:16:13 AM
I am using RC2 with TP Oxygen theme...

I got this error while installing:
Quote2. Execute Modification ./Themes/default/index.template.php Test failed  
3. Execute Modification ./Sources/Subs.php Test failed  
Title: Re: SMF Arcade
Post by: DemonicInfluence on February 16, 2006, 01:18:50 PM
er... manually install it..
Title: Re: SMF Arcade
Post by: Stunt on February 16, 2006, 02:38:13 PM
Manual Install

I'm using RC2 & I'm having trouble with the arcade install, I did everything correctly, but when I go to the arcade_install.php, I get this:

Installer version is: 1.2.4 while Arcade version is 1.2.4b.

What's going on?

Non-Manual Install

2.     Execute Modification     ./Themes/default/index.template.php     Test failed
3.    Execute Modification    ./Sources/Subs.php                          Test failed
Title: Re: SMF Arcade
Post by: Neeraz on February 17, 2006, 09:02:27 AM
i get this error whem i go to a category :(

SMF : 1.0.6
Arcade : 1.2.3

2: Invalid argument supplied for foreach()
File: /home2/justnepa/public_html/games/Sources/Arcade.php
Line: 151
Title: Re: SMF Arcade
Post by: redone on February 17, 2006, 09:06:41 AM
I would post at SMFarcade.net. I am not sure its been tested with 1.06.

Later versions really were intended for people running 1.1 boards.

Title: Re: SMF Arcade
Post by: DemonicInfluence on February 17, 2006, 11:41:39 AM
There is a 1.06 package though..

The link is: http://www.smfarcade.net/index.php?topic=599.msg3815#msg3815
Title: Re: SMF Arcade
Post by: Stunt on February 18, 2006, 12:55:29 AM
Were the hell do we get games at? There are none on SMFArcade.net !
Title: Re: SMF Arcade
Post by: Bigguy on February 18, 2006, 02:57:30 AM
try this :

http://www.smfarcade.net/index.php?action=tpmod;dl=cat2
Title: Re: SMF Arcade
Post by: Skhilled on February 18, 2006, 03:14:58 AM
If you are having problems please post your questions at SMFArcade.net (http://www.smfarcade.net). There are probably answers to your questions already there. Please read the "Facts and Questions" and use the search.

BTW, the latest version 1.2.4b. A new version will hopefully be out in March.

Thank you for your patience,
Skhilled
SMFArcade Support Staff
Title: Re: SMF Arcade
Post by: ZhongFu on February 18, 2006, 02:51:19 PM
After installing I try to apply and i get this:

2: opendir(/home/fegemnet/public_html/community/Packages/temp/Games): failed to open dir: No such file or directory
File: /home/fegemnet/public_html/community/Sources/Subs-Package.php
Line: 949

What do i do next?

I am using smf 1.06.
Title: Re: SMF Arcade
Post by: Bigguy on February 18, 2006, 04:14:02 PM
Make a directory in temp called Games and chmod it to 777.
Title: Re: SMF Arcade
Post by: ZhongFu on February 19, 2006, 02:42:34 PM
Quote from: Bigguy on February 18, 2006, 04:14:02 PM
Make a directory in temp called Games and chmod it to 777.

Thanks, BigGuy! But can you explain to me how to chmod it to 777?

Sorry I am very new to this.
Title: Re: SMF Arcade
Post by: Bigguy on February 20, 2006, 12:02:44 AM
through ftp right click and go to properties. (depending on ftp client I guess) If you have cpanel log in, go to file manager, click on THE NAME of the folder(not the icon) In the top right corner you should see a menu, one choice will be permissions, click on that and and click the boxes til you end up with 777 or all permissions. Hope that helped.
Title: Re: SMF Arcade
Post by: ZhongFu on February 21, 2006, 03:38:43 AM
Yes, and thanks again, BigGuy! That did settle the chmod part!
Title: Re: SMF Arcade
Post by: Bigguy on February 21, 2006, 01:59:02 PM
Hey i am just glad to be able to help out. :)
Title: Re: SMF Arcade
Post by: Skhilled on February 22, 2006, 07:49:57 AM
Actually, the Games directory should be right under your community directory. I am assuming that the community dir is your smf dir. And please make sure that Games is spelled with a capital 'G'. It should be:

/home/fegemnet/public_html/community/Games

Then upload your games to that directory after running arcade_install.php
Title: Re: SMF Arcade
Post by: Suke on February 25, 2006, 03:41:09 AM
It Isn't out for SMF 1.1RC2 yet huh??
Title: Re: SMF Arcade
Post by: Bigguy on February 25, 2006, 05:03:50 AM
http://www.smfarcade.net

Quote from: uchiha sasuke on February 25, 2006, 03:41:09 AM
It Isn't out for SMF 1.1RC2 yet huh??
Title: Re: SMF Arcade
Post by: dieselv2 on February 25, 2006, 08:00:17 AM
can you not package it to make it easier?
Title: Re: SMF Arcade
Post by: Skhilled on February 25, 2006, 07:12:26 PM
Yes, it works for RC1 and RC2.

It is package-ready over at smfarcade.net.
Title: Re: SMF Arcade
Post by: dieselv2 on February 26, 2006, 08:20:12 AM
where?  I can only see arcade download with manual edits for RC2
Title: Re: SMF Arcade
Post by: eeek on February 26, 2006, 10:05:57 AM
Quote from: dieselv2 on February 26, 2006, 08:20:12 AM
where?  I can only see arcade download with manual edits for RC2

http://www.smfarcade.net/index.php/topic,400.0.html
Title: Re: SMF Arcade
Post by: dieselv2 on February 26, 2006, 01:43:46 PM
works without a problem...but you could have included games :p
Title: Re: SMF Arcade
Post by: profile on February 27, 2006, 05:42:02 PM
I'm trying to copy game scores.  Please help me with this: http://www.simplemachines.org/community/index.php?topic=72033.0

TIA
Title: Re: SMF Arcade
Post by: campusimpact on March 03, 2006, 06:24:53 PM
i get two test fails they are

Quote
2.     Execute Modification     ./Themes/default/index.template.php     Test failed
3.    Execute Modification    ./Sources/Subs.php    Test failed

how do i fix this?
Title: Re: SMF Arcade
Post by: Bigguy on March 03, 2006, 06:30:05 PM
Have you tried to edit those files manually ??? If you have other modifications installed then this is probably why you are getting these errors.
Title: Re: SMF Arcade
Post by: kook on March 04, 2006, 11:58:28 AM
i cant get the arcade to even show up or anything when i install the mod why not
Title: Re: SMF Arcade
Post by: DemonicInfluence on March 04, 2006, 12:27:57 PM
Quote from: kook on March 04, 2006, 11:58:28 AM
i cant get the arcade to even show up or anything when i install the mod why not

What version?? Of SMF and the arcade?

Quote from: campusimpact on March 03, 2006, 06:24:53 PM
i get two test fails they are

Quote
2.     Execute Modification     ./Themes/default/index.template.php     Test failed
3.    Execute Modification    ./Sources/Subs.php    Test failed

how do i fix this?

Which SMF Version?

If it is RC2 try this: http://www.smfarcade.net/index.php/topic,400.0.html
Download and install that package..

If it is RC1 manually edit..

If it is 1.0.6 try this: http://www.smfarcade.net/index.php?topic=599.msg3815#msg3815
Title: Re: SMF Arcade
Post by: kook on March 09, 2006, 10:48:46 AM
got it thank you
Title: Re: SMF Arcade
Post by: Grandnegis on March 10, 2006, 07:30:52 AM
Has anyoen got this to work with games downloaded from pnflashgames.com yet.  If so wat do I have to do to get games from there to work with SMFArcade.
Title: Re: SMF Arcade
Post by: Jay T on March 11, 2006, 11:18:37 PM
Compatibility of pnflash will be in the next version.
Title: Re: SMF Arcade
Post by: tL0z on March 12, 2006, 09:11:31 AM
Hello,

I'm trying to install it but I've having some errors:

Quote2.     Execute Modification     ./Themes/default/index.template.php     Test failed
3.    Execute Modification    ./Sources/Subs.php    Test failed

Both are with 0777  :-\

Thanks
Title: Re: SMF Arcade
Post by: Jay T on March 12, 2006, 09:27:25 AM
Quote from: tL0z on March 12, 2006, 09:11:31 AM
Hello,

I'm trying to install it but I've having some errors:

Quote2.     Execute Modification     ./Themes/default/index.template.php     Test failed
3.    Execute Modification    ./Sources/Subs.php    Test failed

Both are with 0777  :-\

Thanks

Three posts before

Quote from: DemonicInfluence on March 04, 2006, 12:27:57 PM
Quote from: campusimpact on March 03, 2006, 06:24:53 PM
i get two test fails they are

Quote
2.     Execute Modification     ./Themes/default/index.template.php     Test failed
3.    Execute Modification    ./Sources/Subs.php    Test failed

how do i fix this?

Which SMF Version?

If it is RC2 try this: http://www.smfarcade.net/index.php/topic,400.0.html
Download and install that package..

If it is RC1 manually edit..

If it is 1.0.6 try this: http://www.smfarcade.net/index.php?topic=599.msg3815#msg3815
Title: Re: SMF Arcade
Post by: G6™ on March 14, 2006, 02:02:19 PM
I have an error and after some searching arround in the files, the error seem to be from the arcade script.

The error turn up no matter what link or action i klick on.
I havent got this until some days ago, and the strange part is that nothing has been changed, added, or altered at all. The error just turned up and now i get it a lot no matter what i do

Every call made from any file or link causes the error from diffrent files, but the lines 61 snd 67 are the same.

8: Use of undefined constant flush - assumed 'flush'
File: /***/familjegodis.se/forum/Themes/default/languages/Stats.english.php (main_above sub template - eval?)
Line: 67


8: Use of undefined constant flush - assumed 'flush'
File: /****/familjegodis.se/forum/Themes/default/Login.template.php (main_above sub template - eval?)
Line: 67


SMF Arcade site seem to be down so i cant ask them over there, got IchBin from TinyPortal to rubn the error down to that it is caused by the arcade mod, but he or anyone else cant see why it runs the error

Anyone here that can help out with this and how to solve it?

//Carina
Title: Re: SMF Arcade
Post by: DemonicInfluence on March 14, 2006, 04:47:55 PM
Hmm.. what mods do you have??? And what version arcade mod?
Title: Re: SMF Arcade
Post by: G6™ on March 14, 2006, 05:03:16 PM
The mods installed are Tinyportal 0.86 on SMF rc2. The arcade mod is 1.2.4b from Arcade.net Random arcade in blocks, and Arcade champion block.
I have tryed to close some of the Arcade blocks in TP off and on, Seems like it have something to do with the radome arcade block, if i turn that block off i get no more flush errors, but i seem to be the only one having this error message using that block...
Title: Re: SMF Arcade
Post by: DemonicInfluence on March 15, 2006, 07:28:34 AM
Well, can you show me the code for your random arcade block??
Title: Re: SMF Arcade
Post by: DemonicInfluence on March 15, 2006, 01:06:11 PM
I have a different one modded from the arcade_extra.ph file..
Title: Re: SMF Arcade
Post by: G6™ on March 17, 2006, 02:41:24 AM
QuoteThis is the only arcade block she has.

I deleted the random arcade block and the flush error are now history.
Still get some errors from Arcade, but they are "Normal errors and are suppose to be there" according to Arcade.net site. Anyhow, the arcade work and no one of the gamers have complained so i let those errors be.
Title: Re: SMF Arcade
Post by: littleone on March 19, 2006, 01:02:48 PM
How do I fix these?

8: Undefined index: warn
File: /home/xxxxxxx/public_html/forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 455


8: Undefined index: game
File: /home/xxxxxx/public_html/forum/Sources/Arcade.php
Line: 1475


Thanks a Ton!
Title: Re: SMF Arcade
Post by: Bigguy on March 19, 2006, 01:15:01 PM
For the arcade look in your smf directory and see if there is a "Games" directory. If there isn't create a new folder called Games, ch mod it to 777 and that should take care of that error. As for the first one you will have to post in the appropriate board for that.
Title: Re: SMF Arcade
Post by: littleone on March 19, 2006, 01:31:05 PM
ok thanks...I am sorry I copied the wrong error for the first one.  I have since corrected it.  If you could take a look at it again for me...thanks...
Title: Re: SMF Arcade
Post by: littleone on March 19, 2006, 01:33:29 PM
Oh...and I have http://mysite.com/forum/Games  if that is what you are refering to for the folder.
Title: Re: SMF Arcade
Post by: Bigguy on March 19, 2006, 01:47:23 PM
All your games you want to install should go into that folder if you have done it correctly then any games you put in that folder will show up in the admin panel under "Arcade" When you installed the arcade were thee any warnings or failures ?
Title: Re: SMF Arcade
Post by: littleone on March 19, 2006, 02:38:07 PM
As far as i remember...there werent any errors and I do have all my games in that folder
Title: Re: SMF Arcade
Post by: Bigguy on March 19, 2006, 04:51:52 PM
Have the errors gone away now or are you down to 1 ???
Title: Re: SMF Arcade
Post by: littleone on March 19, 2006, 05:19:57 PM
Not sure.  I havent fixed anything because I am not sure what the problem is.  I will get back with you on this tomorrow, or whenever it shows up again :) Thanks
Title: Re: SMF Arcade
Post by: DemonicInfluence on March 19, 2006, 05:59:30 PM
http://www.smfarcade.net/index.php?topic=829.msg5860#msg5860

FOr the error with warn..

Also, update to 1.2.4b if u haven't already..

Title: Re: SMF Arcade
Post by: RoarinRow on March 22, 2006, 02:40:50 AM
I tried searches, but could find a fix.  Any assistance would be appreciated.

8: Undefined index: top10
File: /forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 142

8: Undefined index: caterogy
File: /forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 157

I'm on smf 1.1 RC2 with TP 0.8.6 with Arcade 1.2.4b.
Title: Re: SMF Arcade
Post by: DemonicInfluence on March 22, 2006, 06:45:33 AM
Caterogy is the mysql database spelling wrong.. change the table to category.
Title: Re: SMF Arcade
Post by: RoarinRow on March 22, 2006, 09:29:54 AM
Quote from: DemonicInfluence on March 22, 2006, 06:45:33 AM
Caterogy is the mysql database spelling wrong.. change the table to category.

This is a repost from the other arcade site, but mysql already has the correct spelling, smf_games_category
Title: Re: SMF Arcade
Post by: boogiedown on March 22, 2006, 04:26:54 PM
im getting a
8: Undefined index: allow_arcade
File: /home/getbigc/public_html/boards/Themes/default/Display.template.php (eval?)
Line: 544
when i do a IP lookup. I scroll down to see the posts by that IP and thats what i get for the topic title. I unistalled the arcade and looked in the default/index.template.php and display file and dont see anything there. what file is calling to that.
Title: Re: SMF Arcade
Post by: rotor on March 23, 2006, 12:34:59 AM
I'm sure this has been covered .... but 142 pages .... and I'm a slow reader   ;D

I'm either blind or stupid ... but when I go to install the package in smf, I get the msg that it cannot install into the sub.php and index.template.php .... ok that's fine.

Then it tells me to manually install which isn't a problem either .... but what it tells me for RC2 is:-

-Manual Install

1. Open arcade.xml (1.0.x) or arcade2.xml (1.1 Beta 3) or arcade3.xml (1.1 RC)

has anyone seen the arcade3.xml ???? this isn't in any of the archives that I downloaded .... and I don't really think it will install into RC2 due to the menu array.

anyone got the correct xml or install package for RC2 ??

thanks in advance .....
Title: Re: SMF Arcade
Post by: rotor on March 23, 2006, 12:55:36 AM
tried the arcade_install.php without success ... got the message:

"The server encountered an internal error or misconfiguration and was unable to complete your request." ........


Ok ..... got around that .... took a couple of lines out and it went in ok ....

It's now working after editing the index, subs, and manage.permissions files .. except it won't save the scores after a game - just spits me back to the home page ..... any ideas anyone ??
Title: Permissions error after installing Arcade
Post by: kerux4 on March 24, 2006, 08:08:29 AM
I get the following error when trying to set permissions after I install the Arcade.

Parse error: parse error, unexpected ',', expecting ')' in /home/hudd92/public_html/forums/Sources/ManagePermissions.php on line 993

Can anyone tell me how to fix this?
Title: Re: SMF Arcade
Post by: DemonicInfluence on March 24, 2006, 04:01:26 PM
your managepermssions.php has and extra comma at near the arcade place..
Title: Re: SMF Arcade
Post by: kerux4 on March 24, 2006, 06:56:12 PM
What would be the easiest way to fix it?
Title: Re: SMF Arcade
Post by: DemonicInfluence on March 25, 2006, 09:44:21 AM
just delete the comma in managpermission.php...
Title: Re: SMF Arcade
Post by: kerux4 on March 25, 2006, 11:48:37 AM
in line 993?
Title: Re: SMF Arcade
Post by: DemonicInfluence on March 25, 2006, 12:11:07 PM
Ughh. Don't know.. email me a message where I can donwload a zip of that file... THen I will fix it and send it to you.

EmaiL:
[email protected]
Title: Re: SMF Arcade
Post by: fwitt on March 25, 2006, 01:20:39 PM
rotor:

eeek made a fixed version of the RC2 install file available at: http://www.smfarcade.net/index.php/topic,400.0.html

or there are manual install instructions for RC2 at: http://www.smfarcade.net/index.php/topic,342.0.html

to use the install you will have to remove any changes that have already been made by previous install attempts.
Title: Re: SMF Arcade
Post by: cferd on March 25, 2006, 03:45:05 PM
Quotein line 993?
It sounds like you put the code in the wrong location.
Nothing should have been placed around line 993 in connection with the Arcade.
The code goes somewhere around line 1291. Assuming that if you inserted the code in the 900's, the original location was pushed down about 8 lines.
Title: Re: SMF Arcade
Post by: kerux4 on March 25, 2006, 06:32:03 PM
I will get the file sent to your email.
Title: Re: SMF Arcade
Post by: kerux4 on March 25, 2006, 06:47:52 PM
Quote from: DemonicInfluence on March 25, 2006, 12:11:07 PM
Ughh. Don't know.. email me a message where I can donwload a zip of that file... THen I will fix it and send it to you.

EmaiL:
[email protected]


Email sent
Title: Re: SMF Arcade
Post by: TedNigma on March 29, 2006, 10:31:55 AM
I had the same 'no flash' boggle.  Per a post here I checked the file permissions.  And sure as a bear is big they were not flagged as 'executable'.  Just wanted to let you know that the answers are here, and thanks for the help.
Title: Re: SMF Arcade
Post by: darthpaul on March 30, 2006, 03:45:51 AM
I am getting the following error when trying to install the package

An Error Has Occurred!
2: opendir(/home/darthp/public_html/forums/Packages/temp/Games) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory
File: /home/darthp/public_html/forums/Sources/Subs-Package.php
Line: 949 

I tried to manually create the Games folder in temp to but its not letting me, says permission denied. Any ideas? I am using SMF 1.0.6
Title: Re: SMF Arcade
Post by: DemonicInfluence on March 30, 2006, 05:49:49 AM
Try this:

http://www.smfarcade.net/index.php/topic,599.msg4100.html#msg4100
Title: Re: SMF Arcade
Post by: tL0z on April 01, 2006, 09:14:33 AM
I'm trying to install but it says:

2.     Executar modificação (Executing modification)    ./Themes/default/index.template.php     Falha (Failed)
3.    Executar modificação (Executing modification)   ./Sources/Subs.php    Falha (Failed)

:(
Title: Re: SMF Arcade
Post by: DemonicInfluence on April 01, 2006, 09:18:20 AM
What version of smf?
Title: Re: SMF Arcade
Post by: tL0z on April 01, 2006, 10:15:06 AM
1.1 RC2
Title: Re: SMF Arcade
Post by: Jay T on April 01, 2006, 10:48:47 AM
Go here and you will find a working package install for 1.1 rc2

http://www.smfarcade.net/index.php/topic,400.0.html
Title: Re: SMF Arcade
Post by: tL0z on April 01, 2006, 01:21:04 PM
Thanks :)

But not all the options apear in my admin screen. I've already duplicated the arcade.english.php to arcade.portuguese.php and updated the modifications.portuguese. What do I have to do more?
And how do I put a buttom for the Arcade?

Why can't I change the permissions of the folder Games?  :o
Title: Re: SMF Arcade
Post by: Jay T on April 01, 2006, 04:00:13 PM
It will put a Arcade tab on the default theme. If you are using  different theme you will need to edit that theme manually.

Why do you need to change the permissions for the Games folder?
Title: Re: SMF Arcade
Post by: tL0z on April 01, 2006, 04:42:42 PM
To put the games inside :P
But I have created another folder.
Title: Re: SMF Arcade
Post by: Jay T on April 06, 2006, 01:18:30 AM
Quote from: ColoradoSpeed on April 05, 2006, 10:59:14 PM
I am getting these error message for each user on the board.

8: Undefined variable: game
File: /home/cfb2001/public_html/Sources/Display.php
Line: 557

this is the code for line 557

if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){

any clue to fix this?

What versions of SMF and the Arcade are you using?
Title: Re: SMF Arcade
Post by: Teknomancer on April 07, 2006, 01:27:49 AM
I get the following errors:

1.     Execute Modification     ./index.php     Test successful
2.    Execute Modification    ./Themes/default/index.template.php    Test failed
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
6.    Extract Tree    ./getid3    
7.    Extract Tree    ./Games    
8.    Extract File    ./arcade_install.php    
9.    Extract Tree    ./Sources    
10.    Extract File    ./Themes/default/Arcade.template.php    
11.    Extract File    ./Themes/default/ArcadeAdmin.template.php    
12.    Extract File    ./Themes/default/gold.gif    
13.    Extract File    ./Themes/default/warning.png    
14.    Extract File    ./Themes/default/images/english/games.gif    
15.    Extract File    ./Themes/default/languages/Arcade.english.php    
16.    Extract File    ./Themes/default/languages/Arcade.finnish.php


I'm running SMF 1.1 RC2. I tried the 1.24b (latest package).

And I'm NOT running the default theme. But even then, why is Subs.php failing with an error?

Any help??
Title: Re: SMF Arcade
Post by: Magic Toe Nail on April 07, 2006, 03:13:29 AM
I'm running Forum version: SMF 1.0.7
And have successfully installed SMF Arcade 1.2.3
I need to know how to install games. Is there a directory I drop them into and where can they be downloaded?

:) Thanks!
Title: Re: SMF Arcade
Post by: fwitt on April 07, 2006, 04:28:40 AM
games packs can be downloaded from http://www.smfarcade.net/index.php?action=tpmod;dl=cat2

you then upload the files in the game pack to the Games directory that was created when you installed the arcade, once in there the games will be available to install via the arcadeadmin section of your forum.
Title: Re: SMF Arcade
Post by: Suke on April 09, 2006, 08:54:23 PM
Quote from: Teknomancer on April 07, 2006, 01:27:49 AM
I get the following errors:

1.     Execute Modification     ./index.php     Test successful
2.    Execute Modification    ./Themes/default/index.template.php    Test failed
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
6.    Extract Tree    ./getid3    
7.    Extract Tree    ./Games    
8.    Extract File    ./arcade_install.php    
9.    Extract Tree    ./Sources    
10.    Extract File    ./Themes/default/Arcade.template.php    
11.    Extract File    ./Themes/default/ArcadeAdmin.template.php    
12.    Extract File    ./Themes/default/gold.gif    
13.    Extract File    ./Themes/default/warning.png    
14.    Extract File    ./Themes/default/images/english/games.gif    
15.    Extract File    ./Themes/default/languages/Arcade.english.php    
16.    Extract File    ./Themes/default/languages/Arcade.finnish.php


I'm running SMF 1.1 RC2. I tried the 1.24b (latest package).

And I'm NOT running the default theme. But even then, why is Subs.php failing with an error?

Any help??


I got the same prob dude.
Title: Re: SMF Arcade
Post by: DemonicInfluence on April 10, 2006, 03:38:11 PM
Try this:

http://www.smfarcade.net/index.php?action=tpmod;dl=item65

New version.. And also, that it because 1.24b has problem installing in rc2.. If you read a couple pages b4, you can find a 1.24b installation package for rc2....
Title: Re: SMF Arcade
Post by: Aquilo on April 12, 2006, 07:41:31 PM
HEHE! Hey I swiped an ad off the net once you see the game you'll know which one it is, but I turned it into a game - I don't know how to find out who made the ad so I don't know if I can distribute this game, and there are some more things I need to do to it since it starts right away, but I've made it hard! it may give you 5 new nuts for every 5 points you earn but I don't think any one will make it over 25 points at 30 points good luck! I don't know why the submit score button don't work right now using the code found in this thread but I don't have SMF Arcade any way! Start over works finally

Any way here is the game - let me know what you think and maybe high scoring (30>) screen shot! :D
http://www.northwindpagans.com/index.php?page=nuttyrats
Title: Re: SMF Arcade
Post by: softstor on April 14, 2006, 05:30:58 PM
I just installed this mod.  I ran the arcade_install.php file and it displayed the following:

Connected and Selected Database
Finding tables... 52 tables in database
All queries done, there were no errors

I do not see anything different in the forum.  What should I see?
Title: Re: SMF Arcade
Post by: houston on April 16, 2006, 11:19:33 PM
If you are using the default theme, you should see the word arcade along with the other words (links) near the top of the page. You should also see a link to the arcade settings in your admin panel. If you are not using the default theme you will need to manually edit the files for the theme that you are using that are modified by the arcade package. The Package Modifies the index.template.php file of the default theme and places a link to the arcade. You need to make the same modifications to the index.template.php file in the other themes that you are using as well.
Title: Re: SMF Arcade
Post by: JackRyan on April 19, 2006, 03:20:04 AM
Does anyone actually have a link to the actual download for the Arcade mod for 1.1 RC2? I've clicked on about a dozen links, and I can't find anything!
Title: Re: SMF Arcade
Post by: Bigguy on April 19, 2006, 03:27:37 AM
try going here (http://www.smfarcade.net/)
Title: Re: SMF Arcade
Post by: Jay T on April 20, 2006, 09:55:55 PM
Quote from: JackRyan on April 19, 2006, 03:20:04 AM
Does anyone actually have a link to the actual download for the Arcade mod for 1.1 RC2? I've clicked on about a dozen links, and I can't find anything!

http://www.smfarcade.net/index.php?action=tpmod;dl=item65
Title: Re: SMF Arcade
Post by: Bigguy on April 20, 2006, 11:12:03 PM
Quote from: Bigguy on April 19, 2006, 03:27:37 AM
try going here (http://www.smfarcade.net/)
Title: Re: SMF Arcade
Post by: Jay T on April 21, 2006, 07:25:23 AM
Quote from: JackRyan on April 19, 2006, 03:20:04 AM
Does anyone actually have a link to the actual download for the Arcade mod for 1.1 RC2? I've clicked on about a dozen links, and I can't find anything!

;)
Title: Re: SMF Arcade
Post by: Bigguy on April 21, 2006, 07:57:54 AM
@ Jay T: lol, almost the same spot isn`t it, lol
Title: Re: SMF Arcade
Post by: Wolfenrook on April 23, 2006, 06:24:21 AM
Quote from: softstor on April 14, 2006, 05:30:58 PM
I just installed this mod.  I ran the arcade_install.php file and it displayed the following:

Connected and Selected Database
Finding tables... 52 tables in database
All queries done, there were no errors

I do not see anything different in the forum.  What should I see?


You wouldn't see anything different in your forum, arcade_install.php just updates your database, it doesn't install the mod on your forum.  If you are not using package manager to install SMF Arcade then you will need to open either arcade.xml(smf 1.0.x) or arcade2.xml(smf 1.1) and perform the edits listed in there.

Oh and latest version of SMF Arcade is 1.3.0 RC2, and it's pretty good.

Wolfenrook
Title: Re: SMF Arcade
Post by: DemonicInfluence on April 23, 2006, 02:40:31 PM
Actually the latest is 1.3.0 RC1 but is only able to be dled at smfarcade..
Title: Re: SMF Arcade
Post by: Wolfenrook on April 23, 2006, 06:01:25 PM
You're quite right Demonic, I had a moment of confusion. lol.  It's still pretty good though. ;)
Title: Arcade Bug
Post by: DiZz on April 24, 2006, 12:27:25 AM
After downloading and trying to add games i got this message:

Table 'emceeindustry.deathspits_games_category' doesn't exist
File: c:\program files\apache group\apache2\htdocs\emceeindustry\deathspits\Sources\ArcadeAdmin.php
Line: 299
Title: Re: SMF Arcade
Post by: Bigguy on April 24, 2006, 12:34:21 AM
Did you make a games catagory in the arcade admin panel ??? I think one has to be there in order to add games to it. (I don`t have it installed right now)
Title: Re: SMF Arcade
Post by: DemonicInfluence on April 24, 2006, 07:24:03 AM
Quote from: DiZz on April 24, 2006, 12:27:25 AM
After downloading and trying to add games i got this message:

Table 'emceeindustry.deathspits_games_category' doesn't exist
File: c:\program files\apache group\apache2\htdocs\emceeindustry\deathspits\Sources\ArcadeAdmin.php
Line: 299

Also did u check if in your database game_category is named game_caterogy
Title: Re: SMF Arcade
Post by: MasterOfHyrule on April 24, 2006, 09:48:50 PM
Any idea when this will be compatible with 1.0.7?

I just got 1.0.7 and I noticed it wasn't conpatible with it.
Title: Re: SMF Arcade
Post by: Jay T on April 24, 2006, 10:57:01 PM
Quote from: MasterOfHyrule on April 24, 2006, 09:48:50 PM
Any idea when this will be compatible with 1.0.7?

I just got 1.0.7 and I noticed it wasn't conpatible with it.

The compatible version is only available at www.smfarcade.net, for now.

Here is the direct link to the download SMFArcade 1.3 for SMF 1.1rc2 and 1.07 (http://www.smfarcade.net/index.php?action=tpmod;dl=item65)
Title: Re: SMF Arcade
Post by: Wolfenrook on April 25, 2006, 02:48:13 PM
1.3 RC1 is for SMF 1.1 RC2 only.  I would suggest downloading the version found in the last post here (http://www.smfarcade.net/index.php/topic,343.msg4287.html#msg4287) for use with 1.0.x or ugrade to 1.1RC2 if you want to use more recent versions of SMF Arcade.

Wolfenrook.
Title: Re: SMF Arcade
Post by: Jay T on April 27, 2006, 01:54:39 PM
Wolfenrook, that download has been tested for 1.0.7 and it installs and uninstalls fine.
Title: Re: SMF Arcade
Post by: AlexJ on April 27, 2006, 02:33:22 PM
So..what version is  best for 1.1 RC2 ?thx
Title: Re: SMF Arcade
Post by: Wolfenrook on April 27, 2006, 02:51:37 PM
Quote from: Jay T on April 27, 2006, 01:54:39 PM
Wolfenrook, that download has been tested for 1.0.7 and it installs and uninstalls fine.

You are quite correct Jay T.  When I made that post the download listing on SMF Arcade site had that it was for use with 1.1 in the description (or I misread it. lol) and I was going by that.  I don't personally use 1.0.7 except when asked to convert a theme for it, so had no experience of using it with SMF Arcade.

Alex I'd recommend 1.3.0 RC1 as the best version for 1.1RC2, sure it is still a realease candidate, but in relation to errors in my error log I got more when I was using 1.2.4b than I do with 1.3.0 RC1.

Wolfenrook.
Title: Re: SMF Arcade
Post by: Gobo on May 01, 2006, 06:49:46 PM
sadly the tournaments still dont work even with the new arcade :( i was so looking forward to that!
Title: Re: SMF Arcade
Post by: DemonicInfluence on May 04, 2006, 11:41:11 AM
cferd has a fix in the smfarcade forum..
Title: Re: SMF Arcade
Post by: usaalpine on May 06, 2006, 07:00:43 PM
So I have finally arrived at "the thread" for "this topic" which is "smf arcade".

Thanks...

I just came back and modified my post.

I have just downloaded this:

SMF Arcade 1.3.0 RC1 + mods + 1Score + 2in1

http://www.smfarcade.net/index.php?action=tpmod;dl=item80 (http://www.smfarcade.net/index.php?action=tpmod;dl=item80)

and I am in the process of installing it.

I'll be back if needed.

Thank you
Title: Re: SMF Arcade
Post by: Vinspire on May 12, 2006, 07:44:16 AM
Kewl mods ... will play on it later.
Title: Re: SMF Arcade
Post by: usaalpine on May 13, 2006, 11:14:31 AM
Ok, just wanted to stop in, let everyone know that the latest download fo SMF Arcade was great on our board running SMF 1.1RC2!

Loaded up a bunch of games, and they all worked fine.

The only question I have, is why does the sound not work all the time when
switching games?

Sometimes you have to close your browser, and open another game, to get sound back.

Thanks!

Great Mod!

Where else can we get games?
Title: Re: SMF Arcade
Post by: Vinspire on May 14, 2006, 04:49:19 AM
Yeah ... I've just installed this mod in my forum.

It is so awesome !!!  ;) ;) ;)
Title: Re: SMF Arcade
Post by: G6™ on May 14, 2006, 05:16:28 AM
Quoteusaalpine

try to clear your cash ans see if it helps with the sound.
Title: Re: SMF Arcade
Post by: Gwion on May 18, 2006, 01:37:37 PM
Wanted to check for more games but it seems the SMF arcade site is gone .. any other source?
Title: Re: SMF Arcade
Post by: Bigguy on May 18, 2006, 01:41:30 PM
try this:

http://www.smfarcade.net/
Title: Re: SMF Arcade
Post by: exploreuniverse.com on May 20, 2006, 02:22:47 AM
I get this error after installing and applying the mod

Execute Modification     Sources/ManagePermissions.php     Failure

after clicking proceed still I get this ........

Notice: Undefined index: current_action in /home/explore/public_html/forum/Sources/Load.php(1040) : eval()'d code on line 342

Notice: Undefined index: current_action in /home/explore/public_html/forum/Sources/Load.php(1040) : eval()'d code on line 344

Notice: Undefined index: current_action in /home/explore/public_html/forum/Sources/Load.php(1040) : eval()'d code on line 346

Notice: Undefined index: current_action in /home/explore/public_html/forum/Sources/Load.php(1040) : eval()'d code on line 348

Notice: Undefined index: allow_memberlist in /home/explore/public_html/forum/Sources/Load.php(1040) : eval()'d code on line 417
        
Notice: Undefined index: pm_short in /home/explore/public_html/forum/Sources/Load.php(1040) : eval()'d code on line 406

Help me out with this ..... I like this mod but wasting time on it :(

my site http://fourm.exploreuniverse.com
Title: Re: SMF Arcade
Post by: Bigguy on May 20, 2006, 02:36:12 AM
First off you should not install anything you get an error on. Always get help with it first. Second, did you get support at smfarcade.net yet or ask there. ??? (just asking)
Title: Re: SMF Arcade
Post by: exploreuniverse.com on May 20, 2006, 03:40:50 AM
I have 1.0.5 version (patched 1) which makes it 1.0.7 (as it shows at the end).I want to install this arcade .... dying for it cause my friend also uses it (he is not telling me what he did - has version 1.0.5)

his site is http://forum.worldgamingnews.com

I also need it on my site

http://fourm.exploreuniverse.com

Though I am a webmaster but know little about php scripting......

Help me friends !! :P
Title: Re: SMF Arcade
Post by: exploreuniverse.com on May 20, 2006, 04:01:00 AM
you know what ? your forums are lucky ........ they are blessed ! 8)

I did a clean install of 1.0.5 and arcade works as though it rocks !!!
Title: Re: SMF Arcade
Post by: exploreuniverse.com on May 20, 2006, 04:42:07 AM
but how to install games ? I uploaded swf files in games directory ..... nothing happens .... tried to click install games no use :(
Title: Re: SMF Arcade
Post by: G6™ on May 20, 2006, 07:45:31 AM
Check that the files have the right permissions
Title: Re: SMF Arcade
Post by: exploreuniverse.com on May 21, 2006, 05:06:44 AM
I installed games also but highscores don't work.My friend was saying that they need another database in order to work/ :-X
Title: Re: SMF Arcade
Post by: G6™ on May 21, 2006, 05:59:43 AM
I think you can get all the help needed on that on smfarcade.net :)
Title: Re: SMF Arcade
Post by: DemonicInfluence on May 22, 2006, 08:22:41 PM
Quote from: exploreuniverse.com on May 21, 2006, 05:06:44 AM
I installed games also but highscores don't work.My friend was saying that they need another database in order to work/ :-X

They lie!
Title: Re: SMF Arcade
Post by: Vinspire on May 31, 2006, 02:29:34 AM
Any idea on how to edit the champion thing in the signature ?

I want to add some text there .... :)
Title: Re: SMF Arcade
Post by: liquidscythe on May 31, 2006, 07:21:03 PM
Do i put this in the root directory of my forum? because it would overwrite the Themes folder.....
Title: Re: SMF Arcade
Post by: DemonicInfluence on June 03, 2006, 09:29:32 AM
Quote from: liquidscythe on May 31, 2006, 07:21:03 PM
Do i put this in the root directory of my forum? because it would overwrite the Themes folder.....

??
The games directory is in the root of your fourm... Dunno what you are really talking about..
Title: Re: SMF Arcade
Post by: Bigguy on June 03, 2006, 11:12:14 AM
yeah, nothin from the arcade will overwrite anything about the themes folder.
Title: Re: SMF Arcade
Post by: PrizeLive.com on June 10, 2006, 12:51:27 PM
How can I fix this:

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 failed
3.    Execute Modification    ./Sources/Subs.php    Test failed
4.    Execute Modification    ./Sources/ManagePermissions.php    Test failed
5.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
6.    Execute Modification    ./Themes/default/Display.template.php    Test failed
7.    Execute Modification    ./Sources/Display.php    Test successful
8.    Extract Tree    ./getid3    
9.    Extract Tree    ./Games    
10.    Extract File    ./arcade_sql.php    
11.    Extract Tree    ./Sources    
12.    Extract File    ./Themes/default/Arcade.template.php    
13.    Extract File    ./Themes/default/ArcadeAdmin.template.php    
14.    Extract File    ./Themes/default/images/english/games.gif    
15.    Extract File    ./Themes/default/languages/Arcade.english.php    
16.    Extract File    ./Themes/default/languages/Arcade.finnish.php
Title: Re: SMF Arcade
Post by: Vinspire on June 10, 2006, 01:31:46 PM
Quote from: SurfExcelerator.com on June 10, 2006, 12:51:27 PM
How can I fix this:

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 failed
3.    Execute Modification    ./Sources/Subs.php    Test failed
4.    Execute Modification    ./Sources/ManagePermissions.php    Test failed
5.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
6.    Execute Modification    ./Themes/default/Display.template.php    Test failed
7.    Execute Modification    ./Sources/Display.php    Test successful
8.    Extract Tree    ./getid3    
9.    Extract Tree    ./Games    
10.    Extract File    ./arcade_sql.php    
11.    Extract Tree    ./Sources    
12.    Extract File    ./Themes/default/Arcade.template.php    
13.    Extract File    ./Themes/default/ArcadeAdmin.template.php    
14.    Extract File    ./Themes/default/images/english/games.gif    
15.    Extract File    ./Themes/default/languages/Arcade.english.php    
16.    Extract File    ./Themes/default/languages/Arcade.finnish.php

Do not proceed with the installation. Re-download the file and try installing it again.
Title: Re: SMF Arcade
Post by: PrizeLive.com on June 10, 2006, 01:56:17 PM
Quote from: Vinspire on June 10, 2006, 01:31:46 PM
Do not proceed with the installation. Re-download the file and try installing it again.

Which one should I download?

Download this mod   Name     Unique Downloads
SMF_Arcade_1.2.3.zip (84KB)    5693
SMFArcade_1.2.4.zip (82KB)    2216
SMFArcade_1.2.4b.zip (82KB)    4599

Does it matter? I have 1.1 RC2
Title: Re: SMF Arcade
Post by: fwitt on June 10, 2006, 02:06:23 PM
I would go to smfarcade.net and download either the modded version of arcade 1.2.4 which eeek adapted for smf 1.1 or the arcade 1.3 rc edition, there the versions that have the most bug fixes in them.
Title: Re: SMF Arcade
Post by: PrizeLive.com on June 10, 2006, 02:25:00 PM
Quote from: fwitt on June 10, 2006, 02:06:23 PM
I would go to smfarcade.net and download either the modded version of arcade 1.2.4 which eeek adapted for smf 1.1 or the arcade 1.3 rc edition, there the versions that have the most bug fixes in them.

Which one do I need?

SMF Arcade Mod V1.2.4
Works with SMF 1.1 beta 1 & SMF 1.1 rc1

SMF Arcade Mod V1.2.3
Works with SMF 1.1 Beta 3

SMF Arcade Mod V1.24
SMF Arcade Mod V1.24

None of them say 1.1 RC2. Which one is compatible for that?
Title: Re: SMF Arcade
Post by: Vinspire on June 11, 2006, 08:18:10 AM
Try reading this

http://www.smfarcade.net/index.php/topic,1054.0/topicseen.html

You can download

SMF Arcade 1.3.0 RC1 + mods + 1Score + 2in1 vE1.3
Uploaded by eeek
June 09, 2006, 03:03:27 AM

This is the latest version of the mod if i am not mistaken. Suppose to fix most of the mods bugs at the moment.

Anyway, next time pls do some reading :)
Title: Re: SMF Arcade
Post by: campxor on June 16, 2006, 02:59:13 PM
when i install it an error acquires :

2: opendir(/home/campxor/public_html/Packages/temp/Games) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory
File: /home/campxor/public_html/Sources/Subs-Package.php
Line: 949

what do i have to do?
Title: Re: SMF Arcade
Post by: Bigguy on June 16, 2006, 03:38:15 PM
Make a "Games" directory in the root of your install.
Title: Re: SMF Arcade
Post by: campxor on June 17, 2006, 04:48:52 AM
when i went to look in those folders the folder 'games' was all ready there
Title: Re: SMF Arcade
Post by: Gobo on June 17, 2006, 08:07:34 AM
try installing atleast one game and then ur arcade should work

if u leave it empty it wont work
Title: Re: SMF Arcade
Post by: campxor on June 17, 2006, 08:10:41 AM
but that is the problem i cant install it
Title: Re: SMF Arcade
Post by: Jay T on June 17, 2006, 02:33:18 PM
You put the swf & icon gif files for the games in your "games" folder. Then go to the arcade admin panel and install it.
Title: Re: SMF Arcade
Post by: Gobo on June 17, 2006, 03:14:10 PM
campxor from what i can see ur games folder is in

/home/campxor/public_html/Packages/temp/Games

u need to have it here

/home/campxor/public_html/Games

I assume that is the root of your forum (where the forum is installed) since the packages folder is usually in the root of where your forum is installed.

So give it a try

also after u create ur folder go to arcade admin and settings and specify the following:

Games Directory (Path): /home/campxor/public_html/Games

Games Directory (Url): URL of to where your games folder is (for example if your website addy is http://www.campor.com then you would put http://www.campor.com/Games

Check to enable arcade: Enable

Try the above it should work hopefull for y
Title: Re: SMF Arcade
Post by: Uzbekistan on June 30, 2006, 06:52:06 PM
Hi guys. I have arcade 1.2.4b installed. I am going to manually make edits (using arcade2.xml) to install 1.3.0. Do I have to touch anything in database? If yes, where should I look for that?
Also, anything else I need to be aware of?

Thanks ahead for your help.
Title: Re: SMF Arcade
Post by: St@rm on June 30, 2006, 07:39:14 PM
I'm a newbie in php but I'm trying to learn,I tried to install the arcade in my forum but it gives me this error:

" Tipo     Acção     Descrição
1.    Executar modificação    ./index.php    Sucesso
2.    Executar modificação    ./Themes/default/index.template.php    Sucesso
3.    Executar modificação    ./Sources/Subs.php    Sucesso
4.    Executar modificação    ./Sources/ManagePermissions.php    Sucesso
5.    Executar modificação    ./Themes/default/languages/Modifications.english.php    Falha
6.    Executar modificação    ./Themes/default/Profile.template.php    Sucesso
7.    Executar modificação    ./Themes/default/Display.template.php    Sucesso
8.    Executar modificação    ./Sources/Display.php    Sucesso
9.    Executar modificação    ./Sources/Profile.php    Sucesso
10.    Executar modificação    ./Sources/Who.php    Sucesso
11.    Extrair Árvore    ./getid3    
12.    Extrair Árvore    ./Games    
13.    Extrair Ficheiro    ./arcade_install.php    
14.    Extrair Ficheiro    ./newscore.php    
15.    Extrair Árvore    ./Sources    
16.    Extrair Ficheiro    ./Themes/default/Arcade.template.php    
17.    Extrair Ficheiro    ./Themes/default/ArcadeAdmin.template.php    
18.    Extrair Ficheiro    ./Themes/default/images/gold.gif    
19.    Extrair Ficheiro    ./Themes/default/images/gold1.gif    
20.    Extrair Ficheiro    ./Themes/default/images/arc.gif    
21.    Extrair Ficheiro    ./Themes/default/images/play.gif    
22.    Extrair Ficheiro    ./Themes/default/images/tick.gif    
23.    Extrair Ficheiro    ./Themes/default/images/star2.gif    
24.    Extrair Ficheiro    ./Themes/default/images/warning.png    
25.    Extrair Ficheiro    ./Themes/default/images/english/games.gif    
26.    Extrair Ficheiro    ./Themes/default/languages/Arcade.english.php    
27.    Extrair Ficheiro    ./Themes/default/languages/Arcade.finnish.php    
28.    Executar código    arcade_install.php "

and the line in red was the one who are giving me some problems,can someone help me on this,thanks. :'(
Title: Re: SMF Arcade
Post by: Arbalot on June 30, 2006, 07:50:33 PM
you read Here (http://docs.simplemachines.org/index.php?topic=402)
and you install manual
Title: Re: SMF Arcade
Post by: Existant on July 09, 2006, 10:07:18 PM
Can someone please help.  I will try to lay it out as simple as possible as to what I did.

Firstly, I made a SMF forum for a car club.  They asked for this arcade, so I attempted to install it.

SMF Version: 1.0.7
SMF Arcade Version: 1.2.4 (1.2.4b kept giving me 'Installer version is: 1.2.4 while Arcade version is 1.2.4b.')

So, once I installed SMF Arcade 1.2.4, I got;

SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 84 tables in database
All queries done, there were no errors

So, I think everything is done.  I refresh my forum page and...nothing.

Nothing is different... I have no idea what else to do.  And I can't find a simple installations instruction manual anywhere.

So my question is this: Can someone in the most simplest way, without linking me to posts with 100+pages, please let me in on what else I need to do to activate this mod?

Please and thank you ahead of time...

Title: Re: SMF Arcade
Post by: Vinspire on July 10, 2006, 01:01:20 AM
Did you see any "ARCADE" button in ur default theme ?

If so then click on it -> Arcade Admin -> Settings -> Check to enable arcade
Title: Re: SMF Arcade
Post by: Existant on July 10, 2006, 09:00:07 AM
No I do not.  I don't see and arcade 'button'.  Here is a pic of what I have in my admin panel:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.loweredintentions.ca%2Fimages%2Fadminpic.jpg&hash=75faa901dfc6d0ae4ba3d194406ad22918649112)

EDIT:  And thats after I got

SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 84 tables in database
All queries done, there were no errors

like I mentioned before

EDIT AGAIN:  Does it matter that the SMF intially installed was 1.0.5, through Fantastico, that I personally upgraded to 1.0.7?
Title: Re: SMF Arcade
Post by: Existant on July 10, 2006, 09:48:15 AM
UPDATE: I did a fresh install of SMF 1.0.7.  Not an update from 1.0.5, and when I ran the arcade_install.php, I got the message saying it was installed with no errors.

BUT...

When I went to view my forum, it took me directly to http://www.smfarcade.net/index.php?action=arcade instead of the index of my new forum...

This stuff is wicked confusing...
Title: Re: SMF Arcade
Post by: RebelRose on July 28, 2006, 09:57:48 PM
Little Problem here, I installed the arcade and not sure what I did wrong but it has two arcade icons in the post area. Any ideas what I did wrong anyone?


1.1 RC2
Title: Re: SMF Arcade
Post by: Vinspire on July 29, 2006, 02:05:58 AM
Quote from: RebelRose on July 28, 2006, 09:57:48 PM
Little Problem here, I installed the arcade and not sure what I did wrong but it has two arcade icons in the post area. Any ideas what I did wrong anyone?


1.1 RC2

Ermm .... I can have a look for you if you don't mind :)
Title: Re: SMF Arcade
Post by: RebelRose on July 29, 2006, 02:06:51 AM
What do you need to look?
Title: Re: SMF Arcade
Post by: DawnsWebDesigns on August 01, 2006, 05:13:18 PM
Quote from: campxor on June 16, 2006, 02:59:13 PM
when i install it an error acquires :

2: opendir(/home/campxor/public_html/Packages/temp/Games) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory
File: /home/campxor/public_html/Sources/Subs-Package.php
Line: 949

what do i have to do?

I got basically the same thing.  It will not let us install this mod...yet some of the files appear on our directories anyways as if we have installed it.  I tried creating packages/temp/games & that didn't work.  I already have public_html/forum/Games...that obviously don't work.  I tried adding the images to Games like someone recommended...nothing.  Now what can we do? 
Title: Re: SMF Arcade
Post by: Bigguy on August 01, 2006, 06:59:58 PM
Have you tried changing permissions on it so it has 777 ???
Title: Re: SMF Arcade
Post by: DawnsWebDesigns on August 02, 2006, 04:06:26 PM
Actually I got it working now.  I got the correct file from here: http://www.smfarcade.net/index.php/topic,918.msg6588.html#msg6588 (http://www.smfarcade.net/index.php/topic,918.msg6588.html#msg6588).  Then I had to add my own arcade button/link...& I learned how to do that here: http://www.smfarcade.net/index.php/topic,111.0.html (http://www.smfarcade.net/index.php/topic,111.0.html).  Then I had to get games for the thing.  I got them from here: http://www.smfarcade.net/index.php?action=tpmod;dl=0 (http://www.smfarcade.net/index.php?action=tpmod;dl=0).  It's installed/I'm already playing games on it...Mojong's my favorite.  Thanks.  :D
Title: Re: SMF Arcade
Post by: Lady Ambrosia on August 06, 2006, 10:28:12 PM
Okay I've a MAJOR question about this script.  I'm currently using SMF 1.1 RC2, with the following mods:
SMF Shop version 2.1 and Sticky First Post version 1.2.2, and when I try to install the Arcade script, all tests will pass on it.  But when I want to get to the Arcade either by the button on the default theme or through the Admin section, I keep getting this error:
Unable to load "arcadeadmin_above"

What the crap is going on?  I've tried everything I know to do, from manually installing the script and doing exactly what it says to do, and I'm about ready to pull my hair out...litterally!!  Any help would be WONDERFUL!!

Thank You!
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 07, 2006, 07:35:14 PM
Umm.. reupload the arcadeadmin.template.php into your theme directory..
Title: Re: SMF Arcade
Post by: Lady Ambrosia on August 07, 2006, 09:17:16 PM
Quote from: DemonicInfluence on August 07, 2006, 07:35:14 PM
Umm.. reupload the arcadeadmin.template.php into your theme directory..

That's exactly what I had to do, along with several other files that I thought had uploaded but they didn't.

Thank You  ;D
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 08, 2006, 06:25:14 PM
no problem :)
Title: Re: SMF Arcade
Post by: PrizeLive.com on August 11, 2006, 03:09:08 PM
What's going on??

Server not found

Firefox can't find the server at www.smfarcade.net.
Title: Re: SMF Arcade
Post by: fwitt on August 11, 2006, 04:13:53 PM
looks like the server was down for a while but its back up now
Title: Re: SMF Arcade
Post by: PrizeLive.com on August 11, 2006, 04:22:44 PM
Quote from: fwitt on August 11, 2006, 04:13:53 PM
looks like the server was down for a while but its back up now


still not for me...
Title: Re: SMF Arcade
Post by: G6™ on August 12, 2006, 05:38:50 AM
http://www.smfarcade.net    Works fine for me in FF
Title: Re: SMF Arcade
Post by: Vinspire on August 15, 2006, 11:44:07 PM
working fine with me too  ;D
Title: Re: SMF Arcade
Post by: mickyd2006 on August 20, 2006, 09:44:05 PM
Just installed this mod.

I am running SMF 1.1 RC2 and I installed the SMF Arcade Package 1.2.4b

I got a failed when it came to index.template.php & subs.php. I edited these manually.

When I ran the arcade_installer.php I got

Wrong Installer Version 1.2.4 Arcade Version 1.2.4b and it wouldnt go no further

I edited arcade_installer.php and changed all references to the package version number to 1.2.4b and the installer ran and gave no errors.

However, in arcade under admin panel it has no idea what version of arcade it is and In members permissions I have 2 blank labeled check boxes with nothing more than : before them no text to identify them
Also when It comes to adding a button to the arcade my index.template.php does not contain the following lines to alter

<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'];

Title: Re: SMF Arcade
Post by: G6™ on August 21, 2006, 05:21:50 AM
Why didnt you install the latest arcade ? It have a lot of bugfixes and fixed layout issues.

the last one is named 1.3.0 and can be found on http://www.smfarcade.net
Title: Re: SMF Arcade
Post by: mickyd2006 on August 21, 2006, 05:32:46 AM
I thought 1.2.4b was the latest version for SMF 1.1 RC2?????

EDIT//

Thanks Mrs G6.. I hopped over to the site and found the version you were refering too :) Thanks.. it worked first time installing it and I got an arcade button too :):):)
Title: Re: SMF Arcade
Post by: tL0z on August 22, 2006, 05:55:51 PM
Is the mod compatible with SMF 1.1 RC3?
Title: Re: SMF Arcade
Post by: karlbenson on August 22, 2006, 05:57:21 PM
No,

SMFArcade are currently working on getting a version RC3 compatible.

BTW the current version is not 1.2.4b.  In fact its 1.3.0 for RC2
Title: Re: SMF Arcade
Post by: karlbenson on August 22, 2006, 06:09:38 PM
^ same here with the SMF installations. So many versions.  It wasnt until a week later I discovered S.1.0.7 (then ) was not the best/latest.
Title: Re: SMF Arcade
Post by: Vinspire on August 23, 2006, 02:57:58 AM
Quote from: karlbenson on August 22, 2006, 05:57:21 PM
No,

SMFArcade are currently working on getting a version RC3 compatible.

BTW the current version is not 1.2.4b.  In fact its 1.3.0 for RC2

Will there be any new features update for the version that is gonna be compatible for RC 3 or just version 1.2.4b that is made compatible with RC 3 ?
Title: Re: SMF Arcade
Post by: G6™ on August 23, 2006, 11:14:15 AM
Im running Arcade 1.3.0 on 1.1rc3 and TP V.095 and i havent had any errors yet from that setup.
Title: Re: SMF Arcade
Post by: fwitt on August 23, 2006, 08:01:32 PM
Arcade 1.3.0 is working fine on RC3 for me.
Title: Re: SMF Arcade
Post by: karlbenson on August 23, 2006, 09:10:12 PM
I've got Powered by a Modified(v E1.3) version of SMF Arcade 1.3.0RC1 installed on a CLEAN RC3 and although it installed, I had 4 pages of errors in my logs (even though this is only my test board)
Title: Re: SMF Arcade
Post by: DawnsWebDesigns on August 23, 2006, 10:15:57 PM
I got this error while trying to install via the package mngr

2.   Execute Modification   ./Themes/default/index.template.php   Test failed
10.   Execute Modification   ./Sources/Who.php   Test failed

I've tried to do it manually & can't find anything in these files that matches what's written in the xml file.  Plus I think it might've messed up my site.  It's here: http://dawnswebdesigns.com/forum2 (http://dawnswebdesigns.com/forum2).  :'(
Title: Re: SMF Arcade
Post by: G6™ on August 24, 2006, 03:52:59 AM
Quote2.   Execute Modification   ./Themes/default/index.template.php   Test failed
10.   Execute Modification   ./Sources/Who.php   Test failed

Both those errors are posted and solved on smfarcade.net by Ray and eeek :)
I think i saw the who.php file posted with the corrections in the very same thread there :)
Title: Re: SMF Arcade
Post by: karlbenson on August 24, 2006, 02:02:04 PM
^
http://www.smfarcade.net/index.php/topic,1368.0.html
Title: Re: SMF Arcade
Post by: G6™ on August 24, 2006, 02:35:09 PM
Seems like SMF arcade.net is down right now, cant connect to the site at all  :o
Title: Re: SMF Arcade
Post by: fwitt on August 24, 2006, 02:41:08 PM
according to the whos online stats me and 5 others are surfing it as we speak
Title: Re: SMF Arcade
Post by: DawnsWebDesigns on August 24, 2006, 07:55:54 PM
Thanks for your speedy answer.  :D  I'm loving this forum a lil more every time I come in here.  :)

By the way...it did crash my site.  I had to reupload several files & re-add several mods.  :'(  But I did it/it didn't take too terribly long.  ;)
Title: Re: SMF Arcade
Post by: karlbenson on August 24, 2006, 08:58:02 PM
ya, its recommended to backup before you try it ;)
Title: Re: SMF Arcade
Post by: Skhilled on August 26, 2006, 09:32:01 AM
Have a look at this topic: http://www.smfarcade.net/index.php/topic,1368.msg9792.html#msg9792

EDIT: The arcade has been updated to with SMF RC3! You can download it here:  http://www.smfarcade.net/index.php?action=tpmod;dl=item91
Title: Re: SMF Arcade
Post by: Syndel on August 29, 2006, 02:56:57 PM
I installed the latest version for RC3 and have the index template failed in the test thing :/
Title: Re: SMF Arcade
Post by: Vinspire on August 31, 2006, 09:11:31 PM
Quote from: Syndel on August 29, 2006, 02:56:57 PM
I installed the latest version for RC3 and have the index template failed in the test thing :/

Install it manually then  ;D
Title: Re: SMF Arcade
Post by: Lew Cipher on August 31, 2006, 09:45:47 PM
I also had problems with the installer package for index.template.php in the new RC3 package so I'm trying to edit that file manually. There are 2 changes to make to that file. I was able to find one change and make it easily. The problem is with the 1st change in the package.


- <file name="$themedir/index.template.php" error="fatal">
- <operation error="fatal">
- <search position="before" regexp="false" whitespace="exact">
- <![CDATA[ if (in_array($context['current_action'], array('search', 'admin',
  ]]>
  </search>
- <add>
- <![CDATA[ 'arcade',
  ]]>
  </add>
  </operation>
- <operation error="fatal">
- <search position="before" regexp="false" whitespace="exact">
- <![CDATA[ </td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
  ]]>
  </search>
- <add>
- <![CDATA[         // The [arcade]!
        if ($context['allow_arcade'])
                echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
                                <td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
                                        <a href="', $scripturl, '?action=arcade">' , $txt['permissiongroup_arcade'] , '</a>
                                </td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

  ]]>
  </add>
  </operation>
  </file>



The following problem code doesn't exist in whole in any form in my file. Barely any parts exist.

if (in_array($context['current_action'], array('search', 'admin',

My file:

<?php
// Version: 1.1 RC3; index

/* This template is, perhaps, the most important template in the theme. It
contains the main template layer that displays the header and footer of
the forum, namely with main_above and main_below. It also contains the
menu sub template, which appropriately displays the menu; the init sub
template, which is there to set the theme up; (init can be missing.) and
the linktree sub template, which sorts out the link tree.

The init sub template should load any data and set any hardcoded options.

The main_above sub template is what is shown above the main content, and
should contain anything that should be shown up there.

The main_below sub template, conversely, is shown after the main content.
It should probably contain the copyright statement and some other things.

The linktree sub template should display the link tree, using the data
in the $context['linktree'] variable.

The menu sub template should display all the relevant buttons the user
wants and or needs.

For more information on the templating system, please see the site at:
http://www.simplemachines.org/
*/

// Initialize the template... mainly little settings.
function template_init()
{
global $context$settings$options$txt;

/* Use images from default theme when using templates from the default theme?
if this is 'always', images from the default theme will be used.
if this is 'defaults', images from the default theme will only be used with default templates.
if this is 'never' or isn't set at all, images from the default theme will not be used. */
$settings['use_default_images'] = 'never';

/* What document type definition is being used? (for font size and other issues.)
'xhtml' for an XHTML 1.0 document type definition.
'html' for an HTML 4.01 document type definition. */
$settings['doctype'] = 'xhtml';

/* The version this template/theme is for.
This should probably be the version of SMF it was created for. */
$settings['theme_version'] = '1.1 RC3';

/* Set a setting that tells the theme that it can render the tabs. */
$settings['use_tabs'] = true;

/* Use plain buttons - as oppossed to text buttons? */
$settings['use_buttons'] = true;

/* Show sticky and lock status seperate from topic icons? */
$settings['seperate_sticky_lock'] = true;
}

// The main sub template above the content.
function template_main_above()
{
global $context$settings$options$scripturl$txt$modSettings;

// Show right to left and the character set for ease of translating.
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"'
$context['right_to_left'] ? ' dir="rtl"' '''><head>
<meta http-equiv="Content-Type" content="text/html; charset='
$context['character_set'], '" />
<meta name="description" content="'
$context['page_title'], '" />
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
<script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/script.js?rc3"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "'
$settings['theme_url'], '";
var smf_images_url = "'
$settings['images_url'], '";
var smf_scripturl = "'
$scripturl'";
// ]]></script>
<title>'
$context['page_title'], '</title>';

// The ?rc3 part of this link is just here to make sure browsers don't cache it wrongly.
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/style.css?rc3" />
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/print.css?rc3" media="print" />';

/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
Standards compliance mode happens when you use xhtml... */
if ($context['browser']['needs_size_fix'])
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/fonts-compat.css" />';

// Show all the relative links, such as help, search, contents, and the like.
echo '
<link rel="help" href="'
$scripturl'?action=help" target="_blank" />
<link rel="search" href="' 
$scripturl '?action=search" />
<link rel="contents" href="'
$scripturl'" />';

// If RSS feeds are enabled, advertise the presence of one.
if (!empty($modSettings['xmlnews_enable']))
echo '
<link rel="alternate" type="application/rss+xml" title="'
$context['forum_name'], ' - RSS" href="'$scripturl'?type=rss;action=.xml" />';

// If we're viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context['current_topic']))
echo '
<link rel="prev" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=prev" />
<link rel="next" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=next" />';

// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
<link rel="index" href="' 
$scripturl '?board=' $context['current_board'] . '.0" />';

// We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
$options['collapse_header'] = !empty($_COOKIE['upshrink']);

// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'], '

<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header = '
, empty($options['collapse_header']) ? 'false' 'true'';

function shrinkHeader(mode)
{'
;

// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);'
;
else
echo '
smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "'
$context['session_id'], '");';

echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";

current_header = mode;
}
// ]]></script>'
;

// the routine for the info center upshrink
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header_ic = '
, empty($options['collapse_header_ic']) ? 'false' 'true'';

function shrinkHeaderIC(mode)
{'
;

if ($context['user']['is_guest'])
echo '
document.cookie = "upshrinkIC=" + (mode ? 1 : 0);'
;
else
echo '
smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, null, "'
$context['session_id'], '");';

echo '
document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");

document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";

current_header_ic = mode;
}
// ]]></script>
</head>
<body>'
;

echo '
<div class="tborder" '
$context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' '''>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32">'
;

if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Croobie, bold; font-size: 250%; ">'
$context['forum_name'], '</span>';
else
echo '
<img src="'
$settings['header_logo_url'], '" style="margin: 4px;" alt="'$context['forum_name'], '" />';

echo '
</td>
<td align="right" class="catbg">
<img src="'
$settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
</td>
</tr>
</table>'
;


// display user name
echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0" >
<tr>'
;

if($context['user']['is_logged'])
echo '
<td class="titlebg2" height="32">
<span style="font-size: 130%;"> '
$txt['hello_member_ndt'], ' <b>'$context['user']['name'] , '</b></span>
</td>'
;

// display the time
echo '
<td class="titlebg2" height="32" align="right">
<span class="smalltext">' 
$context['current_time'], '</span>';

// this is the upshrink button for the user info section
echo '
<a href="#" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="'
$settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' 'upshrink2.gif''" alt="*" title="'$txt['upshrink_description'], '" align="bottom" style="margin: 0 1ex;" /></a>
</td>
</tr>
<tr id="upshrinkHeader"'
, empty($options['collapse_header']) ? '' ' style="display: none;"''>
<td valign="top" colspan="2">
<table width="100%" class="bordercolor" cellpadding="8" cellspacing="1" border="0" style="margin-top: 1px;">
<tr>'
;

if (!empty($context['user']['avatar']))
echo '
<td class="windowbg" valign="middle">'
$context['user']['avatar']['image'], '</td>';

echo '
<td colspan="2" width="100%" valign="top" class="windowbg2"><span class="middletext">'
;

// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{
echo '
<a href="'
$scripturl'?action=unread">'$txt['unread_since_visit'], '</a> <br />
<a href="'
$scripturl'?action=unreadreplies">'$txt['show_unread_replies'], '</a><br />';

}
// Otherwise they're a guest - send them a lovely greeting...
else
echo $txt['welcome_guest'];

// Now, onto our second set of info, are they logged in again?
if ($context['user']['is_logged'])
{
// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '
<b>'
$txt[616], '</b><br />';

// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
'
$context['unapproved_members'] == $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="'$scripturl'?action=viewmembers;sa=browse;type=approve">'$context['unapproved_members'] == $txt['approve_member'] : $context['unapproved_members'] . ' ' $txt['approve_members'], '</a> '$txt['approve_members_waiting'], '<br />';

// Show the total time logged in?
if (!empty($context['user']['total_time_logged_in']))
{
echo '
'
$txt['totalTimeLogged1'];

// If days is just zero, don't bother to show it.
if ($context['user']['total_time_logged_in']['days'] > 0)
echo $context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2'];

// Same with hours - only show it if it's above zero.
if ($context['user']['total_time_logged_in']['hours'] > 0)
echo $context['user']['total_time_logged_in']['hours'] . $txt['totalTimeLogged3'];

// But, let's always show minutes - Time wasted here: 0 minutes ;).
echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4'], '<br />';
}
echo ' </span>';
}
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo ' </span>
<script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/sha1.js"></script>

<form action="'
$scripturl'?action=login2" method="post" accept-charset="'$context['character_set'], '" class="middletext" style="margin: 3px 1ex 1px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' $context['session_id'] . '\');"' '''>
<input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />
<select name="cookielength">
<option value="60">'
$txt['smf53'], '</option>
<option value="1440">'
$txt['smf47'], '</option>
<option value="10080">'
$txt['smf48'], '</option>
<option value="43200">'
$txt['smf49'], '</option>
<option value="-1" selected="selected">'
$txt['smf50'], '</option>
</select>
<input type="submit" value="'
$txt[34], '" /><br />
<span class="middletext">'
$txt['smf52'], '</span>
<input type="hidden" name="hash_passwrd" value="" />
</form>'
;
}


// Check to see if stats have been updated within last 3 minutes
if (($modSettings['chatLastUpdated'] == 0) || ($modSettings['chatLastUpdated'] < 
(time() - $modSettings['chatUpdateInterval']))){
updateChatStats();
}
if($modSettings['chatShowTop'] == true){
echo "<br />There are currently " $modSettings['chatNumUsers'] . " users in chat<br />" 
'<div class="smalltext">' $modSettings['chatUsersList'] . '</div>';
}


echo '
</td>
</tr>
</table>
</td>
</tr>
</table>'
;

echo '
<table id="upshrinkHeader2"'
, empty($options['collapse_header']) ? '' ' style="display: none;"'' width="100%" cellpadding="4" cellspacing="0" border="0">
<tr>'
;

// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
echo '
<td width="90%" class="titlebg2">
<span class="smalltext"><b>'
$txt[102], '</b>: '$context['random_news_line'], '</span>
</td>'
;
echo '
<td class="titlebg2" align="right" nowrap="nowrap" valign="top">
<form action="'
$scripturl'?action=search2" method="post" accept-charset="'$context['character_set'], '" style="margin: 0;">
<a href="'
$scripturl'?action=search;advanced"><img src="'.$settings['images_url'].'/filter.gif" align="middle" style="margin: 0 1ex;" alt="" /></a>
<input type="text" name="search" value="" style="width: 190px;" />&nbsp;
<input type="submit" name="submit" value="'
$txt[182], '" style="width: 11ex;" />
<input type="hidden" name="advanced" value="0" />'
;

// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="'
$context['current_topic'], '" />';

// If we're on a certain board, limit it to this board ;).
elseif (!empty($context['current_board']))
echo '
<input type="hidden" name="brd['
$context['current_board'], ']" value="'$context['current_board'], '" />';

echo '
</form>
</td>
</tr>
</table>
</div>'
;


// Show the menu here, according to the menu sub template.
template_menu();


// The main content should go here.
echo '
<div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">'
;
}

function 
template_main_below()
{
global $context$settings$options$scripturl$txt;

echo '
</div>'
;

// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '

<div id="footerarea" style="text-align: center; padding-bottom: 1ex;'
$context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' '''">
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
function smfFooterHighlight(element, value)
{
element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
}
// ]]></script>
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<tr>
<td width="28%" valign="middle" align="'
, !$context['right_to_left'] ? 'right' 'left''">
<a href="http://www.mysql.com/" target="_blank"><img id="powered-mysql" src="'
$settings['images_url'], '/powered-mysql.gif" alt="'$txt['powered_by_mysql'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://www.php.net/" target="_blank"><img id="powered-php" src="'
$settings['images_url'], '/powered-php.gif" alt="'$txt['powered_by_php'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
<td valign="middle" align="center" style="white-space: nowrap;">
'
theme_copyright(), '
</td>
<td width="28%" valign="middle" align="'
, !$context['right_to_left'] ? 'left' 'right''">
<a href="http://validator.w3.org/check/referer" target="_blank"><img id="valid-xhtml10" src="'
$settings['images_url'], '/valid-xhtml10.gif" alt="'$txt['valid_xhtml'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img id="valid-css" src="'
$settings['images_url'], '/valid-css.gif" alt="'$txt['valid_css'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
</tr>
</table>'
;

// Show the load time?
if ($context['show_load_time'])
echo '
<span class="smalltext">'
$txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span>';

// This is an interesting bug in Internet Explorer AND Safari. Rather annoying, it makes overflows just not tall enough.
if (($context['browser']['is_ie'] && !$context['browser']['is_ie4']) || $context['browser']['is_mac_ie'] || $context['browser']['is_safari'])
{
// The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself.
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA['
;

// Unfortunately, Safari does not have a "getComputedStyle" implementation yet, so we have to just do it to code...
if ($context['browser']['is_safari'])
echo '
window.addEventListener("load", smf_codeFix, false);

function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");

for (var i = 0; i < codeFix.length; i++)
{
if ((codeFix[i].className == "code" || codeFix[i].className == "post" || codeFix[i].className == "signature") && codeFix[i].offsetHeight < 20)
codeFix[i].style.height = (codeFix[i].offsetHeight + 20) + "px";
}
}'
;
else
echo '
var window_oldOnload = window.onload;
window.onload = smf_codeFix;

function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");

for (var i = codeFix.length - 1; i > 0; i--)
{
if (codeFix[i].currentStyle.overflow == "auto" && (codeFix[i].currentStyle.height == "" || codeFix[i].currentStyle.height == "auto") && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0) && (codeFix[i].offsetHeight != 0 || codeFix[i].className == "code"))
codeFix[i].style.height = (codeFix[i].offsetHeight + 36) + "px";
}

if (window_oldOnload)
{
window_oldOnload();
window_oldOnload = null;
}
}'
;

echo '
// ]]></script>'
;
}

echo '
</div>'
;

// The following will be used to let the user know that some AJAX process is running
echo '
<div id="ajax_in_progress" style="display: none;'
$context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' '''">'$txt['ajax_in_progress'], '</div>
</body></html>'
;
}

// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree()
{
global $context$settings$options;

echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top: 2ex;">';

// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];

// Show the link, including a URL if it should have one.
echo '<b>'$settings['linktree_link'] && isset($tree['url']) ? '<a href="' $tree['url'] . '" class="nav">' $tree['name'] . '</a>' $tree['name'], '</b>';

// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];

// Don't show a separator for the last one.
if ($link_num != count($context['linktree']) - 1)
echo '&nbsp;>&nbsp;';
}

echo '</div>';
}

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context$settings$options$scripturl$txt;

// Work out where we currently are.
$current_action 'home';

$current_action $context['current_action'];

if ($context['current_action'] == 'chat')
$current_action 'chat';
if ($context['current_action'] == 'search2')
$current_action 'search';
if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' 'profile' 'admin';

//Begin SMFShop 2.0 (Build 8) MOD code
if ($context['current_action'] == 'shop')
$current_action 'shop';
//END SMFShop MOD code

// Are we using right-to-left orientation?
if ($context['right_to_left'])
{
$first 'last';
$last 'first';
}
else
{
$first 'first';
$last 'last';
}

// Show the start of the tab section.
echo '
<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
<tr>
<td class="maintab_' 
$first '">&nbsp;</td>';

// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'home' 'active_back' 'back' '">
<a href="'
$scripturl'">' $txt[103] , '</a>
</td>' 
$current_action == 'home' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// Show the [help] button.
echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'help' 'active_back' 'back' '">
<a href="'
$scripturl'?action=help">' $txt[119] , '</a>
</td>' 
$current_action == 'help' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// How about the [search] button?
if ($context['allow_search'])
echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'search' 'active_back' 'back' '">
<a href="'
$scripturl'?action=search">' $txt[182] , '</a>
</td>' 
$current_action == 'search' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'admin' 'active_back' 'back' '">
<a href="'
$scripturl'?action=admin">' $txt[2] , '</a>
</td>' 
$current_action == 'admin' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'profile' 'active_back' 'back' '">
<a href="'
$scripturl'?action=profile">' $txt[79] , '</a>
</td>' 
$current_action == 'profile' '<td class="maintab_active_' $last '">&nbsp;</td>' '';


// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'pm' 'active_back' 'back' '">
<a href="'
$scripturl'?action=pm">' $txt['pm_short'] , ' '$context['user']['unread_messages'] > '[<strong>'$context['user']['unread_messages'] . '</strong>]' '' '</a>
</td>' 
$current_action == 'pm' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// the [chat] button
echo ($current_action=='chat' || $context['browser']['is_ie4']) ? '<td class="maintab_active_first">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action=='chat' 'active_back' 'back' '">
<a href="'
$scripturl'?action=chat">' $txt['chatAlt'] , '</a>
</td>' 
$current_action=='chat' '<td class="maintab_active_last">&nbsp;</td>' '';

// The [arcade]!
        
if ($context['allow_arcade'])
                echo (
$current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
                                <td valign="top" class="maintab_' 
$current_action == 'arcade' 'active_back' 'back' '">
                                        <a href="'
$scripturl'?action=arcade">' $txt['permissiongroup_arcade'] , '</a>
                                </td>' 
$current_action == 'arcade' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'calendar' 'active_back' 'back' '">
<a href="'
$scripturl'?action=calendar">' $txt['calendar24'] , '</a>
</td>' 
$current_action == 'calendar' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

//Begin SMFShop 2.0 (Build 8) MOD code
//loadLanguage("shop");
echo ($current_action == 'shop' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'shop' 'active_back' 'back' '">
<a href="'
$scripturl'?action=shop">Shop</a>
</td>' 
$current_action == 'shop' '<td class="maintab_active_' $last '">&nbsp;</td>' '';
//END SMFShop MOD code

// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'mlist' 'active_back' 'back' '">
<a href="'
$scripturl'?action=mlist">' $txt[331] , '</a>
</td>' 
$current_action == 'mlist' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// the [links] button
if ($context['allow_view_smflinks'])
echo ($current_action == 'links' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'links' 'active_back' 'back' '">
<a href="'
$scripturl'?action=links">' $txt['smflinks_menu']  , '</a>
</td>' 
$current_action == 'links' '<td class="maintab_active_' $last '">&nbsp;</td>' '';


// the [staff list] button
if ($context['allow_view_stafflist'])
echo ($current_action == 'staff' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'staff' 'active_back' 'back' '">
<a href="'
$scripturl'?action=staff">' $txt['smfstaff_stafflist']  , '</a>
</td>' 
$current_action == 'staff' '<td class="maintab_active_' $last '">&nbsp;</td>' '';



// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo ($current_action == 'login' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'login' 'active_back' 'back' '">
<a href="'
$scripturl'?action=login">' $txt[34] , '</a>
</td>' 
$current_action == 'login' '<td class="maintab_active_' $last '">&nbsp;</td>' '';


// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo ($current_action == 'register' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'register' 'active_back' 'back' '">
<a href="'
$scripturl'?action=register">' $txt[97] , '</a>
</td>' 
$current_action == 'register' '<td class="maintab_active_' $last '">&nbsp;</td>' '';


// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'logout' 'active_back' 'back' '">
<a href="'
$scripturl'?action=logout;sesc='$context['session_id'], '">' $txt[108] , '</a>
</td>' 
$current_action == 'logout' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// The end of tab section.
echo '
<td class="maintab_' 
$last '">&nbsp;</td>
</tr>
</table>'
;

}

// Generate a strip of buttons.
function template_button_strip($button_strip$direction 'top'$force_reset false$custom_td '')
{
global $settings$buttons$context$txt$scripturl;

// Create the buttons...
foreach ($button_strip as $key => $value)
{
if (isset($value['test']) && empty($context[$value['test']]))
{
unset($button_strip[$key]);
continue;
}
elseif (!isset($buttons[$key]) || $force_reset)
$buttons[$key] = '<a href="' $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' $txt[$value['text']] . '</a>';

$button_strip[$key] = $buttons[$key];
}

if (empty($button_strip))
return '<td>&nbsp;</td>';

echo '
<td class="'
$direction == 'top' 'main' 'mirror''tab_' $context['right_to_left'] ? 'last' 'first' '">&nbsp;</td>
<td class="'
$direction == 'top' 'main' 'mirror''tab_back">'implode(' &nbsp;|&nbsp; '$button_strip) , '</td>
<td class="'
$direction == 'top' 'main' 'mirror''tab_' $context['right_to_left'] ? 'first' 'last' '">&nbsp;</td>';
}


function 
updateChatStats(){
global $modSettings$db_prefix;

    
// Get the list of users in the chat room
    
$data file_get_contents('http://www.everywherechat.com/members.asp?room=' $modSettings['chatRoomName']);

    
// Strip off the extra data at the beggining and end of the list
    
$data substr($data,16,-5);

    
// Remove the document.write portion of the list
    
$array explode("\");document.write(\""$data);

    
// Get all the users and add them to the list
    
$userList "";
    foreach(
$array as $user){
          
$userList .= $user;
    }

    
// Update the database with the list of users
    
$result db_query("UPDATE {$db_prefix}settings SET `value` = '" $userList "' WHERE variable = 'chatUsersList'"__FILE____LINE__);

    
// Get the number of users in chat
    
$data file_get_contents('http://www.everywherechat.com/users.asp?room=' $modSettings['chatRoomName']);

    
// Strip off the extra data at the beggining and end of the list
    
$data substr($data,16,-2);

    
// Update the database with the number of users
    
$result db_query("UPDATE {$db_prefix}settings SET `value` = '" $data "' WHERE variable = 'chatNumUsers'"__FILE____LINE__);

$result db_query("UPDATE {$db_prefix}settings SET `value` = '" time() . "' WHERE variable = 'chatLastUpdated'"__FILE____LINE__);
}


?>



Where does this problem code fit in my file?

TIA!

Title: Re: SMF Arcade
Post by: G6™ on September 01, 2006, 10:08:55 AM
Are you sure you actually looking in the themes/DEFAULT index.template.php file?
You have a lot of code missing for the themes/DEFAULT/
Title: Re: SMF Arcade
Post by: Lew Cipher on September 01, 2006, 01:34:28 PM
Quote from: Mrs G6 on September 01, 2006, 10:08:55 AM
Are you sure you actually looking in the themes/DEFAULT index.template.php file?


yes
Title: Re: SMF Arcade
Post by: ada on September 05, 2006, 12:31:36 AM
Version for RC3?
Title: Re: SMF Arcade
Post by: littleone on September 05, 2006, 06:15:03 PM
Quote from: ada on September 05, 2006, 12:31:36 AM
Version for RC3?

www.smfarcade.net
Title: arcade
Post by: Faslow on September 07, 2006, 03:47:07 AM
I recently installed an smf arcade but i get this message whenever i try to install/look at games or anything else in the arcade admin

Table 'jones_smf4.smf_games_champ' doesn't exist
File: /home/jones/public_html/GUS/Sources/Arcade2.php
Line: 462

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.8, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

Any feed back would be great

Gus
Title: Re: SMF Arcade
Post by: DemonicInfluence on September 07, 2006, 12:06:38 PM
what version of smfarcade..

Also get the 1.0.8 package and get the update.php and run it to update your database
Title: Re: SMF Arcade
Post by: MiR on September 26, 2006, 03:02:22 AM
I tryed install 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 Test successful
4. Execute Modification ./Sources/ManagePermissions.php Test successful
5. Execute Modification ./Themes/default//languages/Modifications.english.php Test successful
6. Execute Modification ./Themes/default//Profile.template.php Test successful
7. Execute Modification ./Themes/default//Display.template.php Test successful
8. Execute Modification ./Sources/Display.php Test successful
9. Execute Modification ./Sources/Profile.php Test successful
10. Execute Modification ./Sources/Who.php Test successful
11. Extract Tree ./getid3 
12. Extract Tree ./Games 
13. Extract Tree ./tempGames 
14. Extract Tree ./arcade 
15. Extract Tree ./arcade/gamedata 
16. Extract File ./arcade_install.php 
17. Extract File ./newscore.php 
18. Extract Tree ./Sources 
19. Extract File ./Themes/default//Arcade.template.php 
20. Extract File ./Themes/default//ArcadeAdmin.template.php 
21. Extract File ./Themes/default//images/gold.gif 
22. Extract File ./Themes/default//images/gold1.gif 
23. Extract File ./Themes/default//images/arc.gif 
24. Extract File ./Themes/default//images/play.gif 
25. Extract File ./Themes/default//images/tick.gif 
26. Extract File ./Themes/default//images/star2.gif 
27. Extract File ./Themes/default//images/first.gif 
28. Extract File ./Themes/default//images/second.gif 
29. Extract File ./Themes/default//images/third.gif 
30. Extract File ./Themes/default//images/warning.png 
31. Extract File ./Themes/default//images/english/games.gif 
32. Extract File ./Themes/default//languages/Arcade.english.php 
33. Extract File ./Themes/default//languages/Arcade.finnish.php 
34. Execute Code arcade_install.php


After komand "Install now" i got this message:

QuoteFatal error: packageinstall(): Failed opening required '/var/www/html/usd/Packages/temp/./arcade_install.php' (include_path='.:/usr/share/pear') in /var/www/html/usd/Sources/Packages.php on line 540

When I tryed to install another mod I got this message:

QuoteYou cannot download or install new packages because the Packages directory or one of the files in it are not writable!

What's going wrong? Cann you help me?
Title: Re: SMF Arcade
Post by: G6™ on September 30, 2006, 07:05:58 AM
You need to change the permissions to your Packages folder, eather have it set to 755 or 777 and try again
Title: Re: SMF Arcade
Post by: Masterhand on September 30, 2006, 08:21:13 AM
Nice mod, is this gonna be compateable for RC3? Or is it?...
Title: Re: SMF Arcade
Post by: DemonicInfluence on September 30, 2006, 09:00:46 AM
it is. you just have to download it from smfarcade :)
Title: Re: SMF Arcade
Post by: G6™ on September 30, 2006, 10:31:16 AM
Or from my site, I have Skhilled there as Admin and the latest Arcade mod is in the download section for 1.1rc3 and Tp V.095
Title: Re: SMF Arcade
Post by: houston on October 03, 2006, 08:29:28 PM
I am trying to give admin permissions through the global moderator group to one of my members. I have set the permissions to allow but we are unable to find any link to the arcade admin while this member is logged on. Where would it be located. Running the latest version of the arcade on SMF 1.1rc2

Cheers
Title: Re: SMF Arcade
Post by: DemonicInfluence on October 04, 2006, 09:09:55 PM
YAY!

1.31 RC1 E1.4 is out. Its newer and better. by eeek.
Title: Re: SMF Arcade
Post by: Skhilled on October 10, 2006, 08:48:09 AM
Yes, the arcade does work with smf 1.1 rc3 now. :)
Title: Re: SMF Arcade
Post by: Gobo on October 10, 2006, 10:01:46 AM
GO ARCADE GO!
Title: Re: SMF Arcade
Post by: NEMINI on October 13, 2006, 08:25:49 PM
Quote from: DemonicInfluence on September 30, 2006, 09:00:46 AM
it is. you just have to download it from smfarcade :)

Forgive my ignorance, I just don't have the time to trawl through 152 pages of posts ... can you tell me the url to the smfarcade website?  Thank you.


smfarcade.net (ty google :))
Title: Re: SMF Arcade
Post by: udeze on October 20, 2006, 07:13:09 AM
I tried installing SMF Arcade 1.3.1 MOD-E1.4 and I got this error

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 failed
3. Execute Modification ./Sources/Subs.php Test successful
4. Execute Modification ./Sources/ManagePermissions.php Test successful
5. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
6. Execute Modification ./Themes/default/Profile.template.php Test successful
7. Execute Modification ./Themes/default/Display.template.php Test failed
8. Execute Modification ./Sources/Display.php Test successful
9. Execute Modification ./Sources/Profile.php Test successful
10. Execute Modification ./Sources/Who.php Test successful
11. Extract Tree ./getid3
12. Extract Tree ./Games
13. Extract Tree ./tempGames
14. Extract Tree ./arcade
15. Extract Tree ./arcade/gamedata
16. Extract File ./arcade_install.php
17. Extract File ./newscore.php
18. Extract Tree ./Sources
19. Extract File ./Themes/default/Arcade.template.php
20. Extract File ./Themes/default/ArcadeAdmin.template.php
21. Extract File ./Themes/default/images/gold.gif
22. Extract File ./Themes/default/images/gold1.gif
23. Extract File ./Themes/default/images/arc.gif
24. Extract File ./Themes/default/images/play.gif
25. Extract File ./Themes/default/images/tick.gif
26. Extract File ./Themes/default/images/star2.gif
27. Extract File ./Themes/default/images/first.gif
28. Extract File ./Themes/default/images/second.gif
29. Extract File ./Themes/default/images/third.gif
30. Extract File ./Themes/default/images/warning.png
31. Extract File ./Themes/default/images/english/games.gif
32. Extract File ./Themes/default/languages/Arcade.english.php
33. Extract File ./Themes/default/languages/Arcade.finnish.php
34. Execute Code arcade_install.php


Any help?
Title: Re: SMF Arcade
Post by: IchBin™ on October 20, 2006, 08:40:28 AM
I'm assuming you have other mods installed, this is probably why the mod fails at certain points. You may want to take a look at this.

Manual Installation of Mods
http://docs.simplemachines.org/index.php?topic=402
Title: Re: SMF Arcade
Post by: G6™ on October 20, 2006, 09:26:57 AM
Or even follow this link to get all collected in one spot :)
http://www.smfarcade.net/index.php?page=12
Title: Re: SMF Arcade
Post by: ProtoMan.EXE on October 21, 2006, 11:15:39 PM
I have an idea for SMF Arcade, you authors of it should ask daniel15 for a connection between SMF Arcade and SMF Shop. When a member become a champion in any game (And keep the status in about 15 days or 1 month) , he/she will be rewarded with a xxx amount of credits. Thank you  :)
Title: Re: SMF Arcade
Post by: fwitt on October 22, 2006, 06:28:24 AM
here is the code edits for giving shop credits when someone beats the highscore (http://www.smfarcade.net/index.php/topic,1437.0.html) that will get you some of the way to what you are wanting.
Title: Re: SMF Arcade
Post by: khurrum on October 30, 2006, 04:50:00 AM
Hello, I am newbie. I uploaded smf arcade and on trying to install it I got following notice:

I am using latest version of both (forum and smf arcade) and am using classic[1] theme. Please help

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

Type     Action     Description
1.    Execute Modification    ./index.php    Test successful
2.    Execute Modification    ./Themes/default/index.template.php    Test failed
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
6.    Extract Tree    ./getid3    
7.    Extract Tree    ./Games    
8.    Extract File    ./arcade_install.php    
9.    Extract Tree    ./Sources    
10.    Extract File    ./Themes/default/Arcade.template.php    
11.    Extract File    ./Themes/default/ArcadeAdmin.template.php    
12.    Extract File    ./Themes/default/gold.gif    
13.    Extract File    ./Themes/default/warning.png    
14.    Extract File    ./Themes/default/images/english/games.gif    
15.    Extract File    ./Themes/default/languages/Arcade.english.php    
16.    Extract File    ./Themes/default/languages/Arcade.finnish.php
Title: Re: SMF Arcade
Post by: Bigguy on October 30, 2006, 09:52:48 AM
All you need to do is install it and then open the .xml file that comes with the arcade and install those edits manually. The error on the index.template.php is more than likely just for the tab and the other would be mod permissions.
Title: Re: SMF Arcade
Post by: fwitt on October 30, 2006, 04:54:48 PM
also the install only changes the default theme you will have to make the edits to the classic theme as well as that is the one you are using
Title: Re: SMF Arcade
Post by: khurrum on October 30, 2006, 05:05:57 PM
I get following message on trying to run arcade_install.php:

Installer version is: 1.2.4 while Arcade version is 1.2.4b.
Title: Hiding Tab from Guests
Post by: houston on October 31, 2006, 12:42:52 PM
I am getting a lot of guest wanting to get access to the arcade, which has been disabled for guests. How would I hide the tab from guests so I no longer get this error showing up in my forum errors list.

Cheers
Title: Re: SMF Arcade
Post by: fwitt on October 31, 2006, 03:01:12 PM
Quote from: khurrum on October 30, 2006, 05:05:57 PM
I get following message on trying to run arcade_install.php:

Installer version is: 1.2.4 while Arcade version is 1.2.4b.

that is an old version of the arcade, download a newer one from smfarcade.net, 1.3.1 is the current version

Quote from: houston on October 31, 2006, 12:42:52 PM
I am getting a lot of guest wanting to get access to the arcade, which has been disabled for guests. How would I hide the tab from guests so I no longer get this error showing up in my forum errors list.

in index.template.php find the code for the arcade link and put

if ($context['user']['is_logged'])

on the line b4 the echo statement
Title: Re: SMF Arcade
Post by: choloman05 on November 03, 2006, 01:00:31 PM
Quote from: Bullcat Webhosting on October 29, 2004, 04:43:29 PM
The code below, add all the download games to arcade.php, just download all the games, en add this code to arcade.php !

// Games list
// $games = array('Display name in install','Sql query to excute on install');
$games = array(
array('Duck Hunt', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'duckhunt\', \'Duck Hunt\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="duckhunt.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/duckhunt.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/duckhunt.swf" quality="high" bgcolor="#000000" width="450" height="393" name="duckhunt.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Hunt ducks. Classic game\')'),
array('Pinguin', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pinguin\', \'Pinguin\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="pingviinikibpa.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/pingviinikibpa.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/pingviinikibpa.swf" quality="high" bgcolor="#000000" width="450" height="393" name="pingviinikibpa.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Pinguin. Classic game\')'),
array('Pacman', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pacman\', \'Pacman\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="pacman.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/pacman.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/pacman.swf" quality="high" bgcolor="#000000" width="450" height="393" name="pacman.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Pacman. Classic game\')'),
array('Breakout', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'breakout\', \'Breakout\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="breakout.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/breakout.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/breakout.swf" quality="high" bgcolor="#000000" width="450" height="393" name="breakout.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Breakout. Classic game\')'),
array('Spacehunter', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'spacehunter\', \'Spacehunter\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="spacehunter.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/spacehunter.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/spacehunter.swf" quality="high" bgcolor="#000000" width="450" height="393" name="spacehunter.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Spacehunter. Classic game\')'),
array('Snake', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'snake\', \'Snake\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="snake.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/snake.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/breakout.swf" quality="high" bgcolor="#000000" width="450" height="393" name="snake.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Snake. Classic game\')'),
array('Simpsons', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'simpsons\', \'Simpsons\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="simpsons.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/simpsons.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/simpsons.swf" quality="high" bgcolor="#000000" width="450" height="393" name="simpsons.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Simpsons. Classic game\')'),
array('Sagaofsai', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'sagaofsai\', \'Sagaofsai\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="sagaofsai.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/sagaofsai.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/sagaofsai.swf" quality="high" bgcolor="#000000" width="450" height="393" name="sagaofsai.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Sagaofsai. Classic game\')'),
array('Rshot3', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'rshot3\', \'Rshot3\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="rshot3.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/rshot3.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/rshot3.swf" quality="high" bgcolor="#000000" width="450" height="393" name="rshot3.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Rshot3. Classic game\')'),
array('Project_orion', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'project_orion\', \'Project_orion\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="project_orion.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/project_orion.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/project_orion.swf" quality="high" bgcolor="#000000" width="450" height="393" name="project_orion.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Project_orion. Classic game\')'),
array('Pingbrick', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pingbrick\', \'Pingbrick\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="pingbrick.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/pingbrickbreakout.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/pingbrick.swf" quality="high" bgcolor="#000000" width="450" height="393" name="pingbrick.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Pingbrick. Classic game\')'),
array('Paul', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'paul\', \'Paul\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="paul.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/paul.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/paul.swf" quality="high" bgcolor="#000000" width="450" height="393" name="paul.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Paul. Classic game\')'),
array('Karts', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'karts\', \'Karts\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="karts.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/karts.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/karts.swf" quality="high" bgcolor="#000000" width="450" height="393" name="karts.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Karts. Classic game\')'),
array('Hexxagon', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'hexxagon\', \'Hexxagon\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="hexxagon.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/hexxagon.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/hexxagon.swf" quality="high" bgcolor="#000000" width="450" height="393" name="hexxagon.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Hexxagon. Classic game\')'),
array('Asteroids', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'asteroids\', \'Asteroids\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="asteroids.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/asteroids.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/asteroids.swf" quality="high" bgcolor="#000000" width="450" height="393" name="asteroids.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Asteroids. Classic game\')'),
array('Xmas-boarding', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'xmas-boarding\', \'Xmas-boarding\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="xmas-boarding.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/xmas-boarding.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/xmas-boarding.swf" quality="high" bgcolor="#000000" width="450" height="393" name="xmas-boarding.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Xmas-boarding. Classic game\')'),
array('Eskiv', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'eskiv\', \'Eskiv\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="200" height="150" id="eskivbw" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/eskivbw.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#ffffff" />\r\n<embed src="Games/eskivbw.swf" quality="high" bgcolor="#ffffff" width="640" height="480" name="eskivbw" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object>\', \'\', \'Collect blocks. But be aware of balls \');')
);


Is this still how you add games? I found this on pg 4 of the thread, which was obviously a long time ago and I wonder if it still applies. Thanks.
Title: Re: SMF Arcade
Post by: Bigguy on November 03, 2006, 01:03:38 PM
Upload the games to the Games folder and they should show up under "Game Installer" in the arcade admin panel. There are 2 files for each game, a .swf and a .gif There is another way to do it with a php file and that will upload alot of games all at once, but I am not sure how to do that.
Title: Re: SMF Arcade
Post by: choloman05 on November 03, 2006, 01:35:45 PM
 oh shoot, sorry I guess I should have been more clear. I'm wondering about any other flash game that is not packaged on smfarcade.net. Thanks though bigguy.
Title: Re: SMF Arcade
Post by: fwitt on November 03, 2006, 02:34:19 PM
you can install any .swf game with the installer,

BUT
1. you need to make sure you have a .gif with the same name as the .swf for the icon in the list
2. it depends on the game as to whether it will submit scores
3. the game .swf and its .gif need to be in the Games folder of your smf


if you have a game that you would like to submit scores ask in the games request board at smfarcade.net and we will request permission from the author to modify the game to submit scores (copyright law requires the copyright holders permission to modify games in this way).
Title: Re: SMF Arcade
Post by: khurrum on November 03, 2006, 04:32:29 PM
Hello.

Please! Is there anyone who can install hide tag and arcade mods for me in my forum. I will be so much thankful to you. I am really not a technical person and do not understand codings. I tried a lot and read entire pages but did not understood. It is technical language and for me it is very difficult.

Kindly someone help me. So nice of you and will be heartly thankful to you.

I have created forum at www.khurrum.com/forum
regards
KHURRUM
Title: Re: SMF Arcade
Post by: choloman05 on November 03, 2006, 04:49:49 PM
fwitt - Thanks so much.
Title: Re: SMF Arcade
Post by: tL0z on November 05, 2006, 08:29:19 AM
Hello,

Does this mod already work with 1.1RC3?

Thanks
Title: Re: SMF Arcade
Post by: Bigguy on November 05, 2006, 01:50:11 PM
Yes it does. You can get it at: www.smfarcade.net
Title: Re: SMF Arcade
Post by: Skhilled on November 06, 2006, 08:45:10 AM
Quote from: choloman05 on November 03, 2006, 01:35:45 PM
oh shoot, sorry I guess I should have been more clear. I'm wondering about any other flash game that is not packaged on smfarcade.net. Thanks though bigguy.
Also if the game has a folder like /Gamedata or something else you will need to upload it and everything in it to the /Games folder as well.
Title: Re: SMF Arcade
Post by: junglecat on November 27, 2006, 10:29:25 AM
I have a Error in Package Installation

The only line that shows an error is this one:

2. Execute Modification ./Themes/default/index.template.php Test failed

I am not using the default theme. What should I do?


ETA it's not a permissions problem. I checked that file and the permissions are 777
Title: Re: SMF Arcade
Post by: vbgamer45 on November 27, 2006, 10:34:51 AM
I would install it then make the changes to your theme by opening up the .xml file.
If you are installing SMF Arcade 1.3.1 the only thing that it changes on index.template.php is adds a link to the arcade and is simple to add to a custom theme.
Title: Re: SMF Arcade
Post by: junglecat on November 27, 2006, 10:51:52 AM
Yes, I am using SMF Arcade 1.3.1 and have this page open so I can make sure I do it right: http://www.smfarcade.net/index.php?page=20
Title: Re: SMF Arcade
Post by: robotman321 on November 27, 2006, 11:02:00 AM
i have a problem i dont know if you addressed it but, when i upload a package of games and after they install smoothly they dont play can you take a look: http://discosbazaar.com/upgradedforum

please and thank-you
Title: Re: SMF Arcade
Post by: Niteblade on November 28, 2006, 11:05:51 PM
Ready for 1.1 Final ? ;D
Title: Re: SMF Arcade
Post by: robotman321 on December 01, 2006, 09:49:22 PM
ok i found out why my forums acted liek they did, my base urls wernt the same i found that out when i went and searched common errors

it owns everything is working fine :)
Title: Re: SMF Arcade
Post by: DemonicInfluence on December 02, 2006, 02:40:16 PM
Quote from: nite0859 on November 28, 2006, 11:05:51 PM
Ready for 1.1 Final ? ;D

it should be if you modify the package_info.xml file to say 1.1 final is allowed to install
Title: Re: SMF Arcade
Post by: DemonicInfluence on December 02, 2006, 03:23:35 PM
Actually, now E 1.5 is out. That should let you install of 1.1 final along with bug fixes and some new stuff
Title: Re: SMF Arcade
Post by: nobert on December 03, 2006, 11:26:29 AM
Hello!
Sorry, but I don't speak english very much!
I have a question:
I where find lots of games for arcade?
Example: http://www.smfarcade.net

Thank you!
Title: Re: SMF Arcade
Post by: Assistance on December 03, 2006, 12:01:52 PM
Quote from: nobert on December 03, 2006, 11:26:29 AM
I where find lots of games for arcade?
http://www.ericsworld.eu/f2/index.php
Title: Re: SMF Arcade
Post by: nobert on December 03, 2006, 12:43:04 PM
Quote from: Assistance on December 03, 2006, 12:01:52 PM
Quote from: nobert on December 03, 2006, 11:26:29 AM
I where find lots of games for arcade?
http://www.ericsworld.eu/f2/index.php
This games:
http://www.ericsworld.eu/f2/index.php?action=tpmod;dl=cat27
is = for this:
http://www.smfarcade.net/index.php?action=tpmod;dl=cat2
:'(
Title: Re: SMF Arcade
Post by: L.G.S on December 13, 2006, 04:59:04 PM
hi although i got a problem

I had the Rc2 version, removed it when we upgraded to rc3.

Then I installed the 1.1  version and did that stats icon settings resetting etc, but it says "no champ" even tho i can see my score is the highest...
Title: Re: SMF Arcade
Post by: Gobo on December 13, 2006, 06:14:26 PM
u have to go in ur Arcade Admin area and under the "highscores" section run the scores update utility

also there is something more to be done but I dont remember it - just go to smfarcade.net and search for it on the forum, its mentioned there :)
Title: Re: SMF Arcade
Post by: RoarinRow on December 13, 2006, 06:55:13 PM
Quote from: L.G.S on December 13, 2006, 04:59:04 PM
hi although i got a problem

I had the Rc2 version, removed it when we upgraded to rc3.

Then I installed the 1.1  version and did that stats icon settings resetting etc, but it says "no champ" even tho i can see my score is the highest...

I reported this problem yesterday as well.  Go to Arcade control panel, then go to Highscore, then click on the buttons in the high score section, i.e. Remove all except the highest scores, Update highscores, and Remove all guest scores buttons.

This fixed it for me even though the browser/server timed out during query.
Title: Re: SMF Arcade
Post by: L.G.S on December 14, 2006, 09:07:50 AM
thanks, it's working again!
Title: Re: SMF Arcade
Post by: mickyd2006 on December 18, 2006, 05:55:32 AM
Hey guys, I have a little problem...

I have a delicate site and by delicate I mean it's Mambo 4.6.1 Bridged to SMF 1.1 RC3.

I want to Install Arcade but I am not using the default theme, instead I am using a "Shared" Theme that matches my mambo theme, it is the theme Rhuk Planetfall or Planetfall.
When I go to install the arcade It tells me everything is good to go except the Index.Template.php..

knowing manual edits are possible and expecting the problem to be no button or link to the arcade mod I went ahead and I was correct, No button or link to the mod...

How do I go about manually adding a button and the other peices code to Index.Template.php manually becasue in the manual install documentation it is telling me to make changes to lines of code that differ extremely in my Index.Template.php to what I am advised to change.

I am using arcade version E 1 5 1 and Update 15 151.

Thanks guys...

If the worst came to the worst I could just add a link to my mambo navigation but then when I click arcade.. the text links like arcade home | Challenges | Tournaments etc are all bunched together with no spaces or menu separator.

Thanks guys!!!!!!!!!!!!!!!
Title: Re: SMF Arcade
Post by: pgl on December 19, 2006, 06:44:57 AM
Dude, seriously, you should try putting the basic description of what this mod is on the mod page or maybe even on the front page of your website! There's no link to it or anything! All I wanted to know is what do you mean by "Arcade" - is it text games, flash, javascript, what?

Seriously though I don't actually care anymore but I figured you might appreciate the feedback.
Title: Re: SMF Arcade
Post by: fwitt on December 19, 2006, 06:49:52 AM
the arcade is for flash games, it does say this in the first post of this thread.
Title: Re: SMF Arcade
Post by: L.G.S on December 19, 2006, 08:06:01 AM
I installed the latest version for 1.1 but I cannot rate games, it just says ERROR when I click on a star..
Title: Re: SMF Arcade
Post by: Gobo on December 19, 2006, 08:43:35 AM
yea LSG thats a known bug which for some weird and strange reason only some people encounter (including me)

also it only happens in Firefox and not IE

They havent been able to fix that one yet
Title: Re: SMF Arcade
Post by: L.G.S on December 19, 2006, 11:24:01 AM
Dang ok, will have to wait.
Title: Re: SMF Arcade
Post by: Gobo on December 19, 2006, 11:31:10 AM
join the queue, ive been waiting on this one for a year now but the thing i like about the guys at smf arcade is they are honest and atleast say openly they dont have a resolve for the issue yet, so u know where the situation stands
Title: Re: SMF Arcade
Post by: L.G.S on December 19, 2006, 12:03:00 PM
Would anyone know how I could remove it from being seen for now please?
Title: Re: SMF Arcade
Post by: tL0z on December 19, 2006, 02:41:27 PM
Hello,

Is there any package compatible with 1.1.1?

Thanks
Title: Re: SMF Arcade
Post by: L.G.S on December 19, 2006, 03:05:33 PM
the package for 1.1 works fine one 1.1.1 :)
Title: Re: SMF Arcade
Post by: tL0z on December 19, 2006, 03:07:09 PM
And what is the package for 1.1? :P
Title: Re: SMF Arcade
Post by: L.G.S on December 19, 2006, 03:34:50 PM
It will be at www.smfarcade.net
Title: Re: SMF Arcade
Post by: mickyd2006 on December 19, 2006, 06:46:01 PM
anyone got any ideas how I can get this working with my template please????
i can install it but cant get it up to show a button becasue I am not using any default templates..

Thanks You
Title: Re: SMF Arcade
Post by: snork13 on December 19, 2006, 06:48:09 PM
Quote from: mickyd2006 on December 19, 2006, 06:46:01 PM
anyone got any ideas how I can get this working with my template please????
i can install it but cant get it up to show a button becasue I am not using any default templates..

Thanks You

Yes, modifications only install for the Core-Default theme. However, some themes use the default files when the file is not present in the custom theme. If you unpack the mod on your local pc, you will find an .xml file.

This file tells you:

the files to modify
where the changes are.


http://docs.simplemachines.org/index.php?topic=402

Hope this helps!

-Snork13
Title: Re: SMF Arcade
Post by: mickyd2006 on December 19, 2006, 07:06:02 PM
Yes, its the index.template.php file which fails the install, however I have been to the arcade site and checked on the manual install documentation and have tried all suggested code replacements to make, the problem is none of them match... the syntax, i beleive it is called is different. The problem there is that the manual install doc only covers three template designs. The lines of coded that are needed in order to show the arcade button do not fit, the lines it suggests to look for in order to paste the needed code in after do not exist, they differ radically, Im just wondering if someone might look at the 2 peices of code for me needed in order for the buttons to show and have a little look at the code area where it is needed to be pasted to see if there would be much work needed in order to acheive the desired results.

My coding skills are edit, configure and perhaps a little more but that's about it unfortunately.
Title: Re: SMF Arcade
Post by: Gobo on December 20, 2006, 01:11:25 AM
Which theme are you using?

Can u give a link to the download file for the theme?
Adding a button is simple, ill help u out
Title: Re: SMF Arcade
Post by: mickyd2006 on December 20, 2006, 01:48:05 PM
The theme is called Rhuk Planetfall or just planetfall. Im going to look for the link now and I will post it as soon as I find it. thanks for your help offer buddy, I really appreciate it!!!!
Title: Re: SMF Arcade
Post by: TacticalPenguin on December 20, 2006, 01:58:34 PM
To add in a button to your menu, open up the index.template.php and then find this:
function template_menu()
Then scroll down just a little bit from there and youll see:
// Show the [home] button.
Scroll down a little bit more until you see
// Otherwise, they might want to [logout]

Copy the code under this section and paste it into an empty notepad document or something. Replace
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>
with
<a href="', $scripturl, '?action=arcade">Arcade</a>
^I THINK arcade is the right action but fix it if its not

Anyways, then take what youve got in the notepad window and copy it into index.template.php right before
// Otherwise, they might want to [logout]

or somewhere else in there if you want the button to appear elsewhere. If it doesnt work Im sorry I couldnt help, but thats all I know for adding buttons.
Title: Re: SMF Arcade
Post by: mickyd2006 on December 20, 2006, 03:36:30 PM
Thanks buddy.. I'll deffinately try it... All help is greatly received wether sucessfull or not =]

Also for akulion

Here is the link to the planetfall theme I use with smf
http://www.simplemachines.org/community/index.php?topic=26690.0

Thanks both!
Title: Re: SMF Arcade
Post by: mickyd2006 on December 20, 2006, 04:38:38 PM
Hey,

I managed to get this to work using a combination of tactical penguins post, the arcade manual install manual and the radio and admin buttons and came up with this


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


I noticed tactical penguins variation was a simple text link which was a good suggestion but it was still a visable link to all user groups. By adding the line


if ($context['allow_arcade'])


before the echo the link button command it stops unauthorised groups viewing the button.

If someone could check it for mistakes that would be good.,. but from this end it seems to be doing its job = ]

Not bad for a non coder lol.... thanks for the advice and suggestions cuz I wouldnt have got this far without them!!!!!!!
Title: Re: SMF Arcade
Post by: chase_m on December 28, 2006, 04:45:17 AM
Is there a version of SMF Arcade that actually works with SMF 1.1.1?  As the latest version in the downloads section isn't working properly.

1.  I'm getting a "Missing field:" error every time I try to install a game - even when that's not the case. 
2.  Game icons are not showing - even though they're correctly labeled and placed.
3.  Games are not showing player names in the scores section

What the heck is going on? :(
Title: Re: SMF Arcade
Post by: fwitt on December 28, 2006, 08:50:37 AM
I believe E1.5.2 works with SMF 1.1.1

also smfarcade 2.0is in beta testing atm and is designed to work on the SMF 1.1 series
Title: Re: SMF Arcade
Post by: Gargoyle on December 28, 2006, 09:17:25 AM
Yes the E1.5.2 version does work with 1.1.1 as I installed it on a 1.1.1 forum the other day and it worked perfectly.
Title: Re: SMF Arcade
Post by: chase_m on December 28, 2006, 09:23:02 AM
I uninstalled the package, cleared it from my database, and I'm still getting a blank "Missing Field:" error during game installation. 

Is there a way to clean install the package?  What else did it edit?
Title: Re: SMF Arcade
Post by: niko on December 30, 2006, 09:39:35 AM
SMFArcade 2.0.0 Released! (Finally)

For support please use SMFArcade.net (http://www.smfarcade.net/)!

To upgrade from 1.x remove old package and install new.

Read whole announcement (http://www.smfarcade.net/index.php/topic,2041.0.html) from SMFArcade.net
Title: Re: SMF Arcade
Post by: fwitt on December 30, 2006, 07:48:32 PM
and 2.0.1 released straight afterwards
Title: Re: SMF Arcade
Post by: Gobo on December 31, 2006, 05:16:45 AM
East or west arcade is the best - goooo arcade
Title: Re: SMF Arcade
Post by: kilk on January 02, 2007, 12:19:22 PM
There is no download link.....
Title: Re: SMF Arcade
Post by: fwitt on January 02, 2007, 01:40:02 PM
try the downloads at smfarcade.net
Title: Re: SMF Arcade
Post by: chaos_gamer on January 03, 2007, 08:19:37 AM
In 2.0.1 i am having problems when saving the scores

it is showing this error plz help

Score was not saved because session is missing
Title: Re: SMF Arcade
Post by: Snape on January 03, 2007, 10:33:58 AM
Quote from: chaos_gamer on January 03, 2007, 08:19:37 AM
In 2.0.1 i am having problems when saving the scores

it is showing this error plz help

Score was not saved because session is missing
2.0.3 was released recently.  Download it from www.smfarcade.net.
Title: Re: SMF Arcade
Post by: Gobo on January 03, 2007, 10:34:16 AM
update to the latest version 2.0.3 after that
turn off the cheating to 'warning only' for the time being
there is a small bug in the scores being fixed now

package is found on smfarcade.net
install it via package manager
Title: Re: SMF Arcade
Post by: loopyj22 on January 03, 2007, 01:12:34 PM
I have smf arcade 2.0 and I am using wowdk them anddhave modified the index.template.php file to add an arcade button. But when the button shows up the text on the button says search. Also in the admin section the arcade admin panel is blank and I cannot accses it. The mod works flawlessly on the default themes so its obviously a hack i need for the wowdk theme. Can anyone help please.
Title: Re: SMF Arcade
Post by: Snape on January 03, 2007, 02:54:16 PM
Quote from: loopyj22 on January 03, 2007, 01:12:34 PM
I have smf arcade 2.0 and I am using wowdk them anddhave modified the index.template.php file to add an arcade button. But when the button shows up the text on the button says search. Also in the admin section the arcade admin panel is blank and I cannot accses it. The mod works flawlessly on the default themes so its obviously a hack i need for the wowdk theme. Can anyone help please.
The arcade mod guys use the example of copying the search button code in index.template.php, but you need to change the $txt[###] code to $txt['arcade'] to make the labels work.  Also, the wowdk theme has its own Modificiations.<language>.php file- so to be safe, copy ALL the lines that start with '$' in /Themes/default/language/Modifications.<language>.php to your /Themes/wowdk/language/Modifications.<language>.php file before the '?>' code.  The label for the button is $txt['arcade'], so if that definition is missing from your Modifications file, you need to make both the changes I've mentioned to make it work right.
Title: Re: SMF Arcade
Post by: Gobo on January 03, 2007, 07:23:15 PM
Arcade 2.0.4 is out

Those using Arcade 2.0.x series should upgrade since it contains a bug fix with scores not submitting with IE7
Title: Re: SMF Arcade
Post by: RoarinRow on January 04, 2007, 02:13:04 AM
Quote from: akulion on January 03, 2007, 07:23:15 PM
Arcade 2.0.4 is out

Those using Arcade 2.0.x series should upgrade since it contains a bug fix with scores not submitting with IE7

Cool, thanks Aku!   8)
Title: Re: SMF Arcade
Post by: loopyj22 on January 04, 2007, 03:08:59 AM
Thanks snape got it fixed. Awesome
Title: Re: SMF Arcade
Post by: sanax on January 06, 2007, 11:16:20 PM
thanks, but I get a 'test failed' error in the default index_template when I try to apply the mod... any ideas? (2.0.4 version) and (smf 1.1.1)
Title: Re: SMF Arcade
Post by: Gobo on January 06, 2007, 11:23:22 PM
its just the button
u can add that manully later
Title: Re: SMF Arcade
Post by: sanax on January 06, 2007, 11:42:25 PM
Thanks! So, I can go ahead with the installation? Sorry for asking this question but to browse through 157 pages to find a solution is over my head - lol

Thank you!
Title: Re: SMF Arcade
Post by: sanax on January 06, 2007, 11:50:46 PM
It installed without errors but when I clicked on the link to install games I got an error page! Where can I manually download the games from? Sorry for a stupid question!

I've been through this site http://www.smfarcade.net/index.php but can't find any download section
Title: Re: SMF Arcade
Post by: sanax on January 07, 2007, 12:00:16 AM
Thanks, found it!! Jeesszzz.. I must be blind!... will go for an eye check up this week!
Title: Re: SMF Arcade
Post by: Gobo on January 07, 2007, 01:15:35 AM
lol its ok

The download link on that site is VERY awkwardly placed but no one listens to me :P
Title: Re: SMF Arcade
Post by: wilsy on January 12, 2007, 12:10:15 PM
Hi Guys,

Am I being really stupid here, getting this error message when try to play a game: -

You need to enable javascript in order to play games.

Regards,

Wilsy.
Title: Re: SMF Arcade
Post by: sanax on January 12, 2007, 12:34:41 PM
You must enable your browser to play the games. Do a search on Google and you'll see how to set your browser
Title: Re: SMF Arcade
Post by: wilsy on January 12, 2007, 12:51:15 PM
Hi Sanax,

Yes, it's the same in all browsers even though enabled, check it out: -

http://rewindlancs.com/forum

Regards,

Wilsy.
Title: Re: SMF Arcade
Post by: wilsy on January 12, 2007, 01:20:43 PM
Sorted, error in index.template.php (my error!)

Regards,

Wilsy.
Title: Re: SMF Arcade
Post by: Xariov on January 13, 2007, 03:11:47 AM
Hello everyone.. Please I need some help..

I want a new catagory up in the top that says "Arcade", I don't know how to and where to..

Please help me! Thanks in advance.
Title: Re: SMF Arcade
Post by: sanax on January 13, 2007, 06:48:03 AM
Wow... 157 pages?? lol

This question has been asked before but 157 pages? Why can't my arcade save higest score? It worked great but sometimes it doesn't save highscores? Even accuses my users they cheated? lol

Thanks for the help
Title: Re: SMF Arcade
Post by: fwitt on January 13, 2007, 07:38:06 AM
sanax: which arcade version, which SMF version, the cheating detection code is different on different versions (In arcade 2.0.x you can also choose strength of security).

Xariov: do you mean a link in the menubar (FORUM, HELP, SEARCH...)? if so what theme and version of SMF.
Title: Re: SMF Arcade
Post by: sanax on January 13, 2007, 09:31:29 AM
I have the latest version with 1.1.1
Title: Re: SMF Arcade
Post by: dreadk on January 13, 2007, 11:24:09 AM
I am having an issue installing SMF Aracde

SMF 1.1


Getting File is Corrupt or Not Compatible with Version  when trying to install 2.0.5

Title: Re: SMF Arcade
Post by: rider on January 13, 2007, 12:40:34 PM
Quote from: sanax on January 13, 2007, 06:48:03 AM
Wow... 157 pages?? lol

This question has been asked before but 157 pages? Why can't my arcade save higest score? It worked great but sometimes it doesn't save highscores? Even accuses my users they cheated? lol

Thanks for the help
sanax go to your admin panel and in settings for the arcade change cheating mode to this  Cheating check mode  Basic (Warning only) .This should work and you should be able to save highscores as well. 
Title: Re: SMF Arcade
Post by: rider on January 13, 2007, 12:44:49 PM
Quote from: dreadk on January 13, 2007, 11:24:09 AM
I am having an issue installing SMF Aracde

SMF 1.1


Getting File is Corrupt or Not Compatible with Version  when trying to install 2.0.5


In package manager set permissions to all files to writeable.See if that helps.
Title: Re: SMF Arcade
Post by: dreadk on January 14, 2007, 11:18:15 AM
Quote from: rider on January 13, 2007, 12:44:49 PM
In package manager set permissions to all files to writeable.See if that helps.

Tried that, but unfortunately still doesn't work. Only mod i have had problems with installing.

EDIT  Edited the .xml to just be 1.1 instead of RC3 - 1.1.1

Looks like it is working

Edit 2: nope, mod loads, won't install any games though ><
Title: Re: SMF Arcade
Post by: rider on January 14, 2007, 11:50:04 AM
Quote from: dreadk on January 14, 2007, 11:18:15 AM
Quote from: rider on January 13, 2007, 12:44:49 PM
In package manager set permissions to all files to writeable.See if that helps.
How are you trying to load the games?

Tried that, but unfortunately still doesn't work. Only mod i have had problems with installing.

EDIT  Edited the .xml to just be 1.1 instead of RC3 - 1.1.1

Looks like it is working

Edit 2: nope, mod loads, won't install any games though ><
Title: Re: SMF Arcade
Post by: kullforum on January 17, 2007, 09:41:11 AM
saolun arkadaşlar
Title: Re: SMF Arcade
Post by: squirrelof09 on January 17, 2007, 09:07:15 PM
Why is the website down?
www.smfarcade.net ?

Title: Re: SMF Arcade
Post by: Bigguy on January 17, 2007, 10:24:08 PM
Looks like possibly the domain has expired. I would think it will be up again soon.
Title: Re: SMF Arcade
Post by: squirrelof09 on January 17, 2007, 10:26:18 PM
Thats very strange too, becuase I was just viewing smfarcade.net at school today and it was working as far as I know..
Title: Re: SMF Arcade
Post by: Bigguy on January 17, 2007, 10:27:33 PM
I was there as well this afternoon and downloaded a copy of the arcade. It was working great then.
Title: Re: SMF Arcade
Post by: bumperskittles on January 17, 2007, 10:29:36 PM
I hope they will be up soon, mostly since I just purchased a charter membership  :o
Title: Re: SMF Arcade
Post by: crazystu on January 18, 2007, 01:04:48 AM
I hope we get the site sorted out soon, I do not believe any admins were aware that the domain expired today. I was on it earlier :(
Haven't been on Simple Machines for ages :P
Title: Re: SMF Arcade
Post by: rider on January 18, 2007, 06:08:48 AM
Just a over site I'm sure.It will get dealt with soon. :D
Title: Re: SMF Arcade
Post by: Skhilled on January 18, 2007, 03:34:35 PM
We are working on it. :)
Title: Re: SMF Arcade
Post by: NEMINI on January 18, 2007, 04:24:31 PM
is there an IP addy we can use until the domain/DNS issue is resolved?
Title: Re: SMF Arcade
Post by: rider on January 18, 2007, 04:50:40 PM
Quote from: NEMINI on January 18, 2007, 04:24:31 PM
is there an IP addy we can use until the domain/DNS issue is resolved?
If you have any ?'s you can ask them here for now.If you need to d/l something just ask and we'll be able to help there too.I'm sure this will be resovled soon.
Title: Re: SMF Arcade
Post by: Skhilled on January 18, 2007, 04:55:12 PM
This will work for now: http://my.zxspectrum.at/ :)
Title: Re: SMF Arcade
Post by: Threepwud on January 18, 2007, 06:41:23 PM
Is there any way for 2.0.5 to disable the e-mail notifications when your score is beaten?
Title: Re: SMF Arcade
Post by: bumperskittles on January 18, 2007, 07:26:33 PM
Thanks, you guys are great!
Title: Re: SMF Arcade
Post by: crazystu on January 19, 2007, 03:52:18 AM
Another url redirect to access SMF Arcade:
http://smfarcade.fw.nu
Title: Re: SMF Arcade
Post by: cg102 on January 19, 2007, 04:16:03 AM
Ok i have downloaded the script but how do i put it onto the forum?

cg102
Title: Re: SMF Arcade
Post by: rider on January 19, 2007, 05:01:18 AM
Quote from: cg102 on January 19, 2007, 04:16:03 AM
Ok i have downloaded the script but how do i put it onto the forum?

cg102
upload the arcade thru your package manager and follow the steps to install.
Title: Re: SMF Arcade
Post by: Skhilled on January 19, 2007, 06:42:08 AM
The domain had expired and snork13, Lead Customizer for SMF, (once again) graciously renewed it.

The site is still running except for the domain name which will have to propogate again. Everyone can reach the site at the temporary link below until then.

Thanks for your patience and to those who offered their help!  :)

http://my.zxspectrum.at or

http://www.smfarcade.info
Title: Re: SMF Arcade
Post by: jdvarner on January 19, 2007, 09:31:43 PM
Does anyone know how to get this game working in SMF Arcade? See attachment. I got the game to work in php, but will not save score. Would love to have it work in the arcade. Contact me please. Willing to pay for work if you like.

Title: Re: SMF Arcade
Post by: RaXavier69 on January 20, 2007, 03:22:12 AM
can there be somthing amde along side the shop system? where u win x credits for winning a game in a top 5 ? or when u win a challange?
Title: Re: SMF Arcade
Post by: Skhilled on January 20, 2007, 04:45:40 AM
Please read these threads:

http://www.smfarcade.info/index.php/topic,1921.0.html

http://www.smfarcade.info/index.php/topic,1726.0.html

We will not convert games without the author's permission. Even posting a game may be in violation of the author's guidelines. Posting a file = downloading. If their rules state that you cannot make the game available for downloading you've just violated one of their rules.

We strictly adhere to their rules.
Title: Re: SMF Arcade
Post by: sanax on January 20, 2007, 05:26:00 AM
Where can we download the game packages now?
Title: Re: SMF Arcade
Post by: jdvarner on January 20, 2007, 11:42:48 AM
Is it possible to protect games, so only certain members can play them?
Title: Re: SMF Arcade
Post by: saosangmo on January 20, 2007, 12:06:13 PM
Yes, it is!
Quote from: jdvarner on January 20, 2007, 11:42:48 AM
Is it possible to protect games, so only certain members can play them?
Title: Re: SMF Arcade
Post by: Skhilled on January 20, 2007, 05:49:21 PM
Quote from: sanax on January 20, 2007, 05:26:00 AM
Where can we download the game packages now?
Same place.

Quote from: jdvarner on January 20, 2007, 11:42:48 AM
Is it possible to protect games, so only certain members can play them?
If you are using any 2.0 version you do this for membergroups or individual games. You can also allow access per post count.
Title: Re: SMF Arcade
Post by: c05m0 on January 20, 2007, 08:59:03 PM
Quote from: Threepwud on January 18, 2007, 06:41:23 PM
Is there any way for 2.0.5 to disable the e-mail notifications when your score is beaten?

I second this motion, I have a very competitive forum and their PM boxes are overflowing with notifications XD
Title: Re: SMF Arcade
Post by: Skhilled on January 22, 2007, 01:56:11 PM
Not through the settings. You could probably either do it through editing te code. You'd have to ask over at smfarcade. I'm not sure which code to modify for that.
Title: Re: SMF Arcade
Post by: Gosu Schwarz on January 22, 2007, 04:50:08 PM
When will the Arcade web site be back up?
Title: Re: SMF Arcade
Post by: KGIII on January 22, 2007, 05:14:22 PM
Quote from: TheBlackKnight on January 22, 2007, 04:50:08 PM
When will the Arcade web site be back up?

It appears to be up right now assuming you mean smfarcade.info as the site.
Title: Re: SMF Arcade
Post by: Mick. on January 22, 2007, 11:08:06 PM
Do i have to remove my previous arcade version before attempting uploading the new?
Title: Re: SMF Arcade
Post by: KGIII on January 23, 2007, 12:24:12 AM
Quote from: BlueDevil on January 22, 2007, 11:08:06 PM
Do i have to remove my previous arcade version before attempting uploading the new?

When you attempt to install the MOD it should tell you if it can't be upgraded and needs to be uninstalled and then re-installed.
Title: Re: SMF Arcade
Post by: Skhilled on January 23, 2007, 08:04:34 AM
Quote from: BlueDevil on January 22, 2007, 11:08:06 PM
Do i have to remove my previous arcade version before attempting uploading the new?
You should uninstall any 1.x versions first if upgrading. 2.0 versions do not need to be uninstall if upgrading. But if downgrading then you should uninstall first. :)
Title: Re: SMF Arcade
Post by: Gobo on January 23, 2007, 11:01:56 AM
skhilled wore a wig and went on a girly forum to download games lol
Title: Re: SMF Arcade
Post by: Skhilled on January 23, 2007, 03:34:01 PM
Wanna make something of it? LOL
Title: Re: SMF Arcade
Post by: Gobo on January 23, 2007, 08:43:59 PM
lool i couldnt resist
Title: Re: SMF Arcade
Post by: umutweb on January 25, 2007, 08:44:22 AM
i wish the i would use 2.x version but i can't upgrade 1 to 2.

It isn't supported at this time :) And I don't want my scores to be deleted.
Title: Re: SMF Arcade
Post by: niko on January 25, 2007, 11:42:05 AM
1.x to 2.0 update is risk-free if upgrading doesn't work you can always go back to 1.x. installArcade.php has converter
Title: Re: SMF Arcade
Post by: small090 on January 26, 2007, 11:52:01 AM
Where can a get games because when looking through the topic, I cannot find a link that works. Also, How do you install these games? I installed a couple but cannot get the high score to be shown. (Probably it wasn't compatible with SMF.) Can you please advise?
Title: Re: SMF Arcade
Post by: Bigguy on January 26, 2007, 10:45:35 PM
This link was just a couple pages back, you should find what you need there:

http://my.zxspectrum.at/
Title: Re: SMF Arcade
Post by: Skhilled on January 27, 2007, 02:04:52 AM
It's now http://www.smfarcade.info. :)
Title: Re: SMF Arcade
Post by: small090 on January 27, 2007, 06:03:00 AM
Quote from: Bigguy on January 26, 2007, 10:45:35 PM
This link was just a couple pages back, you should find what you need there:

http://my.zxspectrum.at/

Quote from: Skhilled on January 27, 2007, 02:04:52 AM
It's now http://www.smfarcade.info. :)

Thanks, but how do I install them?

EDIT: Found it out, just uploaded them.  :)
Title: Re: SMF Arcade
Post by: Bigguy on January 27, 2007, 02:50:07 PM
Oh, ok, lol Good to see it up and running, were ever it is.

Quote from: Skhilled on January 27, 2007, 02:04:52 AM
It's now http://www.smfarcade.info. :)
Title: Re: SMF Arcade
Post by: houston on January 27, 2007, 03:47:09 PM
I have a member group setup to administrate the arcade. When ever they try to add a description to an installed game it returns this error.

Unable to update game data (internalName)

When I (Site Admin) try it,it works fine.

Running smf arcade 2.06 on SMF 1.1.1

Any thoughts or comments on this one

Cheers
Title: Re: SMF Arcade
Post by: canuckguy on January 27, 2007, 11:14:47 PM
ATTENTION NIKO

The link in the package page is wrong, goes to a site thats making money off this that shouldnt be.

http://custom.simplemachines.org/mods/index.php?mod=36
Title: Re: SMF Arcade
Post by: small090 on January 29, 2007, 11:23:13 AM
Quote from: canuckguy on January 27, 2007, 11:14:47 PM
ATTENTION NIKO

The link in the package page is wrong, goes to a site thats making money off this that shouldnt be.

http://custom.simplemachines.org/mods/index.php?mod=36

That link doesn't. It works perfectly fine.
Title: Re: SMF Arcade
Post by: houston on January 29, 2007, 12:58:54 PM
How do I prevent the any spiders from trying to get access to the games. I am getting a lager number of guests cannot access the arcade error all coming from the same ip address which traces back to Goggle.
Title: Re: SMF Arcade
Post by: fwitt on January 29, 2007, 05:58:31 PM
Quote from: houston on January 29, 2007, 12:58:54 PM
How do I prevent the any spiders from trying to get access to the games. I am getting a lager number of guests cannot access the arcade error all coming from the same ip address which traces back to Goggle.

hide the arcade link from guests should probly do it

in index.template.php add the line

if ($user_info['is_logged'])


before the echo statement for the arcade that will mean there is no link for the spiders to follow.

alternatively i think you can set up a robots.txt that stops them following that link but i'm not sure how to do that
Title: Re: SMF Arcade
Post by: houston on January 29, 2007, 07:12:12 PM
Quote from: fwitt on January 29, 2007, 05:58:31 PM
Quote from: houston on January 29, 2007, 12:58:54 PM
How do I prevent the any spiders from trying to get access to the games. I am getting a lager number of guests cannot access the arcade error all coming from the same ip address which traces back to Goggle.

hide the arcade link from guests should probly do it

in index.template.php add the line

if ($user_info['is_logged'])


Thanks, I made the edits and will wait to see what happens.

CHEERS

before the echo statement for the arcade that will mean there is no link for the spiders to follow.

alternatively i think you can set up a robots.txt that stops them following that link but i'm not sure how to do that
Title: Re: SMF Arcade
Post by: fritpa on January 30, 2007, 12:55:54 PM
Where can I get free games? I see some links, but in all of them to get some game I have to pay, there is any place to have free or GPL games?

Thanks.
Title: Re: SMF Arcade
Post by: rider on January 30, 2007, 01:18:47 PM
Click the link in my sig and goto the downloads.You can d/l from smfarcade.info.Hope this helps.
Title: Re: SMF Arcade
Post by: fritpa on January 30, 2007, 01:55:41 PM
I'm sorry I'm such an idiot, I don't see the game link before, thank you, and I'm sorry again.
Title: Re: SMF Arcade
Post by: rider on January 30, 2007, 02:27:49 PM
Quote from: fritpa on January 30, 2007, 01:55:41 PM
I'm sorry I'm such an idiot, I don't see the game link before, thank you, and I'm sorry again.
NP.Glad to help.If you have anymore problems,please post at smfarcade.info
We'll be able to help you better there.
Title: Re: SMF Arcade
Post by: Gosu Schwarz on January 30, 2007, 09:00:25 PM
I am on dial-up so I don't want to download all those games and upload them. Is there a faster way of doing this?
Title: Re: SMF Arcade
Post by: DrizzetPheonix on January 30, 2007, 11:08:16 PM
Where do I download the games for the arcade?
Title: Re: SMF Arcade
Post by: rider on January 31, 2007, 05:25:54 AM
Quote from: DrizzetPheonix on January 30, 2007, 11:08:16 PM
Where do I download the games for the arcade?
Click on my sig. and goto the downloads section.
Title: Re: SMF Arcade
Post by: keke on January 31, 2007, 12:15:22 PM
hey i've made a flash game that i'd like for my friend's forum arcade.
i was just wondering is there some sort of code to add to a button to make it submit the score?
i've tried things but can't manage to make it work. or do i have to request for someone to convert it for me? is there not like a tutorial that tells you how to convert it yourself?
Title: Re: SMF Arcade
Post by: Skhilled on January 31, 2007, 02:16:43 PM
Quote from: TheBlackKnight on January 30, 2007, 09:00:25 PM
I am on dial-up so I don't want to download all those games and upload them. Is there a faster way of doing this?
No. Only upgrading your connection will be faster.

Quote from: keke on January 31, 2007, 12:15:22 PM
hey i've made a flash game that i'd like for my friend's forum arcade.
i was just wondering is there some sort of code to add to a button to make it submit the score?
i've tried things but can't manage to make it work. or do i have to request for someone to convert it for me? is there not like a tutorial that tells you how to convert it yourself?
Create a post over at smfarcade.info.
Title: Re: SMF Arcade
Post by: majo on February 06, 2007, 11:30:03 AM
I am getting this error

Any Fix on this ?

8: Undefined index: arcade_settings
File: /my_root../../Sources/Subs.php
Line: 2818 ]

I do have custom theme, and yes " i don't have arcade_settings" or Settings on my left block.

I hope somebody would be able to help me adding that

using

Mirage TP Theme.
Title: Re: SMF Arcade
Post by: rider on February 06, 2007, 02:17:33 PM
Click on my sig link and you'll get more help there. :)
Title: Re: SMF Arcade
Post by: niko on February 06, 2007, 03:29:25 PM
Seems like your custom theme has modifications language. You need to copy arcade strings there.
Title: Re: SMF Arcade
Post by: goitalone on February 07, 2007, 12:36:44 AM
Ok...I think I did everything right and even MANUALLY INSTALLED this on default theme and another theme called Moonraker, but...everything looks ok but the games will not play.

Any ideas?
Title: Re: SMF Arcade
Post by: rider on February 07, 2007, 05:50:07 AM
Quote from: goitalone on February 07, 2007, 12:36:44 AM
Ok...I think I did everything right and even MANUALLY INSTALLED this on default theme and another theme called Moonraker, but...everything looks ok but the games will not play.

Any ideas?
How did you install the games?If you used the upload zip file option it might not work.Unzip the games and upload them to your Games folder in your FTP.Try that and see if that works.
Title: Re: SMF Arcade
Post by: kullforum on February 07, 2007, 08:38:59 AM
Quote from: kullforum on January 17, 2007, 09:41:11 AM
saolun arkadaşlar
hjgj
Title: Re: SMF Arcade
Post by: goitalone on February 07, 2007, 02:38:10 PM
I did upload them as I know it will not upload them via the .zip

Like I said, Everything looks great but the games dont play and I am running out of ideas.

Here is my forum so you can see for yourself: http://infotipper.com/forum
Title: Re: SMF Arcade
Post by: niko on February 07, 2007, 03:45:11 PM
Looks like you don't have modified index.php since arcade won't show up
Title: Re: SMF Arcade
Post by: goitalone on February 07, 2007, 03:49:20 PM
Can duplicate lines keep it from working? I have like 20 mods installed and I get this sick feeling that, after seeing some duplicate lines etc., that might be why...I am now tempted to uninstall all my mods, then replace all the files in my Moonraker theme which I am using instead of default, and start from scratch being more careful this time around as I had some mods not install correctly, and it apparently does not uninstall all the lines after uninstalling them.

UUUGH :(

Title: Re: SMF Arcade
Post by: goitalone on February 07, 2007, 04:05:02 PM
correction: I have 34 mods installed
Title: Re: SMF Arcade
Post by: Solari on February 11, 2007, 02:47:11 PM
This won't install for me, saying:

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

I do have a few other mods installed, so they may have mucked up the index.template.php?  Does anyone have the URL of that really cool "virtual" package installer that lets you simulate an install and see what exactly is being done?  Much appreciated.

thanks,
Ray
Title: Re: SMF Arcade
Post by: Bigguy on February 11, 2007, 03:56:00 PM
You could always install it with the error and then do the modifications to the index.template.php. All the edits can be found in the .xml file.
Title: Re: SMF Arcade
Post by: fwitt on February 11, 2007, 08:31:49 PM
Quote from: Solari on February 11, 2007, 02:47:11 PM
Does anyone have the URL of that really cool "virtual" package installer that lets you simulate an install and see what exactly is being done?  Much appreciated.

thanks,
Ray

http://server.daniel15.com/smf/package.php
Title: Re: SMF Arcade
Post by: goitalone on February 13, 2007, 05:21:57 PM
QuoteYou could always install it with the error and then do the modifications to the index.template.php. All the edits can be found in the .xml file.

Yeah I finally got all my mods working..the problems I encounter are usually always mods that do not uninstall all the way correctly, or ones that have to be changed manually.

I guess thats what I get for falling in love with a customized theme eh?

Oh well, it's worth it. :)

Title: Re: SMF Arcade
Post by: houston on February 19, 2007, 09:48:27 PM
I am about to upgrade from 2.0.6 to 2.0.7 and noticed after running the package installer that all the upgrade is doing, is replacing the files. Is this correct. Every other mod I have installed has modified the existing files in some way.

Currently running smf arcade in SMF 1.1.2

Cheers
Title: Re: SMF Arcade
Post by: Azasuke on February 19, 2007, 10:03:25 PM
user and i got a lot this error =/
session expire or smt like that
Title: Re: SMF Arcade
Post by: crud3w4re on February 20, 2007, 07:54:37 AM
Are there anymore games to add?
Title: Re: SMF Arcade
Post by: goitalone on February 20, 2007, 08:16:35 AM
I went to freeonlinegames.com and all those other places that have flash games for download and added my own...but, it didn't save my scores to my forums scoreboard...not sure how to make it do that yet.

Get Stuntbike, it's great
Title: Re: SMF Arcade
Post by: chicote on February 23, 2007, 12:55:59 PM
hello friend
sorry, but my English is one catastrofe

mine smf arcade does not function.

when I choose a game to play, the flash of the game not aparce, to only hear the sound.

I leave an image here better to understand

my forum version 1.1.2

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg105.imageshack.us%2Fimg105%2F226%2Fsmfarcadegb7.th.jpg&hash=bfb25e6c9d86b4c4d2a7b28ca8f4e6a4c29d5925) (http://img105.imageshack.us/my.php?image=smfarcadegb7.jpg)

chicote


Title: Re: SMF Arcade
Post by: epyone on February 25, 2007, 01:00:41 AM
Hi,

It's a very usefull mod. But I have a little problem: I'm fed up having multiple PM every time we have a new highscore. Is there a way to desactivate it please?
Title: Re: SMF Arcade
Post by: foxxi on February 26, 2007, 08:37:46 AM
Hy! Please Help!

What's the problem?

Fatal error: require_once() [function.require]: Failed opening required 'SSI.php' (include_path='.;c:\Xampp\php\pear\') in Z:\!!..Web..!!\fly2005forum\Sources\Load.php(1708) : eval()'d code(35) : eval()'d code on line 32

My forum SMF 1.1RC3.
Title: Re: SMF Arcade
Post by: fwitt on February 26, 2007, 01:48:36 PM
Quote from: foxxi on February 26, 2007, 08:37:46 AM
Hy! Please Help!

What's the problem?

Fatal error: require_once() [function.require]: Failed opening required 'SSI.php' (include_path='.;c:\Xampp\php\pear\') in Z:\!!..Web..!!\fly2005forum\Sources\Load.php(1708) : eval()'d code(35) : eval()'d code on line 32

My forum SMF 1.1RC3.

it looks like you have a files path wrong somewhere as include_path='.;c:\Xampp\php\pear\' i dont think should have the .; before the c:\.

I've no idea what this has to do with the arcade though
Title: Re: SMF Arcade
Post by: foxxi on February 27, 2007, 04:20:13 AM
where? or which file? I'm not found include_path='.;c:\Xampp\php\pear\' nowhere  :'(
Title: Re: SMF Arcade
Post by: woad.raider on February 27, 2007, 07:59:19 AM
hi,

this modification is very nice,thanks arcade team.

but I want new games,

for example;

contra force

popeye

battle city(90 tank)

super mario

road fighter

and captain majeed :P (joke :D )  others real :)

thanks...
Title: Re: SMF Arcade
Post by: niko on February 27, 2007, 01:19:20 PM
Quote from: foxxi on February 26, 2007, 08:37:46 AM
Hy! Please Help!

What's the problem?

Fatal error: require_once() [function.require]: Failed opening required 'SSI.php' (include_path='.;c:\Xampp\php\pear\') in Z:\!!..Web..!!\fly2005forum\Sources\Load.php(1708) : eval()'d code(35) : eval()'d code on line 32

My forum SMF 1.1RC3.

I don't think it is related to arcade

Quote from: fwitt on February 26, 2007, 01:48:36 PM
it looks like you have a files path wrong somewhere as include_path='.;c:\Xampp\php\pear\' i dont think should have the .; before the c:\.

I've no idea what this has to do with the arcade though

. means current directory and ; separates directories so it means "current directory" and "c:\xampp..."
Title: Re: SMF Arcade
Post by: Chris™ on February 28, 2007, 03:49:24 AM
Some images are missing.
Title: Re: SMF Arcade
Post by: foxxi on February 28, 2007, 07:18:03 AM
Arcade 2.0.6 and 2.0.7
Title: Re: SMF Arcade
Post by: RoarinRow on February 28, 2007, 12:36:20 PM
Quote from: Chris™ on February 28, 2007, 03:49:24 AM
Some images are missing.

I had all my images missing, but ran this mysql script:

update smf_arcade_games
set thumbnail = CONCAT(smf_arcade_games.internalName,'.gif');

it retrieved all, but 5 that had an extension of .GIF or .png
Title: Re: SMF Arcade
Post by: Sacrifist on March 01, 2007, 02:50:13 PM
my members for some reason cant play any of the games. My forum error log just says this when they try. Game not found
The strange thing it that myself and another admin have no problem playing the games. Any ideas? When I first installed it I had an error for the index.template.php but I assumed that was just for the button and I manually added that so Im wondering why its doing this.
Title: Re: SMF Arcade
Post by: redone on March 01, 2007, 03:25:37 PM
I would post over at SMFarcade and they will be able to help. If members cannot play games 9/10 it is a permission related problem.
 (http://www.smfarcade.info)
Title: Re: SMF Arcade
Post by: Exochat on March 02, 2007, 09:57:27 AM
I have SMF Arcade installed on 1.1.2 forum
It seems to be running ok but I get the following Error Log whenever I have been on the Statistics part of the Arcade:

http://exochat.com/index.php?action=arcade;sa=stats

2: Invalid argument supplied for foreach()
File: /home/exochat/public_html/Themes/default/ArcadeMenu.template.php (arcade_statistics sub template - eval?)
Line: 586


Although it isnt making any obvious problems with the Mod or Site I was wondering what is causing it and whether any has a fix for it that is simple to do?
Title: Re: SMF Arcade
Post by: Skhilled on March 03, 2007, 05:08:48 AM
Looks like a permissions problem. Try setting it to none and see if that helps. If so, you will need to adjust your permissions. also make sure you have each game set to "enabled" as well as the arcade itself.
Title: Re: SMF Arcade
Post by: DOOM666 on March 06, 2007, 10:38:53 PM
i keep getting this code when i or the members hit the show favorties only button.

http://www.dfaclan.nationvoice.com/dfa_forums/index.php?action=arcade;favorites 
8: Undefined index: lang
File: /home/wwwdfacl/public_html/dfa_forums/Themes/default/ArcadeMenu.template.php (eval?)
Line: 564


SMF 1.1.2
Arcade SMF 2.0.7

DOOM
Title: Re: SMF Arcade
Post by: Amanda G on March 07, 2007, 12:49:12 AM
it doesnt work for me.. i'm on smf 1.1.1 and i got latest version of arcade. all i get is a banner on top of forum saying everything is updated table screated and then i leave page and thats it, nothing has changed, tehres no links anywhere and i cant add games if i cant find it.. ? any ideas?
Title: Re: SMF Arcade
Post by: Bigguy on March 07, 2007, 01:37:21 AM
Are you using a custom theme. ???
Title: Re: SMF Arcade
Post by: Amanda G on March 07, 2007, 01:58:48 PM
Yea... but i dont get the hot to install mumbo jumbo lol. if u cant upload it or copy-past something into board index its over my head.
Title: Re: SMF Arcade
Post by: B@NE on March 07, 2007, 03:27:30 PM
Where is games for this mod,i can't install nothing???
Title: Re: SMF Arcade
Post by: Amanda G on March 07, 2007, 03:55:33 PM
I found the arcade admin section all of a sudden.. is that were we go to add games? If theres a code i need to paste somewhere I can do that i just need to know where and what the code is.

I'm not very good with smf stuff.. all the database n files things confuse me alot.
Title: Re: SMF Arcade
Post by: Bigguy on March 07, 2007, 04:14:12 PM
Go to www.smfarcade.info to download games. If you upload them into your "Games" folder that is in the root of your SMF they will show up in the arcade admin panel.
Title: Re: SMF Arcade
Post by: Achilles991 on March 09, 2007, 10:53:44 AM
I've got problem because my users started to play games, and don't post anymore. I tried with posts per day but that is not OK for all users, and i can't make number of posts required because newbies cant play. I think that perfect requirement will be posts per user total time logged in. Is that possible anyway?
Title: Re: SMF Arcade
Post by: Metal_GunBlade on March 17, 2007, 04:20:47 AM
Hi, I tried installing this mod on smf 1.1.2 but I got an error with my index.template.php

Could you please help me with this?!

Thanks!
Title: Re: SMF Arcade
Post by: Bigguy on March 17, 2007, 12:48:13 PM
What version of the arcade did you install. ???
Title: Re: SMF Arcade
Post by: Metal_GunBlade on March 17, 2007, 01:14:33 PM
Version 2.0.7
Title: Re: SMF Arcade
Post by: Bigguy on March 17, 2007, 02:01:44 PM
You should be able to install the mod fine. After install download your index.template.php file and make sure the button code for the arcade has been put in. Also check that before this line:

if (in_array($context['current_action'], array('admin',

This was put in:

'managegames', 'arcadesettings', 'arcadecategory',

and before this line:

if (in_array($context['current_action'], array('search',

this was put in:

'arcade',

If your using the default theme this should be the button code you want as well:

    echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
</td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
Title: Re: SMF Arcade
Post by: Metal_GunBlade on March 17, 2007, 02:11:58 PM
Ok, so if those codes do not exist after installation, I should add them...

But after or befor which line should I add the button code?!
Title: Re: SMF Arcade
Post by: Bigguy on March 17, 2007, 02:22:31 PM
You can add the button code anywhere between the other button codes. The comments will help you out decide where you want it:

   // Show the [home] button

       // Show the [help] button.

   // How about the [search] button?

etc...
Title: Re: SMF Arcade
Post by: Vinspire on March 18, 2007, 09:13:13 PM
I've installed the newest version of the arcade which is 2.0.7 but all the games and the highscore went missing.

How do I retrieve it back ? Thanks :)
Title: Re: SMF Arcade
Post by: thatguy on March 19, 2007, 05:30:06 PM
Quote from: Bigguy on March 17, 2007, 02:22:31 PM
You can add the button code anywhere between the other button codes. The comments will help you out decide where you want it:

   // Show the [home] button

       // Show the [help] button.

   // How about the [search] button?

etc...

Will this be fixed so that those who are not familiar or comfortable with editing code don't have to do this?  
Title: Re: SMF Arcade
Post by: Metal_GunBlade on March 20, 2007, 04:44:51 AM
Ok, I installed the mod with some games, but they don't seem to load at all...

(SMF 1.1.2, Arcade 2.0.7, Game Pack 0)
Title: Re: SMF Arcade
Post by: Bigguy on March 20, 2007, 10:20:34 AM
You shouldn't have to do anything if you are installing to the default theme. Only if another mod conflicts with this one or you are using a custom theme will you have to edit manually.

Quote from: thatguy on March 19, 2007, 05:30:06 PM
Quote from: Bigguy on March 17, 2007, 02:22:31 PM
You can add the button code anywhere between the other button codes. The comments will help you out decide where you want it:

   // Show the [home] button

       // Show the [help] button.

   // How about the [search] button?

etc...

Will this be fixed so that those who are not familiar or comfortable with editing code don't have to do this?  
Title: Re: SMF Arcade
Post by: Hendricius on March 20, 2007, 11:16:14 AM
Works fine for me except it seems like I can not save Highscores.

QuoteAn Error Has Occurred!
Score was not saved because checks failed and you probably tried to cheat or your browser is malfunctioning
Title: Re: SMF Arcade
Post by: AliLoU on March 20, 2007, 01:18:48 PM
Hi,
I've a problem with SMF Arcade 2.0.7 (SMF 1.1.2 French)
They are no errors in install but when I click on "Continue to Arcade Administration" i'm on the index of the forum... i changed the theme = nothing !

when I go to index.php?action=arcade => same :s

thx for help
Title: Re: SMF Arcade
Post by: fwitt on March 20, 2007, 04:10:32 PM
have you got the correct language files, french for arcade 2.0.7 installed?
Title: Re: SMF Arcade
Post by: AliLoU on March 20, 2007, 05:04:23 PM
there aren't language files for french, so i renamed language files in arcade.french.php ...
and add into Modifications.french.php lines from Modifications.english.php

nothing changed :-[
Title: Re: SMF Arcade
Post by: Achilles991 on March 23, 2007, 10:11:51 AM
Can someone help me with this??

Quote from: Achilles991 on March 09, 2007, 10:53:44 AM
I've got problem because my users started to play games, and don't post anymore. I tried with posts per day but that is not OK for all users, and i can't make number of posts required because newbies cant play. I think that perfect requirement will be posts per user total time logged in. Is that possible anyway?
Title: Re: SMF Arcade
Post by: GravuTrad on March 23, 2007, 02:59:20 PM
Quote from: AliLoU on March 20, 2007, 05:04:23 PM
there aren't language files for french, so i renamed language files in arcade.french.php ...
and add into Modifications.french.php lines from Modifications.english.php

nothing changed :-[
ask to the author:

can i make them please?

thanks.
Title: Re: SMF Arcade
Post by: GravuTrad on March 23, 2007, 03:01:14 PM
other question, does ultimatearcade.com swf can be taken in the scores option?
Title: Re: SMF Arcade
Post by: rider on March 23, 2007, 04:09:43 PM
Quote from: GravuTrad on March 23, 2007, 02:59:20 PM
Quote from: AliLoU on March 20, 2007, 05:04:23 PM
there aren't language files for french, so i renamed language files in arcade.french.php ...
and add into Modifications.french.php lines from Modifications.english.php

nothing changed :-[
ask to the author:

can i make them please?

thanks.
If you wish to translate langauge files for the arcade go ahead.As for your ? about the games,only the game packs from smfarcade and some IPB games will work in the arcade.If you click on the link in my sig,it will take you to the support site for the arcade.
Title: Re: SMF Arcade
Post by: GravuTrad on March 23, 2007, 06:27:17 PM
this translation is to give to the author, and to all people who want it, not for me...
Title: Re: SMF Arcade
Post by: JSizzal on March 24, 2007, 02:36:16 PM
Hi, where can I download more games, ive already been to smfarcade.info

another question

how do i deactivate emails sent whenever a high score is beaten..
Title: Re: SMF Arcade
Post by: Skhilled on March 24, 2007, 04:42:06 PM
Do a search for "Where can I find more games?" at smfarcade.

There is a hack there that will disable the pm's but I know if it will for emails.
Title: Re: SMF Arcade
Post by: ProtoType on March 25, 2007, 11:08:59 PM
Has anyone managed to get thi arcade menu button to show in the Black Rain theme?
Code is not the same as default. Hack that I am, I put it in anyway. The arcade will show and work, but the menu button is weird. I put it back like it was.
I know this is something simple, but so am I  :), and I'm overlooking something.
Thanks,
ProtoType
Title: Re: SMF Arcade
Post by: fwitt on March 26, 2007, 06:59:22 AM
the easiest way to get the menu button in a different theme is to cross a copy of the calender button from your new theme with the arcade button in the default

arcade button code in default


    echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
</td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


calender code in default

echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


if you look at how similar these two blocks of code are, you are almost just replacing the word calender with the word arcade at every occurance, with the exception of calender24 which gets replaced with arcade.

you also need to look for other lines in the index.template that refer to the calender and add the arcade to these.

ie in the default theme

if (in_array($context['current_action'], array('search', 'arcade', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];


notice how arcade has been added to the array in the same way as calender.

this method works for most themes.

some themes have gif images for the buttons in which case you will need a matching gif image that says arcade.
Title: Re: SMF Arcade
Post by: ProtoType on March 26, 2007, 07:20:59 AM
Thanks fwitt, greatly appreciated.
ProtoType
Title: Re: SMF Arcade
Post by: xyxis_fahim on April 01, 2007, 11:27:43 PM
Hi,
How do you fix this error?
I recently moved to a new domain+server so it's on my old database which is causing the error?

Score was not saved because checks failed and you probably tried to cheat or your browser is malfunctioning    
Title: Re: SMF Arcade
Post by: rider on April 02, 2007, 12:20:40 AM
Quote from: xyxis_fahim on April 01, 2007, 11:27:43 PM
Hi,
How do you fix this error?
I recently moved to a new domain+server so it's on my old database which is causing the error?

Score was not saved because checks failed and you probably tried to cheat or your browser is malfunctioning   
Go into your arcade settings and set the cheat mode to basic and permissions to none.Should fix it.
Title: Re: SMF Arcade
Post by: JSizzal on April 02, 2007, 04:31:21 PM
How do I show the new games Ive installed on a separate page or table..
Title: Re: SMF Arcade
Post by: rider on April 02, 2007, 04:35:57 PM
Quote from: JSizzal on April 02, 2007, 04:31:21 PM
How do I show the new games Ive installed on a separate page or table..
You could make a new category and call it new games.
Title: Re: SMF Arcade
Post by: Mariano on April 02, 2007, 08:17:02 PM
Is there any way to make appear the trophies in a member profile. For example, when you win a game in Vbulletin and you're the number 1 in that game automatically the system addes you a star or something ... Is there any way to do that ?
Title: Re: SMF Arcade
Post by: Col on April 02, 2007, 09:06:38 PM
Quote from: Achilles991 on March 23, 2007, 10:11:51 AM
Can someone help me with this??

Quote from: Achilles991 on March 09, 2007, 10:53:44 AM
I've got problem because my users started to play games, and don't post anymore. I tried with posts per day but that is not OK for all users, and i can't make number of posts required because newbies cant play. I think that perfect requirement will be posts per user total time logged in. Is that possible anyway?

Why can't you make it so that members must reach a certain post group before they have access? And then use the posts per day requirement? If you cannot make it work for you, I'd be inclined to claim that server load became an issue, so you've had to remove the feature. I don't the time logged in would be that useful, and would have to discount the time they are logged in and playing the arcade, I guess.
Title: Re: SMF Arcade
Post by: rider on April 03, 2007, 05:34:39 AM
Quote from: Mariano on April 02, 2007, 08:17:02 PM
Is there any way to make appear the trophies in a member profile. For example, when you win a game in Vbulletin and you're the number 1 in that game automatically the system addes you a star or something ... Is there any way to do that ?
There is a hack for this.You'll have to go to the arcade site for it.Click the link in my sig.
Title: Re: SMF Arcade
Post by: samames on April 03, 2007, 08:12:55 AM
i've got the 2.0.7 version of this mod and have downloaded a lot of the gamepacks, only to discovering that a load of them dont work! I think the ones that dont work are .swf games which require the flash player (which i have installed). here (http://www.liveonfire.net/forums/index.php?action=arcade) is my arcade [it hasnt gone live yet you need the url to view it]
Title: Re: SMF Arcade
Post by: samames on April 03, 2007, 08:13:25 AM
Please help me find a solution! :D
Title: Re: SMF Arcade
Post by: samames on April 03, 2007, 08:51:21 AM
btw - when you start some games it says "please wait while checking session" and then another line of text flashes very quickly saying somthing like "you must have adobe flash player installed for this game to work" (however as stated earlier, i already have flash player installed) then the game either works fine or the game box simply shrinks right down so that you cannot see the text or the game that is supposed to be in that area. please help me get this fixed :)
Title: Re: SMF Arcade
Post by: rider on April 03, 2007, 02:47:12 PM
Quote from: samames on April 03, 2007, 08:51:21 AM
btw - when you start some games it says "please wait while checking session" and then another line of text flashes very quickly saying somthing like "you must have adobe flash player installed for this game to work" (however as stated earlier, i already have flash player installed) then the game either works fine or the game box simply shrinks right down so that you cannot see the text or the game that is supposed to be in that area. please help me get this fixed :)
Go into admin>settings and change the cheat mode to basic and permissions to none.That should help with please wait while checking session.Also did you get the game packs from smfarcade.Those are the only games that we support.How did you install the games?
Title: Re: SMF Arcade
Post by: samames on April 03, 2007, 03:23:45 PM
i did get the games from you yes, and i uploaded them with the arcade uploader thingy in admin panel
Title: Re: SMF Arcade
Post by: peta-sucks.com on April 03, 2007, 04:28:45 PM
I get this error on smf 1.2
Title: Re: SMF Arcade
Post by: rider on April 03, 2007, 04:36:30 PM
Quote from: peta-sucks.com on April 03, 2007, 04:28:45 PM
I get this error on smf 1.2

I'm not sure why this happens but its ok to install the arcade.It will not mess up anything.Are you installing in the default theme?
Title: Re: SMF Arcade
Post by: peta-sucks.com on April 03, 2007, 04:44:58 PM
yes
Title: Re: SMF Arcade
Post by: samames on April 05, 2007, 07:04:53 PM
you may find that it cant create the button to the arcade, possibly due to prevbious mods... Just install it, rider's right
Title: Re: SMF Arcade
Post by: rider on April 05, 2007, 07:10:44 PM
It will create the button in the default theme only.If it doesn't then you need to check your default langauge for your site.
Title: Re: SMF Arcade
Post by: TTP on April 08, 2007, 04:12:04 AM
i receive this error message when i try to uploading game

Importing games and scores
Table 'tal0709601431977.smf_games' doesn't exist

anyone can help?
Title: Re: SMF Arcade
Post by: niko on April 08, 2007, 04:24:02 AM
Quote from: samames on April 03, 2007, 08:51:21 AM
btw - when you start some games it says "please wait while checking session" and then another line of text flashes very quickly saying somthing like "you must have adobe flash player installed for this game to work" (however as stated earlier, i already have flash player installed) then the game either works fine or the game box simply shrinks right down so that you cannot see the text or the game that is supposed to be in that area. please help me get this fixed :)

It will take some time to detect it, I will try to fix this however
Title: Re: SMF Arcade
Post by: stormiecub on April 09, 2007, 09:05:23 PM
5.     Execute Modification     ./Themes/default/index.template.php     Test failed

How can I correct this? It appears to be the header that's the problem.
Title: Re: SMF Arcade
Post by: niko on April 10, 2007, 06:27:49 AM
Quote from: stormiecub on April 09, 2007, 09:05:23 PM
5.     Execute Modification     ./Themes/default/index.template.php     Test failed

How can I correct this? It appears to be the header that's the problem.

Just install and do changes to index.template.php manually. Some other mod seems to block some changes.
Title: Re: SMF Arcade
Post by: rwmisner on April 14, 2007, 10:25:21 PM
hey having problems installing arcade i can get other mods to install but this one this is the error i get Fatal error: main(): Failed opening required '/home/virtual/site268/fst/var/www/html/forum/Sources/ArcadeInstall.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site268/fst/var/www/html/forum/Packages/temp/package_install.php on line 25

could someone please help me
Title: Re: SMF Arcade
Post by: Joe1221 on April 15, 2007, 05:31:50 AM
I am getting this error and I have no idea what else I can do.

SMF Arcade 2.0.0 Installer
Creating tables

Fatal error: Call to undefined function CreateTables() in C:\wamp\blah\blah\blah\blah\tmp\package_install.php on line 75

I already created the tables manually and I still get this error.
Title: Re: SMF Arcade
Post by: rider on April 15, 2007, 05:39:34 AM
Quote from: Joe1221 on April 15, 2007, 05:31:50 AM
I am getting this error and I have no idea what else I can do.

SMF Arcade 2.0.0 Installer
Creating tables

Fatal error: Call to undefined function CreateTables() in C:\wamp\blah\blah\blah\blah\tmp\package_install.php on line 75

I already created the tables manually and I still get this error.
Did you get this message after you ran the installArcade.php in your browser?Did you make all files writable in package manager before installing the arcade?
Title: Re: SMF Arcade
Post by: Joe1221 on April 15, 2007, 11:50:55 AM
Ok, I ran the installarcade.php file while I had all files writeable and after clicking on the new install link it takes forever and just sends me to a page that says "The connection was reset"

It used to send me to the same fatal error page. I tried installing it through the package manager though with all files writeable and it did send me to the same page.
Title: Re: SMF Arcade
Post by: Joe1221 on April 15, 2007, 02:42:18 PM
Wow, just figured it out. The temp folder in my packages folder was names tmp instead of temp.
Title: Re: SMF Arcade
Post by: Shonick on April 16, 2007, 10:35:08 PM
I have a problem on this mod.It does not allow any groups except the regular group access to the board.

I already set them allow to access the arcade section.

Here is my setting:

in the setting: permission mode --->category only

     enable check posts ---->no
categories: in default category ---->I selected all group member( I only have one category(default))
game section: when I install game I choose the default category

So what is wrong here. Did I set it correct. And why all the special group can not access to the board?

Please help ,thanks
Title: Re: SMF Arcade
Post by: rider on April 17, 2007, 05:58:28 AM
Quote from: viet on April 16, 2007, 10:35:08 PM
I have a problem on this mod.It does not allow any groups except the regular group access to the board.

I already set them allow to access the arcade section.

Here is my setting:

in the setting: permission mode --->category only

     enable check posts ---->no
categories: in default category ---->I selected all group member( I only have one category(default))
game section: when I install game I choose the default category

So what is wrong here. Did I set it correct. And why all the special group can not access to the board?

Please help ,thanks
Change it to none on the category permissions.Also have you changed the permissions per membergroup?
Title: Re: SMF Arcade
Post by: |||||| on April 22, 2007, 10:55:43 PM
Hi,

I tried to install this package on my forum and im get this message.

Quote5.     Execute Modification     ./Themes/default/index.template.php     Test failed

Should i continue?
Title: Re: SMF Arcade
Post by: rider on April 22, 2007, 11:19:09 PM
Yes you can install it.Make sure that you install it while in the default theme.For more help and info visit smfarcade.info. :D
Title: Re: SMF Arcade
Post by: |||||| on April 22, 2007, 11:23:23 PM
Quote from: rider on April 22, 2007, 11:19:09 PM
Yes you can install it.Make sure that you install it while in the default theme.For more help and info visit smfarcade.info. :D

If i continue, do i have to do some manual modification for the failed part?
Title: Re: SMF Arcade
Post by: rider on April 23, 2007, 01:21:14 AM
Quote from: |||||| on April 22, 2007, 11:23:23 PM
Quote from: rider on April 22, 2007, 11:19:09 PM
Yes you can install it.Make sure that you install it while in the default theme.For more help and info visit smfarcade.info. :D

If i continue, do i have to do some manual modification for the failed part?
Yes.For some reason it writes the arcade tab code twice.If you open the index.template.php and scroll down until you see the arcade code.Remove the extra arcade code.
Title: Re: SMF Arcade
Post by: Eleaz on April 23, 2007, 07:54:33 AM
Heya, you said to install in the default theme. Well, is it the SMF Default theme - Core or the default theme that the forum is using ? lol
Title: Re: SMF Arcade
Post by: John S on April 23, 2007, 08:13:51 AM
hi, after install i get this error:

5.     Execute Modification     ./Themes/default/index.template.php     Test failed

how can i fix this so that i can install this mod?
Title: Re: SMF Arcade
Post by: rider on April 23, 2007, 12:33:19 PM
Quote from: Eleaz on April 23, 2007, 07:54:33 AM
Heya, you said to install in the default theme. Well, is it the SMF Default theme - Core or the default theme that the forum is using ? lol
That would be the SMF default theme.
Title: Re: SMF Arcade
Post by: rider on April 23, 2007, 12:35:26 PM
Quote from: yazeft on April 23, 2007, 08:13:51 AM
hi, after install i get this error:

5.     Execute Modification     ./Themes/default/index.template.php     Test failed

how can i fix this so that i can install this mod?
You went right past your answer.Look on page 168 and you'll see what you need todo to fix this.
Title: Re: SMF Arcade
Post by: Eleaz on April 24, 2007, 05:59:17 AM
hmm , i changed to the default theme, installed the package, resulted in Success. Although i had the index.template.php error, i cant find the extra arcade code. Seems to me that theres only one, and will it work if changed back to the custom theme used?
Title: Re: SMF Arcade
Post by: rider on April 24, 2007, 06:15:03 AM
Quote from: Eleaz on April 24, 2007, 05:59:17 AM
hmm , i changed to the default theme, installed the package, resulted in Success. Although i had the index.template.php error, i cant find the extra arcade code. Seems to me that theres only one, and will it work if changed back to the custom theme used?
How many arcade buttons do you have?For custom themes you'll have to add the arcade code to the index.template.php and make a button to match the theme.If you click on the link in my sig we'll be able to help you more.
Title: Re: SMF Arcade
Post by: John S on April 25, 2007, 09:34:23 PM
hi, i have tried to install smf arcade, but get an error with the index.template.php....

not sure exactly why.. is there a way of fixing this...?

can i run the pacakage parser and find out where to install it and do it manually... will this work OR is it because it didnt work in the package installer and gave me an error, then its not gonna work if i install it manually???

what do you guys think?
Title: Re: SMF Arcade
Post by: John S on April 29, 2007, 09:57:11 AM
my arcade works, everyone has access to the games - except moderators! for them even though there permissions are "show arcade etc..." but it says "no games are available?".. huh?
Title: Re: SMF Arcade
Post by: Col on April 29, 2007, 04:39:50 PM
Hi Yazeft,

I've come to report the same problem. As a temporary fix I removed the moderators from their primary group 'BenzoBuddies Team' (which is needed to give them access to the moderation board), and instead made it a secondary group for them. They now have access to the Arcade (and can moderate it if need be), and they still have access to the moderation area.

This bug occurs when anyone is added to any Primary group I've created. It does not happen with the default groups, or with secondary groups. Anyone have a solution?
Title: Re: SMF Arcade
Post by: dxdonline on April 29, 2007, 07:26:01 PM
wow i just installed this on my forum and running.. thanks for the great mod.edited mod for

  ./Themes/default/index.template.php

problem and its works like a charm. But i m looking for games to download..
Title: Re: SMF Arcade
Post by: Col on April 29, 2007, 07:34:36 PM
You find the games and more Arcade support here: http://www.smfarcade.info/
Title: Re: SMF Arcade
Post by: John S on April 29, 2007, 11:17:32 PM
Quote from: Col on April 29, 2007, 04:39:50 PM
Hi Yazeft,

I've come to report the same problem. As a temporary fix I removed the moderators from their primary group 'BenzoBuddies Team' (which is needed to give them access to the moderation board), and instead made it a secondary group for them. They now have access to the Arcade (and can moderate it if need be), and they still have access to the moderation area.

This bug occurs when anyone is added to any Primary group I've created. It does not happen with the default groups, or with secondary groups. Anyone have a solution?

so.. um... im confused,..... what do i need to do to get it working for moderators?!
Title: Re: SMF Arcade
Post by: John S on April 30, 2007, 02:29:04 AM
i'm trying to install 'gamepack0' and i get this error:

Could not upload package, please check directory permissions!

what does this mean?
Title: Re: SMF Arcade
Post by: rider on April 30, 2007, 02:52:13 AM
you have to install it thru admin>games>install.Not thru package manager.
Title: Re: SMF Arcade
Post by: John S on April 30, 2007, 03:09:41 AM
yep ive done that
Title: Re: SMF Arcade
Post by: John S on April 30, 2007, 03:10:43 AM
ive seen some smf arcades with hunderds of games.. where can i get this many games for my arcade? smfarcade.info doesnt have that many...
Title: Re: SMF Arcade
Post by: rider on April 30, 2007, 03:21:52 AM
Quote from: yazeft on April 30, 2007, 03:09:41 AM
yep ive done that
Then unzip the file and copy and paste the games to your games folder in your FTP.Then install them admin>games>install.For the games if you look in the game request board at smfarcade.info you'll see links to game sites.keep in mind we only do support for games d/l from our site.
Title: Re: SMF Arcade
Post by: Col on April 30, 2007, 06:17:45 PM
Quote from: yazeft on April 29, 2007, 11:17:32 PM
Quote from: Col on April 29, 2007, 04:39:50 PM
Hi Yazeft,

I've come to report the same problem. As a temporary fix I removed the moderators from their primary group 'BenzoBuddies Team' (which is needed to give them access to the moderation board), and instead made it a secondary group for them. They now have access to the Arcade (and can moderate it if need be), and they still have access to the moderation area.

This bug occurs when anyone is added to any Primary group I've created. It does not happen with the default groups, or with secondary groups. Anyone have a solution?

so.. um... im confused,..... what do i need to do to get it working for moderators?!

Well, for me, Moderators didn't have access so long as I had them in a Primary group. I need them in this group to give them access to the Modertaor's board. Instead I assigned the group as a secondary group. They still have access to the moderator's board, but for some reason it does not interfere with their access to the Arcade.

What I found is that anyone assigned to a created Primary group does not have access. It does not effect them if they are assigned Primary group Admins or Global Moderators (pre-configured Primary groups).

Load of games can be found here: http://www.smfarcade.info/ Download the zip files. Each zip contains loads of games.
Title: Re: SMF Arcade
Post by: John S on April 30, 2007, 11:26:34 PM
yep that worked.. however what if i create 'modified' usergroups.. they won't be able to access the arcade...??

is there an updated coming that could fix this problem?

smfarcade.info has about 100 games.. but some people forums have 300 plus!! how can i get that many games with 'submit highscores'?
Title: Re: SMF Arcade
Post by: steve51184 on May 01, 2007, 07:21:21 PM
hi there i have SMF 1.1.2 and SMF Arcade 2.0.7 and i've set the permissions up so that EVERY membergroup can play the arcade but no matter what i do 1 of my membergroups can't view the games?
Title: Re: SMF Arcade
Post by: John S on May 01, 2007, 07:51:28 PM
Quote from: somerandomdude on May 01, 2007, 07:21:21 PM
hi there i have SMF 1.1.2 and SMF Arcade 2.0.7 and i've set the permissions up so that EVERY membergroup can play the arcade but no matter what i do 1 of my membergroups can't view the games?

This is your answer:

QuoteWhat I found is that anyone assigned to a created Primary group does not have access. It does not effect them if they are assigned Primary group Admins or Global Moderators (pre-configured Primary groups).
Title: Re: SMF Arcade
Post by: steve51184 on May 01, 2007, 09:01:18 PM
Quote from: yazeft on May 01, 2007, 07:51:28 PM
Quote from: somerandomdude on May 01, 2007, 07:21:21 PM
hi there i have SMF 1.1.2 and SMF Arcade 2.0.7 and i've set the permissions up so that EVERY membergroup can play the arcade but no matter what i do 1 of my membergroups can't view the games?

This is your answer:

QuoteWhat I found is that anyone assigned to a created Primary group does not have access. It does not effect them if they are assigned Primary group Admins or Global Moderators (pre-configured Primary groups).

so what your saying is any member that is in a created membergroup can NOT use the arcade correct?
Title: Re: SMF Arcade
Post by: John S on May 01, 2007, 09:09:27 PM
yep, put them in one of the default and they'll have access to the arcade
Title: Re: SMF Arcade
Post by: steve51184 on May 01, 2007, 09:34:48 PM
i can't as they are "vip" members
Title: Re: SMF Arcade
Post by: TrueSatan on May 01, 2007, 09:51:38 PM
Hmmmm...cheat the system...make the VIPs also moderators but reduce the permissions of the moderators to what you want the VIPs to have. It you want a new moderators category then make one based on the old one but call it a different name and make it a secondary membergroup for the appropriate members so they get the permission rights of both their old primary membergroup and your new secondary group.

OK it's a cludge but it will probably get you off the hook without needing to edit any code.
Title: Re: SMF Arcade
Post by: steve51184 on May 01, 2007, 10:55:59 PM
i can't as i have mods lol

also i have A LOT of created membergroups and only 1 can't play the games

p.s. does the maker of this mod know about this and if so does he plan on fixing it?
Title: Re: SMF Arcade
Post by: John S on May 02, 2007, 01:03:59 AM
i'm sure the creator of this mod is attempting to fix this mod at the present time... expect a upgrade soooon...
Title: Re: SMF Arcade
Post by: Col on May 02, 2007, 04:03:28 AM
Quote from: Col on April 29, 2007, 04:39:50 PM
Hi Yazeft,

I've come to report the same problem. As a temporary fix I removed the moderators from their primary group 'BenzoBuddies Team' (which is needed to give them access to the moderation board), and instead made it a secondary group for them. They now have access to the Arcade (and can moderate it if need be), and they still have access to the moderation area.

This bug occurs when anyone is added to any Primary group I've created. It does not happen with the default groups, or with secondary groups. Anyone have a solution?

Hi all,

You are missing the point - place them in a Secondary group instead of a Primary group. I did say!!! :D Moderators can still be Moderators. Make sure that anyone that needs access to the arcade is NOT IN A CREATED PRIMARY GROUP. They can be Global Moderators or Admins though (pre-installed (Primary) groups).
Title: Re: SMF Arcade
Post by: steve51184 on May 02, 2007, 04:15:39 AM
so to put a member into this "Secondary group" all i do is make them a Moderator

but do you mean a Moderator of a board?
Title: Re: SMF Arcade
Post by: Col on May 02, 2007, 04:35:53 AM
No.

Maybe your problem is unrelated - have you made sure your groups have been given the permissions to use the Arcade?

On my forum, if I place anyone in a Primary that I've created, they cannot access the actual games. They can access the Arcade area, but that's all. I had placed my Moderators in a Primary group to give them access to a moderation board. They were the only members I'd placed in a Primary group. When I instead made this a secondary group for them, they could again access the arcade. Can you check to see if those affected on your forum have been placed in a Primary group? If they have, try making it a Secondary group with them instead, and see if that fixes the problem. I am assuming you've given them access permissions though - do check that first if you have not already done so.
Title: Re: SMF Arcade
Post by: John S on May 06, 2007, 07:04:53 PM
i'd link my members to be allowed to play games ONLY when they've at least posted 2 posts per day, because alot of them are now not posting and playing games only!!

WHAT I'VE DONE:

I've checked the "Enable post count / post per day check" and

placed "2" for "Posts per day needed to play"


Now in the arcade it's got "You need to have at least average 2 of per day posts to play, you don't meet this requirment." but even after i've posted twice it still has this message and wont let me (regular member) to play...

----
Have I done anything wrong? How can I make this work?
Title: Re: SMF Arcade
Post by: Col on May 06, 2007, 07:28:58 PM
Hi,

The problem has been resolved for me. There is an Arcade admin section I didn't know existed: http://www.smfarcade.info/index.php/topic,2864.msg18669.html#msg18669
Title: Re: SMF Arcade
Post by: John S on May 06, 2007, 11:39:33 PM
thanks, but this doesn't answered my question... i'm trying to use the feature in 'arcade admin > settings' that as a member u must post 2 posts per day before u play...

how do i make this possible, because the way i tried in the previous post didn't work...

please let me know what to do..
thanks
Title: Re: SMF Arcade
Post by: rider on May 06, 2007, 11:54:53 PM
Quote from: yazeft on May 06, 2007, 11:39:33 PM
thanks, but this doesn't answered my question... i'm trying to use the feature in 'arcade admin > settings' that as a member u must post 2 posts per day before u play...

how do i make this possible, because the way i tried in the previous post didn't work...

please let me know what to do..
thanks
That part has a bug that needs to be fix.The way it works is that&nbsp; Example= member has been there 60 days and has 30 posts.Then you enable that option,the member posts twice a day but can't access the arcade.It looks at the member and thinks 60x 2 is 120 posts.I guess the way its written it goes by regi.date and it should be from when you enable it.I hope this explains it.
Don't use it right now.You could try the arcade shop mod.They have to earn credits in order to buy an arcade pass.Plus they get credits for highscores.
Title: Re: SMF Arcade
Post by: John S on May 07, 2007, 12:51:31 AM
ok, can we re-code this function so that it doesnt calculate the average... just the total for that day.

so total post per day must be at least: "2" (or wateva number u choose)

so within that 24 hour period at least 2 posts must have been made.

that's all i want to do.. i had the arcade shop mode b4, but it got 2 confusing and complicated..

i liked the way this one was setup but the 'average' thing just doesnt work...

is it hard to re-code it to as i explained?
Title: Re: SMF Arcade
Post by: John S on May 07, 2007, 09:35:55 AM
Hi, just a suggestion.. maybe something also in conjuction with the ad management mod:

alot of my members are using the arcade... i'd love to increase the number of ads shown in this section...

is this possible. im not that good with php.. maybe even an pre-game ad!

this is a mad idea.. can we have some sort of ad that is shown while the game is loading or shown before the game is loaded...

please let me know how we can do this thanks guys!
Title: Re: SMF Arcade
Post by: deadhead on May 07, 2007, 11:31:49 PM
hi I have the latest smf installed and I just tried to install SMF_Arcade_2.0.8 but I got an error. tried it four times actually and it didn't work at all. Uninstalled it but now in my top menu I have Arcade there, not once but four times. can anyone tell me how I can remove that? tia
Title: Re: SMF Arcade
Post by: rider on May 08, 2007, 05:28:23 AM
Quote from: deadhead on May 07, 2007, 11:31:49 PM
hi I have the latest smf installed and I just tried to install SMF_Arcade_2.0.8 but I got an error. tried it four times actually and it didn't work at all. Uninstalled it but now in my top menu I have Arcade there, not once but four times. can anyone tell me how I can remove that? tia
What error did you get?For the tabs you need to open the index.template.php and near the bottom you'll see the arcade code.Just remove all the codes for it.
Title: Re: SMF Arcade
Post by: deadhead on May 08, 2007, 11:41:42 AM
Quote from: rider on May 08, 2007, 05:28:23 AM
What error did you get?For the tabs you need to open the index.template.php and near the bottom you'll see the arcade code.Just remove all the codes for it.

I don't remember what error it was but I did get rid of those tabs thanks. I'm not going to bother with that mod again.
Title: Re: SMF Arcade
Post by: rider on May 08, 2007, 01:31:27 PM
Quote from: deadhead on May 08, 2007, 11:41:42 AM
Quote from: rider on May 08, 2007, 05:28:23 AM
What error did you get?For the tabs you need to open the index.template.php and near the bottom you'll see the arcade code.Just remove all the codes for it.

I don't remember what error it was but I did get rid of those tabs thanks. I'm not going to bother with that mod again.
Was this the error?
5.     Execute Modification     ./Themes/default/index.template.php     Test failed
If so then you can install the arcade.Its just means its adding the tab.
Title: Re: SMF Arcade
Post by: John S on May 12, 2007, 12:26:09 AM
SCORE = 0!

hey, can i stop the high scores page recording people who scored a score of 0 in a game?

i think its a waste because 0 isnt a score with recording.. how can we make it that only scores above 0 are recorded in the high score page?
Title: Re: SMF Arcade
Post by: watt on May 12, 2007, 02:12:07 AM
thank you for cool mod .
Title: Re: SMF Arcade
Post by: COCONUT MILK on May 13, 2007, 02:21:43 PM
I have set the arcade up but there is no link by the:
"Home | Help | Search | Admin | Profile | Logout"
Why is the link not there?
Title: Re: SMF Arcade
Post by: rider on May 13, 2007, 06:21:50 PM
Quote from: COCONUT MILK on May 13, 2007, 02:21:43 PM
I have set the arcade up but there is no link by the:
"Home | Help | Search | Admin | Profile | Logout"
Why is the link not there?
The link only appears in the default theme.For all other themes you have to modify the index.template.php to make it appear.
Title: Re: SMF Arcade
Post by: COCONUT MILK on May 14, 2007, 03:23:04 AM
Ok thanks.


I'm no good at codes, Is it this part?
But what do i put in?


// Show the menu up top.  Something like [home] [help] [profile] [logout]...
function template_menu()
{
   global $context, $settings, $options, $scripturl, $txt;

   // Show the [home] and [help] buttons.
   echo '
            <a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
            <a href="', $scripturl, '?action=help">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];

   // How about the [search] button?
   if ($context['allow_search'])
      echo '
            <a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];

   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
      echo '
            <a href="', $scripturl, '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[2] . '" style="margin: 2px 0;" border="0" />' : $txt[2]), '</a>', $context['menu_separator'];

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

   // The [calendar]!
   if ($context['allow_calendar'])
      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'];

   // If the user is a guest, show [login] and [register] buttons.
   if ($context['user']['is_guest'])
   {
      echo '
            <a href="', $scripturl, '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login.gif" alt="' . $txt[34] . '" style="margin: 2px 0;" border="0" />' : $txt[34]), '</a>', $context['menu_separator'], '
            <a href="', $scripturl, '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register.gif" alt="' . $txt[97] . '" style="margin: 2px 0;" border="0" />' : $txt[97]), '</a>';
   }
   // Otherwise, they might want to [logout]...
   else
      echo '
            <a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108] . '" style="margin: 2px 0;" border="0" />' : $txt[108]), '</a>';
}
Title: Re: SMF Arcade
Post by: rider on May 14, 2007, 03:48:50 AM
// The [arcade]!
       if ($context['allow_arcade'])
                echo '<td><a href="', $scripturl, '?action=arcade">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . $txt['arcade'] . '" style="margin: 0px 0;" border="0" />' : $txt['arcade']), '</a></td>';
You can place this code after the calender code.It should work for most themes.You'll have to make buttons for each theme.
Title: Re: SMF Arcade
Post by: COCONUT MILK on May 14, 2007, 04:28:48 AM
Will not work for some reason.
I have the buttons set as text, do i need to make them images?
Will it only work with the image option on?
Title: Re: SMF Arcade
Post by: rider on May 14, 2007, 04:55:57 AM
Quote from: COCONUT MILK on May 14, 2007, 04:28:48 AM
Will not work for some reason.
I have the buttons set as text, do i need to make them images?
Will it only work with the image option on?
It has to be images.Not to sure about image option thing.If you look at the code it tells you to use images.
Title: Re: SMF Arcade
Post by: John S on May 14, 2007, 05:19:57 AM
i sometimes get an error after i press submit for some games - it says 'game not found' why?
Title: Re: SMF Arcade
Post by: COCONUT MILK on May 14, 2007, 05:54:30 AM
Still not working, is that all i have to do?
I don't think that part makes the links, you sure it's not somewhere else?
Title: Re: SMF Arcade
Post by: rider on May 14, 2007, 06:10:58 AM
Quote from: COCONUT MILK on May 14, 2007, 05:54:30 AM
Still not working, is that all i have to do?
I don't think that part makes the links, you sure it's not somewhere else?
Click the link in my sig.Thats the offfical support site for this mod.
Title: Re: SMF Arcade
Post by: greekpc on May 15, 2007, 01:22:45 PM
I have this. Regular members and me (ADMIN) i can see the games and play, but the moderators they get this message:"An Error Has Occurred! Game not found"What can i do ?
Title: Re: SMF Arcade
Post by: glennk on May 19, 2007, 08:19:21 AM
ok giys sorry to be a pain. I know the answer will be somewhere in the 129 pages but can anyone help me please ?

I cant install because I get 1 error

   Execute Modification     ./Themes/default/index.template.php     Test failed

what can I do ?
Title: Re: SMF Arcade
Post by: TrueSatan on May 19, 2007, 08:24:24 AM
Quote from: glennk on May 19, 2007, 08:19:21 AM
ok giys sorry to be a pain. I know the answer will be somewhere in the 129 pages but can anyone help me please ?

I cant install because I get 1 error

   Execute Modification     ./Themes/default/index.template.php     Test failed

what can I do ?


http://docs.simplemachines.org/index.php?topic=402 (http://docs.simplemachines.org/index.php?topic=402)
Title: Re: SMF Arcade
Post by: glennk on May 19, 2007, 08:27:58 AM
thanks. Looks a bit frightening though.
Title: Re: SMF Arcade
Post by: TrueSatan on May 19, 2007, 08:51:17 AM
Quote from: glennk on May 19, 2007, 08:27:58 AM
thanks. Looks a bit frightening though.

Very easy actually...and the more mods you have the greater the probability of needing to add extra ones that way.
Title: Re: SMF Arcade
Post by: rider on May 19, 2007, 12:11:55 PM
Quote from: glennk on May 19, 2007, 08:19:21 AM
ok giys sorry to be a pain. I know the answer will be somewhere in the 129 pages but can anyone help me please ?

I cant install because I get 1 error

   Execute Modification     ./Themes/default/index.template.php     Test failed

what can I do ?

Go ahead and install it.Thats a known error but its ok togo ahead with the installation.If you're not sure then click the link in my sig and goto the offical support site for the arcade.
Title: Re: SMF Arcade
Post by: glennk on May 19, 2007, 01:35:15 PM
Nice one seems to have installed ok.

Where do I install games ?

Thanks to the mod author.
Title: Re: SMF Arcade
Post by: rider on May 19, 2007, 03:08:36 PM
Quote from: glennk on May 19, 2007, 01:35:15 PM
Nice one seems to have installed ok.

Where do I install games ?

Thanks to the mod author.
Click the link in my sig.Register and then goto the downloads and D/L the game packs.Then goto admin/games/install.You can upload the game packs from there.
Title: Re: SMF Arcade
Post by: glennk on May 19, 2007, 03:21:50 PM
Cheers guys - your always really helpfull in here.

My members are now enjoying hemeroids and Ive got the top score.
Title: Re: SMF Arcade
Post by: Teal on May 26, 2007, 12:08:29 PM
I am having troubles as well with this mod. The first is that when I follow the board links (in default theme) I arrive at the arcade section no problem. When I select a game to play and click "play" it appears the game is about to start but never does. I only see this brief green flash across the top of the screen and nothing further happens.

Ideas?

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2F72.29.80.128%2Fimages%2Farcade_problem1.png&hash=00ce9ff2e9653249ad68555c40799b94703d00a0)
Title: Re: SMF Arcade
Post by: rider on May 26, 2007, 01:20:28 PM
Quote from: Teal on May 26, 2007, 12:08:29 PM
I am having troubles as well with this mod. The first is that when I follow the board links (in default theme) I arrive at the arcade section no problem. When I select a game to play and click "play" it appears the game is about to start but never does. I only see this brief green flash across the top of the screen and nothing further happens.

Ideas?

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2F72.29.80.128%2Fimages%2Farcade_problem1.png&hash=00ce9ff2e9653249ad68555c40799b94703d00a0)
What games have you installed?How did you install them?
Title: Re: SMF Arcade
Post by: niravdave on May 28, 2007, 12:36:29 PM
i got 2 errors while installing. first for the index.template.php and modification.english.php, went ahead with install and got this

Updating
Success with no errors!
Tables have been updated!
Package was installed. If you have SMFArcade 1.x installed you can import games and scores now



secondly immmediately after the installation when it asked me to import the games i got another error

Importing games and scores
Table 'xxxxxxxx.smf_games' doesn't exist


I checked in the arcade..nothing seems to be working ok. see this link. can anybody help me?
http://www.gmasti.com/forums/index.php?action=arcade

thanks
dave
Title: Re: SMF Arcade
Post by: Teal on May 28, 2007, 12:58:39 PM
Quote from: rider on May 26, 2007, 01:20:28 PM
Quote from: Teal on May 26, 2007, 12:08:29 PM
I am having troubles as well with this mod. The first is that when I follow the board links (in default theme) I arrive at the arcade section no problem. When I select a game to play and click "play" it appears the game is about to start but never does. I only see this brief green flash across the top of the screen and nothing further happens.

Ideas?

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2F72.29.80.128%2Fimages%2Farcade_problem1.png&hash=00ce9ff2e9653249ad68555c40799b94703d00a0)
What games have you installed?How did you install them?

I have found the solution to this problem. It was just a "permission setting" on the server files. I changed them to 755 and everything works now.

Thanks
Title: Re: SMF Arcade
Post by: MySQASI on May 29, 2007, 08:19:29 PM
hi,
i'm using smf v1.1.2 and installing the arcade ver 2.0.7 and install the games also.. all work fine with some manual modification because i use Bloc's Helios Multi themes.... all the function is work fine, but when i look in the Forum Error Log, there's a hundred of error similar like this

QuoteUndefined index: arcadeGameInformationSide
File: /home/myacc/public_html/smf/Themes/helios_11final/ArcadeMenu.template.php (eval?)

i check the file ArcadeMenu.template.php and seem like i've no idea what should i do as i was beginner in PHP coding.

is anyone can help me?
Title: Re: SMF Arcade
Post by: rider on May 30, 2007, 05:48:09 PM
Quote from: niravdave on May 28, 2007, 12:36:29 PM
i got 2 errors while installing. first for the index.template.php and modification.english.php, went ahead with install and got this

Updating
Success with no errors!
Tables have been updated!
Package was installed. If you have SMFArcade 1.x installed you can import games and scores now



secondly immmediately after the installation when it asked me to import the games i got another error

Importing games and scores
Table 'xxxxxxxx.smf_games' doesn't exist


I checked in the arcade..nothing seems to be working ok. see this link. can anybody help me?
http://www.gmasti.com/forums/index.php?action=arcade

thanks
dave

Have you fixed this yet?It sounds like you need to create the game table.Sometimes&nbsp; that happens and you have to make one thru myphpadmin.One more thing did you install while using the default theme?
Title: Re: SMF Arcade
Post by: niko on May 31, 2007, 07:55:29 AM
Quote from: niravdave on May 28, 2007, 12:36:29 PM
i got 2 errors while installing. first for the index.template.php and modification.english.php, went ahead with install and got this

Updating
Success with no errors!
Tables have been updated!
Package was installed. If you have SMFArcade 1.x installed you can import games and scores now



secondly immmediately after the installation when it asked me to import the games i got another error

Importing games and scores
Table 'xxxxxxxx.smf_games' doesn't exist


I checked in the arcade..nothing seems to be working ok. see this link. can anybody help me?
http://www.gmasti.com/forums/index.php?action=arcade

thanks
dave


It is because you don't have arcade 1.x installed.
Title: Re: SMF Arcade
Post by: niravdave on May 31, 2007, 11:35:37 AM
what does that mean?
i m using smf 1.1.2

Quote from: Niko on May 31, 2007, 07:55:29 AM
Quote from: niravdave on May 28, 2007, 12:36:29 PM
i got 2 errors while installing. first for the index.template.php and modification.english.php, went ahead with install and got this

Updating
Success with no errors!
Tables have been updated!
Package was installed. If you have SMFArcade 1.x installed you can import games and scores now



secondly immmediately after the installation when it asked me to import the games i got another error

Importing games and scores
Table 'xxxxxxxx.smf_games' doesn't exist


I checked in the arcade..nothing seems to be working ok. see this link. can anybody help me?
http://www.gmasti.com/forums/index.php?action=arcade

thanks
dave


It is because you don't have arcade 1.x installed.
Title: Re: SMF Arcade
Post by: rider on May 31, 2007, 02:35:07 PM
Quote from: niravdave on May 31, 2007, 11:35:37 AM
what does that mean?
i m using smf 1.1.2

Quote from: Niko on May 31, 2007, 07:55:29 AM
Quote from: niravdave on May 28, 2007, 12:36:29 PM
i got 2 errors while installing. first for the index.template.php and modification.english.php, went ahead with install and got this

Updating
Success with no errors!
Tables have been updated!
Package was installed. If you have SMFArcade 1.x installed you can import games and scores now



secondly immmediately after the installation when it asked me to import the games i got another error

Importing games and scores
Table 'xxxxxxxx.smf_games' doesn't exist


I checked in the arcade..nothing seems to be working ok. see this link. can anybody help me?
http://www.gmasti.com/forums/index.php?action=arcade

thanks
dave


It is because you don't have arcade 1.x installed.
I hate to say it but it looks like you created a mess by choosing to import games and highscores that didn't exist.I'd say uninstall everything pretaining to the arcade including any database tables it might have created and start from scratch.Then install it again.Once you install it run the installArcade.php and choose new install and you should good togo from that point.Also you should clickon the linkin my sig and go there.We can and will give you alot more support and you might find the answer to your ?'s already posted.I think alot of people don't know that we have a site and staff dedicated to this mod.
Title: Re: SMF Arcade
Post by: MySQASI on June 01, 2007, 02:28:38 AM
err... anyone can help in my case, here....
http://www.simplemachines.org/community/index.php?topic=29619.msg1109560#msg1109560

pleaseeeee...... :)
Title: Re: SMF Arcade
Post by: JhonV on June 10, 2007, 07:58:56 PM
I not make install in smf1.12 help me ! error en parse!

Sorry for my bad english :S
Title: Re: SMF Arcade
Post by: greyknight17 on June 10, 2007, 09:46:52 PM
@MySQASI: You got a reply right below your post there. Also, try getting the more updated version due to a security issue found. Get updated arcade mod here (http://smfarcade.net/).

@vanstygma: Do you use the default SMF theme or a custom one? You might also need to get the language file (http://www.smfarcade.info/index.php/board,54.0.html) for your forum if it's not using English.
Title: Re: SMF Arcade
Post by: JJLodge on June 11, 2007, 07:10:11 PM
Hi all

Currently only admins can play the arcade, i wondered why only 3 of us had posted scores :), i have gone through settings but dont see where i need to change to all allow guests or normal forum members to play as well, can you help me please

Title: Re: SMF Arcade
Post by: greyknight17 on June 11, 2007, 10:06:36 PM
Did you check the Admin->Permissions settings? There should be a section called Arcade in there.
Title: Re: SMF Arcade
Post by: dakotaroar on June 11, 2007, 11:42:07 PM
Is there a way to post the X most recent scores and comments somewhere else in the forum (e.g., index page)?
Title: Re: SMF Arcade
Post by: rider on June 12, 2007, 05:20:18 AM
Quote from: JJLodge on June 11, 2007, 07:10:11 PM
Hi all

Currently only admins can play the arcade, i wondered why only 3 of us had posted scores :), i have gone through settings but dont see where i need to change to all allow guests or normal forum members to play as well, can you help me please


Like greyknight17 said.Check admin>arcade settings>permissions>switch to none.As well check your membergroup permissions.
Title: Re: SMF Arcade
Post by: rider on June 12, 2007, 05:22:14 AM
Quote from: mburtonk on June 11, 2007, 11:42:07 PM
Is there a way to post the X most recent scores and comments somewhere else in the forum (e.g., index page)?
click on the link in my sig.Check out the hacks board and look for the scrolling champ block.If you're using TinyPortal add it to a php block.
Title: Re: SMF Arcade
Post by: ShadowStriker on June 13, 2007, 11:27:59 PM
I see no arcade administration in the admin panel, nor an arcade menu button
Title: Re: SMF Arcade
Post by: Bigguy on June 14, 2007, 02:09:19 AM
Are you using a custom theme. ??? If so this is why. Mods only install to the default theme. You have to manually add the code to custom themes.

Quote from: ShadowStriker on June 13, 2007, 11:27:59 PM
I see no arcade administration in the admin panel, nor an arcade menu button
Title: Re: SMF Arcade
Post by: rider on June 14, 2007, 02:42:00 AM
Quote from: ShadowStriker on June 13, 2007, 11:27:59 PM
I see no arcade administration in the admin panel, nor an arcade menu button
For the arcadeadmin try this.Server settings>default forum language>if its english-utf8 switch to english.For the arcade button you'll have to edit the index.template.php and create a arcade button for the theme.
Title: Re: SMF Arcade
Post by: ShadowStriker on June 14, 2007, 08:08:05 AM
I have default theme, oh an whats the differenc between english-utf8 and english?
Title: Re: SMF Arcade
Post by: ShadowStriker on June 14, 2007, 08:14:22 AM
Actually the button came by itself. I think you solved the answer to all my problems :D. I've been having trouble with most mods even on default but now cause I changed the forum language from englsh utf8 to english, now the mods actually work! Thank you!
Title: Re: SMF Arcade
Post by: rider on June 14, 2007, 02:04:31 PM
Gald to help.The other option is to take a copy of the langauge file and add -utf8 to the end of it.Then most of the mods will work for either version.
Title: Re: SMF Arcade
Post by: ShadowStriker on June 14, 2007, 02:35:05 PM
now it doesnt work anymore :(
Title: Re: SMF Arcade
Post by: rider on June 14, 2007, 03:09:16 PM
Quote from: ShadowStriker on June 14, 2007, 02:35:05 PM
now it doesnt work anymore :(
When you switched it,you click save right?Somebody else had this problem but they never posted back if they fixed it or not.You can try this. once you made the change and click save make your settings.php unwriteable.That should stop it from changing back.
Title: Re: SMF Arcade
Post by: ShadowStriker on June 14, 2007, 06:11:39 PM
Ah thank you, I had to reinstall my forum and I did exactly the same thing, but I must have forgotten to click save. Why does it keep it at the drop down though, if you havent saved?
Title: Re: SMF Arcade
Post by: ShadowStriker on June 14, 2007, 06:16:02 PM
Hmm, it seems I have to resave it everytime I log off and back on. When I log back on its like I never saved it.
Title: Re: SMF Arcade
Post by: rider on June 14, 2007, 06:22:39 PM
Well then try these lang files.Add to your langauge folder for your theme..As for your other mods take a copy of the mods langauge file and rename it.As an example.shop.english.php would be shop.english-utf8.phpThe other option to try is what I suggested about your settings.php.
Title: Re: SMF Arcade
Post by: rider on June 14, 2007, 06:28:30 PM
Quote from: ShadowStriker on June 14, 2007, 06:16:02 PM
Hmm, it seems I have to resave it everytime I log off and back on. When I log back on its like I never saved it.
Another thing is take a look at your default forum url and see if there's www. before it or not.If there is remove and see if that helps.I know theres been a few isssues with that on various items.don't know if that will help.
Title: Re: SMF Arcade
Post by: ShadowStriker on June 14, 2007, 08:52:42 PM
Quote from: rider on June 14, 2007, 06:22:39 PM
Well then try these lang files.Add to your langauge folder for your theme..As for your other mods take a copy of the mods langauge file and rename it.As an example.shop.english.php would be shop.english-utf8.phpThe other option to try is what I suggested about your settings.php.

Wait wasnt I supposed to go from english-utf8 to english and not vice-versa?
Title: Re: SMF Arcade
Post by: rider on June 14, 2007, 08:59:57 PM
Yes but what I'm saying if you add the renamed langauge files then you won't have these issues.Since you have a problem of it reverting back when you log out and in.I know it works for the arcade and the shopmod. :)
Title: Re: SMF Arcade
Post by: ShadowStriker on June 14, 2007, 09:09:39 PM
I renamed

Arcade.english.php ---> Arcade.english-utf8.php
ArcadeAdmin.english.php ---> ArcadeAdmin.english-utf8.php

And it still doesnt work right&nbsp; ::)

EDIT: NVM missed the modifications.english.php Now they work, just gotta change shopmod
Title: Re: SMF Arcade
Post by: ShadowStriker on June 14, 2007, 09:16:43 PM
Oh and whats the difference between english-utf8 and english?

Edit: The only one not wroking properly now is Paypal Donations, There is a button, but no administration.

add_settings.php
Sources/Paypal.php
Themes/Paypal.template.php
modification.xml
package-info.xml
Title: Re: SMF Arcade
Post by: rider on June 15, 2007, 05:56:27 AM
Quote from: ShadowStriker on June 14, 2007, 09:16:43 PM
Oh and whats the difference between english-utf8 and english?

Edit: The only one not wroking properly now is Paypal Donations, There is a button, but no administration.

add_settings.php
Sources/Paypal.php
Themes/Paypal.template.php
modification.xml
package-info.xml
I not sure on that one.I've never used it myself.Glad you got eveything else to work.
Title: Re: SMF Arcade
Post by: 3 Hit U on June 15, 2007, 06:21:10 AM
Just installed this on 1.1.2 (latest SMF) well, I tried...

Everything said successful, but when I load my forum home, I have no Arcade button, nothing in the Admin panel what so ever, and also I try direct link to my admin settings by using:

/blaa my site/index.php?action=arcade

And it only loads my forum index.

Any suggestions?
Title: Re: SMF Arcade
Post by: rider on June 15, 2007, 07:16:34 AM
Quote from: 3 Hit U on June 15, 2007, 06:21:10 AM
Just installed this on 1.1.2 (latest SMF) well, I tried...

Everything said successful, but when I load my forum home, I have no Arcade button, nothing in the Admin panel what so ever, and also I try direct link to my admin settings by using:

/blaa my site/index.php?action=arcade

And it only loads my forum index.

Any suggestions?
What theme are you using?After the install did you run the installArcade.php in your browser?Also switch your default forum langauge to english.
Title: Re: SMF Arcade
Post by: 3 Hit U on June 15, 2007, 07:44:45 AM
Quote from: rider on June 15, 2007, 07:16:34 AM
Quote from: 3 Hit U on June 15, 2007, 06:21:10 AM
Just installed this on 1.1.2 (latest SMF) well, I tried...

Everything said successful, but when I load my forum home, I have no Arcade button, nothing in the Admin panel what so ever, and also I try direct link to my admin settings by using:

/blaa my site/index.php?action=arcade

And it only loads my forum index.

Any suggestions?
What theme are you using?After the install did you run the installArcade.php in your browser?Also switch your default forum langauge to english.
Default theme (100% fresh install of SMF), yes I ran the file, and default is English already.
I did all those before you posted.

EDIT: Got it working :)
Title: Re: SMF Arcade
Post by: CrazyIvan on June 15, 2007, 12:46:42 PM
I am getting the following error: -

The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay
File: /home/sites/britishbikersclub.co.uk/public_html/bbcforum/Sources/ArcadeList.php
Line: 167

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.2, while your database is at version 1.1.1. The above error might possibly go away if you execute the latest version of upgrade.php.

It's only started happening recently, any ideas?
Title: Re: SMF Arcade
Post by: me123 on June 16, 2007, 03:20:06 PM
My SMF version 1.1.2. Classic theme.

I do want to install this mod, however regarding all the problems I think I won't. Or is there a way to install it manually, so I will know where all the alterations in my forum files will take place? When it does corrupt my (active) forum, I can quickly uninstall everything.... Or is there a way to test this mod?
Title: Re: SMF Arcade
Post by: rider on June 16, 2007, 03:28:51 PM
Quote from: me123 on June 16, 2007, 03:20:06 PM
My SMF version 1.1.2. Classic theme.

I do want to install this mod, however regarding all the problems I think I won't. Or is there a way to install it manually, so I will know where all the alterations in my forum files will take place? When it does corrupt my (active) forum, I can quickly uninstall everything.... Or is there a way to test this mod?
Do you have a test site?most of the issues are small ones and I've installed this mod dozens of times and only ever had 1 failure.Make sure you switch to default theme to install
Title: Re: SMF Arcade
Post by: me123 on June 16, 2007, 03:58:22 PM
i do not have a test site :( Don't know how to make that....
When I install it in the default theme, can I then switch back to my classic theme and play the games in there???
Title: Re: SMF Arcade
Post by: rider on June 16, 2007, 04:27:33 PM
Quote from: me123 on June 16, 2007, 03:58:22 PM
i do not have a test site :( Don't know how to make that....
When I install it in the default theme, can I then switch back to my classic theme and play the games in there???
Yes you can.You might have to edit a php file to make the arcade tab show.If you click on my sig and go there you'll find alot of the answers.
Title: Re: SMF Arcade
Post by: vince451 on June 17, 2007, 10:54:50 AM
hello,
i have orange-lt07 theme installed
any help for what i have to change in order to see arcade cause after installation i can't see a thing

p.s.: lang in setup is english

thanks :)
Title: Re: SMF Arcade
Post by: cubchai on June 19, 2007, 09:17:48 AM
I have uninstalled arcade from my forum. When I generate membergroup permission report, there are still some data related to arcade. How do I remove it?
I have attached a screenshot to show the data.
Title: Re: SMF Arcade
Post by: 5cakids on June 21, 2007, 06:18:13 PM
When using the custom Mod members are missing images.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.diapertraders.com%2Findex.php%3Faction%3Ddlattach%3Btopic%3D2186.0%3Battach%3D268%3Bimage&hash=e81bb98d388cbb5391e7f542c2b88d24dc66d933)
Title: Re: SMF Arcade
Post by: Juris on June 22, 2007, 01:07:29 AM
Quote from: rider on May 14, 2007, 03:48:50 AM
// The [arcade]!
&nbsp; &nbsp; &nbsp;&nbsp; if ($context['allow_arcade'])
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo '<td><a href="', $scripturl, '?action=arcade">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . $txt['arcade'] . '" style="margin: 0px 0;" border="0" />' : $txt['arcade']), '</a></td>';
You can place this code after the calender code.It should work for most themes.You'll have to make buttons for each theme.

i tried these one but it doesnt show the arcade button.

i have the games.gif install already in my babylon theme. i really don't know why it is not working.

can you please help me... may arcade is working on the default but i am using the babylon theme.

hope you can help me. thanks!
Title: Re: SMF Arcade
Post by: me123 on June 23, 2007, 04:14:37 PM
I want to MANUALLY install this mod, so I can uninstall it when it corrupts my forum. I have an active forum, always members online, so I cannot experiment too much without bothering them.
Title: Re: SMF Arcade
Post by: TrueSatan on June 23, 2007, 05:54:09 PM
Please refer to  http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531) and to http://server.daniel15.com/smf/package.php (http://server.daniel15.com/smf/package.php)
Title: Re: SMF Arcade
Post by: celine on June 24, 2007, 06:55:19 PM
hello guys,

can you please help me? i install the arcade. it's working on default but i'm using different theme. i tried to to update my theme and put the arcade button in the index template the way i did in my chat button. when i check my site, it doesnt show the arcade button.

what is the right way to do this. i tried also the way that juris did, same thing no arcade button.

i hope somebody will reply and help me.

thanks,
celine
Title: Re: SMF Arcade
Post by: TrueSatan on June 24, 2007, 08:33:45 PM
@ Celine

See the posting I made above yours...it details the official documentation regarding adding mods to custom themes and gives you the SMF Package Parser which will extract the detaisl of any particular mods edits etc.
Title: Re: SMF Arcade
Post by: chilling on June 25, 2007, 09:48:10 AM
i am on SMF 1.1.3 default the and i am having problem with arcade installation can some one say is that updated ?
Title: Re: SMF Arcade
Post by: celine on June 25, 2007, 11:48:37 AM
Quote from: TrueSatan on June 24, 2007, 08:33:45 PM
@ Celine

See the posting I made above yours...it details the official documentation regarding adding mods to custom themes and gives you the SMF Package Parser which will extract the detaisl of any particular mods edits etc.

sorry but new in these kind of stuff. i read the manual installation but i can't see a mod or xml in my package. i just saw modification english. i tried the other link but its a page cannot be displayed.

thanks for you help.... but still not working.

Title: Re: SMF Arcade
Post by: TrueSatan on June 25, 2007, 02:55:18 PM
@ Celine

Your package of this mod is the mod. The "xml" as you put it, is the file with the extension .xml in the package...in this case there are two such files in the package...install-rc2.xml and the package_info file. The edits are detailed in install-rc2.xml.

The package Parser is also hosted on the following links:

http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
http://sleepycode.com/index.php?action=modparser (http://sleepycode.com/index.php?action=modparser)

@ chilling

Either wait for an update or change the package_info.xml to add compatibility with SMF 1.1.3 for yourself.
Title: Re: SMF Arcade
Post by: babjusi on June 25, 2007, 03:11:03 PM
Quote from: chilling on June 25, 2007, 09:48:10 AM
i am on SMF 1.1.3 default the and i am having problem with arcade installation can some one say is that updated ?

You can download it from here, I have modified it and it installs perfectly with 1.1.3
Title: Re: SMF Arcade
Post by: chilling on June 25, 2007, 06:12:07 PM
Quote from: babjusi on June 25, 2007, 03:11:03 PM

You can download it from here, I have modified it and it installs perfectly with 1.1.3


Installing this package will perform the following actions:&nbsp; Type Action Description
1. Execute Modification ./index.php Test successful
2. Execute Modification ./Sources/ManagePermissions.php Test successful
3. Execute Modification ./Sources/Subs.php Test successful
4. Execute Modification ./Sources/Who.php Test successful
5. Execute Modification ./Themes/default/index.template.php Test failed
6. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
Title: Re: SMF Arcade
Post by: TrueSatan on June 25, 2007, 06:35:53 PM
Please note that all the fails shown in your report mean is that other mods have affected the files this mod seeks to modify...there is nothing wrong with the mod you just have to do a manual installation.

Please read:

http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
Title: Re: SMF Arcade
Post by: chilling on June 25, 2007, 06:48:31 PM
ohh ok let me go ahead with the instructions :) thanks for ur support :)
Title: Re: SMF Arcade
Post by: RoarinRow on June 25, 2007, 10:02:40 PM
Quote from: babjusi on June 25, 2007, 03:11:03 PM
Quote from: chilling on June 25, 2007, 09:48:10 AM
i am on SMF 1.1.3 default the and i am having problem with arcade installation can some one say is that updated ?

You can download it from here, I have modified it and it installs perfectly with 1.1.3


They just release a new package today, version 2.0.9 that works with SMF 1.1.3 and also address some small bugs - SMF Arade 2.0.9 Announcement (http://www.smfarcade.info/index.php?topic=3072.0)
Title: Re: SMF Arcade
Post by: chilling on June 26, 2007, 03:48:37 AM
Quote from: RoarinRow on June 25, 2007, 10:02:40 PM
They just release a new package today, version 2.0.9 that works with SMF 1.1.3 and also address some small bugs - SMF Arade 2.0.9 Announcement (http://www.smfarcade.info/index.php?topic=3072.0)

Well i downloaded that and tried to install arcade .. it was installed fine but ... i was unable to install other mods  .. there few errors popping up when i removed arcade every thing went fine :( i am disappointed
Title: Re: SMF Arcade
Post by: TrueSatan on June 26, 2007, 04:11:54 AM
@ chilling

Unless you tell us what the errors were (full details please) it's impossible to make any meaningful comment on them.
Title: Re: SMF Arcade
Post by: chilling on June 26, 2007, 09:13:54 AM
Well TrueSatan if u can spare a few mins for me i will llet u know the full details

5. Execute Modification ./Themes/default/index.template.php Test failed

same error even after trying the latest version.

and i was ablle to install the mod after reinstalling a fresh copy of SMF 1.1.3. but the problem arises when i try to install other mods .. each and every mod gives a manage.permissions.php error(only after installing arcade before installing all mods)
Title: Re: SMF Arcade
Post by: TrueSatan on June 26, 2007, 10:01:10 AM
Quote from: chilling on June 26, 2007, 09:13:54 AM
Well TrueSatan if u can spare a few mins for me i will llet u know the full details

5. Execute Modification ./Themes/default/index.template.php Test failed

same error even after trying the latest version.

and i was ablle to install the mod after reinstalling a fresh copy of SMF 1.1.3. but the problem arises when i try to install other mods .. each and every mod gives a manage.permissions.php error(only after installing arcade before installing all mods)

OK...the index.template.php fail is almost certainly due only to the placement of the arcade button in the main navigation bar...if other buttons have already been put into it by other mods then getting a fail on that is not at all unusual and it affects almost all mods that put a button into the nav bar...the solution is to do a manual installation (though you can safely ignore that particular error and let the package manager do the rest of the installation then only manually install into the index.template.php (in general don't ignore errors and proceed with a package manager installation...unless you know what you are doing and what the consequences will be.)

Your manage.permissions.php problem is due to the arcade mod affecting that file (changing/editing it)...when other mods that need to edit that file try to do so the file is not the same as the unaltered file they were designed to edit and thus you get a fail...not the fault of any mod and again you need to do manual installations when you get such errors.

These problems are very common...not in exactly the form you quote or in exactly those files but generally speaking when a mod tries to edit a file that another mod has already edited you may get a fail...the more editing a mod does the more likely this is to happen.
Title: Re: SMF Arcade
Post by: chilling on June 26, 2007, 11:30:24 AM
Can ya please help me in setting up my forums ? :( i am really pissed off doing it from scratch for 5 times now :( i would be so thank full to u if u can help me in this regard :( since i am a bit noobe in this case guess u can understand what am upto
Title: Re: SMF Arcade
Post by: TrueSatan on June 26, 2007, 08:12:43 PM
To be honest with you...and I'm not just trying to fob you off...setting up a forum is fairly easy and doing it teaches you the skills you need to keep the forum running. Doing it for you wouldn't help you in the long run as you'd still be stuck when it came to upgrading components, and the core software too, to say nothing of when/if you wanted to add extras to it (as most people find that they do after a while.)

I wonder if you've considered Charter Membership...have a read about it on this link:

http://www.simplemachines.org/charter/ (http://www.simplemachines.org/charter/)

...long term the extra help and support that will give you from a lot of knowlegable people is probably better than any one person could provide.

One of the things you really ought to do from the outset in any event is to run at least one test forum on which to experiment and learn without causing problems to your main/live/production forum. You can blow away the mistakes on the test forum with a re-install any time you like with no harm done.

We have now got extremely off topic with your last post and this reply so might I request that as this seems much more appropriate to "General English Support" you post a help request there?

http://www.simplemachines.org/community/index.php?board=9.0 (http://www.simplemachines.org/community/index.php?board=9.0)

I'm sure that if you do so others will be able to offer advice that might also prove most valuable to you and that way your needs might be best met with your own skill set improving to a point where you'd be more able and feel more confident in setting up your forum.
Title: Re: SMF Arcade
Post by: Joshsux on June 29, 2007, 04:54:18 AM
I'm getting a

Fatal error: packageinstall() [function.require]: Failed opening required '/home/joshua/domains/sneaky******s.com/public_html/Packages/temp/./package_install.php' (include_path='.:/usr/local/lib/php') in /home/joshua/domains/sneaky******s.com/public_html/Sources/Packages.php on line 552
Title: Re: SMF Arcade
Post by: Joshsux on June 29, 2007, 05:30:17 AM
great, now i have an arcade box in the bloody admin part that i can't even remove, god i hate buggy programs.
Title: Re: SMF Arcade
Post by: rider on June 29, 2007, 05:43:48 AM
Did you try to uninstall the arcade?Also are the permissions on your packages folder right?As for the games ? yes it does support IBP games.
Title: Re: SMF Arcade
Post by: Joshsux on June 29, 2007, 05:53:52 AM
yeah i found out about the IBP games, thats why i removed that post, how could i uninstall the arcade when it always said "apply mod" it never got that far even though it looks like it's riddled my forum with edits or something because i still see it in the admin section "the block" AND!!! it's not even installed....... grrr i really want this mod..... anybody able to run me through everything on msn "PLEASE?!"
Title: Re: SMF Arcade
Post by: rider on June 29, 2007, 06:05:10 AM
No time for msn but what happens when you click apply mod?
Title: Re: SMF Arcade
Post by: Joshsux on June 29, 2007, 06:15:27 AM
Fatal error: packageinstall() [function.require]: Failed opening required '/home/joshua/domains/sneaky******s.com/public_html/Packages/temp/./package_install.php' (include_path='.:/usr/local/lib/php') in /home/joshua/domains/sneaky******s.com/public_html/Sources/Packages.php on line 552

thats what i get when i apply mod, the test error happens alot, all i do is manually editing, i have no idea what this means though
Title: Re: SMF Arcade
Post by: rider on June 29, 2007, 06:24:52 AM
Is this problem just with the arcade or othe mods.I'd like to help but I don't what is causing that error.Sorry.I can usually help in most cases.
Title: Re: SMF Arcade
Post by: Joshsux on June 29, 2007, 06:25:32 AM
no other mods just this one, ive never seen that error before.
Title: Re: SMF Arcade
Post by: Joshsux on June 29, 2007, 06:33:41 AM
please somebody
Title: Re: SMF Arcade
Post by: rider on June 29, 2007, 06:33:50 AM
You've said you have the admin settings for the arcade.what happens when you try to use them?Can you access the arcade?
Title: Re: SMF Arcade
Post by: Joshsux on June 29, 2007, 06:50:01 AM
nah what i mean is when i go to admin index.php?action=admin

I have the arcade admin block thing:

Arcade Admin
Games
Categories
Settings

Thing is, it's not even installed, never said it was installed.

When i click games it says:

An Error Has Occurred!
Unable to load the 'main' template.

When i click the others it says:

Fatal error: smf_main() [function.require]: Failed opening required '/home/joshua/domains/sneaky******s.com/public_html/Sources/ArcadeSettings.php' (include_path='.:/usr/local/lib/php') in /home/joshua/domains/sneaky******s.com/public_html/index.php on line 414

I really appreciate you helping me mate, not many people help me on this forum.  :'( I've also asked for help on the arcade site here: http://www.smfarcade.info/index.php/topic,3087.0.html
Title: Re: SMF Arcade
Post by: RiderRaghav on June 29, 2007, 03:14:40 PM
Hey .....

Is there any chance of making it compatible smf 1.1.3 .... ???

It'll help me allot coz I'm making a gaming clan website .....

Thanks in advance ;)
Title: Re: SMF Arcade
Post by: rider on June 29, 2007, 03:23:30 PM
Click on the link in my sig.Version 2.0.9 is compatible with SMF1.1.3.
Title: Re: SMF Arcade
Post by: lisalover1 on June 30, 2007, 07:08:25 PM
I keep having trouble with .xml files in 1.1.3 mods. What should I do when I see "Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF." Then, "Modification Parse Error", next to "install-rc2.xml"?
Title: Re: SMF Arcade
Post by: babjusi on June 30, 2007, 07:17:11 PM
Quote from: lisalover1 on June 30, 2007, 07:08:25 PM
I keep having trouble with .xml files in 1.1.3 mods. What should I do when I see "Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF." Then, "Modification Parse Error", next to "install-rc2.xml"?

Whenever you get an error message while trying to install a mod, it is best not to go through with the installation. And don''t forget to make a back up before installing mods, especially those in the beta version.

I don''t know if the arcade package mod here has been updated for 1.1.3, but you can find the most recent package mod at the arcade site

P.s. How is going your forum?
Title: Re: SMF Arcade
Post by: lisalover1 on June 30, 2007, 07:22:57 PM
My forum's doing great, but this error shows up when I try to run ANY .xml file from a mod. None of the mods work.
Title: Re: SMF Arcade
Post by: babjusi on June 30, 2007, 07:24:42 PM
Quote from: lisalover1 on June 30, 2007, 07:22:57 PM
My forum's doing great, but this error shows up when I try to run ANY .xml file from a mod. None of the mods work.

If you want, pm me the username and the password and I can take a look
Title: Re: SMF Arcade
Post by: BogeyOne on July 02, 2007, 10:29:42 PM
I can't get it to install.  I get the corrupt message. . .the one revealing a failed test.  Here is a copy of the results of the pre install test:

   Type     Action     Description
1.    Execute Modification    ./index.php    Test successful
2.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
3.    Execute Modification    ./Sources/Subs.php    Test successful
4.    Execute Modification    ./Sources/Who.php    Test successful
5.    Execute Modification    ./Themes/default/index.template.php    Test failed
6.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
7.    Extract File    ./Sources/Arcade.php    
8.    Extract File    ./Sources/ArcadeInstall.php    
9.    Extract File    ./Sources/ArcadeList.php    
10.    Extract File    ./Sources/ArcadePlay.php    
11.    Extract File    ./Sources/ArcadeStats.php    
12.    Extract File    ./Sources/ArcadeSettings.php    
13.    Extract File    ./Sources/Subs-Arcade.php    
14.    Extract File    ./Sources/ManageGames.php    
15.    Extract File    ./Themes/default/arcade.js    
16.    Extract File    ./Themes/default/swfobject.js    
17.    Extract File    ./Themes/default/Arcade.template.php    
18.    Extract File    ./Themes/default/ArcadeMenu.template.php    
19.    Extract File    ./Themes/default/ArcadeAdmin.template.php    
20.    Extract File    ./Themes/default/ManageGames.template.php    
21.    Extract File    ./Themes/default/languages/Arcade.english.php    
22.    Extract File    ./Themes/default/languages/ArcadeAdmin.english.php    
23.    Extract File    ./Themes/default/images/favorite.gif    
24.    Extract File    ./Themes/default/images/favorite2.gif    
25.    Extract File    ./Themes/default/images/star2.gif    
26.    Extract File    ./Themes/default/images/gold.gif    
27.    Extract File    ./ArcadeLicense.txt    
28.    Extract File    ./installArcade.php    
29.    Extract File    ./newscore.php    
30.    Extract Tree    ./getid3    
31.    Create Tree    ./Games    
32.    Execute Code    package_install.php    


Note #5 is the only failure.  I did a list files and that file is not amongst them.  Can somebody offer some advice?  I really want this feature for my forum.


Thank You,


Martin
Title: Re: SMF Arcade
Post by: rider on July 02, 2007, 10:39:39 PM
martin.You can go ahead and install it.The error is the mod writing the arcade button code to the theme.After the install don't forget to run installArade.php in your browser.let me know how it goes.
Title: Re: SMF Arcade
Post by: rider on July 02, 2007, 10:42:27 PM
Quote from: lisalover1 on June 30, 2007, 07:08:25 PM
I keep having trouble with .xml files in 1.1.3 mods. What should I do when I see "Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF." Then, "Modification Parse Error", next to "install-rc2.xml"?
I saw this problem last nite.What the person did was goto packages>options>choose make all files writable.The arcade installed ok after that.
Title: Re: SMF Arcade
Post by: BogeyOne on July 03, 2007, 02:48:04 AM
Quote from: rider on July 02, 2007, 10:39:39 PM
martin.You can go ahead and install it.The error is the mod writing the arcade button code to the theme.After the install don't forget to run installArade.php in your browser.let me know how it goes.

I did what you said and got the message that it was successfully installed.  But let me say this upfront.  I don't know squat about this stuff.  I don't know how to "run" the file you are talking about.  At this point, there is no trace of the program on my forum.  In the admin section, in the section that runs vertically on the far left and lists all the options that the administrator has, there seems to be a new area located between "Forum" and "Members" that is blank. . .that is to say it is an empty and unlabeled box.  Please tell me how to get this thing going.

--Martin
Title: Re: SMF Arcade
Post by: rider on July 03, 2007, 02:52:43 AM
you need to run it like this.wwwyoursite.com/installArcade.php then just following the instuctions.if you don't see the arcade admin in the adminpanel afterwards.Then goto admin>serversettings>default forum langauge>if its english-utf8 switch to english.
Title: Re: SMF Arcade
Post by: BogeyOne on July 03, 2007, 04:15:53 AM
Quote from: rider on July 03, 2007, 02:52:43 AM
you need to run it like this.wwwyoursite.com/installArcade.php then just following the instuctions.if you don't see the arcade admin in the adminpanel afterwards.Then goto admin>serversettings>default forum langauge>if its english-utf8 switch to english.

I did what you said.  After agreeing to the terms and conditions which show upon entering my sites url/installArcade.php, I chose the first option. . .the fresh install one, I believe.  The results of this were successful according to the next screen that came up and I was taken to a screen that showed what looked like administration for the program.  Some of the text appeared to be missing, like the text to the right of the first info "question mark" at the top.  Also, there was no text immediately beside the version "2.0.9" boxes on the right margin.  And nothing new had been created in my options are on the left of the administrative functions area.  So I did what you said and checked the language and it was english-utf8.  I changed that to simply english.  But nothing new resulted.  I can't get back into the arcade admin area and there is no arcade button anywhere on my homepage.  I am stymied.  I certainly appreciate your time in helping me deal with this.  Surely, I must be close to having the arcade up and running, correct?

--Martin
Title: Re: SMF Arcade
Post by: rider on July 03, 2007, 04:29:50 AM
it should be there by the sounds of it.What theme are you using?can you post a link to your site?
Title: Re: SMF Arcade
Post by: BogeyOne on July 03, 2007, 05:02:42 AM
Quote from: rider on July 03, 2007, 04:29:50 AM
it should be there by the sounds of it.What theme are you using?can you post a link to your site?

I am using the Core them which I believe is the default theme.  My site is:  www.moderatedsciastroamateur.org
Title: Re: SMF Arcade
Post by: BogeyOne on July 03, 2007, 10:34:16 AM
Quote from: BogeyOne on July 03, 2007, 05:02:42 AM
Quote from: rider on July 03, 2007, 04:29:50 AM
it should be there by the sounds of it.What theme are you using?can you post a link to your site?

I am using the Core them which I believe is the default theme.  My site is:  www.moderatedsciastroamateur.org


Hello,

Now this is getting weird.  Before logging in, the "Arcade" button is located in the topic option bar of the forum.  But, once I log in, it disappears as a choice.  So it would seem that guests see it and can access the arcade but a logged in member does not have the option.  What is going on?  Anybody know?


--Martin
Title: Re: SMF Arcade
Post by: Fustrate on July 03, 2007, 10:38:33 AM
You must have the code inside an 'if' statement.

Look at the code inside (index.template.php ?) and make sure it's not inside the Register/Login if statement.
Title: Re: SMF Arcade
Post by: BogeyOne on July 03, 2007, 11:25:00 AM
Quote from: YodaOfDarkness on July 03, 2007, 10:38:33 AM
You must have the code inside an 'if' statement.

Look at the code inside (index.template.php ?) and make sure it's not inside the Register/Login if statement.


Nope, didn't find that, BUT, now it gets even weirder.  I have a member of my forum which I created for various reasons (he doesn't really exists) and when logging in under this member's name, the ARCADE remains in the top bar.  So it looks like it is visible to guests and all members except me.  This makes no sense at all.  I am nearly at wits end over this.  Not sure it has any relevance but another quirk seems to be that the shout box has unfilled in areas for me that guests and other members apparently see.


--Martin
Title: Re: SMF Arcade
Post by: Fustrate on July 03, 2007, 11:37:15 AM
Hmm...

go to the index.template.php file for the theme you're using, and copy/paste the whole function template_menu() here. It's probably at the end of the file.
Title: Re: SMF Arcade
Post by: BogeyOne on July 03, 2007, 12:28:13 PM
Quote from: YodaOfDarkness on July 03, 2007, 11:37:15 AM
Hmm...

go to the index.template.php file for the theme you're using, and copy/paste the whole function template_menu() here. It's probably at the end of the file.


I am afraid that I do not have enough knowledge or confidence in the little knowledge I have to do that.  Wouldn't know what all constituded the whole function and any error at all could render the whole forum as useless, couldn't it?
Title: Re: SMF Arcade
Post by: Fustrate on July 03, 2007, 12:33:00 PM
Well you wouldn't change anything by copying and pasting

Go to wherever you can edit the file, and search for function template_menu() and then just copy and paste everything after that into a post here
Title: Re: SMF Arcade
Post by: BogeyOne on July 03, 2007, 01:56:19 PM
Quote from: YodaOfDarkness on July 03, 2007, 12:33:00 PM
Well you wouldn't change anything by copying and pasting

Go to wherever you can edit the file, and search for function template_menu() and then just copy and paste everything after that into a post here

Quote from: YodaOfDarkness on July 03, 2007, 12:33:00 PM


Is this what I'm after?  Couldn't find a specific template_menu () listing.



// The main controlling function.
function smf_main()
{
global $modSettings, $settings, $user_info, $board, $topic, $maintenance, $sourcedir;

// Special case: session keep-alive.
if (isset($_GET['action']) && $_GET['action'] == 'keepalive')
die;

// Load the user's cookie (or set as guest) and load their settings.
loadUserSettings();

// Load the current board's information.
loadBoard();

// Load the current theme. (note that ?theme=1 will also work, may be used for guest theming.)
loadTheme();

// Check if the user should be disallowed access.
is_not_banned();

// Load the current user's permissions.
loadPermissions();

// Do some logging, unless this is an attachment, avatar, theme option or XML feed.
if (empty($_REQUEST['action']) || !in_array($_REQUEST['action'], array('dlattach', 'jsoption', '.xml')))
{
// Log this user as online.
writeLog();

// Track forum statistics and hits...?
if (!empty($modSettings['hitStats']))
trackStats(array('hits' => '+'));
}

// Is the forum in maintenance mode? (doesn't apply to administrators.)
if (!empty($maintenance) && !allowedTo('admin_forum'))
{
// You can only login.... otherwise, you're getting the "maintenance mode" display.
if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'login2')
{
require_once($sourcedir . '/LogInOut.php');
return 'Login2';
}
// Don't even try it, sonny.
else
{
require_once($sourcedir . '/Subs-Auth.php');
return 'InMaintenance';
}
}
// If guest access is off, a guest can only do one of the very few following actions.
elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('login', 'login2', 'register', 'register2', 'reminder', 'activate', 'smstats', 'help', '.xml', 'verificationcode'))))
{
require_once($sourcedir . '/Subs-Auth.php');
return 'KickGuest';
}
// Check for arcade actions
// IBPArcade v2.x.x Games support
elseif (isset($_REQUEST['act']) && strtolower($_REQUEST['act']) == 'arcade')
{
$_REQUEST['action'] = 'arcade';
$_REQUEST['ibpa'] = 2;

if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'newscore')
$_REQUEST['sa'] = 'ibpsubmit';

require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}
// IBPArcade v3.x.x Games support
elseif (isset($_REQUEST['autocom']) && $_REQUEST['autocom'] == 'arcade')
{
$_REQUEST['action'] = 'arcade';
$_REQUEST['ibpa'] = 3;

if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'savescore')
$_REQUEST['sa'] = 'ibpsubmit';

elseif (isset($_REQUEST['do']) && $_REQUEST['do'] = 'verifyscore')
$_REQUEST['sa'] = 'ibpverify';

require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}
elseif (isset($_REQUEST['play']))
{
$_REQUEST['game'] = $_REQUEST['play'];
unset($_REQUEST['play']);
$_REQUEST['sa'] = 'play';

require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}
elseif (isset($_REQUEST['highscore']))
{
$_REQUEST['game'] = $_REQUEST['highscore'];
unset($_REQUEST['highscore']);
$_REQUEST['sa'] = 'highscore';

require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}
elseif (isset($_REQUEST['game']) && !isset($_REQUEST['action']))
{
require_once($sourcedir . '/Arcade.php');
return 'Arcade';
} elseif (empty($_REQUEST['action']))
{
// Action and board are both empty... BoardIndex!
if (empty($board) && empty($topic))
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
}
// Topic is empty, and action is empty.... MessageIndex!
elseif (empty($topic))
{
require_once($sourcedir . '/MessageIndex.php');
return 'MessageIndex';
}
// Board is not empty... topic is not empty... action is empty.. Display!
else
{
require_once($sourcedir . '/Display.php');
return 'Display';
}
}

// Here's the monstrous $_REQUEST['action'] array - $_REQUEST['action'] => array($file, $function).
$actionArray = array(
'activate' => array('Register.php', 'Activate'),
'admin' => array('Admin.php', 'Admin'),
'announce' => array('Post.php', 'AnnounceTopic'), 'arcade' => array('Arcade.php','Arcade'),
'managegames' => array('ManageGames.php', 'GamesAdmin'),
'arcadecategory' => array('ArcadeSettings.php', 'ArcadeCategory'),
'arcadesettings' => array('ArcadeSettings.php', 'ArcadeSettings'),
'ban' => array('ManageBans.php', 'Ban'),
'boardrecount' => array('Admin.php', 'AdminBoardRecount'),
'buddy' => array('Subs-Members.php', 'BuddyListToggle'),
'calendar' => array('Calendar.php', 'CalendarMain'),
'cleanperms' => array('Admin.php', 'CleanupPermissions'),
'collapse' => array('Subs-Boards.php', 'CollapseCategory'),
'convertentities' => array('Admin.php', 'ConvertEntities'),
'convertutf8' => array('Admin.php', 'ConvertUtf8'),
'coppa' => array('Register.php', 'CoppaForm'),
'deletemsg' => array('RemoveTopic.php', 'DeleteMessage'),
'detailedversion' => array('Admin.php', 'VersionDetail'),
'display' => array('Display.php', 'Display'),
'dlattach' => array('Display.php', 'Download'),
'dumpdb' => array('DumpDatabase.php', 'DumpDatabase2'),
'editpoll' => array('Poll.php', 'EditPoll'),
'editpoll2' => array('Poll.php', 'EditPoll2'),
'featuresettings' => array('ModSettings.php', 'ModifyFeatureSettings'),
'featuresettings2' => array('ModSettings.php', 'ModifyFeatureSettings2'),
'findmember' => array('Subs-Auth.php', 'JSMembers'),
'help' => array('Help.php', 'ShowHelp'),
'helpadmin' => array('Help.php', 'ShowAdminHelp'),
'im' => array('PersonalMessage.php', 'MessageMain'),
'invite' => array('Invite.php', 'InviteMain'),
'jsoption' => array('Themes.php', 'SetJavaScript'),
'jsmodify' => array('Post.php', 'JavaScriptModify'),
'links' => array('Links.php', 'LinksMain'),
'lock' => array('LockTopic.php', 'LockTopic'),
'lockVoting' => array('Poll.php', 'LockVoting'),
'login' => array('LogInOut.php', 'Login'),
'login2' => array('LogInOut.php', 'Login2'),
'logout' => array('LogInOut.php', 'Logout'),
'maintain' => array('Admin.php', 'Maintenance'),
'manageattachments' => array('ManageAttachments.php', 'ManageAttachments'),
'manageboards' => array('ManageBoards.php', 'ManageBoards'),
'managecalendar' => array('ManageCalendar.php', 'ManageCalendar'),
'managesearch' => array('ManageSearch.php', 'ManageSearch'),
'markasread' => array('Subs-Boards.php', 'MarkRead'),
'membergroups' => array('ManageMembergroups.php', 'ModifyMembergroups'),
'mergetopics' => array('SplitTopics.php', 'MergeTopics'),
'mlist' => array('Memberlist.php', 'Memberlist'),
'modifycat' => array('ManageBoards.php', 'ModifyCat'),
'modifykarma' => array('Karma.php', 'ModifyKarma'),
'modlog' => array('Modlog.php', 'ViewModlog'),
'movetopic' => array('MoveTopic.php', 'MoveTopic'),
'movetopic2' => array('MoveTopic.php', 'MoveTopic2'),
'news' => array('ManageNews.php', 'ManageNews'),
'savepad' => array('PersonalPad.php', 'SavePad'),
'notify' => array('Notify.php', 'Notify'),
'notifyboard' => array('Notify.php', 'BoardNotify'),
'optimizetables' => array('Admin.php', 'OptimizeTables'),
'packageget' => array('PackageGet.php', 'PackageGet'),

'packages' => array('Packages.php', 'Packages'),
'tpvchat' => array('tpvchat.php', 'tpvchat'),
'permissions' => array('ManagePermissions.php', 'ModifyPermissions'),
'pgdownload' => array('PackageGet.php', 'PackageGet'),
'pm' => array('PersonalMessage.php', 'MessageMain'),
'post' => array('Post.php', 'Post'),
'post2' => array('Post.php', 'Post2'),
'postsettings' => array('ManagePosts.php', 'ManagePostSettings'),
'printpage' => array('Printpage.php', 'PrintTopic'),
'profile' => array('Profile.php', 'ModifyProfile'),
'profile2' => array('Profile.php', 'ModifyProfile2'),
'quotefast' => array('Post.php', 'QuoteFast'),
'quickmod' => array('Subs-Boards.php', 'QuickModeration'),
'quickmod2' => array('Subs-Boards.php', 'QuickModeration2'),
'recent' => array('Recent.php', 'RecentPosts'),
'regcenter' => array('ManageRegistration.php', 'RegCenter'),
'register' => array('Register.php', 'Register'),
'register2' => array('Register.php', 'Register2'),
'reminder' => array('Reminder.php', 'RemindMe'),
'removetopic2' => array('RemoveTopic.php', 'RemoveTopic2'),
'removeoldtopics2' => array('RemoveTopic.php', 'RemoveOldTopics2'),
'removepoll' => array('Poll.php', 'RemovePoll'),
'repairboards' => array('RepairBoards.php', 'RepairBoards'),
'reporttm' => array('SendTopic.php', 'ReportToModerator'),
'reports' => array('Reports.php', 'ReportsMain'),
'requestmembers' => array('Subs-Auth.php', 'RequestMembers'),
'search' => array('Search.php', 'PlushSearch1'),
'search2' => array('Search.php', 'PlushSearch2'),
'sendtopic' => array('SendTopic.php', 'SendTopic'),
'serversettings' => array('ManageServer.php', 'ModifySettings'),
'serversettings2' => array('ManageServer.php', 'ModifySettings2'),
'smileys' => array('ManageSmileys.php', 'ManageSmileys'),
'smstats' => array('Stats.php', 'SMStats'),
'spellcheck' => array('Subs-Post.php', 'SpellCheck'),
'splittopics' => array('SplitTopics.php', 'SplitTopics'),
'stats' => array('Stats.php', 'DisplayStats'),
'sticky' => array('LockTopic.php', 'Sticky'),
'thankyouadd' => array('ThankYou.php', 'thank_you_add'),
'thankyoulist' => array('ThankYou.php', 'thank_you_list'),
'thankyoulock' => array('ThankYou.php', 'thank_you_lock'),
'thankyoupost' => array('ThankYou.php', 'thank_you_post'),
'thankyouremove' => array('ThankYou.php', 'thank_you_remove'),
'thankyouremovedm' => array('ThankYou.php', 'thank_you_delete_id'),
'theme' => array('Themes.php', 'ThemesMain'),
'trackip' => array('Profile.php', 'trackIP'),
'about:mozilla' => array('Karma.php', 'BookOfUnknown'),
'about:unknown' => array('Karma.php', 'BookOfUnknown'),
'unread' => array('Recent.php', 'UnreadTopics'),
'unreadreplies' => array('Recent.php', 'UnreadTopics'),
'viewErrorLog' => array('ManageErrors.php', 'ViewErrorLog'),
'viewmembers' => array('ManageMembers.php', 'ViewMembers'),
'viewprofile' => array('Profile.php', 'ModifyProfile'),
'verificationcode' => array('Register.php', 'VerificationCode'),
'vote' => array('Poll.php', 'Vote'),
'viewquery' => array('ViewQuery.php', 'ViewQuery'),
'who' => array('Who.php', 'Who'),
'.xml' => array('News.php', 'ShowXmlFeed'),
);

// Get the function and file to include - if it's not there, do the board index.
if (!isset($_REQUEST['action']) || !isset($actionArray[$_REQUEST['action']]))
{
// Catch the action with the theme?
if (!empty($settings['catch_action']))
{
require_once($sourcedir . '/Themes.php');
return 'WrapAction';
}

// Fall through to the board index then...
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
}

// Otherwise, it was set - so let's go to that action.
require_once($sourcedir . '/' . $actionArray[$_REQUEST['action']][0]);
return $actionArray[$_REQUEST['action']][1];
}

?>
Well you wouldn't change anything by copying and pasting

Go to wherever you can edit the file, and search for function template_menu() and then just copy and paste everything after that into a post here
Title: Re: SMF Arcade
Post by: cferd on July 03, 2007, 02:33:01 PM
BogeyOne,

This sounds like a permissions issue.

Go to your SMF admin/permissions and modify. You should see options for Arcade.
Title: Re: SMF Arcade
Post by: rider on July 03, 2007, 03:01:40 PM
BogeyOne 1st off sorry for not getting back sooner but I have to sleep sometime.lol.I went to your site and could access the arcade.I think cfred is right check your permissions.See if you're able to access the arcade this way.www yoursite.com/index.php?action=arcade.
Title: Re: SMF Arcade
Post by: BogeyOne on July 03, 2007, 03:18:36 PM
Yes, I do see it that way as along as I don't log in.  When I do log in, everything about the arcade vanishes.  I have attached a screenshot which I just took of my screen in the admin panel.  Please note the arcade button missing from the options at the top and the blank area in the left vertical bar after the "FORUM" box of options.

Rider, if you have msn messenger, please contact me.  I will have my messenger turned on.  My contact is:  [email protected]


--Martin
Title: Re: SMF Arcade
Post by: cferd on July 03, 2007, 04:58:32 PM
For future reference, if you check your attachment, on the bottom right-hand corner, the part that starts with "Support", you can select to manage permissions from inside that area.

Now, as for your blank space in Admin: (Don't use the following code, it's just for reference.) In  Sources/Subs.php, around line 2771, my copy of the arcade code looks like this:
}

// Admin area 'Arcade'
if (allowedTo(array('arcade_admin')))
{
$context['admin_areas']['admin'] = array(
'title' => $txt['arcade_admin'],
'areas' => array(
'manage_games' => '<a href="' . $scripturl . '?action=managegames">' . $txt['arcade_manage_games'] . '</a>',
'manage_category' => '<a href="' . $scripturl . '?action=arcadecategory">' . $txt['arcade_manage_category'] . '</a>',
'arcade_settings' => '<a href="' . $scripturl . '?action=arcadesettings">' . $txt['arcade_settings'] . '</a>',
)
);
               
} // Admin area 'Members'.

The top closing bracket is from the // Admin area 'Forum'. section.  If your code has less than the 3 brackets " }{} " in that area, you probably found your culprit.
Title: Re: SMF Arcade
Post by: Fustrate on July 03, 2007, 07:43:06 PM
I say the text for the button isn't define... look at the double-wide spacing after Help.

can you view the source code of any page with that space and tell us if you can find action=arcade in there anywhere?
Title: Re: SMF Arcade
Post by: BogeyOne on July 03, 2007, 08:02:12 PM
Quote from: YodaOfDarkness on July 03, 2007, 07:43:06 PM
I say the text for the button isn't define... look at the double-wide spacing after Help.

can you view the source code of any page with that space and tell us if you can find action=arcade in there anywhere?


I really don't have a clue about these matters.  I am just a "color by numbers" computer fellow.  I regret that I wouldn't know what or where to look for or much less recognize things amiss when and if they came into view.

It is most strange--what is going on--but with luck, it will all operable within a couple of days.

Thanks to all.


--Martin
Title: Re: SMF Arcade
Post by: Fustrate on July 03, 2007, 08:35:29 PM
Hmm... could you perhaps PM me a link to your forum?

I'd like to test that double space theory...
Title: Re: SMF Arcade
Post by: cristansolid on July 05, 2007, 03:52:36 PM
Hello

I am spanish.. sorry my English..


I have a problem, I installed the versions 2.0.9 Arcade and the forum versions is 1.1.3

   
I can enter arcade. But the users and moderators cannot enter, appears to them the following message:

You are not allowed to access arcade.


that I can do?
Title: Re: SMF Arcade
Post by: cferd on July 05, 2007, 04:16:35 PM
Hi,

I speak spanish too, so maybe you can understand my english  ;)

Go to SMF admin/permissions. You can modify the groups to access Arcade from there.
Title: Re: SMF Arcade
Post by: cristansolid on July 05, 2007, 04:30:20 PM
Quote from: cferd on July 05, 2007, 04:16:35 PM
Hi,

I speak spanish too, so maybe you can understand my english  ;)

Go to SMF admin/permissions. You can modify the groups to access Arcade from there.

Hello!

I can understand to you well.
Thanks for your fast answer.

In the permissions he does not appear nothing of arcade... Not that to do!
Title: Re: SMF Arcade
Post by: cferd on July 05, 2007, 04:47:49 PM
Hmm...

3 questions:

1- Did you click on "Modify" next to the group name in permissions?
2- When you installed the arcade, were all "Tests successful"?
3- In Sources/ManagePermissions.php, do you have the following, starting on line 1298:
'membergroup' => array(            'arcade' => array(
                'arcade_view' => false,
                'arcade_play' => false,
                'arcade_admin' => false,
                'arcade_favorite' => false,
                'arcade_submit' => false,
                'arcade_comment' => true,
                'arcade_rate' => false,             
            ),

Title: Re: SMF Arcade
Post by: cristansolid on July 05, 2007, 06:01:39 PM
Quote from: cferd on July 05, 2007, 04:47:49 PM
Hmm...

3 questions:

1- Did you click on "Modify" next to the group name in permissions?
2- When you installed the arcade, were all "Tests successful"?
3- In Sources/ManagePermissions.php, do you have the following, starting on line 1298:
'membergroup' => array(            'arcade' => array(
                'arcade_view' => false,
                'arcade_play' => false,
                'arcade_admin' => false,
                'arcade_favorite' => false,
                'arcade_submit' => false,
                'arcade_comment' => true,
                'arcade_rate' => false,             
            ),



Oh yeah.

   
that was the problem. Thank you very much by all friend
Title: Re: SMF Arcade
Post by: cferd on July 05, 2007, 06:55:41 PM
De nada :)
Title: Re: SMF Arcade
Post by: Reekie_Red on July 05, 2007, 11:11:58 PM
Any plans to add new games?
Title: Re: SMF Arcade
Post by: PacificWx on July 05, 2007, 11:41:36 PM
Please direct me if it has been asked before - but will teh Arcade version 2.0.6 work with SMF 1.1.3?
Title: Re: SMF Arcade
Post by: Fustrate on July 06, 2007, 12:04:52 AM
It's working for me right now :)
Title: Re: SMF Arcade
Post by: Skhilled on July 06, 2007, 08:47:29 AM
Quote from: PacificWx on July 05, 2007, 11:41:36 PM
Please direct me if it has been asked before - but will teh Arcade version 2.0.6 work with SMF 1.1.3?
It will if you already have it installed before upgrading to smf 1.1.3. However, if you uninstall it, it will not install without modifying package-info.xml.

You can upgrade to the newest version, 2.0.9, which will install to smf 1.1.3.

Quote from: Reekie_Red on July 05, 2007, 11:11:58 PM
Any plans to add new games?
No plans...there are literally thousands of games that will already work with it.
Title: Re: SMF Arcade
Post by: MeRcChRiS on July 08, 2007, 01:50:35 PM
Im getting a

bat0718605130971.smf_games doesn't exist.
Title: Re: SMF Arcade
Post by: rider on July 08, 2007, 02:10:54 PM
Quote from: MeRcChRiS on July 08, 2007, 01:50:35 PM
Im getting a

bat0718605130971.smf_games doesn't exist.
After you installed it,did you run www.yoursite.com/installArcade.php in your browser?
Title: Re: SMF Arcade
Post by: MeRcChRiS on July 08, 2007, 02:47:11 PM
nvm i think its working now.
Title: Re: SMF Arcade
Post by: MeRcChRiS on July 08, 2007, 06:38:35 PM
I have another problem.

Did anyone get that bug fixed with the posts needed to play arcade? Because thats what some of my members on the forum are getting when they well have over 5 that i ask for.
Title: Re: SMF Arcade
Post by: cferd on July 08, 2007, 09:53:53 PM
See this:
http://www.smfarcade.info/index.php/topic,3092.msg19947.html#msg19947
Title: Re: SMF Arcade
Post by: asdas2 on July 08, 2007, 10:08:23 PM
can anyone plzz tell me how would i install that arcade mod .... :( coz when i simple upload that package smfarcade 2.0.9

it says installed succesfully
but when i click on import games it says tables are not found

any help.
Title: Re: SMF Arcade
Post by: rider on July 09, 2007, 12:19:25 AM
After you installed it,did you run www.yoursite.com/installArcade.php in your browser?
Title: Re: SMF Arcade
Post by: MeRcChRiS on July 09, 2007, 01:11:22 AM
Quote from: cferd on July 08, 2007, 09:53:53 PM
See this:
http://www.smfarcade.info/index.php/topic,3092.msg19947.html#msg19947

Where is arcade.php? I cant find it anhywhere
Title: Re: SMF Arcade
Post by: niko on July 09, 2007, 03:10:02 AM
Quote from: asdas2 on July 08, 2007, 10:08:23 PM
can anyone plzz tell me how would i install that arcade mod .... :( coz when i simple upload that package smfarcade 2.0.9

it says installed succesfully
but when i click on import games it says tables are not found

any help.

Import games is forthose who upgrade from 1.3
Title: Re: SMF Arcade
Post by: MeRcChRiS on July 09, 2007, 04:55:44 AM
Ok how do you make it so that whene a guest goes to click on the game a message pops up(instead of 'A error has ocured') It says like you must register.

Or if a user does not have enough posts that it requires to play games a message will say
'not enough posts' instead of 'a error has occured.
Title: Re: SMF Arcade
Post by: cferd on July 09, 2007, 07:27:44 AM
Quote from: MeRcChRiS on July 09, 2007, 01:11:22 AMWhere is arcade.php? I cant find it anhywhere

In your Sources/ directory.
Title: Re: SMF Arcade
Post by: asdas2 on July 09, 2007, 12:54:32 PM
Quote from: rider on July 09, 2007, 12:19:25 AM
After you installed it,did you run www.yoursite.com/installArcade.php in your browser?

do i hav to run that installarcade.php AFTER the installation or before ?????????????

Title: Re: SMF Arcade
Post by: asdas2 on July 09, 2007, 01:40:15 PM
ok here


i installed this package smf arcade 2.0.9 and then i upload it, installed it succesfully

than i run this installarcade.php file

agreed with that greement

and then i got 4 option

New install
Select this if you are installing first or want to lose old data. This may cause loss of data.
Full update
Updates and does full table update, don't use this if you have installed mods that edits tables of SMF Arcade since you will lose them.
Update
Select this if you are updating from any 2.0.x version to new.
Import
Select this if you are installing first time and want to import existing data from 1.3.0. Use this on clean install of SMF Arcade 2.0.0 for best results.


if i click on first option i get this messsg

Creating tables
Error report! (This means something went wrong)
Table 'smf_arcade_games' already exists
Table 'smf_arcade_personalbest' already exists
Table 'smf_arcade_gameofday' already exists
Table 'smf_arcade_scores' already exists
Table 'smf_arcade_categories' already exists
Table 'smf_arcade_favorite' already exists
Table 'smf_arcade_rates' already exists
Inserting default permissions
Success with no errors!
Inserting default settings
Success with no errors!
Finishing
Success with no errors!
SMF Arcade installer complete
Continue to Arcade Administration


and if i click on second option i get this


Updating
Full update
Success with no errors!
Tables have been updated!
Error report! (This means somehing went wrong)
Multiple primary key definedQuery: ALTER TABLE `chillpar_smf1`.smf_arcade_games CHANGE ID_GAME ID_GAME INT unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PRIMARY' at line 1
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'internalName' at line 1
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'gameFile' at line 1
Multiple primary key definedQuery: ALTER TABLE `chillpar_smf1`.smf_arcade_personalbest CHANGE ID_PB ID_PB INT unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PRIMARY' at line 1
Table 'chillpar_smf1.smf_ID_GAME' doesn't exist
Table 'chillpar_smf1.smf_ID_MEMBER' doesn't exist
Multiple primary key definedQuery: ALTER TABLE `chillpar_smf1`.smf_arcade_gameofday CHANGE ID_DAY ID_DAY INT unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PRIMARY' at line 1
Multiple primary key definedQuery: ALTER TABLE `chillpar_smf1`.smf_arcade_scores CHANGE ID_SCORE ID_SCORE INT unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PRIMARY' at line 1
Table 'chillpar_smf1.smf_ID_GAME' doesn't exist
Table 'chillpar_smf1.smf_ID_MEMBER' doesn't exist
Multiple primary key definedQuery: ALTER TABLE `chillpar_smf1`.smf_arcade_categories CHANGE ID_CAT ID_CAT INT unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PRIMARY' at line 1
Multiple primary key definedQuery: ALTER TABLE `chillpar_smf1`.smf_arcade_favorite CHANGE ID_FAVORITE ID_FAVORITE INT unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PRIMARY' at line 1
Multiple primary key definedQuery: ALTER TABLE `chillpar_smf1`.smf_arcade_rates CHANGE ID_RATE ID_RATE INT unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PRIMARY' at line 1
Continue to Arcade Administration


and if i click on 3rd option i get this

Updating
Success with no errors!
Tables have been updated!
Continue to Arcade Administration
         

and if i click on 4thoption i get this

Importing games and scores
Table 'chillpar_smf1.smf_games' doesn't exist




ANY IDEA ?
Title: Re: SMF Arcade
Post by: asdas2 on July 09, 2007, 01:45:46 PM
and when i click on
continue to Arcade Admin

i get something like this

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg503.imageshack.us%2Fimg503%2F8430%2F2222uj2.th.jpg&hash=7a810ce6a13d76ff36aac2c945ccdc0eff5865ff) (http://img503.imageshack.us/my.php?image=2222uj2.jpg)
Title: Re: SMF Arcade
Post by: rider on July 09, 2007, 01:54:07 PM
Quote from: asdas2 on July 09, 2007, 01:45:46 PM
and when i click on
continue to Arcade Admin

i get something like this

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg503.imageshack.us%2Fimg503%2F8430%2F2222uj2.th.jpg&hash=7a810ce6a13d76ff36aac2c945ccdc0eff5865ff) (http://img503.imageshack.us/my.php?image=2222uj2.jpg)
It looks like you have no games installed.Also I can tell you need to switch the forum default langauge to english to see the arcade admin settings.For that you need togo admin>serversettings>default forum langauge and switch the langauge to english.
Title: Re: SMF Arcade
Post by: MeRcChRiS on July 09, 2007, 02:11:18 PM
Quote from: MeRcChRiS on July 09, 2007, 04:55:44 AM
Ok how do you make it so that whene a guest goes to click on the game a message pops up(instead of 'A error has ocured') It says like you must register.

Or if a user does not have enough posts that it requires to play games a message will say
'not enough posts' instead of 'a error has occured.

Anyone can still help me wit this?
Title: Re: SMF Arcade
Post by: jiminoregon on July 09, 2007, 06:07:37 PM
Quote from: wilsy on January 12, 2007, 01:20:43 PM
Sorted, error in index.template.php (my error!)

Regards,

Wilsy.

Would you mind letting us know what the error was...might help us.

Jim
Title: Re: SMF Arcade
Post by: asdas2 on July 10, 2007, 01:57:09 AM
Quote from: rider on July 09, 2007, 01:54:07 PM
Quote from: asdas2 on July 09, 2007, 01:45:46 PM
and when i click on
continue to Arcade Admin

i get something like this

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg503.imageshack.us%2Fimg503%2F8430%2F2222uj2.th.jpg&hash=7a810ce6a13d76ff36aac2c945ccdc0eff5865ff) (http://img503.imageshack.us/my.php?image=2222uj2.jpg)
It looks like you have no games installed.Also I can tell you need to switch the forum default langauge to english to see the arcade admin settings.For that you need togo admin>serversettings>default forum langauge and switch the langauge to english.


ok thanz bro now i can see everything

but can u please tell me how would i install games and which is the best site to download gamezz ?????????????????????????
Title: Re: SMF Arcade
Post by: rider on July 10, 2007, 05:56:37 AM
Quote from: asdas2 on July 10, 2007, 01:57:09 AM
Quote from: rider on July 09, 2007, 01:54:07 PM
Quote from: asdas2 on July 09, 2007, 01:45:46 PM
and when i click on
continue to Arcade Admin

i get something like this

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg503.imageshack.us%2Fimg503%2F8430%2F2222uj2.th.jpg&hash=7a810ce6a13d76ff36aac2c945ccdc0eff5865ff) (http://img503.imageshack.us/my.php?image=2222uj2.jpg)
It looks like you have no games installed.Also I can tell you need to switch the forum default langauge to english to see the arcade admin settings.For that you need togo admin>serversettings>default forum langauge and switch the langauge to english.


ok thanz bro now i can see everything

but can u please tell me how would i install games and which is the best site to download gamezz ?????????????????????????
Clickon the link in my sig.That'll get you started.Check out the d/ls.I found the best way to install games is to upload the zipfiles directly to your Games folder via FTP.Then in your admin go to games/install and click on the zipfiles.
Title: Re: SMF Arcade
Post by: asdas2 on July 10, 2007, 08:29:20 PM
Quote from: rider on July 10, 2007, 05:56:37 AM
Quote from: asdas2 on July 10, 2007, 01:57:09 AM
Quote from: rider on July 09, 2007, 01:54:07 PM
Quote from: asdas2 on July 09, 2007, 01:45:46 PM
and when i click on
continue to Arcade Admin




i get something like this

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg503.imageshack.us%2Fimg503%2F8430%2F2222uj2.th.jpg&hash=7a810ce6a13d76ff36aac2c945ccdc0eff5865ff) (http://img503.imageshack.us/my.php?image=2222uj2.jpg)
It looks like you have no games installed.Also I can tell you need to switch the forum default langauge to english to see the arcade admin settings.For that you need togo admin>serversettings>default forum langauge and switch the langauge to english.


ok thanz bro now i can see everything

but can u please tell me how would i install games and which is the best site to download gamezz ?????????????????????????
Clickon the link in my sig.That'll get you started.Check out the d/ls.I found the best way to install games is to upload the zipfiles directly to your Games folder via FTP.Then in your admin go to games/install and click on the zipfiles.


thanz bro but is there any other site to download gamesz???
Title: Re: SMF Arcade
Post by: asdas2 on July 11, 2007, 12:05:49 AM
ok i still got some prob


http://chillparadise.com/index.php?action=arcade

how come there is no pic for " Add to fav" ?????????


i think alll the images are misssing ....

http://chillparadise.com/index.php?action=arcade;sa=stats


and

can anyone tell me how would i put an additional link to my navigation bar ?????

i m using

smf 1.1.3, theme DilberMc
Title: Re: SMF Arcade
Post by: askepott on July 11, 2007, 09:13:46 AM
getting this error

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


can i fix that index.template.php manually ?
Title: Re: SMF Arcade
Post by: Bigguy on July 11, 2007, 11:12:11 AM
Yes that can be done by following the edits in the .xml file that is packaged with the mod. :)
Title: Re: SMF Arcade
Post by: askepott on July 11, 2007, 11:15:31 AM
okay, thanks. I'll try to do that :)
Title: Re: SMF Arcade
Post by: rider on July 11, 2007, 01:32:30 PM
Quote from: asdas2 on July 11, 2007, 12:05:49 AM
ok i still got some prob


http://chillparadise.com/index.php?action=arcade

how come there is no pic for " Add to fav" ?????????


i think alll the images are misssing ....

http://chillparadise.com/index.php?action=arcade;sa=stats


and

can anyone tell me how would i put an additional link to my navigation bar ?????

i m using

smf 1.1.3, theme DilberMc
unzip the arcade and extract the images and upload them to themes>dilber>images.That should work.
Title: Re: SMF Arcade
Post by: MeRcChRiS on July 12, 2007, 01:39:14 AM
How come in the Who's online page, it never shows the person in the arcade, it says 'Nothing, or nothing you can see' or its just blank. How do i fix that?
Title: Re: SMF Arcade
Post by: asdas2 on July 12, 2007, 01:04:40 PM
Quote from: rider on July 11, 2007, 01:32:30 PM
Quote from: asdas2 on July 11, 2007, 12:05:49 AM
ok i still got some prob


http://chillparadise.com/index.php?action=arcade

how come there is no pic for " Add to fav" ?????????


i think alll the images are misssing ....

http://chillparadise.com/index.php?action=arcade;sa=stats


and

can anyone tell me how would i put an additional link to my navigation bar ?????

i m using

smf 1.1.3, theme DilberMc
unzip the arcade and extract the images and upload them to themes>dilber>images.That should work.



thnzzzzz bro .. reallly appreciate ur help....

but still i need to add arcde link to my navigation bar .....
Title: Re: SMF Arcade
Post by: Aes-Sedai on July 12, 2007, 10:36:08 PM
Is there any way to make SMF Arcade comptable with EXE Files?
Title: Re: SMF Arcade
Post by: oBEAVISo on July 13, 2007, 03:19:02 AM
Hi all .As i am new to smf and unsure i was wondering if anyone could help me out..I just cant seem to get the arcade workking for any of the members but it worked ok when i first installed it. all it keeps saying is error you are not allowed to access arcade ... it is really frustrating me now to the extent i feel like putiing my fist through my laptop ..I can gain access as can the other three members of the admin team but the members cant.The replies i have had i have copied and pasted everything into this post due to me posting in wrong place.I have tried what the support guys have told from the posts shown below but to no avail.

Could one of the support Guys please come to my site and try ....site name =www.gamezbox.co.uk  my name Beavis...... also for some reason the site isnt appearing properly under IE for some people and others it is whereas in  firefox everything is ok.

P.S. I am half bald as it is ..Come later on i will have nothing left.
Posts: 2


View Profile Email Personal Message (Online)
   
   
SMF Arcade
« on: Yesterday at 11:45:58 AM »
   Reply with quoteQuote Modify messageModify Remove this messageRemove
Hi i have just started my own website .. its a gaming website  fro xbox 360 etc.I am using smf 1.1.3 .I also have arcade 2.0.9 installed  .Now the problem i have is this .. the members can no longer get access to the arcade.it keeps saying "An error has occured you are not allowed to access the arcade".Myself and the other 3 admin have no problem gaining access and we have checked all the settings and still cant seem to see whats wrong.As we are only new and not sure of all the technical side of this we are a bit stuck.Any help would be greatly accepted.
   Report to moderator   82.47.121.135
shadow82x
Sophist Member
*****
Offline Offline

Gender: Male
Posts: 1,299


Blah

shad0w82x
View Profile WWW Email Personal Message (Offline)
   
   
Re: SMF Arcade
« Reply #1 on: Yesterday at 11:56:15 AM »
   Reply with quoteQuote
This should be posted in the arcade support topic but anyway it looks like your arcade permissions are messed up. Go to Admin >> Members >> Permissions >> Enable arcade permissions for the assigned membergroups. That should work.
   Report to moderator   Logged
- Shadow82x (PM/IM for support, and themes will be ignored)

[Egad Community] [Search] [Online Manual] [Security Reports]
Themes: Egad Gold Night - 4th of July -
oBEAVISo
Newbie
*
Online Online

Posts: 2


View Profile Email Personal Message (Online)
   
   
Re: SMF Arcade
« Reply #2 on: Yesterday at 12:29:00 PM »
   Reply with quoteQuote Modify messageModify Remove this messageRemove
I have checked and its all ticked ..still no good
When it was first installed it was working ok then a2 days ago people couldnt gain access.I have checked all the permissions and they are ticked, the ones that should be.I have also uninstalled and reinstalled.I then get th option to upload scores and stats and it installs them and then i can gain access again but the members still cant.
:(

Oh  and sorry for posting in the wrong place
« Last Edit: Yesterday at 12:46:08 PM by oBEAVISo »    Report to moderator   82.47.121.135
greyknight17
Simple Machines Hero
******
Offline Offline

Posts: 1,677


[email protected] greyknight17 greyknight17
View Profile WWW Personal Message (Offline)
   
   
Re: SMF Arcade
« Reply #3 on: Yesterday at 07:47:19 PM »
   Reply with quoteQuote
Post in the arcade mod topic here.
   Report to moderator   Logged


Installing SMF
mod_security - 403 errors or problems using links in posts
How to install mods manually
SMF Package Parser
babjusi
Charter Member
Simple Machines Hero
*
Offline Offline

Posts: 2,037


View Profile Personal Message (Offline)
   
   
Re: SMF Arcade
« Reply #4 on: Yesterday at 07:58:08 PM »
   Reply with quoteQuote
Quote from: oBEAVISo on Yesterday at 12:29:00 PM
I have checked and its all ticked ..still no good
When it was first installed it was working ok then a2 days ago people couldnt gain access.I have checked all the permissions and they are ticked, the ones that should be.I have also uninstalled and reinstalled.I then get th option to upload scores and stats and it installs them and then i can gain access again but the members still cant.
:(

Oh  and sorry for posting in the wrong place


Go to your admin panel-Arcade Admin-Categories. Here click at ''Default'' and choose the membergroup that you want to have access at the arcade section. Hope this helps
Title: Re: SMF Arcade
Post by: oBEAVISo on July 13, 2007, 10:30:24 AM
Hi lads can anyone from support get back to me please regarding the arcade problem i have. It can be seen clearly above this post .I have been at it all day and it just wont work. there has to be a bug or something as all the permissions are correct and at this stage i am very frustrated. 3 days i have been trying to sort this out from early morn till late night.

Thanks guys..
Title: Re: SMF Arcade
Post by: redone on July 13, 2007, 02:14:42 PM
Post a test member account.

Title: Re: SMF Arcade
Post by: Dutchbabe on July 16, 2007, 06:06:37 AM
hi

i got arcade 2.0.9 installes but i seem to miss
the sql voor the challenge and cant find it in the files its missing
the arcade is playing so thats ok save score and all but challenge and the tourney thing is not there

has someone this for me?

the sql and wat i have to ad in witch file?

thanks in advance
Title: Re: SMF Arcade
Post by: Skhilled on July 20, 2007, 04:19:35 PM
Quote from: asdas2 on July 12, 2007, 01:04:40 PM
thnzzzzz bro .. reallly appreciate ur help....

but still i need to add arcde link to my navigation bar .....
You have to edit your index.template.php for your theme to make the button show. Use install-rc2.xml to see how.

Quote from: Aes-Sedai on July 12, 2007, 10:36:08 PM
Is there any way to make SMF Arcade comptable with EXE Files?
No, the arcade only works with flash file.

Quote from: Dutchbabe on July 16, 2007, 06:06:37 AM
hi

i got arcade 2.0.9 installes but i seem to miss
the sql voor the challenge and cant find it in the files its missing
the arcade is playing so thats ok save score and all but challenge and the tourney thing is not there

has someone this for me?

the sql and wat i have to ad in witch file?

thanks in advance
Challenges and tournaments have been removed from all 2.0.x versions. This has been since the first 2.0 version. It's posted at the smfarcade site in the stickies for 2.0.x in announcements.
Title: Re: SMF Arcade
Post by: SouLFury on July 20, 2007, 05:11:04 PM
any knows why with IE scores arent saved??

with firefox works ok all games with IE session expires and cannot save any score..
Title: Re: SMF Arcade
Post by: Bigguy on July 21, 2007, 03:00:38 AM
Have you checked over at www.smfarcade.info ??? For your answer.
Title: Re: SMF Arcade
Post by: ~Unkn0wn~ on July 23, 2007, 12:13:09 AM
Works on 1.1.3?
Title: Re: SMF Arcade
Post by: rider on July 23, 2007, 12:17:08 AM
Version 2.0.9 works with 1.1.3
Title: Re: SMF Arcade
Post by: ~Unkn0wn~ on July 23, 2007, 12:35:05 AM
Quote from: rider on July 23, 2007, 12:17:08 AM
Version 2.0.9 works with 1.1.3
ALso on custom themes?
Title: Re: SMF Arcade
Post by: askepott on July 23, 2007, 08:31:36 PM
^yes, it's working on custom themes. you need to edit a few stuff though..


btw, last night we installed the arcade mod and installed games.. it was all working well..
but when i checked it this morning, i saw this error message

An Error Has Occurred!
Game not found

anyone knows how can i fix it?
Title: Re: SMF Arcade
Post by: MYBESTHOMESnet on July 24, 2007, 02:32:45 AM
Where can we add these codes below if we can't find the target line code in our theme. I'm using Techhead theme and i cant find these codes in my index.template. When i try to run, it says an "error has occured"

thanks in advance.
:)

In file $themes_dir/default/index.template.php


Find:

   if (in_array($context['current_action'], array('admin',



Add after:

'managegames', 'arcadesettings', 'arcadecategory',




Find:

   if (in_array($context['current_action'], array('search',



Add after:

'arcade',




Find:

// How about the [search] button?



Add before:

    echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
         <td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
            <a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
         </td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
Title: Re: SMF Arcade
Post by: loska on July 24, 2007, 08:27:28 AM
Are there finnish files for this mod available anywhere?
Title: Re: SMF Arcade
Post by: cferd on July 24, 2007, 02:22:42 PM
Try going here:
http://svn.madjoki.com/viewvc/viewvc.cgi/?root=smfarcade-language
Title: Re: SMF Arcade
Post by: askepott on July 24, 2007, 03:08:22 PM
MYBESTHOMESnet, actually the thing i did to make this mod works well on custom theme is i copied my index.template file from my default theme and put it on my custom theme. as well as the languages file. after doing that, the mod works just fine.

I also realized that almost all mods will work on custom theme IF you will replace the file on the custom theme from the default theme (TAKE NOTE : THIS OPTION WORKS WELL FOR ME. SO, IF YOU ARE NOT SURE ABOUT IT, DO A BACK UP BEFORE DOING THIS OPTION)

another question, how can i make the status appear on the who is online list? some of my members are playing right now and it says "nothing or nothing you can see" ...... can i fix this?
Title: Re: SMF Arcade
Post by: rider on July 24, 2007, 03:19:01 PM
Quote from: askepott on July 24, 2007, 03:08:22 PM
MYBESTHOMESnet, actually the thing i did to make this mod works well on custom theme is i copied my index.template file from my default theme and put it on my custom theme. as well as the languages file. after doing that, the mod works just fine.

I also realized that almost all mods will work on custom theme IF you will replace the file on the custom theme from the default theme (TAKE NOTE : THIS OPTION WORKS WELL FOR ME. SO, IF YOU ARE NOT SURE ABOUT IT, DO A BACK UP BEFORE DOING THIS OPTION)

another question, how can i make the status appear on the who is online list? some of my members are playing right now and it says "nothing or nothing you can see" ...... can i fix this?
What version are you using.I use eeek's modded version and it shows what game their playing in the who's online list.
Title: Re: SMF Arcade
Post by: MYBESTHOMESnet on July 24, 2007, 07:12:54 PM
thanks askepott for your advised.
Title: Re: SMF Arcade
Post by: SouLFury on July 25, 2007, 12:30:46 AM
For people who cant save scores in EXPLORER and can do it in FIREFOX...

try activating the cookies on that site... it worked for me...
Title: Re: SMF Arcade
Post by: loska on July 26, 2007, 05:28:29 AM
Quote from: cferd on July 24, 2007, 02:22:42 PM
Try going here:
http://svn.madjoki.com/viewvc/viewvc.cgi/?root=smfarcade-language

How should I install them? I put them to themes/languages, but it still doesn't work. I got v2.0.8.
Title: Re: SMF Arcade
Post by: John S on July 30, 2007, 11:14:38 AM
hi, what code do i need to place the "jump to" form (from smf message index) next to the 'arcade notice'?
Title: Re: SMF Arcade
Post by: wallis77 on July 30, 2007, 01:47:54 PM
i am using a Nostalgia Theme, the packages i have uploaded seem to always work on my default them but not my custom theme, im a total newb when it comes to things like this, i dont get any error message or anything, i just dont see anything once the package has installed.
Title: Re: SMF Arcade
Post by: perro88 on July 30, 2007, 02:37:31 PM
where I should download games to the forum? give me a good site
Title: Re: SMF Arcade
Post by: Col on July 31, 2007, 10:30:50 AM
Hi,

The games are available at Niko's site: http://www.smfarcade.info/index.php?action=tpmod;dl=cat2
Title: Re: SMF Arcade
Post by: perro88 on August 01, 2007, 02:53:54 PM
thanks.
Title: Re: SMF Arcade
Post by: vosje505 on August 02, 2007, 06:23:34 PM
i don't know if this is mentioned before if so im sorry.

because the help wasn't showing at the game i tried it myself and succeeded. if there is nothing filled in there will not be showed anything if there is it will show :

how to play :
your discription

i also made a link to manage the game so it can be easely accessed by people who are able to manage the games.

the code i placed is the next...

open file ArcadeMenu.template.php

find
// Favorite link (if can favorite)
if ($context['arcade']['can_favorite'])
echo '
<tr class="windowbg">
<td align="center">
<a href="', $context['arcade']['game']['url']['favorite'], '" onclick="arcade_favorite(', $context['arcade']['game']['id'], '); return false;">', !$context['arcade']['game']['isFavorite'] ?  '<img id="favgame' . $context['arcade']['game']['id'] . '" src="' . $settings['images_url'] . '/favorite.gif" alt="' . $txt['arcade_add_favorites'] . '" />' : '<img id="favgame' . $context['arcade']['game']['id'] . '" src="' . $settings['images_url'] . '/favorite2.gif" alt="' . $txt['arcade_remove_favorite'] .'" />', '</a>
</td>
</tr>';


place after

if (!empty($context['arcade']['game']['help'])){echo '
<tr class="windowbg">
<td align="center"><strong>How to play :</strong><br> <div class="smalltext">
', $context['arcade']['game']['help'], '</div>
</td>
</tr>';}
echo '<tr class="windowbg">
<td align="center">';if ($context['arcade']['can_admin']) {echo '<a href="' . $boardurl . '?action=managegames;sa=edit;game=' . $context['arcade']['game']['id'] . '" target="_blank">manage</a>';}
'</td>
</tr></tr>';


below an example image of how it looks like...

hope you like it...
Title: Re: SMF Arcade
Post by: Suby on August 04, 2007, 08:28:58 AM
I got this message - The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Version of the forum is 1.1.3.
Title: Re: SMF Arcade
Post by: Col on August 04, 2007, 11:16:34 AM
Quote from: Suby on August 04, 2007, 08:28:58 AM
I got this message - The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Version of the forum is 1.1.3.

Hi,

I had the same problem. Download the package to your computer and then upload it to your forum from there.
Title: Re: SMF Arcade
Post by: TrueSatan on August 04, 2007, 11:35:22 AM
The version on the SMF mod site isn't compatible with SMF 1.1.3 so the error message is correct and Col's suggestion won't help...a new version is available on the SMF Arcade support site that is compatible with SMF 1.1.3:

http://www.smfarcade.info/index.php?action=download (http://www.smfarcade.info/index.php?action=download)
Title: Re: SMF Arcade
Post by: Col on August 04, 2007, 10:50:47 PM
Quote from: TrueSatan on August 04, 2007, 11:35:22 AM
The version on the SMF mod site isn't compatible with SMF 1.1.3 so the error message is correct and Col's suggestion won't help...a new version is available on the SMF Arcade support site that is compatible with SMF 1.1.3:

http://www.smfarcade.info/index.php?action=download (http://www.smfarcade.info/index.php?action=download)

It must have been another mod. Yes, I remember downloading the mod from Nico's site now that you mention it.
Title: Re: SMF Arcade
Post by: askepott on August 06, 2007, 01:11:10 PM
Quote from: rider on July 24, 2007, 03:19:01 PM
Quote from: askepott on July 24, 2007, 03:08:22 PM
MYBESTHOMESnet, actually the thing i did to make this mod works well on custom theme is i copied my index.template file from my default theme and put it on my custom theme. as well as the languages file. after doing that, the mod works just fine.

I also realized that almost all mods will work on custom theme IF you will replace the file on the custom theme from the default theme (TAKE NOTE : THIS OPTION WORKS WELL FOR ME. SO, IF YOU ARE NOT SURE ABOUT IT, DO A BACK UP BEFORE DOING THIS OPTION)

another question, how can i make the status appear on the who is online list? some of my members are playing right now and it says "nothing or nothing you can see" ...... can i fix this?
What version are you using.I use eeek's modded version and it shows what game their playing in the who's online list.

i'm using version 2.0.9 and smf 1.1.3

i am unsure to what has caused my problem.. but uhm yeah, it still says "nothing of nothing you can see". and another lil prob, everytime i set permission to have atleast this amount of post per day before playing, all my members can't access the arcade area. it says they are not allowed to play the games.. anyone experience that prob too?

i wanted to set it because, i noticed most of my members have been hanging around the arcade area since the day i put it up. and it has lessen the forum posts per day for a while..
Title: Re: SMF Arcade
Post by: Chantal Matar on August 09, 2007, 06:06:59 AM
Guys, I downloaded the updated 1.1.3 Mod from SmfArcade.info, it installed fine.  I could see and play the games.

Other members couldn't see the Arcade at all.  I  had to go and change the account settings to English (and not English UTF8) so now everyone can see it...

BUT, only a few can play the games.  When others go through it says the following:

 
Pages: [1]   Go Down   
     Random game  |  Show favorites only   
No games available for playing
Pages: [1]   Go Up   
     Random game  |  Show favorites only     

Why is this?  Permissions have been set.  Besides why can I and a handful of members  see the games and play and not the others?

Thanks.
Title: Re: SMF Arcade
Post by: rider on August 09, 2007, 06:20:18 AM
Quote from: askepott on August 06, 2007, 01:11:10 PM
Quote from: rider on July 24, 2007, 03:19:01 PM
Quote from: askepott on July 24, 2007, 03:08:22 PM
MYBESTHOMESnet, actually the thing i did to make this mod works well on custom theme is i copied my index.template file from my default theme and put it on my custom theme. as well as the languages file. after doing that, the mod works just fine.

I also realized that almost all mods will work on custom theme IF you will replace the file on the custom theme from the default theme (TAKE NOTE : THIS OPTION WORKS WELL FOR ME. SO, IF YOU ARE NOT SURE ABOUT IT, DO A BACK UP BEFORE DOING THIS OPTION)

another question, how can i make the status appear on the who is online list? some of my members are playing right now and it says "nothing or nothing you can see" ...... can i fix this?
What version are you using.I use eeek's modded version and it shows what game their playing in the who's online list.

i'm using version 2.0.9 and smf 1.1.3

i am unsure to what has caused my problem.. but uhm yeah, it still says "nothing of nothing you can see". and another lil prob, everytime i set permission to have atleast this amount of post per day before playing, all my members can't access the arcade area. it says they are not allowed to play the games.. anyone experience that prob too?

i wanted to set it because, i noticed most of my members have been hanging around the arcade area since the day i put it up. and it has lessen the forum posts per day for a while..
try going to smfarcade.info and do a search on post per day.eeek posted a fix for it.
Title: Re: SMF Arcade
Post by: rider on August 09, 2007, 06:21:24 AM
Quote from: Chantal Matar on August 09, 2007, 06:06:59 AM
Guys, I downloaded the updated 1.1.3 Mod from SmfArcade.info, it installed fine.  I could see and play the games.

Other members couldn't see the Arcade at all.  I  had to go and change the account settings to English (and not English UTF8) so now everyone can see it...

BUT, only a few can play the games.  When others go through it says the following:

 
Pages: [1]   Go Down   
     Random game  |  Show favorites only   
No games available for playing
Pages: [1]   Go Up   
     Random game  |  Show favorites only    

Why is this?  Permissions have been set.  Besides why can I and a handful of members  see the games and play and not the others?

Thanks.
try going to admin>arcade settings>permissions set to none.see if that helps.
Title: Re: SMF Arcade
Post by: Chantal Matar on August 09, 2007, 06:34:35 AM
Rider, I just read that same reply on your SMFArcade.info. 

Can I ask you to visit my website and tell me if it works for you please?

www.PS3SmallTalk.com
Title: Re: SMF Arcade
Post by: rider on August 09, 2007, 06:42:10 AM
Quote from: Chantal Matar on August 09, 2007, 06:34:35 AM
Rider, I just read that same reply on your SMFArcade.info. 

Can I ask you to visit my website and tell me if it works for you please?

www.PS3SmallTalk.com
I looked and could see the games but could not play them as a guest.If I can see them them I think the problem is fixed.
Title: Re: SMF Arcade
Post by: rider on August 09, 2007, 06:50:17 AM
It working now. :D :D
Title: Re: SMF Arcade
Post by: Chantal Matar on August 09, 2007, 07:04:43 AM
Thank you Rider.   :-* I realised I hadn't enabled the permissions for Guests.

I have been trying to figure out how to fix this for a week.  I had the Admin permissions on Category and Game because I thought this was enabling them - what is it actually doing?  Is there anywhere that explains all this?

I thought None would mean they didn't have access to anything, not the other way around!  ???
Title: Re: SMF Arcade
Post by: rider on August 09, 2007, 07:11:02 AM
Quote from: Chantal Matar on August 09, 2007, 07:04:43 AM
Thank you Rider.   :-* I realised I hadn't enabled the permissions for Guests.

I have been trying to figure out how to fix this for a week.  I had the Admin permissions on Category and Game because I thought this was enabling them - what is it actually doing?  Is there anywhere that explains all this?

I thought None would mean they didn't have access to anything, not the other way around!  ???
you shouldn't enable it for guests.they won't sign up if you do.I registered to see if it worked.What you are doing by setting the permissions by category or games is setting it up for only certain member groups to play.by setting it to none you allow all the membergroup access.hope this expalins things a little better.
Title: Re: SMF Arcade
Post by: rider on August 09, 2007, 07:12:32 AM
Quote from: Chantal Matar on August 09, 2007, 07:04:43 AM
Thank you Rider.   :-* I realised I hadn't enabled the permissions for Guests.

I have been trying to figure out how to fix this for a week.  I had the Admin permissions on Category and Game because I thought this was enabling them - what is it actually doing?  Is there anywhere that explains all this?

I thought None would mean they didn't have access to anything, not the other way around!  ???
too learn more just click on the link in my sig and check out the site.tons of info there.
Title: Re: SMF Arcade
Post by: Chantal Matar on August 09, 2007, 07:20:01 AM
Okay great.  Can I ask you one last question please?  I just installed a game, Wordsearch, but when I go to play it just keeps refreshing the game.  When I leave it it says Loading but never actually starts. 

Rider, would you take a look  please?

Thank you.
Title: Re: SMF Arcade
Post by: rider on August 09, 2007, 07:21:58 AM
Quote from: Chantal Matar on August 09, 2007, 07:20:01 AM
Okay great.  Can I ask you one last question please?  I just installed a game, Wordsearch, but when I go to play it just keeps refreshing the game.  When I leave it it says Loading but never actually starts. 

Rider, would you take a look  please?

Thank you.
where did you get the game from?If its not from one of the game packs from smfarcade then I need to know.
Title: Re: SMF Arcade
Post by: Chantal Matar on August 09, 2007, 07:28:36 AM
I got it from www.ultimatearcades.com  which are where some of the games in the SMFArcade packs are from.

No game icon is appearing in the window.  Oh and I meant Hang The Alien in your PM not AlienHang!
Title: Re: SMF Arcade
Post by: Chantal Matar on August 09, 2007, 07:33:15 AM
Hang The Alien is working, even though there is no game pic in the left-hand side box.  Wordsearch still not happening. 

Is that something to do with the game then? As opposed to me doing something wrong?

Any ideas how to get a pic in the blank box?
Title: Re: SMF Arcade
Post by: rider on August 09, 2007, 07:33:29 AM
Quote from: Chantal Matar on August 09, 2007, 07:28:36 AM
I got it from www.ultimatearcades.com&nbsp; which are where some of the games in the SMFArcade packs are from.

No game icon is appearing in the window.&nbsp; Oh and I meant Hang The Alien in your PM not AlienHang!
i replied to the pm.don't worry about a few games that don't work I know of a ton that will.
Title: Re: SMF Arcade
Post by: rider on August 09, 2007, 07:35:28 AM
Quote from: Chantal Matar on August 09, 2007, 07:33:15 AM
Hang The Alien is working, even though there is no game pic in the left-hand side box.  Wordsearch still not happening. 

Is that something to do with the game then? As opposed to me doing something wrong?

Any ideas how to get a pic in the blank box?
hang the alein does work but you can't submit scores.you're doing nothing wrong but as I explained not all will work.I'm off now but if you need any help later you can get ahold of me.
Title: Re: SMF Arcade
Post by: Chantal Matar on August 09, 2007, 07:51:57 AM
Rider thank you once again.  Speak to you soon.  :D
Title: Re: SMF Arcade
Post by: Skhilled on August 09, 2007, 08:01:43 AM
You also have to remember that the games in the smfarcade game packs were modified so that they will submit a score. So, other Ultimate Arcade games may not submit or work correctly.

EDIT: For everyone else who is having problems please upgrade to the latest version first. Then check at smfarcade.info for the latest fixes. :)
Title: Re: SMF Arcade
Post by: rider on August 09, 2007, 08:07:54 AM
Quote from: Skhilled on August 09, 2007, 08:01:43 AM
You also have to remember that the games in the smfarcade game packs were modified so that they will submit a score. So, other Ultimate Arcade games may not submit or work correctly.

EDIT: For everyone else who is having problems please upgrade to the latest version first. Then check at smfarcade.info for the latest fixes. :)

hah for once I beat you too the answer.lol.
Title: Re: SMF Arcade
Post by: sunny7 on August 10, 2007, 09:59:55 AM
look at my post under this one
Title: Re: SMF Arcade
Post by: sunny7 on August 10, 2007, 10:14:57 AM
Hi, I've install SMF Arcade + games pack, but when i go to play the games i get nothing lol. I've print screened what I get when i try to play the games:

Here's the list of games without any images:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg340.imageshack.us%2Fimg340%2F2943%2Funtitled1kr8.jpg&hash=ae5262af1267d38c714beccfdbeae815ec51451a)

Here's what I get when selecting a game to play (which dosn't do anything):
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg452.imageshack.us%2Fimg452%2F732%2Funtitled2lp4.jpg&hash=236cb9080d918ad20e7eebc1fb1e1ee4bed2e938)

I've set the Permission Mode to 'none'
I dont know what the problem is?? Can anyone help??
Title: Re: SMF Arcade
Post by: Defused on August 10, 2007, 02:03:51 PM
How can I add a link to the arcade to my top navigation?
Really need one since the arcade is hidden otherwise.
Heres a link to my forums: http://defused.us/forums/index.php
Thanks.
Title: Re: SMF Arcade
Post by: babjusi on August 10, 2007, 02:11:14 PM
Quote from: Defused on August 10, 2007, 02:03:51 PM
How can I add a link to the arcade to my top navigation?
Really need one since the arcade is hidden otherwise.
Heres a link to my forums: http://defused.us/forums/index.php
Thanks.

You are using a custom theem and you must make some changes in order for the arcade to show up.
Use daniel15''s mod parser. It will show you exactly what changes to make and where to apply them

http://modparser.dev.dansoftaustralia.net/
Title: Re: SMF Arcade
Post by: rider on August 10, 2007, 02:19:23 PM
Quote from: sunny7 on August 10, 2007, 10:14:57 AM
Hi, I've install SMF Arcade + games pack, but when i go to play the games i get nothing lol. I've print screened what I get when i try to play the games:

Here's the list of games without any images:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg340.imageshack.us%2Fimg340%2F2943%2Funtitled1kr8.jpg&hash=ae5262af1267d38c714beccfdbeae815ec51451a)

Here's what I get when selecting a game to play (which dosn't do anything):
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg452.imageshack.us%2Fimg452%2F732%2Funtitled2lp4.jpg&hash=236cb9080d918ad20e7eebc1fb1e1ee4bed2e938)

I've set the Permission Mode to 'none'
I dont know what the problem is?? Can anyone help??
Look in your Games folder via FTP and see if the images are in there.If not then upload the images to the folder
Title: Re: SMF Arcade
Post by: sunny7 on August 10, 2007, 02:29:35 PM
Do I need to upload the games and picture files individually? at the moment, in the games folder, there's just the zip game packs...
Title: Re: SMF Arcade
Post by: rider on August 10, 2007, 03:00:22 PM
Quote from: sunny7 on August 10, 2007, 02:29:35 PM
Do I need to upload the games and picture files individually? at the moment, in the games folder, there's just the zip game packs...
Sounds like the games didn't install properly.What you should see are the gamepack zips and the game pack folders.
Title: Re: SMF Arcade
Post by: Defused on August 10, 2007, 04:48:53 PM
Quote from: babjusi on August 10, 2007, 02:11:14 PM
Quote from: Defused on August 10, 2007, 02:03:51 PM
How can I add a link to the arcade to my top navigation?
Really need one since the arcade is hidden otherwise.
Heres a link to my forums: http://defused.us/forums/index.php
Thanks.


You are using a custom theem and you must make some changes in order for the arcade to show up.
Use daniel15''s mod parser. It will show you exactly what changes to make and where to apply them

http://modparser.dev.dansoftaustralia.net/

the parser didnt give me any info in it, said it would work as default. all i need is to add a top navigation link to the arcade
!!!!!
Title: Re: SMF Arcade
Post by: rider on August 10, 2007, 05:07:45 PM
Quote from: Defused on August 10, 2007, 04:48:53 PM
Quote from: babjusi on August 10, 2007, 02:11:14 PM
Quote from: Defused on August 10, 2007, 02:03:51 PM
How can I add a link to the arcade to my top navigation?
Really need one since the arcade is hidden otherwise.
Heres a link to my forums: http://defused.us/forums/index.php
Thanks.


You are using a custom theem and you must make some changes in order for the arcade to show up.
Use daniel15''s mod parser. It will show you exactly what changes to make and where to apply them

http://modparser.dev.dansoftaustralia.net/

the parser didnt give me any info in it, said it would work as default. all i need is to add a top navigation link to the arcade
!!!!!
click the link in my sig.You'll find everything you need todo there.
Title: Re: SMF Arcade
Post by: lextech on August 12, 2007, 12:25:14 PM
I have 2 identical 1.1.3 forums and I am installing 2.0.9 arcade. One of the forums went up flawlessly, the other does not display the admin menu for games, it only gives a blank box. I cannot find the difference between the two forums that is causing this.
Title: Re: SMF Arcade
Post by: niko on August 12, 2007, 02:00:47 PM
I'd guess it is language, arcade installs only to English by default. Second may use utf8 which arcade doesn't install by default
Title: Re: SMF Arcade
Post by: lextech on August 12, 2007, 02:09:10 PM
Can you tell me what path I should use to get to the games when I link a custom button? I don't want to use the template code since I have a theme that will do it all for me, I just need a path to the game gallery. What should I be looking for?

Thank you! (ps- on the previous I simply re-chose the current english setting and saved and all was well, weird)
Title: Re: SMF Arcade
Post by: lextech on August 12, 2007, 03:30:43 PM
I have everything working great on my forum with the arcade, but when I go into the admin panel I constantly have to go into my server settings and re-click english and save to see the game admin section. Otherwise it is just blank.

It already says it is set on english, but I have to re-save it anyway. Otherwise the game admin panel is blank.

Any ideas? :)
Title: Re: SMF Arcade
Post by: rider on August 12, 2007, 03:35:15 PM
Quote from: lextech on August 12, 2007, 02:09:10 PM
Can you tell me what path I should use to get to the games when I link a custom button? I don't want to use the template code since I have a theme that will do it all for me, I just need a path to the game gallery. What should I be looking for?

Thank you! (ps- on the previous I simply re-chose the current english setting and saved and all was well, weird)
Try this.unzip the arcade and goto themes>default>langauges.Copy the lang files and then rename them add -utf8 to the files and then upload them to your themes>your theme>langauges via FTP.see if that works.
Title: Re: SMF Arcade
Post by: lextech on August 13, 2007, 06:47:51 PM
I have generated 223 pages of errors in 2 days from the following error:

Undefined index: arcade

public_html/forum/Sources/Arcade.php

As stated previously, I cannot see my games manager unless I go into server settings and click save (no settings change) to remind the site it is using english. When I do so , all my errors seem to go away as best I can tell.
Title: Re: SMF Arcade
Post by: masss on August 19, 2007, 10:36:29 AM
Where can i get more games for arcade??? (with working scores!)
Title: Re: SMF Arcade
Post by: babjusi on August 19, 2007, 11:16:13 AM
Quote from: masss on August 19, 2007, 10:36:29 AM
Where can i get more games for arcade??? (with working scores!)

www.smfarcade.info
Title: Re: SMF Arcade
Post by: Skhilled on August 22, 2007, 08:54:23 AM
ATTENTION!!! If you are using a different theme other than the default please state so in your post along with the version of smf and arcade that you are using! We can help you a lot quicker!

The arcade will only install to the default theme. You will have to modify all other themes to work with it using the code in install-rc2.xml.

Switch to the default theme BEFORE installing the arcade. Do not do this in your profile...only in admin! If it works using the default theme then you will have to modify your theme to work with it.

If you are having problems with using a different theme do a search at smfarcade to see if it has already been done. If not, please post your index.template.php file there with the name of the theme and we might be able to make it work.

Also, do not use UTF-8 with your language file for the arcade. It's probably the mod that is at fault but they will probably work better without it.

There is a new version called 2.0.10. This will fix a few issues that some of you may have. Please, go to smfarcade.info for assistance.
Title: Re: SMF Arcade
Post by: tam2oo5 on August 22, 2007, 01:13:47 PM
Hi there, i made a regular group in my smf board called donated members. I set their permissions for them to be able to see the arcade , but when one of them clicks it they cannot see the games. Do you have any idea whats causing this?
Title: Re: SMF Arcade
Post by: Jaba on August 23, 2007, 10:00:46 AM
Hi all. Great software SMF :) Some errors in Admin log but site running  ok!

Firstly I would like to say Hi and at the same time what a great job to SMF for creating what I think is one of the best bits of software I have used for a while!

I've just set up my 1st test site, now looking for a Domain and will then move it there! All working in a couple of hours in its basic form.
Not urgent I think but I have some errors in Admin log but can't see any problems on the site.
They relate to Arcade which I just installed.

The error log:

http://my.web.site.com/forum/index.php?action=arcade;sa=stats

2: Invalid argument supplied for foreach()
File: /home/sites/my.web.site.com/public_html/forum/Themes/default/ArcadeMenu.template.php (eval?)
Line: 594

The error seems to be created when I look at the Arcade stats! The only thing I can see is maybe one player has 2 entries for the same Game under "Longest champions" Is this correct?
Info: I did install the bright Forest theme before installing Arcade, then had to make an edit to index.template.php to get the Menu to show it!
Ver. SMF 1.1.3 - Theme Bright Forest - Arcade 2.0.9

Not urgent, but any info on the error would be a help!
Many Thanx
Title: Re: SMF Arcade
Post by: masss on August 23, 2007, 05:56:22 PM
How can i add ads at the top of .swf flash game?
Title: Re: SMF Arcade
Post by: GouroB on August 24, 2007, 05:21:51 PM
i am getting this error whenever i am trying to install this mod

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.


5.     Execute Modification     ./Themes/default/index.template.php     Test failed


any idea ? i am using latest version of smf and i tried both version of arcade ( 2.0.9 and 2.0.10 ) both gave me error.
Title: Re: SMF Arcade
Post by: Chantal Matar on August 25, 2007, 05:35:07 PM
Hello all,

After my Arcade working perfectly well since installation it is now not working properly.

High Scores are not being saved:

'Score was not saved because checks failed and you probably tried to cheat or your browser is malfunctioning'

What can I do to fix this?

I installed 4 new games today which are working fine.  Are the two things related?

Did a search on this but didn't find anything.  Can someone help me please?

Thanks.

(I am using the latest version for 1.1.3)

www.PS3SmallTalk.com (it's disabled but I can enable it for guests if you need to check it out)
Title: Re: SMF Arcade
Post by: Chantal Matar on August 25, 2007, 05:54:43 PM
Oh and another thing I just noticed.

When I play a game called Alien Hunters on my forum, once it's finished instead of saving my score says Error: Game Not Found! 

Eh?  ???


EDIT:  Hurrah I've just sorted it out!  Just so everybody knows what I did - I uploaded the repair.settings file and fixed the cookie which was wrong.  That fixed the previous problem but not this one.

I then deleted and reinstalled Alien Hunter.  Problem solved!
Title: Re: SMF Arcade
Post by: Jaba on August 25, 2007, 06:09:00 PM
I've held back installing too many games I have a few errors also as posted above!
One game Breakit CH will not save scores but 5 others are 100% ok.
When I look at the stats for the games only then the error is recorded in the error log!

Seems to me some of the games have a few small bugs Re. saving scores + the Arcade might have a small bug as I only started getting entries in my log file after installing it! Not a problem hopefully as it is playing all the games so that's the most important thing!!
Title: Re: SMF Arcade
Post by: rider on August 25, 2007, 11:52:16 PM
Quote from: tam2oo5 on August 22, 2007, 01:13:47 PM
Hi there, i made a regular group in my smf board called donated members. I set their permissions for them to be able to see the arcade , but when one of them clicks it they cannot see the games. Do you have any idea whats causing this?
Quote from: Jaba on August 25, 2007, 06:09:00 PM
I've held back installing too many games I have a few errors also as posted above!
One game Breakit CH will not save scores but 5 others are 100% ok.
When I look at the stats for the games only then the error is recorded in the error log!

Seems to me some of the games have a few small bugs Re. saving scores + the Arcade might have a small bug as I only started getting entries in my log file after installing it! Not a problem hopefully as it is playing all the games so that's the most important thing!!

What permissions did you set for them and what are your arcade permissions set for?.Some of the games form smfarcade.info won't work cause of the changes made to the arcade over time but there are places you can get lots of games that will work.
Title: Re: SMF Arcade
Post by: masss on August 26, 2007, 05:37:27 AM
Please help! How can i add html (java) ads into arcare?? I really would like to do that! Please help! Which file do i have to modify and how?
Title: Re: SMF Arcade
Post by: fwitt on August 26, 2007, 12:22:58 PM
Quote from: masss on August 26, 2007, 05:37:27 AM
Please help! How can i add html (java) ads into arcare?? I really would like to do that! Please help! Which file do i have to modify and how?

put the ad code where you want it to appear in arcade.template.php
Title: Re: SMF Arcade
Post by: Virtual Hero on August 26, 2007, 01:49:21 PM
I have some members that need to use a proxy to view my website. The arcade works fine through the proxy as long as they do not log in (the play as a guest). However their scores do not save this way (yes I know there is a setting but I don't want that).

My question is, after a guest plays a game, can the guest be taken to the log me in screen so they can log in right then and save their scores?

Thanks!
Title: Re: SMF Arcade
Post by: Skhilled on August 27, 2007, 08:10:10 AM
Quote from: Jaba on August 23, 2007, 10:00:46 AM
Hi all. Great software SMF :) Some errors in Admin log but site running  ok!

Firstly I would like to say Hi and at the same time what a great job to SMF for creating what I think is one of the best bits of software I have used for a while!

I've just set up my 1st test site, now looking for a Domain and will then move it there! All working in a couple of hours in its basic form.
Not urgent I think but I have some errors in Admin log but can't see any problems on the site.
They relate to Arcade which I just installed.

The error log:

http://my.web.site.com/forum/index.php?action=arcade;sa=stats

2: Invalid argument supplied for foreach()
File: /home/sites/my.web.site.com/public_html/forum/Themes/default/ArcadeMenu.template.php (eval?)
Line: 594

The error seems to be created when I look at the Arcade stats! The only thing I can see is maybe one player has 2 entries for the same Game under "Longest champions" Is this correct?
Info: I did install the bright Forest theme before installing Arcade, then had to make an edit to index.template.php to get the Menu to show it!
Ver. SMF 1.1.3 - Theme Bright Forest - Arcade 2.0.9

Not urgent, but any info on the error would be a help!
Many Thanx

This will occur when no one has rated any games yet. Once any one game is rated it will not show up again.
Title: Re: SMF Arcade
Post by: Jaba on August 27, 2007, 09:16:10 AM
QuoteThis will occur when no one has rated any games yet. Once any one game is rated it will not show up again.
Thank you that answer is spot on! :) I just rated a few games yesterday and can so no more entries in the log for this!
Many thanx.
Title: Re: SMF Arcade
Post by: Skhilled on August 28, 2007, 08:11:43 AM
Quote from: masss on August 26, 2007, 05:37:27 AM
Please help! How can i add html (java) ads into arcare?? I really would like to do that! Please help! Which file do i have to modify and how?
I believe it is Arcade.template.php.
Title: Re: SMF Arcade
Post by: masss on August 31, 2007, 02:09:07 PM
Where do i have to put it? I was trying but without success :'(

Code

Quote<?php
// Version: 2.0.8; Arcade

function template_arcade_above()
{
   global $scripturl, $txt, $context;

   echo '
   <div style="padding: 3px;">', theme_linktree(), '</div>';

   if (!empty($context['arcade_tabs']))
   {
      echo '
   <div class="tborder">
      <table class="bordercolor" border="0" cellpadding="4" cellspacing="1" width="100%">
         <tr class="titlebg">
            <td colspan="2">
               ', $context['arcade_tabs']['title'], '
            </td>
         </tr>
         ', isset($context['arcade']['notice']) ? '
         <tr class="windowbg2">
            <td colspan="2">' . $context['arcade']['notice'] . '</td>
         </tr>' : '', '
         <tr class="catbg">
            <td align="center">', $txt['arcade_game_highlights'], '</td>
            <td align="center">', $txt['arcade_latest_scores'], '</td>
         </tr>
         <tr class="windowbg">
            <td class="smalltext" style="padding: 2ex; text-align: center;">';

      if ($context['arcade']['longest_champion'] !== false)
         echo sprintf($txt['arcade_game_with_longest_champion'], $context['arcade']['longest_champion']['member_link'], $context['arcade']['longest_champion']['game_link']), '<br />';

      if ($context['arcade']['most_played'] !== false)
         echo sprintf($txt['arcade_game_most_played'], $context['arcade']['most_played']['link']), '<br />';

      if ($context['arcade']['best_player'] !== false)
         echo sprintf($txt['arcade_game_best_player'], $context['arcade']['best_player']['link']), '<br />';

      if ($context['arcade']['stats']['games'] != 0)
         echo sprintf($txt['arcade_game_we_have_games'], $context['arcade']['stats']['games']), '<br />';

      echo '
            </td>
            <td class="smalltext" style="padding: 2ex; text-align: center;">';

      if (count($context['arcade']['latest_scores']) > 0)
         foreach ($context['arcade']['latest_scores'] as $score) // Print out latest scores
            printf($txt['arcade_latest_score'], $scripturl . '?action=arcade;sa=play;game=' . $score['game_id'], $score['name'], $score['score'], $score['memberLink'], strip_tags($score['time']));
      else
         echo $txt['arcade_no_scores'];

      echo '
            </td>
         </tr>
      </table>
   </div>

   <table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
      <tr>
         <td class="maintab_first">&nbsp;</td>';

         // Print out all the items in this tab.
         foreach ($context['arcade_tabs']['tabs'] as $tab)
         {
            if (!empty($tab['is_selected']))
            {
               echo '
         <td class="maintab_active_first">&nbsp;</td>
         <td valign="top" class="maintab_active_back">
            <a href="', $tab['href'], '">', $tab['title'], '</a>
         </td>
         <td class="maintab_active_last">&nbsp;</td>';

               $selected_tab = $tab;
            }
            else
               echo '
         <td valign="top" class="maintab_back">
            <a href="', $tab['href'], '">', $tab['title'], '</a>
         </td>';
         }

         // the end of tabs
         echo '
         <td class="maintab_last">&nbsp;</td>
      </tr>
   </table><br />';

   }

   echo '
   <div style="padding-top: 5px;">
      <a name="top"></a>';

}

// Game list
function template_arcade_list()
{
   global $scripturl, $txt, $context, $settings;

   $arcade = array(
      'random' => array(
         'text' => 'arcade_random_game',
         'image' => 'arcade_random.gif', // Theres no image for this included (yet)
         'url' => $scripturl . '?action=arcade;sa=play;random',
         'lang' => true
      ),
      'favorites' => array(
         'text' => 'aracde_favorites_only',
         'image' => 'arcade_favorites.gif',
         'url' => $scripturl . '?action=arcade;favorites',
         'lang' => true
      ),
   );

   if (isset($context['arcade']['search']) && $context['arcade']['search'])
      $arcade['search'] = array(
         'text' => 'aracde_show_all',
         'image' => 'arcade_search.gif',
         'url' => $scripturl . '?action=arcade',
         'lang' => true
      );


   // Header for Game listing
   echo '
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
         <tr>
            <td class="middletext" style="padding-bottom: 4px;" valign="bottom">', $txt[139], ': ', $context['arcade']['pageIndex'], '   &nbsp;&nbsp;<a href="#bot"><b>', $txt['topbottom5'], '</b></a></td>
            <td style="padding-right: 1ex;" align="right">
               <table cellpadding="0" cellspacing="0">
                  <tr>', template_button_strip($arcade, 'bottom'), '</tr>
               </table>
            </td>
         </tr>
      </table>

      <div class="tborder">
         <table class="bordercolor" border="0" cellpadding="4" cellspacing="1" width="100%">';

   // Is there games?
   if (count($context['arcade']['games']) > 0)
   {

      // Header
      echo '
            <tr>
               <td class="catbg3"></td>
               <td class="catbg3"><a href="', $scripturl, '?action=arcade;sort=name', $context['sort_by'] == 'name' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['arcade_game_name'], $context['sort_by'] == 'name' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" />' : '', '</a></td>
               <td class="catbg3"><a href="', $scripturl, '?action=arcade;sort=myscore', $context['sort_by'] == 'myscore' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['arcade_personal_best'], $context['sort_by'] == 'myscore' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" />' : '', '</a></td>
               <td class="catbg3"><a href="', $scripturl, '?action=arcade;sort=champion', $context['sort_by'] == 'champion' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['arcade_champion'], $context['sort_by'] == 'champion' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" />' : '', '</a></td>
            </tr>';

      // Loop thought all games in page
      foreach ($context['arcade']['games'] as $game)
      {
         // Print out game information
         echo '
            <tr>
               <td class="windowbg2" style="width: 60px;" align="center">', $game['thumbnail'] != '' ? '
                  <a href="' . $game['url']['play'] . '"><img width="60" src="' . $game['thumbnail'] . '" alt="" /></a>' : '', '
               </td>
               <td class="windowbg">
                  <div style="float: left">
                     <div><a href="', $game['url']['play'], '">', $game['name'], '</a></div>';
         // Is there description?

         if (!empty($game['description']))
            echo '
                     <div class="smalltext">', $game['description'], '</div>';

         if ($game['highscoreSupport']) // Does this game support highscores?
            echo '
                     <div class="smalltext"><a href="' . $game['url']['highscore'] . '">' . $txt['arcade_viewscore'] . '</a></div>
                     ', $game['maxScores'] > 0 ? '<div class="smalltext">' . sprintf($txt['arcade_you_may_have_only'], $game['maxScores']) . '</div>' : '', '
                     </div>';

         echo '
                  <div style="float: right; text-align: right;" class="smalltext">';
         // Rating

         if ($game['rating2'] > 0)
            echo '
                  <div>',
                     str_repeat('<img src="' . $settings['images_url'] . '/star.gif" alt="*" />' , $game['rating2']),
                     str_repeat('<img src="' . $settings['images_url'] . '/star2.gif" alt="" />' , 5 - $game['rating2']), '</div>';

         // Category

         if ($game['category']['name'] != '')
            echo '
                        <a href="', $game['category']['link'], '">', $game['category']['name'], '</a><br />';

         // Favorite link (if can favorite)
         if ($context['arcade']['can_favorite'])
            echo '
                     <a href="', $game['url']['favorite'], '" onclick="arcade_favorite(', $game['id'] , '); return false;">
                        ', !$game['isFavorite'] ?
                        '<img id="favgame' . $game['id'] . '" src="' . $settings['images_url'] . '/favorite.gif" alt="' . $txt['arcade_add_favorites'] . '" />' :
                        '<img id="favgame' . $game['id'] . '" src="' . $settings['images_url'] . '/favorite2.gif" alt="' . $txt['arcade_remove_favorite'] .'" />', '</a>';

         echo '
                  </div>
               </td>';

         // Show personal best and champion only if game doest support highscores
         if ($game['highscoreSupport'] && $game['isChampion'])
            echo '
               <td class="windowbg2" style="width: 15%; text-align: center;">
                  ', $game['isPersonalBest'] ? $game['personalBest'] :  $txt['arcade_no_scores'], '
               </td>

               <td class="windowbg2" style="width: 15%; text-align: center;">
                  ', $game['champion']['memberLink'], '<br />', $game['champion']['score'], '
               </td>';

         elseif (!$game['highscoreSupport'])
            echo '
                  <td class="windowbg2" colspan="2" style="text-align: center; width: 30%;">', $txt['arcade_no_highscore'], '</td>';
         else
            echo '
                  <td class="windowbg2" colspan="2" style="text-align: center; width: 30%;">', $txt['arcade_no_scores'], '</td>';


         echo '
            </tr>';
      }

      /*
      // Footer for game listing
      echo '
            <tr class="catbg">
               <td></td>
               <td>', $txt['arcade_game_name'], '</td>
               <td>', $txt['arcade_personal_best'], '</td>
               <td>', $txt['arcade_champion'], '</td>
            </tr>';*/

   }
   else
   {
      // There is no games installed / found.
      echo '
            <tr>
               <td class="catbg3"><b>', $txt['arcade_no_games'], '</b></td>
            </tr>';
   }

   echo '
         </table>
      </div>

      <table border="0" cellpadding="0" cellspacing="0" width="100%">
         <tr>
            <td class="middletext">', $txt[139], ': ', $context['arcade']['pageIndex'], '   &nbsp;&nbsp;<a href="#top"><b>', $txt['topbottom4'], '</b></a></td>
            <td style="padding-right: 1ex;" align="right">
               <table cellpadding="0" cellspacing="0">
                  <tr>', template_button_strip($arcade, 'top'), '</tr>
               </table>
            </td>
         </tr>
      </table>';
}

function template_ArcadeGame_above()
{
   global $scripturl, $txt, $context, $settings;

   // Play link
   $context['arcade']['buttons']['play'] =  array(
      'text' => 'arcade_play',
      'image' => 'arcade_play.gif', // Theres no image for this included (yet)
      'url' => $context['arcade']['play'] ? $scripturl . '?action=arcade;sa=play;game=' . $context['arcade']['game']['id'] . '" onclick="arcadeRestart(); return false;' : $scripturl . '?action=arcade;sa=play;game=' . $context['arcade']['game']['id'],
      'lang' => true
   );

   // Highscores link if it is supported
   if ($context['arcade']['game']['highscoreSupport'])
      $context['arcade']['buttons']['score'] =  array(
         'text' => 'arcade_viewscore',
         'image' => 'arcade_viewscore.gif', // Theres no image for this included (yet)
         'url' => $scripturl . '?action=arcade;sa=highscore;game=' . $context['arcade']['game']['id'],
         'lang' => true
      );

   // Random game
   $context['arcade']['buttons']['random'] =  array(
      'text' => 'arcade_random_game',
      'image' => 'arcade_random.gif', // Theres no image for this included (yet)
      'url' => $scripturl . '?action=arcade;sa=play;random',
      'lang' => true
   );

   echo '
               <table border="0" cellpadding="0" cellspacing="0" width="100%">
                  <tr>
                     <td class="middletext">
                        ', isset($context['arcade']['pageIndex']) ? $txt[139] . ': ' . $context['arcade']['pageIndex'] : '' ,'
                     </td>
                     <td style="padding-right: 1ex;" align="right">
                        <table cellpadding="0" cellspacing="0">
                           <tr>
                              ', template_button_strip($context['arcade']['buttons'], 'bottom'), '
                           </tr>
                        </table>
                     </td>
                  </tr>
               </table>';
}

// Play screen
function template_arcade_game_play()
{
   global $scripturl, $txt, $context, $settings;

   echo '
               <div class="tborder">
                  <table class="bordercolor" border="0" cellpadding="4" cellspacing="1" width="100%">
                     <tr class="catbg">
                        <td>', $context['arcade']['game']['name'], '</td>
                     </tr>
                     <tr class="windowbg">
                        <td>
                           <div style="text-align: center;">
                              ', $context['arcade']['game']['html'], '
                              ', !$context['arcade']['can_submit'] ? '<br /><b>' . $txt['arcade_cannot_save'] . '</b>' : '', '
                           </div>
                        </td>
                     </tr>
                  </table>
               </div>';

}

// Highscore
function template_arcade_game_highscore()
{
   global $scripturl, $txt, $context, $settings;

   $game = &$context['arcade']['game'];

   echo '
               <div class="tborder">
                  <table class="bordercolor" border="0" cellpadding="4" cellspacing="1" width="100%">';

   if (isset($context['arcade']['new_score'])) // Was score submitted
   {
      $score = &$context['arcade']['new_score'];

      echo '
                     <tr class="titlebg">
                        <td colspan="5">', $txt['arcade_submit_score'], '</td>
                     </tr>
                     <tr class="windowbg">
                        <td colspan="5" style="text-align: center;">';

      if (!$score['saved'])
         // No permission to save
         echo '
         <div>', $txt[$score['error']], '<br />
         <strong>', $txt['arcade_score'], ':</strong> ', $score['score'], '</div>';

      else
      {
         echo '
         <div>', $txt['arcade_score_saved'], '</div>
         <div><strong>', $txt['arcade_score'], ':</strong> ', $score['score'], '</div>';

         if ($score['is_new_champion'])
            echo '
            <div>', $txt['arcade_you_are_now_champion'], '</div>';

         elseif ($score['is_personal_best'])
            echo '
            <div>', $txt['arcade_this_is_your_best'], '</div>';

         if ($score['can_comment'])
            echo '
            <div id="edit', $score['id'], '">
               <form action="', $scripturl, '?action=arcade;sa=comment;game=', $game['id'], ';score=',  $score['id'], '" onsubmit="arcadeCommentEdit(', $score['id'], ', ', $game['id'], ', 1); return false;" method="post">
                  <input type="text" id="c', $score['id'], '" name="comment" style="width: 95%;" />
                  <input type="submit" value="', $txt['arcade_save'], '" />
               </form>
            </div>';

      }

      echo '
                        </td>
                     </tr>';
   }

   if (count($context['arcade']['scores']) > 0) // There must be more than zero scores or we will skip them :)
   {
      echo '
                     <tr class="titlebg">
                        <td colspan="5">', $txt['arcade_highscores'], '</td>
                     </tr>
                     <tr class="catbg3">
                        <td width="5">', $txt['arcade_position'], '</td>
                        <td>', $txt['arcade_member'], '</td>
                        <td>', $txt['arcade_time'], '</td>
                        <td>', $txt['arcade_score'], '</td>
                        <td>', $txt['arcade_comment'], '</td>
                     </tr>';

      $button['edit'] = create_button('modify.gif', 'arcade_edit', '', 'title="' . $txt['arcade_edit'] . '"');
      $button['delete'] = create_button('delete.gif', 'arcade_delete_score', '', 'title="' . $txt['arcade_delete_score'] . '"');

      foreach ($context['arcade']['scores'] as $score)
      {

         echo '
                     <tr class="', $score['own'] ? 'windowbg3' : 'windowbg', '"', $score['highlight'] ? ' style="font-weight: bold;"' : '', '>
                        <td class="windowbg2" align="center">', $score['position'], '</td>
                        <td>', $score['memberLink'], '</td>
                        <td width="300" class="windowbg2">', $score['time'], '</td>
                        <td align="center">', $score['score'], '</td>
                        <td class="windowbg2">
                           <div id="comment', $score['id'], '" style="float: left; ', $score['edit'] && $score['can_edit'] ? 'display: none;' : '', '">', $score['comment'], '</div>';

         if ($score['can_edit']) // Can edit
         {
            echo '
                           <div id="edit', $score['id'], '" style="float: left; ', $score['edit'] ? '' : 'display: none;', ' width: 90%;">
                              <form action="', $scripturl, '?action=arcade;sa=comment;game=', $game['id'], '" method="post" name="score_edit', $score['id'], '" onsubmit="arcadeCommentEdit(', $score['id'], ', ', $game['id'], '); return false;">
                                 <input type="hidden" name="score" value="', $score['id'], '" />
                                 <input type="text" name="comment" id="c', $score['id'], '" value="', $score['raw_comment'], '" style="width: 95%;" />
                              </form>
                           </div>';
         }


         // Buttons
         if ($score['can_edit'] || $context['arcade']['show_editor'])
         {

            echo '
                           <div style="float: right">';

            // Edit
            if ($score['can_edit'])
               echo '
                              <a onclick="arcadeCommentEdit(', $score['id'], ', ', $game['id'], ', 0); return false;" href="', $scripturl, '?action=arcade;sa=highscore;game=', $game['id'], ';edit;score=', $score['id'], '">', $button['edit'], '</a>';

            // Delete
            if ($context['arcade']['show_editor'])
               echo '
               <a onclick="return confirm(\'', $txt['arcade_really_delete'], '\');" href="', $scripturl, '?action=arcade;sa=highscore;game=', $game['id'], ';delete;score=', $score['id'], ';sesc=', $context['session_id'], '">', $button['delete'], '</a>';

            echo '
                           </div>';


         }


         echo '
                        </td>
                     </tr>';
      }

      echo '
                     <tr class="catbg3">
                        <td>', $txt['arcade_position'], '</td>
                        <td>', $txt['arcade_member'], '</td>
                        <td>', $txt['arcade_time'], '</td>
                        <td>', $txt['arcade_score'], '</td>
                        <td>', $txt['arcade_comment'], '</td>
                     </tr>';
   }

   else
   {
      // No one has played this game

      echo '
                     <tr class="windowbg">
                        <td align="center" class="catbg3"><b>', $txt['arcade_no_scores'], '</b></td>
                     </tr>';
   }

   echo '
                  </table>
               </div>';
}

// Below game
function template_ArcadeGame_below()
{
   global $scripturl, $txt, $context, $settings;



   echo '
               <table border="0" cellpadding="0" cellspacing="0" width="100%">
                  <tr>
                     <td class="middletext">
                        ', isset($context['arcade']['pageIndex']) ? $txt[139] . ': ' . $context['arcade']['pageIndex'] : '' ,'
                     </td>
                     <td style="padding-right: 1ex;" align="right">
                        <table cellpadding="0" cellspacing="0">
                           <tr>
                              ', template_button_strip($context['arcade']['buttons'], 'top'), '
                           </tr>
                        </table>
                     </td>
                  </tr>
               </table>';
}

function template_arcade_statistics()
{
   global $scripturl, $txt, $context, $settings;

   echo '
   <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr>
         <td class="middletext"></td>

         <td style="padding-right: 1ex;" align="right">
            <table cellpadding="0" cellspacing="0">
               <tr></tr>
            </table>
         </td>
      </tr>
   </table>

   <table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">
      <tr class="titlebg">
            <td align="center" colspan="4">', $txt['arcade_stats'], '</td>
      </tr>
      <tr>
         <td class="catbg" colspan="2"><b>', $txt['arcade_most_played'], '</b></td>
         <td class="catbg" colspan="2"><b>', $txt['arcade_most_active'], '</b></td>
      </tr>
      <tr>
            <td class="windowbg" width="20" valign="middle" align="center"><img src="', $settings['images_url'], '/gold.gif" alt="" /></td>
            <td class="windowbg2" valign="top">
               <table border="0" cellpadding="1" cellspacing="0" width="100%">';

   // Most played games
   if (count($context['arcade']['statistics']['play']) > 0)
   {
      foreach ($context['arcade']['statistics']['play'] as $game)
         echo '
                     <tr>
                        <td width="60%" valign="top">', $game['link'], '</td>
                        <td width="20%" align="left" valign="top">', $game['plays'] > 0 ? '<img src="' . $settings['images_url'] . '/bar.gif" width="' . $game['precent'] . '" height="15" alt="" />' : '&nbsp;', '</td>
                        <td width="20%" align="right" valign="top">', $game['plays'], '</td>
                     </tr>';
   }

   echo '
               </table>
            </td>

            <td class="windowbg" width="20" valign="middle" align="center"><img src="', $settings['images_url'], '/gold.gif" alt="" /></td>
            <td class="windowbg2" valign="top">
               <table border="0" cellpadding="1" cellspacing="0" width="100%">';

   // Most active in arcade
   if (count($context['arcade']['statistics']['active']) > 0)
   {
      foreach ($context['arcade']['statistics']['active'] as $game)
         echo '
                     <tr>
                        <td width="60%" valign="top">', $game['link'], '</td>
                        <td width="20%" align="left" valign="top">', $game['scores'] > 0 ? '<img src="' . $settings['images_url'] . '/bar.gif" width="' . $game['precent'] . '" height="15" alt="" />' : '&nbsp;', '</td>
                        <td width="20%" align="right" valign="top">', $game['scores'], '</td>
                     </tr>';
   }
   echo '
               </table>
            </td>
      </tr>

      <tr>
         <td class="catbg" colspan="2"><b>', $txt['arcade_best_games'], '</b></td>
         <td class="catbg" colspan="2"><b>', $txt['arcade_best_players'], '</b></td>
      </tr>

      <tr>
            <td class="windowbg" width="20" valign="middle" align="center"><img src="', $settings['images_url'], '/gold.gif" alt="" /></td>
            <td class="windowbg2" valign="top">
               <table border="0" cellpadding="1" cellspacing="0" width="100%">';

   // Top rated games
   if (count($context['arcade']['statistics']['rating']) > 0)
   {
      foreach ($context['arcade']['statistics']['rating'] as $game)
         echo '
                     <tr>
                        <td width="60%" valign="top">', $game['link'], '</td>
                        <td width="20%" align="left" valign="top">', $game['rating'] > 0 ? '<img src="' . $settings['images_url'] . '/bar.gif" width="' . $game['precent'] . '" height="15" alt="" />' : '&nbsp;', '</td>
                        <td width="20%" align="right" valign="top">', $game['rating'], '</td>
                     </tr>';
   }

   echo '
               </table>
            </td>

            <td class="windowbg" width="20" valign="middle" align="center"><img src="', $settings['images_url'], '/gold.gif" alt="" /></td>
            <td class="windowbg2" valign="top">
               <table border="0" cellpadding="1" cellspacing="0" width="100%">';

   // Best players by champions
   if (count($context['arcade']['statistics']['champions']) > 0)
   {
      foreach ($context['arcade']['statistics']['champions'] as $game)
         echo '
                     <tr>
                        <td width="60%" valign="top">', $game['link'], '</td>
                        <td width="20%" align="left" valign="top">', $game['champions'] > 0 ? '<img src="' . $settings['images_url'] . '/bar.gif" width="' . $game['precent'] . '" height="15" alt="" />' : '&nbsp;', '</td>
                        <td width="20%" align="right" valign="top">', $game['champions'], '</td>
                     </tr>';
   }

   echo '
               </table>
            </td>
      </tr>

      <tr>
         <td class="catbg" colspan="4"><b>', $txt['arcade_longest_champions'], '</b></td>
      </tr>
      <tr>
         <td class="windowbg" width="20" valign="middle" align="center"><img src="', $settings['images_url'], '/gold.gif" alt="" /></td>
         <td class="windowbg2" valign="top" colspan="3">
            <table border="0" cellpadding="1" cellspacing="0" width="100%">';

   // Top rated games
   if (count($context['arcade']['statistics']['longest']) > 0)
   {
      foreach ($context['arcade']['statistics']['longest'] as $game)
         echo '
                  <tr>
                     <td width="40%" valign="top">', $game['member_link'], ' (', $game['game_link'], ')</td>
                     <td width="20%" align="left" valign="top">', $game['duration'] > 0 ? '<img src="' . $settings['images_url'] . '/bar.gif" width="' . $game['precent'] . '" height="15" alt="" />' : '&nbsp;', '</td>
                     <td width="40%" align="right" valign="top">', $game['current'] ? '<b>' . $game['duration'] . '</b>' : $game['duration'], '</td>
                  </tr>';
   }

   echo '
            </table>
         </td>
      </tr>
   </table>';
}

function template_arcade_below()
{
   global $arcade_version;

   // Print out copyright and version. Removing copyright is not allowed by license
   echo '
   </div>
   <a name="bot"></a>

   <div class="smalltext" style="text-align: center;">
      Powered by: <a href="http://www.smfarcade.info/" target="_blank">SMF Arcade ', $arcade_version, '</a> &copy; <a href="http://www.madjoki.com/" target="_blank">Niko Pahajoki</a> 2004-2007
   </div>';

}

// XML templates
function template_xml() // General XML template
{
   global $context, $txt;

   $extra = isset($context['arcade']['extra']) ? $context['arcade']['extra'] : '';

   echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '>
   <smf>
      <txt><![CDATA[', isset($txt[$context['arcade']['message']]) ? $txt[$context['arcade']['message']] : $context['arcade']['message'], ']]></txt>
      ', $extra, '
   </smf>';
}

function template_xml_list()
{
   global $context, $txt;

   echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '>
   <smf>';

   foreach ($context['arcade']['search']['games'] as $game)
      echo '
      <game>
         <id>', $game['id'], '</id>
         <name><![CDATA[', $game['name'], ']]></name>
         <url><![CDATA[', $game['url'], ']]></url>
      </game>';

   echo '
      <more>
         <is>', $context['arcade']['search']['more'], '</is>
         <url>', $context['arcade']['search']['more_url'], '</url>
      </more>
   </smf>';
}

?>
Title: Re: SMF Arcade
Post by: fwitt on August 31, 2007, 02:40:32 PM
within this echo statement


// Play screen
function template_arcade_game_play()
{
   global $scripturl, $txt, $context, $settings;

   echo '
Title: Re: SMF Arcade
Post by: Skhilled on August 31, 2007, 06:53:32 PM
Quote from: masss on August 23, 2007, 05:56:22 PM
How can i add ads at the top of .swf flash game?
Arcade.template.php, I think.

Quote from: GouroB on August 24, 2007, 05:21:51 PM
i am getting this error whenever i am trying to install this mod

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.


5.      Execute Modification      ./Themes/default/index.template.php      Test failed


any idea ? i am using latest version of smf and i tried both version of arcade ( 2.0.9 and 2.0.10 ) both gave me error.
This usually happens when you either are not using the default theme or another mod modified index.template.php.

Switch to the default if you are not using it while installing. If you are using the default then another mod has modified it. You can manually install that part of the arcade after installing as usual via Packages.
Title: Re: SMF Arcade
Post by: Mohamed GadAllah on September 05, 2007, 03:35:53 PM
I've got this

SMF Arcade 2.0.0 Installer
Creating tables
Success with no errors!
Inserting default permissions
Success with no errors!
Inserting default settings
Success with no errors!
Finishing
Success with no errors!
Package was installed. If you have SMFArcade 1.x installed you can import games and scores now


error:

SMF Arcade 2.0.0
Importing games and scores
Table 'prodes_smf1.smf_games' doesn't exist

Please advise
Title: Re: SMF Arcade
Post by: FunPika4 on September 05, 2007, 03:46:19 PM
Quote from: MGadAllah on September 05, 2007, 03:35:53 PM
I've got this

SMF Arcade 2.0.0 Installer
Creating tables
Success with no errors!
Inserting default permissions
Success with no errors!
Inserting default settings
Success with no errors!
Finishing
Success with no errors!
Package was installed. If you have SMFArcade 1.x installed you can import games and scores now


error:

SMF Arcade 2.0.0
Importing games and scores
Table 'prodes_smf1.smf_games' doesn't exist

Please advise
Did you have an installation of SMF Arcade 1.x on your forum?
Title: Re: SMF Arcade
Post by: Mohamed GadAllah on September 05, 2007, 03:49:02 PM
I am only having this one
Powered by: SMF Arcade 2.0.9 © Niko Pahajoki 2004-2007
Powered by PHP       Powered by SMF 1.1.3
Title: Re: SMF Arcade
Post by: FunPika4 on September 05, 2007, 03:52:45 PM
Quote from: MGadAllah on September 05, 2007, 03:49:02 PM
I am only having this one
Powered by: SMF Arcade 2.0.9 © Niko Pahajoki 2004-2007
Powered by PHP       Powered by SMF 1.1.3
Then there is nothing wrong. :)
Title: Re: SMF Arcade
Post by: masss on September 05, 2007, 04:23:48 PM
Quote from: fwitt on August 31, 2007, 02:40:32 PM
within this echo statement


// Play screen
function template_arcade_game_play()
{
   global $scripturl, $txt, $context, $settings;

   echo '



I always get Template pars error. Can you show an example?

Quote
There was a problem loading the /Themes/default/Arcade.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP,
Title: Re: SMF Arcade
Post by: masss on September 05, 2007, 07:19:57 PM
Quote<div style="border: #B1C1D6 1px solid; padding: 10px;  background-color: #F0F5FA;"><div style="margin-left: auto;
margin-right: auto;
width: 486px; ">TESTING</div></div>

          <div class="tborder">
                  <table class="bordercolor" border="0" cellpadding="4" cellspacing="1" width="100%">
                     <tr class="catbg">
                        <td>', $context['arcade']['game']['name'], '</td>
                     </tr>
                     <tr class="windowbg">
                        <td>
                           <div style="text-align: center;">
                              ', $context['arcade']['game']['html'], '
                              ', !$context['arcade']['can_submit'] ? '<br /><b>' . $txt['arcade_cannot_save'] . '</b>' : '', '
                           </div>
                        </td>
                     </tr>
                  </table>
               </div>
          <div style="border: #B1C1D6 1px solid; padding: 10px;  background-color: #F0F5FA;"><div style="margin-left: auto;
margin-right: auto;
width: 486px;  ">TESTING</div></div>

          ';

This added code is ok but if i replace "TESTING" with my ad code it's not working. How can i add php script??

Code below is not working

Quote... <div style="margin-left: auto;
margin-right: auto;
width: 486px;  "><?php include(MYADS.html); ?></div></div>
          ';
[/quote]

Can somebody help me because i'm not very familiar with php?
Title: Re: SMF Arcade
Post by: cferd on September 05, 2007, 08:20:41 PM
You'd want something like:
Quote... <div style="margin-left: auto;
margin-right: auto;
width: 486px;  ">';
include('MYADS.html');
echo '</div></div>
          ';
Title: Re: SMF Arcade
Post by: masss on September 05, 2007, 09:35:00 PM
It's not working  :(


Arcade code

Quoteecho '
               <div style="border: #B1C1D6 1px solid; padding: 10px;  background-color: #F0F5FA;"><div style="margin-left: auto;
margin-right: auto;
width: 486px; ">';
include('http://www.cveka.com/centraliprom_mali_oglas.php');
echo '</div></div>

          <div class="tborder">
                  <table class="bordercolor" border="0" cellpadding="4" cellspacing="1" width="100%">
                     <tr class="catbg">
                        <td>', $context['arcade']['game']['name'], '</td>
                     </tr>
                     <tr class="windowbg">
                        <td>
                           <div style="text-align: center;">
                              ', $context['arcade']['game']['html'], '
                              ', !$context['arcade']['can_submit'] ? '<br /><b>' . $txt['arcade_cannot_save'] . '</b>' : '', '
                           </div>
                        </td>
                     </tr>
                  </table>
               </div>
          <div style="border: #B1C1D6 1px solid; padding: 10px;  background-color: #F0F5FA;"><div style="margin-left: auto;
margin-right: auto;
width: 486px;  ">';
include('http://www.cveka.com/centraliprom_mali_oglas.php');
echo '</div></div>
          ';

Ads link is ok: http://www.cveka.com/centraliprom_mali_oglas.php but the ads are not shown http://www.cveka.com/arcade.html;sa=play;game=59 Where is the problem? ::)
Title: Re: SMF Arcade
Post by: masss on September 06, 2007, 01:05:23 PM
nobody knows how to solve this problem? :(
Title: Re: SMF Arcade
Post by: cferd on September 06, 2007, 02:05:51 PM
It appears to be working on your site.

I also copy/pasted your code to my test site and it works there too.
Title: Re: SMF Arcade
Post by: masss on September 06, 2007, 02:45:46 PM
It's not working (are you sure it's workin on you site?)..

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg521.imageshack.us%2Fimg521%2F1046%2Fadsfi1.th.jpg&hash=3192f0d06a80b1156ad2cbcd05824d0074812366) (http://img521.imageshack.us/my.php?image=adsfi1.jpg)
Title: Re: SMF Arcade
Post by: cferd on September 06, 2007, 04:58:00 PM
Quote from: masss on September 06, 2007, 02:45:46 PM
It's not working (are you sure it's workin on you site?)..
Absolutely.

You may want to try to logout and view your site as a guest like I did.

If that doesn't work, clear the browser's cache and/or try another browser.
Title: Re: SMF Arcade
Post by: mrgekkie on September 07, 2007, 05:07:09 AM
Hmm i can't install this mod :/


Importing games and scores

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /customers/wappez.nl/wappez.nl/httpd.www/www2/forum/Sources/ArcadeInstall.php on line 422
Table 'wappez_nl.smf_games_high' doesn't exist

Plz help me !!!
Title: Re: SMF Arcade
Post by: masss on September 07, 2007, 06:56:54 AM
I removed "http://www.cveka.com/" and now it's working.

Quotemargin-right: auto;
width: 486px;  ">';
include('centraliprom_mali_oglas.php');
echo '</div></div>

cferd, thank you for all your support :)
Title: Re: SMF Arcade
Post by: Sulgicur on September 07, 2007, 08:54:38 AM
Hi, I'm getting an error in index.php when I try to install this using package manager.

Can you tell me what I need to do to the index.php in order to fix it?

Thank you
Title: Re: SMF Arcade
Post by: Sulgicur on September 07, 2007, 09:07:24 AM
Sorry, that'd be index.template.php
Title: Re: SMF Arcade
Post by: cferd on September 07, 2007, 09:16:48 AM
Error in that file usually comes from code for the "search" button not being found, while looking to insert code for the "arcade" button.

It's probably safe to install anyway. You do have to insert the "arcade" button code manually though.
Title: Re: SMF Arcade
Post by: Sulgicur on September 07, 2007, 09:34:08 AM
I've installed it and everything seems to be ok. I may (will) need a little advice on how to insert the button. Is it supposed to appear on the navigation bar?
Title: Re: SMF Arcade
Post by: cferd on September 07, 2007, 09:52:12 AM
Yes.

Here's the code. Look near the bottom of index.template.php. Each button uses this code. Put this in there to create the "arcade" button.
    echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
</td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
Title: Re: SMF Arcade
Post by: Sulgicur on September 07, 2007, 10:00:27 AM
I had a look in the install-rc.xml for that, put it in and it smashed the forum. I put it after the search button.

I think I may have left in a few errant brackets though. I'll try that...
Title: Re: SMF Arcade
Post by: Sulgicur on September 07, 2007, 10:10:29 AM
That's worked, but I need a space between it and the link that appears to the left of it as the 'members' and 'arcade' buttons have no distance between them. Will a nbsp ; suffice?
Title: Re: SMF Arcade
Post by: Sulgicur on September 07, 2007, 10:14:51 AM
I'm thinking it may have something to do with there being no li tags...
Title: Re: SMF Arcade
Post by: Sulgicur on September 07, 2007, 10:18:13 AM
I thought right.

Thanks ever so much for your help.
Title: Re: SMF Arcade
Post by: cferd on September 07, 2007, 10:25:12 AM
I guess you're not talking about the default theme?

The code I posted works fine as is with the default theme.
Title: Re: SMF Arcade
Post by: Sulgicur on September 07, 2007, 02:00:59 PM
I'm using BlackRain. Everything is sweet now.

Is there any way to turn the PM notifications off when your high score is bettered?
Title: Re: SMF Arcade
Post by: cferd on September 07, 2007, 04:10:25 PM
No. I don't think you can do it for this mod without hacking it.
Title: Re: SMF Arcade
Post by: simplyliza6 on September 07, 2007, 06:40:53 PM
It works but seems there are arent any games on it. Does anyone know how to install other games that can be found online?
Title: Re: SMF Arcade
Post by: rider on September 07, 2007, 07:20:49 PM
Quote from: Sulgicur on September 07, 2007, 02:00:59 PM
I'm using BlackRain. Everything is sweet now.

Is there any way to turn the PM notifications off when your high score is bettered?
You can check your personal message option under your profile.
Title: Re: SMF Arcade
Post by: rider on September 07, 2007, 07:22:42 PM
Quote from: simplyliza6 on September 07, 2007, 06:40:53 PM
It works but seems there are arent any games on it. Does anyone know how to install other games that can be found online?
Click the link in my sig and go to the arcade support site and you can download games from there.for other games found on the net,some will work and some won't.Post back here or at smfarcade what games they are and we'll try to help.
Title: Re: SMF Arcade
Post by: adventurer on September 16, 2007, 10:15:24 AM
i have problem...
i uninstall SMF Arcade but 2 buttons are still on forum??
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg165.imageshack.us%2Fimg165%2F5190%2Fgumbigy3.th.jpg&hash=44e57241e82efc20cf5d2587e18de2573ae279ab) (http://img165.imageshack.us/my.php?image=gumbigy3.jpg)
Title: Re: SMF Arcade
Post by: rider on September 16, 2007, 04:48:16 PM
Quote from: adventurer on September 16, 2007, 10:15:24 AM
i have problem...
i uninstall SMF Arcade but 2 buttons are still on forum??
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg165.imageshack.us%2Fimg165%2F5190%2Fgumbigy3.th.jpg&hash=44e57241e82efc20cf5d2587e18de2573ae279ab) (http://img165.imageshack.us/my.php?image=gumbigy3.jpg)

Open the index.template.php and look for the arcade code near the bottom.Remove the code and that will remove the arcade buttons
Title: Re: SMF Arcade
Post by: masss on September 17, 2007, 12:52:20 PM
Sometimes i get this error when i finished the game (athought scores are saved):

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
endTime = 1190047593, gameDuration = 1190047593, memberIp = '**.**.**.***' at line 3
File: /home/ter/public_html/cveka/Sources/Subs-Arcade.php
Line: 711

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.3, while your database is at version 1.1.2. The above error might possibly go away if you execute the latest version of upgrade.php.

What can i do?
Title: Re: SMF Arcade
Post by: Skhilled on September 17, 2007, 03:29:34 PM
Upload upgrade.php and upgrade.sql from the smf 1.1.3 upgrade to your root forum folder. Then run www.yoursite.com/upgrade.php.

This should upgrade your db.
Title: Re: SMF Arcade
Post by: Razaroic on September 25, 2007, 08:32:21 PM
Hmm, was this question answered?

There seems to be permission trouble on the forum I use, only Admins can view the Arcade, and one admin told me when she generates reports, it shows, even though she added it, that members can't play or anything, but she gave them permissions through the arcade admin and forum permissions in general..it's SMF 1.13, using version 2.0.11, she tried 2.0.9, same issue.
Title: Re: SMF Arcade
Post by: RedNecK on September 25, 2007, 08:35:39 PM
ok! look here......i'm PHP stupid!  please tell me there is an easier way than me tryin' to manually installing this when i don't have a clue what i'm lookin' at!  I tried to install the chat button and it was off... i had it there but the font text & size were both not the same ...so i removed what i did...any help will be great
Title: Re: SMF Arcade
Post by: RaYo on September 25, 2007, 10:26:10 PM
are form, to make a tournaments with SMFArcade??
Title: Re: SMF Arcade
Post by: RedNecK on September 27, 2007, 09:19:03 AM
I got my button to work...my issue now is that when i click on the Aracde button and it pulls up the list of games.... none of my game will show...as a matter of fact none of the graphics for the page will show... (game logo, save to favorites button) they are flash games, but do i require something else to run the flash games similiar to what is used for FlashChat? i'm using SMF 1.1.4 and arcade 2.0.9
Title: Re: SMF Arcade
Post by: ziycon on September 27, 2007, 05:41:07 PM
EDIT: Got the latest version for 1.1.4 from the SMF Arcade site! ;)
Title: Re: SMF Arcade
Post by: ziycon on September 28, 2007, 12:32:13 AM
I installed the latest version 2.0.11 or something on 1.1.4 and works fine, i didnt notice that the link disappeared from the menu button at the top and the package was still installed so i uninstalled the package and got two errors, reinstalled it and its working fine now with the menu link back!?!?!
Title: Re: SMF Arcade
Post by: geo32101 on September 28, 2007, 05:18:45 PM
I recently installed SMF 1.1.4 but I also tried to upgrade my SMF Arcade to 2.0.11,but I cant the only buttons that show up are,list files,and delete,no installe button.Why?
Title: Re: SMF Arcade
Post by: jvan on October 01, 2007, 01:20:26 PM
I installed the arcade several days ago and my visitors have been playing games happily ever since. Suddenly this morning, they are being greeted with this error message:

"You need to enable javascript in order to play games."

Now, I know the answer to that problem seems simple enough. The problem is that they have Javascript enabled and so do I. Yet, we still get this error. Any ideas about how to fix this would be appreciated.

Thanks

Title: Re: SMF Arcade
Post by: Tidea on October 02, 2007, 07:56:29 PM
You guys should try to get the flash game, Flow into this :D

Someone previously asked if there's a way ot make it so that when a guest finishes a game, there can be a link that directs them to the login page so that they can register.

I didn't see any answer so  Iwas wondering if there's a solution
Title: Re: SMF Arcade
Post by: jvan on October 02, 2007, 11:37:08 PM
Quote from: jvan on October 01, 2007, 01:20:26 PM
I installed the arcade several days ago and my visitors have been playing games happily ever since. Suddenly this morning, they are being greeted with this error message:

"You need to enable javascript in order to play games."

Now, I know the answer to that problem seems simple enough. The problem is that they have Javascript enabled and so do I. Yet, we still get this error. Any ideas about how to fix this would be appreciated.

Thanks



Just wanted to note that this problem is solved. It was a conflict with the pretty urls mod.
Title: Re: SMF Arcade
Post by: Tidea on October 03, 2007, 07:53:56 PM
for some reason, one of my user, who's a mod, can't access the page.  any suggestion?
Title: Re: SMF Arcade
Post by: Skhilled on October 05, 2007, 07:34:40 AM
Quote from: Razaroic on September 25, 2007, 08:32:21 PM
Hmm, was this question answered?

There seems to be permission trouble on the forum I use, only Admins can view the Arcade, and one admin told me when she generates reports, it shows, even though she added it, that members can't play or anything, but she gave them permissions through the arcade admin and forum permissions in general..it's SMF 1.13, using version 2.0.11, she tried 2.0.9, same issue.
try setting categories to none and check to see if the games are enabled.

Quote from: RedNecK on September 25, 2007, 08:35:39 PM
ok! look here......i'm PHP stupid!  please tell me there is an easier way than me tryin' to manually installing this when i don't have a clue what i'm lookin' at!  I tried to install the chat button and it was off... i had it there but the font text & size were both not the same ...so i removed what i did...any help will be great
I think you are confused. FlashChat has nothing to do with the arcade. It is a chat program.

For the images not showing...check to make sure your paths are correct and that you are not using utf8 for your language.

Quote from: RaYo on September 25, 2007, 10:26:10 PM
are form, to make a tournaments with SMFArcade??
Only with this version... http://www.ericsworld.eu/f2/index.php?action=tpmod;dl=item70
Title: Re: SMF Arcade
Post by: Skhilled on October 05, 2007, 07:46:10 AM
Quote from: ziycon on September 28, 2007, 12:32:13 AM
I installed the latest version 2.0.11 or something on 1.1.4 and works fine, i didnt notice that the link disappeared from the menu button at the top and the package was still installed so i uninstalled the package and got two errors, reinstalled it and its working fine now with the menu link back!?!?!
Probably a bad install.

Quote from: geo32101 on September 28, 2007, 05:18:45 PM
I recently installed SMF 1.1.4 but I also tried to upgrade my SMF Arcade to 2.0.11,but I cant the only buttons that show up are,list files,and delete,no installe button.Why?
See if it works in the default theme. If it does you'll need to edit your theme.

Quote from: Tidea on October 03, 2007, 07:53:56 PM
for some reason, one of my user, who's a mod, can't access the page.  any suggestion?
Check your permissions. There are perms in "categories",and in the arcade admin settings, and in smf member group perms.
Title: Re: SMF Arcade
Post by: scotty5150 on October 05, 2007, 03:45:46 PM
What would cause several arcade games not to save scores? Asteroids, Frogger, Plumber, Shell and Star Wars all won't save scores. I downloaded all the games from the same arcade packages, so they should work.

The only error message I receive is "Score was not saved because session is missing."

Any thoughts?
Title: Re: SMF Arcade
Post by: Rica on October 05, 2007, 11:27:33 PM
smfarcade.net down cant download any games :(
Title: Re: SMF Arcade
Post by: Qayyom Ashraf on October 06, 2007, 02:07:47 AM
PLEASE HLEP ME.....!!!

during installation it shows the attached error.

I've installed to many packages (listed below) please let me know if any package may cause to conflicts with Arcade or so...?

Mod Name Version 
1. Admin Notepad 1.0       
2. AvatarSelect 1.1.2       
3. Active Members In Topic 1.5       
4. Ad Managment 2.3       
5. Global Headers Footers 1.3       
6. Profile Comments 1.2.1       
7. VisualWarning 1.32       
8. SMF Links 1.6.3       
9. RSS Feed Icon 1.1       
10. Religion Tabs 3.0       
11. RSS Feed Poster 1.0.3       
12. New RSS Button Per Board 1.0       
13. SMF Gallery Lite 1.7.1       
14. Related Topics 1.1.1       
15. Display Age and Location next to posts 1.0       
16. Tagging System 1.0.3       
17. Gmail Field 1.1       
18. 29 High Quality Military Assault Weapon Avatars 1.0       
19. 3D ART Avatars 1.1       
20. SMF Any Where 0.1       
21. User Email System 1.1.3       
22. SMF Staff Page 1.5.1       
23. Profile User Action 1.1       
24. Signature Dropdown Choices 1.0       
25. ShowTopics 1.1       
26. Registered Images ENG 2       
27. Signature Option Post 1.1       
28. Anonymous Posting Mod 1.01       
29. Attachments Mod 1.1       
30. Attachments Download Permission 1.0       
31. Custom Profile Field Mod 3.16       
32. Expand Pages Mod 1.0       
33. Stars to Profile 1.0.1       
34. Contact Page 1.0       
35. Invite 1.14       
36. PM On Registration 1.0.2       
37. FontandSizeDropdown1.1 1.1       
38. SMF Chat - by Joseph Szenasi 1.0       
39. No Spam by Guests! 0.1       
40. Image Popup 1.0       
41. Allowed Groups Embedded Flash 1.2.0       
42. Avatar on Member List 1.0       
43. YouTube BBC Tag (XHTML Compliant) 1.2       
44. SearchResultsMod 1.0       
45. Topic starter 1.2       
46. Recent posts user preference 2.1       
47. Welcome Topic Mod 1.0       
48. Select Admin for Notifications 1.1       
49. mp3 Flash Player BBC Tag (XHTML Compliant) 1.0       
50. Max Subject Length 1.1       
51. Report Icon Mod 1.0       
52. Reg Bar 1.0       
53. Inline Attachments 1.0.4.2       
54. Website Button 1.1.4       
55. SMF Shoutbox 1.16       
56. Referrals Mod 1.4       

my site address:    http://qayyom.qa.funpic.org


this is my test site. if any one need admin password, i can give him to solve my problem.
Title: Re: SMF Arcade
Post by: niko on October 06, 2007, 05:12:46 AM
It's safe to install if only index.template.php fails. But this means that you need to add arcade tab yourself.

Quote from: Rica on October 05, 2007, 11:27:33 PM
smfarcade.net down cant download any games :(

Works now
Title: Re: SMF Arcade
Post by: christicehurst on October 06, 2007, 08:04:13 AM
Quote from: qayyom on October 06, 2007, 02:07:47 AM
PLEASE HLEP ME.....!!!

during installation it shows the attached error.

I've installed to many packages (listed below) please let me know if any package may cause to conflicts with Arcade or so...?

Mod Name Version 
1. Admin Notepad 1.0       
2. AvatarSelect 1.1.2       
3. Active Members In Topic 1.5       
4. Ad Managment 2.3       
5. Global Headers Footers 1.3       
6. Profile Comments 1.2.1       
7. VisualWarning 1.32       
8. SMF Links 1.6.3       
9. RSS Feed Icon 1.1       
10. Religion Tabs 3.0       
11. RSS Feed Poster 1.0.3       
12. New RSS Button Per Board 1.0       
13. SMF Gallery Lite 1.7.1       
14. Related Topics 1.1.1       
15. Display Age and Location next to posts 1.0       
16. Tagging System 1.0.3       
17. Gmail Field 1.1       
18. 29 High Quality Military Assault Weapon Avatars 1.0       
19. 3D ART Avatars 1.1       
20. SMF Any Where 0.1       
21. User Email System 1.1.3       
22. SMF Staff Page 1.5.1       
23. Profile User Action 1.1       
24. Signature Dropdown Choices 1.0       
25. ShowTopics 1.1       
26. Registered Images ENG 2       
27. Signature Option Post 1.1       
28. Anonymous Posting Mod 1.01       
29. Attachments Mod 1.1       
30. Attachments Download Permission 1.0       
31. Custom Profile Field Mod 3.16       
32. Expand Pages Mod 1.0       
33. Stars to Profile 1.0.1       
34. Contact Page 1.0       
35. Invite 1.14       
36. PM On Registration 1.0.2       
37. FontandSizeDropdown1.1 1.1       
38. SMF Chat - by Joseph Szenasi 1.0       
39. No Spam by Guests! 0.1       
40. Image Popup 1.0       
41. Allowed Groups Embedded Flash 1.2.0       
42. Avatar on Member List 1.0       
43. YouTube BBC Tag (XHTML Compliant) 1.2       
44. SearchResultsMod 1.0       
45. Topic starter 1.2       
46. Recent posts user preference 2.1       
47. Welcome Topic Mod 1.0       
48. Select Admin for Notifications 1.1       
49. mp3 Flash Player BBC Tag (XHTML Compliant) 1.0       
50. Max Subject Length 1.1       
51. Report Icon Mod 1.0       
52. Reg Bar 1.0       
53. Inline Attachments 1.0.4.2       
54. Website Button 1.1.4       
55. SMF Shoutbox 1.16       
56. Referrals Mod 1.4       

my site address:    http://qayyom.qa.funpic.org


this is my test site. if any one need admin password, i can give him to solve my problem.

That's a insane amount of mods....
Title: Re: SMF Arcade
Post by: Jaba on October 09, 2007, 01:09:57 PM
I have 6 Games installed but would like to install a large game pack in the near future.
During the game pack installation is it possible to deselect the games I already have installed?
Will the already installed games be left fully intact, I.e. The high scores, Users and stats etc?

Thanx for any info.
Title: Re: SMF Arcade
Post by: GazOutEast on October 11, 2007, 01:37:08 PM
Quote from: rider on August 09, 2007, 06:21:24 AM
Quote from: Chantal Matar on August 09, 2007, 06:06:59 AM
Guys, I downloaded the updated 1.1.3 Mod from SmfArcade.info, it installed fine.  I could see and play the games.

Other members couldn't see the Arcade at all.  I  had to go and change the account settings to English (and not English UTF8) so now everyone can see it...

BUT, only a few can play the games.  When others go through it says the following:

 
Pages: [1]   Go Down   
     Random game  |  Show favorites only   
No games available for playing
Pages: [1]   Go Up   
     Random game  |  Show favorites only     

Why is this?  Permissions have been set.  Besides why can I and a handful of members  see the games and play and not the others?

Thanks.
try going to admin>arcade settings>permissions set to none.see if that helps.

Doesn't work for me - Everything on my server is UTF-8 - there is NO "plain English" setting to choose in server settings - this is because of dependencies in other applications and features.
When I go to Games settings (I had to manually hack the Modifications-English-UTF8.php to even get the side bar menu to show = sloppy and lazy coding as far as I'm concerned  >:( ) the panel for the Arcade settings in admin has no labels and the drop box menus have no contents.
When I go into Games or Arcade, there are no games and the horizontal menu button above the box has no text label
It was downloaded today from the SMF mods site onto SMF 1.1.4
I had the indextemplate error at install but manually fixed that
Still no joy - now thinking of ripping it out - I don't have time for massively incomplete mods - too much to do to too many sites to get them live before year end.
Someone let me know when it's fixed please
Gaz
Title: Re: SMF Arcade
Post by: GazOutEast on October 11, 2007, 02:02:08 PM
Quote from: rider on August 12, 2007, 03:35:15 PM
Quote from: lextech on August 12, 2007, 02:09:10 PM
Can you tell me what path I should use to get to the games when I link a custom button? I don't want to use the template code since I have a theme that will do it all for me, I just need a path to the game gallery. What should I be looking for?

Thank you! (ps- on the previous I simply re-chose the current english setting and saved and all was well, weird)
Try this.unzip the arcade and goto themes>default>langauges.Copy the lang files and then rename them add -utf8 to the files and then upload them to your themes>your theme>langauges via FTP.see if that works.

WooHoo - that fixed my problem above too :)

Still say that failing to include the *.english-utf8.php files in the package is sloppy and lazy though - lucky for me, English is my native language - what happens for non-english speakers?
Title: Re: SMF Arcade
Post by: Furios on October 15, 2007, 02:29:19 PM
I've got a little problem:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg149.imageshack.us%2Fimg149%2F7724%2Fshowproblem1gg0.png&hash=a0fd02a366a934cfa1611efc5b1fe6ed027afd21)

I see 2 buttons of arcade but how do i fix it?
Title: Re: SMF Arcade
Post by: Furios on October 17, 2007, 11:51:53 AM
Anyone can help me?
Title: Re: SMF Arcade
Post by: GazOutEast on October 17, 2007, 07:29:16 PM
Quote from: Furios on October 15, 2007, 02:29:19 PM
I've got a little problem:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg149.imageshack.us%2Fimg149%2F7724%2Fshowproblem1gg0.png&hash=a0fd02a366a934cfa1611efc5b1fe6ed027afd21)

I see 2 buttons of arcade but how do i fix it?

At a guess you've tried to install it twice and the uninstaller did not remove the code from the display.template.php file (I think that's the one) so when you reinstalled it, it added the button code again, causing two buttons.

I'm not 100% sure of the file the code goes into, but assuming it is display.template.php then if you've setup a display.template-utf8.php file, and have manually added the lines twice, that would also be the reason.

Gaz
Title: Re: SMF Arcade
Post by: fwitt on October 20, 2007, 07:48:49 AM
its in index.template.php not display.template.php

Quote from: GazOutEast on October 17, 2007, 07:29:16 PM
Quote from: Furios on October 15, 2007, 02:29:19 PM
I've got a little problem:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg149.imageshack.us%2Fimg149%2F7724%2Fshowproblem1gg0.png&hash=a0fd02a366a934cfa1611efc5b1fe6ed027afd21)

I see 2 buttons of arcade but how do i fix it?

At a guess you've tried to install it twice and the uninstaller did not remove the code from the display.template.php file (I think that's the one) so when you reinstalled it, it added the button code again, causing two buttons.

I'm not 100% sure of the file the code goes into, but assuming it is display.template.php then if you've setup a display.template-utf8.php file, and have manually added the lines twice, that would also be the reason.

Gaz
Title: Re: SMF Arcade
Post by: GazOutEast on October 20, 2007, 08:38:41 AM
thanks  fwitt - wasn't sure of the exact file name
Title: Re: SMF Arcade
Post by: overdue on October 20, 2007, 02:55:03 PM
I finally found the mod for the trophies to show on your posts, but for some reason it only shows the title (and link) of the game. There is no little trophy next to it.

I'm using SMF 1.1.4 with Arcade 2.0.11.
Title: Re: SMF Arcade
Post by: jasonwatkins on November 03, 2007, 05:27:27 PM
hi, been pointed here by greyknight17 (thanks man ..)

i'm absolutely stumped.

i'm running SMF 1.1.4 with Arcade 2.0.11 and essentially nothing works.

if i use the package manager to install a game, it says that it succesfully installs it, but when I go to the arcade, it checks the session then just nothing happens.

to try and fix the problem, i uninstalled and dropped the arcade mod completely, and removed all the arcade tables.  I did (what I thought was) a clean install and nothing worked at all.

i FTP'ed into the webspace to check the Games directory and it was completely empty.

the package manager tells me the games are installed, and when i go to the arcade, all the games are listed out as if they are there, but the Games directory is completely empty.

so there's been some kind of disconnect along the way from SMF installing the game to actually the game being copied into the relevant directory.

i tried manually doing this, by manually creating a folder and uploading the PHP and SWF files, and all I get is "checking session" then a white box where the game should be - a right click gives me "movie not loaded" on the flash box.

I tried removing the entire forum and arcade and re-installing it from a fresh install.  I restored the database and it fixed absolutely nothing - the same problem was still there.

so i really have no clue - i guess the logical assumption is that there is something wrong with the database, but i've used the error checking function, and i've also re-installed it completely and still get the same problem.

the webhosts have confirmed that SWF files can still be used on the webspace, and i double-confirmed this by uploading a test SWF file to my root webspace and accessing it directly using the URL and that worked, so it's not as if SWF files have been banned or anything.

i'm really desperate to figure this out because it's bugging me so much and i've got a lot of people who want their arcade back !

any help would be most gratefully received .. thankyou

(and i've tried the smf arcade support forum but that's a waste of time because nobody answeres any posts there anymore )
Title: Re: SMF Arcade
Post by: DivineMessage on November 04, 2007, 05:41:00 AM
I try to play the games and it just says "please wait, checking for session" then it goes away but still no game... Why?
Title: Re: SMF Arcade
Post by: jasonwatkins on November 04, 2007, 06:15:11 AM
sounds like you have the same problem i have .. one that is apparently unfixable since nobody has yet answered my many, many posts on it :)
Title: Re: SMF Arcade
Post by: DivineMessage on November 04, 2007, 06:19:22 AM
The games install for me they just wont work...
Title: Re: SMF Arcade
Post by: niko on November 04, 2007, 06:35:12 AM
Quote from: DivineMessage on November 04, 2007, 06:19:22 AM
The games install for me they just wont work...

Check that url for games is correct
Title: Re: SMF Arcade
Post by: DivineMessage on November 04, 2007, 07:10:41 AM
It is, I even had a support guy check it out and he said he can't see why it wouldn't work... Could it be something wrong with the code in 2.0.11?

You can check it out here:

http://thedivinemessengers.com/forums/index.php?action=arcade
Title: Re: SMF Arcade
Post by: jasonwatkins on November 04, 2007, 08:46:36 AM
yep .. identical problem to me .. and the URL to the Games folder is correct as well
Title: Re: SMF Arcade
Post by: niko on November 04, 2007, 12:03:36 PM
Quote from: DivineMessage on November 04, 2007, 07:10:41 AM
It is, I even had a support guy check it out and he said he can't see why it wouldn't work... Could it be something wrong with the code in 2.0.11?

You can check it out here:

http://thedivinemessengers.com/forums/index.php?action=arcade

http://thedivinemessengers.com/forums/Games/game_aceblackjack/aceblackjack.swf (404)

Maybe you have renamed swf or something?

http://thedivinemessengers.com/forums/Games/game_aceblackjack/ gives 403 (no permission).
Title: Re: SMF Arcade
Post by: DivineMessage on November 04, 2007, 04:30:45 PM
On one I did and on one I didn't. Didn't work either way.

I can give you access if you wanna check it out?
Title: Re: SMF Arcade
Post by: DivineMessage on November 04, 2007, 05:48:41 PM
Is there a way I can download v 2.0.9?
Title: Re: SMF Arcade
Post by: John S on November 07, 2007, 04:09:13 AM
how do we install multiplayer and tournament games?
Title: Re: SMF Arcade
Post by: jasonwatkins on November 07, 2007, 04:17:06 AM
you can't - they're not supported on this arcade
Title: Re: SMF Arcade
Post by: John S on November 07, 2007, 04:18:25 AM
i've seen someones forum that had tournaments and multiplayer and stuff like that.. which arcade would that be?
Title: Re: SMF Arcade
Post by: jasonwatkins on November 07, 2007, 06:11:39 PM
i guess the logical response would to ask them :)
Title: Re: SMF Arcade
Post by: rider on November 07, 2007, 06:48:25 PM
Quote from: John S on November 07, 2007, 04:09:13 AM
how do we install multiplayer and tournament games?
If you go here you can get the version that supports tournments but not multiplayers games.http://www.ericsworld.eu/f2/index.php
Title: Re: SMF Arcade
Post by: John S on November 07, 2007, 08:38:52 PM
Thanks!

How can I add this to a my SMF homepage (I'm not using TP):

QuoteArcade Games Block
2 Kb
Randomly displays a chosen number of games using the following categories: Latest Games, Most Played, Least Played, Top Rated, Longest Champs Can be used in a side or centre block.  For use with TinyPortal and Smf Arcade 1.3.1 E1.4 >>
Title: Re: SMF Arcade
Post by: Jaba on November 11, 2007, 09:22:11 PM
Quote from: Jaba on October 09, 2007, 01:09:57 PM
I have 6 Games installed but would like to install a large game pack in the near future.
During the game pack installation is it possible to deselect the games I already have installed?
Will the already installed games be left fully intact, I.e. The high scores, Users and stats etc?

Thanx for any info.
Anyone!
I've just restored my site to a new domain and would like to install a large game pack, but will it destroy the Stats for the same games already installed?
Thanx
Title: Re: SMF Arcade
Post by: John S on November 11, 2007, 09:47:43 PM
arcade-only.com have over 900 games.. where can i get the gamepack for that?
Title: Re: SMF Arcade
Post by: rider on November 12, 2007, 12:30:17 AM
Quote from: John S on November 11, 2007, 09:47:43 PM
arcade-only.com have over 900 games.. where can i get the gamepack for that?
Have you tried the d/l's there.Should find about 600 games.
Title: Re: SMF Arcade
Post by: rider on November 12, 2007, 12:33:45 AM
Why don't you unzip the gamepack and rezip only the games you want to install?It shouldn't affect the games installed already.
Title: Re: SMF Arcade
Post by: John S on November 12, 2007, 01:07:01 AM
I couldn't find any games in the download section.. could you please give me a link, thanks
Title: Re: SMF Arcade
Post by: Jaba on November 12, 2007, 04:41:57 AM
Quote from: rider on November 12, 2007, 12:33:45 AM
Why don't you unzip the gamepack and rezip only the games you want to install?It shouldn't affect the games installed already.
Good advice, I'll give it a try, thanx.
Title: Re: SMF Arcade
Post by: Bigguy on November 12, 2007, 12:03:02 PM
if you google "SMF arcade games" you should come up with other sites as well that have games that will work on SMF arcade. ;)
Title: Re: SMF Arcade
Post by: Jakki on November 12, 2007, 12:47:51 PM
OK, someone help please. I'm completely new to this whole SMF forum stuff.  I have my forum set up nicely.  I'm trying to put the arcade in...I've downloaded the arcade but now what can someone please PM me instructions...LOL
Title: Re: SMF Arcade
Post by: Bigguy on November 12, 2007, 01:12:50 PM
Go to admin panel then to packages then to download packages and browse for your package and upload it. During the install process the package manager tests it first to see if it will install. If anything fails post back here with hte error. Also mods ONLY install to the default theme.
Title: Re: SMF Arcade
Post by: cferd on November 12, 2007, 01:24:40 PM
Quote from: John S on November 12, 2007, 01:07:01 AM
I couldn't find any games in the download section.. could you please give me a link, thanks
You need to register.
Title: Re: SMF Arcade
Post by: Jakki on November 12, 2007, 01:33:39 PM
Quote from: Bigguy on November 12, 2007, 01:12:50 PM
Go to admin panel then to packages then to download packages and browse for your package and upload it. During the install process the package manager tests it first to see if it will install. If anything fails post back here with hte error. Also mods ONLY install to the default theme.

Ok here's what my screen looks like, it says it is install, but I see nothing along the side.

Main
Administration Center
Support and Credits
News and newsletters
Packages

Configuration
Features and Options
Server Settings
Current Theme
Themes and Layout

Forum
Boards
Posts and Topics
Calendar
Search
Smileys and Message Icons
Attachments and Avatars






Members
Members
Membergroups
Permissions
Registration
Ban List

Maintenance
Forum Maintenance
Generate Reports
Forum Error Log

Package Manager 
Browse Packages | Download Packages |  Installed Packages | Options 
You can use the interface below to view those packages currently installed on the forum, and remove the ones you no longer require.
View and Remove Installed Packages
Mod Name Version 
1. SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update 1.0 [ Uninstall ]
2. SMF Arcade 2.0.11 [ Uninstall ]

[ Delete Mod List ] 
Title: Re: SMF Arcade
Post by: Jaba on November 12, 2007, 02:01:27 PM
If it says uninstall then it should be there!
you should have:
Arcade Admin
Games
Categories
Settings

Did you follow the advice above and stick the the Default theme!
If you are using a custom theme change back to default and check Admin again for arcade! You should also have Arcade on your Menu now!! Take a look!
Get everything running with the default theme fist if you didn't already!
Title: Re: SMF Arcade
Post by: Bigguy on November 12, 2007, 02:13:00 PM
Looks like the edits didn't get done to the modifications.english.php file or you are not using the english language.
Title: Re: SMF Arcade
Post by: Jakki on November 12, 2007, 02:30:08 PM
Okay, I just downloaded it from Nico's download page..nothing said about English...is there anywhere else I can get the arcade download beside that one..the web page   www.smfarcade.info  will not open.
Title: Re: SMF Arcade
Post by: Bigguy on November 12, 2007, 02:48:15 PM
I guess the arcade site is having some problems. We will have to wait for it. If you look in the .xml file or use the package parser (located here:CLICK (http://www.smfhelper.info/forum/package.php5) ) It will show you the edits that have to be done to a custom theme.
Title: Re: SMF Arcade
Post by: rider on November 12, 2007, 03:03:13 PM
Quote from: Jakki on November 12, 2007, 01:33:39 PM
Quote from: Bigguy on November 12, 2007, 01:12:50 PM
Go to admin panel then to packages then to download packages and browse for your package and upload it. During the install process the package manager tests it first to see if it will install. If anything fails post back here with hte error. Also mods ONLY install to the default theme.
Try going to server settings and change the langauge to english.php and not english-utf8.php

Ok here's what my screen looks like, it says it is install, but I see nothing along the side.

Main
Administration Center
Support and Credits
News and newsletters
Packages

Configuration
Features and Options
Server Settings
Current Theme
Themes and Layout

Forum
Boards
Posts and Topics
Calendar
Search
Smileys and Message Icons
Attachments and Avatars






Members
Members
Membergroups
Permissions
Registration
Ban List

Maintenance
Forum Maintenance
Generate Reports
Forum Error Log

Package Manager 
Browse Packages | Download Packages |  Installed Packages | Options 
You can use the interface below to view those packages currently installed on the forum, and remove the ones you no longer require.
View and Remove Installed Packages
Mod Name Version 
1. SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update 1.0 [ Uninstall ]
2. SMF Arcade 2.0.11 [ Uninstall ]

[ Delete Mod List ] 

Title: Re: SMF Arcade
Post by: Jakki on November 12, 2007, 03:24:51 PM
Golly sarg, I went and did that and guess what it shows...LOL.

Thank you so much, now lets see if I can make it work...
Title: Re: SMF Arcade
Post by: Jakki on November 12, 2007, 03:27:44 PM
Going to get some games and see how it goes..LOL
Title: Re: SMF Arcade
Post by: rider on November 12, 2007, 03:31:54 PM
Quote from: Jakki on November 12, 2007, 03:24:51 PM
Golly sarg, I went and did that and guess what it shows...LOL.

Thank you so much, now lets see if I can make it work...
LOL.Glad to help.You can also take the langauge files for the arcade and rename tem.Add -utf8 to the end of them and you'won't have this problem again.EX.arcade english.php would become arcade english-utf8.php.
Title: Re: SMF Arcade
Post by: rider on November 12, 2007, 03:34:05 PM
Quote from: Jakki on November 12, 2007, 03:27:44 PM
Going to get some games and see how it goes..LOL
If you have problems getting games,post back and I'll help you out there too.I'm not sure whats going on with smfarcade but I'm sure it will fixed shortly.
Title: Re: SMF Arcade
Post by: Jakki on November 12, 2007, 03:54:24 PM
Ok, I had the arcade showing up on the default theme on my forum, but when I change the theme to carribean sunset it goes away..how do I fix that? 
Games are still being downloaded.
Title: Re: SMF Arcade
Post by: rider on November 12, 2007, 04:01:32 PM
Quote from: Jakki on November 12, 2007, 03:54:24 PM
Ok, I had the arcade showing up on the default theme on my forum, but when I change the theme to carribean sunset it goes away..how do I fix that? 
Games are still being downloaded.

Most mods are designed to install into the default theme only.If you go here and upload the arcade it will tell you what edits are needed to have it show up in your theme.http://www.smfhacks.com/smf-package-parser.html
Title: Re: SMF Arcade
Post by: Jakki on November 12, 2007, 04:26:13 PM
An Error Has Occurred!
The package manager currently allows only these file types: zip 


I tried to install the games I downloaded from Arcade-only...what now..Sorry I'm a pain but I don't know anything about this stuff.
Title: Re: SMF Arcade
Post by: fwitt on November 12, 2007, 05:47:18 PM
the package manager is for installing mods.

use the arcade admin section to install the games.
Title: Re: SMF Arcade
Post by: Jakki on November 12, 2007, 05:50:03 PM
Okay but the last letters on the file are .rar, it won't let me..
Title: Re: SMF Arcade
Post by: rider on November 12, 2007, 09:42:09 PM
Quote from: Jakki on November 12, 2007, 05:50:03 PM
Okay but the last letters on the file are .rar, it won't let me..
Right click on the rar file and open it to a folder.Then open the folder and highlite just the games and put them into a zipfile.Upload the zipfile directly to your Games directory via your FTP program.Then install them thru admin>games>install on your site.
Title: Re: SMF Arcade
Post by: Jakki on November 13, 2007, 09:32:37 PM
Thanks Rider, I found another web page to get game and such from..They are coded in a zip file, so far everything seems to be working on the arcade.  Thanks for all the help.
Title: Re: SMF Arcade
Post by: rehan on November 15, 2007, 10:52:32 AM
Apart from that.. when some one gets high score it sends a PM to the previous champion. that his/her score is beaten.
Can that be disabled.??
Title: Re: SMF Arcade
Post by: Jakki on November 15, 2007, 12:58:56 PM
Quote from: rehan on November 15, 2007, 10:52:32 AM
Apart from that.. when some one gets high score it sends a PM to the previous champion. that his/her score is beaten.
Can that be disabled.??

I think you can under the permissions for each game. I just left it alone...LOL
Title: Re: SMF Arcade
Post by: Jakki on November 15, 2007, 01:23:29 PM
I can't seem to get theme's to work with my arcade, I know about the link on the parser but I dont understand what I'm looking at..LOL.
I have no clue where to find what they tell you to do.  Anyone??
Title: Re: SMF Arcade
Post by: babjusi on November 15, 2007, 02:50:55 PM
Quote from: Jakki on November 15, 2007, 01:23:29 PM
I can't seem to get theme's to work with my arcade, I know about the link on the parser but I dont understand what I'm looking at..LOL.
I have no clue where to find what they tell you to do.  Anyone??

Have a look over at the arcade site, it is explained there how to install it on a custom theme
Title: Re: SMF Arcade
Post by: rehan on November 16, 2007, 01:14:09 AM
Quote from: Jakki on November 15, 2007, 12:58:56 PM
Quote from: rehan on November 15, 2007, 10:52:32 AM
Apart from that.. when some one gets high score it sends a PM to the previous champion. that his/her score is beaten.
Can that be disabled.??

Ok.. but wat shld i set this permission mod at. so tht it dsnt sends any Pm..?

I think you can under the permissions for each game. I just left it alone...LOL
Title: Re: SMF Arcade
Post by: rider on November 16, 2007, 08:38:47 AM
Quote from: rehan on November 15, 2007, 10:52:32 AM
Apart from that.. when some one gets high score it sends a PM to the previous champion. that his/her score is beaten.
Can that be disabled.??
Yes it can be.Goto profile>personal message options and check it off not to receive.
Title: Re: SMF Arcade
Post by: Sabre™ on November 16, 2007, 10:46:56 PM
Hi peeps :)

I really did a number on this :(

I installed Arcade 2.0.11, then uninstalled (still keeping the mod there) and installed and ran E.Arcade 2.4.2.

Now I have two arcade buttons :(

Ive tried to uninstall them both, and that was fine.  But an arcade button was still there!!??

Im at a loss as to how to fix this.

Any help would be greatly appreciated :)

Thank You :)
Title: Re: SMF Arcade
Post by: rider on November 17, 2007, 12:51:25 AM
Quote from: FERNSIDE on November 16, 2007, 10:46:56 PM
Hi peeps :)

I really did a number on this :(

I installed Arcade 2.0.11, then uninstalled (still keeping the mod there) and installed and ran E.Arcade 2.4.2.

Now I have two arcade buttons :(

Ive tried to uninstall them both, and that was fine.  But an arcade button was still there!!??

Im at a loss as to how to fix this.

Any help would be greatly appreciated :)

Thank You :)
open your index.template.php and scroll down until you find the arecade button code.Once you find it just delete the duplicite code.
Title: Re: SMF Arcade
Post by: LinkinParkBoy on November 17, 2007, 06:03:21 AM
I've installed Smf Arcade, but it doesn't show the images.. why? I've sent everything to \games\ at the server...


Ty Cumps ;)
Title: Re: SMF Arcade
Post by: jasonwatkins on November 17, 2007, 06:08:54 AM
i had this problem ..

go to admin->arcade admin

click on the individual games and check to see what is in the "thumbnails" field. if there's nothing there, then that's your problem.  find what the thumbnail is for the game and enter it into this field and you should have the image.
Title: Re: SMF Arcade
Post by: LinkinParkBoy on November 17, 2007, 06:53:37 AM
Yep the thumbnails field is empty. Is there where i need to put the images links?

Sorry i cant write very well english lol

Ty ;)
Title: Re: SMF Arcade
Post by: Sabre™ on November 17, 2007, 03:53:51 PM
Quote from: rider on November 17, 2007, 12:51:25 AM
Quote from: FERNSIDE on November 16, 2007, 10:46:56 PM
Hi peeps :)

I really did a number on this :(

I installed Arcade 2.0.11, then uninstalled (still keeping the mod there) and installed and ran E.Arcade 2.4.2.

Now I have two arcade buttons :(

Ive tried to uninstall them both, and that was fine.  But an arcade button was still there!!??

Im at a loss as to how to fix this.

Any help would be greatly appreciated :)

Thank You :)
open your index.template.php and scroll down until you find the arecade button code.Once you find it just delete the duplicite code.

Thanks rider, much appreciated :)
I looked for the index.template.php, but couldnt find it.
I found that template for each of my other themes, but this has happened on the default theme.
And I cant find the template anywhere.
Im obviously looking in the wrong place:   Themes and Layout>>Modify themes....
No default theme options.  Its not even there... lol

Could you possibly give a blind man directions on where to go.. lol

Thank You :)

EDIT:     Scratch that :D

I was being lazy and thinking it could be done on site.. lol
Yea I went and fixed it..  lol
Thanks rider, youre a champ:)
Get to know my sig...   I'll be a regular in here asking for help.. lol

Cheers bud:)
Title: Re: SMF Arcade
Post by: chrishicks on November 19, 2007, 01:05:53 AM
a few questions.

1. is there a way that I can limit the total amount of the high scores saved for each game? we have some games that are really popular and there are many pages of scores. I'd like to be able to have it save/show let's say, 30 and that's it. nothing more than the top 30.

2. I would like to turn off the PM message when someone beats my score but I don't have that option in my PM notifications section. I'm using the User Control Panel By Alan S/Ultimate Profile 0.7 Mod so how would I go about disabling the PMs with this?
Title: Re: SMF Arcade
Post by: rider on November 19, 2007, 01:16:29 AM
Quote from: chrishicks on November 19, 2007, 01:05:53 AM
a few questions.

1. is there a way that I can limit the total amount of the high scores saved for each game? we have some games that are really popular and there are many pages of scores. I'd like to be able to have it save/show let's say, 30 and that's it. nothing more than the top 30.

2. I would like to turn off the PM message when someone beats my score but I don't have that option in my PM notifications section. I'm using the User Control Panel By Alan S so how would I go about disabling the PMs with this?
You can change the number of scores saved on the settings page of the arcade in your admin panel.Not sure what todo about the 2nd one since you don't have that option.Normally it would be under profile>PM options.
Title: Re: SMF Arcade
Post by: chrishicks on November 19, 2007, 01:25:00 AM
thanks for the reply. about number 1, would that be the maximum scores section where I limit the number of scores? I only see a scores per page as another option. we have something like 600 games in our arcade and I don't want to kill everyones scores if I enter a wrong number in that maximum scores per member field.
Title: Re: SMF Arcade
Post by: Mick. on November 21, 2007, 10:54:42 PM
Hey guys....i havent done any upgrades or added any games in ages. All of the sudden i get this message:

"You need to enable javascript in order to play games. "

What gives?
Title: Re: SMF Arcade
Post by: jasonwatkins on November 22, 2007, 07:42:48 PM
Quote from: rider on November 07, 2007, 06:48:25 PM
If you go here you can get the version that supports tournments but not multiplayers games.http://www.ericsworld.eu/f2/index.php

I wasn't aware this existed and it's pretty amazing.  Makes the original SMF Arcade look prehistoric by comparison.

Took me a little while to get it installed and working, but it's working as smooth as silk at the moment and all my members love it.
Title: Re: SMF Arcade
Post by: ~Unkn0wn~ on November 22, 2007, 09:40:04 PM
5. Execute Modification ./Themes/default/index.template.php Test failed

why?!! my index.template.php is there 7777
Title: Re: SMF Arcade
Post by: babjusi on November 22, 2007, 09:56:37 PM
Quote from: assasinkilla on November 22, 2007, 09:40:04 PM
5. Execute Modification ./Themes/default/index.template.php Test failed

why?!! my index.template.php is there 7777

Go ahead and install the mod in spite of the error and then apply manually the changes that the mod does to the index.template.php file.
Title: Re: SMF Arcade
Post by: Mick. on November 22, 2007, 10:36:09 PM
Quote from: BlueDevil on November 21, 2007, 10:54:42 PM
Hey guys....i havent done any upgrades or added any games in ages. All of the sudden i get this message:

"You need to enable javascript in order to play games. "

What gives?

bump..
Title: Re: SMF Arcade
Post by: TrueSatan on November 23, 2007, 06:20:28 AM
Your browser seems to have javascript disabled in it...try enabling javascript.
Title: Re: SMF Arcade
Post by: Mick. on November 23, 2007, 07:33:04 AM
Quote from: TrueSatan on November 23, 2007, 06:20:28 AM
Your browser seems to have javascript disabled in it...try enabling javascript.

TS....im not the only one. So are the users in my forum.
Title: Re: SMF Arcade
Post by: TrueSatan on November 23, 2007, 07:43:43 AM
OK...can you then check, please, the CHMOD of /Themes/default/script.js and similar for other themes you may be using and first make it 644...if that still causes problems uprate to 775 or 777 and report back.
Title: Re: SMF Arcade
Post by: Mick. on November 23, 2007, 09:32:44 AM
Quote from: TrueSatan on November 23, 2007, 07:43:43 AM
OK...can you then check, please, the CHMOD of /Themes/default/script.js and similar for other themes you may be using and first make it 644...if that still causes problems uprate to 775 or 777 and report back.

Nope.  Still the same.   This just happenned a couple days ago.

Title: Re: SMF Arcade
Post by: TrueSatan on November 23, 2007, 10:33:17 AM
My feeling is that you have problems that might need a re-install of the arcade to resolve them...and given that you seem to be running out of date versions of both forum and arcade an upgrade would be something I would advise as a matter of priority anyway. Swapping out script.js for a fresh copy might get you out of problems but the full upgrade is a rather more certsin route IMHO.

Let's see if the SMF Arcade staff have a better solution.
Title: Re: SMF Arcade
Post by: Mick. on November 23, 2007, 10:49:22 AM
Quote from: TrueSatan on November 23, 2007, 10:33:17 AM
My feeling is that you have problems that might need a re-install of the arcade to resolve them...and given that you seem to be running out of date versions of both forum and arcade an upgrade would be something I would advise as a matter of priority anyway. Swapping out script.js for a fresh copy might get you out of problems but the full upgrade is a rather more certsin route IMHO.

Let's see if the SMF Arcade staff have a better solution.

Do i have to remove the older version of arcade before installing     V 2.0.11?
Title: Re: SMF Arcade
Post by: TrueSatan on November 23, 2007, 12:50:17 PM
I would...safer and no great hardship. You might instead look at the E2.4.2 arcade as it is much more feature rich and based off of SMF Arcade...seeing as you're doing an upgrade anyway. BTW an upgrade of your forum to SMF 1.1.4 is also highly advised.
Title: Re: SMF Arcade
Post by: Mick. on November 23, 2007, 12:53:13 PM
Quote from: TrueSatan on November 23, 2007, 12:50:17 PM
I would...safer and no great hardship. You might instead look at the E2.4.2 arcade as it is much more feature rich and based off of SMF Arcade...seeing as you're doing an upgrade anyway. BTW an upgrade of your forum to SMF 1.1.4 is also highly advised.


My forum is 1.1.4 for awhile.

I found the problem.  The "Pretty URL" mod interferes with the "arcade" mod.

I removed it and now the arcade is playable.
Title: Re: SMF Arcade
Post by: LinkinParkBoy on November 23, 2007, 04:44:33 PM
Quote from: LinkinParkBoy on November 17, 2007, 06:03:21 AM
I've installed Smf Arcade, but it doesn't show the images.. why? I've sent everything to \games\ at the server...


Ty Cumps ;)

Quote from: jasonwatkins on November 17, 2007, 06:08:54 AM
i had this problem ..

go to admin->arcade admin

click on the individual games and check to see what is in the "thumbnails" field. if there's nothing there, then that's your problem.  find what the thumbnail is for the game and enter it into this field and you should have the image.

Yep the thumbnails field is empty. Is there where i need to put the images links?

Sorry i cant write very well english lol

Ty ;)
Title: Re: SMF Arcade
Post by: TikkA on November 24, 2007, 10:47:03 AM
Great mod working fine thanks :)
Title: Re: SMF Arcade
Post by: ASF on November 24, 2007, 02:43:02 PM
hi..

how can  i put my ads just above every game in my arcade? and also in the arcade index page?

any help appreciated thanks...
Title: Re: SMF Arcade
Post by: ~Unkn0wn~ on November 27, 2007, 03:42:15 PM
I added my flash game, but how insert it to send score? :S
Title: Re: SMF Arcade
Post by: TrueSatan on November 28, 2007, 05:36:40 AM
Games need to have their code converted to give arcade acapabilities to be fully used in an arcade (any arcade system not just the SMF ones)...if it truly is your game, meaning you wrote it or own the copyright or it is open source you might be able to get it converted by SMF Arcade staff or you could try requesting a conversion via the site I mention in my signature.
Title: Re: SMF Arcade
Post by: jasonwatkins on December 05, 2007, 04:17:45 PM
Quote from: LinkinParkBoy on November 23, 2007, 04:44:33 PM
Yep the thumbnails field is empty. Is there where i need to put the images links?

Sorry i cant write very well english lol

Ty ;)

yes.

you should have a GIF or JPG file with the thumbnail in the same folder - you need to enter that name like this - name.gif or name.jpg - into the thumbnail field and it should work.
Title: Re: SMF Arcade
Post by: ASF on December 06, 2007, 11:10:22 AM
Quote from: ASF on November 24, 2007, 02:43:02 PM
hi..

how can  i put my ads just above every game in my arcade? and also in the arcade index page?

any help appreciated thanks...

any help with this?

Title: Re: SMF Arcade
Post by: MinasC on December 06, 2007, 11:36:04 AM
maybe this mod (http://www.simplemachines.org/community/index.php?topic=68632.0) could help you .
Title: Re: SMF Arcade
Post by: Skhilled on December 08, 2007, 11:09:48 AM
Quote from: LinkinParkBoy on November 23, 2007, 04:44:33 PM
Quote from: LinkinParkBoy on November 17, 2007, 06:03:21 AM
I've installed Smf Arcade, but it doesn't show the images.. why? I've sent everything to \games\ at the server...


Ty Cumps ;)

Quote from: jasonwatkins on November 17, 2007, 06:08:54 AM
i had this problem ..

go to admin->arcade admin

click on the individual games and check to see what is in the "thumbnails" field. if there's nothing there, then that's your problem.  find what the thumbnail is for the game and enter it into this field and you should have the image.

Yep the thumbnails field is empty. Is there where i need to put the images links?

Sorry i cant write very well english lol

Ty ;)
yes, just put the filename of the game in it.
Title: Re: SMF Arcade
Post by: Jaba on December 08, 2007, 02:03:51 PM
Anyone have a small problem with the game Plasmanautv2
When I click submit in game it bombs out to a blank page with the following.
"Invalid request variable."
I think this is only happens after passing level 1, so problem starts on level 2!

Only way back via browser back arrow!!
I don't think this is a problem with Arcade as 1st time this has happened with any game!
Title: Re: SMF Arcade
Post by: aianeo on December 08, 2007, 02:23:39 PM
As soon as we installed the Arcade(version 2.0.11) all of our regulalar forum signatures stopped showing in the forums. SMF version 1.1.4, Phobos theme. Help greatly appreciated.
Title: Re: SMF Arcade
Post by: rehan on December 09, 2007, 04:03:09 AM
I am facing a strange problem with arcades..
I installed SMF arcade.. everything is working fine..
But when i check the error logs.. its full of arcade errors...
Like..

QuoteADMIN       Today at 11:57:49 AM
Apply Filter: Only show the error messages of this IP address 58.65.179.208      Apply Filter: Only show the error messages of this session 5057991e376f40f85553e50f5b60b4e7
Apply Filter: Only show the error messages of this URL http://www.circlebakote.com/index.php?action=viewErrorLog;desc
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_settings
File: /home/cricleba/public_html/Sources/Subs.php
Line: 2799
   
Apply Filter: Only show the error messages of this member ADMIN    Today at 11:57:49 AM
Apply Filter: Only show the error messages of this IP address 58.65.179.208      Apply Filter: Only show the error messages of this session 5057991e376f40f85553e50f5b60b4e7
Apply Filter: Only show the error messages of this URL http://www.circlebakote.com/index.php?action=viewErrorLog;desc
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_manage_category
File: /home/cricleba/public_html/Sources/Subs.php
Line: 2798
   
Apply Filter: Only show the error messages of this member ADMIN    Today at 11:57:49 AM
Apply Filter: Only show the error messages of this IP address 58.65.179.208      Apply Filter: Only show the error messages of this session 5057991e376f40f85553e50f5b60b4e7
Apply Filter: Only show the error messages of this URL http://www.circlebakote.com/index.php?action=viewErrorLog;desc
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_manage_games
File: /home/cricleba/public_html/Sources/Subs.php
Line: 2797
   
Apply Filter: Only show the error messages of this member ADMIN    Today at 11:57:49 AM
Apply Filter: Only show the error messages of this IP address 58.65.179.208      Apply Filter: Only show the error messages of this session 5057991e376f40f85553e50f5b60b4e7
Apply Filter: Only show the error messages of this URL http://www.circlebakote.com/index.php?action=viewErrorLog;desc
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_admin
File: /home/cricleba/public_html/Sources/Subs.php
Line: 2795
   
Apply Filter: Only show the error messages of this member ADMIN    Today at 11:57:45 AM
Apply Filter: Only show the error messages of this IP address 58.65.179.208      Apply Filter: Only show the error messages of this session 5057991e376f40f85553e50f5b60b4e7
Apply Filter: Only show the error messages of this URL http://www.circlebakote.com/index.php?action=admin
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_settings
File: /home/cricleba/public_html/Sources/Subs.php
Line: 2799
   
Apply Filter: Only show the error messages of this member ADMIN    Today at 11:57:45 AM
Apply Filter: Only show the error messages of this IP address 58.65.179.208      Apply Filter: Only show the error messages of this session 5057991e376f40f85553e50f5b60b4e7
Apply Filter: Only show the error messages of this URL http://www.circlebakote.com/index.php?action=admin
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_manage_category
File: /home/cricleba/public_html/Sources/Subs.php
Line: 2798
   
Apply Filter: Only show the error messages of this member ADMIN    Today at 11:57:45 AM
Apply Filter: Only show the error messages of this IP address 58.65.179.208      Apply Filter: Only show the error messages of this session 5057991e376f40f85553e50f5b60b4e7
Apply Filter: Only show the error messages of this URL http://www.circlebakote.com/index.php?action=admin
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_manage_games
File: /home/cricleba/public_html/Sources/Subs.php
Line: 2797
   
Apply Filter: Only show the error messages of this member ADMIN    Today at 11:57:45 AM
Apply Filter: Only show the error messages of this IP address 58.65.179.208      Apply Filter: Only show the error messages of this session 5057991e376f40f85553e50f5b60b4e7
Apply Filter: Only show the error messages of this URL http://www.circlebakote.com/index.php?action=admin
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_admin
File: /home/cricleba/public_html/Sources/Subs.php
Line: 2795
   
Apply Filter: Only show the error messages of this member ADMIN    Today at 11:57:42 AM
Apply Filter: Only show the error messages of this IP address 58.65.179.208      Apply Filter: Only show the error messages of this session 5057991e376f40f85553e50f5b60b4e7
Apply Filter: Only show the error messages of this URL http://www.circlebakote.com/index.php?action=admin
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_settings
File: /home/cricleba/public_html/Sources/Subs.php
Line: 2799
   
Apply Filter: Only show the error messages of this member ADMIN    Today at 11:57:42 AM
Apply Filter: Only show the error messages of this IP address 58.65.179.208      Apply Filter: Only show the error messages of this session 5057991e376f40f85553e50f5b60b4e7
Apply Filter: Only show the error messages of this URL http://www.circlebakote.com/index.php?action=admin
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_manage_category
File: /home/cricleba/public_html/Sources/Subs.php
Line: 2798
   
Apply Filter: Only show the error messages of this member ADMIN    Today at 11:57:41 AM
Apply Filter: Only show the error messages of this IP address 58.65.179.208      Apply Filter: Only show the error messages of this session 5057991e376f40f85553e50f5b60b4e7
Apply Filter: Only show the error messages of this URL http://www.circlebakote.com/index.php?action=admin
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_manage_games
File: /home/cricleba/public_html/Sources/Subs.php
Line: 2797
   
Apply Filter: Only show the error messages of this member ADMIN    Today at 11:57:41 AM
Apply Filter: Only show the error messages of this IP address 58.65.179.208      Apply Filter: Only show the error messages of this session 5057991e376f40f85553e50f5b60b4e7
Apply Filter: Only show the error messages of this URL http://www.circlebakote.com/index.php?action=admin
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_admin
File: /home/cricleba/public_html/Sources/Subs.php
Line: 2795

every time i check the error logs its full of such errors..
wat to do here...?
Title: Re: SMF Arcade
Post by: zackpack on December 15, 2007, 06:50:46 AM
hi all!
does exist a way to change user's scores??
thank you
Title: Re: SMF Arcade
Post by: pianista on December 16, 2007, 06:47:58 AM
Please I try to install it on my forum, with smf 1.1.4 with theme dilbermc, the version is 2.0.11, I upload the packet and is impossible to run it...It is installed ok, but it isn't well accoplished at the theme...I don't see anything about arcade on my forum...
Please help me
www.laultimaesencia.com
Title: Re: SMF Arcade
Post by: pianista on December 16, 2007, 07:26:50 AM
It shows:
Importing games and scores
Table 'laultimaesencia_smf.smf_games' doesn't exist
Title: Re: SMF Arcade
Post by: rider on December 16, 2007, 09:14:49 AM
Quote from: pianista on December 16, 2007, 06:47:58 AM
Please I try to install it on my forum, with smf 1.1.4 with theme dilbermc, the version is 2.0.11, I upload the packet and is impossible to run it...It is installed ok, but it isn't well accoplished at the theme...I don't see anything about arcade on my forum...
Please help me
www.laultimaesencia.com

Do you have this installed still?I went to your site and tried this link to see if the arcade shows but it didn't.http://foro.laultimaesencia.com/index.php?action=arcade
Reinstall it and use this link to access the arcade,also you need to run the installArcade.php in your browser and select new install and stay away from importing scores option.
Title: Re: SMF Arcade
Post by: pianista on December 16, 2007, 10:41:41 AM
I install it doing it , and entering in http://foro.laultimaesencia.com/index.php?action=arcade it shows empty, please see it
Thanks!
Title: Re: SMF Arcade
Post by: fwitt on December 16, 2007, 01:32:09 PM
Quote from: pianista on December 16, 2007, 10:41:41 AM
I install it doing it , and entering in http://foro.laultimaesencia.com/index.php?action=arcade it shows empty, please see it
Thanks!

you dont appear to have any language files for the arcade in your forums language
Title: Re: SMF Arcade
Post by: pianista on December 16, 2007, 03:38:13 PM
and where can I get this files?
Thanks!
Title: Re: SMF Arcade
Post by: pianista on December 16, 2007, 03:59:35 PM
Well If I change the theme to default theme of smf, and the server language to english, it works, but how can I work it on spanish???
Thanks!
Title: Re: SMF Arcade
Post by: fwitt on December 16, 2007, 06:28:45 PM
Quote from: pianista on December 16, 2007, 03:59:35 PM
Well If I change the theme to default theme of smf, and the server language to english, it works, but how can I work it on spanish???
Thanks!

Someone has probably already translated the language files to spanish and uploaded them to the language support forums at smfarcade.info

the language files are user translated so if noone has translated them there will at least be instructions on how to.

The theme thing is a completely separate issue and it is well documented how to deal with it both on this forum and on the arcade forum.
Title: Re: SMF Arcade
Post by: peterpan72 on December 18, 2007, 12:52:25 PM
I need a Link to download SMF Games, I installed the 1.1.4 Package but it's showing no games, or am I doing something wrong?
Title: Re: SMF Arcade
Post by: peterpan72 on December 18, 2007, 01:49:53 PM
Downloaded some games, but they now wont keep scores.
:(

Please someone help!!
Title: Re: SMF Arcade
Post by: fwitt on December 18, 2007, 06:40:10 PM
Quote from: NoDrAmaUk on December 18, 2007, 12:52:25 PM
I need a Link to download SMF Games, I installed the 1.1.4 Package but it's showing no games, or am I doing something wrong?

you upload and install the games separately from the arcade, some are downloadable from smfarcade.info others from elsewhere on the web, not all games send scores to the website they are on and of those that do certain types work with the arcade (these are listed in the Games Support board on the arcade forum.
Title: Re: SMF Arcade
Post by: peterpan72 on December 19, 2007, 12:16:05 PM
Tried that still no scores :(
Title: Re: SMF Arcade
Post by: peterpan72 on December 19, 2007, 12:43:58 PM
Which Mod would work on 1.1.4 because i cant get any to install says corupt or not compatible

www.nodamaukroomhosting.info
Title: Re: SMF Arcade
Post by: rider on December 19, 2007, 02:13:19 PM
Quote from: NoDrAmaUk on December 19, 2007, 12:43:58 PM
Which Mod would work on 1.1.4 because i cant get any to install says corupt or not compatible

www.nodamaukroomhosting.info
How are you installing your games?
Title: Re: SMF Arcade
Post by: peterpan72 on December 19, 2007, 09:13:03 PM
No point installing the games i guess till I get the Mod to install, can you hep me with this first
Title: Re: SMF Arcade
Post by: NoelF1 on December 20, 2007, 07:33:11 AM
Hi all, i have SMF 1.1.4, and have ApolloBB theme, can i get the arcade to work on it?

thanks in advance.

ps here is the theme's link: http://custom.simplemachines.org/themes/index.php?lemma=356
Title: Re: SMF Arcade
Post by: peterpan72 on December 20, 2007, 12:24:10 PM
Can anyone help me install my Arcade and games

many thanks
Title: Re: SMF Arcade
Post by: NoelF1 on December 20, 2007, 01:21:36 PM
Quote from: NoDrAmaUk on December 20, 2007, 12:24:10 PM
Can anyone help me install my Arcade and games

many thanks
arcade is easy to install just download the .zip file and upload it trough the packages thing from the admin panel.

the thing is i dont know how to install it in custom themes!
Title: Re: SMF Arcade
Post by: rider on December 21, 2007, 01:03:35 AM
Quote from: NoDrAmaUk on December 20, 2007, 12:24:10 PM
Can anyone help me install my Arcade and games

many thanks
I can,send me a link and I'll help.Also click on the link in my sig and it will direct you to the arcade site where you can get all the help and info you need.I admin there incase you need a reference.
Title: Re: SMF Arcade
Post by: rider on December 21, 2007, 01:26:30 AM
Quote from: NoDrAmaUk on December 19, 2007, 12:43:58 PM
Which Mod would work on 1.1.4 because i cant get any to install says corupt or not compatible

www.nodamaukroomhosting.info
Your link isn't working.
Title: Re: SMF Arcade
Post by: geo32101 on December 21, 2007, 11:16:12 PM
When I try to install the arcade I get this-
FTP Information Required-
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.

I fill it out, but nothing happens,why?
Title: Re: SMF Arcade
Post by: rider on December 22, 2007, 12:02:56 AM
Quote from: geo32101 on December 21, 2007, 11:16:12 PM
When I try to install the arcade I get this-
FTP Information Required-
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.

I fill it out, but nothing happens,why?
Try this before installing the arcade,goto admin>packages>options>choose make all files writable and then install the arcade.
Title: Re: SMF Arcade
Post by: geo32101 on December 22, 2007, 12:07:21 AM
Quote from: rider on December 22, 2007, 12:02:56 AM
Quote from: geo32101 on December 21, 2007, 11:16:12 PM
When I try to install the arcade I get this-
FTP Information Required-
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.

I fill it out, but nothing happens,why?
Try this before installing the arcade,goto admin>packages>options>choose make all files writable and then install the arcade.
Then this comes out again-
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.

I fill it out and nothing happens.
Title: Re: SMF Arcade
Post by: Tensuki on December 22, 2007, 01:04:18 AM
Quote from: BlueDevil on November 21, 2007, 10:54:42 PM
Hey guys....i havent done any upgrades or added any games in ages. All of the sudden i get this message:

"You need to enable javascript in order to play games. "

What gives?


If you are receiving this message most likely you have the Pretty Urls mod installed. Try uninstalling this mod and the enable Javascript error should vanish.
Title: Re: SMF Arcade
Post by: NoelF1 on December 22, 2007, 05:51:35 AM
does anyone know how to install the arcade into ApolloBB theme please? :(
Title: Re: SMF Arcade
Post by: rider on December 22, 2007, 11:12:42 AM
Quote from: NoelF1 on December 22, 2007, 05:51:35 AM
does anyone know how to install the arcade into ApolloBB theme please? :(
The mod should install ok but you'll have to edit the index.template.php and create a button to show in the tab bar.Have you posted a copy of it over at smfarcade.info?One of us should be able to help.Also if you don't see the admin arcade settings then you need to change the forum langauge to english and not english-utf8.
Title: Re: SMF Arcade
Post by: Bigguy on December 22, 2007, 11:38:36 AM
Just to add to what rider said. A package parser could be of use to you here. I have one installed and running here if you need to use it:

CLICK (http://www.smfhelper.info/forum/package.php5)
Title: Re: SMF Arcade
Post by: rider on December 22, 2007, 11:48:12 AM
Quote from: Bigguy on December 22, 2007, 11:38:36 AM
Just to add to what rider said. A package parser could be of use to you here. I have one installed and running here if you need to use it:

CLICK (http://www.smfhelper.info/forum/package.php5)
Thanks bigguy I keep fogetting about that.lol.Another program that helps is called beyond compare,its a php editor and makes editing a breeze.Without it I would be lost.
Title: Re: SMF Arcade
Post by: Bigguy on December 22, 2007, 12:00:12 PM
I am going to check that out rider, thanks. :)
Title: Re: SMF Arcade
Post by: NoelF1 on December 22, 2007, 02:16:01 PM
holy bacon! Bigguy thanks alot buddy! im gonna try that and do the codes! i love you mate!

thanks to rider also ee! :D

btw Merry Christmas :)
Title: Re: SMF Arcade
Post by: NoelF1 on December 22, 2007, 02:20:16 PM
btw how can i change the forum language? from english-utf8 to english? :S
Title: Re: SMF Arcade
Post by: rider on December 22, 2007, 02:39:48 PM
Quote from: NoelF1 on December 22, 2007, 02:20:16 PM
btw how can i change the forum language? from english-utf8 to english? :S
Goto admin>server settings>default forum langauge>switch from english-utf8 to english.
Title: Re: SMF Arcade
Post by: NoelF1 on December 22, 2007, 02:55:20 PM
Quote from: rider on December 22, 2007, 02:39:48 PM
Quote from: NoelF1 on December 22, 2007, 02:20:16 PM
btw how can i change the forum language? from english-utf8 to english? :S
Goto admin>server settings>default forum langauge>switch from english-utf8 to english.
it's on english theres no other option!

btw... do i need to copy all those codes that the package parser gave me?
Title: Re: SMF Arcade
Post by: NoelF1 on December 22, 2007, 03:40:34 PM
The parser told me to ...

Find:

// How about the [search] button?



Add before:

    echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
         <td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
            <a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
         </td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


---

but when im doing that the template is frigging up what am i doing wrong? but the arcade button showed up!

and also the admin panel thing i fixed it at last! :D

i did attach my current index.template.php file...with 3 qaurters of the code done... but still without the arcade button as the above coe aint showing up the template right!

thanks in advance. :)
Title: Re: SMF Arcade
Post by: Bigguy on December 22, 2007, 03:53:19 PM
The easiest way to make a button is to copy the help button code below itself and change the action. Any part in the code that says this:

?action=help

would get changed to this:

?action=arcade

So if we find the help button code for your index.template.php that looks like this:

// Show the [help] button.
echo '
<a href="', $scripturl, '?action=help" ' , $current_action == 'help' ? 'class="nav_important"' : '' , '>' , $txt[119] , '</a>&nbsp;|';


We would change it to this:

// Show the [help] button.
echo '
<a href="', $scripturl, '?action=arcade" ' , $current_action == 'arcade' ? 'class="nav_important"' : '' , '>' , $txt[1190] , '</a>&nbsp;|';


Also notice I changed your txt string:

$txt[1190]

So you will also have to open your index.english.php file and add this to it:

$txt[1190] = 'arcade',

or however they look in there because if you don't you will have 2 help buttons; one will go to the help section and one will go to the arcade but be labelled help. I hope that was clear enough. :)
Title: Re: SMF Arcade
Post by: NoelF1 on December 22, 2007, 04:17:05 PM
but that will change the help button into an arcade one right?

i wish to keep the help button, because it helps newbies to understand how the forum works out! :(
Title: Re: SMF Arcade
Post by: NoelF1 on December 22, 2007, 04:21:36 PM
and now i tried that and didnt even work at all! it erased the help button and nothing showed up instead!
Title: Re: SMF Arcade
Post by: Bigguy on December 22, 2007, 04:38:55 PM
No I didn't tell you to remove the help button I told you to COPY the help button code below itself and change the action and the text string.
Title: Re: SMF Arcade
Post by: NoelF1 on December 22, 2007, 04:44:29 PM
it still didnt work! :(

check out the attachment... thats how it's looking :(
Title: Re: SMF Arcade
Post by: Bigguy on December 22, 2007, 04:55:02 PM
Did you add the text line in the index.english.php file. ???
Title: Re: SMF Arcade
Post by: NoelF1 on December 22, 2007, 05:09:12 PM
Quote from: Bigguy on December 22, 2007, 04:55:02 PM
Did you add the text line in the index.english.php file. ???
darn lol i didnt

now i added it to the modifications.english.php and added

//Arcade

$txt[1190] = 'Arcade',

and worked perfectly! thanks again mate!

just came a small curiosity to my mind...

how can i put a button and link it to a site like http://yourname.com and open in _blank type? can i do something like that into the navbar?
Title: Re: SMF Arcade
Post by: Bigguy on December 22, 2007, 05:14:37 PM
This is how you would do it on the default theme:

// Show a [new] button.
      echo ($current_action == 'newaction' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'newaction' ? 'active_back' : 'back' , '">
               <a href="http://www.yourlinkhere.com">linktext</a>
            </td>' , $current_action == 'newaction' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


replace:

http://www.yourlinkhere.com

with your link

and

linktext

With what you want shown for the link.

Title: Re: SMF Arcade
Post by: Bigguy on December 22, 2007, 05:17:02 PM
For your theme:

   // Show the [help] button.
   echo '
               <a href="http://www.yourlinkhere.com"' : '' , '>Linktext</a>&nbsp;|';

I THINK
Title: Re: SMF Arcade
Post by: NoelF1 on December 22, 2007, 05:26:05 PM
Quote from: Bigguy on December 22, 2007, 05:14:37 PM
This is how you would do it on the default theme:

// Show a [new] button.
      echo ($current_action == 'newaction' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'newaction' ? 'active_back' : 'back' , '">
               <a href="http://www.yourlinkhere.com">linktext</a>
            </td>' , $current_action == 'newaction' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


replace:

http://www.yourlinkhere.com

with your link

and

linktext

With what you want shown for the link.


so does that work on all themes?

thanks for the info buddy! learned a lot! this thing would help for all other mods! :D
Title: Re: SMF Arcade
Post by: Bigguy on December 22, 2007, 05:28:13 PM
This should work for your theme, not sure though if I have it right.

Quote from: Bigguy on December 22, 2007, 05:17:02 PM
For your theme:

   // Show the [help] button.
   echo '
               <a href="http://www.yourlinkhere.com"' : '' , '>Linktext</a>&nbsp;|';

I THINK
Title: Re: SMF Arcade
Post by: geo32101 on December 22, 2007, 07:07:18 PM
Quote from: geo32101 on December 22, 2007, 12:07:21 AM
Quote from: rider on December 22, 2007, 12:02:56 AM
Quote from: geo32101 on December 21, 2007, 11:16:12 PM
When I try to install the arcade I get this-
FTP Information Required-
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.

I fill it out, but nothing happens,why?
Try this before installing the arcade,goto admin>packages>options>choose make all files writable and then install the arcade.
Then this comes out again-
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.

I fill it out and nothing happens.
Help please.
Title: Re: SMF Arcade
Post by: TrueSatan on December 22, 2007, 07:20:29 PM
If you are using an SEO mod that may be causing the problem...try removing such mods.
Title: Re: SMF Arcade
Post by: geo32101 on December 23, 2007, 12:22:55 AM
Quote from: TrueSatan on December 22, 2007, 07:20:29 PM
If you are using an SEO mod that may be causing the problem...try removing such mods.
Me?
What's a SEO Mod?
Title: Re: SMF Arcade
Post by: Bigguy on December 23, 2007, 02:52:02 AM
geo32101: Try making a "temp" folder (no quotes) in the packages directory and chmodding it to 777

then try to re-install the arcade. See if that helps.
Title: Re: SMF Arcade
Post by: TrueSatan on December 23, 2007, 05:33:17 AM
Quote from: geo32101 on December 23, 2007, 12:22:55 AM
Quote from: TrueSatan on December 22, 2007, 07:20:29 PM
If you are using an SEO mod that may be causing the problem...try removing such mods.
Me?
What's a SEO Mod?

Search Engine Optimisation
Title: Re: SMF Arcade
Post by: tertunc on December 23, 2007, 04:25:55 PM
Server is hacked .............
Title: Re: SMF Arcade
Post by: rider on December 23, 2007, 04:34:31 PM
Quote from: Talha Ertunç on December 23, 2007, 04:25:55 PM
Server is hacked .............
What do you mean by this?
Title: Re: SMF Arcade
Post by: geo32101 on December 23, 2007, 05:33:41 PM
Quote from: Bigguy on December 23, 2007, 02:52:02 AM
geo32101: Try making a "temp" folder (no quotes) in the packages directory and chmodding it to 777

then try to re-install the arcade. See if that helps.
It doesnt let me make the folder.
Title: Re: SMF Arcade
Post by: TrueSatan on December 23, 2007, 06:19:48 PM
Quote from: geo32101 on December 23, 2007, 05:33:41 PM
Quote from: Bigguy on December 23, 2007, 02:52:02 AM
geo32101: Try making a "temp" folder (no quotes) in the packages directory and chmodding it to 777

then try to re-install the arcade. See if that helps.
It doesnt let me make the folder.

If your hosting won't allow you to create a new directory then you need to contact your host...they may have your file ownership set incorrectly.
Title: Re: SMF Arcade
Post by: geo32101 on December 23, 2007, 06:30:38 PM
Quote from: TrueSatan on December 23, 2007, 06:19:48 PM
Quote from: geo32101 on December 23, 2007, 05:33:41 PM
Quote from: Bigguy on December 23, 2007, 02:52:02 AM
geo32101: Try making a "temp" folder (no quotes) in the packages directory and chmodding it to 777

then try to re-install the arcade. See if that helps.
It doesnt let me make the folder.

If your hosting won't allow you to create a new directory then you need to contact your host...they may have your file ownership set incorrectly.
I can make folders,files, directories, and stuff but not that directory.
Title: Re: SMF Arcade
Post by: geo32101 on December 23, 2007, 06:33:54 PM
Quote from: geo32101 on December 23, 2007, 06:30:38 PM
Quote from: TrueSatan on December 23, 2007, 06:19:48 PM
Quote from: geo32101 on December 23, 2007, 05:33:41 PM
Quote from: Bigguy on December 23, 2007, 02:52:02 AM
geo32101: Try making a "temp" folder (no quotes) in the packages directory and chmodding it to 777

then try to re-install the arcade. See if that helps.
It doesnt let me make the folder.

If your hosting won't allow you to create a new directory then you need to contact your host...they may have your file ownership set incorrectly.
I can make folders,files, directories, and stuff but not that directory.
Never mind, I did it, now what?
Title: Re: SMF Arcade
Post by: TrueSatan on December 23, 2007, 07:26:48 PM
Go back to Bigguy's advice that you quoted above and try to re-install the arcade.
Title: Re: SMF Arcade
Post by: geo32101 on December 23, 2007, 08:05:03 PM
Quote from: TrueSatan on December 23, 2007, 07:26:48 PM
Go back to Bigguy's advice that you quoted above and try to re-install the arcade.
I tries to install it again, but it keeps telling me to fill out the FTP Thing, I do, and click proceed, but nothing happens.
Title: Re: SMF Arcade
Post by: peterpan72 on December 23, 2007, 08:10:34 PM
Ive installed the latest Mod from the Support site to my SMF 1.1.4 says everything is fine when I up loaded all the files, but there are no Tabs or options with Arcade on, can any1 help please
Title: Re: SMF Arcade
Post by: TrueSatan on December 23, 2007, 08:33:51 PM
Quote from: geo32101 on December 23, 2007, 08:05:03 PM
Quote from: TrueSatan on December 23, 2007, 07:26:48 PM
Go back to Bigguy's advice that you quoted above and try to re-install the arcade.
I tries to install it again, but it keeps telling me to fill out the FTP Thing, I do, and click proceed, but nothing happens.
You need to go to ACP>Packages>Options>Installation Options and set the fields according to your hosting details then on the same page go to Cleanup Permissions and select All files Writeable and run the cleanup...check via ftp that CHMOD of all your files is now 777 or 775 according to the peculiarities of your hosting and if not recheck the settings you made in Installation Options and run the cleanup again...continue as needed until you get the right settings.

The liklihood is that the details you gave the system for your ftp settings weren't correct...note it's the local path to SMF that you need to provide...this may take a form similar to:

/home/yourftpserver/yourftpaccount/yoursite.com/yourSMFdirectory

@ NoDrAmaUk

If you aren't using the SMF default theme you will need to manually install into your custom theme.
Title: Re: SMF Arcade
Post by: geo32101 on December 23, 2007, 08:49:05 PM
What do you mean by all my files?

Also I did it, but it tells me to fill out the FTP thing, and I do, but nothing happens again.
Title: Re: SMF Arcade
Post by: TrueSatan on December 24, 2007, 04:08:51 AM
The only time I mentioned anythign similar was as "All files Writeable" which is the setting you should select...and that "nothing happens" tells you that the ftp details you have entered aren't correct.
Title: Re: SMF Arcade
Post by: ne.miguelito on December 24, 2007, 02:24:52 PM
in Forum Error Log no cp they appear these errors:

http://ne-miguelito.freealoja.com/index.php?action=arcade

8: Undefined variable: last
Ficheiro: /home/nemigue/public_html/Themes/default/ArcadeMenu.template.php (main_above sub template - eval?)
Linha: 677



http://ne-miguelito.freealoja.com/index.php?action=arcade

8: Undefined variable: first
Ficheiro: /home/nemigue/public_html/Themes/default/ArcadeMenu.template.php (main_above sub template - eval?)
Linha: 674


how to solve this?
Title: Re: SMF Arcade
Post by: ne.miguelito on December 24, 2007, 03:16:47 PM
I already got to solve...
Title: Re: SMF Arcade
Post by: geo32101 on December 24, 2007, 06:05:16 PM
Quote from: TrueSatan on December 24, 2007, 04:08:51 AM
The only time I mentioned anythign similar was as "All files Writeable" which is the setting you should select...and that "nothing happens" tells you that the ftp details you have entered aren't correct.
Ok, I put all files writable, and did everything you told me, I also made sure everything was correct, but still nothing.
Title: Re: SMF Arcade
Post by: TrueSatan on December 24, 2007, 08:05:09 PM
So as per my post #3006 above:

Quotecheck via ftp that CHMOD of all your files is now 777 or 775 according to the peculiarities of your hosting

If, as you say, you've followed all the advice I gave you you will already have checked the above...are all your files CHMOD 777 or 775?

If your files are CHMOD 777 or 775  have you then, as per post #3003, tried to install the mod?
Title: Re: SMF Arcade
Post by: ne.miguelito on December 24, 2007, 08:43:00 PM
when I click in Statistics on arcade appears this error on  Forum Error Log:

http://ne-miguelito.freealoja.com/index.php?action=arcade;sa=stats
8: Undefined variable: where
Ficheiro: /home/nemigue/public_html/Sources/ArcadeStats.php
Linha: 233

my ArcadeStats.php

<?php
/*******************************************************************************
* SMF Arcade 2.0.8 (http://www.smfarcade.info)                                 *
* Copyright (C) 2004-2007  Niko Pahajoki (http://www.madjoki.com)              *
* This program is free software; you can redistribute it and/or modify         *
* it under the terms of the GNU General Public License as published by         *
* the Free Software Foundation; either version 2 of the License, or            *
* (at your option) any later version.                                          *
*                                                                              *
* This program is distributed in the hope that it will be useful,              *
* but WITHOUT ANY WARRANTY; without even the implied warranty of               *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                *
* GNU General Public License for more details.                                 *
*                                                                              *
* You should have received a copy of the GNU General Public License            *
* along with this program; if not, write to the Free Software                  *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
********************************************************************************
* ArcadeStats.php                                                              *
********************************************************************************/

if (!defined('SMF'))
die('Hacking attempt...');

/*
void ArcadeStats()
- ...

array ArcadeStats_BestPlayers([count = 10])
- ...

array ArcadeStats_LongestChampions([count = 10], [time])
- ...

array ArcadeStats_MostActive([count = 10], [time])
- ...

array ArcadeStats_MostPlayed([count = 10], [time])
- ...

array ArcadeStats_Rating([count = 10])
- ...

string format_time_ago(timestamp)
- Formats time to xxx ago

*/

function ArcadeStats()
{
global $txt$context;

$context['sub_template'] = 'arcade_statistics';
$context['page_title'] = $txt['arcade_stats_title'];

// Load data using functions
$context['arcade']['statistics']['play'] = ArcadeStats_MostPlayed();
$context['arcade']['statistics']['active'] = ArcadeStats_MostActive();
$context['arcade']['statistics']['rating'] = ArcadeStats_Rating();
$context['arcade']['statistics']['champions'] = ArcadeStats_BestPlayers();
$context['arcade']['statistics']['longest'] = ArcadeStats_LongestChampions();

}

function 
ArcadeStats_MostPlayed($count 10)
{
// Returns most playd games
global $db_prefix$scripturl;

$results db_query("
SELECT game.ID_GAME, game.gameName, game.gameRating, game.numPlays
FROM 
{$db_prefix}arcade_games AS game
ORDER BY game.numPlays DESC
LIMIT 0,
$count"__FILE____LINE__);

$top = array();
$max = -1;

while ($score mysql_fetch_assoc($results))
{
if ($max == -1)
$max $score['numPlays'];
if ($max == 0)
return false// No one has played games yet0

$top[] = array(
'id' => $score['ID_GAME'],
'name' => $score['gameName'],
'link' => '<a href="' $scripturl '?action=arcade;sa=play;game=' $score['ID_GAME'] . '">' .  $score['gameName'] . '</a>',
'rating' => $score['gameRating'],
'plays' => $score['numPlays'],
'precent' => ($score['numPlays'] / $max) * 100,
);
}

if (count($top) == 0)
return false;
elseif ($count 1)
return $top;
else
return $top[0];
}

function 
ArcadeStats_Rating($count 10)
{
global $db_prefix$scripturl;

$results db_query("
SELECT game.ID_GAME, game.gameName, game.gameRating, game.numPlays
FROM 
{$db_prefix}arcade_games AS game
WHERE gameRating > 0
ORDER BY game.gameRating DESC
LIMIT 0,
$count"__FILE____LINE__);

$top = array();
$max = -1;

while ($score mysql_fetch_assoc($results))
{
if ($max == -1)
$max $score['gameRating'];

$top[] = array(
'id' => $score['ID_GAME'],
'name' => $score['gameName'],
'link' => '<a href="' $scripturl '?action=arcade;sa=play;game=' $score['ID_GAME'] . '">' .  $score['gameName'] . '</a>',
'rating' => $score['gameRating'],
'plays' => $score['numPlays'],
'precent' => ($score['gameRating'] / $max) * 100,
);
}

if (count($top) == 0)
return false;
elseif ($count 1)
return $top;
else
return $top[0];
}

function 
ArcadeStats_BestPlayers($count 10)
{
// Returns best players by count of champions
global $db_prefix$scripturl$txt;

$results db_query("
SELECT count(*) AS champions, IFNULL(mem.ID_MEMBER, 0) AS ID_MEMBER, IFNULL(mem.realName, '') AS realName
FROM 
{$db_prefix}arcade_games AS game
LEFT JOIN 
{$db_prefix}members AS mem ON (mem.ID_MEMBER = game.ID_MEMBER_CHAMPION)
WHERE ID_CHAMPION_SCORE > 0
GROUP BY game.ID_MEMBER_CHAMPION
ORDER BY champions DESC
LIMIT 0,
$count"__FILE____LINE__);

$top = array();
$max = -1;

while ($score mysql_fetch_assoc($results))
{
if ($max == -1)
$max $score['champions'];

$top[] = array(
'name' => $score['realName'],
'link' => !empty($score['realName']) ? '<a href="' $scripturl '?action=profile;u=' $score['ID_MEMBER'] . '">' .  $score['realName'] . '</a>' $txt['arcade_guest'],
'champions' => $score['champions'],
'precent' => ($score['champions'] / $max) * 100,
);
}

if (count($top) == 0)
return false;
elseif ($count 1)
return $top;
else
return $top[0];
}

function 
ArcadeStats_MostActive($count 10$time = -1)
{
// Returns most active players
global $db_prefix$scripturl$txt;

$results db_query("
SELECT count(*) AS scores, IFNULL(mem.ID_MEMBER, 0) AS ID_MEMBER, IFNULL(mem.realName, '') AS realName
FROM 
{$db_prefix}arcade_scores AS score
LEFT JOIN 
{$db_prefix}members AS mem ON (mem.ID_MEMBER = score.ID_MEMBER)
GROUP BY score.ID_MEMBER
ORDER BY scores DESC
LIMIT 0,
$count"__FILE____LINE__);

$top = array();
$max = -1;

while ($score mysql_fetch_assoc($results))
{
if ($max == -1)
$max $score['scores'];

$top[] = array(
'name' => $score['realName'],
'link' => !empty($score['realName']) ? '<a href="' $scripturl '?action=profile;u=' $score['ID_MEMBER'] . '">' .  $score['realName'] . '</a>' $txt['arcade_guest'],
'scores' => $score['scores'],
'precent' => ($score['scores'] / $max) * 100,
);
}

if (count($top) == || $count == 1)
return false;
elseif ($count 1)
return $top;
else
return $top[0];
}

function 
ArcadeStats_LongestChampions($count 10$time = - 1)
{
global $db_prefix$scripturl$txt;

if ($time == 'current')
$where '
AND championTo = 0'
;
elseif ($time != -1)
$where "
AND championFrom > 
$time";

$results db_query("
SELECT game.ID_GAME, game.gameName,
IF(championFrom > 0, (IF(championTo = 0, UNIX_TIMESTAMP(), championTo) - championFrom), 0) AS championDuration,
IFNULL(mem.ID_MEMBER, 0) AS ID_MEMBER, IFNULL(mem.realName, '') AS realName, IF(championTo = 0, 1, 0) AS current
FROM (
{$db_prefix}arcade_scores AS score, {$db_prefix}arcade_games AS game)
LEFT JOIN 
{$db_prefix}members AS mem ON (mem.ID_MEMBER = score.ID_MEMBER)
WHERE game.ID_GAME = score.ID_GAME
{$where}
HAVING championDuration > 0
ORDER BY IF(championFrom > 0, (IF(championTo = 0, UNIX_TIMESTAMP(), championTo) - championFrom), 0) DESC
LIMIT 
$count"__FILE____LINE__);

$top = array();
$max = -1;

while ($score mysql_fetch_assoc($results))
{
if ($max == -1)
$max $score['championDuration'];

$top[] = array(
'game_name' => $score['gameName'],
'game_link' => '<a href="' $scripturl '?action=arcade;sa=play;game=' $score['ID_GAME'] . '">' .  $score['gameName'] . '</a>',
'member_name' => $score['realName'],
'member_link' => !empty($score['realName']) ? '<a href="' $scripturl '?action=profile;u=' $score['ID_MEMBER'] . '">' .  $score['realName'] . '</a>' $txt['arcade_guest'],
'duration' => format_time_ago($score['championDuration']),
'precent' => ($score['championDuration'] / $max) * 100,
'current' => $score['current'] == 1,
);
}

if (count($top) == 0)
return false;
elseif ($count 1)
return $top;
else
return $top[0];
}

function 
format_time_ago($timestamp)
{
global $txt;
// Returns formated string

$yksikot = array(
array(604800$txt['arcade_weeks']), // Seconds in week
array(86400$txt['arcade_days']), // Seconds in day
array(3600$txt['arcade_hours']), // Seconds in hour
array(60$txt['arcade_mins']), // Seconds in minute
);

if ($timestamp 60)
return $txt['arcade_under_minute_ago'];

$text '';

foreach( $yksikot as $t )
{
$tassa floor($timestamp $t[0]);

if ( $tassa )
{
$text .= $tassa ' '$t[1];
$text .= ' ';

$timestamp $timestamp - ($t[0] * $tassa);
}
}

return trim($text);

}
?>



somebody can help

please...
Title: Re: SMF Arcade
Post by: TrueSatan on December 24, 2007, 09:17:45 PM
Please upgrade your arcade to the latest version, 2.0.11, and then see if the problem persists...it may well have already been fixed in an earlier release after that which you have installed.
Title: Re: SMF Arcade
Post by: ne.miguelito on December 24, 2007, 09:34:46 PM
My version is 2.0.11,
Title: Re: SMF Arcade
Post by: TrueSatan on December 24, 2007, 11:21:36 PM
Sorry...the 3rd line of the php file you quoted misled me. If you switch to English language (not English utf8) do the errors persist? If they don't then the translation of the mod would appear to be at fault.
Title: Re: SMF Arcade
Post by: geo32101 on December 25, 2007, 04:18:11 AM
Quote from: TrueSatan on December 24, 2007, 08:05:09 PM
So as per my post #3006 above:

Quotecheck via ftp that CHMOD of all your files is now 777 or 775 according to the peculiarities of your hosting

If, as you say, you've followed all the advice I gave you you will already have checked the above...are all your files CHMOD 777 or 775?

If your files are CHMOD 777 or 775  have you then, as per post #3003, tried to install the mod?
I have also done that.
Title: Re: SMF Arcade
Post by: fwitt on December 25, 2007, 04:58:26 AM
ne.miguelito this issue has already been solved at http://www.smfarcade.info/index.php/topic,3383.0.html
Title: Re: SMF Arcade
Post by: ne.miguelito on December 25, 2007, 07:29:54 AM
thank you
Title: Re: SMF Arcade
Post by: Skhilled on December 29, 2007, 08:18:41 PM
Most of the errors and utf8 support has been added to version 2.0.12.

http://www.smfarcade.info/index.php/topic,3593.0.html
Title: Re: SMF Arcade
Post by: Ertado on December 30, 2007, 04:59:22 AM
I tried searching the forums for an answer to this problem with no success. When I am adding games to the arcade, I can only add them as disabled and then enable them individually. When I try to add them as enabled, I get this error:

No files selected!

I don't think it's practical to add large numbers of games without resolving this first so any help is appreciated.
Title: Re: SMF Arcade
Post by: rider on December 30, 2007, 09:16:21 AM
Quote from: Ertado on December 30, 2007, 04:59:22 AM
I tried searching the forums for an answer to this problem with no success. When I am adding games to the arcade, I can only add them as disabled and then enable them individually. When I try to add them as enabled, I get this error:

No files selected!

I don't think it's practical to add large numbers of games without resolving this first so any help is appreciated.
1st off How are you installing them?Try this,unzip the games you have and you'll see the games are in a double folder.Thats the problem the arcade reads the 1st folder and doesn't see the games in the original folder.Unzip the games then just highlight the games and re-zip just the games.Then try and install  the new zipfile.Should take care of the no files selected error.
Title: Re: SMF Arcade
Post by: Ertado on December 30, 2007, 04:45:22 PM
Well actually, I can't install from zip files on my server so I unzip them beforehand, upload them to the games directory then add them through the admin section. Is there a way to make the install as enabled thing work with them this way?
Title: Re: SMF Arcade
Post by: geo32101 on December 30, 2007, 09:01:36 PM
All my members cant seem to play, they say that it just tells them that there is o games.
Why?
But I could see them and play them.
Title: Re: SMF Arcade
Post by: Ertado on December 31, 2007, 03:08:48 AM
Check your permission settings.
Title: Re: SMF Arcade
Post by: TrueSatan on December 31, 2007, 04:46:37 AM
Both the general permission settings and the settings for each game need to be checked and made correct.
Title: Re: SMF Arcade
Post by: PETERVENNING on January 01, 2008, 01:07:07 AM
i HAVE INSTALLED THE ARCADE, BUT i GET THIS ERROR WHEN TRYING TO INSTALL GAMES.

Directory /web/gamemasterz.org/Games is not writeable and chmod didn't succeed. Please make it writeable manually.

iF ANYONE CAN HELP I WOULD APPRECIATE IT AS IM PRETTY TO ALL THIS STUFF.   THANKYOU
Title: Re: SMF Arcade
Post by: TrueSatan on January 01, 2008, 04:26:51 AM
Firstly please don't shout:

Quote
Online Manners - DON'T SHOUT
More internet etiquette tips: Whether you're sending emails, chatting online, or using an instant messenger, using ALLCAPS is referred to as "shouting." While it is permissible to occasionally use ALLCAPS to emphasize a point, people find entire sentences written in capitals hard to read. As a result "shouting" online is considered rude.

You need to go to ACP>Packages>Options>Installation Options and set the fields according to your hosting details then on the same page go to Cleanup Permissions and select All files Writeable and run the cleanup...check via ftp that CHMOD of all your files is now 777 or 775 according to the peculiarities of your hosting and if not recheck the settings you made in Installation Options and run the cleanup again...continue as needed until you get the right settings.
Title: Re: SMF Arcade
Post by: Ertado on January 01, 2008, 11:30:59 PM
Could someone try and fix my problem please? I'm killing myself adding games here.
Title: Re: SMF Arcade
Post by: Ertado on January 02, 2008, 01:10:15 AM
I did explain my problem.

QuoteWhen I am adding games to the arcade, I can only add them as disabled and then enable them individually. When I try to add them as enabled, I get this error:

No files selected!

I don't think it's practical to add large numbers of games without resolving this first so any help is appreciated.

QuoteWell actually, I can't install from zip files on my server so I unzip them beforehand, upload them to the games directory then add them through the admin section. Is there a way to make the install as enabled thing work with them this way?
Title: Re: SMF Arcade
Post by: TrueSatan on January 02, 2008, 04:39:11 AM
@Ertado

Your problem is an unusual one and thus people may be finding it difficult to suggest helpful actions for you to take.

I would suggest that you open a fresh/test forum and on it put only the Arcade mod then see if your problem continues in that...if it does than you have an issue with your hosting and there may be little we can do to help you save to suggest a change to a better host...if it does not then you may need to replace the files of your forum with fresh versions...to do this first back up all your forum files then get the latest SMF 1.1.4 package and unpack it on your local machine...from it overwrite all files and directories on your forum save for your Attachments directory and Settings.php and Settings_bak.php in your forum root...you will then need to re-add all edits, mods and themes you wish to use.
Title: Re: SMF Arcade
Post by: Ertado on January 02, 2008, 01:16:42 PM
That's pretty much out of the question, unfortunately. I have a lot of mods installed and I installed them manually because the package manager doesn't work with my host. Reinstalling everything would take weeks.

Could it be that the game installation script is looking for a zip file when I try to install as enabled  instead of a .swf and doesn't recognize the .swfs I select?
Title: Re: SMF Arcade
Post by: TrueSatan on January 02, 2008, 01:33:35 PM
Hmmm that you can't use the Package Manager speaks of problems that could well rear up in other forum issues.

Normally installing by ftp ing the unpacked games in place should work without a problem but in your case if the rest of the site has problems I can't be that surprised that you have this issue as well.
Title: Re: SMF Arcade
Post by: JungleFever on January 07, 2008, 02:39:51 PM
Ok, I have a good one for you very intelligent people.  :)

I am using a theme other than default.  Actually, this problem happens on the default too.  I checked it out. LOL

Just about everyone on the forum can see the games EXCEPT for 3 of my staff ranks. 

My sister is one of my admins so I even changed her rank to Global Mod and then she was able to see it.  She was able to see the Arcade games with every rank but Admin.  I'm putting a screenshot in this post so you can see the message these three staff ranks get when they go into Arcade.  Oh, and I do have the permissions set in the control panel.  And we checked this in IE & FF.

I thought maybe it was because of my theme I created so I switched to the Core theme and the problem still occurs.

I have no clue what is going on here.  Can someone please help me?

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi228.photobucket.com%2Falbums%2Fee309%2FPogoJungleFounder%2Fth_ArcadeError-1.png&hash=b179a22cc0c82a000cbbc7ed8a44461c679e1171) (http://i228.photobucket.com/albums/ee309/PogoJungleFounder/ArcadeError-1.png)
Title: Re: SMF Arcade
Post by: jathulan on January 07, 2008, 04:03:10 PM
I have the same error today. I don't know if it has something to do with the staff ranks, but it's been happening to a person on mine as well.
Title: Re: SMF Arcade
Post by: Skhilled on January 09, 2008, 07:33:43 AM
Try changing Categories to none in the settings. I'm assuming that you do not have usergroups enabled in the categories.
Title: Re: SMF Arcade
Post by: Ertado on January 11, 2008, 10:43:12 AM
Does anyone have a way of displaying a user's avatar next to their username in the "latest scores" section? I really need this. Preferably with adjustable size but it doesn't matter too much if you can't do that.
Title: Games work fine, but missing graphics on page
Post by: pythias on January 11, 2008, 05:33:13 PM
I am sure that this should be easy.......but I am sorta new to alot of this.  I installed Arcade and some games......everything works fine..........but I am missisng graphics for somebuttons I would guess.    http://mandaloriansmsd.com/forums/index.php/index.php?action=arcade

Seems the ones missing are"Random Game" "Add to favorites" and "Show Favorites Only" 

Would just look alot better if I could fix this......just not sure where to look or where to get em.   I am using TP if that makes a difference.  Any help is appreciated.

Also, maybe you could tell me how to bring up the Arcade by itself on a _blank vs being a part of the program the whole time......not that its a big deal.  But would be cool, and maybe a little bigger now being a part of the left block.
Title: Re: SMF Arcade
Post by: rider on January 11, 2008, 05:44:20 PM
Quote from: pythias on January 11, 2008, 05:33:13 PM
I am sure that this should be easy.......but I am sorta new to alot of this.  I installed Arcade and some games......everything works fine..........but I am missisng graphics for somebuttons I would guess.    http://mandaloriansmsd.com/forums/index.php/index.php?action=arcade

Seems the ones missing are"Random Game" "Add to favorites" and "Show Favorites Only" 

Would just look alot better if I could fix this......just not sure where to look or where to get em.   I am using TP if that makes a difference.  Any help is appreciated.

Also, maybe you could tell me how to bring up the Arcade by itself on a _blank vs being a part of the program the whole time......not that its a big deal.  But would be cool, and maybe a little bigger now being a part of the left block.
Ok try this.Unzip the arcade and open themes>default>images.Copy the gif images to your themes directory>your theme>images via your FTP and paste them there.That should take care of the images missing.What you can do since you're using TP is create a menu block and add a link to the arcade.When doing so you can choose to have the arcade open in a diff.window.Is that what you want to do?
Title: Re: SMF Arcade
Post by: fwitt on January 11, 2008, 05:45:24 PM
Quote from: Ertado on January 11, 2008, 10:43:12 AM
Does anyone have a way of displaying a user's avatar next to their username in the "latest scores" section? I really need this. Preferably with adjustable size but it doesn't matter too much if you can't do that.

the bit of code that does the contents of this box is in Arcade.template.php


foreach ($context['arcade']['latest_scores'] as $score) // Print out latest scores
  printf($txt['arcade_latest_score'], $scripturl . '?action=arcade;sa=play;game=' . $score['game_id'], $score['name'], $score['score'], $score['memberLink'], strip_tags($score['time']));


$score['memberlink'] is the reference to the champion and is of the form
<a href="http://yoursite/forum/index.php?action=profile;u=usernumber">username</a>
Title: Re: SMF Arcade
Post by: Ertado on January 11, 2008, 09:12:55 PM
Yes but how do I get the avatar to display?
Title: Re: SMF Arcade
Post by: SgtMic on January 12, 2008, 12:53:05 AM
Any fix on Admins not being able to see the games? If I log on as my test name (with no Admin) I can see and play the games just fine.
Title: Re: SMF Arcade
Post by: Ertado on January 12, 2008, 01:07:02 AM
You might not have installed it properly. Admins are always allowed to do everything.
Title: Re: SMF Arcade
Post by: rider on January 12, 2008, 02:45:00 AM
Quote from: SgtMic on January 12, 2008, 12:53:05 AM
Any fix on Admins not being able to see the games? If I log on as my test name (with no Admin) I can see and play the games just fine.
How was your forum installed?
Title: Re: SMF Arcade
Post by: Ertado on January 12, 2008, 08:51:07 PM
In addition to displaying the avatar at around 40x40 next to the username on the latest scores list, I'd also like to show the games in two columns. Does anyone know how?
Title: Re: SMF Arcade
Post by: SgtMic on January 13, 2008, 01:22:03 PM
Quote from: Ertado on January 12, 2008, 01:07:02 AM
You might not have installed it properly. Admins are always allowed to do everything.

When I installed it via package manager, it installed with no errors. When I installed the games, they installed with no errors. With that being the case, how would I tell if it did not install properly?


Quote from: rider on January 12, 2008, 02:45:00 AM
Quote from: SgtMic on January 12, 2008, 12:53:05 AM
Any fix on Admins not being able to see the games? If I log on as my test name (with no Admin) I can see and play the games just fine.
How was your forum installed?

Loaded the forum by ftp then used the install.php.
Title: Re: SMF Arcade
Post by: Ertado on January 14, 2008, 08:09:01 PM
I still need help with showing the avatar next to the username on the recent scores list and getting the games to display in two or more columns.
Title: Re: SMF Arcade
Post by: jonnysniper on January 15, 2008, 02:26:24 PM
I have a problem with the arcade,since december or so I havent been able to see the arcade,and I am an Admin,my fellow Admin can see it so I dont know what the problem is.Does anyone know how to solve this?
Title: Re: SMF Arcade
Post by: SgtMic on January 15, 2008, 02:34:27 PM
Quote from: jonnysniper on January 15, 2008, 02:26:24 PM
I have a problem with the arcade,since december or so I havent been able to see the arcade,and I am an Admin,my fellow Admin can see it so I dont know what the problem is.Does anyone know how to solve this?

Sounds like a common problem that a few of us are having. So far no one has a solution.
Title: Re: SMF Arcade
Post by: rider on January 15, 2008, 02:39:54 PM
Are you original admins or was a group created?The reason I ask is if this is a group created then your permissions might not be set right..
Title: Re: SMF Arcade
Post by: jonnysniper on January 15, 2008, 02:44:52 PM
Quote from: rider on January 15, 2008, 02:39:54 PM
Are you original admins or was a group created?The reason I ask is if this is a group created then your permissions might not be set right..

I am not an original Admin,the Admin created a group(Admin) and he has given us all the permissions,I have asked him about the permissions and he said I have the same as him.
Title: Re: SMF Arcade
Post by: rider on January 15, 2008, 02:52:26 PM
If the group was created then the arcade settings permissions should be looked at.Look at the arcade settings and see what the permissions are set for.As an ex.If the usergroup was added after the install of the arcade and the permissions are set for say categories.Then the gruop added would have to be checked off for each categoriy to able to see the games.
Title: Re: SMF Arcade
Post by: jonnysniper on January 15, 2008, 02:56:36 PM
The arcade was installed after the group(admin) was created.In the beggining before I was an Admin,I had no problems,but since I became one,I just cant seem to see them.
Title: Re: SMF Arcade
Post by: rider on January 15, 2008, 03:07:46 PM
Can you check the permissions for the arcade and the created group yourself and see what it says?
Title: Re: SMF Arcade
Post by: SgtMic on January 15, 2008, 03:09:34 PM
I am the original Admin set up when the forum was installed.
Title: Re: SMF Arcade
Post by: jonnysniper on January 15, 2008, 03:11:00 PM
Quote from: rider on January 15, 2008, 03:07:46 PM
Can you check the permissions for the arcade and the created group yourself and see what it says?

Now thats a problem right there,for someone unknown reason I cant see the Permission Board on the Admin Center(but I can on server 4 of smf)

Here is a screenshot:

http://i18.tinypic.com/72gg87c.jpg
Title: Re: SMF Arcade
Post by: rider on January 15, 2008, 03:15:31 PM
Quote from: SgtMic on January 12, 2008, 12:53:05 AM
Any fix on Admins not being able to see the games? If I log on as my test name (with no Admin) I can see and play the games just fine.
See if it works if you switch your test account to admin.Sounds like you installed the forum ok.I know of one instance when this happened but the person's host install the forum for them and they couldn't see the arcade or any other mod.They ended up having to redo their forum.
Title: Re: SMF Arcade
Post by: rider on January 15, 2008, 03:26:18 PM
Quote from: jonnysniper on January 15, 2008, 03:11:00 PM
Quote from: rider on January 15, 2008, 03:07:46 PM
Can you check the permissions for the arcade and the created group yourself and see what it says?

Now thats a problem right there,for someone unknown reason I cant see the Permission Board on the Admin Center(but I can on server 4 of smf)

Here is a screenshot:

http://i18.tinypic.com/72gg87c.jpg
K I'm not sure what you mean by seeing them on server4 but from the screen shot I see no permissions settings at all.for the permissions you see on server4 what do they have for your admingroup?
Title: Re: SMF Arcade
Post by: jonnysniper on January 15, 2008, 03:29:09 PM
Quote from: rider on January 15, 2008, 03:26:18 PMK I'm not sure what you mean by seeing them on server4 but from the screen shot I see no permissions settings at all.for the permissions you see on server4 what do they have for your admingroup?

On another forum on server 4 I have no problems,only on server 3 of smf.The screenshot is from server 3,I cant see permissions,is that suppose to happen?
Title: Re: SMF Arcade
Post by: rider on January 15, 2008, 03:33:05 PM
Well if you had all the same permissions as the original admin then you should be able to see everything in the left side of the admin panel.So I think your admin needs to look at the permissions for the group he created and see if he has checked off the arcade permissions.
Title: Re: SMF Arcade
Post by: jonnysniper on January 15, 2008, 03:35:22 PM
He says I have the same permissions as him,so I dont know whats wrong
Title: Re: SMF Arcade
Post by: rider on January 15, 2008, 03:37:59 PM
Is there any chance you can set it up for me to have a look?I've been doing support for the arcade for a long time and I'm an admin at smfarcade.info if you need references. :D
Title: Re: SMF Arcade
Post by: jonnysniper on January 15, 2008, 03:45:42 PM
Quote from: rider on January 15, 2008, 03:37:59 PM
Is there any chance you can set it up for me to have a look?I've been doing support for the arcade for a long time and I'm an admin at smfarcade.info if you need references. :D

Ok,just tell me what you want me to do.
Title: Re: SMF Arcade
Post by: rider on January 15, 2008, 03:54:07 PM
Actully the original admin would have to change my permissions.I'll need to registser 1st and then he'd have to give me full access.I'll need to have access to the permissions and arcade settings to see what gong on.
Can you post a link to your site?
Title: Re: SMF Arcade
Post by: jonnysniper on January 15, 2008, 03:56:46 PM
Nevermind,problem solved.It seems he didnt checked all the boxes,so I couldnt see the arcade but now everything is ok.Sorry for the trouble.

Thanx ;D
Title: Re: SMF Arcade
Post by: rider on January 15, 2008, 03:59:21 PM
Quote from: jonnysniper on January 15, 2008, 03:56:46 PM
Nevermind,problem solved.It seems he didnt checked all the boxes,so I couldnt see the arcade but now everything is ok.Sorry for the trouble.

Thanx ;D
No trouble at all.Glad you got it sorted out.
Title: Re: SMF Arcade
Post by: LostProphecy on January 16, 2008, 12:21:14 AM
Only just installed this mod and it looks like its' going to be a good one,

only problem....

i don't have any games and it gives no instructions as to how to get games??

can anyone help me? i don't exactly feel like trawing through 154 pages to find the answer
Title: Re: SMF Arcade
Post by: rider on January 16, 2008, 12:54:35 AM
Quote from: LostProphecy on January 16, 2008, 12:21:14 AM
Only just installed this mod and it looks like its' going to be a good one,

only problem....

i don't have any games and it gives no instructions as to how to get games??

can anyone help me? i don't exactly feel like trawing through 154 pages to find the answer
click on the link in my sig.It will take you to smfarcade.Click on the downloads and get the games from there.
Title: Re: SMF Arcade
Post by: Ertado on January 16, 2008, 09:59:12 PM
So nobody knows how to add avatars next to usernames or display games in more than one column?
Title: Re: SMF Arcade
Post by: SgtMic on January 17, 2008, 01:31:49 AM
What is the problem if some games you can play (because the screen actually shows up) and other games that don't show up? Out of 10 gamepacks, I can only play/ see 2 games out of gamepack 13. 
Title: Re: SMF Arcade
Post by: rider on January 17, 2008, 01:41:27 AM
Quote from: SgtMic on January 17, 2008, 01:31:49 AM
What is the problem if some games you can play (because the screen actually shows up) and other games that don't show up? Out of 10 gamepacks, I can only play/ see 2 games out of gamepack 13. 
Take a look at the name of the game in admin>games>click on a game and look at the game info and see if theres a .swf at the end of the name.If there is it sounds like the games didn't install correctly.
Title: Re: SMF Arcade
Post by: SgtMic on January 17, 2008, 01:51:45 AM
Here is an error I found in the forum logs:

http://usmc-warriors.org/forum/index.php?action=managegames;sa=install

Apply Filter: Only show the errors with the same message
8: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: The image is a compressed SWF file, but you do not have a static version of the zlib extension enabled.
File: /home/usmcwarr/public_html/forum/Sources/ManageGames.php
Line: 816
Title: Re: SMF Arcade
Post by: SgtMic on January 17, 2008, 01:52:47 AM
Quote from: rider on January 17, 2008, 01:41:27 AM
Quote from: SgtMic on January 17, 2008, 01:31:49 AM
What is the problem if some games you can play (because the screen actually shows up) and other games that don't show up? Out of 10 gamepacks, I can only play/ see 2 games out of gamepack 13. 
Take a look at the name of the game in admin>games>click on a game and look at the game info and see if theres a .swf at the end of the name.If there is it sounds like the games didn't install correctly.

Almost all of the games are .swf
Title: Re: SMF Arcade
Post by: fwitt on January 17, 2008, 03:02:27 PM
look in the Games folder on your server (using ftp or CPanel)
are the games that dont work in zips but not loose.

one possibility is that your server doesnt support using files from within zips.

if this is the case unzipping them and pointing the games settings to the unzipped version should fix the problem.
Title: Re: SMF Arcade
Post by: SgtMic on January 17, 2008, 06:44:04 PM
I have the zip files as well as folders that have corresponding numbers.
Title: Re: SMF Arcade
Post by: SgtMic on January 19, 2008, 12:51:04 AM
Found the answer. It has everything to do with my host.

Hello,

Thank you for the update.

The issue is caused because the games you have installed require zlib to be compiled as "--enable-static=zlib". Unfortunately this is not available on our Shared Linux hosting servers.

If you would like to have custom php support compiled for your account(s) we may offer you VPS and Dedicated Servers upgrades as possible solution. These server will offer your dedicated resources for your website and also the option for custom settings.

Note that we cannot recompile the php on this server because it will effect all the accounts on the server which we cannot allow. The new settings may cause large number of the websites on this server to malfunctions.

Also you may contact the developers of the application you are using and to ask them to recreate it for your website.

If you have any other questions or comments please do not hesitate to contact us.

Title: Re: SMF Arcade
Post by: DrizzetPheonix on January 19, 2008, 08:40:22 PM
Um .... I can't seem to download it .... just comes up with blank page and does not do anything when I use the version on this site... is there another source. This confuses me because other downloads are working.
Title: Re: SMF Arcade
Post by: rider on January 19, 2008, 08:56:48 PM
Quote from: SgtMic on January 19, 2008, 12:51:04 AM
Found the answer. It has everything to do with my host.

Hello,

Thank you for the update.

The issue is caused because the games you have installed require zlib to be compiled as "--enable-static=zlib". Unfortunately this is not available on our Shared Linux hosting servers.

If you would like to have custom php support compiled for your account(s) we may offer you VPS and Dedicated Servers upgrades as possible solution. These server will offer your dedicated resources for your website and also the option for custom settings.

Note that we cannot recompile the php on this server because it will effect all the accounts on the server which we cannot allow. The new settings may cause large number of the websites on this server to malfunctions.

Also you may contact the developers of the application you are using and to ask them to recreate it for your website.

If you have any other questions or comments please do not hesitate to contact us.


What can you do about it?Find another host maybe
Title: Re: SMF Arcade
Post by: rider on January 19, 2008, 08:57:49 PM
Quote from: DrizzetPheonix on January 19, 2008, 08:40:22 PM
Um .... I can't seem to download it .... just comes up with blank page and does not do anything when I use the version on this site... is there another source. This confuses me because other downloads are working.
Click my sig and download it from there.Thats the official support forum for the arcade.
Title: Re: SMF Arcade
Post by: SgtMic on January 20, 2008, 01:34:30 AM
Quote from: DrizzetPheonix on January 19, 2008, 08:40:22 PM
Um .... I can't seem to download it .... just comes up with blank page and does not do anything when I use the version on this site... is there another source. This confuses me because other downloads are working.

Not uncommon right now sine the crash.


Rider, Either I can find another host, get a vps or a dedicated server. At least now I/ we know what the problem was.
Title: Re: SMF Arcade
Post by: rider on January 20, 2008, 01:46:14 AM
Quote from: SgtMic on January 20, 2008, 01:34:30 AM
Quote from: DrizzetPheonix on January 19, 2008, 08:40:22 PM
Um .... I can't seem to download it .... just comes up with blank page and does not do anything when I use the version on this site... is there another source. This confuses me because other downloads are working.

Not uncommon right now sine the crash.


Rider, Either I can find another host, get a vps or a dedicated server. At least now I/ we know what the problem was.
Probaly cheaper to find another host.Not sure on the cost of vps but dedicated servers can be costly.Sorry I couldn't help but let us know how you make out.
Title: Re: SMF Arcade
Post by: SgtMic on January 20, 2008, 02:03:59 AM
I saw a few other replies in this thread with the same problem. Maybe they can get contact their hosts and see if they can help.

I do have arcade installed on another forum (a dedicated server) and it is a hit. The members spend enormous amounts of time playing.
Title: Re: SMF Arcade
Post by: Skhilled on January 20, 2008, 07:12:00 AM
Quote from: SgtMic on January 19, 2008, 12:51:04 AM
Found the answer. It has everything to do with my host.

Hello,

Thank you for the update.

The issue is caused because the games you have installed require zlib to be compiled as "--enable-static=zlib". Unfortunately this is not available on our Shared Linux hosting servers.

If you would like to have custom php support compiled for your account(s) we may offer you VPS and Dedicated Servers upgrades as possible solution. These server will offer your dedicated resources for your website and also the option for custom settings.

Note that we cannot recompile the php on this server because it will effect all the accounts on the server which we cannot allow. The new settings may cause large number of the websites on this server to malfunctions.

Also you may contact the developers of the application you are using and to ask them to recreate it for your website.

If you have any other questions or comments please do not hesitate to contact us.


You do not need vps or dedicated to run the arcade. 1000's of users run the arcade with shared (including myself) with no problems. Here is the zlib site: http://www.zlib.net/ (http://www.zlib.net/)

Your host does not want to install zlib for some reason or another. This will also cause problems with other mods that are compressed. I'd ask why they do not wish to do this install another library that will use compressed files which are very common for websites.
Title: Re: SMF Arcade
Post by: SgtMic on January 20, 2008, 01:00:46 PM
Quote from: Skhilled on January 20, 2008, 07:12:00 AM
You do not need vps or dedicated to run the arcade. 1000's of users run the arcade with shared (including myself) with no problems. Here is the zlib site: http://www.zlib.net/ (http://www.zlib.net/)

Your host does not want to install zlib for some reason or another. This will also cause problems with other mods that are compressed. I'd ask why they do not wish to do this install another library that will use compressed files which are very common for websites.


I realize I don't need those options to run the Arcade. It is just my host won't run zlib because of this:

Note that we cannot recompile the php on this server because it will effect all the accounts on the server which we cannot allow. The new settings may cause large number of the websites on this server to malfunctions.
Title: Re: SMF Arcade
Post by: rider on January 20, 2008, 01:17:12 PM
QuoteNote that we cannot recompile the php on this server because it will effect all the accounts on the server which we cannot allow. The new settings may cause large number of the websites on this server to malfunctions.
can you unzip the games put them in the games directory unzipped?
Title: Re: SMF Arcade
Post by: SgtMic on January 20, 2008, 02:20:07 PM
I can do that via ftp.
Title: Re: SMF Arcade
Post by: clanny on January 23, 2008, 12:55:29 AM
After i download the aracade file it says the file has been currupted so i can't open it.
Do you know why? or can i get the working arcade file from someone emailed to [email protected]

Thanks.
Title: Re: SMF Arcade
Post by: rider on January 23, 2008, 01:04:44 AM
Quote from: clanny on January 23, 2008, 12:55:29 AM
After i download the aracade file it says the file has been currupted so i can't open it.
Do you know why? or can i get the working arcade file from someone emailed to [email protected]

Thanks.
Click the link in my sig and d/l a copy from there and try it.
Title: Re: SMF Arcade
Post by: clanny on January 23, 2008, 10:00:11 AM
Quote from: rider on January 23, 2008, 01:04:44 AM
Quote from: clanny on January 23, 2008, 12:55:29 AM
After i download the aracade file it says the file has been currupted so i can't open it.
Do you know why? or can i get the working arcade file from someone emailed to [email protected]

Thanks.
Click the link in my sig and d/l a copy from there and try it.


Hello,
Thanks yeah, but it says

SMFArcade 1.3.2
106 Kb
This version is 1.3.1 just updated to work with SMF 1.1 and 1.1.1. This is Niko's last 1.x version.

This only works for sm f1.1 and 1.1.1 and thats the only version created by niko in there.
Don't look like there any arcade mod for 1.1.4
Title: Re: SMF Arcade
Post by: rider on January 23, 2008, 10:31:34 AM
Quote from: clanny on January 23, 2008, 10:00:11 AM
Quote from: rider on January 23, 2008, 01:04:44 AM
Quote from: clanny on January 23, 2008, 12:55:29 AM
After i download the aracade file it says the file has been currupted so i can't open it.
Do you know why? or can i get the working arcade file from someone emailed to [email protected]

Thanks.
Click the link in my sig and d/l a copy from there and try it.


Hello,
Thanks yeah, but it says

SMFArcade 1.3.2
106 Kb
This version is 1.3.1 just updated to work with SMF 1.1 and 1.1.1. This is Niko's last 1.x version.

This only works for sm f1.1 and 1.1.1 and thats the only version created by niko in there.
Don't look like there any arcade mod for 1.1.4
You just didn't bother to look did you.If you had looked at SMFArcade 2.0 in the downloads you would have found this.http://www.smfarcade.info/index.php?action=tpmod;dl=item141
Title: Re: SMF Arcade
Post by: clanny on January 23, 2008, 10:47:17 AM
Hello,
Oh i just figure out that I couldn't see what you told me to do in guest. All this time i saw it in guest until the link you just gave me above said i can't view it so i register and i click on "downloads" it shows stuff.

Thanks so the newest version for 1.1.4 is 2.0.12 instead of 2.0.11 which is in the simplemachines.org modfication system at http://custom.simplemachines.org/mods/index.php?mod=36
Title: Re: SMF Arcade
Post by: rider on January 23, 2008, 11:12:24 AM
Quote from: clanny on January 23, 2008, 10:47:17 AM
Hello,
Oh i just figure out that I couldn't see what you told me to do in guest. All this time i saw it in guest until the link you just gave me above said i can't view it so i register and i click on "downloads" it shows stuff.

Thanks so the newest version for 1.1.4 is 2.0.12 instead of 2.0.11 which is in the simplemachines.org modfication system at http://custom.simplemachines.org/mods/index.php?mod=36
The mod version here needs to be updated.So you know incase you have any trouble.the site I sent you too is the offical support site for the arcade.There you can get games for it and all the support you'll need.Sorry if I came across as rude.I got my coffee now so I'm better.lol.
Title: Re: SMF Arcade
Post by: clanny on January 23, 2008, 11:18:24 AM
Oh nono.
Wasn't rude at all, you helped me, i should thank you so much for that lol.

So when i installed the arcade mod it doesn't have any default games or anything at 1st i need to install them at the offical arcade site for them right? are the games hard to install , its like a mod too right?
Title: Re: SMF Arcade
Post by: SgtMic on January 23, 2008, 11:27:18 AM
Rider, is there a way to turn off the messaging when your high score gets beat by someone else?
Title: Re: SMF Arcade
Post by: rider on January 23, 2008, 11:33:22 AM
Quote from: SgtMic on January 23, 2008, 11:27:18 AM
Rider, is there a way to turn off the messaging when your high score gets beat by someone else?
Yes there is.Profile>personal messages option>uncheck the box pretaining to Send a PM when your highscore is beaten?
Title: Re: SMF Arcade
Post by: rider on January 23, 2008, 11:36:08 AM
Quote from: clanny on January 23, 2008, 11:18:24 AM
Oh nono.
Wasn't rude at all, you helped me, i should thank you so much for that lol.

So when i installed the arcade mod it doesn't have any default games or anything at 1st i need to install them at the offical arcade site for them right? are the games hard to install , its like a mod too right?
No.Download the gamepacks from smfarcade to your pc.Then goto admin>games.install and use the zipfile upload option.Another way to install the games is to upload the gamepacks directly to your games directory via FTP or Cpanel.
Title: Re: SMF Arcade
Post by: clanny on January 23, 2008, 11:47:48 AM
The 1st way to install the game

Download the gamepacks from smfarcade to your pc.Then goto admin>games.install and use the zipfile upload


I don't need to edit any of the files or parser any of them right? since its game file, and its for my custom theme


Title: Re: SMF Arcade
Post by: SgtMic on January 23, 2008, 11:56:12 AM
Quote from: rider on January 23, 2008, 11:33:22 AM
Quote from: SgtMic on January 23, 2008, 11:27:18 AM
Rider, is there a way to turn off the messaging when your high score gets beat by someone else?
Yes there is.Profile>personal messages option>uncheck the box pretaining to Send a PM when your highscore is beaten?


Don't have that option. I'm using Version 2.0.11
Title: Re: SMF Arcade
Post by: rider on January 23, 2008, 12:16:38 PM
Quote from: clanny on January 23, 2008, 11:47:48 AM
The 1st way to install the game

Download the gamepacks from smfarcade to your pc.Then goto admin>games.install and use the zipfile upload


I don't need to edit any of the files or parser any of them right? since its game file, and its for my custom theme



There's no need to edit anything when installing that games.It doesn't matter what theme you use when installing games that only makes a difference whn installing mods.Then you should be using the default theme for that.
Title: Re: SMF Arcade
Post by: rider on January 23, 2008, 12:18:49 PM
Quote from: SgtMic on January 23, 2008, 11:56:12 AM
Quote from: rider on January 23, 2008, 11:33:22 AM
Quote from: SgtMic on January 23, 2008, 11:27:18 AM
Rider, is there a way to turn off the messaging when your high score gets beat by someone else?
Yes there is.Profile>personal messages option>uncheck the box pretaining to Send a PM when your highscore is beaten?


Don't have that option. I'm using Version 2.0.11
That option is with every version.Another place you can look is in admin>arcade settings and see if the option to enable pms is there.Can you post a link to your site.I know you've had some problems so its time to fix them.
Title: Re: SMF Arcade
Post by: SgtMic on January 23, 2008, 02:34:21 PM
Checked there also. No go.

http://www.thesquadbay.com/forums/index.php

Check your PM for user and pass. This is a closed forum.
Title: Re: SMF Arcade
Post by: clanny on January 23, 2008, 05:17:01 PM
Hello,
i have installed the smf arcade mod 2.0.12 into my 1.1.4 smf forum , everything is working but not showing in the menu.
its showing in my default theme but not in my custom theme and i edited these files below in my custom theme.

can anyone help?


I've edited

$themes_dir/default/index.template.php
$themes_dir/default/languages/Modifications.english.php
$themes_dir/default/languages/Modifications.english-utf8.php
Title: Re: SMF Arcade
Post by: Oldiesmann on January 23, 2008, 05:20:25 PM
if($context['allow_arcade'])
echo ($current_action=='arcade' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'arcade' ? 'current' : '' , '"><a href="', $scripturl, '?action=arcade">Arcade</a></li>';
Title: Re: SMF Arcade
Post by: rider on January 23, 2008, 05:21:53 PM
Quote from: clanny on January 23, 2008, 05:17:01 PM
Hello,
i have installed the smf arcade mod 2.0.12 into my 1.1.4 smf forum , everything is working but not showing in the menu.
its showing in my default theme but not in my custom theme and i edited these files below in my custom theme.

can anyone help?


I've edited

$themes_dir/default/index.template.php
$themes_dir/default/languages/Modifications.english.php
$themes_dir/default/languages/Modifications.english-utf8.php
you would have to edit the files for your cutom theme and not the files for the default theme.It should look something like this.themes>your theme>index.template.php and so on for the other files you've listed.
Title: Re: SMF Arcade
Post by: clanny on January 23, 2008, 05:42:54 PM
Oldiesmann 
has fixed it for me.

THanks so much

but i have a question.

In the admin aracade area it says "latest news" but its all white black unless i highlight it than it will show the news from the arcade admin. Are other people like this or only me?
Title: Re: SMF Arcade
Post by: clanny on January 24, 2008, 08:51:10 AM
Also i found out that when i highlighted the news it says "Unable to connect to SMFArcade.info, for latest news visit site."

Also i need help , look at http://www.titaniumwg.com/index.php?action=arcade and look at  http://easyfreezone.com/forum/index.php?action=arcade

how do i make the  "Random game Show favorites only" into a image icon like the url above?
Title: Re: SMF Arcade
Post by: crustybum on January 24, 2008, 11:42:01 AM
Hi

Have problems installing SMF_Arcade_2.0.12 on my new forum 1.1.4 via package manager, this is the error, can anyone help?

(attached)

Many thanks

Chris
Title: Re: SMF Arcade
Post by: rider on January 24, 2008, 12:00:21 PM
Quote from: crustybum on January 24, 2008, 11:42:01 AM
Hi

Have problems installing SMF_Arcade_2.0.12 on my new forum 1.1.4 via package manager, this is the error, can anyone help?

(attached)

Many thanks

Chris
You can go ahead with the install.Then index.template is just write the arcade button code.For the mod.eng-utf8 error that just means the file is not there.If you want go to smfarcade and d/l another copy of the arcade.I believe that has been fixed.Also best to install using the default theme.
Title: Re: SMF Arcade
Post by: crustybum on January 24, 2008, 12:03:18 PM
Many thanks for your quick responce, do i need mod.eng-uft8?

Chris
Title: Re: SMF Arcade
Post by: rider on January 24, 2008, 12:12:10 PM
Only if your forum is set to use utf8.
Title: Re: SMF Arcade
Post by: clanny on January 24, 2008, 06:41:16 PM
Hello,
crustybum  can you do me a favor or anyone who have this mod installed, when you go to the arcade admin area look in the news and hightlight it with your mouse do you see "Unable to connect to SMFArcade.info, for latest news visit site."

Because im seeing it.
Title: Re: SMF Arcade
Post by: rider on January 24, 2008, 07:11:42 PM
Quote from: clanny on January 24, 2008, 06:41:16 PM
Hello,
crustybum  can you do me a favor or anyone who have this mod installed, when you go to the arcade admin area look in the news and hightlight it with your mouse do you see "Unable to connect to SMFArcade.info, for latest news visit site."

Because im seeing it.

pretty sure that just means your server isn't connecting to smfarcade's server.Not a big deal.It won't affect how the arcade runs.
Title: Re: SMF Arcade
Post by: clanny on January 24, 2008, 07:12:57 PM
Is it because my server is down or slow makes this happening?

Also i need help , look at http://www.titaniumwg.com/index.php?action=arcade and look at  http://easyfreezone.com/forum/index.php?action=arcade

how do i make the  "Random game Show favorites only" into a image icon like the url above?
Title: Re: SMF Arcade
Post by: rider on January 24, 2008, 07:18:52 PM
Quote from: clanny on January 24, 2008, 07:12:57 PM
Is it because my server is down or slow makes this happening?

Also i need help , look at http://www.titaniumwg.com/index.php?action=arcade and look at  http://easyfreezone.com/forum/index.php?action=arcade

how do i make the  "Random game Show favorites only" into a image icon like the url above?

Just a server glitch most likely.
Title: Re: SMF Arcade
Post by: rider on January 24, 2008, 07:22:13 PM
Quote from: clanny on January 24, 2008, 07:12:57 PM
Is it because my server is down or slow makes this happening?

Also i need help , look at http://www.titaniumwg.com/index.php?action=arcade and look at  http://easyfreezone.com/forum/index.php?action=arcade

how do i make the  "Random game Show favorites only" into a image icon like the url above?

I got page cannot be displayed for easyfreezone.I'm not sure what you mean about the images.Do you mean the one site is missing the arcade images?
Title: Re: SMF Arcade
Post by: clanny on January 24, 2008, 07:28:49 PM
Yeah sorry my site easyfreezone is done right now.
But here
Look at http://www.titaniumwg.com/index.php?action=arcade

Look in the middle right side do you see an icon or image or picture for "random icon" and "favorites"

In my easyfreezone site it show the text random icon and favorites how do i make it like that site so it can show banner, it isn't in the arcade mod. Did they custom uploaded their own or what? also even if i found it how do i add it in there so it will show .
Title: Re: SMF Arcade
Post by: rider on January 24, 2008, 07:50:30 PM
Quote from: clanny on January 24, 2008, 07:28:49 PM
Yeah sorry my site easyfreezone is done right now.
But here
Look at http://www.titaniumwg.com/index.php?action=arcade

Look in the middle right side do you see an icon or image or picture for "random icon" and "favorites"

In my easyfreezone site it show the text random icon and favorites how do i make it like that site so it can show banner, it isn't in the arcade mod. Did they custom uploaded their own or what? also even if i found it how do i add it in there so it will show .
Quote from: clanny on January 24, 2008, 07:28:49 PM
Yeah sorry my site easyfreezone is done right now.
But here
Look at http://www.titaniumwg.com/index.php?action=arcade

Look in the middle right side do you see an icon or image or picture for "random icon" and "favorites"

In my easyfreezone site it show the text random icon and favorites how do i make it like that site so it can show banner, it isn't in the arcade mod. Did they custom uploaded their own or what? also even if i found it how do i add it in there so it will show .
Ok I think its a diff type of theme .Some themes are made with text and others are done with images.I could be wrong.you can check the how to docs here.Theres one there to help make theme changes.
Title: Re: SMF Arcade
Post by: clanny on January 24, 2008, 10:04:45 PM
Oh ok.
How about the "Unable to connect to SMFArcade.info news" is it because of my host connection speed or the modification problems. Because i need them to show in case of new arcade updates.
Title: Re: SMF Arcade
Post by: crustybum on January 25, 2008, 11:53:36 AM
Does anyone know of a good smf arcade poker game to download that a few memebrs can all play at the same time (in the same room type thing) is there such a thing?

Chris
Title: Re: SMF Arcade
Post by: fwitt on January 25, 2008, 01:05:03 PM
Quote from: crustybum on January 25, 2008, 11:53:36 AM
Does anyone know of a good smf arcade poker game to download that a few memebrs can all play at the same time (in the same room type thing) is there such a thing?

Chris

there arnt any multiplayer games that work with smf arcade.

i cant see this changing in the recent future.
Title: Re: SMF Arcade
Post by: crustybum on January 26, 2008, 03:57:38 PM
Shame ::)
Title: Re: SMF Arcade
Post by: Lisah746 on January 30, 2008, 04:45:32 PM
I just installed the new arcade 2.0.12. Whenever someone tries to submit a score they get a blank white page. It gets stuck on the newscore.php. I have tried uploading that file several times and even downloaded the zip file for the arcade and unzipping the newscore file and upload it. However I am still getting the blank white screen.

I am running smf 1.1.4 with utf-8
Title: Re: SMF Arcade
Post by: rider on January 30, 2008, 05:44:02 PM
Quote from: Lisah746 on January 30, 2008, 04:45:32 PM
I just installed the new arcade 2.0.12. Whenever someone tries to submit a score they get a blank white page. It gets stuck on the newscore.php. I have tried uploading that file several times and even downloaded the zip file for the arcade and unzipping the newscore file and upload it. However I am still getting the blank white screen.

I am running smf 1.1.4 with utf-8
try switching your fourm default langauge from -utf8 to just english.php and see if that helps.Alos since you're using -utf8 can you see the admin settings for the arcade?
Title: Re: SMF Arcade
Post by: Lisah746 on January 30, 2008, 06:41:18 PM
It seems to be working fine in the default theme. Should I use the parser to figure out the problem. It is giving me the blank white screen in a custom theme.
Title: Re: SMF Arcade
Post by: Ertado on January 30, 2008, 09:46:40 PM
Still needing help with that multiple column thing...
Title: Re: SMF Arcade
Post by: niko on February 02, 2008, 05:56:02 PM
Quote from: crustybum on January 24, 2008, 11:42:01 AM
Hi

Have problems installing SMF_Arcade_2.0.12 on my new forum 1.1.4 via package manager, this is the error, can anyone help?

(attached)

Many thanks

Chris

index.template.php is conflict with another mod. utf8 error is because it was missing error="ignore" on xml file. It should work as long as you make edits on index.template.php manually
Title: Re: SMF Arcade
Post by: Fustrate on February 02, 2008, 07:45:31 PM
Search tool won't let me search for this, so I'm sorry if this has been asked before...

any chance of this getting updated for 2.0? Just relaying the question from my forum's members ;)
Title: Re: SMF Arcade
Post by: Skhilled on February 03, 2008, 06:17:58 AM
Quote from: Lisah746 on January 30, 2008, 06:41:18 PM
It seems to be working fine in the default theme. Should I use the parser to figure out the problem. It is giving me the blank white screen in a custom theme.
As said many times, you need to edit ALL themes other than the default. Most mods only install to the default theme and possibly the classic and Babylon themes.

Quote from: Ertado on January 30, 2008, 09:46:40 PM
Still needing help with that multiple column thing...
You'll need to post this at SMFarcade in the Hacks 2.0 board. If someone has the time they might try to make it work.

Quote from: YodaOfDarkness on February 02, 2008, 07:45:31 PM
Search tool won't let me search for this, so I'm sorry if this has been asked before...

any chance of this getting updated for 2.0? Just relaying the question from my forum's members ;)
Not to my knowledge. Currently, there is only one person coding, which is Niko. He can probably answer this better but I believe he does have his hands full, atm.
Title: Re: SMF Arcade
Post by: niko on February 03, 2008, 08:30:36 AM
Quote from: Skhilled on February 03, 2008, 06:17:58 AM
Quote from: YodaOfDarkness on February 02, 2008, 07:45:31 PM
Search tool won't let me search for this, so I'm sorry if this has been asked before...

any chance of this getting updated for 2.0? Just relaying the question from my forum's members ;)
Not to my knowledge. Currently, there is only one person coding, which is Niko. He can probably answer this better but I believe he does have his hands full, atm.

I just yesterday got 2.5 updated to support Beta 2 but it's not ready otherwise
Title: Re: SMF Arcade
Post by: Hemarr on February 05, 2008, 10:17:15 AM
Hi i seem to have a problem trying to install on  version  1.1.4  of SMF

i get this error

www.hemarr.com/game-error.png

also using default theme
with tiny portal

thanks
Title: Re: SMF Arcade
Post by: rider on February 05, 2008, 11:16:28 AM
Quote from: Hemarr on February 05, 2008, 10:17:15 AM
Hi i seem to have a problem trying to install on  version  1.1.4  of SMF

i get this error

www.hemarr.com/game-error.png

also using default theme
with tiny portal

thanks
You can go ahead with the install.The index.template error is the arcade writing the code for the arcade tab.The other error you can ignore.
Title: Re: SMF Arcade
Post by: godsdead on February 07, 2008, 01:03:02 PM
Ah cheers rider & Hemarr, the exact errors i get lol!
How would i add the URL to the template? im useing a custom template, called "outline" i edited index.template.php and found some of the tabs at the top of the forum, like this:



                    // How about the [search] button?
if ($context['allow_search'])
echo '<li><a' , $current_action=='search' ? ' class="current"' : '' , ' href="', $scripturl, '?action=search"><span>Search</span></a></li>';


if i use any other URL's like this, it outputs errors in the admin cp, and they are not "selected" when in the section there linked to.. how would i do this? for the time being iv been useing these for the menu..


// Show the [gallery] button.
                              echo '<li><a href="' . $scripturl . '?action=gallery"><span>Gallery</span></a></li>';


Cheers =]
Title: Re: SMF Arcade
Post by: fwitt on February 07, 2008, 02:05:21 PM

                    // How about the [arcade] button?
echo '<li><a' , $current_action=='arcade' ? ' class="current"' : '' , ' href="', $scripturl, '?action=arcade"><span>', $txt['Arcade'] ,'</span></a></li>';


should work as the button code, you may also have to add arcade to a list earlier in the template, which i believe sorts out the selected issue, i dont know this particular theme but it isnt normally that hard to find, the list will be in a block with $current_action and would be something like 'search', 'profile', 'calender' if you add 'arcade' to this list (the order is not important).

I normally find the block by searching for the php file for the text 'search' and adding relevant arcade code.
Title: Re: SMF Arcade
Post by: godsdead on February 07, 2008, 03:26:54 PM
ah, yea cheers, i found this while inserting my google Analytics code =p
Title: Re: SMF Arcade
Post by: Ninetail on February 08, 2008, 02:09:22 AM
I have a question. If I want the Champion(Hi-score) of any game show under post

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg233.imageshack.us%2Fimg233%2F9463%2F31493114hh6.jpg&hash=5eb18a776798e5ab484b8851fdd46183702f2925)

how to do it?

And. I have a problem to upload game packgage. I can't upload game packgage reason cannot upload please tell me
Title: Re: SMF Arcade
Post by: rider on February 08, 2008, 04:09:19 PM
Quote from: Ninetail on February 08, 2008, 02:09:22 AM
I have a question. If I want the Champion(Hi-score) of any game show under post

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg233.imageshack.us%2Fimg233%2F9463%2F31493114hh6.jpg&hash=5eb18a776798e5ab484b8851fdd46183702f2925)

how to do it?

And. I have a problem to upload game packgage. I can't upload game packgage reason cannot upload please tell me
Go to www.smfarcade.info and try this mod.http://www.smfarcade.info/index.php/topic,2424.0.html
How are you trying to install the games?
Title: Re: SMF Arcade
Post by: msPaula on February 09, 2008, 01:42:01 AM
SMF version = 1.1.4
Arcade version = 2.0.9
Theme = pn-pn

In the Who's online and someone is in the arcade index it will show them as in the arcade index but as soon as the member goes to play a game it will list them as "Doing Nothing You Can See"

For the admin it will show what game is being played.

I really want the same shown to all members how do I fix the code so if some one is playing a game it will show what game to anyone viewing the Who's Online as it does for admin's.

I have searched this board as well found the same question asked but have not seen any reply to this part of the question here or on the arcade site.
Title: Re: SMF Arcade
Post by: rider on February 09, 2008, 02:54:12 AM
Quote from: msPaula on February 09, 2008, 01:42:01 AM
SMF version = 1.1.4
Arcade version = 2.0.9
Theme = pn-pn

In the Who's online and someone is in the arcade index it will show them as in the arcade index but as soon as the member goes to play a game it will list them as "Doing Nothing You Can See"

For the admin it will show what game is being played.

I really want the same shown to all members how do I fix the code so if some one is playing a game it will show what game to anyone viewing the Who's Online as it does for admin's.

I have searched this board as well found the same question asked but have not seen any reply to this part of the question here or on the arcade site.

try going to smfarcade.info.Click the link in my sig.Then check out this thread.http://www.smfarcade.info/index.php/topic,411.0.html
The info is for an older version but I think it should work for you.
Title: Re: SMF Arcade
Post by: msPaula on February 09, 2008, 07:51:04 PM
Quote from: rider on February 09, 2008, 02:54:12 AM
Quote from: msPaula on February 09, 2008, 01:42:01 AM
SMF version = 1.1.4
Arcade version = 2.0.9
Theme = pn-pn

In the Who's online and someone is in the arcade index it will show them as in the arcade index but as soon as the member goes to play a game it will list them as "Doing Nothing You Can See"

For the admin it will show what game is being played.

I really want the same shown to all members how do I fix the code so if some one is playing a game it will show what game to anyone viewing the Who's Online as it does for admin's.

I have searched this board as well found the same question asked but have not seen any reply to this part of the question here or on the arcade site.

try going to smfarcade.info.Click the link in my sig.Then check out this thread.http://www.smfarcade.info/index.php/topic,411.0.html
The info is for an older version but I think it should work for you.

I did try that and it will not work on the version I have. I did find the following


            // start arcade intagration (pja 10 Aug 08)
elseif ($actions['action'] == 'arcade')
{

if (!isset($actions['sa']) || $actions['sa'] == 'list')
// Viewing index
$data[$k] = $txt['who_arcade'];
elseif ($actions['sa'] == 'play' && isset($actions['game']))
// Playing game
$game_ids[(int) $actions['game']][$k] = $txt['who_arcade_play'];
// $data[$k] = $txt['who_arcade_play'];
elseif ($actions['sa'] == 'highscore' && isset($actions['game']))
// Viewing highscores of game
// $game_ids[(int) $actions['game']][$k] = $txt['who_arcade_highscore'];
$data[$k] = $txt['who_arcade_highscore'];
else
// Something else, let's say it's index
$data[$k] = $txt['who_arcade'];

}
            // end arcade intagration (pja 10 Aug 08)


The code for "who_arcade_play" works fine for admin but for everyone else it will show the "Nothing, or nothing you can see" message

The code for "who_arcade_highscore" will show "Viewing highscores of %s on Arcade" for admin's as well as normal users.

who_arcade_highscore and who_arcade_play is defined as

$txt['who_arcade_play'] = 'Playing <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';
$txt['who_arcade_highscore'] = 'Viewing highscores of <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';


I really hope you can help me on this
Title: Re: SMF Arcade
Post by: Trinny on February 20, 2008, 06:58:30 AM
Quotetry switching your fourm default langauge from -utf8 to just english.php and see if that helps.Alos since you're using -utf8 can you see the admin settings for the arcade?
I just installed the arcade on 1.1.4 and my forum default language is english.php... I don't see the arcade admin area at all. The arcade is there, empty as can be, and I have no admin area in which to attempt to add games. I'm a little confused here, there were no reported errors in the installation.
Title: Re: SMF Arcade
Post by: rider on February 20, 2008, 09:30:23 AM
When you installed the arcade,did you run the installArcade.php in your web browser?
Title: Re: SMF Arcade
Post by: Trinny on February 21, 2008, 06:35:59 PM
Quote from: rider on February 20, 2008, 09:30:23 AM
When you installed the arcade,did you run the installArcade.php in your web browser?
Yeah not so much. I've installed a lot of mods and have never had to do that, I didn't know that I was supposed to do anything other than install the mod ??? I'll give it a shot.
Title: Re: SMF Arcade
Post by: Ricky. on February 23, 2008, 06:12:49 PM
Is there any way to embed game in <iframe> so can use on remote blog etc ?
ie. stripped down version of "Playing game" area.. so that when called via iframe.. only game appear..

Or can still do easily.. kindly suggest.
Title: Re: SMF Arcade
Post by: jusplay77 on February 23, 2008, 10:23:30 PM
Where would I manipulate the code to add an image to here:

" Arcade
-----------------------------------------------------------------------
You need a valid arcade pass to play in the arcade. Visit the store."

I want to add an Arcade-Champion-Trophy image there that is shown to all (those that have the arcade pass, and those that do not)..   The Trophy of course coincides with the Awards Mod
Title: Re: SMF Arcade
Post by: pibe86 on February 24, 2008, 04:40:47 PM
hello, i have a problem , i have install     SMF Arcade      2.0.12 , but admin space is in blank, i use smf 1.1.4, tyniportal and my forum is http://www.encuentrofutbol.com , it is in spanish i have else upload these files, Arcade.english-utf8.php, Arcade.spanish-utf8.php, Arcade.english, Arcade.spanish.php, ArcadeAdmin.english-utf8.php, ArcadeAdmin.english.php , ArcadeAdmin.spanish-utf8.php y ArcadeAdmin.spanish.php

i dont know what it is happening

in english i can see avery thing, but in spanish not

look at the picture plz
Title: Re: SMF Arcade
Post by: fwitt on February 25, 2008, 04:11:18 AM
Quote from: pibe86 on February 24, 2008, 04:40:47 PM<br />hello, i have a problem , i have install     SMF Arcade      2.0.12 , but admin space is in blank, i use smf 1.1.4, tyniportal and my forum is <a href="http://www.encuentrofutbol.com" class="bbc_link new_win" target="_blank">http://www.encuentrofutbol.com</a> , it is in spanish i have else upload these files, Arcade.english-utf8.php, Arcade.spanish-utf8.php, Arcade.english, Arcade.spanish.php, ArcadeAdmin.english-utf8.php, ArcadeAdmin.english.php , ArcadeAdmin.spanish-utf8.php y ArcadeAdmin.spanish.php<br /><br />i dont know what it is happening<br /><br />in english i can see avery thing, but in spanish not<br /><br />look at the picture plz<br />

you make no mention of the language edits in Modifications.spanish.php, make sure all your languages have the arcade language strings in this file (this file may hold language strings for other mods as well).
Title: Re: SMF Arcade
Post by: pibe86 on February 26, 2008, 09:30:27 AM
fwitt, thanks men, it was the problem

now my users can play XD, are there anything alse to integrate to arcade?
Title: Re: SMF Arcade
Post by: jusplay77 on February 26, 2008, 11:25:03 AM
QuoteWhere would I manipulate the code to add an image to here:

" Arcade
-----------------------------------------------------------------------
You need a valid arcade pass to play in the arcade. Visit the store."

I want to add an Arcade-Champion-Trophy image there that is shown to all (those that have the arcade pass, and those that do not)..   The Trophy of course coincides with the Awards Mod

Anyone know? 
Title: Re: SMF Arcade
Post by: Skhilled on March 04, 2008, 03:53:15 PM
@Trinny, Are you using hte default theme? If not, you'll have to manually edit your custom theme.

@Ricky, I doubt that can be done the way you want it.

@jusplay77, That is a Hack for the arcade. You'd have to go to smfarcade.info and ask the user who created the hack.

@pibe86, Not sure what you mean exactly but if you are looking for Hack for the arcade then go to the Hacks board at smfarcade and see what is available.
Title: Re: SMF Arcade
Post by: Kimmie on March 14, 2008, 12:05:41 AM
Hi - I have 1.1.4 and just tried to install this on a test site that right now is using the default theme. I got this error:

7. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php File not found

I dont use utf8 - I use english. Do I have to install this language file in order for the mod to work?


Also, I seem to remember someone mentioning that something had to be run on my browser in order to get this mod to work as well. If there are any special instructions other than simply uploading it via package manager, could you let me know here? I checked all the files for an install doc but one was not found.

Thanks in advance :)
Title: Re: SMF Arcade
Post by: goldenboy48 on March 14, 2008, 03:27:37 AM
how to disable the annoying Private Messages telling me that someone else has become the champion...
Title: Re: SMF Arcade
Post by: fwitt on March 14, 2008, 04:45:15 AM
Quote from: Kimmie on March 14, 2008, 12:05:41 AM
Hi - I have 1.1.4 and just tried to install this on a test site that right now is using the default theme. I got this error:

7. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php File not found

I dont use utf8 - I use english. Do I have to install this language file in order for the mod to work?


Also, I seem to remember someone mentioning that something had to be run on my browser in order to get this mod to work as well. If there are any special instructions other than simply uploading it via package manager, could you let me know here? I checked all the files for an install doc but one was not found.

Thanks in advance :)

as you use plain english and not utf8 the file not found will not affect the install on your forum.

Once the arcade is installed you still need to upload and install the games you wish to use, customize the settings and then enable the arcade. Cant think of anything else off the top of my head.
Title: Re: SMF Arcade
Post by: fwitt on March 14, 2008, 04:51:08 AM
Quote from: PanesarV on March 14, 2008, 03:27:37 AM
how to disable the annoying Private Messages telling me that someone else has become the champion...

this Hack stops all of this msg's on your forum. (http://www.smfarcade.info/index.php/topic,2330.msg15917.html#msg15917)

Arcade 2.1 will have an option in each users profile to enable/disable these msgs
Title: Re: SMF Arcade
Post by: rider on March 14, 2008, 10:33:33 AM
Quote from: Kimmie on March 14, 2008, 12:05:41 AM
Hi - I have 1.1.4 and just tried to install this on a test site that right now is using the default theme. I got this error:

7. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php File not found

I dont use utf8 - I use english. Do I have to install this language file in order for the mod to work?


Also, I seem to remember someone mentioning that something had to be run on my browser in order to get this mod to work as well. If there are any special instructions other than simply uploading it via package manager, could you let me know here? I checked all the files for an install doc but one was not found.

Thanks in advance :)
If this is the 1st time you've installed the arcade then you'll need to to run the installArcade.php in your web browser.It will look something like this.www.yoursite.com/installArcade.php.
Title: Re: SMF Arcade
Post by: rider on March 14, 2008, 10:36:17 AM
Quote from: PanesarV on March 14, 2008, 03:27:37 AM
how to disable the annoying Private Messages telling me that someone else has become the champion...
Check under profile>personal message options>uncheck the box saying send pm when highscore is beaten.
Title: Re: SMF Arcade
Post by: niko on March 14, 2008, 02:44:34 PM
Quote from: rider on March 14, 2008, 10:36:17 AM
Quote from: PanesarV on March 14, 2008, 03:27:37 AM
how to disable the annoying Private Messages telling me that someone else has become the champion...
Check under profile>personal message options>uncheck the box saying send pm when highscore is beaten.

It's requires hack from forum.
Title: Re: SMF Arcade
Post by: Kimmie on March 14, 2008, 11:02:28 PM
thanks to both rider and fwitt

I gotta install my own games? yikes.. good thing I am gonna try this out on my test site first..as I have never done that. Any helpful information would be greatly appreciated. I know from running a a free smf forum (not one I had to take care of myself), that already had the arcade installed on it.. those files were .swf files. When looking for games to install do they need to be that file type?
Title: Re: SMF Arcade
Post by: rider on March 15, 2008, 01:02:23 AM
Quote from: Kimmie on March 14, 2008, 11:02:28 PM
thanks to both rider and fwitt

I gotta install my own games? yikes.. good thing I am gonna try this out on my test site first..as I have never done that. Any helpful information would be greatly appreciated. I know from running a a free smf forum (not one I had to take care of myself), that already had the arcade installed on it.. those files were .swf files. When looking for games to install do they need to be that file type?
Kimmie
Installing the games is not that hard.Lets get you started.Click on the link in my sig.Thats the arcade support site.Click on the downloads and download the game zipfiles from there to a folder on your pc.Then go to admin>games >install>use the zipfile option to upload the games.All games packs should install that way.Let us know how you do.
Title: Re: SMF Arcade
Post by: goldenboy48 on March 17, 2008, 03:24:29 AM
Quote from: fwitt on March 14, 2008, 04:51:08 AM
Quote from: PanesarV on March 14, 2008, 03:27:37 AM
how to disable the annoying Private Messages telling me that someone else has become the champion...

this Hack stops all of this msg's on your forum. (http://www.smfarcade.info/index.php/topic,2330.msg15917.html#msg15917)

Arcade 2.1 will have an option in each users profile to enable/disable these msgs

this did the job. thanks man.
Title: Re: SMF Arcade
Post by: JoshieDaMan on March 17, 2008, 10:11:26 AM
A users wants me to do a special features additional. So I am doing so. But one question, how can I edit the action=arcade page and where it says Arcade  | Statistics I am wondering how could I put a link of my own in there?

Like     Arcade | Statistics | new-link
Title: Re: SMF Arcade
Post by: Filipina on March 17, 2008, 12:37:21 PM
Quote from: rider on March 14, 2008, 10:33:33 AM
If this is the 1st time you've installed the arcade then you'll need to to run the installArcade.php in your web browser.It will look something like this.www.yoursite.com/installArcade.php.

ok cool search took me right here :)  At the risk of sounding dumb do you mean you still complete the installation with the error and missing folder first, and then run the install in your webbrowser? I have a lot of MODS but no experience with this.  Thanks for any assistance.
Title: Re: SMF Arcade
Post by: fwitt on March 17, 2008, 02:44:32 PM
Quote from: Filipina on March 17, 2008, 12:37:21 PM
ok cool search took me right here :)  At the risk of sounding dumb do you mean you still complete the installation with the error and missing folder first, and then run the install in your webbrowser? I have a lot of MODS but no experience with this.  Thanks for any assistance.

if the error is modifications.english-utf8.php file not found, and your forum doesn't use english-utf8 then you can safely ignore that error, if the error is index.template.php you can safely install but will need to manually add a link to the arcade.

with regards to the missing folder without more details I'm not sure i can advise.
Title: Re: SMF Arcade
Post by: fwitt on March 17, 2008, 02:47:50 PM
Quote from: JoshieDaMan on March 17, 2008, 10:11:26 AM
A users wants me to do a special features additional. So I am doing so. But one question, how can I edit the action=arcade page and where it says Arcade  | Statistics I am wondering how could I put a link of my own in there?

Like     Arcade | Statistics | new-link

I think the code for that is in Arcade.template.php
Title: Re: SMF Arcade
Post by: Filipina on March 18, 2008, 11:31:22 PM
Quote from: fwitt on March 17, 2008, 02:44:32 PM
if the error is modifications.english-utf8.php file not found, and your forum doesn't use english-utf8 then you can safely ignore that error, if the error is index.template.php you can safely install but will need to manually add a link to the arcade.

with regards to the missing folder without more details I'm not sure i can advise.

Thanks for the response and I did get it all uploaded fine.  My site has been suspended so I will try and figure out this great MOD if I get my site back :)
Title: Re: SMF Arcade
Post by: Mystiquo on March 19, 2008, 10:17:21 AM
Hi i'm italian boy, i have translate the arcade in italian, take it
Title: Re: SMF Arcade
Post by: fgoc on March 21, 2008, 05:33:34 PM
SMF 1.1.4 Tiny Portal 0.9.8

Have been running the arcade for a little bit now without issue, but noticed the following errors clocking up in my error log:

8: Undefined index:  arcadeGameInformationSide
File: /home/xxxx/public/forum/Themes/default/ArcadeMenu.template.php (ArcadeMenu_above sub template - eval?)
Line: 12

8: Undefined index:  arcadeGameInformationSide
File: /home/xxxx/public/forum/Themes/default/ArcadeMenu.template.php (ArcadeMenu_above sub template - eval?)
Line: 27

Both appear by the same user at the same time for the same url (which is various urls related to the arcade module.

Any ideas on how to clear them?

The code I have around those lines is:

// Version: 2.0.8; ArcadeMenu

function template_arcademenu_above()
{
    global $modSettings;

    echo '
    <table width="100%">
        <tr>';

(LINE 12)    if ($modSettings['arcadeGameInformationSide'] == 0)
        echo '
            <td valign="top">', template_arcade_menu() , '</td>';

    echo '
            <td width="80%" valign="top">';
}

function template_arcademenu_below()
{
    global $modSettings;

    echo '
            </td>';

(LINE 27)    if ($modSettings['arcadeGameInformationSide'] == 1)
        echo '
            <td valign="top">', template_arcade_menu() , '</td>';

    echo '
        </tr>
    </table>';


Many thanks   
Title: Re: SMF Arcade
Post by: simplyg123 on March 22, 2008, 06:55:19 PM
anyone know how to modify the theme files for the arcade mod? Ive tried the parser but it generates a blank page
Title: Re: SMF Arcade
Post by: fwitt on March 22, 2008, 10:13:23 PM
They are all in install_rc2.xml in the arcade package look for the edits to template.php files, most themes only need a menubar link added to index.template.php but occasionally other files need to be modded two.
Title: Re: SMF Arcade
Post by: Mystiquo on March 22, 2008, 10:21:32 PM
scuse me but i have a problem with IE7 italian language and cerberus theme, i dont see the button play random ecc, i see a red cross with name why?
thanks
Title: Re: SMF Arcade
Post by: fwitt on March 22, 2008, 10:40:56 PM
Quote from: Mystiquo on March 22, 2008, 10:21:32 PM<br />scuse me but i have a problem with IE7 italian language and cerberus theme, i dont see the button play random ecc, i see a red cross with name why?<br />thanks<br />

most likely cause is that the image is missing from cerberus themes images directory.

right click the cross and select properties find the location it is looking for the button and copy the button from the equivalent place in the default theme.

so if properties says hxxp://example.com/forum/Themes/cerberus/images/random.gif
copy the files random.gif from the /forum/Themes/default/images directory to the /forum/Themes/cerberus/images
Title: Re: SMF Arcade
Post by: rider on March 22, 2008, 10:58:49 PM
Another option is to unzip the arcade on your pc and then open the themes folder and upload the images to /forum/Themes/cerberus/images via FTP
Title: Re: SMF Arcade
Post by: Mystiquo on March 22, 2008, 11:07:54 PM
but arcade e stat it semply write why?
arcade e stats
http://www./forums/index.php?action=arcade
http://www./forums/index.php?action=arcade;sa=stats
   
Be with Firefox that IE7
Title: Re: SMF Arcade
Post by: Kimmie on March 23, 2008, 01:18:33 AM
Quote from: rider on March 14, 2008, 10:33:33 AM
Quote from: Kimmie on March 14, 2008, 12:05:41 AM
Hi - I have 1.1.4 and just tried to install this on a test site that right now is using the default theme. I got this error:

7. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php File not found

I dont use utf8 - I use english. Do I have to install this language file in order for the mod to work?


Also, I seem to remember someone mentioning that something had to be run on my browser in order to get this mod to work as well. If there are any special instructions other than simply uploading it via package manager, could you let me know here? I checked all the files for an install doc but one was not found.

Thanks in advance :)
If this is the 1st time you've installed the arcade then you'll need to to run the installArcade.php in your web browser.It will look something like this.www.yoursite.com/installArcade.php.

ok I just intalled the arcade on my test site and it installed fine. I  got a message at the top of my site that said everything passed and that I was now able to install games. I ran the above url as you said (putting my site name in). I selected New Install on the first page and this is what I got (see attached image).

I am trying to remember if when I tried to install it the first time (and got the error on the utf-8 file) if I actually let it install then. (cant remember - its been awhile. sorry). Could that be why those files already exist, and if so, is there anything I need to do to fix anything?



Title: Re: SMF Arcade
Post by: fwitt on March 23, 2008, 06:11:22 AM
I dont think any of those errors should actually affect the running of the arcade, they are for creating Tables in the database.

a good analogy would be getting an error on trying to create a folder that already exists, the error will not stop you using the folder, its just stopping you from trying to make it twice in the same place.
Title: Re: SMF Arcade
Post by: simplyg123 on March 23, 2008, 09:18:03 PM
can someone tell me the exact code that needs to be changed/added, i am slightly retarded and cant read the xml file, and the parser generates a blank page
Title: Re: SMF Arcade
Post by: Kimmie on March 24, 2008, 12:26:49 AM
Quote from: fwitt on March 23, 2008, 06:11:22 AM
I dont think any of those errors should actually affect the running of the arcade, they are for creating Tables in the database.

a good analogy would be getting an error on trying to create a folder that already exists, the error will not stop you using the folder, its just stopping you from trying to make it twice in the same place.

thanks :)

My next step: what you suggested to me a few posts back:

QuoteInstalling the games is not that hard.Lets get you started.Click on the link in my sig.Thats the arcade support site.Click on the downloads and download the game zipfiles from there to a folder on your pc.Then go to admin>games >install>use the zipfile option to upload the games.All games packs should install that way.Let us know how you do.

Thanks for the help :)

EDIT: I downloaded the gamepack1 and tried to install it via admin>games>install and got this error:

QuoteCould not upload package, please check directory permissions!

I changed the permissions on the "Games" folder to "777" and then tried again, and got the same above error. :(
Title: Re: SMF Arcade
Post by: Kat-2 on March 24, 2008, 08:57:33 PM
I have looked and can't find it. What is the button code for themes other than default??

I mostly need for Dilber MC

And where does it go?
Title: Re: SMF Arcade
Post by: fwitt on March 25, 2008, 12:47:34 PM
I shall answer the easy part of the question first,

it goes in the themes index.template.php normally near the bottom in the list of code for the menubar.

Because of what themes are (changes to the style, look and layout) you need to match your button code with the existing button code that is already in the theme, this can change.

The easiest method (in my personal opinion) is to copy the echo statement for the search button and paste it on the next line in the code then replace all instances of search in the code with arcade and the $txt['182'] variable with $txt['arcade'].

some themes have a list higher up in the file with words like home, help, if your theme has this list you may need to add arcade to the list in the same style as the rest of the list.

some other themes have gif images for the buttons for these you will need a matching gif image for the arcade button you create or it will look different.

when manually editing files it is always recomended to back up the original in case you go wrong.

The good news is that SMF 2 has had a rewrite in this area which should make this a thing of the past.
Title: Re: SMF Arcade
Post by: JoshieDaMan on March 27, 2008, 10:45:12 AM
Mine has We have 112 games for you to play?

I downloaded ALL games that was in download system at smfaracade.info and I seen another site that has over 300 games. But it's not smfaracde. I need some more games, because all of users has played them and is begging for more games.
Title: Re: SMF Arcade
Post by: masss on March 27, 2008, 02:26:59 PM
I get this error while installing smf arcade???
7.     
Execute Modification     ./Themes/default/languages/Modifications.english-utf8.php     File not found


What can i do?

I have got SMS 1.1.4 and aphollo: http://custom.simplemachines.org/themes/index.php?lemma=356
Title: Re: SMF Arcade
Post by: perplexed on March 27, 2008, 05:00:51 PM
I don't think it really matters unless you are using english-utf8, as it just means it is looking for that file and can't find it.
Title: Re: SMF Arcade
Post by: rider on March 28, 2008, 01:13:45 AM
Quote from: Kimmie on March 24, 2008, 12:26:49 AM
Quote from: fwitt on March 23, 2008, 06:11:22 AM
I dont think any of those errors should actually affect the running of the arcade, they are for creating Tables in the database.

a good analogy would be getting an error on trying to create a folder that already exists, the error will not stop you using the folder, its just stopping you from trying to make it twice in the same place.

thanks :)

My next step: what you suggested to me a few posts back:

QuoteInstalling the games is not that hard.Lets get you started.Click on the link in my sig.Thats the arcade support site.Click on the downloads and download the game zipfiles from there to a folder on your pc.Then go to admin>games >install>use the zipfile option to upload the games.All games packs should install that way.Let us know how you do.

Thanks for the help :)

EDIT: I downloaded the gamepack1 and tried to install it via admin>games>install and got this error:

QuoteCould not upload package, please check directory permissions!

I changed the permissions on the "Games" folder to "777" and then tried again, and got the same above error. :(
That error usually means that the gamepack is too large to use the zipfile option thru the arcade admin.What you can do is upload the gamepack via your FTP program.Upload it to your Games directory and then install theu admin>games>install.
Title: Re: SMF Arcade
Post by: rider on March 28, 2008, 01:16:19 AM
Quote from: JoshieDaMan on March 27, 2008, 10:45:12 AM
Mine has We have 112 games for you to play?

I downloaded ALL games that was in download system at smfaracade.info and I seen another site that has over 300 games. But it's not smfaracde. I need some more games, because all of users has played them and is begging for more games.
if you do a search for games you will find alot of sites to get games from.Most of them will work with the arcade.
Title: Re: SMF Arcade
Post by: rider on March 28, 2008, 01:17:59 AM
Quote from: masss on March 27, 2008, 02:26:59 PM
I get this error while installing smf arcade???
7.     
Execute Modification     ./Themes/default/languages/Modifications.english-utf8.php     File not found


What can i do?

I have got SMS 1.1.4 and aphollo: http://custom.simplemachines.org/themes/index.php?lemma=356
Perplexed is right.That file is for people who have their forums set to use the utf files.It will not interfere the install of the arcade.
Title: Re: SMF Arcade
Post by: Kimmie on March 28, 2008, 01:33:20 PM
Quote from: rider on March 28, 2008, 01:13:45 AM
That error usually means that the gamepack is too large to use the zipfile option thru the arcade admin.What you can do is upload the gamepack via your FTP program.Upload it to your Games directory and then install theu admin>games>install.


Thanks I will try that. :). I need to uploaded it this way unzipped correct?
Title: Re: SMF Arcade
Post by: blouogies20 on March 30, 2008, 03:41:25 PM
Hello people

I need your help.. I have installed the arcade and its working BUT it doesnt save the scores :(

What can be the problem?
Title: Re: SMF Arcade
Post by: perplexed on March 30, 2008, 03:50:01 PM
have you tried asking on the Arcade site?  http://www.smfarcade.info where they have probably encountered this problem before.  Please make sure you give them more information like smf version, arcade version etc
Title: Re: SMF Arcade
Post by: blouogies20 on March 30, 2008, 04:19:05 PM
Yes I did but they are so slow!!!
Title: Re: SMF Arcade
Post by: perplexed on March 30, 2008, 06:34:15 PM
well I've never found them slow personally but it is the weekend and everyone is a volunteer just like here.  They would know more about the problem since they deal solely with the arcade.

I have seen this problem come up before, did you try searching the arcade site for doesn't save scores?
Title: Re: SMF Arcade
Post by: rider on March 30, 2008, 07:42:07 PM
Quote from: blouogies20 on March 30, 2008, 04:19:05 PM
Yes I did but they are so slow!!!
Well as perplexed said use the search function.Its volunteer work and we have lives too.
Title: Re: SMF Arcade
Post by: funcouldron on April 14, 2008, 03:48:22 AM
got this 2 errors ,,,

what to do

7.     Execute Modification     ./Themes/default/languages/Modifications.english-utf8.php     File not found

5.     Execute Modification     ./Themes/default/index.template.php     Test failed
Title: Re: SMF Arcade
Post by: rider on April 14, 2008, 11:08:03 AM
Quote from: willwishers on April 14, 2008, 03:48:22 AM
got this 2 errors ,,,

what to do

7.     Execute Modification     ./Themes/default/languages/Modifications.english-utf8.php     File not found

5.     Execute Modification     ./Themes/default/index.template.php     Test failed
Unless you're using the utf8 format you can ignore #7 and #5 is the arcade writing the code for the arcade button.You can install the arcade and you'll be fine.If you're using another theme other than default then you'll have to edit #5 to show the button.
Title: Re: SMF Arcade
Post by: syndicate on April 21, 2008, 02:19:41 AM
where do i get the games from?
Title: Re: SMF Arcade
Post by: SA™ on April 21, 2008, 02:32:27 AM
here some places to get games

http://www.ridersplace.net/home/

http://waynesworld.kicks-ass.net/portal/games/   

http://www.ibpdownloads.com/ipb/index.php?act=idx

http://www.ipbgamedownloads.com/index.php?autocom=arcade&cat=17

http://teamwolfpack.org/forums/index.php?showforum=109

http://www.romulation.f9x.co.uk/
Title: Re: SMF Arcade
Post by: rider on April 21, 2008, 01:16:08 PM
Quote from: joyrider on April 21, 2008, 02:32:27 AM
here some places to get games

http://waynesworld.kicks-ass.net/portal/games/   

http://www.ibpdownloads.com/ipb/index.php?act=idx

http://www.ipbgamedownloads.com/index.php?autocom=arcade&cat=17

http://teamwolfpack.org/forums/index.php?showforum=109

http://www.romulation.f9x.co.uk/

Hey you forgot to list my site.lol
Don't forget to visit www.smfarcade.info and check out the downloads section there.Click on the link in my sig.to get you there.
Title: Re: SMF Arcade
Post by: syndicate on April 22, 2008, 02:29:13 AM
ah ok, thank you both for that
Title: Re: SMF Arcade
Post by: SA™ on April 22, 2008, 02:50:35 AM
Quote from: rider on April 21, 2008, 01:16:08 PM
Quote from: joyrider on April 21, 2008, 02:32:27 AM
here some places to get games

http://waynesworld.kicks-ass.net/portal/games/   

http://www.ibpdownloads.com/ipb/index.php?act=idx

http://www.ipbgamedownloads.com/index.php?autocom=arcade&cat=17

http://teamwolfpack.org/forums/index.php?showforum=109

http://www.romulation.f9x.co.uk/

Hey you forgot to list my site.lol
Don't forget to visit www.smfarcade.info and check out the downloads section there.Click on the link in my sig.to get you there.

opps sry rider i was in a rush when i done that i edited the post for you  ;D
Title: Re: SMF Arcade
Post by: KiLLuMiNaTi-7- on April 22, 2008, 02:44:08 PM
My games are not showing ever since i did the new firefox upgrade. Works fine on IE. My members are having the same problem aswell.
Title: Re: SMF Arcade
Post by: KiLLuMiNaTi-7- on April 24, 2008, 06:51:37 AM
Please help  >:(
Title: Re: SMF Arcade
Post by: fwitt on April 24, 2008, 04:10:01 PM
which firefox upgrade?

as far as i know i'm using the most recent firefox and i havent had any issues on any arcade install on the sites i visit.

what do you mean by the games are not showing, is the games list empty? do you get to the game and get a blank page? is there a white box where the game should be?

a screenshot or link to the arcade in question might help with th diagnosis as well.
Title: Re: SMF Arcade
Post by: perplexed on April 25, 2008, 06:00:56 AM
(Actually I noticed with the update to firefox 2.0.0.14 last week that I had problems with some other sites' graphics, so it might be related to that update.)  JAT
Title: Re: SMF Arcade
Post by: syndicate on April 27, 2008, 11:31:45 AM
How come my membergroups can't access the arcade??
Title: Re: SMF Arcade
Post by: rider on April 27, 2008, 11:55:21 AM
check admin>arcade settings and switch permissions to none and see if that helps.Also are these member groups that you have created?
Title: Re: SMF Arcade
Post by: syndicate on April 28, 2008, 09:20:37 AM
hey i did that,but yes they are groups  i created myself
Title: Re: SMF Arcade
Post by: scubaru on April 28, 2008, 09:43:21 PM
Quick Search troubles in SMF Arcade 2.0.12

I got kinda of a weird one here.

When I first installed this mod it worked great no troubles at all.
the I recently upgraded to PHP 5.3 dev and upgraded my MySQL to 5.0.51
not sure if it happened right away afterwards, but now my quick search box n the arcade does nothing.  You can type as little or as much as you like in it and it seems to be doing nothing with the info.

All other aspects of the forum and the arcade seem to be fine so I don't think that the upgrade to the new PHP or MySQL caused the issue.  Although I could be wrong, and well often am  ???

Please if you can figure this out that would be great.
here is the URL just to verify what I have said.
http://www.scubaru.selfip.com

Thanks in advance,
Scubaru

Title: Re: SMF Arcade
Post by: niko on April 29, 2008, 01:51:56 AM
Quote from: scubaru on April 28, 2008, 09:43:21 PM
Quick Search troubles in SMF Arcade 2.0.12

I got kinda of a weird one here.

When I first installed this mod it worked great no troubles at all.
the I recently upgraded to PHP 5.3 dev and upgraded my MySQL to 5.0.51
not sure if it happened right away afterwards, but now my quick search box n the arcade does nothing.  You can type as little or as much as you like in it and it seems to be doing nothing with the info.

All other aspects of the forum and the arcade seem to be fine so I don't think that the upgrade to the new PHP or MySQL caused the issue.  Although I could be wrong, and well often am  ???

Please if you can figure this out that would be great.
here is the URL just to verify what I have said.
http://www.scubaru.selfip.com

Thanks in advance,
Scubaru



http://www.scubaru.selfip.com/index.php?action=arcade;sa=search;xml

has your counter code which makes xml invalid
Title: Re: SMF Arcade
Post by: dreama.nana2 on April 29, 2008, 03:21:56 AM
I'm ready to pull my hair out  >:( I'm using SMF 1.1.4 I have the Classic Theme set up and did waaaay tooo much customizing of it to change it. So, here's what happened. I installed the Arcade. It said it installed successfully. I even had the Arcade Admin Panel. I was able to add games. However, There is NOT arcade button on my forum and no place to play the games that I can see. So, what gives? And please be specific and this is so new to me I already feel like an idiot.
Title: Re: SMF Arcade
Post by: perplexed on April 29, 2008, 04:27:24 AM
if you are using a theme other than the default CORE theme then you will have to edit it to make the arcade button etc show up on your theme.

If you have done a lot of customising to your theme already then you should be quite familiar with this. :)

go to the mod page http://custom.simplemachines.org/mods/index.php?mod=36 and follow the manual instructions for installing the mod for your version of the forum.
Title: Re: SMF Arcade
Post by: dreama.nana2 on April 29, 2008, 07:11:51 AM
Thanks for replying. I decided to go another route. BTW, those package backups take up A LOT of space!!
Title: Re: SMF Arcade
Post by: scubaru on April 29, 2008, 11:08:26 AM
Quote from: Niko on April 29, 2008, 01:51:56 AM
Quote from: scubaru on April 28, 2008, 09:43:21 PM
Quick Search troubles in SMF Arcade 2.0.12

I got kinda of a weird one here.

When I first installed this mod it worked great no troubles at all.
the I recently upgraded to PHP 5.3 dev and upgraded my MySQL to 5.0.51
not sure if it happened right away afterwards, but now my quick search box n the arcade does nothing.  You can type as little or as much as you like in it and it seems to be doing nothing with the info.

All other aspects of the forum and the arcade seem to be fine so I don't think that the upgrade to the new PHP or MySQL caused the issue.  Although I could be wrong, and well often am  ???

Please if you can figure this out that would be great.
here is the URL just to verify what I have said.
http://www.scubaru.selfip.com

Thanks in advance,
Scubaru



http://www.scubaru.selfip.com/index.php?action=arcade;sa=search;xml

has your counter code which makes xml invalid

Thanks you were right on the money... I had code in then index.php file for StatCounter that was causing the issue.

thanks again, all good now
Title: Re: SMF Arcade
Post by: syndicate on April 30, 2008, 08:34:40 AM
any1 update on my prob
Title: Re: SMF Arcade
Post by: perplexed on April 30, 2008, 08:37:26 AM
check your admin > permissions settings as well as the permissions found in your admin > arcade > settings
Title: Re: SMF Arcade
Post by: scubaru on May 01, 2008, 10:51:02 AM
Hi there I am using SMF Arcade 2.0.12 and this morning I woke to find his error in my logs 10 times from the same ip.

Guest                                                                                                              Today at 07:19:49 AM

221.194.136.37                                                                                                bf013aa6297948b51cb4c0177423baa3
http://www.scubaru.selfip.com/index.php?action=arcade;sa=search;xml
8: Undefined index: name
File: /xxxxxxxxxx/xxxxxxxxxxxx/xxxxxxxxx/xxxxxxxxx/xxxxxxxxxx/ArcadeList.php
Line: 334

also duplicate error with line 309

Hope this can be fixed easily to avoid this error in the log.

Thanks in advance,
Scubaru
Title: Re: SMF Arcade
Post by: syndicate on May 01, 2008, 11:18:59 PM
Quote from: quiteperplexed on April 30, 2008, 08:37:26 AM
check your admin > permissions settings as well as the permissions found in your admin > arcade > settings

yer the boxes were unchecked in the admin>permission settings, thank you for that
Title: Re: SMF Arcade
Post by: SgtMic on May 02, 2008, 12:00:49 AM
Update for 1.1.5?
Title: Re: SMF Arcade
Post by: perplexed on May 02, 2008, 11:59:15 AM
does it not install on 1.1.5?
Title: Re: SMF Arcade
Post by: SgtMic on May 02, 2008, 05:55:50 PM
I don't know. Haven't tried it. :)

On the mod site, when you click on 1.1.5, this mod does not show up in the list.
Title: Re: SMF Arcade
Post by: niko on May 03, 2008, 02:59:44 AM
2.0.13 with 1.1.5 support and some bug fixes available.
Title: Re: SMF Arcade
Post by: pcigre on May 04, 2008, 02:57:26 AM
Anything about smf 2.0b3 version?
Title: Re: SMF Arcade
Post by: niko on May 04, 2008, 05:22:28 AM
Quote from: pcigre on May 04, 2008, 02:57:26 AM
Anything about smf 2.0b3 version?

SMF Arcade 2.5 will be made for SMF 2.0. It's still in alpha so there's chance that it won't be ready for beta 3.
Title: Re: SMF Arcade
Post by: pcigre on May 04, 2008, 05:24:52 AM
Thank you for quick answer. Is there any ETA for SMF Arcade 2.5 beta (that would be usable for production sites)?
Title: Re: SMF Arcade
Post by: Sadil on May 06, 2008, 07:13:30 AM
I noticed that not all image files in a fresh new download of the latest release (2.0.13) are there. I'm missing several buttons when NOT using the core theme. They are:

/images/english/arcade_random.gif
/images/english/arcade_favorites.gif
/images/english/arcade_play.gif
/images/english/arcade_viewscore.gif
/images/english/arcade_random.gif

I'm not using the core theme so my theme is slightly broken on the arcade. It's looking for those specific image files, but they're not there. Any help with that?
Title: Re: SMF Arcade
Post by: SA™ on May 06, 2008, 11:44:34 AM
if your using a custom them you would need to grab the arcade icons you need eaither from the download packeg or grab them out the defaullt theme and put them in your  custom theme theme they will be in the images folder
Title: Re: SMF Arcade
Post by: Sadil on May 06, 2008, 11:52:32 AM
That's the point, the images AREN'T in the package itself. They are missing from the installation package. They weren't even installed into the default core theme, because the core theme apparently doesn't use the images.
Title: Re: SMF Arcade
Post by: SA™ on May 06, 2008, 12:19:50 PM
cant you dl the last version and use the images from that ?
Title: Re: SMF Arcade
Post by: whatnow on May 06, 2008, 12:29:06 PM
Need help.  I am trying to install the arcade and have gotten this file not found error:

./Themes/default/languages/Modifications.english-utf8.php


I do not have this file, is it necessary if I am not using utf8?, can I install without it?



Title: Re: SMF Arcade
Post by: SA™ on May 06, 2008, 12:31:19 PM
yep go ahead and install it if you dont use utf8 you will be fine
Title: Re: SMF Arcade
Post by: Sadil on May 06, 2008, 12:39:30 PM
Quote from: wdm2005 on May 06, 2008, 12:19:50 PM
cant you dl the last version and use the images from that ?

Try downloading it yourself and then tell me. :p A fresh download only has:

favorite.gif
favorite2.gif
gold.gif
star2.gif

That's all. No other images. Hence my question where these images are.
Title: Re: SMF Arcade
Post by: whatnow on May 06, 2008, 05:23:42 PM
Thanks wdm2005, worked just fine.   :)
Title: Re: SMF Arcade
Post by: fwitt on May 06, 2008, 08:02:48 PM
Quote from: Sadil on May 06, 2008, 12:39:30 PM
Quote from: wdm2005 on May 06, 2008, 12:19:50 PM
cant you dl the last version and use the images from that ?

Try downloading it yourself and then tell me. :p A fresh download only has:

favorite.gif
favorite2.gif
gold.gif
star2.gif

That's all. No other images. Hence my question where these images are.


The arcade doesnt use images in the core theme, the code for those buttons is just there to make it compatible with themes that use images. The images arnt included because they would be theme specific so you would need them to match the theme you are using. for themes that dont use buttons the arcade should work in the same way as the core theme once you have done the required theme edits in the code.
Title: Re: SMF Arcade
Post by: Sandmansa on May 07, 2008, 01:07:03 AM
Hi.  I am in need of some assistance.  I installed smf arcade 2.0.13 on my smf 1.1.5 boards and it's working just fine, only I keep getting stuff like this in my error logs.

72.244.71.187                                                                                          0ef4bc79968ca393c0d4ba1deacfd7b8 
http://angieskidney.com/smfbb/index.php?action=arcade;sa=play;game=43 
8: Undefined variable: last
File: /xxxx/xxxx/xxxx/xxxx.com/xxxx/xxxx/Themes/default/ArcadeMenu.template.php (eval?)
Line: 664

And 8: Undefined variable: first on line 661.

What could be causing this issue and how do I fix it?
Title: Re: SMF Arcade
Post by: midiof[f] on May 07, 2008, 02:38:29 AM
Quote from: willwishers on April 14, 2008, 03:48:22 AM

5.     Execute Modification     ./Themes/default/index.template.php     Test failed


is a problem whith gallery :

        <operation>
            <search position="before"><![CDATA[ if (in_array($context['current_action'], array('search', ]]></search>
            <add><![CDATA['arcade', ]]></add>
        </operation>


in index.template.php original
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))

in index.template.php modific gallery
if (in_array($context['current_action'], array('gallery','search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))


repair this problem :

        <operation>
            <search position="before"><![CDATA[ if (in_array($context['current_action'], array(']]></search>
            <add><![CDATA[arcade', ']]></add>
        </operation>

Title: Re: SMF Arcade
Post by: niko on May 07, 2008, 03:23:32 PM
Quote from: midiof[f] on May 07, 2008, 02:38:29 AM
Quote from: willwishers on April 14, 2008, 03:48:22 AM

5.     Execute Modification     ./Themes/default/index.template.php     Test failed


is a problem whith gallery :

        <operation>
            <search position="before"><![CDATA[ if (in_array($context['current_action'], array('search', ]]></search>
            <add><![CDATA['arcade', ]]></add>
        </operation>


in index.template.php original
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))

in index.template.php modific gallery
if (in_array($context['current_action'], array('gallery','search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))


repair this problem :

        <operation>
            <search position="before"><![CDATA[ if (in_array($context['current_action'], array(']]></search>
            <add><![CDATA[arcade', ']]></add>
        </operation>



Thanks for suggestion but it won't work like this since if (in_array($context['current_action'], array( is used two times in file. However I think it could be done using part after.
Title: Re: SMF Arcade
Post by: niko on May 07, 2008, 03:27:53 PM
Quote from: Sadil on May 06, 2008, 07:13:30 AM
I noticed that not all image files in a fresh new download of the latest release (2.0.13) are there. I'm missing several buttons when NOT using the core theme. They are:

/images/english/arcade_random.gif
/images/english/arcade_favorites.gif
/images/english/arcade_play.gif
/images/english/arcade_viewscore.gif
/images/english/arcade_random.gif

I'm not using the core theme so my theme is slightly broken on the arcade. It's looking for those specific image files, but they're not there. Any help with that?

Each theme uses different button set. You could use button generator if there's one for theme to make them.
Title: Re: SMF Arcade
Post by: Sadil on May 08, 2008, 06:21:46 PM
Quote from: Niko on May 07, 2008, 03:27:53 PM
Quote from: Sadil on May 06, 2008, 07:13:30 AM
I noticed that not all image files in a fresh new download of the latest release (2.0.13) are there. I'm missing several buttons when NOT using the core theme. They are:

/images/english/arcade_random.gif
/images/english/arcade_favorites.gif
/images/english/arcade_play.gif
/images/english/arcade_viewscore.gif
/images/english/arcade_random.gif

I'm not using the core theme so my theme is slightly broken on the arcade. It's looking for those specific image files, but they're not there. Any help with that?

Each theme uses different button set. You could use button generator if there's one for theme to make them.

So the files it's looking for are not in the install package by default, and they're not supposed to be there?


I'm having another problem though, regarding new membergroups that cannot view the arcade.

Existing membergroups (such as Global Moderator) can view the arcade just fine. When I create a new membergroup though, and I attempt to view the Arcade as a member of that membergroup, it won't show any games on the arcade.

The permissions are set okay. As a matter of fact, I copied the permissions EXACTLY from Global Moderator (which can view the arcade) and the new membergroup still can't view the arcade. I tried to dig through all the options there are, but nothing seems to fix this.

Regular members can view the arcade just fine, but every new membergroup I create for some reason can't view the arcade. Any help on that?
Title: Re: SMF Arcade
Post by: fwitt on May 08, 2008, 08:32:37 PM
the permissions for the arcade are quite flexable, because of this there are several things that affect whether a membergroup can see the arcade.

In your arcadeadmin area look at the Settings page, you will have a permissions mode set, if this is set to none then any membergroup with permission to view the arcade can play any game, if its set to catagories then only if that membergroup is listed in the catagories page can they view it and per game they have to be listed in that games permissions.

if it says catagory go to the catagory area of the arcade admin and click the + next to the catagory to open its settings and check your membergroup is highlighted.

if its says game go to the games page on arcade admin and click a game settings link and check to see if the membergroup is ticked there.

this means that there is flexibility controling who can access what games
Title: Re: SMF Arcade
Post by: Sandmansa on May 08, 2008, 08:44:12 PM
Hi again.  Anyone have any thoughts on this issue?
http://www.simplemachines.org/community/index.php?topic=29619.msg1534350#msg1534350
Title: Re: SMF Arcade
Post by: Sadil on May 08, 2008, 08:47:21 PM
Thank you fwitt! I didn't realize that the permissions were set beyond the membergroups. That helped. :)
Title: Re: SMF Arcade
Post by: whatnow on May 09, 2008, 09:32:49 AM
Is it possible to shut off all these pm's, notifying members they are no longer champions?  If so, what files do I have to fix?

Thanks
Title: Re: SMF Arcade
Post by: fwitt on May 09, 2008, 09:42:59 AM
to disable pm notification completly
http://www.smfarcade.info/index.php/topic,3775.msg23322.html#msg23322


or pm switch mod
http://www.smfarcade.info/index.php/topic,2693.15.html
Title: Re: SMF Arcade
Post by: Sadil on May 09, 2008, 10:15:04 AM
Quote from: mah on May 09, 2008, 09:32:49 AM
Is it possible to shut off all these pm's, notifying members they are no longer champions?  If so, what files do I have to fix?

Thanks
Mah

http://www.smfarcade.info/index.php/topic,2693.0.html

Make sure you also check out this message (http://www.smfarcade.info/index.php/topic,2693.msg21433.html#msg21433) to make sure that PMs are off by default. It's a fix that you'll need. :)
Title: Re: SMF Arcade
Post by: whatnow on May 10, 2008, 09:43:27 AM
Thank you, now I have another question. On the Arcade page, is there anyway to take off our header and everything else from the top of that page, without it coming off all the other pages?

Thanks
Title: Re: SMF Arcade
Post by: fwitt on May 10, 2008, 09:11:57 PM
I believe the header is in index.template.php, this is the same for all pages of the forum. you could try enclosing the code for the header in a statement such as


if ($_REQUEST['action'] != 'arcade') {

header code you dont wish to appear in the arcade

}


tey it on a test site first, this is just a possibility from the top of my head.
Title: Re: SMF Arcade
Post by: Sandmansa on May 10, 2008, 09:19:03 PM
Can anyone please help me address this problem that I have posted earlier in this thread?  This link will take you right to my question.
http://www.simplemachines.org/community/index.php?topic=29619.msg1534350#msg1534350
Title: Re: SMF Arcade
Post by: guyute4u on May 15, 2008, 08:35:09 AM
SMF Arcade 2.0.13
SMF 1.1.5

Error:
"You need to enable javascript in order to play games."

Error happens on each game.

My list of packages:
Mod Name Version 
1. express 2 smiley set 2   [ Uninstall ] [ List Files ] [ Delete ] 
2. Page View Counter 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
3. Global Headers Footers 1.3   [ Uninstall ] [ List Files ] [ Delete ] 
4. Free Smileys 0.9.2.2  [ List Files ] [ Delete ] 
5. GoogleTagged 1.2   [ Uninstall ] [ List Files ] [ Delete ] 
6. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
7. YouTube BBCode 2.2   [ Uninstall ] [ List Files ] [ Delete ] 
8. Auto Embed Video Clips 2.0  [ List Files ] [ Delete ] 
9. cbi, 1.0 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
10. mp3 Flash Player BBC Tag (XHTML Compliant) 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
11. RSS Feed Poster 1.0.5   [ Uninstall ] [ List Files ] [ Delete ] 
12. SMF Arcade 2.0.12  [ List Files ] [ Delete ] 
13. Location on Member List 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
14. AddThis Social Bookmarks 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
15. TinyPortal 0.983   [ List Files ] [ Delete ] 
16. New Topic Button 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
17. Googlebot & Spiders Mod 2.0.3   [ Uninstall ] [ List Files ] [ Delete ] 
18. Auto Embed Video Clips 2.1.4   [ Uninstall ] [ List Files ] [ Delete ] 
19. SMF Gallery Lite 1.8.1.2   [ Uninstall ] [ List Files ] [ Delete ] 
20. Unique Hit Counter 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
21. cbi, 0.5 0.5  [ List Files ] [ Delete ] 
22. RSS Feed Icon 1.1   [ Uninstall ] [ List Files ] [ Delete ] 
23. Ad Managment 2.3   [ Uninstall ] [ List Files ] [ Delete ] 
24. Separated Birthdays from Events 1.0  [ Apply Mod ] [ List Files ] [ Delete ] 
25. Pretty URLs - Base 0.7   [ Uninstall ] [ List Files ] [ Delete ] 
26. SMF Arcade 2.0.13   [ Uninstall ] [ List Files ] [ Delete ] 
27. Registration - Show Language mod 1.0.0   [ Uninstall ] [ List Files ] [ Delete ] 
28. New RSS Button Per Board 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
29. SMF Links 1.6.6   [ Uninstall ] [ List Files ] [ Delete ] 
30. Language Tag 1.1.1 


Support account:
ID: JavaissueSMF
PW: JavaissueSMF

URL: http://www.theminx.org


My coding level: Newbie

Can ya help Me? 

Title: Re: SMF Arcade
Post by: niko on May 15, 2008, 09:03:22 AM
Quote from: guyute4u on May 15, 2008, 08:35:09 AM
SMF Arcade 2.0.13
SMF 1.1.5

Error:
"You need to enable javascript in order to play games."

Error happens on each game.

URL: http://www.theminx.org


My coding level: Newbie

Can ya help Me?

Something seems to be messing links in arcade javascript. (Maybe prettyurls?)

Workaround:

Arcade.English.php

$txt['arcade_no_flash'] = 'You have not installed Adobe Flash Player, you need install it before you can play, you also need to have javascript enabled. <a href="http://www.adobe.com/go/getflashplayer" target="_blank">Install</a>';
$txt['arcade_no_javascript'] = 'You need to enable javascript in order to play games.';
$txt['arcade_please_wait'] = 'Please wait while checking session... (<a href="javascript:ArcadeStart();">Skip</a>)';


Replace with


$txt['arcade_no_flash'] = 'You have not installed Adobe Flash Player, you need install it before you can play, you also need to have javascript enabled.';
$txt['arcade_no_javascript'] = 'You need to enable javascript in order to play games.';
$txt['arcade_please_wait'] = 'Please wait while checking session...';
Title: Re: SMF Arcade
Post by: guyute4u on May 15, 2008, 12:50:02 PM
Thanks Niko! I'm gonna try that as soon as I get home.
Title: Re: SMF Arcade
Post by: whatnow on May 15, 2008, 02:59:43 PM
One member on my board keeps generating the same errors messages whenever she plays. Does anyone know why? and what could I do to stop this?

8: Undefined index: arcade
File: /usr/www/users/zz/smf/Sources/Arcade.php
Line: 120

8: Undefined index: arcade
File: /usr/www/users/zz/smf/Sources/Arcade.php
Line: 125

8: Undefined index: arcade
File: /usr/www/users/zz/smf/Sources/Arcade.php
Line: 128

8: Undefined index: arcade
File: /usr/www/users/zz/smf/Sources/Arcade.php
Line: 135


Thanks
Title: Re: SMF Arcade
Post by: guyute4u on May 15, 2008, 08:58:16 PM
That did the trick! Thank you so much Niko!  :D
Title: Re: SMF Arcade
Post by: MissyNL on May 16, 2008, 02:44:43 AM
hello,

I have a problem.. most of my members can play the games.. but some members receive this error..

It seems that Arcade 2.0.13  (and also 2.0.12) doesnt work in internet explorer...
I have smf 1.1.5

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi9.photobucket.com%2Falbums%2Fa64%2Fsummerbreeze22%2FDragndrop.jpg&hash=f5c1ac987ca3c5376823da55dbde0c4026d02768)

Does anybody know what i can do about it?

Best Wishes,

Cynthia
Title: Re: SMF Arcade
Post by: The Saviour on May 16, 2008, 12:26:40 PM
Hello, everyone...

Listen...I'm a little new to using SMF...and for the life of me, cannot get any modifications to install properly using the Package parser in the Admin section of my version of SMF...which is currently 1.1.5.

Now...I'd like to get this arcade installed for my users.  I've tried uploading the package from my desktop as a zipped folder.  I click the Apply Mod link...it goes through its testing, yet it doesn't seem to complete.  About the first 10 files pass, and then the rest of the files have no log entries...just blank spaces.

Well...I continue to click Install and I'm redirected to a "page cannot be displayed" in IE7.  I end up going into the Packages section of Admin and deleting the mod.

Prior to this...I check for installed packages, but it's just not there.

I've even tried looking at the manual for this mod, but that just confuses me more.  I've even looked at SMF's guide to manual installation of mods, but again...confused.

I would really appreciate it...if someone could lend me a hand and walk me through this entire process.

Any help is greatly appreciated.

Update...

Nevermind...I have the Arcade up and running.  Thanks to all who replied (sarcasm).
Title: Re: SMF Arcade
Post by: Ur_Irish_Rose on May 19, 2008, 03:38:12 PM
Hello :)

I have this arcade on my forum and I was wondering is there a way i can put trophies on it

as in gold silver bronze

or is there a button to turn this on :|

can you help me pls

thank you in advance
Title: Re: SMF Arcade
Post by: Angie on Dialysis on May 21, 2008, 02:52:59 AM
wow I notice you guys have ignored Sandman asking about an error 3 times in the last 2 pages. Geeze ... he is asking to help me with my forums. Where else can we go for help if no one will answer here? :(
Title: Re: SMF Arcade
Post by: niko on May 21, 2008, 03:24:26 AM
Quote from: Angie of AKC on May 21, 2008, 02:52:59 AM
wow I notice you guys have ignored Sandman asking about an error 3 times in the last 2 pages. Geeze ... he is asking to help me with my forums. Where else can we go for help if no one will answer here? :(

Well It's little hard to keep track of posts in this large topic.

It's probably some theme edit, since default theme has $first and $last variable (for RTL support) but for some reason they are not there. If you have done manually changes you need to do those also for Arcade button.
Title: Re: SMF Arcade
Post by: Angie on Dialysis on May 21, 2008, 02:02:50 PM
Quote from: Niko on May 21, 2008, 03:24:26 AM
Quote from: Angie of AKC on May 21, 2008, 02:52:59 AM
wow I notice you guys have ignored Sandman asking about an error 3 times in the last 2 pages. Geeze ... he is asking to help me with my forums. Where else can we go for help if no one will answer here? :(

Well It's little hard to keep track of posts in this large topic.

It's probably some theme edit, since default theme has $first and $last variable (for RTL support) but for some reason they are not there. If you have done manually changes you need to do those also for Arcade button.
Thanks :)
Title: Re: SMF Arcade
Post by: M-DVD on May 24, 2008, 08:55:06 PM
Hello.

There is a plugin firefox that allows the user to put any score at the end of each game.

Can corrected through the MOD? Is it the fault of flash flash?

Thank you.
Title: Re: SMF Arcade
Post by: Tuplad on May 25, 2008, 07:13:17 AM
Hey there!

I've got the 2.0.12 which I want to update to 2.0.13. How do I do that ? My forum is Dutch and I've got some manual work to do because I'm using an other template than the default. Is there some sort of changelog(*.diff) ?
Title: Re: SMF Arcade
Post by: KameL on May 25, 2008, 08:38:05 PM
Hi... I've installed the latest version for this mod in my SMF site, but i have a little problem with it: when i finish the installation process, my smf gets desynchronised with the theme. The header is good, but all the rest are moved to the right... There's a fix for my problem?

EDIT: That error appears on Firefox... the mod works a bit fine on IE.

EDIT 2: Added screenshots

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg210.imageshack.us%2Fimg210%2F4099%2Fproblemaqw4.jpg&hash=89b3b844ebef5a8d55ca19ffedcf97c873d1dec0)

http://img210.imageshack.us/img210/4099/problemaqw4.jpg

EDIT 3: I've fixed it editing the index.template.php replacing this:
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , ' <td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '"> <a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a> </td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

for this:
  // Arcade
if ($context['user']['is_logged'] && $context['allow_pm'])
                              echo '<li><a' , $current_action=='arcade' ? ' class="current"' : '' , ' href="', $scripturl, '?action=arcade"><span>' , $txt[999] , '</span></a></li>';


and adding a new string in index.{language}.php:
$txt[999] = 'Arcade';
Title: Re: SMF Arcade
Post by: MissyNL on May 26, 2008, 07:15:26 AM
Hello,

I have posted earlier.. but no one is replying. so i try again :D

I have Arcade veersion 2.0.13 installed and have smf 1.1.5. The mod doesn't seem to work in IE.

It gives this error :

http://i9.photobucket.com/albums/a64/summerbreeze22/Dragndrop.jpg

Please help, because the girls really like this mod!

Thanks!

Title: Re: SMF Arcade
Post by: City Builder on May 26, 2008, 02:38:03 PM
Hi,
I've installed smf_arcade and had to manually edit the Subs.php and index_template.php and did as instructed in the package parser on the mods page for version 1.1.5

I've downloaded some gamepacks from the official site and ftp'd them to the Games directory.

I go into my Admin section and I see Games Administration with three options, (Games, Categories, and settings).

I've set the permissions for the categories and uploaded some of the games to the Games directory on the server (I've even chmodded them to 777 in my attempts) but when I go into any option in the Games administration area, I don't see any options to "install games" or anything like that.

I've tried this in both Firefox browser as well as Internet Exploder 7.0

Can someone tell me what step I've missed and what to do to correct this?

I also saw something on the official site about notify admin to delete accounts so I set that in the smf features settings so that people can't delete their account without my being notified (which didn't help my situation).

So how to I install the games?  (Yes I uploaded the individual files and not the .zip file to the Games directory on the server).

Thanks


Update: Fixed.  The solution was to chmod the Games Directory to 777, I had only chmoded the files themselves to 777 which didn't help anything.  So for anybody else experiencing this problem, try chmod 777 to your Games directory, maybe it will work for you too.
Title: Re: SMF Arcade
Post by: City Builder on May 26, 2008, 02:42:49 PM
Quote from: Lafemme on May 26, 2008, 07:15:26 AM
Hello,

I have posted earlier.. but no one is replying. so i try again :D

I have Arcade veersion 2.0.13 installed and have smf 1.1.5. The mod doesn't seem to work in IE.

It gives this error :

http://i9.photobucket.com/albums/a64/summerbreeze22/Dragndrop.jpg

Please help, because the girls really like this mod!

Thanks!



Do you have Tiny Portal installed?  I get this same error message when trying to add smilies to my forum, and I contacted Tiny Portal admin who says that it's a known issue with Internet Explorer and I should check what is the content of the blocks that I have on my site.  I never found out what is causing it and I switched to firefox browser to deal with those areas where I.E. produces this error message.  However none of our users have reported getting this error when using the regular areas of our site.

Good luck

Update: I get this error message as well.  I've turned off all tiny portal blocks on the site but to no avail, I still get the Dreaded Operation Aborted message from Internet Explorer, however firefox browser doesn't give me any troubles with the arcade.  Im currently using I.E 7.0 but am now going to download the I.E. 8.0 Beta and see if it does the same thing.
Title: Re: SMF Arcade
Post by: MissyNL on May 26, 2008, 05:00:33 PM
Quote from: City Builder on May 26, 2008, 02:42:49 PM
Quote from: Lafemme on May 26, 2008, 07:15:26 AM
Hello,

I have posted earlier.. but no one is replying. so i try again :D

I have Arcade veersion 2.0.13 installed and have smf 1.1.5. The mod doesn't seem to work in IE.

It gives this error :

http://i9.photobucket.com/albums/a64/summerbreeze22/Dragndrop.jpg

Please help, because the girls really like this mod!

Thanks!



Do you have Tiny Portal installed?  I get this same error message when trying to add smilies to my forum, and I contacted Tiny Portal admin who says that it's a known issue with Internet Explorer and I should check what is the content of the blocks that I have on my site.  I never found out what is causing it and I switched to firefox browser to deal with those areas where I.E. produces this error message.  However none of our users have reported getting this error when using the regular areas of our site.

Good luck

Update: I get this error message as well.  I've turned off all tiny portal blocks on the site but to no avail, I still get the Dreaded Operation Aborted message from Internet Explorer, however firefox browser doesn't give me any troubles with the arcade.  Im currently using I.E 7.0 but am now going to download the I.E. 8.0 Beta and see if it does the same thing.

I have tiny portal installed,  however... i do not think TP has something to do with it, since i have no modules added in TP with the arcade and also no blocks..

The thing is.. that the page is loading, but when someone clicks on a game, the member gets this error..
And i can not expect that all my members are going to use firefox.. just because they want to play a game.. :(
Title: Re: SMF Arcade
Post by: Angie on Dialysis on May 26, 2008, 09:47:31 PM
What would prevent additional member groups from having access to ANY games (shows as No Games Available but ONLY to them)?? Permissions in both admin section for whole forums and for the arcade do not prevent these groups (I checked those and nope they are fine) .. and seems to be ONLY additional groups and not default ones .. they USED to have access .. do not know what happened.

So I am hoping someone else has a clue on what could have happened??  1.1.5.   Am not using the default theme.
Title: Re: SMF Arcade
Post by: _Anthony_ on May 26, 2008, 10:27:20 PM
There is a lot more advanced version of this mod located at http://www.ericsworld.eu/f2/index.php
Title: Re: SMF Arcade
Post by: Sandmansa on May 26, 2008, 10:43:22 PM
Quote from: Niko on May 21, 2008, 03:24:26 AM
Quote from: Angie of AKC on May 21, 2008, 02:52:59 AM
wow I notice you guys have ignored Sandman asking about an error 3 times in the last 2 pages. Geeze ... he is asking to help me with my forums. Where else can we go for help if no one will answer here? :(

Well It's little hard to keep track of posts in this large topic.

It's probably some theme edit, since default theme has $first and $last variable (for RTL support) but for some reason they are not there. If you have done manually changes you need to do those also for Arcade button.

The only change I did to the Arcade button for the DilberMC theme was this...

// Show the [Arcade] button.
        echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
    <td align="center" class="menubg' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
    <a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
    </td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



The arcade button for the default theme has been left untouched.  What else can I do?  The errors only appear using the DilberMC theme.
Title: Re: SMF Arcade
Post by: fwitt on May 28, 2008, 03:24:09 PM
Quote from: Sandmansa on May 26, 2008, 10:43:22 PM
The only change I did to the Arcade button for the DilberMC theme was this...

// Show the [Arcade] button.
        echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
    <td align="center" class="menubg' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
    <a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
    </td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



The arcade button for the default theme has been left untouched.  What else can I do?  The errors only appear using the DilberMC theme.

the most likely problem is that the DilberMC theme doesnt have the variables $first and $last, the way to check is to look at the code for one of the other buttons, if it doesnt have those variables then the code for the arcade button shouldnt either.
Title: Re: SMF Arcade
Post by: MissyNL on May 28, 2008, 03:33:26 PM
Quote from: MrMoney on May 26, 2008, 10:27:20 PM
There is a lot more advanced version of this mod located at http://www.ericsworld.eu/f2/index.php

has anyone got any experience with this mod?
Title: Re: SMF Arcade
Post by: _Anthony_ on May 28, 2008, 08:24:06 PM
What do you mean?
I do I have it on my site.
Title: Re: SMF Arcade
Post by: Sandmansa on May 28, 2008, 09:07:55 PM
Thank you very much fwitt.  I removed the $first and $last commands from the arcade button code ( because none of the other buttons use them in DilberMC theme ) and now, I no longer see the errors flooding my log file.  Thank you for your assistance.  8)

Odd though, because the flashchat button only has the $first command ( no $last command ) but it didn't cause any errors.  Only arcade did.  ::)
Title: Re: SMF Arcade
Post by: LadyC on May 30, 2008, 11:21:08 PM
Quote from: Angie of AKC on May 26, 2008, 09:47:31 PM
What would prevent additional member groups from having access to ANY games (shows as No Games Available but ONLY to them)?? Permissions in both admin section for whole forums and for the arcade do not prevent these groups (I checked those and nope they are fine) .. and seems to be ONLY additional groups and not default ones .. they USED to have access .. do not know what happened.

So I am hoping someone else has a clue on what could have happened??  1.1.5.   Am not using the default theme.

i'm having the exact same problem... only difference is i AM using the default theme.

would love some assistance with this!
Title: Re: SMF Arcade
Post by: Sandmansa on May 31, 2008, 12:02:54 AM
That question was answered here.
http://www.simplemachines.org/community/index.php?topic=241409.msg1559446#msg1559446

Quote from: karlbenson on May 29, 2008, 01:29:20 AM
Double check the Arcade Admin settings.

Admin > Arcade > Categories

Each category has permissions for "Groups allowed to access"
Title: Re: SMF Arcade
Post by: LadyC on May 31, 2008, 12:16:41 AM
you're a lifesaver! i'd looked in there, but it hadn't occurred to me to use the little arrow to expand the permissions section.
Title: Re: SMF Arcade
Post by: Mo786 on May 31, 2008, 03:16:10 PM
I just installed the arcade and this happens whenever I click on the arcade button. It doesn't matter if I do it on the default theme or a custom theme. Even when I go to Admin control panel and click on arcade settings it takes me to the forums page. Is there something wrong? I'm using SMF 1.1.5 with tinyportal 0.9.8. The only mod I'm using right now is the referral mod found here: http://custom.simplemachines.org/mods/index.php?mod=1114

The theme I use is DarkBreak found here: http://www.dzinerstudio.com/index.php?action=tpmod;dl=item54

Please I really want this mod to work. If you need anymore information then please ask and I will answer you ASAP.

Thanks :)

I posted this on the smfarcade forums and didn't get any responses yet and only 12 views. I posted here because there are more people to help me out.


EDIT: NVM FIXED
Title: Re: SMF Arcade
Post by: Sudhakar Arjunan on May 31, 2008, 05:36:22 PM
i am currently using " E-Arcade 2.5.0 based on: SMF Arcade 2.0.9 © Niko Pahajoki 2004-2007"
How do i uninstall and installed the smf arcade ,

The change should not affected the existing games played and score.

Any Suggest , appreciated.
Title: Re: SMF Arcade
Post by: Angie on Dialysis on June 05, 2008, 04:43:35 AM
Quote from: nesianstyles on December 23, 2004, 04:13:17 PM
finally a update:
eastereggs is fixed so if it wasn't submitting scores, it is now (zip updated) :)

10 New games for christmas:
air_sk8ing - sports
starfall - other
militaryhg - other
militarysnow - other
amira - puzzel
newtons_revenge - puzzel
discoracer - racing
flasteroids - clones
frogger2 - classic
donkeykong - classic

download/view (http://smfgames.com)
Is there a new link now to get donkeykong classic?

Quote from: LadyC on May 31, 2008, 12:16:41 AM
you're a lifesaver! i'd looked in there, but it hadn't occurred to me to use the little arrow to expand the permissions section.
Wow yeah you are right! I just noticed that! No one could help me in this thread but I am glad Sandman was able to point you to the right thread! :) That is cool! All I got was "There is a lot more advanced version of this mod ..." bah lol.

I didn't know that little symbol was for permission neither. Thanks Sandman for helping both of us!!  You are AWESOME!
Title: Re: SMF Arcade
Post by: Techdomain on June 06, 2008, 09:11:27 PM
Quote from: Sadil on May 06, 2008, 07:13:30 AM
I noticed that not all image files in a fresh new download of the latest release (2.0.13) are there. I'm missing several buttons when NOT using the core theme. They are:

/images/english/arcade_random.gif
/images/english/arcade_favorites.gif
/images/english/arcade_play.gif
/images/english/arcade_viewscore.gif
/images/english/arcade_random.gif

I'm not using the core theme so my theme is slightly broken on the arcade. It's looking for those specific image files, but they're not there. Any help with that?

because everyone is jumping around looking for these, they are available (in default theme style). If you want ones for a different theme... make them :P

arcade_icons.zip contains all 5.
http://www.techdomain.com.au/index.php?action=tpmod;dl=item3
Title: Re: SMF Arcade
Post by: Sandmansa on June 07, 2008, 12:05:05 AM
I have a set of custom made arcade buttons for helios-multi11final (http://custom.simplemachines.org/themes/index.php?lemma=1) theme that were made by Angie of AKC (http://www.simplemachines.org/community/index.php?action=profile;u=152944).  Including the Arcade button for the forum nav bar.  I have permission from her to post them but im not sure where should I submit them?

So unless anyone has any objection, I will just attach them here.

Files included with this package are...
Title: Re: SMF Arcade
Post by: Techdomain on June 07, 2008, 01:56:29 AM
right... so now we have a light set, and a dark set. everyone can be happy :P
Title: Re: SMF Arcade
Post by: DrizzetPheonix on June 07, 2008, 09:20:54 AM
I'm getting a lot of session errors with the arcade and also a lot of scores don't get recorded? So my first question is does anyone know the root of this problem?
Title: Re: SMF Arcade
Post by: Tuplad on June 08, 2008, 11:35:53 AM
This is weird. I've installed 2.0.13 and 3 gamepacks: 1, 10 and 11. But if I play those games, I cant submit the highscores... what's up ?
Title: Re: SMF Arcade
Post by: Fox420 on June 08, 2008, 07:39:35 PM
This board has my answer.

But my Arcade is running fine and I don't want to blow this by changing something that sounds similar. So if I can give you my situation, and someone wants to point me to the post that tells me what to do. Or copy & paste the answer! THANK YOU.

On the front page of the Administration panel I can check the Forum Versions. "Language files" shows up in red. When I upgraded to smf 1.1.5, everything seemed like it went well. But I now see that I have these errors in the log.

So I downloaded the latest language files and extracted them manually. I did "english". And it worked! They both now show version 1.1.5. However I then did "english-utf8" and it did not work. It still shows it at version 1.1 for the "Modsettings.english-utf8.php". And version 1.1.2 for the "index.english-utf8.php"

It also shows this:

Arcade.english-utf8.php (Your Version:?? Current Version:??)  (And this is Permissions 666 in File Manager)
ArcadeAdmin.english-utf8.php (Your Version:?? Current Version:??)  (This is also Permission 666 in File Manager)

and

Arcade.english.php  (Your Version:2.0.12  Current Version:??)  (Permissions on everything else is 755)
ArcadeAdmin.english.php   (Your Version 2.0.8   Current Version:??) (File Manager Permission: 755)

Related to that is this:

I have one member who says that he does not see the word "Arcade" on that top bar of the forum. This also happened to me when I first set up the site. But I found out that I had to change the Forum Language to "English" from "English-UTF8" under the Admin ->
Server Settings ->  Default Language.

And everytime i logged in I had to make the change from English-uft8 to English in order to see the "Arcade". (I finally just created a new account. That fixed it. Will he have to do the same?).

So that's the story. I'll end with a couple examples of the error messages that I see in the error log. All of them are attributed to that one poster who doesn't see the "Arcade" option:

8: Undefined index: arcade
File: /home/foxva4/public_html/forum/Themes/default/BoardIndex.template.php (eval?)
Line: 535

8: Undefined index: arcade
File: /home/foxva4/public_html/forum/Themes/default/MessageIndex.template.php (eval?)
Line: 535

8: Undefined index: arcade
File: /home/foxva4/public_html/forum/Themes/default/languages/index.english-utf8.php (eval?)
Line: 535

How do I fix these errors and get the Arcade versions to match each other? Thanks for your help!
Title: Re: SMF Arcade
Post by: Hoochie Coochie Man on June 09, 2008, 11:08:00 AM
Is there "backgammon" in SMF Arcade?

Thanks..
Title: Re: SMF Arcade
Post by: Techdomain on June 09, 2008, 06:16:07 PM
Fox420 - The latest version of the arcade is .13, not .12 as it mentions in your post. .13 did actually include a lot of bug-fixes.

It can be downloaded here: http://www.smfarcade.info/index.php?action=tpmod;dl=0
Title: Re: SMF Arcade
Post by: Fox420 on June 09, 2008, 06:49:44 PM
Quote from: Techdomain on June 09, 2008, 06:16:07 PM
Fox420 - The latest version of the arcade is .13, not .12 as it mentions in your post. .13 did actually include a lot of bug-fixes.

It can be downloaded here: http://www.smfarcade.info/index.php?action=tpmod;dl=0

Doh! Thanks. I'll give it a try.
Title: Re: SMF Arcade
Post by: Fox420 on June 09, 2008, 07:19:53 PM
Interesting. My smf arcade already reads 2.0.13 at the bottom.

And My Mod Packages reads:

1. SMF Arcade PM Switch 1.0.1   [ Uninstall ] [ List Files ] [ Delete ] 
2. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
3. SMF Arcade 2.0.13   [ Uninstall ] [ List Files ] [ Delete ]

But under the Language Files it reads:

Arcade.english.php   Your Version: 2.0.12    Current Version: ??
ArcadeAdmin.english.php   Your Version: 2.0.8   Current Version: ??

and

Arcade.english-utf8.php       ??     ??
ArcadeAdmin.english-utf8.php    ??    ??

2 questions for anyone. First, can I open a ticket with the Helpdesk for this? I thought I remember something about smf being a separate thing. (So Lunarpages wouldn't have support for it). 

Second, I show 666 as the Permissions under the File Manager for the Arcade.english-utf8.php and ArcadeAdmin.english-utf8.php.

Everything else is at 755. Should those be kept at 666? Or can I change them to 755? Or 777?

Thanks for you help!
Title: Re: SMF Arcade
Post by: Fox420 on June 10, 2008, 08:59:01 PM
Anyone that has smf arcade installed. Can you check your File Manager.

Does this look right? I'm having issues. And I think this should be 755 like the others. But i don't want to change it, and mess things up. Thanks.

Title: Re: SMF Arcade
Post by: Sandmansa on June 10, 2008, 09:13:51 PM
Some file premissions for the arcade need to be 777.  You won't mess anything up by upgrading the premissions.
Title: Re: SMF Arcade
Post by: Techdomain on June 11, 2008, 03:18:16 AM
the two files you mention are not actually used unless you are using foriegn language sets on utf-8. If you dont know what that means, your probably not.

I would suggest that anyone who has any problems checks out the smfarcade support boards at smfarcade.info, as there are a lot of answers there (more then can be fit in 1 thread here). Your issue sounds like a basic permission problem (ie did you create a special group for your member that wasnt there when you installed the arcade originally?)
Title: Re: SMF Arcade
Post by: Fox420 on June 11, 2008, 06:57:42 PM
Thanks for the suggestions.

And I posted on the other forum. Your right, there is a lot of info over there.

Also...yes, i did create a group. I'll look in that direction too. (I sorta already did. So I was at least thinking along the right lines. Hopefully!)

Thanks again.
Title: Re: SMF Arcade
Post by: go ahead on June 13, 2008, 07:15:04 PM
Hi all, i need some suggestions
When i was installing SMF Arcade 2.0.13, got some error ..
i am using smf 1.1.4

=================================
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Install Actions

5.     Execute Modification     ./Themes/default/index.template.php     Test failed

=========================

at error log :

Undefined index: view_newest_first
File:Display.template.php (eval?)
Line: 571
=====================

thx for attention
Title: Re: SMF Arcade
Post by: fivewinds on June 13, 2008, 07:20:15 PM
That's funny. About a split second before you posted, I was going to say that I got the exact same error EXCEPT I'm installing to SMF 1.1.5.

EDIT: Found a possible solution in a previous page (http://www.simplemachines.org/community/index.php?topic=29619.msg1065385#msg1065385).

- I continued with installation.

- Afterward, at the top it said to proceed to step 4 which is also a link. Clicking on it gave me an error, so I back tracked and just clicked the Arcade button on my menu link. Everything seems to be in working order.

- Switched back to my theme and double checked. Everything is ok.
Title: Re: SMF Arcade
Post by: go ahead on June 13, 2008, 07:34:06 PM
a week ago i have tried upgrade SMF 1.1.4 to SMF 1.1.5 .. and still got same problem ...
Title: Re: SMF Arcade
Post by: go ahead on June 13, 2008, 09:09:17 PM
Quote from: fivewinds on June 13, 2008, 07:20:15 PM

EDIT: Found a possible solution in a previous page (http://www.simplemachines.org/community/index.php?topic=29619.msg1065385#msg1065385).



great ..

i have resolve this problem now ..

thx
Title: Re: SMF Arcade
Post by: DrizzetPheonix on June 14, 2008, 09:21:53 PM
How can i go into the database and edit scores. A few scores are not being recorded. I want to get them in there but it says session is not there, or freezes and doesn't save the score. The people have screen shots of the scores. We are having a little competition but i can't make it fair if the scores don't record.

Thanks for any help.
Title: Re: SMF Arcade
Post by: Celdric on June 17, 2008, 08:17:41 AM
Seems http://www.smfarcade.info/ was hacked. I'm sorry to see that. Hopefully not because of an Arcade security problem? Anyway, Niko and staff are doing a great job there. I hope they can restore the site.
Title: Re: SMF Arcade
Post by: Skhilled on June 17, 2008, 08:37:55 AM
The site is restored. Someone only changed the index.php file. Not sure how they got in yet but I fixed it so people can use the site again. :)
Title: Re: SMF Arcade
Post by: DrizzetPheonix on June 17, 2008, 01:22:23 PM
Quote from: DrizzetPheonix on June 14, 2008, 09:21:53 PM
How can i go into the database and edit scores. A few scores are not being recorded. I want to get them in there but it says session is not there, or freezes and doesn't save the score. The people have screen shots of the scores. We are having a little competition but i can't make it fair if the scores don't record.

Thanks for any help.
Title: Re: SMF Arcade
Post by: m3po on June 17, 2008, 01:32:04 PM
Quote from: DrizzetPheonix on June 14, 2008, 09:21:53 PM
How can i go into the database and edit scores. A few scores are not being recorded. I want to get them in there but it says session is not there, or freezes and doesn't save the score. The people have screen shots of the scores. We are having a little competition but i can't make it fair if the scores don't record.

Thanks for any help.

Ran into this problem before.  Firstly, the reason scores aren't recording and saying that a session doesn't exist is because the user chose only to log in for a specific amount of time.  If this happens the session is terminated and no scores can be recorded.

In order to record some scores that were missed because of this error, I had to actually edit the records in the database.  Unless you have some knowledge of SQL, I wouldn't recommend it.  There may be an easier way but this is how it was done.
Title: Re: SMF Arcade
Post by: haderaschta on June 17, 2008, 02:12:13 PM
Quote from: Skhilled on June 17, 2008, 08:37:55 AM
The site is restored. Someone only changed the index.php file. Not sure how they got in yet but I fixed it so people can use the site again. :)
oh oh ... i wondered about powered by smf 1.3.3.7 stated in the footer :(
Title: Re: SMF Arcade
Post by: Skhilled on June 17, 2008, 03:53:37 PM
Um, thought the site was restored but not. Sorry for the inconvenience. I didn't even notice the leet in the footer.
Title: Re: SMF Arcade
Post by: niko on June 17, 2008, 04:26:00 PM
Quote from: Celdric on June 17, 2008, 08:17:41 AM
Seems http://www.smfarcade.info/ was hacked. I'm sorry to see that. Hopefully not because of an Arcade security problem? Anyway, Niko and staff are doing a great job there. I hope they can restore the site.

Hack wasn't done via security problem in Arcade.
Title: Re: SMF Arcade
Post by: KameL on June 17, 2008, 05:34:36 PM
How can i add more flash games to the arcade?
Title: Re: SMF Arcade
Post by: paramount on June 18, 2008, 11:07:33 AM
Quote from: Niko on June 17, 2008, 04:26:00 PM
Quote from: Celdric on June 17, 2008, 08:17:41 AM
Seems http://www.smfarcade.info/ was hacked. I'm sorry to see that. Hopefully not because of an Arcade security problem? Anyway, Niko and staff are doing a great job there. I hope they can restore the site.

Hack wasn't done via security problem in Arcade.

Have you fixed it?
Title: Re: SMF Arcade
Post by: haderaschta on June 18, 2008, 02:18:23 PM
the site is running again  :D
Title: Re: SMF Arcade
Post by: KameL on June 18, 2008, 03:32:09 PM
Quote from: KameL on June 17, 2008, 05:34:36 PM
How can i add more flash games to the arcade?
I need to know that and this:
How can i add a champion badge or list of games winned on the post.template (after users info like avatar, post count, etc.)?
Title: Re: SMF Arcade
Post by: DrizzetPheonix on June 20, 2008, 01:13:44 PM
Quote from: m3po on June 17, 2008, 01:32:04 PM
Quote from: DrizzetPheonix on June 14, 2008, 09:21:53 PM
How can i go into the database and edit scores. A few scores are not being recorded. I want to get them in there but it says session is not there, or freezes and doesn't save the score. The people have screen shots of the scores. We are having a little competition but i can't make it fair if the scores don't record.

Thanks for any help.

Ran into this problem before.  Firstly, the reason scores aren't recording and saying that a session doesn't exist is because the user chose only to log in for a specific amount of time.  If this happens the session is terminated and no scores can be recorded.

In order to record some scores that were missed because of this error, I had to actually edit the records in the database.  Unless you have some knowledge of SQL, I wouldn't recommend it.  There may be an easier way but this is how it was done.


I have it backed up.... so I'm game on how to edit the scores.
Title: Re: SMF Arcade
Post by: cassie on June 24, 2008, 08:38:17 AM
How do I delete the high scores for previous players of games?

I was able to delete the scores from showing by selecting the game and choosing "delete all scores" in the Admin panel.

But if they played the game before it will still store their high score so they don't start at zero.

Do I have to go into the database to do this and if so, what do I need to do or delete?

Thank you!
Title: Re: SMF Arcade
Post by: KameL on June 26, 2008, 03:49:36 PM
Why some people can't submit scores at my arcade?
Title: Re: SMF Arcade
Post by: SgtMic on June 26, 2008, 05:06:44 PM
Have a slight problem. Some members are having a hard time accessing arcade using IE 7. FF 3 works just fine.
SMF 1.1.5
Mods:
SMF Sitemap      1.2.2      
Integrate Lightbox    1.6    
Group on Registration    1.1.1    
Country Flags    1.0.1    
Ignore user    1.4    
Chatroom Button    1.01    
SMF Arcade    2.0.13    
Auto Embed Video/Audio Clips    3.0    
Google Member Map    0.1    
Custom Profile Field Mod    3.19    
User Email System    1.3    
Highlight Search Keywords    1.1    
Users Online Today Mod    1.4.0    
Treasury    2.11    
FlashChat Integration    1.0    


Title: Re: SMF Arcade
Post by: LadyC on July 03, 2008, 11:14:23 AM
i thought i'd found the answer to this one here a few weeks ago, but i'm having difficulty finding it again.

i have created a new membergroup. i have checked the permissions for that new group, and made sure that they have access to view and play games, but even though they do, they can't.

is there a quick and easy fix for this?
Title: Re: SMF Arcade
Post by: locjan on July 03, 2008, 11:33:48 AM
any lite arcade game available? i dont like heavy
Title: Re: SMF Arcade
Post by: fwitt on July 03, 2008, 03:41:48 PM
Quote from: LadyC on July 03, 2008, 11:14:23 AM
i thought i'd found the answer to this one here a few weeks ago, but i'm having difficulty finding it again.

i have created a new membergroup. i have checked the permissions for that new group, and made sure that they have access to view and play games, but even though they do, they can't.

is there a quick and easy fix for this?

have you got per game / per catagory permissions enabled?
if so you need to give your new membergroup permissions in the game / catagory setting page.
Title: Re: SMF Arcade
Post by: fwitt on July 03, 2008, 03:46:49 PM
Quote from: KameL on June 26, 2008, 03:49:36 PM
Why some people can't submit scores at my arcade?

has their membergroup got permission to submit scores?
Title: Re: SMF Arcade
Post by: LadyC on July 03, 2008, 03:47:32 PM
Quote from: fwitt on July 03, 2008, 03:41:48 PM
Quote from: LadyC on July 03, 2008, 11:14:23 AM
i thought i'd found the answer to this one here a few weeks ago, but i'm having difficulty finding it again.

i have created a new membergroup. i have checked the permissions for that new group, and made sure that they have access to view and play games, but even though they do, they can't.

is there a quick and easy fix for this?

have you got per game / per catagory permissions enabled?
if so you need to give your new membergroup permissions in the game / catagory setting page.

i'll go check that now.... and if it doesn't work, i'll let ya know!
Title: Re: SMF Arcade
Post by: LadyC on July 03, 2008, 04:37:19 PM
seems to have worked! :)
Title: Re: SMF Arcade
Post by: KameL on July 04, 2008, 04:08:03 AM
Quote from: fwitt on July 03, 2008, 03:46:49 PM
Quote from: KameL on June 26, 2008, 03:49:36 PM
Why some people can't submit scores at my arcade?

has their membergroup got permission to submit scores?
I'm admin, I can play games but I can't submit scores, like other regular members. Some members can play and submit their scores normally, but another members can not... The permission mode on Arcade admin is "none" and arcade permissions for each membergroups are fully checked (whitout arcade admin).
Title: Re: SMF Arcade
Post by: toups on July 07, 2008, 10:32:21 AM
greetings, this arcade is amazing! only problem is randomly some users get this error message when trying to send scores:
Error could not submit score due to session   

It seems to be happening quite often too, like every 5 games that a person plays.. usually happens most if you try to re-play a game.  Any fixes for this?

Also would love if there was a way to integrate this into SMF Shop where users would get shop money (credits) when they become the champion of a game.  Thanks for any help!
Title: Re: SMF Arcade
Post by: fwitt on July 07, 2008, 10:57:59 AM
someone has already done some integration work with smf arcade and shop mods, I believe its in the hacks board at smfarcade.info couldnt tell you whats integrations been done or which versions of the mods i covers.

with the error there are several things that could cause this, using the browsers back button to replay a game can mess up the session, also if your smf login times out when you are playing a game you can lose the session info.
for instance if you log in to smf for 15 minutes and play a game for 16 minutes you are no longer logged in to smf when you finish play the game so the sessions value is no longer valid.

there are a few other things that can cause this that have been fixed over the years either in this thread or at smfarcade.info
Title: Re: SMF Arcade
Post by: niko on July 07, 2008, 11:22:44 AM
SMF Shop - SMF Arcade integration: http://www.smfarcade.info/forum/index.php/topic,2627.0.html

Title: Re: SMF Arcade
Post by: toups on July 07, 2008, 06:21:39 PM
Quote from: Niko on July 07, 2008, 11:22:44 AM
SMF Shop - SMF Arcade integration: http://www.smfarcade.info/forum/index.php/topic,2627.0.html

tyvm!
Title: Re: SMF Arcade
Post by: DukeN on July 09, 2008, 05:34:24 PM
I have a problem installing games. The installation was succesfull and i'm using RC2 and the latest SMF Arcade. When i want to install a game i click the link ( /action,managegames/sa,files )  and i get the error:

Fatal error: Function name must be a string in /home/***/public_html/forums/Sources/ManageGames.php on line 586
Line 586 says:
$internal_name = $func['substr']($file, 0, $dot);

Anyone knows the solutions for this problem?


Title: Re: SMF Arcade
Post by: niko on July 11, 2008, 01:21:55 PM
SMF Arcade 2.0.14 Released!

This is an important security fix release for previous versions of SMF Arcade 2.0.x. It fixes XSS Vulnerability in BBC tags on comments. Upgrading as soon as possible is recommended.
Title: Re: SMF Arcade
Post by: bros on July 11, 2008, 08:59:41 PM
What would make this error appear?

You need to enable javascript in order to play games.


I already have javascript enabled.

script.js is already on 644.

And it happens on multiple browsers
Title: Re: SMF Arcade
Post by: Ur_Irish_Rose on July 12, 2008, 08:28:13 AM
I am looking for game packages. I have noticed a arcade that has over 5000 games I only have 253.

where do I get more games from?

Is there one place to go to or are there several places to get them from.

Thank you in advance
Title: Re: SMF Arcade
Post by: bros on July 12, 2008, 10:05:32 AM
Quote from: Ur_Irish_Rose on July 12, 2008, 08:28:13 AM
I am looking for game packages. I have noticed a arcade that has over 5000 games I only have 253.

where do I get more games from?

Is there one place to go to or are there several places to get them from.

Thank you in advance

SMFArcade's site has games

I'm guessing those people used IPB arcade games.
Title: Re: SMF Arcade
Post by: joshuam08 on July 15, 2008, 05:07:46 PM
Hello

I recently installed SMF Arcade And i was playing all the games fine and the next time i tried to play a game it says "You Do Not Have Adobe Flash Player Installed, You Also Need To Have Java Script Enabled". I have Flash Player And Java Script Enabled. I have uninstalled it and reinstalled it 3 Times. Does anyone now how to fix this?
Title: Re: SMF Arcade
Post by: Apllicmz on July 17, 2008, 05:45:15 AM
Yes nice work
Translate portuguese an brazilian

<file name="$themes_dir/default/languages/Modifications.portuguese-utf8.php" error="ignore">
<operation>
            <search position="after"><![CDATA[?>]]></search>
            <add><![CDATA[$txt['arcade'] = 'Arcade';
$txt['arcade_admin'] = 'Arcade Admin';   
$txt['arcade_manage_games'] = 'Jogos';
$txt['arcade_manage_category'] = 'Categorias';
$txt['arcade_settings'] = 'Defini&ccedil;&otilde;es';

// Permission names and help
$txt['permissiongroup_arcade'] = 'Arcade';
$txt['permissionname_arcade_view'] = 'Ver Arcade';
$txt['permissionhelp_arcade_view'] = 'Possa acessar Arcada e uso caracter&iacute;sticas b&aacute;sicas como procura e ver Pontos ';
$txt['permissionname_arcade_play'] = 'Jogar no Arcade';
$txt['permissionhelp_arcade_play'] = 'Permitir membros a jogar arcade, no jogo quem tem permiss&atilde;o para';
$txt['permissionname_arcade_admin'] = 'Administrar no arcade';
$txt['permissionhelp_arcade_admin'] = 'Arcade Administrador pode instalar/Editar/Apagar Jogo,apagar pontos e difinir no arcade';
$txt['permissionname_arcade_favorite'] = 'Usar Favoritos no futuro';
$txt['permissionhelp_arcade_favorite'] = 'Permitir membros Favoritos e n&atilde;o favoritos Jogos';
$txt['permissionname_arcade_submit'] = 'Gravar Pontos';
$txt['permissionhelp_arcade_submit'] = 'Permite os membros para economizaros pontos deles/delas .';
$txt['permissionname_arcade_rate'] = 'Pontuar no Jogo';
$txt['permissionhelp_arcade_rate'] = 'Permite os membros para taxar nos jogos .';
$txt['permissionname_arcade_comment'] = 'Permita comentar /editar coment&aacute;rio';
$txt['permissionhelp_arcade_comment'] = 'Permite o membro para editar coment&aacute;rios , pr&oacute;prio ou qualquer ';
$txt['permissionname_arcade_comment_any'] = 'Qualquer';
$txt['permissionname_arcade_comment_own'] = 'Pr&oacute;prio';

// Errors if they can't do something
$txt['cannot_arcade_play'] = 'N&atilde;o lhe permitem jogar jogos !';
$txt['cannot_arcade_view'] = 'N&atilde;o lhe permitem acessar  arcade.';
$txt['cannot_arcade_favorite'] = 'N&atilde;o lhe permitem a jogos favoritos ';
$txt['cannot_arcade_rate'] = 'N&atilde;o lhe permitem taxar jogos ';
$txt['cannot_arcade_comment_own'] = 'N&atilde;o lhe permitem comentar ';

// Who's online
$txt['who_arcade'] = 'Ver Arcade index';
$txt['who_arcade_play'] = 'Jogar <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';
$txt['who_arcade_highscore'] = 'Ver pontos do <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';

// Help
$txt['arcade_max_scores_help'] = 'Pontos m&aacute;ximo que ser&atilde;o armazenadas por Membro . (0 ilimitando)';
$txt['arcade_membergroups_help'] = 'Estes grupos ser&atilde;o permitidos jogar e  ver pontos. Outros n&atilde;o ter&atilde;o esta , s&oacute; usa se modo de permiss&atilde;o dar permiss&atilde;o ao jogo .';]]></add>
        </operation>
    </file>

<file name="$themes_dir/default/languages/Modifications.brazilian-utf8.php" error="ignore">
<operation>
            <search position="after"><![CDATA[?>]]></search>
            <add><![CDATA[$txt['arcade'] = 'Arcade';
$txt['arcade_admin'] = 'Arcade Admin';   
$txt['arcade_manage_games'] = 'Jogos';
$txt['arcade_manage_category'] = 'Categorias';
$txt['arcade_settings'] = 'Defini&ccedil;&otilde;es';

// Permission names and help
$txt['permissiongroup_arcade'] = 'Arcade';
$txt['permissionname_arcade_view'] = 'Ver Arcade';
$txt['permissionhelp_arcade_view'] = 'Possa acessar Arcada e uso caracter&iacute;sticas b&aacute;sicas como procura e ver Pontos ';
$txt['permissionname_arcade_play'] = 'Jogar no Arcade';
$txt['permissionhelp_arcade_play'] = 'Permitir membros a jogar arcade, no jogo quem tem permiss&atilde;o para';
$txt['permissionname_arcade_admin'] = 'Administrar no arcade';
$txt['permissionhelp_arcade_admin'] = 'Arcade Administrador pode instalar/Editar/Apagar Jogo,apagar pontos e difinir no arcade';
$txt['permissionname_arcade_favorite'] = 'Usar Favoritos no futuro';
$txt['permissionhelp_arcade_favorite'] = 'Permitir membros Favoritos e n&atilde;o favoritos Jogos';
$txt['permissionname_arcade_submit'] = 'Gravar Pontos';
$txt['permissionhelp_arcade_submit'] = 'Permite os membros para economizaros pontos deles/delas .';
$txt['permissionname_arcade_rate'] = 'Pontuar no Jogo';
$txt['permissionhelp_arcade_rate'] = 'Permite os membros para taxar nos jogos .';
$txt['permissionname_arcade_comment'] = 'Permita comentar /editar coment&aacute;rio';
$txt['permissionhelp_arcade_comment'] = 'Permite o membro para editar coment&aacute;rios , pr&oacute;prio ou qualquer ';
$txt['permissionname_arcade_comment_any'] = 'Qualquer';
$txt['permissionname_arcade_comment_own'] = 'Pr&oacute;prio';

// Errors if they can't do something
$txt['cannot_arcade_play'] = 'N&atilde;o lhe permitem jogar jogos !';
$txt['cannot_arcade_view'] = 'N&atilde;o lhe permitem acessar  arcade.';
$txt['cannot_arcade_favorite'] = 'N&atilde;o lhe permitem a jogos favoritos ';
$txt['cannot_arcade_rate'] = 'N&atilde;o lhe permitem taxar jogos ';
$txt['cannot_arcade_comment_own'] = 'N&atilde;o lhe permitem comentar ';

// Who's online
$txt['who_arcade'] = 'Ver Arcade index';
$txt['who_arcade_play'] = 'Jogar <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';
$txt['who_arcade_highscore'] = 'Ver pontos do <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';

// Help
$txt['arcade_max_scores_help'] = 'Pontos m&aacute;ximo que ser&atilde;o armazenadas por Membro . (0 ilimitando)';
$txt['arcade_membergroups_help'] = 'Estes grupos ser&atilde;o permitidos jogar e  ver pontos. Outros n&atilde;o ter&atilde;o esta , s&oacute; usa se modo de permiss&atilde;o dar permiss&atilde;o ao jogo .';]]></add>
        </operation>
    </file>



<file name="$themes_dir/default/languages/Modifications.portuguese.php" error="ignore">
<operation>
            <search position="after"><![CDATA[?>]]></search>
            <add><![CDATA[$txt['arcade'] = 'Arcade';
$txt['arcade_admin'] = 'Arcade Admin';   
$txt['arcade_manage_games'] = 'Jogos';
$txt['arcade_manage_category'] = 'Categorias';
$txt['arcade_settings'] = 'Definiçoes';

// Permission names and help
$txt['permissiongroup_arcade'] = 'Arcade';
$txt['permissionname_arcade_view'] = 'Ver Arcade';
$txt['permissionhelp_arcade_view'] = 'Possa acessar Arcada e uso características básicas como procura e ver Pontos ';
$txt['permissionname_arcade_play'] = 'Jogar no Arcade';
$txt['permissionhelp_arcade_play'] = 'Permitir membros a jogar arcade, no jogo quem tem permissao para';
$txt['permissionname_arcade_admin'] = 'Administrar no arcade';
$txt['permissionhelp_arcade_admin'] = 'Arcade Administrador pode instalar/Editar/Apagar Jogo,apagar pontos e difinir no arcade';
$txt['permissionname_arcade_favorite'] = 'Usar Favoritos no futuro';
$txt['permissionhelp_arcade_favorite'] = 'Permitir membros Favoritos e nao favoritos Jogos';
$txt['permissionname_arcade_submit'] = 'Gravar Pontos';
$txt['permissionhelp_arcade_submit'] = 'Permite os usuários para economizaros pontos deles/delas .';
$txt['permissionname_arcade_rate'] = 'Pontuar no Jogo';
$txt['permissionhelp_arcade_rate'] = 'Permite os usuários para taxar nos jogos .';
$txt['permissionname_arcade_comment'] = 'Permita comentar /editar comentario';
$txt['permissionhelp_arcade_comment'] = 'Permite o usuário para editar comentários , próprio ou qualquer ';
$txt['permissionname_arcade_comment_any'] = 'Qualquer';
$txt['permissionname_arcade_comment_own'] = 'Proprio';

// Errors if they can't do something
$txt['cannot_arcade_play'] = 'Não lhe permitem jogar jogos !';
$txt['cannot_arcade_view'] = 'Não lhe permitem acessar  arcade.';
$txt['cannot_arcade_favorite'] = 'Não lhe permitem a jogos favoritos ';
$txt['cannot_arcade_rate'] = 'Não lhe permitem taxar jogos ';
$txt['cannot_arcade_comment_own'] = 'Não lhe permitem comentar ';

// Who's online
$txt['who_arcade'] = 'Ver Arcade index';
$txt['who_arcade_play'] = 'Jogar <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';
$txt['who_arcade_highscore'] = 'Ver pontos do <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';

// Help
$txt['arcade_max_scores_help'] = 'Pontos máximo que serão armazenadas por Membro . (0 ilimitando)';
$txt['arcade_membergroups_help'] = 'Estes grupos serão permitidos jogar e  ver pontos. Outros não terão esta , só usa se modo de permissão dar permissao ao jogo .';]]></add>
        </operation>
    </file>

<file name="$themes_dir/default/languages/Modifications.brazilian.php" error="ignore">
<operation>
            <search position="after"><![CDATA[?>]]></search>
            <add><![CDATA[$txt['arcade'] = 'Arcade';
$txt['arcade_admin'] = 'Arcade Admin';   
$txt['arcade_manage_games'] = 'Jogos';
$txt['arcade_manage_category'] = 'Categorias';
$txt['arcade_settings'] = 'Definiçoes';

// Permission names and help
$txt['permissiongroup_arcade'] = 'Arcade';
$txt['permissionname_arcade_view'] = 'Ver Arcade';
$txt['permissionhelp_arcade_view'] = 'Possa acessar Arcada e uso características básicas como procura e ver Pontos ';
$txt['permissionname_arcade_play'] = 'Jogar no Arcade';
$txt['permissionhelp_arcade_play'] = 'Permitir membros a jogar arcade, no jogo quem tem permissao para';
$txt['permissionname_arcade_admin'] = 'Administrar no arcade';
$txt['permissionhelp_arcade_admin'] = 'Arcade Administrador pode instalar/Editar/Apagar Jogo,apagar pontos e difinir no arcade';
$txt['permissionname_arcade_favorite'] = 'Usar Favoritos no futuro';
$txt['permissionhelp_arcade_favorite'] = 'Permitir membros Favoritos e nao favoritos Jogos';
$txt['permissionname_arcade_submit'] = 'Gravar Pontos';
$txt['permissionhelp_arcade_submit'] = 'Permite os usuários para economizaros pontos deles/delas .';
$txt['permissionname_arcade_rate'] = 'Pontuar no Jogo';
$txt['permissionhelp_arcade_rate'] = 'Permite os usuários para taxar nos jogos .';
$txt['permissionname_arcade_comment'] = 'Permita comentar /editar comentario';
$txt['permissionhelp_arcade_comment'] = 'Permite o usuário para editar comentários , próprio ou qualquer ';
$txt['permissionname_arcade_comment_any'] = 'Qualquer';
$txt['permissionname_arcade_comment_own'] = 'Proprio';

// Errors if they can't do something
$txt['cannot_arcade_play'] = 'Não lhe permitem jogar jogos !';
$txt['cannot_arcade_view'] = 'Não lhe permitem acessar  arcade.';
$txt['cannot_arcade_favorite'] = 'Não lhe permitem a jogos favoritos ';
$txt['cannot_arcade_rate'] = 'Não lhe permitem taxar jogos ';
$txt['cannot_arcade_comment_own'] = 'Não lhe permitem comentar ';

// Who's online
$txt['who_arcade'] = 'Ver Arcade index';
$txt['who_arcade_play'] = 'Jogar <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';
$txt['who_arcade_highscore'] = 'Ver pontos do <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';

// Help
$txt['arcade_max_scores_help'] = 'Pontos máximo que serão armazenadas por Membro . (0 ilimitando)';
$txt['arcade_membergroups_help'] = 'Estes grupos serão permitidos jogar e  ver pontos. Outros não terão esta , só usa se modo de permissão dar permissao ao jogo .';]]></add>
        </operation>
    </file>
Title: Re: SMF Arcade
Post by: adelaidebear on July 22, 2008, 05:18:56 AM
Just recently added this mod, and it works no problems. What i need to know is how do i create a button for it in a theme other than the default theme ?
Which files do i need to alter etc etc

Any help greatly appreciated
Title: Re: SMF Arcade
Post by: Apllicmz on July 22, 2008, 07:45:52 AM
hell
For default themes no problems will see..automatic to other themes puty here..that themes you need our like used
Title: Re: SMF Arcade
Post by: adelaidebear on July 23, 2008, 05:42:41 AM
I'm currently using Silvanost Orange theme, running on 1.5 , what files do i need to change or add ? for the button to appear
Title: Re: SMF Arcade
Post by: KameL on July 24, 2008, 04:51:54 PM
Quote from: adelaidebear on July 23, 2008, 05:42:41 AM
I'm currently using Silvanost Orange theme, running on 1.5 , what files do i need to change or add ? for the button to appear
I've made this:
// Arcade
if ($context['user']['is_logged'])
echo '<li><a' , $current_action=='arcade' ? ' class="current"' : '' , ' href="', $scripturl, '?action=arcade"><span>' , $txt[999] , '</span></a></li>';
Title: Re: SMF Arcade
Post by: adelaidebear on July 25, 2008, 12:31:43 AM
Cheers , managed to do it myself ...........eventually.
Title: Re: SMF Arcade
Post by: Jaba on July 25, 2008, 05:55:33 AM
I'm running SMF 1.1.5 and SMF Arcade 2.0.9
BTW; I've registered at smfarcade.info and requested a 2nd and 3rd activation email but nothing cooking!
Anyway the problem. I have an old version running 2.0.9, it has no uninstall option under the Package Manager.
Under the Installed packages button if I click Uninstall I get the following Error:
"An Error Has Occurred!
This package cannot be uninstalled, because there is no uninstaller!
Please contact the mod author for more information."

If I try to install the new version I get the following error.
"Apply Mod
This package is already installed, and no upgrade was found!
You should uninstall the old version first to avoid problems, or ask the author to create an upgrade from your old version."

I want to keep my Game scores etc. so any info on how to resolve would be nice?
Thanx for any advice.
Title: Re: SMF Arcade
Post by: stfox100 on July 25, 2008, 10:41:05 PM
Almost the same here, I'd like to upgrade from 2.03. Do I have to uninstall the old, then install the new? Then upload all the games again? Or is there an upgrade package?
Title: Re: SMF Arcade
Post by: fwitt on July 27, 2008, 08:10:56 AM
uninstalling the old followed by installing the new leaves the database intact so you shouldnt loose and installed games or highscores.

Quote from: Jaba on July 25, 2008, 05:55:33 AM
I'm running SMF 1.1.5 and SMF Arcade 2.0.9

Anyway the problem. I have an old version running 2.0.9, it has no uninstall option under the Package Manager.
Under the Installed packages button if I click Uninstall I get the following Error:
"An Error Has Occurred!
This package cannot be uninstalled, because there is no uninstaller!
Please contact the mod author for more information."


the reason for this is that you are running an old version of the arcade on a new version of SMF. so the installer doesn't have your verson of SMF listed in its install/uninstall instructions.

you can either:
1 uninstall the smf patch you have installed since the arcade then uninstall the arcade then reinstall the patch and install the new version of the arcade (this may be affected by other mods installed).
2 edit the install/uninstall file in the arcade package on your server (i think you just need to edit the smf version in the <uninstall> tag in package-info.xml, and then manually edit any fails in the uninstall process (you will be using code designed for another version of smf so it may have changed which could cause errors).
3 manually remove all arcade code from your smf files.
Title: Re: SMF Arcade
Post by: erisa on July 27, 2008, 11:03:37 AM
I frequently get "You have not installed Adobe Flash Player, you need install it before you can"

Title: Re: SMF Arcade
Post by: niko on July 28, 2008, 03:52:32 PM
Quote from: erisa on July 27, 2008, 11:03:37 AM
I frequently get "You have not installed Adobe Flash Player, you need install it before you can"

Assuming you're using IE: http://www.smfarcade.info/forum/index.php/topic,4091.msg24986.html#msg24986
Title: Re: SMF Arcade
Post by: Jaba on July 29, 2008, 11:32:03 AM
Quote from: fwitt on July 27, 2008, 08:10:56 AM
uninstalling the old followed by installing the new leaves the database intact so you shouldnt loose and installed games or highscores.

Quote from: Jaba on July 25, 2008, 05:55:33 AM
I'm running SMF 1.1.5 and SMF Arcade 2.0.9

Anyway the problem. I have an old version running 2.0.9, it has no uninstall option under the Package Manager.
Under the Installed packages button if I click Uninstall I get the following Error:
"An Error Has Occurred!
This package cannot be uninstalled, because there is no uninstaller!
Please contact the mod author for more information."


the reason for this is that you are running an old version of the arcade on a new version of SMF. so the installer doesn't have your verson of SMF listed in its install/uninstall instructions.

you can either:
1 uninstall the smf patch you have installed since the arcade then uninstall the arcade then reinstall the patch and install the new version of the arcade (this may be affected by other mods installed).
2 edit the install/uninstall file in the arcade package on your server (i think you just need to edit the smf version in the <uninstall> tag in package-info.xml, and then manually edit any fails in the uninstall process (you will be using code designed for another version of smf so it may have changed which could cause errors).
3 manually remove all arcade code from your smf files.
Thanx for the reply
Keeping scores is good, I thought I would by previous posts but good to be sure.

SMF patch!
1. Well I tried to uninstalling Arcade before patching from 1.1.4 but with the same results as I listed above!
What SMF version do I need to roll back to so enabling me to uninstall and upgrade Arcade?

2. If I just need to edit package-info.xml then I guess I can do that if just a simple edit, I think I've done this for a different package before by just adding the new Ver No. Is that all that needs doing? If so this option sounds best!

3. That sounds possibly a lot of work and open to making mistakes, well for me at least!  :o

I've also tried the " Need another activation email?" option on www.smfarcade.info again today but it's not sending any emails, well to me at least! Can the sites Admin take a look plz  ???
Title: Re: SMF Arcade
Post by: fwitt on July 29, 2008, 05:15:54 PM
Quote from: Jaba on July 29, 2008, 11:32:03 AM
I've also tried the " Need another activation email?" option on www.smfarcade.info again today but it's not sending any emails, well to me at least! Can the sites Admin take a look plz  ???

I've sent a activation reminder email to the addy you signed up with. If you haven't received it please let us know so we can check that the email you typed was correct.
Title: Re: SMF Arcade
Post by: Jaba on July 29, 2008, 05:24:54 PM
Thanx fwitt
I guess I must have typed email incorrectly as nothing came through, nothing in the spam folder either etc!
I'll send email by PM if that's ok?
Title: Re: SMF Arcade
Post by: fwitt on July 30, 2008, 03:47:43 AM
you can send a pm but I go on holiday in a few hours, so if its after that it will probably be quicker to get hold of another admin than wait two weeks for me to get back.
Title: Re: SMF Arcade
Post by: Jaba on July 30, 2008, 04:40:20 AM
Quote from: fwitt on July 30, 2008, 03:47:43 AM
you can send a pm but I go on holiday in a few hours, so if its after that it will probably be quicker to get hold of another admin than wait two weeks for me to get back.
PM sent! Thanx and happy holidays.
Title: Re: SMF Arcade
Post by: midiof[f] on July 30, 2008, 07:32:05 AM
Quote from: scotty5150 on October 05, 2007, 03:45:46 PM
What would cause several arcade games not to save scores? Asteroids, Frogger, Plumber, Shell and Star Wars all won't save scores. I downloaded all the games from the same arcade packages, so they should work.

The only error message I receive is "Score was not saved because session is missing."


Any thoughts?

i have same problem

"Score was not saved because session is missing"
any update with check sessions pls?
Title: Re: SMF Arcade
Post by: Jaba on July 30, 2008, 09:33:18 AM
Still waiting for an email! Any other Arcade Admins can you sort my registration out plz?
Thanx
Title: Re: SMF Arcade
Post by: loadedgun28 on August 03, 2008, 12:14:30 PM
okay i have just added arcade manually but when i go in to my forum the arcade tab is there but when i click on it this message appears.
An Error Has Occurred!
Arcade is currently disabled by admin

I have looked in the admin panel to activate the arcade but cant find anything.
Can someone help please.
Title: Re: SMF Arcade
Post by: Jaba on August 03, 2008, 12:40:29 PM
Quote from: loadedgun28 on August 03, 2008, 12:14:30 PM
okay i have just added arcade manually but when i go in to my forum the arcade tab is there but when i click on it this message appears.
An Error Has Occurred!
Arcade is currently disabled by admin

I have looked in the admin panel to activate the arcade but cant find anything.
Can someone help please.
You should have an "Arcade Admin" section on the left menu and under Settings at the top of this section it should be Enabled!
Does Arcade work under Admin login! If so then check your Permissions for Regular Members!

PS. Still waiting for an email! Any other Arcade Admins can you take a look please??
Title: Re: SMF Arcade
Post by: struggler on August 03, 2008, 06:51:29 PM
I can't seem to install the Mod :(

./Themes/default/index.template.php     Test failed

I already downloaded a template someone provided in a another chat (after searching) and the all of my mods are deleted (I reinstalled em).

How do I fix this issue?

Thanks in advance
Title: Re: SMF Arcade
Post by: djrem on August 03, 2008, 08:21:11 PM
install it manually.
Title: Re: SMF Arcade
Post by: rider on August 03, 2008, 09:20:45 PM
Quote from: struggler on August 03, 2008, 06:51:29 PM
I can't seem to install the Mod :(

./Themes/default/index.template.php     Test failed

I already downloaded a template someone provided in a another chat (after searching) and the all of my mods are deleted (I reinstalled em).

How do I fix this issue?

Thanks in advance

That error only means its writing the arcade button code the that file.You can go ahead with the install.If you're using another theme other then default then you'll have to edit code.
Title: Re: SMF Arcade
Post by: memyselfandI on August 04, 2008, 11:37:43 AM
How do I get the arcade to show in other themes?
Title: Re: SMF Arcade
Post by: ElectricSquid on August 04, 2008, 12:32:38 PM
Quote from: Niko on July 28, 2008, 03:52:32 PM
Quote from: erisa on July 27, 2008, 11:03:37 AM
I frequently get "You have not installed Adobe Flash Player, you need install it before you can"

Assuming you're using IE: http://www.smfarcade.info/forum/index.php/topic,4091.msg24986.html#msg24986

Thankyou, I was having the same issue. The advice given in that link fixed it right up in no time at all.
Title: Re: SMF Arcade
Post by: bros on August 04, 2008, 05:21:59 PM
Any Idea when a version compatible with 2.0 Beta 3 will come out?
Title: Re: SMF Arcade
Post by: Threepwud on August 04, 2008, 05:43:06 PM
When beta 4 is released, according to their site.
I just wonder how will we be able to import our old scores from a database designed for version 1?
Title: Re: SMF Arcade
Post by: memyselfandI on August 04, 2008, 05:53:15 PM
Quote from: memyselfandI on August 04, 2008, 11:37:43 AM
How do I get the arcade to show in other themes?

Never mind i figured this out
Title: Re: SMF Arcade
Post by: Jaba on August 04, 2008, 07:48:24 PM
Quote from: Jaba on August 03, 2008, 12:40:29 PM

PS. Still waiting for an email! Any other Arcade Admins can you take a look please??
To SMF Arcade Admins
Your email registration is not working! It says:
"A new activation email has successfully been sent." But I no emails from you at all  :(

I tried signing up with 2 different email address and also twice with one address which tells me it's already in use so I know I used the correct address to begin with.

I was told in this thread it would be sorted but it wasn't.
Any feedback would be nice!
Thanx.
Title: Re: SMF Arcade
Post by: ElectricSquid on August 04, 2008, 09:43:41 PM
QuoteAn Error Has Occurred!
You are not allowed to play games!
 

This is what it says if you don't have the proper permissions to play games.

Instead, I would like it to inform the user that in order to use the arcade on our site, you have to be either a Gold Member or Site Donor.

What I need is the location of the function that controls that error message. Or just the name of that function would help. It gives me something I can search for.

I can handle the rest.
Thanks ;)
Title: Re: SMF Arcade
Post by: Kylezz on August 04, 2008, 11:58:40 PM
Very nice downloading now  ;)
Title: Re: SMF Arcade
Post by: Jaba on August 05, 2008, 04:40:29 AM
Quote from: ∑£ℓ¢†®¡¢ §ợų¡đ on August 04, 2008, 09:43:41 PM
QuoteAn Error Has Occurred!
You are not allowed to play games!
 

This is what it says if you don't have the proper permissions to play games.

Instead, I would like it to inform the user that in order to use the arcade on our site, you have to be either a Gold Member or Site Donor.

What I need is the location of the function that controls that error message. Or just the name of that function would help. It gives me something I can search for.

I can handle the rest.
Thanks ;)
Tip; When you want to search for something in a set of files try this.
Unzip into a temp folder, then search the files within that folder for the Text you want to find!
I found that text in install-rc2.xml and Modifications.english.php within the Arcade MOD for Ver 1.1.3
It looks simple to just change text but suggest you always test on a test install not your live site in case you bodge it! Always Backup 1st
Hope that helps!
Title: Re: SMF Arcade
Post by: ElectricSquid on August 05, 2008, 06:27:51 AM
Quote from: Jaba on August 05, 2008, 04:40:29 AM
Tip; When you want to search for something in a set of files try this.
Unzip into a temp folder, then search the files within that folder for the Text you want to find!
I found that text in install-rc2.xml and Modifications.english.php within the Arcade MOD for Ver 1.1.3

You know, that's one slick way of locating text that is stored in the database ( $text['sometext'] )

Quote
It looks simple to just change text but suggest you always test on a test install not your live site in case you bodge it! Always Backup 1st
Hope that helps!

Yes, having a test/backup server to work on is much better than the way I used to do it. And yes, ALWAYS make source and database backups before screwing with the code.
Title: Re: SMF Arcade
Post by: ousu on August 05, 2008, 07:32:43 AM
Hi..
I fond that many of the site members dont know about the arcade in the site.
I decided to keep a gif image as new on the arcade button, so taht atleast some body will check that.

tell me hoe to keep an image on the arcade button..
Please help me in this regard...
Title: Re: SMF Arcade
Post by: ousu on August 05, 2008, 09:08:50 PM
How can I put animage on the arcade button?
Title: Re: SMF Arcade
Post by: Adish - (F.L.A.M.E.R) on August 06, 2008, 10:34:39 AM
Hello,
When I try to install the games via the Arcade section in the admin panel, it says please check the permissions of the directory. I have set it up as "777" from the before permission as "775". After doing so, it is still not letting me install the games.
Anything that can solve this problem ?
Thank you.
Title: Re: SMF Arcade
Post by: renjifan on August 07, 2008, 08:53:26 AM
Help!

I'm installing this but this error came up:
SMF Arcade 2.0.0 Installer
Creating tables

Fatal error: Call to undefined function CreateTables() in /www/hostbot.com/r/e/n/renjifan/htdocs/forum/Packages/temp/package_install.php on line 75
website stat

On line 75 of package_install.php is:
$errors = CreateTables($Tables);

What should I do?
Title: Re: SMF Arcade
Post by: sunnydsl on August 07, 2008, 06:24:20 PM
but its not getting highscore or somthing

check this
www.mirrorfacts.com
Title: Re: SMF Arcade
Post by: Yigal on August 08, 2008, 04:41:26 AM
Hi...

I for some reason got 2 arcade buttons >.<

for more info please look at www.hoverlinks.org
Title: Re: SMF Arcade
Post by: Bec on August 08, 2008, 05:02:54 AM
Im getting an error message on mine, am running 1.1.5, has been installed for 2 months now, everything was fine to start off with but getting this error message "Score was not saved because checks failed and you probably tried to cheat or your browser is malfunctioning" lately... any ideas how to fix it?

Cheers!
Title: Re: SMF Arcade
Post by: Ozman69 on August 08, 2008, 03:03:47 PM
Quote from: Yigal_2 on August 08, 2008, 04:41:26 AM
Hi...

I for some reason got 2 arcade buttons >.<

for more info please look at www.hoverlinks.org

Sounds like you have the same problem I had, but I had THREE buttons.  Easy fix though if it's the same thing.  Open the index.template.php file and look for multiple occurances of this code (it's near the bottom, line 550ish on mine):

    echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
</td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


If you have extra lines that look just like that, take them out.  I think mine happened when I uninstalled and reinstalled the arcade a few times early on. 

Let me know if this helped.

Oz
Title: Re: SMF Arcade
Post by: Yigal on August 08, 2008, 04:16:10 PM
Thank you very much! This will help me a lot in the future :D
Title: Re: SMF Arcade
Post by: vypergt on August 08, 2008, 06:24:06 PM
I tried this mod but it didn't work, said it was forbidden on my server or something.
Title: Re: SMF Arcade
Post by: fwitt on August 10, 2008, 11:51:11 AM
Quote from: Jaba on August 04, 2008, 07:48:24 PM
Quote from: Jaba on August 03, 2008, 12:40:29 PM

PS. Still waiting for an email! Any other Arcade Admins can you take a look please??
To SMF Arcade Admins
Your email registration is not working! It says:
"A new activation email has successfully been sent." But I no emails from you at all  :(

I tried signing up with 2 different email address and also twice with one address which tells me it's already in use so I know I used the correct address to begin with.

I was told in this thread it would be sorted but it wasn't.
Any feedback would be nice!
Thanx.


have manually activated your account, the pm info got to my inbox about 30mins after i left to go on holiday by the look of things.
Title: Re: SMF Arcade
Post by: tom155 on August 10, 2008, 12:10:33 PM
How do I go about getting games modified for arcade like this one here Deal or no deal I installed it into arcade and it works fine but there is no scoring for it.
Title: Re: SMF Arcade
Post by: rider on August 10, 2008, 12:14:47 PM
Quote from: tom155 on August 10, 2008, 12:10:33 PM
How do I go about getting games modified for arcade like this one here Deal or no deal I installed it into arcade and it works fine but there is no scoring for it.
1st you have to get the authors permission to convert the game and then find someone to do it.
Title: Re: SMF Arcade
Post by: jmil on August 10, 2008, 01:10:16 PM
I installed the Arcade with a few problems - The Buttons are missing the icons, I found the thread and installed the buttons but they did not work??

Second - Several games come up "Need to install flash Player" I have it so wondering whats up.

Title: Re: SMF Arcade
Post by: Ozman69 on August 10, 2008, 02:15:16 PM
Quote from: jmil on August 10, 2008, 01:10:16 PM
I installed the Arcade with a few problems - The Buttons are missing the icons, I found the thread and installed the buttons but they did not work??

Second - Several games come up "Need to install flash Player" I have it so wondering whats up.



Not sure which buttons you are talking about, but I had the same problem with Flash, so I'm assuming you are running Vista.  If so, try this:

For Vista (32 bit):

1. Open Computer.

2. Navigate to C:\Windows\System32\.

3. Scroll down and open the Macromed directory.

4. Open the Flash directory.

5. Right-click FlashUtil9b.

6. Select Run as Administrator.

7. When the UAC prompt appears, select Continue.

8. Follow the Flash Player installation wizard.


Hope that helps.  Might want to explain which buttons aren't showing up.

Oz
Title: Re: SMF Arcade
Post by: tom155 on August 10, 2008, 02:43:38 PM
Is it hard to have it modified to work with arcade?

Quote from: rider on August 10, 2008, 12:14:47 PM
Quote from: tom155 on August 10, 2008, 12:10:33 PM
How do I go about getting games modified for arcade like this one here Deal or no deal I installed it into arcade and it works fine but there is no scoring for it.
1st you have to get the authors permission to convert the game and then find someone to do it.
Title: Re: SMF Arcade
Post by: jmil on August 10, 2008, 03:43:58 PM
Quote from: jmil on August 10, 2008, 01:10:16 PM
I installed the Arcade with a few problems - The Buttons are missing the icons, I found the thread and installed the buttons but they did not work??

Second - Several games come up "Need to install flash Player" I have it so wondering whats up.



I should have said ICONs such as the:

Arcade_favorites.gif
arcade_play.gif

etc..

I am not using Vista - XP
Title: Re: SMF Arcade
Post by: Bec on August 10, 2008, 08:28:25 PM
Quote from: Bec on August 08, 2008, 05:02:54 AM
Im getting an error message on mine, am running 1.1.5, has been installed for 2 months now, everything was fine to start off with but getting this error message "Score was not saved because checks failed and you probably tried to cheat or your browser is malfunctioning" lately... any ideas how to fix it?

Cheers!

would appreciate some help!

Thanks:)
Title: Re: SMF Arcade
Post by: chicka123 on August 11, 2008, 01:33:53 AM
Hello!

I´m an completly newbie with php and this stuff. I have installed smf arcade on our forum and we have a problem with it. Some users cant view the games. Its really strange because, some users who are in the same group can view the games and some can`t. Can anyone please help me?  :'(
Title: Re: SMF Arcade
Post by: MissyNL on August 11, 2008, 07:58:57 AM
Quote from: F.L.A.M.E.R on August 06, 2008, 10:34:39 AM
Hello,
When I try to install the games via the Arcade section in the admin panel, it says please check the permissions of the directory. I have set it up as "777" from the before permission as "775". After doing so, it is still not letting me install the games.
Anything that can solve this problem ?
Thank you.

i have the same problem.. if set the map manual to 777..but did not help..

then i have unzipped the package.. and uploaded the game manual.  but then it not even shows up in the list or in the install tab..

My members love this mod.. but i want to add games.. i also can not add games from sites like http://www.ibpdownloads.com/
Title: Re: SMF Arcade (Request)
Post by: dwd2000 on August 12, 2008, 03:37:45 AM
Is it possible for you to add 2 more columns on the "Games Edit" page?
One for "Current Category" and the other having a drop down menu providing the category options.
I'm already using the "Drop down category" mod, so the "drop down category" column can get the info needed from there.
(see attachment)
If you're going to do that, you might also consider making the "Delete" column into radio buttons for each game and add another column for "Clear Scores", also with radio buttons, and use the submit button at the bottom to make all the changes at once. A "Select All" for clearing scores could be helpful there too.
Just some thoughts.
Title: Re: SMF Arcade
Post by: tuguex on August 12, 2008, 08:12:17 AM
How can i put a button in this position?

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.hdd.pt%2F%2Fimages%2F%2F1097776409.jpg&hash=3b88ba9cceeab27558ace9a97da999005913b0a8)
Title: Re: SMF Arcade
Post by: Ur_Irish_Rose on August 12, 2008, 09:05:34 PM
Hi

I am having huge problems with the forum arcade, I have over 4000 games installed and most of the scores aren't saving anymore.

We've recently changed hosts and the forum does have a few errors happening which are being looked at but is there a fix for the scores not saving???

Thanks
Sharon
Title: Re: SMF Arcade
Post by: clairebear on August 16, 2008, 10:16:59 AM
I am having problems as well.

I had the Arcade and SMF 1.1.5

When I uninstalled it, I still have an empty box where the Arcade settings used to be.
My members do not have a profile tab anymore. They just have Logout, Home, and Search
I can not find ANY permissions for profiles.
I have an empty catergory with General Permissions and nothing in it.
Members can not upload or change avatars

And all of this since the uninstallment of the arcade.
Pictures are included.
http://www.centralalliancepi.com (http://www.centralalliancepi.com)
Title: Re: SMF Arcade
Post by: fwitt on August 16, 2008, 09:44:31 PM
Quote from: clairebear on August 16, 2008, 10:16:59 AM
I am having problems as well.

I had the Arcade and SMF 1.1.5

When I uninstalled it, I still have an empty box where the Arcade settings used to be.
My members do not have a profile tab anymore. They just have Logout, Home, and Search
I can not find ANY permissions for profiles.
I have an empty catergory with General Permissions and nothing in it.
Members can not upload or change avatars

And all of this since the uninstallment of the arcade.
Pictures are included.
http://www.centralalliancepi.com (http://www.centralalliancepi.com)

looks like you need to remove the edits that you did to your themes templates, The Arcade currently does not install/uninstall from any theme except the default theme. The edits you did manually to your theme when you installed the arcade will need to be undone
Title: Re: SMF Arcade
Post by: SuperZambezi on August 18, 2008, 07:41:03 PM
im having a problem - me, the admin can only access the arcade wothout it telling me that i am not allowed to play any games but my test account can with no problem. I tried to mess with the post required stuff but still nothing. Thanks for any help.
Title: Re: SMF Arcade
Post by: memyselfandI on August 19, 2008, 10:39:56 PM
170 pages of posts is really hard to go through, I went through some of them but I didn't find a solution for my problem for some reason I am unable to submit any scores for the arcade. The submit link won't work on any game. Anyone have any idea why that might be happening?
Title: Re: SMF Arcade
Post by: rider on August 20, 2008, 12:01:08 AM
Quote from: Ur_Irish_Rose on August 12, 2008, 09:05:34 PM
Hi

I am having huge problems with the forum arcade, I have over 4000 games installed and most of the scores aren't saving anymore.

We've recently changed hosts and the forum does have a few errors happening which are being looked at but is there a fix for the scores not saving???

Thanks
Sharon
Chances are with 4000 games you have  gamedata folders with them.try and upload the folders again.see if that helps.
Title: Re: SMF Arcade
Post by: rider on August 20, 2008, 12:01:56 AM
Quote from: memyselfandI on August 19, 2008, 10:39:56 PM
170 pages of posts is really hard to go through, I went through some of them but I didn't find a solution for my problem for some reason I am unable to submit any scores for the arcade. The submit link won't work on any game. Anyone have any idea why that might be happening?
Where did you get the games from?Not all games work with the arcade.
Title: Re: SMF Arcade
Post by: rider on August 20, 2008, 12:03:14 AM
Quote from: SuperZambezi on August 18, 2008, 07:41:03 PM
im having a problem - me, the admin can only access the arcade wothout it telling me that i am not allowed to play any games but my test account can with no problem. I tried to mess with the post required stuff but still nothing. Thanks for any help.
Check the categories and games permissions.all the members permissions.
Title: Re: SMF Arcade
Post by: SuperZambezi on August 20, 2008, 12:37:16 AM
taht did the trick. thanks  ;D
Title: Re: SMF Arcade
Post by: rider on August 20, 2008, 12:38:32 AM
Quote from: SuperZambezi on August 20, 2008, 12:37:16 AM
taht did the trick. thanks  ;D
Glad to help.
Title: Re: SMF Arcade
Post by: bullbreedluverz on August 20, 2008, 07:41:58 AM
not really a support question but anyone have any good links for games that actually work with smf arcade that they could share  :D
Title: Re: SMF Arcade
Post by: God Of Mana on August 20, 2008, 02:02:16 PM
Getting this error when i try to change the catagory of a game.

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2
File: /home/brandon/public_html/forums/Sources/ManageGames.php
Line: 176

My ManageGames.php is exactly as i got it, no changes.
Title: Re: SMF Arcade
Post by: SA™ on August 20, 2008, 05:05:33 PM
Quote from: bullbreedluverz on August 20, 2008, 07:41:58 AM
not really a support question but anyone have any good links for games that actually work with smf arcade that they could share  :D

games games games i have oiver 2000 games to dl at my site you  can dl as ctagorys and single game downloads

http://sleepy-arcade.ath.cx/dev/index2.php

you have to reg to dl tho
Title: Re: SMF Arcade
Post by: City Builder on August 20, 2008, 05:18:11 PM
Quote from: wdm2005 on August 20, 2008, 05:05:33 PM
http://sleepy-arcade.ath.cx/dev/index2.php

you have to reg to dl tho

How many sides does a square have?

I attempted to register on your site, and the antibot question was how many sides does a square have and I answered 4, which was incorrect so I answered four which was also incorrect.  Are we thinking in 3D space and I have to answer 6 or six to pass the antibot question or is it broken?

The next question is how many sides does a heptagon have.  Huh, a what?  Would be much easier with simple plus mathmatics I think and just as secure.
Title: Re: SMF Arcade
Post by: SA™ on August 20, 2008, 05:24:50 PM
i didnt do that mod its the way it comes
Title: Re: SMF Arcade
Post by: bullbreedluverz on August 20, 2008, 06:45:14 PM
Quote from: wdm2005 on August 20, 2008, 05:05:33 PM
Quote from: bullbreedluverz on August 20, 2008, 07:41:58 AM
not really a support question but anyone have any good links for games that actually work with smf arcade that they could share  :D

games games games i have oiver 2000 games to dl at my site you  can dl as ctagorys and single game downloads

http://sleepy-arcade.ath.cx/dev/index2.php

you have to reg to dl tho

cheers ill check ur site out
Title: Re: SMF Arcade
Post by: johny000 on August 20, 2008, 11:07:00 PM
hello guys how are you i love your mad  thank soo much for this moad

i have one Q

i'm runing  smf v1.1.5

i made demo image in  Photoshop here is

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg213.imageshack.us%2Fimg213%2F428%2Fdemoky3.jpg&hash=dce54a173e09fa34643c33b46bd20726582a4bba)

is there is any way  i can make my arcade page look like the photo i made in Photoshop  or some thing close to it
Title: Re: SMF Arcade
Post by: bullbreedluverz on August 21, 2008, 07:35:29 AM
ive installed a pile of games but installed them as disabled just whilst i loaded them all in but now cant find how to enable them....... HELP!!! my members are chomping at the bit and ready to lynch me...........
Title: Re: SMF Arcade
Post by: City Builder on August 21, 2008, 07:48:42 AM
Just go into your forums admin panel, and click on the games link to where it shows you a listing of all the games that are installed, then click on any of them and checkmark the box to enable them, and adjust any other paramaters you may need to do from that properties page for each game.  It can be quite a lengthy process having to manually enable all games if they are installed disabled, as I've not found a mass enable way of doing it, perhaps short of deleting all the disabled games and reinstalling them again, though I don't know if that is easier or even the way to do it in a massive way.

But that is how you enable the game...
1. Go to forum admin panel
2. Click on "Games" in the games control panel
3. Click on any of the games names that are listed there.
4. Checkmark the box to enable the game
5. Adjust any other paramaters for the individual game
6. Rinse and Repeat until you are done.

If someone knows a faster way, please speak up.
Title: Re: SMF Arcade
Post by: bullbreedluverz on August 21, 2008, 08:52:41 AM
thanx city builder
Title: Re: SMF Arcade
Post by: memyselfandI on August 21, 2008, 09:45:12 PM
Quote from: rider on August 20, 2008, 12:01:56 AM
Quote from: memyselfandI on August 19, 2008, 10:39:56 PM
170 pages of posts is really hard to go through, I went through some of them but I didn't find a solution for my problem for some reason I am unable to submit any scores for the arcade. The submit link won't work on any game. Anyone have any idea why that might be happening?
Where did you get the games from?Not all games work with the arcade.

Only what came with it so far. I haven't installed any extras
Title: Re: SMF Arcade
Post by: rider on August 22, 2008, 03:43:51 AM
Quote from: bullbreedluverz on August 21, 2008, 07:35:29 AM
ive installed a pile of games but installed them as disabled just whilst i loaded them all in but now cant find how to enable them....... HELP!!! my members are chomping at the bit and ready to lynch me...........
you'll have to enable each game.goto admin>games and click the edit tab and enable them.
Title: Re: SMF Arcade
Post by: Sickthing on August 22, 2008, 05:58:39 AM
I had an install issue. :(  Getting this error:

Type     Action     Description
1.    Execute Modification    ./index.php    Test successful
2.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
3.    Execute Modification    ./Sources/Subs.php    Test failed
4.    Execute Modification    ./Sources/Who.php    Test successful
5.    Execute Modification    ./Themes/default/index.template.php    Test failed
6.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
7.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful

Suggestions on how to fix this?  i installed a lot of mods yesterday.  I'm beginning to think that's a bad idea.  I  may just do a restore.

I thought I had 1.1.5 installed but I had 1.1.4 and installed mods for 1.1.5  hopefully I'll some advice.  Thanks
Title: Re: SMF Arcade
Post by: God Of Mana on August 22, 2008, 07:19:01 AM
Hi, on my website: http://attish.yfma.com/forums/index.php?action=arcade the options for random game high scores arcade and the other options over lap and are loking kind of ugly. How can i fix this?
Title: Re: SMF Arcade
Post by: tuguex on August 22, 2008, 08:28:25 AM
How i can add "Arcade" button to my forum menu?

imp: i'm using a menu with images
Title: Re: SMF Arcade
Post by: God Of Mana on August 22, 2008, 01:21:38 PM
How can I make the the Arcade use a different theme from the entire site?
Title: Re: SMF Arcade
Post by: The Saviour on August 24, 2008, 11:02:31 AM
The link to my arcade is in the menu bar, but I only want the link viewable by registered members.

How do I accomplish this?
Title: Re: SMF Arcade
Post by: rider on August 24, 2008, 11:13:58 AM
Quote from: The Saviour on August 24, 2008, 11:02:31 AM
The link to my arcade is in the menu bar, but I only want the link viewable by registered members.

How do I accomplish this?
check your guests permissions.
Title: Re: SMF Arcade
Post by: rider on August 24, 2008, 11:15:06 AM
Quote from: tuguex on August 22, 2008, 08:28:25 AM
How i can add "Arcade" button to my forum menu?

imp: i'm using a menu with images
click the link in my sig.you'll find your answers there.
Title: Re: SMF Arcade
Post by: The Saviour on August 24, 2008, 11:32:57 AM
Quote from: rider on August 24, 2008, 11:13:58 AM
Quote from: The Saviour on August 24, 2008, 11:02:31 AM
The link to my arcade is in the menu bar, but I only want the link viewable by registered members.

How do I accomplish this?
check your guests permissions.

I have...

Arcade permissions for Guests are all unchecked...yet the link is still in the menu bar when a Guest visits the site.
Title: Re: SMF Arcade
Post by: coolcrustycat on August 24, 2008, 04:07:11 PM
We've installed the arcade mod (apparently successfully), and it shows on the admin panel. We then downloaded and installed a gamespack, which shows as installed from the manage games box. Checked that they're installed enabled, but can't see them anywhere (not even Admin) except via that box. Do we need to provide a mod to the theme to see them or something? Some of the previous posts here seem to indicate that it should provide a button to connect....
Title: Re: SMF Arcade
Post by: fwitt on August 25, 2008, 07:12:05 AM
Quote from: coolcrustycat on August 24, 2008, 04:07:11 PM
We've installed the arcade mod (apparently successfully), and it shows on the admin panel. We then downloaded and installed a gamespack, which shows as installed from the manage games box. Checked that they're installed enabled, but can't see them anywhere (not even Admin) except via that box. Do we need to provide a mod to the theme to see them or something? Some of the previous posts here seem to indicate that it should provide a button to connect....

The Arcade only installs to SMF's default theme if you use anouther theme you will need to do the theme edits on that theme.
Title: Re: SMF Arcade
Post by: coolcrustycat on August 25, 2008, 09:23:49 AM
Quote from: fwitt on August 25, 2008, 07:12:05 AM
Quote from: coolcrustycat on August 24, 2008, 04:07:11 PM
We've installed the arcade mod (apparently successfully), and it shows on the admin panel. We then downloaded and installed a gamespack, which shows as installed from the manage games box. Checked that they're installed enabled, but can't see them anywhere (not even Admin) except via that box. Do we need to provide a mod to the theme to see them or something? Some of the previous posts here seem to indicate that it should provide a button to connect....

The Arcade only installs to SMF's default theme if you use anouther theme you will need to do the theme edits on that theme.
Thanks fwitt. Is there anywhere that I can find the mods necessary for Dilber and Babylon themes - I've trawled through several pages here :)
Title: Re: SMF Arcade
Post by: fwitt on August 27, 2008, 01:32:58 PM
Quote from: coolcrustycat on August 25, 2008, 09:23:49 AM
Quote from: fwitt on August 25, 2008, 07:12:05 AM
Quote from: coolcrustycat on August 24, 2008, 04:07:11 PM
We've installed the arcade mod (apparently successfully), and it shows on the admin panel. We then downloaded and installed a gamespack, which shows as installed from the manage games box. Checked that they're installed enabled, but can't see them anywhere (not even Admin) except via that box. Do we need to provide a mod to the theme to see them or something? Some of the previous posts here seem to indicate that it should provide a button to connect....

The Arcade only installs to SMF's default theme if you use anouther theme you will need to do the theme edits on that theme.
Thanks fwitt. Is there anywhere that I can find the mods necessary for Dilber and Babylon themes - I've trawled through several pages here :)

I think this is probly the best place to start http://www.smfarcade.info/forum/index.php/topic,2051.0.html
Title: Permissions problem. Partial Arcade access when User is in new member group!
Post by: Jaba on August 29, 2008, 08:13:22 AM
I've followed the advice here but still having problems with Arcade access!
http://www.simplemachines.org/community/index.php?topic=241409.0

I've added a User to a new Member Group I've created and they can only see 3 games in the Arcade! If I remove them from this new group then they can see all the games once more!

I've created this new Member Group for access to a Board that regular members can not see! So it's private and I will add them to the group manually as and when I wish to etc.
When I 1st created the new group the User I had in there told me they stopped having access to the Arcade, couldn't even get in to Arcade to view! They also stopped having access to the Gallery!!
I deleted the new group and created it again as I think I may have gone a bit wrong when setting up.

Current board setup;
Add Membergroup
Based on Regular Members.
"Visible Boards: Boards the membergroup can see" all selected.

Under Permissions Allowed/Denied, the group has the same amount of permissions and none denied as Regular Members.

All permissions are set Global and I haven't changed anything there to local.

When I check Permission for the users profile "Show Permissions"
It shows Given by: "new group" I created and put this user in.
Under Admin – Arcade – Categories
I've selected the new group as per the post above! But when I put the user in the new group it then only shows 3 games!

Note. If the user logs out they can then see all the games listed as Guest!!!
This problem

I think I'm overlooking something but can't see where I've gone wrong
Forum version: SMF 1.1.5

I've been told to post here as this in not "Core smf"!!  :-\
Thanx for any advice on this.
Title: Re: Permissions problem. Partial Arcade access when User is in new member group!
Post by: fwitt on August 29, 2008, 03:27:52 PM
Quote from: Jaba on August 29, 2008, 08:13:22 AM
When I check Permission for the users profile "Show Permissions"
It shows Given by: "new group" I created and put this user in.
Under Admin – Arcade – Categories
I've selected the new group as per the post above! But when I put the user in the new group it then only shows 3 games!

Note. If the user logs out they can then see all the games listed as Guest!!!

Sounds like its an arcade permissions thing first check your arcade Settings to see which permissions type you are using then if you are using catagory based permissions go into catagories and add this new membergroup to each catagory they are allowed to use or if its games do the same. As some games work comparing the settings for these/their catagory to those of a game they dont have access to should help with finding the issues.
Title: Re: SMF Arcade
Post by: dbasetrinity on August 29, 2008, 07:11:05 PM
Hello i manually installed the smf arcade mod on my smf forums ver 1.1.5

Installing it went pretty easy and everything in admin and the arcade window itself seems to work

however after installing game pack 1 the games are listed and i click to play one
and all i get is a screen that flashes toward the top of the page

i went through all the files and double checked them i cant seem to figure out why it isnt working.

http://technogeeks.homelinux.net/forum/index.php?action=arcade (http://technogeeks.homelinux.net/forum/index.php?action=arcade)

Im Running a LAMP setup and i have set permissions.

Thanks for any help,
Title: Re: SMF Arcade
Post by: Jaba on August 29, 2008, 08:03:40 PM
Quote from: fwitt on August 29, 2008, 03:27:52 PM
Quote from: Jaba on August 29, 2008, 08:13:22 AM
When I check Permission for the users profile "Show Permissions"
It shows Given by: "new group" I created and put this user in.
Under Admin – Arcade – Categories
I've selected the new group as per the post above! But when I put the user in the new group it then only shows 3 games!

Note. If the user logs out they can then see all the games listed as Guest!!!

Sounds like its an arcade permissions thing first check your arcade Settings to see which permissions type you are using then if you are using catagory based permissions go into catagories and add this new membergroup to each catagory they are allowed to use or if its games do the same. As some games work comparing the settings for these/their catagory to those of a game they dont have access to should help with finding the issues.
Thanx for the reply fwitt
Under Admin - Arcade - Settings the Permission mode is set to "Game Only" and I've never changed this setting.
I had already gone in to Arcade Categories and added the member group and ticked!

So I'm at a loss with what this problem is!
I don't see why this new Group I created has anything to do with removing or restricting access to the Arcade. I don't think Rights/Permissions should work this way IMHO!

The new Group has no link to Arcade at all, it's for a hidden board that a small select list of Users will have access to.
Is there detailed instructions on permissions available I can read up on, and is there any known problems like this that have come up before relating to Arcade and perhaps Gallery also!
Thanx for any feedback.
Title: Re: SMF Arcade
Post by: B.SkiLLs on August 30, 2008, 07:15:40 AM
Hi all,
I tried to install this mod on 1.1.5 with TP and when i upload it is test fine but when i try and apply mod i get this message:

An Error Has Occurred!
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!



I have went into my FTP and set all package directory's to writable and still doesnt work and i deleted it completely and then retried and still same thing happens.

I dont not get an actual error in my error log though so.. i dont know whats going on

Anybody know or have a fast answer or easy answer to this problem.

All help is really thanked.


NOTE:
I just installed 3 other packages before this so i know my package manager works so.... im lost on this one.





Title: Re: SMF Arcade
Post by: swan on August 30, 2008, 07:16:52 AM
This happend to me so i changed all the packages in my cpanel (file manager) to 755 and it was fine then
Title: Re: SMF Arcade
Post by: B.SkiLLs on August 30, 2008, 07:29:10 AM
Quote from: swan on August 30, 2008, 07:16:52 AM
This happend to me so i changed all the packages in my cpanel (file manager) to 755 and it was fine then
i just tried that for the heck of it and still said the same thing.

so i changed everything back to the way i had it safely etc etc...

Anybody with any help or fix as soon as possible would be really appreciated.

thanks again

Title: Re: SMF Arcade
Post by: rider on August 30, 2008, 08:18:43 AM
Quote from: B.SkiLLs on August 30, 2008, 07:29:10 AM
Quote from: swan on August 30, 2008, 07:16:52 AM
This happend to me so i changed all the packages in my cpanel (file manager) to 755 and it was fine then
i just tried that for the heck of it and still said the same thing.

so i changed everything back to the way i had it safely etc etc...

Anybody with any help or fix as soon as possible would be really appreciated.

thanks again


try this.packages>options>make all files writable.then install
Title: Re: SMF Arcade
Post by: fwitt on August 30, 2008, 08:28:16 AM
Quote from: Jaba on August 29, 2008, 08:03:40 PM
Under Admin - Arcade - Settings the Permission mode is set to "Game Only" and I've never changed this setting.
I had already gone in to Arcade Categories and added the member group and ticked!

when the permissions mode is set to "Game only" it uses the Per Game permissions (in each games induvidual settings). the catagory settings are ignored in this mode so changing them will make no difference.
Title: Re: SMF Arcade
Post by: rider on August 30, 2008, 09:25:49 AM
Quote from: fwitt on August 30, 2008, 08:28:16 AM
Quote from: Jaba on August 29, 2008, 08:03:40 PM
Under Admin - Arcade - Settings the Permission mode is set to "Game Only" and I've never changed this setting.
I had already gone in to Arcade Categories and added the member group and ticked!

when the permissions mode is set to "Game only" it uses the Per Game permissions (in each games induvidual settings). the catagory settings are ignored in this mode so changing them will make no difference.
to add to this change the game only permission to none and your problems should be fixed.
Title: Re: SMF Arcade
Post by: Jaba on August 30, 2008, 02:22:04 PM
Quote from: rider on August 30, 2008, 09:25:49 AM
Quote from: fwitt on August 30, 2008, 08:28:16 AM
Quote from: Jaba on August 29, 2008, 08:03:40 PM
Under Admin - Arcade - Settings the Permission mode is set to "Game Only" and I've never changed this setting.
I had already gone in to Arcade Categories and added the member group and ticked!

when the permissions mode is set to "Game only" it uses the Per Game permissions (in each games induvidual settings). the catagory settings are ignored in this mode so changing them will make no difference.
to add to this change the game only permission to none and your problems should be fixed.
fwitt & rider, big thank you for the feedback on this prob.

Rider that did indeed fix the problem, many thanx  8)
Just to finish off on this one, is this a small bug or is there a reason the permissions are doing this as what I did to me seemed it shouldn't have had that effect!?
All the best and thanx again.
Title: Re: SMF Arcade
Post by: rider on August 30, 2008, 03:12:22 PM
Quote from: Jaba on August 30, 2008, 02:22:04 PM
Quote from: rider on August 30, 2008, 09:25:49 AM
Quote from: fwitt on August 30, 2008, 08:28:16 AM
Quote from: Jaba on August 29, 2008, 08:03:40 PM
Under Admin - Arcade - Settings the Permission mode is set to "Game Only" and I've never changed this setting.
I had already gone in to Arcade Categories and added the member group and ticked!

when the permissions mode is set to "Game only" it uses the Per Game permissions (in each games induvidual settings). the catagory settings are ignored in this mode so changing them will make no difference.
to add to this change the game only permission to none and your problems should be fixed.
fwitt & rider, big thank you for the feedback on this prob.

Rider that did indeed fix the problem, many thanx  8)
Just to finish off on this one, is this a small bug or is there a reason the permissions are doing this as what I did to me seemed it shouldn't have had that effect!?
All the best and thanx again.

glad to help.the reason this happens is that any group you add after the arcades been installed,you have to set their permissons to what the arcade is set for.yours being set for game only means you would have to go thru each game to give the new group permission to play it.hope this helps.
Title: Re: SMF Arcade
Post by: B.SkiLLs on August 30, 2008, 03:46:06 PM
Quote from: rider on August 30, 2008, 08:18:43 AM
Quote from: B.SkiLLs on August 30, 2008, 07:29:10 AM
Quote from: swan on August 30, 2008, 07:16:52 AM
This happend to me so i changed all the packages in my cpanel (file manager) to 755 and it was fine then
i just tried that for the heck of it and still said the same thing.

so i changed everything back to the way i had it safely etc etc...

Anybody with any help or fix as soon as possible would be really appreciated.

thanks again


try this.packages>options>make all files writable.then install

i did that, and it worked befoe i even seen your post plus in my cpanel but now a new problem,

I cn find the games no where at all, only the admin settings to choose what games.. but can not find the game section no where and i even have a link on my forum to the arcade but it doesnt take me there either.

kind of like i added a gallery and i already had a gallery link / tab on top and it works fine. I click the arcade tab and it takes me right back to my forum. But the gallery works. i click that tab an it takes me to my gallery

so where do i find my game pages and / or connect to my arcade tab link on top ??

I use 1.1.5 with TP

Title: Re: SMF Arcade
Post by: rider on August 30, 2008, 04:55:51 PM
Quote from: B.SkiLLs on August 30, 2008, 03:46:06 PM
Quote from: rider on August 30, 2008, 08:18:43 AM
Quote from: B.SkiLLs on August 30, 2008, 07:29:10 AM
Quote from: swan on August 30, 2008, 07:16:52 AM
This happend to me so i changed all the packages in my cpanel (file manager) to 755 and it was fine then
i just tried that for the heck of it and still said the same thing.

so i changed everything back to the way i had it safely etc etc...

Anybody with any help or fix as soon as possible would be really appreciated.

thanks again


try this.packages>options>make all files writable.then install

i did that, and it worked befoe i even seen your post plus in my cpanel but now a new problem,

I cn find the games no where at all, only the admin settings to choose what games.. but can not find the game section no where and i even have a link on my forum to the arcade but it doesnt take me there either.

kind of like i added a gallery and i already had a gallery link / tab on top and it works fine. I click the arcade tab and it takes me right back to my forum. But the gallery works. i click that tab an it takes me to my gallery

so where do i find my game pages and / or connect to my arcade tab link on top ??

I use 1.1.5 with TP


make sure the arcade is enabled and how did you install the games.post a link to your site if you want.
Title: Re: SMF Arcade
Post by: Jaba on August 30, 2008, 07:38:22 PM
Quote from: rider on August 30, 2008, 03:12:22 PM
Quote from: Jaba on August 30, 2008, 02:22:04 PM
Quote from: rider on August 30, 2008, 09:25:49 AM
Quote from: fwitt on August 30, 2008, 08:28:16 AM
Quote from: Jaba on August 29, 2008, 08:03:40 PM
Under Admin - Arcade - Settings the Permission mode is set to "Game Only" and I've never changed this setting.
I had already gone in to Arcade Categories and added the member group and ticked!

when the permissions mode is set to "Game only" it uses the Per Game permissions (in each games induvidual settings). the catagory settings are ignored in this mode so changing them will make no difference.
to add to this change the game only permission to none and your problems should be fixed.
fwitt & rider, big thank you for the feedback on this prob.

Rider that did indeed fix the problem, many thanx  8)
Just to finish off on this one, is this a small bug or is there a reason the permissions are doing this as what I did to me seemed it shouldn't have had that effect!?
All the best and thanx again.

glad to help.the reason this happens is that any group you add after the arcades been installed,you have to set their permissons to what the arcade is set for.yours being set for game only means you would have to go thru each game to give the new group permission to play it.hope this helps.
Hi Rider, yeah I didn't think that level of control existed so I can think of at least one good way of applying it.
Thanx again for the detailed replies, most helpful  :)
Title: Re: SMF Arcade
Post by: jeri on August 31, 2008, 02:53:15 AM
I installed and uninstalled this mod and it shows 'arcade' 3 times up in the link bar. How do I get rid of it?
Title: Re: SMF Arcade
Post by: fwitt on August 31, 2008, 04:43:22 AM
Quote from: jeri on August 31, 2008, 02:53:15 AM
I installed and uninstalled this mod and it shows 'arcade' 3 times up in the link bar. How do I get rid of it?


you will need to open your index.template.php and remove the repeated code in the menubar section of code (searching the file for arcade will help you find the arcade code).
remeber always back up files b4 manually editing them in case you make a mistake.
Title: Re: SMF Arcade
Post by: giridhar on August 31, 2008, 09:54:23 AM
hi i installed SMF arcade version 2.0.14. i gave permissions to all member groups  and set permission mode to "games and categories ". but none of the games  scores are been recorded .even when i play the game the score is not recording .

please help me to solve this problem

Title: Re: SMF Arcade
Post by: rider on August 31, 2008, 10:14:30 AM
Quote from: giridhar on August 31, 2008, 09:54:23 AM
hi i installed SMF arcade version 2.0.14. i gave permissions to all member groups  and set permission mode to "games and categories ". but none of the games  scores are been recorded .even when i play the game the score is not recording .

please help me to solve this problem


did you set each membergroup up for categoies and games or just give them regular permissions thru admin>permissions?Also did you enable scoing for each game after you installed them?last ? for you where did you get the games from?
Title: Re: SMF Arcade
Post by: giridhar on August 31, 2008, 01:31:26 PM
Quotedid you set each membergroup up for categoies and games or just give them regular permissions thru admin>permissions?Also did you enable scoing for each game after you installed them?last ? for you where did you get the games from?

In arcade game setting page i gave permission to all member groups(Guests Regular , Members Global.....) ......and in admin>permission page i gave access for arcade to all members . .....i enabled scoring for each game after installing and kept maximum score to "-1" (default)  for each game .

If it is permission problem as i am admin my scores should be recorded but even my scores are also not recording .

should i change permission mode to "NONE" or anything else

i don't remember from where i downloaded the games .does it also matters ?

thanks for replying
Title: Re: SMF Arcade
Post by: rider on August 31, 2008, 02:14:49 PM
Quote from: giridhar on August 31, 2008, 01:31:26 PM
Quotedid you set each membergroup up for categoies and games or just give them regular permissions thru admin>permissions?Also did you enable scoing for each game after you installed them?last ? for you where did you get the games from?
.

In arcade game setting page i gave permission to all member groups(Guests Regular , Members Global.....) ......and in admin>permission page i gave access for arcade to all members . .....i enabled scoring for each game after installing and kept maximum score to "-1" (default)  for each game .

If it is permission problem as i am admin my scores should be recorded but even my scores are also not recording .

should i change permission mode to "NONE" or anything else

i don't remember from where i downloaded the games .does it also matters ?

thanks for replying

switch the permissions to none.that will take care of any permissions problems.it could make a difference where the games come from.some may have exrta folders and some won't work in the arcade.
Title: Re: SMF Arcade
Post by: B.SkiLLs on September 01, 2008, 04:27:46 AM
Quote from: rider on August 30, 2008, 04:55:51 PM
Quote from: B.SkiLLs on August 30, 2008, 03:46:06 PM
Quote from: rider on August 30, 2008, 08:18:43 AM
Quote from: B.SkiLLs on August 30, 2008, 07:29:10 AM
Quote from: swan on August 30, 2008, 07:16:52 AM
This happend to me so i changed all the packages in my cpanel (file manager) to 755 and it was fine then
i just tried that for the heck of it and still said the same thing.

so i changed everything back to the way i had it safely etc etc...

Anybody with any help or fix as soon as possible would be really appreciated.

thanks again


try this.packages>options>make all files writable.then install

i did that, and it worked befoe i even seen your post plus in my cpanel but now a new problem,

I cn find the games no where at all, only the admin settings to choose what games.. but can not find the game section no where and i even have a link on my forum to the arcade but it doesnt take me there either.

kind of like i added a gallery and i already had a gallery link / tab on top and it works fine. I click the arcade tab and it takes me right back to my forum. But the gallery works. i click that tab an it takes me to my gallery

so where do i find my game pages and / or connect to my arcade tab link on top ??

I use 1.1.5 with TP


make sure the arcade is enabled and how did you install the games.post a link to your site if you want.

OK, i will try that also and post back if needed with a link also.

thxs

Title: Re: SMF Arcade
Post by: B.SkiLLs on September 01, 2008, 05:20:11 AM
OK, i am getting this eror now as i try to install / apply the mod



Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.


Install Actions

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    ./Sources/ManagePermissions.php    Test successful
3.    Execute Modification    ./Sources/Subs.php    Test successful
4.    Execute Modification    ./Sources/Who.php    Test successful
5.    Execute Modification    ./Themes/default/index.template.php    Test failed
6.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
7.      Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
8.    Extract File    ./Sources/Arcade.php    
9.    Extract File    ./Sources/ArcadeInstall.php    
10.    Extract File    ./Sources/ArcadeList.php    
11.    Extract File    ./Sources/ArcadePlay.php    
12.    Extract File    ./Sources/ArcadeStats.php    
13.    Extract File    ./Sources/ArcadeSettings.php    
14.    Extract File    ./Sources/Subs-Arcade.php    
15.    Extract File    ./Sources/ManageGames.php    
16.    Extract File    ./Themes/default/arcade.js    
17.    Extract File    ./Themes/default/swfobject.js    
18.    Extract File    ./Themes/default/Arcade.template.php    
19.    Extract File    ./Themes/default/ArcadeMenu.template.php    
20.    Extract File    ./Themes/default/ArcadeAdmin.template.php    
21.    Extract File    ./Themes/default/ManageGames.template.php    
22.    Extract File    ./Themes/default/languages/Arcade.english.php    
23.    Extract File    ./Themes/default/languages/ArcadeAdmin.english.php    
24.    Extract File    ./Themes/default/languages/Arcade.english-utf8.php    
25.    Extract File    ./Themes/default/languages/ArcadeAdmin.english-utf8.php    
26.    Extract File    ./Themes/default/images/favorite.gif    
27.    Extract File    ./Themes/default/images/favorite2.gif    
28.    Extract File    ./Themes/default/images/star2.gif    
29.    Extract File    ./Themes/default/images/gold.gif    
30.    Extract File    ./ArcadeLicense.txt    
31.    Extract File    ./installArcade.php    
32.    Extract File    ./newscore.php    
33.    Extract Tree    ./getid3    
34.    Create Tree    ./Games    
35.    Execute Code    package_install.php







what should i do on this matter now as i uninstalled it from the last questions or problem as i had some other issues that i had to fix and repair as i changed some server issues and domains so i also had to fix / mod some thing with my TP version . I got all that fixed / moded and working great and all my Mods work great but when installing / applying this one i get this error above now.

I have not installed any games yet just trying to install the mod first as i already have the arcade tab on top of my theme / fourm / TP so....

i also tried this game set:

multiplayer 3[1][1][1].1 for 1.1.5

http://custom.simplemachines.org/mods/index.php?mod=1219

and could not get it to work either

here is the temp link to my forum as it is private anyways, but i will send link anyways if u like.

xtremestylez.com/forum
(which this domain / site will be changing domains and paths soon anyways as soon as i get everything going and set the way i want to a new database and domain on my server

any and all help is GREATLY appreciated. Thxs






Title: Re: SMF Arcade
Post by: B.SkiLLs on September 01, 2008, 05:22:57 AM
oohh yeah and also, the first install of that, i got another error in one of the english files / directory's.

but on second go around after i set the cmods to writeable that went away but then i got this arroe above instead.

Title: Re: SMF Arcade
Post by: SA™ on September 01, 2008, 05:43:57 AM
that is an index.template error wich will be for the tab install it anyway should be ok

also tried this game set:

multiplayer 3[1][1][1].1 for 1.1.5

http://custom.simplemachines.org/mods/index.php?mod=1219


as for that that is my mod please post in teh correct thread
http://www.simplemachines.org/community/index.php?topic=244832.0

and ill help you
Title: Re: SMF Arcade
Post by: B.SkiLLs on September 01, 2008, 06:02:41 AM
Quote from: wdm2005 on September 01, 2008, 05:43:57 AM
that is an index.template error wich will be for the tab install it anyway should be ok

also tried this game set:

multiplayer 3[1][1][1].1 for 1.1.5

http://custom.simplemachines.org/mods/index.php?mod=1219


as for that that is my mod please post in teh correct thread
http://www.simplemachines.org/community/index.php?topic=244832.0

and ill help you


I am posting in the correct thread for the issue that i am speaking of. I was just using that other section or my post as an example to maybe help figure out this problem with the main question i had here with this Arcade.

But i will also post that problem in your Mod topic also. Thxs

I just want a working Arcade that works with my already mad and installed Arcade tab thats included in my theme and my TP version.

Nothing against yours but i was trying it after the fact i couldnt get this one to work.

Thxs for the reply and help so far. Any ideas on how to get this one or your to work ??

I do not really understand what you meant by the template statement you said.either sorry. Can you please explain ??

or i will wait until somebody from this mod explains or answers back since that error has to do with this arcade install.




Title: Re: SMF Arcade
Post by: SA™ on September 01, 2008, 06:08:55 AM
like i said it just the tab button for the default theme if your custom theme has it allready you should be ok to install

my mod and this are two compleatly diff mods tis why i said post in my topic for support on that
Title: Re: SMF Arcade
Post by: Sun11 on September 01, 2008, 02:16:38 PM
Can you please Upgrade to SMF 2.0 Beta 3.1 Public
ty
Title: Re: SMF Arcade
Post by: fwitt on September 01, 2008, 05:15:15 PM
Quote from: sunite on September 01, 2008, 02:16:38 PM
Can you please Upgrade to SMF 2.0 Beta 3.1 Public
ty

the version for this is currently in beta and is not ready for a live site yet, but there is one on the way.
Title: Re: SMF Arcade
Post by: B.SkiLLs on September 03, 2008, 01:28:22 PM
Quote from: wdm2005 on September 01, 2008, 06:08:55 AM
like i said it just the tab button for the default theme if your custom theme has it allready you should be ok to install

my mod and this are two compleatly diff mods tis why i said post in my topic for support on that

OK, i will post the use about your on your mod topic.

AND let this one stand about this mod.

and yes, my custom theme has the arcade tab already on it plus using tinyportal 1.0.5

but nether will work so far, so im lost and ive tried most of what i know to help it but... still nothing

Title: Re: SMF Arcade
Post by: VegaTheChosen on September 03, 2008, 09:09:59 PM
hi there im having a problem with the arcade it works fine only thing is some of it doesnt display basically what im missing is the link to arcade and the arcade links in the admin cp
this image.gif will show what im talking about
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi34.tinypic.com%2F16jfr0g.jpg&hash=5740cddd9eae319d60829ea2290c636ec7e91ce2)

and sorry if its been covered elsewhere in this thread
Title: Re: SMF Arcade
Post by: rider on September 03, 2008, 09:34:47 PM
Quote from: VegaTheChosen on September 03, 2008, 09:09:59 PM
hi there im having a problem with the arcade it works fine only thing is some of it doesnt display basically what im missing is the link to arcade and the arcade links in the admin cp
this image.gif will show what im talking about
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi34.tinypic.com%2F16jfr0g.jpg&hash=5740cddd9eae319d60829ea2290c636ec7e91ce2)

and sorry if its been covered elsewhere in this thread
check to see what your default forum langauge is under admin>server settings.if its set to english-utf8 change it to english.see if that helps.
Title: Re: SMF Arcade
Post by: VegaTheChosen on September 03, 2008, 10:34:31 PM
its set to english i dont even have the option to switch the language
any other suggestions?
thanks again for the help
Title: Re: SMF Arcade
Post by: fwitt on September 04, 2008, 03:30:43 AM
check your themes languages folder for the file modifications.english.php if it exists copy the language strings from the default themes modifications.english.php into this file.
Title: Re: SMF Arcade
Post by: VegaTheChosen on September 04, 2008, 08:51:55 PM
well i re uploaded the modifications.english.php and still nothing also in the particular theme i use i doesnt have that particular file :(
Title: Re: SMF Arcade
Post by: bfeo on September 05, 2008, 04:21:10 PM
.... a gif file that loads instantly, doesn't lag, and calls itself a jpg....


Am I the only one who noticed that?


Not only that, but a pretty advanced one too...
Title: Re: SMF Arcade
Post by: Adish - (F.L.A.M.E.R) on September 05, 2008, 05:20:00 PM
Rider, i would like to know how did you make that animated Gif image, i am very much interested for making animated gif tutorials instead of in some players... ;)
Title: Re: SMF Arcade
Post by: rider on September 05, 2008, 05:25:31 PM
Quote from: F.L.A.M.E.R on September 05, 2008, 05:20:00 PM
Rider, i would like to know how did you make that animated Gif image, i am very much interested for making animated gif tutorials instead of in some players... ;)
Flamer if you're talking bout the one in my last post you'd have to ask the person above me that posted it.Otherwise I'm not sure what you're talking about.
Title: Re: SMF Arcade
Post by: Adish - (F.L.A.M.E.R) on September 05, 2008, 05:31:05 PM
oh sorry didnt notice that quote... so same question to VegaTheChosen
Title: Re: SMF Arcade
Post by: ash1 on September 06, 2008, 04:48:24 PM
hi, i've installed smf arcade in a test forum and i enjoy a lot with this mod!
nice work :)

There is some upgrade to create tournament or cup with this mod?

now i'll try to adapt to another theme :)
Title: Re: SMF Arcade
Post by: VegaTheChosen on September 06, 2008, 05:25:07 PM
I dont wanna  get off subject so first ill say im still having the above problem so if i can get any help its appreciated

so to the question about the gif there is quite a few ways to pull this off

the way i use is a program called Camtasia Studio

this program makes it so you can actually record your screen then you have the ability to convert the files to either video (many different file types) or the type i use is obviously .gif among many other types you can choose how big you want the screen also has the ability of recording sound with video so you can grab videos off line etc.

as far as the jpg the host converts that over how i dont know the image host i use is tinypic.com
Title: Re: SMF Arcade
Post by: fwitt on September 07, 2008, 08:01:36 AM
Quote from: VegaTheChosen on September 04, 2008, 08:51:55 PM
well i re uploaded the modifications.english.php and still nothing also in the particular theme i use i doesnt have that particular file :(

re uploading the file will have the opposite effect than you want, its the contents that have been added by your mods (not just the arcade) that are important in this file. The file itself is there as a place to put language strings.

the behaviour you discribed can be caused by the arcade strings being missing from this file, sometimes because it is using an unmodified version in your theme, sometimes because an error has occured when moding the default theme, there are of course other reasons that could cause this behaviour but this is the easiest to diagnose and fix and the most common hence why I suggested it first.
Title: Re: SMF Arcade
Post by: superbee on September 07, 2008, 02:36:05 PM
Quote from: B.SkiLLs on September 01, 2008, 05:20:11 AM
OK, i am getting this eror now as i try to install / apply the mod



Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.


Install Actions

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    ./Sources/ManagePermissions.php    Test successful
3.    Execute Modification    ./Sources/Subs.php    Test successful
4.    Execute Modification    ./Sources/Who.php    Test successful
5.    Execute Modification    ./Themes/default/index.template.php    Test failed
6.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
7.      Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
8.    Extract File    ./Sources/Arcade.php    
9.    Extract File    ./Sources/ArcadeInstall.php    
10.    Extract File    ./Sources/ArcadeList.php    
11.    Extract File    ./Sources/ArcadePlay.php    
12.    Extract File    ./Sources/ArcadeStats.php    
13.    Extract File    ./Sources/ArcadeSettings.php    
14.    Extract File    ./Sources/Subs-Arcade.php    
15.    Extract File    ./Sources/ManageGames.php    
16.    Extract File    ./Themes/default/arcade.js    
17.    Extract File    ./Themes/default/swfobject.js    
18.    Extract File    ./Themes/default/Arcade.template.php    
19.    Extract File    ./Themes/default/ArcadeMenu.template.php    
20.    Extract File    ./Themes/default/ArcadeAdmin.template.php    
21.    Extract File    ./Themes/default/ManageGames.template.php    
22.    Extract File    ./Themes/default/languages/Arcade.english.php    
23.    Extract File    ./Themes/default/languages/ArcadeAdmin.english.php    
24.    Extract File    ./Themes/default/languages/Arcade.english-utf8.php    
25.    Extract File    ./Themes/default/languages/ArcadeAdmin.english-utf8.php    
26.    Extract File    ./Themes/default/images/favorite.gif    
27.    Extract File    ./Themes/default/images/favorite2.gif    
28.    Extract File    ./Themes/default/images/star2.gif    
29.    Extract File    ./Themes/default/images/gold.gif    
30.    Extract File    ./ArcadeLicense.txt    
31.    Extract File    ./installArcade.php    
32.    Extract File    ./newscore.php    
33.    Extract Tree    ./getid3    
34.    Create Tree    ./Games    
35.    Execute Code    package_install.php


I am also getting this error, in bold above, but this is the first time I have tried to install. Any idea what is causing it? I have
only the following installed.
1. SMF Gallery Lite 1.8.3
2. Pm_Informer 1.0
3. Order Stickied Topics 1.01 
4. nneonneo's AJAX ShoutBox 1.21


Title: Re: SMF Arcade
Post by: bfeo on September 07, 2008, 11:14:11 PM
I'm looking for some high quality games.  Any suggestions?  All I've managed to find are corny flash rip offs and advertisement ridden kinds.
Title: Re: SMF Arcade
Post by: machmanx on September 08, 2008, 11:53:12 PM
Help, I can't install any games in arcade.  I am running SMF 2.0 beta 4 with SMF Arcade 2.5 beta 1.  After uploading a game, the page refreshes and goes to the installed games list, but it never lists the game I had uploaded.  I tried different games, but it still won't install anything.  There is even a link to download the default minesweeper game, but that won't even download.  It just refreshes the page as if I did nothing.  There is no error in the log either.

Someone please help me out, thanks!

Edit: I solved the problem, just had to manually upload the files via FTP.
Title: Re: SMF Arcade
Post by: bengal_nation on September 09, 2008, 07:38:26 PM
I need some help. I am trying to apply the arcade mod to SMF 1.1.4 with arcade package 2.0.14 and i keep gettin g this error

5. Execute Modification ./Themes/default/index.template.php Test failed


What am I doing wrong.
Title: Re: SMF Arcade
Post by: fwitt on September 09, 2008, 08:22:38 PM
Quote from: machmanx on September 08, 2008, 11:53:12 PM
Help, I can't install any games in arcade.  I am running SMF 2.0 beta 4 with SMF Arcade 2.5 beta 1.  After uploading a game, the page refreshes and goes to the installed games list, but it never lists the game I had uploaded.  I tried different games, but it still won't install anything.  There is even a link to download the default minesweeper game, but that won't even download.  It just refreshes the page as if I did nothing.  There is no error in the log either.

Someone please help me out, thanks!

Edit: I solved the problem, just had to manually upload the files via FTP.

any bugs in the beta versions of the arcade please post them to the bug tracker at smfarcade.info with as much info as possible about what you were doing/configeration etc. when this occured. So that hopefully the bugs can be found and fixed b4 a stable version is released.

Quote from: bengal_nation on September 09, 2008, 07:38:26 PM
I need some help. I am trying to apply the arcade mod to SMF 1.1.4 with arcade package 2.0.14 and i keep gettin g this error

5. Execute Modification ./Themes/default/index.template.php Test failed


What am I doing wrong.

you are doing nothing wrong, this is the arcade trying to add a link to the menubar, anouther mod has probly already added a link where the arcade is trying to find changing the code the arcade is looking for. the best solution is to install despite the error and then manually add the code for the arcade link.
Title: Re: SMF Arcade
Post by: Jiveturkey on September 10, 2008, 05:22:59 PM
What is the best way to upgrade from 2.0.12 to 2.0.15 and still keep all of the high scores?
Title: Re: SMF Arcade
Post by: Crasy on September 11, 2008, 05:49:44 PM
My members keep receiving this error:

"Score was not saved because session is missing "

How can I fix this?
Title: Re: SMF Arcade
Post by: fwitt on September 12, 2008, 01:47:32 PM
Quote from: Jiveturkey on September 10, 2008, 05:22:59 PM
What is the best way to upgrade from 2.0.12 to 2.0.15 and still keep all of the high scores?

Upgrading within the 2.0.x has no affect on highscores they are not affected by the process.
Title: Re: SMF Arcade
Post by: bengal_nation on September 13, 2008, 03:41:58 PM
Quote from: fwitt on September 09, 2008, 08:22:38 PM
Quote from: machmanx on September 08, 2008, 11:53:12 PM
Help, I can't install any games in arcade.  I am running SMF 2.0 beta 4 with SMF Arcade 2.5 beta 1.  After uploading a game, the page refreshes and goes to the installed games list, but it never lists the game I had uploaded.  I tried different games, but it still won't install anything.  There is even a link to download the default minesweeper game, but that won't even download.  It just refreshes the page as if I did nothing.  There is no error in the log either.

Someone please help me out, thanks!

Edit: I solved the problem, just had to manually upload the files via FTP.

any bugs in the beta versions of the arcade please post them to the bug tracker at smfarcade.info with as much info as possible about what you were doing/configeration etc. when this occured. So that hopefully the bugs can be found and fixed b4 a stable version is released.

Quote from: bengal_nation on September 09, 2008, 07:38:26 PM
I need some help. I am trying to apply the arcade mod to SMF 1.1.4 with arcade package 2.0.14 and i keep gettin g this error

5. Execute Modification ./Themes/default/index.template.php Test failed


What am I doing wrong.

you are doing nothing wrong, this is the arcade trying to add a link to the menubar, anouther mod has probly already added a link where the arcade is trying to find changing the code the arcade is looking for. the best solution is to install despite the error and then manually add the code for the arcade link.


Ok Thanks fwitt for your help
Title: Re: SMF Arcade
Post by: Jiveturkey on September 13, 2008, 03:49:09 PM
Now that I've upgraded I my members can't input their scores.  Once they're done playing they get a page not found error.

Any idea on what might cause this?
Title: Re: SMF Arcade
Post by: bengal_nation on September 13, 2008, 03:57:25 PM
I have installed arcade now , but how do I get a button for it so my members can get into and play
Title: Re: SMF Arcade
Post by: B.SkiLLs on September 14, 2008, 02:21:55 AM
Quote from: VegaTheChosen on September 03, 2008, 10:34:31 PM
its set to english i dont even have the option to switch the language
any other suggestions?
thanks again for the help

your option should be in the admin center under server settings, if you can not access it, then chmod your settings.php file to 777 so you can change it to english

Title: Re: SMF Arcade
Post by: alex30 on September 17, 2008, 10:29:07 AM
What causes

The package you tried to upload either is not a valid package or has become corrupted.

and how can I upload games?

mod is installed.
Title: Re: SMF Arcade help me before I INSTALL
Post by: helpmehelpme on September 18, 2008, 08:44:45 AM
5.     Execute Modification     ./Themes/default/index.template.php     Test failed


why?? can somebody help meeeee
Title: Re: SMF Arcade help me before I INSTALL
Post by: niko on September 19, 2008, 05:45:09 AM
Quote from: helpmehelpme on September 18, 2008, 08:44:45 AM
5.     Execute Modification     ./Themes/default/index.template.php     Test failed


why?? can somebody help meeeee

This is usually because of other mod which blocks Arcade from making its edits.
You can install and then make edits to index.template.php manually.
Title: Re: SMF Arcade
Post by: Fox420 on September 19, 2008, 06:21:21 PM
I knew I missed this board somewhere!

I posted this yesterday on another board, but here's the issue if someone can help me out!

I upgraded my smf from my website directory (under Fantastico), and it took away the Arcade from the Forum. But here is the thing! The Arcade and all the packages are still in my website's File Manager. So they haven't been deleted! There is even a backup file I didn't know about. A "...tar.gz" copy dated from yesterday! So it's all there. But it doesn't show up on my forum.

There isn't even a space under my Admin, where the Arcade Section would go. I had that problem before. I changed the language. And fixed that). But in this case, there is nothing.

Now in my Packages (also in my Admin) it shows SMF Arcade 2.0.13 as a downloaded modification, but not as an Installed mod. It only shows the smf upgrade I just did as an Installed mod. And the Arcade mod (in the Packages) does NOT have a button saying [Uninstall]. Only [list Files] and [Delete].

It's actually been so long since I've delt with it, I forgot how to reinstall it. I could find it elsewhere, but since I'm already getting help for someone (HOPEFULLY!). Can you just tell me what to do now. In other words, how to get the zip files in my website directories, back on my forum. If I have to reinstall everything, that's fine.

I just hope all the scores still show up...because everything is still in my File Manager! And they are right where they were before..Games Folder and Packages Folder and GetId3 Folder, under the Forum folder. They're just not showing up on the Forum at all.

Any help would be appreciated.[/list]
Title: Re: SMF Arcade
Post by: rider on September 19, 2008, 07:49:08 PM
Quote from: Fox420 on September 19, 2008, 06:21:21 PM
I knew I missed this board somewhere!

I posted this yesterday on another board, but here's the issue if someone can help me out!

I upgraded my smf from my website directory (under Fantastico), and it took away the Arcade from the Forum. But here is the thing! The Arcade and all the packages are still in my website's File Manager. So they haven't been deleted! There is even a backup file I didn't know about. A "...tar.gz" copy dated from yesterday! So it's all there. But it doesn't show up on my forum.

There isn't even a space under my Admin, where the Arcade Section would go. I had that problem before. I changed the language. And fixed that). But in this case, there is nothing.

Now in my Packages (also in my Admin) it shows SMF Arcade 2.0.13 as a downloaded modification, but not as an Installed mod. It only shows the smf upgrade I just did as an Installed mod. And the Arcade mod (in the Packages) does NOT have a button saying [Uninstall]. Only [list Files] and [Delete].

It's actually been so long since I've delt with it, I forgot how to reinstall it. I could find it elsewhere, but since I'm already getting help for someone (HOPEFULLY!). Can you just tell me what to do now. In other words, how to get the zip files in my website directories, back on my forum. If I have to reinstall everything, that's fine.

I just hope all the scores still show up...because everything is still in my File Manager! And they are right where they were before..Games Folder and Packages Folder and GetId3 Folder, under the Forum folder. They're just not showing up on the Forum at all.

Any help would be appreciated.[/list]
in package manager do you see the option to uninstall the forum update?If so uninstall it.You should see the option to uninstall the arcade.Then get the lastest version of the arcade that goes with the forum update and install it..Your scores will be ok.
Title: Re: SMF Arcade
Post by: Fox420 on September 19, 2008, 11:43:32 PM
No option to Uninstall. I can Delete it, though.

Here's what it looks like. This is under Browse Packages:

Mod Name Version 
1. SMF Arcade PM Switch 1.0.1   [ Uninstall ] [ List Files ] [ Delete ] 
2. SMF 1.0.14 / 1.1.6 Update 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
3. SMF 1.0.14 / 1.1.6 Update 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
4. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0                          [ List Files ] [ Delete ] 
5. SMF Arcade 2.0.13                                   [ List Files ] [ Delete ] 

You'll see a second update. I updated my smf a while ago, when 1.1.6 came out.

My recent update happened because I went into my File Manager and it told me to update my smf to: 1.1.5...I think! (just by looking at this).

I didn't realize I already had a better version. So once I did the upgrade in Fantastico/My Control Panel, I went to smf...and it told me to upgrade (AGAIN) to 1.1.6. So I did.

That's when I realized I should have just left everything as is.

But now it only has this under INSTALLED PACKAGES:

1. SMF 1.0.14 / 1.1.6 Update 1.0      [ Uninstall ]
2. SMF Arcade PM Switch 1.0.1          [ Uninstall ]

Thanks in advance, for any help!
Title: Re: SMF Arcade
Post by: Mystiquo on September 21, 2008, 10:54:01 AM
excuse me but 'it's possible in first page of forum i see the game of day ???????????
Title: Re: SMF Arcade
Post by: ousu on September 21, 2008, 11:20:46 AM
Hi friends,
I am using SMF Arcade 2.0.14 and it is working fine, I would like to keep the games in orderwaie,

I mean, I would like to keep the games in a folders as, action games in action folder , sports games in sports folder.
So that the user can select the any action or sport folder and can play the respective games.



Please Help me in this regard.

thank you
Title: Re: SMF Arcade
Post by: matasanos on September 21, 2008, 11:25:01 AM
any mod to make cups?? tournaments?
Title: Re: SMF Arcade
Post by: ruedigers on September 23, 2008, 02:44:48 AM
Quote from: matasanos on September 21, 2008, 11:25:01 AM
any mod to make cups?? tournaments?

V2.5 of the SMF-arcade includes tournaments, but it is still Beta.  8)

http://www.smfarcade.info/wiki/Arcade_2.5:Features
Title: Re: SMF Arcade
Post by: Crasy on September 25, 2008, 04:37:21 PM
Quote from: Crasy on September 11, 2008, 05:49:44 PM
My members keep receiving this error:

"Score was not saved because session is missing "

How can I fix this?

Is this error not fixable?
Title: Re: SMF Arcade
Post by: matasanos on September 26, 2008, 06:43:41 AM
Quote from: ruedigers on September 23, 2008, 02:44:48 AM
Quote from: matasanos on September 21, 2008, 11:25:01 AM
any mod to make cups?? tournaments?

V2.5 of the SMF-arcade includes tournaments, but it is still Beta.  8)

http://www.smfarcade.info/wiki/Arcade_2.5:Features

thanks for the info
Title: Re: SMF Arcade
Post by: fwitt on September 26, 2008, 02:19:41 PM
Quote from: Mystiquo on September 21, 2008, 10:54:01 AM
excuse me but 'it's possible in first page of forum i see the game of day ???????????

If you have tinyportal installed on your forum there is deffinatly block code that does this in the hack board at smfarcade.info there may also be code to you can use/modify in your index.template.php if you dont.

Quote from: Crasy on September 25, 2008, 04:37:21 PM
Quote from: Crasy on September 11, 2008, 05:49:44 PM
My members keep receiving this error:

"Score was not saved because session is missing "

How can I fix this?

Is this error not fixable?

there are lots of possibilities of things that can cause this message to occur, the simplest being the one it was designed for, the users login session expiring between starting a game and submitting the score. Make sure your users arnt setting there login session to 15 mins then spending an hour playing games b4 submitting there score.

if that isnt the issue then search this thread and smfarcade.info for previous solutions to problems that caused this error and see if they apply to you. I have seen quite few different problems/solutions with this symptom
Title: Re: SMF Arcade
Post by: Armin2008 on September 27, 2008, 11:55:56 PM
I installed SMF Arcade about 6 months ago and it worked fine for 4 months and now it wont save highscores anymore. When its suppose to redirect to the scores list where it saves your score it doesn't. It just hangs on the game. Could it be one of my other mods that is interrupting the highscores.

Mods that i am Using
Quote1.     Redirection Boards     2.01     [ Uninstall ]
2.    YouTube BBCode    2.3    [ Uninstall ]
3.    Users Online Today Mod    1.4.0    [ Uninstall ]
4.    Advanced AJAX Shoutbox    1.20    [ Uninstall ]
5.    Admin Notepad    1.0    [ Uninstall ]
6.    SMFShop    3.0    [ Uninstall ]
7.    SMF Arcade    2.0.14    [ Uninstall ]
8.    SMF Shop Lottery    1.0.1    [ Uninstall ]
9.    SMF Arcade Shop Mod    1.0.0    [ Uninstall ]
10.    Shop Item: Profile Image    0.1    [ Uninstall ]
11.    Custom Action Mod    2.04    [ Uninstall ]
12.    Member Color Link    3.0.2    [ Uninstall ]
13.    View Single PM    1.3    [ Uninstall ]
14.    PM Popup - Uses Active Window    1.3    [ Uninstall ]
15.    Site Integration Mod    1.4    [ Uninstall ]
16.    Shop Item: Change Display Name CSS    1.0    [ Uninstall ]
17.    SMF 1.0.14 / 1.1.6 Update    1.0    [ Uninstall ]
18.    vReportBoard Mod    1.03    [ Uninstall ]

Which one can be the problem. Please tell. Thanks
Title: Re: SMF Arcade
Post by: Ravac on September 28, 2008, 11:18:02 PM
ArcadeAdmin.serbian-utf8.php (Latinic)
Arcade.serbian-utf8.php          (Latinic)

Both files are in Attachment  :D


Modifications.serbian-utf8.php

$txt['arcade'] = 'Arcade';
$txt['arcade_admin'] = 'Arcade Admin';   
$txt['arcade_manage_games'] = 'Igre';
$txt['arcade_manage_category'] = 'Kategorije';
$txt['arcade_settings'] = 'Funkcije';

// Permission names and help
$txt['permissiongroup_arcade'] = 'Arcade';
$txt['permissionname_arcade_view'] = 'Vidi Arcade';
$txt['permissionhelp_arcade_view'] = 'Možete pristupiti "Arcade" i koristiti osnovne funkcije kao pretragu i belezenje skorova';
$txt['permissionname_arcade_play'] = 'Igraj na Arcade';
$txt['permissionhelp_arcade_play'] = 'Omogucava clanu da igra Arcade, igre koje ima pravo da igra';
$txt['permissionname_arcade_admin'] = 'Administrcija arcade';
$txt['permissionhelp_arcade_admin'] = 'Arcade Administarator može Instalirati/Izmeniti/Izbrisati igre, Izbrisati skorove i izmeniti funkcije za Arcade';
$txt['permissionname_arcade_favorite'] = 'Koristi funkciju Favoriti';
$txt['permissionhelp_arcade_favorite'] = 'Omogucava clanu da stavi igru u Favorite kao i da ih ukloni iz Favorita';
$txt['permissionname_arcade_submit'] = 'Sacuvaj skorove';
$txt['permissionhelp_arcade_submit'] = 'Omogucava clanovima da sacuvaju njihove skorove.';
$txt['permissionname_arcade_rate'] = 'Ocenjivanje igara';
$txt['permissionhelp_arcade_rate'] = 'Dozvoljava clanovima da ocene igre.';
$txt['permissionname_arcade_comment'] = 'Omogucava da komentarišu/izmene komentar';
$txt['permissionhelp_arcade_comment'] = 'Omogucava clanovima da izmene komentar, svoj ili bilo koji';
$txt['permissionname_arcade_comment_any'] = 'Bilo koji';
$txt['permissionname_arcade_comment_own'] = 'Svoj';

// Errors if they can't do something
$txt['cannot_arcade_play'] = 'Nije vam dozvoljeno da igrate igre!';
$txt['cannot_arcade_view'] = 'Nije vam odobren pristup Arcade.';
$txt['cannot_arcade_favorite'] = 'Nije vam dozvoljeno da stavite igre u Favorite';
$txt['cannot_arcade_rate'] = 'Nije vam dozvoljeno da ocenjujete igre';
$txt['cannot_arcade_comment_own'] = 'Nije vam dozvoljeno da komentarišete';

// Who's online
$txt['who_arcade'] = 'Pregleda Arcade index';
$txt['who_arcade_play'] = 'Igra.. <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> na Arcade';
$txt['who_arcade_highscore'] = 'Pregleda najvece skorove od <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> na Arcade';

// Help
$txt['arcade_max_scores_help'] = 'Maximum skorova koji ce biti sacuvani po clanu. (0 za neograniceno)';
$txt['arcade_membergroups_help'] = 'Ovim grupama ce biti dozvoljeno da igraju i gledaju najvece skorove. Ostali nece videti ovu igru, jedino ako im admini dozvole.';
Title: Re: SMF Arcade
Post by: jmil on September 29, 2008, 02:23:11 PM
I did do my DUE DILIGENCE and searched - but i didn't see this.

How to turn off ARCADE notifications? Members are tired of emails every time a new high score is made.

This is probably very easy and I am over looking a stupid easy fix! So a bit of help Please!

Title: Re: SMF Arcade
Post by: matasanos on September 29, 2008, 03:33:04 PM
Quote from: jmil on September 29, 2008, 02:23:11 PM
I did do my DUE DILIGENCE and searched - but i didn't see this.

How to turn off ARCADE notifications? Members are tired of emails every time a new high score is made.

This is probably very easy and I am over looking a stupid easy fix! So a bit of help Please!



sorry for not being so much explicit..
in smfarcade.info you have that info...look at forums

i think i see that solution there
Title: Re: SMF Arcade
Post by: jmil on September 30, 2008, 08:14:08 AM
Found it - Its fixed - Thanks!
Title: Re: SMF Arcade
Post by: cammy1568 on October 06, 2008, 12:50:51 PM
When i install this mod it pops up with a message;

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

So i install the code manually for the /Themes/default/index.template.php and the code you have to find isnt there if (in_array($context['current_action'], array('search',
Title: Re: SMF Arcade
Post by: dkinser on October 07, 2008, 08:31:51 AM
I installed this Mod about 2 months ago.  Has worked fine since the installation.   As of this morning, when you click on any game, the page goes to:

Please wait while checking session... (Skip)

It never changes, if you click (Skip), it goes to a white page with the word TRUE at the top left.

We've added no additional mods prior to this, we've made no changes.

SMF Forum 1.1.6
SMF Arcade 2.0.14
Title: Re: SMF Arcade
Post by: patalete on October 08, 2008, 02:01:07 PM
There is any option to prevent/stop logging the "You are not allowed to play games!" msg showed to guests in the forum error log section??


I'm runnig smf 1.1.6
Arcade 2.0.15

thanks
Title: Re: SMF Arcade
Post by: mogster on October 09, 2008, 03:16:26 PM
I got "Execute Modification     ./Themes/default/index.template.php     Test failed"
Do I just have to add index.php?action=arcade to the top menu? Or is there more to add than that?
Title: Re: SMF Arcade
Post by: bros on October 09, 2008, 03:35:36 PM
Quote from: mogster on October 09, 2008, 03:16:26 PM
I got "Execute Modification     ./Themes/default/index.template.php     Test failed"
Do I just have to add index.php?action=arcade to the top menu? Or is there more to add than that?

Use the package parser and add the part manually
Title: Re: SMF Arcade
Post by: rider on October 09, 2008, 03:38:24 PM
Quote from: mogster on October 09, 2008, 03:16:26 PM
I got "Execute Modification     ./Themes/default/index.template.php     Test failed"
Do I just have to add index.php?action=arcade to the top menu? Or is there more to add than that?
if you are using the default theme then you can install the arcade with that message.all its doing is adding the button code to it.If you're not using the default theme then you'll have to edit code to make it appear in the theme you're using.
Title: Re: SMF Arcade
Post by: The Cadet on October 12, 2008, 09:20:45 AM
I am not using the default theme. My default is Dark Night (http://www.simplemachines.org/community/index.php?topic=228617.20). I installed everything correctly, the package works (default/index.template.php). However, it does not show up in the theme I am using. It shows up in the ACP from the style, but not the navbar on the main page. What part of the manual installation do I need to do on said file? 'cause it can't find any kind of array on the index.template.php from that one.

Oh yeah, and the arcade will show up in said style as well, just not the navbar link.
Title: Re: SMF Arcade
Post by: cg102 on October 12, 2008, 01:17:13 PM
Hi Guys newbie here.

I have read through the install guide for smf 1.1.5 and altered the files but how do i get the arcade installed? I am guessing it is via the packages system and have uplaoded the zip file. I then clicked 'apply mod' and it shows under 'browse pacakges' but when i click on the arcade link, it says arcade has been disabled by admin and i cant find anything in admin to do with the arcade.

thanks

steve
Title: Re: SMF Arcade
Post by: THE BRA1N on October 13, 2008, 01:09:37 AM
Quote from: The Cadet on October 12, 2008, 09:20:45 AM
I am not using the default theme. My default is Dark Night (http://www.simplemachines.org/community/index.php?topic=228617.20). I installed everything correctly, the package works (default/index.template.php). However, it does not show up in the theme I am using. It shows up in the ACP from the style, but not the navbar on the main page. What part of the manual installation do I need to do on said file? 'cause it can't find any kind of array on the index.template.php from that one.

Oh yeah, and the arcade will show up in said style as well, just not the navbar link.

same issue with helios. how do i install it with that theme?
Title: Re: SMF Arcade
Post by: Joe_M on October 13, 2008, 12:22:33 PM
Hi there.

I was wondering if I need to chmod the games folder and if so to what value as each time I try to upload a game pack I get

QuoteCould not upload package, please check directory permissions!

Thanks.
Joe.
Title: Re: SMF Arcade
Post by: The Cadet on October 14, 2008, 01:29:17 AM
Quote from: THE BRA1N on October 13, 2008, 01:09:37 AM
Quote from: The Cadet on October 12, 2008, 09:20:45 AM
I am not using the default theme. My default is Dark Night (http://www.simplemachines.org/community/index.php?topic=228617.20). I installed everything correctly, the package works (default/index.template.php). However, it does not show up in the theme I am using. It shows up in the ACP from the style, but not the navbar on the main page. What part of the manual installation do I need to do on said file? 'cause it can't find any kind of array on the index.template.php from that one.

Oh yeah, and the arcade will show up in said style as well, just not the navbar link.

same issue with helios. how do i install it with that theme?

Well, I got it on my side... Take the snippet of code from the "manual install" that makes the navbar link, and just look through your theme until your find the area where all the navbar links go. Then put it in there, and boom.
Title: Re: SMF Arcade
Post by: ChrisChris on October 14, 2008, 05:59:27 AM
G'day!

Some of my members can't save their high scores - it just hangs on the game for a while, doing nothing.

Any advice would be much appreciated ;)

Cheers,
Chris T. (From Down Under, Australia)
Title: Re: SMF Arcade
Post by: I AM Legend on October 14, 2008, 06:20:49 AM
Hi all.
I am running smf 1.1.6 with these mods installed:

ColorizePost      2.0
Disable Right click    2.0
Images On Board    1.1
Custom Copyright    1.1.5
Sticky First Post (extends sticky topic)
MCLegendII.2    3.0
Global Headers Footers    1.4.1
Add IP2Location to Track IP
Member Notepad    1.0
SMF Ranks    1.1
SMF Staff Page    1.6
YouTube BBCode    2.3
Admin Notepad    1.0
AvatarOnBoard    2.1
SimplePortal    2.0.2
Hide Signatures for Guest    1.0
Member Color Link    3.0.5
New Topic Button    1.0
Affiliates    1.1
Welcome Topic Mod    1.1
Last Active On MemberList    1.01
Lots_o_Smileys    1.0

My problem is this, when I try to install SMF Arcade 2.0.15 onto the default theme it only gives one fail:
5.     Execute Modification     ./Themes/default/index.template.php     Test failed

Should I go ahead and install it anyway then do a code edit?, if so, what code do I need to edit? and what code do I need to replace it with?.

Thanks as always.
Title: Re: SMF Arcade
Post by: dkinser on October 14, 2008, 09:25:24 AM
Quote from: dkinser on October 07, 2008, 08:31:51 AM
I installed this Mod about 2 months ago.  Has worked fine since the installation.   As of this morning, when you click on any game, the page goes to:

Please wait while checking session... (Skip)

It never changes, if you click (Skip), it goes to a white page with the word TRUE at the top left.

We've added no additional mods prior to this, we've made no changes.

SMF Forum 1.1.6
SMF Arcade 2.0.14

Any suggestions?
Title: Re: SMF Arcade
Post by: The Cadet on October 14, 2008, 01:09:02 PM
Do the code edit first...

@dkinser: could it be a server issue?

Also, my users that aren't Mods are getting a message:
"An Error Has Occurred!
You are not allowed to access arcade."

What could be the source of this? They should have permission...
Title: Re: SMF Arcade
Post by: THE BRA1N on October 14, 2008, 11:09:32 PM
Quote from: The Cadet on October 14, 2008, 01:29:17 AM
Quote from: THE BRA1N on October 13, 2008, 01:09:37 AM
Quote from: The Cadet on October 12, 2008, 09:20:45 AM
I am not using the default theme. My default is Dark Night (http://www.simplemachines.org/community/index.php?topic=228617.20). I installed everything correctly, the package works (default/index.template.php). However, it does not show up in the theme I am using. It shows up in the ACP from the style, but not the navbar on the main page. What part of the manual installation do I need to do on said file? 'cause it can't find any kind of array on the index.template.php from that one.

Oh yeah, and the arcade will show up in said style as well, just not the navbar link.

same issue with helios. how do i install it with that theme?

Well, I got it on my side... Take the snippet of code from the "manual install" that makes the navbar link, and just look through your theme until your find the area where all the navbar links go. Then put it in there, and boom.

Im not having any luck. Maybe someone can take a look at my file and help me out.
Title: Re: SMF Arcade
Post by: I AM Legend on October 15, 2008, 04:02:25 AM
what code do I need to edit? and what code do I need to replace it with?.
Title: Re: SMF Arcade
Post by: Skhilled on October 15, 2008, 09:19:44 AM
@I Am Legnd - look in install.xml.

@dkinser - upgrade to the latest version.

@The Cadet - Are you talking about Global or regular mods? Regular mods should only have access to particular boards that you've set. Globals have access to all boards.

@THE BRA1N - add this after which ever button you'd like in your index.template.php // calendar button
$context['menubox'][]=array(
'title' => $txt['arcade'],
'link' => $scripturl.'?action=arcade',
'chosen' => 'arcade',
'memberonly' => false,
'guestonly' => false,
'permission' => 'allow_arcade',
);

Title: Re: SMF Arcade
Post by: The Cadet on October 15, 2008, 09:21:41 AM
GMs, I don't run normal ones.
Title: Re: SMF Arcade
Post by: Sudhakar Arjunan on October 15, 2008, 01:20:04 PM
I was so far using Powered by E-Arcade 2.5.0 based on: SMF Arcade 2.0.9 © Niko Pahajoki 2004-2007 in my smf 1.1.6.

Now upgrade to smf 2.0.4 beta, and found the smf arcade matches 2.0.4 and installed it, could anyone help me to import all the games 1.1.6 to 2.0.4
Title: Re: SMF Arcade
Post by: bros on October 15, 2008, 10:27:01 PM
The Cadet - Try giving permissions to all users (who you want) to View Arcade. It isn't set on all membergroups by default
Title: Re: SMF Arcade
Post by: The Cadet on October 16, 2008, 11:43:33 AM
Quote from: bros on October 15, 2008, 10:27:01 PM
The Cadet - Try giving permissions to all users (who you want) to View Arcade. It isn't set on all membergroups by default

In my case, it was, oddly enough. The default membergroup was able to use it, from permissions. And it still doesn't work.
Title: Re: SMF Arcade
Post by: ousu on October 16, 2008, 11:58:31 AM
I would like to uninstall smfarcade 2.0.14  and install smfarcade 2.0.15.

When iam trying to uninstall, I am getting the error message


(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi36.tinypic.com%2F5o5dlh.jpg&hash=df3f7d790462265b27343ba5bc69a5d309bb8835)


Please help me in installing smfarcade 2.0.15 with out loosing the old games and high scores which are stored in smfarcade 2.0.14.

Thank you
Title: Re: SMF Arcade
Post by: bros on October 16, 2008, 06:32:34 PM
Quote from: ousu on October 16, 2008, 11:58:31 AM
I would like to uninstall smfarcade 2.0.14  and install smfarcade 2.0.15.

When iam trying to uninstall, I am getting the error message


(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi36.tinypic.com%2F5o5dlh.jpg&hash=df3f7d790462265b27343ba5bc69a5d309bb8835)


Please help me in installing smfarcade 2.0.15 with out loosing the old games and high scores which are stored in smfarcade 2.0.14.

Thank you

I can't read it because it is so small.

But just delete the lines of code from those files that was applied by smf arcade.
Title: Re: SMF Arcade
Post by: patalete on October 21, 2008, 03:15:58 PM
Quote from: bros on October 16, 2008, 06:32:34 PM
Quote from: ousu on October 16, 2008, 11:58:31 AM
I would like to uninstall smfarcade 2.0.14  and install smfarcade 2.0.15.

When iam trying to uninstall, I am getting the error message


(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi36.tinypic.com%2F5o5dlh.jpg&hash=df3f7d790462265b27343ba5bc69a5d309bb8835)


Please help me in installing smfarcade 2.0.15 with out loosing the old games and high scores which are stored in smfarcade 2.0.14.

Thank you

I can't read it because it is so small.

But just delete the lines of code from those files that was applied by smf arcade.

right click in the pic, copy the pic url and paste it into new browser window, the magic will do the rest...



BTW any help with this?

Quote from: patalete on October 08, 2008, 02:01:07 PM
There is any option to prevent/stop logging the "You are not allowed to play games!" msg showed to guests in the forum error log section??


I'm runnig smf 1.1.6
Arcade 2.0.15

thanks

Cheers
Title: Re: SMF Arcade
Post by: Skhilled on October 31, 2008, 09:44:36 AM
Quote from: A.SK on October 15, 2008, 01:20:04 PM
I was so far using Powered by E-Arcade 2.5.0 based on: SMF Arcade 2.0.9 © Niko Pahajoki 2004-2007 in my smf 1.1.6.

Now upgrade to smf 2.0.4 beta, and found the smf arcade matches 2.0.4 and installed it, could anyone help me to import all the games 1.1.6 to 2.0.4

I believe the installer for E-arcade 2.5.4 will do this. There should have been an option at the end of the installer asking if you wish to import games.

Quote from: The Cadet on October 16, 2008, 11:43:33 AM
Quote from: bros on October 15, 2008, 10:27:01 PM
The Cadet - Try giving permissions to all users (who you want) to View Arcade. It isn't set on all membergroups by default

In my case, it was, oddly enough. The default membergroup was able to use it, from permissions. And it still doesn't work.

Go to Arcade Admin -> Categories. Click on your categories and enable the membergoups for each one. You can also go to Arcade Admin -> Settings and for "Permission Mode" set it to "None" if that does not work.

@bros - You need to manually remove the code as some other mods or code editing on your part has changed the code the arcade is looking for. So, it basically cannot find it. Look in install.xml for that code you need to remove for the "Test Failed" files. Then install 2.0.15.

@patalete -Follow the instructions I gave to The Cadet above.
Title: Re: SMF Arcade
Post by: jeza on October 31, 2008, 10:39:31 AM
QuoteThere is any option to prevent/stop logging the "You are not allowed to play games!" msg showed to guests in the forum error log section??


I'm runnig smf 1.1.6
Arcade 2.0.15

thanks

Open your ArcadePlay.php in sources and find
Quoteif (!$context['arcade']['can_play'])
      fatal_lang_error('cannot_arcade_play');

Change that to
Quoteif (!$context['arcade']['can_play'])
      fatal_lang_error('cannot_arcade_play', false);
Title: Re: SMF Arcade
Post by: jeza on October 31, 2008, 10:47:53 AM
Quote from: ChrisChris on October 14, 2008, 05:59:27 AM
G'day!

Some of my members can't save their high scores - it just hangs on the game for a while, doing nothing.

Any advice would be much appreciated ;)

Cheers,
Chris T. (From Down Under, Australia)

Thats usually, but not always, a url to games issue.
Goto admin>arcade>settings
Check the url to games, if it has the www there take it off, if its not there put it on.
Title: Re: SMF Arcade
Post by: jeza on October 31, 2008, 10:57:05 AM
Quote from: Jiveturkey on September 13, 2008, 03:49:09 PM
Now that I've upgraded I my members can't input their scores.  Once they're done playing they get a page not found error.

Any idea on what might cause this?

Thats Pretty URL's conflicting.
The fix is posted here
http://www.simplemachines.org/community/index.php?topic=146969.msg1564990#msg1564990
Title: Re: SMF Arcade
Post by: patalete on October 31, 2008, 02:29:14 PM
@Skhilled
I were talking about diferent issue than cadet.. ;)

@Jeza
Great! Thats what I needed

Thankyou ;D
Title: Re: SMF Arcade
Post by: psynx on November 01, 2008, 01:43:51 PM
hello,

i just installed this mod. i got problems with my package manager after installing this...i can't access my package manager because of this mods. please help. i have the image below to what error i got.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fd.imagehost.org%2F0109%2Ferror.jpg&hash=5450c6eaa26b657496d47ab5a5e8b96a2fdfcce2)
Title: Re: SMF Arcade
Post by: jeza on November 01, 2008, 03:24:46 PM
Quote from: psynx on November 01, 2008, 01:43:51 PM
hello,

i just installed this mod. i got problems with my package manager after installing this...i can't access my package manager because of this mods. please help. i have the image below to what error i got.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fd.imagehost.org%2F0109%2Ferror.jpg&hash=5450c6eaa26b657496d47ab5a5e8b96a2fdfcce2)

Try going to your packages folder and deleting the arcade zip file.
I believe this problem is with your host.
You will need to contact them and find out.
Title: Re: SMF Arcade
Post by: psynx on November 01, 2008, 05:04:25 PM
i already done that but i get same errors on deleting it. that error will showed up
Title: Re: SMF Arcade
Post by: jeza on November 01, 2008, 06:15:52 PM
Quote from: psynx on November 01, 2008, 05:04:25 PM
i already done that but i get same errors on deleting it. that error will showed up

You will need to do as the error and myself suggested, and contact your host. The problem is at their end by either not supporting zip files, or switching the support off without telling anyone.
Hosts do irritating things like that.
Title: Re: SMF Arcade
Post by: psynx on November 02, 2008, 04:47:37 AM
i made contact with my host and problem solved!  ;)

i still have problems,  i have additional membergroups in my forum. i set permissions to let them play the games but still they can't see the list of games in arcade page. regular members, global mod, admins have no problem accessing the game. only that additional membergroup i added has the problem accessing the game.
Title: Re: SMF Arcade
Post by: jeza on November 02, 2008, 10:24:25 AM
Quote from: psynx on November 02, 2008, 04:47:37 AM
i made contact with my host and problem solved!  ;)

i still have problems,  i have additional membergroups in my forum. i set permissions to let them play the games but still they can't see the list of games in arcade page. regular members, global mod, admins have no problem accessing the game. only that additional membergroup i added has the problem accessing the game.

http://www.smfarcade.info/forum/index.php/topic,2144.0.html

The easiest thing to do is goto admin>arcade>settings and set permissions to 'none'. But read that link as it explains everything. You may have to read it twice.
;D
Title: Re: SMF Arcade
Post by: psynx on November 02, 2008, 11:50:03 AM
everything is working fine now. thanks for the help
Title: Re: SMF Arcade
Post by: drakky on November 08, 2008, 01:49:28 AM
this mod simply  does not work

all I get is message please wait checking session...
when trying to play a game

arcade version is 2.0.15

I manually uploaded a folder with the game in it and installed it , it said it was installed ok , I can see the icon but cannot play the game
Title: Re: SMF Arcade
Post by: mrbolsonator on November 08, 2008, 02:26:49 AM
Where do I find more games that I can download and then upload to my site?

So far I have only used
http://www.flashgames247.com/pages/freegames.html

www.fuelcrazyamerica.com
Title: Re: SMF Arcade
Post by: psynx on November 08, 2008, 05:42:36 AM
me, i am downloading game packages from this site

http://games.smfarcade.info/index.php?action=old
Title: Re: SMF Arcade
Post by: edi67 on November 08, 2008, 06:53:19 AM
Sorry but with smf 2.0 beta 4 is not possible SAVE SCORE how solve this?

Always thi message:
An error occurred while saving score

i changed everythins in settings advanced but nothing
Title: Re: SMF Arcade
Post by: sgandtg on November 08, 2008, 02:40:54 PM
I've installed this mod and installed some games which all seem to have installed properly without errors.  However, when anyone clicks on the arcade tab, it tells them there are 6 games to play but it doesn't list them.

Any ideas?  I've changed permission mode to none so not sure what else I can do?
Title: Re: SMF Arcade
Post by: psynx on November 09, 2008, 03:53:25 AM
@sgandtg

try admin>permission>membergroup

check if they have permission to view arcade game

if you have checked it, then wait for the developer of this game to reply your post.
Title: Re: SMF Arcade
Post by: fwitt on November 09, 2008, 07:51:55 AM
Quote from: sgandtg on November 08, 2008, 02:40:54 PM
I've installed this mod and installed some games which all seem to have installed properly without errors.  However, when anyone clicks on the arcade tab, it tells them there are 6 games to play but it doesn't list them.

Any ideas?  I've changed permission mode to none so not sure what else I can do?

can you as the admin see any games when you go into the arcade?
Title: Re: SMF Arcade
Post by: sgandtg on November 09, 2008, 09:35:09 AM
All user groups have permission to play the arcade.

Even as Admin, I don't see the games in the arcade, although I do see them in Admin>Arcade Admin>Games (although they're not playable there.)
Title: Re: SMF Arcade
Post by: Mr_Lon on November 09, 2008, 11:39:38 AM
Are you going to release support for SMF 1.1.7?
Title: Re: SMF Arcade
Post by: Mr_Lon on November 09, 2008, 12:21:23 PM
I'm running SMF 1.1.7

I have SMF Arcade 2.0.11 installed and as the administrator I can go into the arcade and play the games. All other members now get this message "You are not allowed to access arcade."? They never had that problem before?

I can not find anything in my Administration panel for the Arcade? AND I have tryed to uninstall it but there is No uninstall available? I was going to try reinstalling it with the new version but now with SMF 1.1.7,  I don't think that will work also if I could unintsll it. Did 1.1.7 remove something?

Help please Nobody can play all of sudden??????

Lon
Title: Re: SMF Arcade
Post by: niko on November 10, 2008, 10:58:10 AM
Quote from: Mr_Lon on November 09, 2008, 11:39:38 AM
Are you going to release support for SMF 1.1.7?

Added 2.0.16 with 1.1.7 support.


Quote from: Mr_Lon on November 09, 2008, 12:21:23 PM
I can not find anything in my Administration panel for the Arcade? AND I have tryed to uninstall it but there is No uninstall available? I was going to try reinstalling it with the new version but now with SMF 1.1.7,  I don't think that will work also if I could unintsll it. Did 1.1.7 remove something?

Add ;version_emulate=1.1.4 (for example) to package manager url and uninstall after that
Title: Re: SMF Arcade
Post by: dwd2000 on November 18, 2008, 12:43:39 PM
Tried to click the link to SMF Arcade.info and I'm being redirected to:

http://atlantis.montecarlohosting.net/moving.page/

Title: Re: SMF Arcade
Post by: niko on November 18, 2008, 03:08:28 PM
Quote from: dwd2000 on November 18, 2008, 12:43:39 PM
Tried to click the link to SMF Arcade.info and I'm being redirected to:

http://atlantis.montecarlohosting.net/moving.page/

I don't know reason. It was automatically added to .htaccess so I assume that montecarlo is doing server work.
Title: Re: SMF Arcade
Post by: dwd2000 on November 18, 2008, 03:36:07 PM
Quote from: Niko on November 18, 2008, 03:08:28 PM
Quote from: dwd2000 on November 18, 2008, 12:43:39 PM
Tried to click the link to SMF Arcade.info and I'm being redirected to:

http://atlantis.montecarlohosting.net/moving.page/

I don't know reason. It was automatically added to .htaccess so I assume that montecarlo is doing server work.

No problem.
I have this mod as my bookmark to SMF, then go to where I want from there.
I use the "SMF Arcade.info" link to get to the Arcade forum. (I don't have a bookmark for the Arcade site)
Title: Re: SMF Arcade
Post by: CKWT on November 19, 2008, 01:20:36 AM
Hello. A couple weeks ago I installed the SMF and did some tryouts on mods.. the arcade was one of the hits on the site.. SO I ended up screwing up the site and had to reinstall.. now when I downloaded the new version of the arcade for 1.1.7 I get this message

./Themes/default/index.template.php Failed Test

www.catrachosgaming.tk is my site and maybe by looking at it you can tell what mod is conflicting..

I believe it's a conflict since I did not install the mods in the same sequence(order) as I did the first time...  Let me know if more info is needed to help me.

Thanks to anyone in advance that can help me on this issue.

pd.. the site only has like 7 days running and close to launch on .com and .hn...

Charlton White
Title: Re: SMF Arcade
Post by: jeza on November 19, 2008, 12:01:25 PM
CKWT

Can you attach your index.template.php and I'll have a look at it.

But remember, you will need smf arcade 2.0.16 for smf 1.1.7 and not the 2.5 beta.
Title: Re: SMF Arcade
Post by: CKWT on November 19, 2008, 01:02:36 PM
Thanks for reoplying and offering to help reviewing my php file..

It is attached and Thanks again for any help

Charlton White
www.catrachosgaming.tk
Title: Re: SMF Arcade
Post by: Guz Bristow on November 19, 2008, 02:38:18 PM
Hi

:D

I'm having problems uploading game packs from  the recent link on this thread, but I'm getting this message:-

"The package you tried to upload either is not a valid package or has become corrupted. "
I've tryed pack 1 2 10 and 16 all with the same results.

do i need to unzip?

The forum is running
SMF Arcade 2.0.16   
SMF 1.0.15 / 1.1.7 Update 1.0

Also the mod skin doesn't show an arcade button / option on the main menu (although all the features are in the admin section work)however it does load with the smf default skin...is there a quick fix to the code that i could do?

Any help wold be appreciated.

Cheers

Guz
Title: Re: SMF Arcade
Post by: fwitt on November 19, 2008, 04:57:31 PM
Quote from: Guz Bristow on November 19, 2008, 02:38:18 PM
I'm having problems uploading game packs from  the recent link on this thread, but I'm getting this message:-

"The package you tried to upload either is not a valid package or has become corrupted. "
I've tryed pack 1 2 10 and 16 all with the same results.

erm that sounds like a package manager error rather than an arcade admin error are you using the "arcade admin - games - install" page?

Quote
Also the mod skin doesn't show an arcade button / option on the main menu (although all the features are in the admin section work)however it does load with the smf default skin...is there a quick fix to the code that i could do?

the arcade only installs to the default theme if you are using a different theme you will need to do the theme edits to that theme.
Title: Re: SMF Arcade
Post by: Guz Bristow on November 19, 2008, 05:12:34 PM
Cheers Fwitt (great user name :)  )

I would try and upload them again but know i can find the link on this site to the game pack up loads :(

I've just trawled through 100 pages and most links are broken. Could someone help me out with some links to those, or other locations for free games, we only want about 100.

I have found some threads on the tab...its just adding a bit of code I guess.

Guz
Title: Re: SMF Arcade
Post by: bullbreedluverz on November 19, 2008, 05:16:40 PM
try http://sleepy-arcade.ath.cx/dev/index.php Guz
Title: Re: SMF Arcade
Post by: Guz Bristow on November 19, 2008, 05:56:35 PM
Cheers bullbreedluverz :)

Registered, but no access to the arcade down loads :(

Guz

Update... wayne sorted the access.
Title: Re: SMF Arcade
Post by: jeza on November 20, 2008, 10:09:25 AM
Quote from: CKWT on November 19, 2008, 01:20:36 AM
Hello. A couple weeks ago I installed the SMF and did some tryouts on mods.. the arcade was one of the hits on the site.. SO I ended up screwing up the site and had to reinstall.. now when I downloaded the new version of the arcade for 1.1.7 I get this message

./Themes/default/index.template.php Failed Test

www.catrachosgaming.tk is my site and maybe by looking at it you can tell what mod is conflicting..

I believe it's a conflict since I did not install the mods in the same sequence(order) as I did the first time...  Let me know if more info is needed to help me.

Thanks to anyone in advance that can help me on this issue.

pd.. the site only has like 7 days running and close to launch on .com and .hn...

Charlton White

Its this line
Quoteif (in_array($context['current_action'], array('downloads','staff','search',

If you swap the 'search' bit with the 'downloads' bit it should work
Title: Re: SMF Arcade
Post by: CKWT on November 20, 2008, 03:39:54 PM
No success.. I made the swap and tried again still shows test failed.

I would like to try some more changes to try my luck.... if not, What a think is: maybe I can copy+paste the code that the mod insert into the index file.. u know.. like manual help.

Thanks for your help...
Title: Re: SMF Arcade
Post by: Guz Bristow on November 21, 2008, 09:40:21 AM
Quote from: fwitt on November 19, 2008, 04:57:31 PM
Quote from: Guz Bristow on November 19, 2008, 02:38:18 PM
I'm having problems uploading game packs from  the recent link on this thread, but I'm getting this message:-

"The package you tried to upload either is not a valid package or has become corrupted. "
I've tryed pack 1 2 10 and 16 all with the same results.

erm that sounds like a package manager error rather than an arcade admin error are you using the "arcade admin - games - install" page?

Quote
Also the mod skin doesn't show an arcade button / option on the main menu (although all the features are in the admin section work)however it does load with the smf default skin...is there a quick fix to the code that i could do?

the arcade only installs to the default theme if you are using a different theme you will need to do the theme edits to that theme.


I'm getting this message in the games install:-

Database Error
Table 'darkagen_smf1.smf_arcade_games' doesn't exist
File: /home/darkagen/public_html/Sources/ManageGames.php
Line: 555

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.7, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php. 



As I'm a little smf green I have no idea how to do that...any help would be appreciated

Guz


UPDATE   all sorted I found the installer and updated the database.

Cheers  fwitt


GUZ
Title: Re: SMF Arcade
Post by: jeza on November 21, 2008, 10:29:32 AM
Quote from: CKWT on November 20, 2008, 03:39:54 PM
No success.. I made the swap and tried again still shows test failed.

I would like to try some more changes to try my luck.... if not, What a think is: maybe I can copy+paste the code that the mod insert into the index file.. u know.. like manual help.

Thanks for your help...

That would be your best option other than uninstalling all mods and starting afresh with the arcade.
BTW your sites throwing javascript errors as well.
Title: Re: SMF Arcade
Post by: CKWT on November 21, 2008, 10:38:15 AM
Quote from: jeza on November 21, 2008, 10:29:32 AM

That would be your best option other than uninstalling all mods and starting afresh with the arcade.
BTW your sites throwing javascript errors as well.

Thanks for the help. I'm gonna try and trace the errors..., if you have any advice they are more than welcome..

Also.. do you know the code That I can paste into the index.template.php

Thanks you'll

CKWT
Title: Re: SMF Arcade
Post by: kyle007 on November 21, 2008, 11:11:03 AM
Doesn't this arcade mod work with different themes?

I have a custom theme and smf 1.1.7... I installed it manually  without any error... I  uploaded some games from admin panel...

But in arcade game page, it says there are 5 games, but nothing other than that...No link,no game...

Also when i want to delete a game nothing happens...The game still stands in admin panel... So in summary i couldn't get it work with my smf... :(

*PS : I installed the latest version, gave the permissions....

Can anybody help me ?
Title: Re: SMF Arcade
Post by: fwitt on November 21, 2008, 12:06:10 PM
Quote from: kyle007 on November 21, 2008, 11:11:03 AM
Doesn't this arcade mod work with different themes?

I have a custom theme and smf 1.1.7... I installed it manually  without any error... I  uploaded some games from admin panel...

But in arcade game page, it says there are 5 games, but nothing other than that...No link,no game...

Also when i want to delete a game nothing happens...The game still stands in admin panel... So in summary i couldn't get it work with my smf... :(

*PS : I installed the latest version, gave the permissions....

Can anybody help me ?

the arcade mod only installs on the smf default theme, if you want to use it with another theme you need to do the arcade theme edits on that theme.
Title: Re: SMF Arcade
Post by: kyle007 on November 21, 2008, 12:28:09 PM
Ok i solved the problem, works fine...

But i think games aren't good enough  O:)
Title: Re: SMF Arcade
Post by: Final60 on November 22, 2008, 01:55:06 PM
Heya
Does SMF Arcade work with SMF 2.0 beta 4?

Thanks in advance
Title: Re: SMF Arcade
Post by: dwd2000 on November 22, 2008, 02:54:34 PM
Quote from: Final60 on November 22, 2008, 01:55:06 PM
Heya
Does SMF Arcade work with SMF 2.0 beta 4?

Thanks in advance

The version for SMF 2.x Beta is still in the beta stages. I'm not sure when it will be released.
I'm waiting for it too.
Title: Re: SMF Arcade
Post by: fwitt on November 22, 2008, 06:08:07 PM
Quote from: dwd2000 on November 22, 2008, 02:54:34 PM
Quote from: Final60 on November 22, 2008, 01:55:06 PM
Heya
Does SMF Arcade work with SMF 2.0 beta 4?

Thanks in advance

The version for SMF 2.x Beta is still in the beta stages. I'm not sure when it will be released.
I'm waiting for it too.

Smf Arcade 2.5 Beta 1.1 is available for public testing just go to http://download.smfarcade.info/ The earliest version of smf supported by the beta is 2.0 beta 4 and I believe the aim is to release Arcade 2.5 gold as soon as possible after smf 2 goes gold
Title: Re: SMF Arcade
Post by: dwd2000 on November 22, 2008, 06:16:39 PM
Quote

The version for SMF 2.x Beta is still in the beta stages. I'm not sure when it will be released.
I'm waiting for it too.

To clear my meaning a bit...I meant the Gold version...or official non beta version.

Title: Re: SMF Arcade
Post by: tdub311 on November 23, 2008, 03:34:20 PM
Does the SMF Arcade support any java games yet?
Title: Re: SMF Arcade
Post by: panzz on November 24, 2008, 08:25:10 AM
I simply love this mod very much, and it is working really fine, adding games and playing games, highscores etc. But I have a little problem which I really hope you can do something about, I keep getting this in my error log despite the pages being displayed without any problems

8: Undefined index: arcade
File: /home/letstalk/public_html/Sources/Arcade.php
Line: 135

any idea how I can fix this? It is flooding my error log!
Title: Re: SMF Arcade
Post by: SA™ on November 24, 2008, 09:12:29 AM
looking at the lin from the error looks like there is a language string missing

$txt['arcade'] = 'Arcade';

see if that is in

modifactions.english.php if not add it
Title: Re: SMF Arcade
Post by: panzz on November 24, 2008, 09:38:57 AM
ALL FIXED!

$txt['arcade'] = 'Arcade'; was somehow inside the code's comments, I simply had to move it to the next line, it fixed the linktree problem too!  :P

Thank you so much for your help! :D
Title: Re: SMF Arcade
Post by: SA™ on November 24, 2008, 09:40:50 AM
np glad its sorted  :)
Title: Re: SMF Arcade
Post by: flapper on November 24, 2008, 07:27:04 PM
Have tried to install SMF Arcade 2.5 Beta 2.2 Public first on my main forum and then on a test forum and both time get the same errors. Im using SMF 2.0 Beta 4.

On both accations, i upload the package, using package manager and apply the mod, all tests are successfull, and so click on install now, the package starts to install but then i get a page with this message


QuoteInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


And in my error log in cPanel i get this error message

QuoteSoftException in Application.cpp:252: File "/home/...../public_html/...../installArcade.php" is writeable by group


Can anyone tell me what the problem is, arcade seems to be working fine after all this but never had this problem installing anything before.
Title: Re: SMF Arcade
Post by: dwd2000 on November 24, 2008, 09:32:55 PM
QuoteSoftException in Application.cpp:252: File "/home/...../public_html/...../installArcade.php" is writeable by group

The above tells me that your server is trying to protect you (or itself). You can try to change the permissions so that it's not writable by "group".
As for the other, it may or may not be related. I personally have never come across that error before.
Title: Re: SMF Arcade
Post by: I JaR oF JaM I on November 26, 2008, 05:41:39 PM
Howdy, all.

Well, I'm trying to install this mod onto my forum, but it's not working... I'm running the default theme with the lilac color change (the site is for my sister).   I tried using the package manager, and I tried manually installing it.   The problem is that the tab at the top doesn't appear, any help?
Title: Re: SMF Arcade
Post by: dwd2000 on November 26, 2008, 08:42:40 PM
Quote from: I JaR oF JaM I on November 26, 2008, 05:41:39 PM
Howdy, all.

Well, I'm trying to install this mod onto my forum, but it's not working... I'm running the default theme with the lilac color change (the site is for my sister).   I tried using the package manager, and I tried manually installing it.   The problem is that the tab at the top doesn't appear, any help?

Which version of SMF?
Which version of the Arcade?
Is the Lilac theme the default theme with alterations or a separate theme based on the default?
Title: Re: SMF Arcade
Post by: aED on November 27, 2008, 09:29:11 PM
I am using this mod version 2.0.15 on my 1.1.7 SMF forum... what can i do to make this mod have features like tournaments, rankings etc etc?
Title: Re: SMF Arcade
Post by: dwd2000 on November 27, 2008, 09:59:05 PM
Quote from: aED on November 27, 2008, 09:29:11 PM
I am using this mod version 2.0.15 on my 1.1.7 SMF forum... what can i do to make this mod have features like tournaments, rankings etc etc?

SMF Arcade 2.5 Beta 2.2 Public (for SMF 2.4 Beta) has and "Arena" which is like tournaments, but there's nothing like that for SMF Arcade 2.0.x.
I'm not sure, but E-Arcade may have something.
http://www.ericsworld.eu/f2/index.php
Title: Re: SMF Arcade
Post by: I JaR oF JaM I on November 29, 2008, 03:41:43 AM
Quote from: dwd2000 on November 26, 2008, 08:42:40 PM
Quote from: I JaR oF JaM I on November 26, 2008, 05:41:39 PM
Howdy, all.

Well, I'm trying to install this mod onto my forum, but it's not working... I'm running the default theme with the lilac color change (the site is for my sister).   I tried using the package manager, and I tried manually installing it.   The problem is that the tab at the top doesn't appear, any help?

Which version of SMF?
Which version of the Arcade?
Is the Lilac theme the default theme with alterations or a separate theme based on the default?

I figured it out... It was a problem with the default coding it seems...
Title: Re: SMF Arcade
Post by: Skhilled on November 30, 2008, 04:03:42 PM
Just make sure the arcade (or any mod) works in the default core theme first. Then, make it work for your other themes. :)
Title: Re: SMF Arcade
Post by: ryozo on December 01, 2008, 05:43:51 PM
any instructions on how to uninstalL?
can delete the games but it still show in the Install games page.
how to completely remove?
well ive tried deleting folders in cpanel but it wont let me as the attribute of the folders created by this mod cant be change/deleted, whats this?

Title: Re: SMF Arcade
Post by: psynx on December 03, 2008, 11:39:43 PM
try deleting in tru ftp, look for your game files and start deleting it.

i have this prob also sometime, and that is what i did.
Title: Re: SMF Arcade
Post by: Skhilled on December 04, 2008, 03:51:35 PM
Quote from: ryozo on December 01, 2008, 05:43:51 PM
any instructions on how to uninstalL?
can delete the games but it still show in the Install games page.
how to completely remove?

For regular uninstallation of the files just do it via Packages.

When you uninstall the arcade it does not remove the database tables. You'll need to go into phpmyadmin and drop the _arcade tables.

Quote from: ryozo on December 01, 2008, 05:43:51 PM
well ive tried deleting folders in cpanel but it wont let me as the attribute of the folders created by this mod cant be change/deleted, whats this?

This is a hosting permissions issue. You have lost files/folder ownership. Ask your hosting to "chown" your files so you can regain ownership.
Title: Re: SMF Arcade
Post by: XRacer101 on December 04, 2008, 04:06:53 PM
I installed SMF Arcade and it only works on the SMF Default Theme. How can I fix this? If you need it here is my site:

http://tez.novahost.org/
Title: Re: SMF Arcade
Post by: SA™ on December 04, 2008, 04:17:53 PM
its there

http://www.tez.novahost.org/index.php?action=arcade

you just need to add the tab for it on that custom theme by default it will only install to the default theme

Title: Re: SMF Arcade
Post by: XRacer101 on December 04, 2008, 04:19:09 PM
Quote from: wdm2005 on December 04, 2008, 04:17:53 PM
its there

http://www.tez.novahost.org/index.php?action=arcade

you just need to add the tab for it on that custom theme by default it will only install to the default theme

Ok, thanks
Title: Re: SMF Arcade
Post by: Rich N-O on December 11, 2008, 09:05:52 AM
Hello, just installed SMF Arcade on my clean 2.0 beta 4 forum with default theme and it worked fine. Then I click to install a game (just used the Xmas Snowboarding as a trial) and now I get a white screen when I click on the Games option to manage settings. It was working before I tried to install the game.

Any ideas?

Could it be related to FTP permissions? We currently have an issue with that (SMF-generated duplicate themes are locked out to us) which our host is to look into.
Title: Re: SMF Arcade
Post by: Rich N-O on December 11, 2008, 09:20:34 AM
Ah, just looked and the .zip of the game itself is set to Apache user and group. Is this the problem, because the arcade cannot modify/unzip the file?
Title: Re: SMF Arcade
Post by: DareDevil1990 on December 18, 2008, 02:08:06 AM
okay guys i get various while installing smf arcade
i get this when i am trying to install the package
5.     Execute Modification     ./Themes/default/index.template.php     Test failed

then after this when i click install i get
http://img1.pickimg.com/686_untitled.jpg

and after this i go to action=arcade and i get
http://img1.pickimg.com/645_untitled2.jpg


can someone help

in the 3rd error earlier it was showing that my db verison was old so i run upgrade.php and re-install arcade and still the same problem  :(( 
i have smf 1.1.7 with smas theme by dziner studio
Title: Re: SMF Arcade
Post by: joshkol on December 21, 2008, 07:48:51 AM
Is there a way to install non scored games, whenever I try I get a 500 internal server error
Title: Re: SMF Arcade
Post by: dwd2000 on December 21, 2008, 09:42:25 AM
Quote from: joshkol on December 21, 2008, 07:48:51 AM
Is there a way to install non scored games, whenever I try I get a 500 internal server error

Do you get the error after the game is played?
Edit the game and find "Scoring" and set to "None".
The other options are: Normal (highest scores) and Reverse (lowest scores...like golf)

I'm not sure which version you are using.
Title: Re: SMF Arcade
Post by: joshkol on December 21, 2008, 11:12:12 AM
Im using SMF 1.1.17 and SMF Arcade 2.0.16, I get the error when I try to install the game, even if the game is not compatible it should still be able to install so others can play right?
Title: Re: SMF Arcade
Post by: dwd2000 on December 21, 2008, 04:03:04 PM
Quote from: joshkol on December 21, 2008, 11:12:12 AM
Im using SMF 1.1.17 and SMF Arcade 2.0.16, I get the error when I try to install the game, even if the game is not compatible it should still be able to install so others can play right?

If it is not compatible it will not install or play. It is something like putting ram from an XT into a Pentium.
Title: Re: SMF Arcade
Post by: jeri on December 22, 2008, 04:41:27 AM
At the top of my forum (I uninstalled arcade during my last move) I have the following:

<?php
// Version: 1.1; Modifications
$txt['arcade'] = 'Arcade';
$txt['arcade_admin'] = 'Arcade Admin';
$txt['arcade_manage_games'] = 'Games';
$txt['arcade_manage_category'] = 'Categories';
$txt['arcade_settings'] = 'Settings';

// Permission names and help
$txt['permissiongroup_arcade'] = 'Arcade';
$txt['permissionname_arcade_view'] = 'View Arcade';
$txt['permissionhelp_arcade_view'] = 'May access Arcade and use basic features like search and view highscores';
$txt['permissionname_arcade_play'] = 'Play on Arcade';
$txt['permissionhelp_arcade_play'] = 'Allows member to play on arcade, in games which he/she has rights to';
$txt['permissionname_arcade_admin'] = 'Administrate arcade';
$txt['permissionhelp_arcade_admin'] = 'Arcade Administarator can Install/Edit/Delete game, Delete scores and edit settings for arcade';
$txt['permissionname_arcade_view'] = 'View Arcade';
$txt['permissionhelp_arcade_view'] = 'May access Arcade and use basic features like search and view highscores';
$txt['permissionname_arcade_favorite'] = 'Use Favorites feature';
$txt['permissionhelp_arcade_favorite'] = 'Allows member to favorite and unfavorite games';
$txt['permissionname_arcade_submit'] = 'Save scores';
$txt['permissionhelp_arcade_submit'] = 'Allows users to save their scores.';
$txt['permissionname_arcade_rate'] = 'Rate games';
$txt['permissionhelp_arcade_rate'] = 'Allows users to rate games.';
$txt['permissionname_arcade_comment'] = 'Allow to comment/edit comment';
$txt['permissionhelp_arcade_comment'] = 'Allows user to edit comments, own or any';
$txt['permissionname_arcade_comment_any'] = 'Any';
$txt['permissionname_arcade_comment_own'] = 'Own';

// Errors if they can't do something
$txt['cannot_arcade_play'] = 'You are not allowed to play games!';
$txt['cannot_arcade_view'] = 'You are not allowed to access arcade.';
$txt['cannot_arcade_favorite'] = 'You are not allowed to favorite games';
$txt['cannot_arcade_rate'] = 'You are not allowed to rate games';
$txt['cannot_arcade_comment_own'] = 'You are not allowed to comment';

// Who's online
$txt['who_arcade'] = 'Viewing Arcade index';
$txt['who_arcade_play'] = 'Playing <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';
$txt['who_arcade_highscore'] = 'Viewing highscores of <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';

// Help
$txt['arcade_max_scores_help'] = 'Maximum scores that will be stored per member. (0 means unlimited)';
$txt['arcade_membergroups_help'] = 'These groups will be allowed to play and view highscores. Others will not see this game, only used if permission mode will use game permissions.';
//The start of the language strings for the mod
$txt['members_without_posts_mod']='Enable the members with post count 0 mod';
$txt['members_without_posts_custom_message']='Enter here the message that you want to be displayed to members with post count 0.<div class="smalltext">Leave blank to show the default message. Html enabled</div>';
$txt['default_members_without_posts_message']='<img src="' . $settings['images_url'] . '/attention.gif" alt="" align="middle" /><br/>
Hi there<br /> Do you find this message annoying?<br /> Why not make a post and get rid of it?';

// --- Begin modification - Updated registration agreement ---
$txt['agreement_no_exist'] = 'The registration agreement was not found!';
$txt['agreement_off'] = 'Registration agreements are turned off!';
$txt['agreement_updated'] = 'Updated Registration Agreement';
$txt['agreement_updated_descr'] = 'We have recently updated our registration agreement. In order to use our forum, you must agree to its terms, so please read through it carefully:';
$txt['agree'] = 'I Agree';
$txt['reset_agreement'] = 'Reset the agreement status for everyone';
$txt['reset_agreement_descr'] = 'This will force all users to re-read the registration agreement, and agree to it in order to continue using the forum.';

// --- End modification
$txt['uot_users_online_today']='Users Logged In Today';
$txt['uot_yesterday']='Yesterday at ';
$txt['uot_total']='Total';
$txt['uot_visible']='Visible';
$txt['uot_hidden']='Hidden';
         

            $txt['twitter_title'] = 'Twitter';
            $txt['twitter_desc'] = 'Enter your USERNAME on Twitter (i.e. if your Twitter link is http://www.twitter.com/john_doe, enter john_doe here)';
            $txt['changeposterid'] = 'Change Poster/Starter';
$txt['changeposteridno'] = 'Poster ID';
$txt['aeiou'] = 'AEIOU';
$txt['aeiou_title'] = 'Auto Email Inactive Ordinary Users';
$txt['aeiou_enable'] = 'Enable Automatic Emailing Of Inactive Users';
$txt['aeiou_email_desc1'] = 'Text-Only (No html, no bbcode)';
$txt['aeiou_email_desc2'] = 'Allowed Variables';
$txt['aeiou_email_desc3'] = '$username, $displayname, $forum, $link, $lostpassword';
$txt['aeiou_initial_subject'] = 'Initial Email Subject';
$txt['aeiou_initial_message'] = 'Initial Email Message';
$txt['aeiou_final_subject'] = 'Final Email Subject';
$txt['aeiou_final_message'] = 'Final Email Message';
$txt['aeiou_delete'] = 'Auto Delete Members (Except Admins)';
$txt['aeiou_delete_desc'] = 'After being sent an initial and final email AND has not returned within a further 21 days (Minimum 63 days total)';
$txt['aeiou_underposts'] = 'Delete Member Post Threshold';
$txt['aeiou_underposts_desc'] = 'With a postcount less than or equal to.';
$txt['aeiou_warning'] = 'It is NOT Recommended To Change Settings Below';
$txt['aeiou_warning2'] = 'Mail is sent in small chunks with hourly/daily limits to ensure your IMPORTANT mail all gets through.';
$txt['aeiou_warning3'] = '(such as Activation Emails, Notifications, Emails, Announcements, Newsletters)';
$txt['aeiou_warning4'] = 'Try reducing the amounts if your emails are not being received.';
$txt['aeiou_hour_max'] = 'Max Emails Per Hour';
$txt['aeiou_hour_max_desc'] = 'Based on a hosts limit of 100 per hour';
$txt['aeiou_day_max'] = 'Max Emails Per Day';
$txt['aeiou_day_max_desc'] = 'Based on a hosts limit of 1000 per day';
$txt['aeiou_chunksize'] = 'Send x emails at a time';
$txt['aeiou_chunksize_desc'] = 'With a min 5 minute interval';
$txt['aeiou_active'] = 'Active';
$txt['aeiou_reactivated'] = 'Re-Activated';
$txt['aeiou_reachedhourlylimit'] = 'Reached Hourly Limit';
$txt['aeiou_reacheddailylimit'] = 'Reached Daily Limit';
$txt['aeiou_nofurtheremails'] = 'No Further Emails To Send';
$txt['aeiou_stopped'] = 'Stopped';
$txt['aeiou_last_ran'] = 'Last Ran';
$txt['aeiou_starts_again'] = 'Will Start Again';
$txt['aeiou_sent_day'] = 'Emails Sent Today';
$txt['aeiou_sent_hour'] = 'Emails Sent This Hour';
$txt['aeiou_awaiting_total'] = 'Total Emails Awaiting To Be Sent';
$txt['aeiou_awaiting_initial_email'] = 'No. of Initial Emails';
$txt['aeiou_awaiting_final_email'] = 'No. of Final Emails';
$txt['aeiou_awaiting_deletion'] = 'Users Awaiting Deletion';
$txt['aeiou_disabled'] = '(Disabled)';
$txt['aeiou_none'] = 'None';
$txt['aeiou_never'] = 'Never';
$txt['aeiou_status'] = 'Status';
$txt['aeiou_max'] = 'Max';
$txt['aeiou_initial'] = 'Initial Email';
$txt['aeiou_final'] = 'Final Email';
$txt['aeiou_last10emailed'] = 'Last 10 Inactive Users Emailed';
$txt['aeiou_default_subject'] = 'Hey $displayname';
$txt['aeiou_default_message'] = 'Hey $displayname, we have missed you at $forum.
Since its been a while, we thought we would send you a personal invitation to return.

$link

Your login username is $username.
If you have forgotten your password you can request it at $lostpassword

Regards
$forum staff';
?>



Which is my entire Modifications.english.php

I can't see it but apparently everyone else can...how do I get it off?
Title: Re: SMF Arcade
Post by: afe on December 22, 2008, 02:59:01 PM
Where can we see a demo?

Thanks.
Title: Re: SMF Arcade
Post by: niko on December 22, 2008, 04:49:01 PM
Quote from: afe on December 22, 2008, 02:59:01 PM
Where can we see a demo?

Thanks.

http://www.smfarcade.info/forum/index.php?action=arcade

Quote from: jeri on December 22, 2008, 04:41:27 AM
Which is my entire Modifications.english.php

I can't see it but apparently everyone else can...how do I get it off?

Sounds like Modifications file is broken. But if that's really whole file it should be correct.
Do you have Modifications.english-utf8.php? Check that.
Title: Re: SMF Arcade
Post by: afe on December 22, 2008, 04:56:42 PM
Cool, where do I get the games that are with high scores?

Thanks. :)
Title: Re: SMF Arcade
Post by: niko on December 22, 2008, 05:32:42 PM
Quote from: afe on December 22, 2008, 04:56:42 PM
Cool, where do I get the games that are with high scores?

Thanks. :)

http://games.smfarcade.info/

Games for some other arcades will work too, for example some games for ibProArcade, available from:

http://www.ibparcade.com/index.php?autocom=downloads (login required)
Title: Re: SMF Arcade
Post by: Burke ♞ Knight on December 23, 2008, 06:39:42 AM
Niko,

I'm helping someone upgrade their forum from 1.1.7 to 2.0 Beta 4.
If run the upgrade, how do I make sure they do not lose the arcade data?
They have large list of games, etc.
I know SMF likes to disable all mods, when upgrades, yet, I do not know if the database data for the arcade will still be there when reinstall the mod.

Just want to double check, before run upgrade.

(Yes, I plan on 2 database backups, as well as 2 full backups of the whole forum directory. :) )
Title: Re: SMF Arcade
Post by: niko on December 23, 2008, 06:48:36 AM
Quote from: BurkeKnight on December 23, 2008, 06:39:42 AM
Niko,

I'm helping someone upgrade their forum from 1.1.7 to 2.0 Beta 4.
If run the upgrade, how do I make sure they do not lose the arcade data?
They have large list of games, etc.
I know SMF likes to disable all mods, when upgrades, yet, I do not know if the database data for the arcade will still be there when reinstall the mod.

Just want to double check, before run upgrade.

(Yes, I plan on 2 database backups, as well as 2 full backups of the whole forum directory. :) )

Data will be still there. And Arcade 2.5 installer should upgrade it without problems.
Title: Re: SMF Arcade
Post by: Burke ♞ Knight on December 23, 2008, 06:57:26 AM
Perfect. :)

You know, I really have to give Arcade a try finally.
Just need to find how to get the games....LOL

Thanks, Niko. :)
Title: Re: SMF Arcade
Post by: Burke ♞ Knight on December 24, 2008, 02:46:08 PM
Just to let you know.
Upgraded and did like you said, got errors up the wazoo on a client's site, due to duplicate type errors trying to get the games to install.

Also, tried to extract a game pack, just to get a subs error that crashed the admin section of the Arcade.

Any ideas, before I resort to uninstalling the arcade and wiping it out of the database?
Title: Re: SMF Arcade
Post by: aED on December 25, 2008, 07:58:17 AM
Hi,

i know ive read it before but since i cant find it anymore can someone tell me how i can modify smf arcade so that when someone is playing in the arcade it will show in the whos online list that he is playing in the arcade and what game he is playing.

thanks!
Title: Re: SMF Arcade
Post by: Burke ♞ Knight on December 25, 2008, 08:29:45 AM
Quote from: aED on December 25, 2008, 07:58:17 AM
Hi,

i know ive read it before but since i cant find it anymore can someone tell me how i can modify smf arcade so that when someone is playing in the arcade it will show in the whos online list that he is playing in the arcade and what game he is playing.

thanks!

As far as I know, it already does that. :)
At lest, on my 1.1.7 site with Arcade, it does.
Title: Re: SMF Arcade
Post by: aED on December 26, 2008, 12:22:30 AM
I am not using the latest version maybe thats the reason if i upgrade it to the latest version will it preserved my installed games and scores? Btw i am also using smf 1.1.7
Title: Re: SMF Arcade
Post by: sardax on December 28, 2008, 01:35:35 PM
Hi 2 all.
Please, I need help.

I've installed SMF Arcade, everything is great, except 1 thing.

When I'm on my forum index, there is no Arcade button/link, but if I go via Address bar, It's normaly shown.

Here, look:

http://www.ptspclan.com/forum/index.php

http://www.ptspclan.com/forum/index.php?action=arcade

What Can I do???
I can normally install games, modify them, ... but, I can't see them from forum?!
THNX.

And also, this Smack The Penguin game, there is no SCORE update when playing? Why?
Title: Re: SMF Arcade
Post by: fwitt on December 28, 2008, 06:34:19 PM
sardax: as your forum is not using the smf default theme you need to do the theme edits for the arcade to the theme you are using, this is one of the most commonly asked questions about installing mods and the answer is everywhere, I think I can safely it appears several times in this thread in fact.
Title: Re: SMF Arcade
Post by: sardax on December 29, 2008, 06:08:20 AM
fwitt, thnx for answer. I've tried to find it, but I'm definatelly blind :)
When I've installed SMF Arcade, there was:

/index.php TEST FAILED

But no1 here had that problem. Probabbly, that was it.
Never mind, I'll try to find it arround here again.

Also, if You can write it, or find it before, I'll really appricieate.

thnx.
Title: Re: SMF Arcade
Post by: sardax on December 29, 2008, 08:28:01 AM
sorry 4 DP.

Also, I've edited index.php with what I had to, but, no changes :( :(
If I put it to DEFAULT, it looks great, and there is ARCADE tab... But, I like this one =(
Title: Re: SMF Arcade
Post by: fwitt on December 29, 2008, 04:29:48 PM
the file the link is in is index.template.php when the arcade is installed it gets added to the default themes version of this file. Your theme will have a version of this file. You need to add similar code to that which gets added to the default theme but so that it matches the other links in your theme. It depends how similar your themes template is in code to the default theme as to how much you need to change the code in your theme.

I tend to back up the themes index.template.php (so I have something to go back to if it goes wrong. Then do open a copy of the index.template.php and the do a find on the word "search" then every time "search" appears in a list add "arcade" to the list if search appears a lot in a block of code then copy the entire block of code replacing every occurrence of search with arcade in the copy, if you place the copy b4 the original the arcade link appears to the left of the search link and after means to the right. (you also need to change any occurances of $txt['182'] to $txt['arcade'] ). once you have done this replace the original file in your theme with this new one and check for errors.
Title: Re: SMF Arcade
Post by: SuperZambezi on January 01, 2009, 03:30:29 PM
I have a question :

Would it be possible to creat your own games so that they work with SMF arcade?
Title: Re: SMF Arcade
Post by: fwitt on January 01, 2009, 04:55:45 PM
Yes and there is more than one way to do it. Smfarcade supports more than one type of submission code. Writing flash is one of the things on my to do list that i havent got round to yet so I dont know how it works just that its possible (and apparently easy for a game author to add).

I seem to remember reading a post on smfarcade.info about what variables to submit.
Title: Re: SMF Arcade
Post by: SuperZambezi on January 02, 2009, 11:39:48 PM
ok thanks. ill look it up some more at smfarcade.info :)
Title: Re: SMF Arcade
Post by: Mikeric on January 07, 2009, 11:01:13 PM
When i use any browser other than firefox the add to favorites link does not show up. Just red x's. What could cause that?
Title: Re: SMF Arcade
Post by: funcouldron on January 07, 2009, 11:29:57 PM
please release bug fix version for free members .. i m waiting for it to come for my smf2.0b4 site :(
Title: Re: SMF Arcade
Post by: sardax on January 10, 2009, 07:48:35 AM
does any1 know where to find some Yeti games for my SMF forum?
I mean like Penguin Throw & stuff.. But, with stats that works.
Title: Re: SMF Arcade
Post by: Skhilled on January 10, 2009, 11:03:43 AM
Quote from: Mikeric on January 07, 2009, 11:01:13 PM
When i use any browser other than firefox the add to favorites link does not show up. Just red x's. What could cause that?

That is because there are images that are missing. I assume you are not using the default theme. Just copy all of the arcade images to what theme(s) you wish to use.

Quote from: funcouldron on January 07, 2009, 11:29:57 PM
please release bug fix version for free members .. i m waiting for it to come for my smf2.0b4 site :(

Please check out http://smfarcade.info (http://smfarcade.info) for the latest updates when they become available.

Quote from: sardax on January 10, 2009, 07:48:35 AM
does any1 know where to find some Yeti games for my SMF forum?
I mean like Penguin Throw & stuff.. But, with stats that works.

A Google search should get you plenty of them. You can also try at http://ibpdownloads.com (http://ibpdownloads.com)
Title: Re: SMF Arcade
Post by: funcouldron on January 10, 2009, 01:06:03 PM
i knw tht site but 2.3 is not for free so waiting for it,,
Title: Re: SMF Arcade
Post by: Skhilled on January 11, 2009, 12:55:47 AM
I'm not sure what you're talking about... SMFarcade has always been free and will probably stay that way. And I assume you mean version 2.5 for SMF 2 Beta 4? There has been a version available for that for some now. It has a few bugs and a newer version is scheduled for release soon.
Title: Re: SMF Arcade
Post by: fwitt on January 11, 2009, 04:20:22 PM
i think they are refering to arcade 2.5 beta 3 which is hasen't been released for public testing quite yet, and I think they are refering to the fact its been released to beta testers and charter members (at smfarcade.info) for testing already.
Title: Re: SMF Arcade
Post by: needhelpplease on January 12, 2009, 05:21:03 PM
i've installed but i can't see it on my forum
or how to put it on the tabs?
http://www.celestechen.com/forum
Title: Re: SMF Arcade
Post by: fwitt on January 12, 2009, 07:03:40 PM
Quote from: needhelpplease on January 12, 2009, 05:21:03 PM
i've installed but i can't see it on my forum
or how to put it on the tabs?
http://www.celestechen.com/forum

you need to do the theme edits on the custom theme you are using, basically any file in the default theme that has code added by the arcade you need to add to your custom theme if your theme has that file.

you can look at the direct link to your arcade by going to http://www.celestechen.com/forum/index.php?action=arcade to check it has installed properly
Title: Re: SMF Arcade
Post by: kingkingston on January 13, 2009, 05:28:15 PM
How do you add games to arcade ????

i have 1.1.7 so which arcade is the best for me ?
Title: Re: SMF Arcade
Post by: kingkingston on January 13, 2009, 06:04:47 PM
i wish they would be more descriptive when telling you which file has to be moved where or what code has to be added

./index.php is confusing not just to me but a lot of people because when you look in the file ./index.php there is hardley anything in there
Title: Re: SMF Arcade
Post by: fwitt on January 13, 2009, 08:26:57 PM
Quote from: kingkingston on January 13, 2009, 05:28:15 PM
How do you add games to arcade ????

i have 1.1.7 so which arcade is the best for me ?

2.0.16 is the current arcade version for 1.1.7
Title: Re: SMF Arcade
Post by: funcouldron on January 14, 2009, 12:13:14 AM
Quote from: fwitt on January 11, 2009, 04:20:22 PM
i think they are refering to arcade 2.5 beta 3 which is hasen't been released for public testing quite yet, and I think they are refering to the fact its been released to beta testers and charter members (at smfarcade.info) for testing already.

yes you are right,, and i think it is sheduled to release soon and i m planing to add it ,, i am waiting for that only so i dont need to go for update.
Title: Re: SMF Arcade
Post by: niko on January 16, 2009, 08:21:50 AM
SMF Arcade 2.5 Beta 3 Public has been finally released for SMF 2.0 Beta 4.

Download from mod-site or SMF Arcade.info (http://www.smfarcade.info/products/smfarcade)
Title: Re: SMF Arcade
Post by: Sudhakar Arjunan on January 16, 2009, 10:35:18 AM
Quote from: Niko on January 16, 2009, 08:21:50 AM
SMF Arcade 2.5 Beta 3 Public has been finally released for SMF 2.0 Beta 4.

Download from mod-site or SMF Arcade.info (http://www.smfarcade.info/products/smfarcade)

That's a real good update.
Title: Re: SMF Arcade
Post by: erisa on January 17, 2009, 02:09:45 PM
After I use SMF Arcade 2.5 Beta 3 Public for SMF 2.0 Beta 4.

I keep getting

Duplicate entry '' for key 2
File: /home/bingbing/public_html/jinx/Sources/Subs-ArcadeAdmin.php
Line: 100

For all my games.
Title: Re: SMF Arcade
Post by: niko on January 17, 2009, 03:01:21 PM
Quote from: erisa on January 17, 2009, 02:09:45 PM
After I use SMF Arcade 2.5 Beta 3 Public for SMF 2.0 Beta 4.

I keep getting

Duplicate entry '' for key 2
File: /home/bingbing/public_html/jinx/Sources/Subs-ArcadeAdmin.php
Line: 100

For all my games.

More information, please.

Also please send database dump to niko[at]smfarcade.info (arcade tables only!)
Title: Re: SMF Arcade
Post by: erisa on January 17, 2009, 03:41:08 PM
Basically I can't install or edit any games. It will come up as duplicate.........

Title: Re: SMF Arcade
Post by: niko on January 17, 2009, 04:46:11 PM
Quote from: erisa on January 17, 2009, 03:41:08 PM
Basically I can't install or edit any games. It will come up as duplicate.........

I'm aware that in some cases this problem occurs. But I haven't really got anything that has helped me to reproduce error. Database dump would be extremely useful to debug. (use phpmyadmin in select tables that has arcade in name)
Title: Re: SMF Arcade
Post by: sardax on January 22, 2009, 07:18:52 AM
Hi, does any1 have games for SMF Arcade like YETI championships or any kind of PINGU games?
Offcoruse, that have stats avaliable?

Please, You can mail me: sardax(at)ptspclan.com

thnx in advance. I can't find them anywhere :(
Title: Re: SMF Arcade
Post by: jeza on January 22, 2009, 03:03:20 PM
http://games.smfarcade.info/index.php?action=old

SMF Arcade gamepacks
Title: Re: SMF Arcade
Post by: Sudhakar Arjunan on January 24, 2009, 06:24:59 PM
Hi Niko,

A small question.

I have currently using SMF Arcade 2.5 Beta 1.1.

How to upgrade. Upload and click install.

Remove existing and re install.

If so will it affect my already existing or played games. Since i understood there were database changes too in this latest release.
Title: Re: SMF Arcade
Post by: Whimsical on January 25, 2009, 01:11:38 PM
QuoteWhen i use any browser other than firefox the add to favorites link does not show up. Just red x's. What could cause that?

Check that any links to images dont have /// instead of just //.

I had this happen with something the other day when I was doing something with the forum, and I found that firefox corrects it so the image is found and loads as it should, whereas other browsers that I tested didnt.
Title: Re: SMF Arcade
Post by: Skhilled on January 27, 2009, 08:11:56 AM
Quote from: sardax on January 22, 2009, 07:18:52 AM
Hi, does any1 have games for SMF Arcade like YETI championships or any kind of PINGU games?
Offcoruse, that have stats avaliable?

Please, You can mail me: sardax(at)ptspclan.com

thnx in advance. I can't find them anywhere :(

Try ibpdownloads.com

Quote from: A.SK on January 24, 2009, 06:24:59 PM
Hi Niko,

A small question.

I have currently using SMF Arcade 2.5 Beta 1.1.

How to upgrade. Upload and click install.

Remove existing and re install.

If so will it affect my already existing or played games. Since i understood there were database changes too in this latest release.

Uninstall the old first then install the new version. You will still should have your games and scores.
Title: Re: SMF Arcade
Post by: aED on January 29, 2009, 05:34:18 AM
HI I found these errors in my logs can you please tell me whats the problem

www.domain.com /index.php?action=arcade;sa=suggest;name=unli%20mms%20for%20gl;xml;time=1233276116455
Database Error: Unknown column 'category.member_groups' in 'where clause'

Title: Re: SMF Arcade
Post by: Navubi on January 29, 2009, 01:25:00 PM
Hey everyone! I would just like to express my thanks to Niko and his friends for developing such an awesome mod! The SMF arcade has been on my forum for about 3 weeks now. Since the first week of having the arcade up, it has been a huge success. A lot of the younger members on my forum love it. Most of the older members play Pacman and Tetris only (they are afraid of new things) :D I have helped two people install this awesome mod who had trouble getting it to work. Now their forums are growing thanks to your mod Niko. Thank you for your hard work!

I would like to rate this mod a 5/5 :D!
Title: Re: SMF Arcade
Post by: fwitt on January 29, 2009, 01:32:56 PM
Quote from: aED on January 29, 2009, 05:34:18 AM
HI I found these errors in my logs can you please tell me whats the problem

www.domain.com /index.php?action=arcade;sa=suggest;name=unli%20mms%20for%20gl;xml;time=1233276116455
Database Error: Unknown column 'category.member_groups' in 'where clause'

what version of SMF what arcade version, does the error also give a filename and line?
Title: Re: SMF Arcade
Post by: Skhilled on January 31, 2009, 04:40:55 AM
Quote from: aED on January 29, 2009, 05:34:18 AM
HI I found these errors in my logs can you please tell me whats the problem

www.domain.com /index.php?action=arcade;sa=suggest;name=unli%20mms%20for%20gl;xml;time=1233276116455
Database Error: Unknown column 'category.member_groups' in 'where clause'



You have also not posted the entire error unless you are having some SMF issues.

Quote from: Navubi on January 29, 2009, 01:25:00 PM
Hey everyone! I would just like to express my thanks to Niko and his friends for developing such an awesome mod! The SMF arcade has been on my forum for about 3 weeks now. Since the first week of having the arcade up, it has been a huge success. A lot of the younger members on my forum love it. Most of the older members play Pacman and Tetris only (they are afraid of new things) :D I have helped two people install this awesome mod who had trouble getting it to work. Now their forums are growing thanks to your mod Niko. Thank you for your hard work!

I would like to rate this mod a 5/5 :D!

You are welcome. :)
Title: Re: SMF Arcade
Post by: niko on January 31, 2009, 02:51:27 PM
Quote from: aED on January 29, 2009, 05:34:18 AM
HI I found these errors in my logs can you please tell me whats the problem

www.domain.com /index.php?action=arcade;sa=suggest;name=unli%20mms%20for%20gl;xml;time=1233276116455
Database Error: Unknown column 'category.member_groups' in 'where clause'

Reported as a bug:

http://www.smfarcade.info/forum/index.php?issue=203.0
Title: Re: SMF Arcade
Post by: SgtMic on February 01, 2009, 01:49:25 AM
Installed Arcade on RC1. I know.  ;)

Getting a ton of errors in regards to modification.english.php

http://fastsquad.org/forum/index.php?action=admin;area=logs;d82fcc44e5=adf4817445ab575e29a9109a1179c3f3
8: Undefined variable: scripturl
File: /home/fastsqua/public_html/forum/Themes/default/languages/Modifications.english.php
Line: 206


http://fastsquad.org/forum/index.php?type=rss;action=.xml
8: Undefined variable: scripturl
File: /home/fastsqua/public_html/forum/Themes/default/languages/Modifications.english.php
Line: 206


Any ideas?
Title: Re: SMF Arcade
Post by: aED on February 01, 2009, 02:18:04 AM
Quote from: Niko on January 31, 2009, 02:51:27 PM
Quote from: aED on January 29, 2009, 05:34:18 AM
HI I found these errors in my logs can you please tell me whats the problem

www.domain.com /index.php?action=arcade;sa=suggest;name=unli%20mms%20for%20gl;xml;time=1233276116455
Database Error: Unknown column 'category.member_groups' in 'where clause'

Reported as a bug:

http://www.smfarcade.info/forum/index.php?issue=203.0

Thanks niko...
Title: Re: SMF Arcade
Post by: niko on February 01, 2009, 09:13:17 AM
Quote from: SgtMic on February 01, 2009, 01:49:25 AM
Installed Arcade on RC1. I know.  ;)

Getting a ton of errors in regards to modification.english.php

http://fastsquad.org/forum/index.php?action=admin;area=logs;d82fcc44e5=adf4817445ab575e29a9109a1179c3f3
8: Undefined variable: scripturl
File: /home/fastsqua/public_html/forum/Themes/default/languages/Modifications.english.php
Line: 206


http://fastsquad.org/forum/index.php?type=rss;action=.xml
8: Undefined variable: scripturl
File: /home/fastsqua/public_html/forum/Themes/default/languages/Modifications.english.php
Line: 206


Any ideas?

Might be related to changes in RC1. Try adding global $scripturl; to Modifications.english.php. (before text strings)
Title: Re: SMF Arcade
Post by: SgtMic on February 01, 2009, 12:52:34 PM
global $scripturl; solved it. Thanks Niko.
Title: Re: SMF Arcade
Post by: shortchange on February 01, 2009, 12:59:57 PM
The tables SMF Arcade added are in latin1_german2_ci,IMPLICIT but the rest of my site is in latin1_swedish_ci,IMPLICIT

What should I do, and how?

Thanks.
Title: Re: SMF Arcade
Post by: Sudhakar Arjunan on February 02, 2009, 12:17:08 PM
I want to upgrade the latest version.

When i clicked on the uninstall button, it shows me this.

1.     Execute Modification     ./index.php     Test failed
      1.    Replace    ./index.php    Test failed
      2.    Replace    ./index.php    Test successful
*    2.    Execute Modification    ./Sources/ManagePermissions.php    Test failed
      1.    Replace    ./Sources/ManagePermissions.php    Test failed
      2.    Replace    ./Sources/ManagePermissions.php    Test successful
*    3.    Execute Modification    ./Sources/Subs-Db-mysql.php    Test failed
      1.    Replace    ./Sources/Subs-Db-mysql.php    Test failed
*    4.    Execute Modification    ./Sources/Subs.php    Test failed
      1.    Replace    ./Sources/Subs.php    Test failed
      2.    Replace    ./Sources/Subs.php    Test failed
*    5.    Execute Modification    ./Sources/Admin.php    Test failed
      1.    Replace    ./Sources/Admin.php    Test failed
      2.    Replace    ./Sources/Admin.php    Test successful
      3.    Replace    ./Sources/Admin.php    Test successful
      4.    Replace    ./Sources/Admin.php    Test successful
*    6.    Execute Modification    ./Sources/Who.php    Test successful
      1.    Replace    ./Sources/Who.php    Test successful
      2.    Replace    ./Sources/Who.php    Test successful
*    7.    Execute Modification    ./Sources/Profile.php    Test successful
      1.    Replace    ./Sources/Profile.php    Test successful
      2.    Replace    ./Sources/Profile.php    Test successful
      3.    Replace    ./Sources/Profile.php    Test successful
*    8.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Modifications.english.php    Test failed

50% of Failed. No idea what to do.
Title: Re: SMF Arcade
Post by: kyle007 on February 03, 2009, 01:18:29 PM
Hi... I have the 2.0.16 version...

I just want a "who is online" table in my arcade mode...

Could you give me that codes ?
Title: Re: SMF Arcade
Post by: Skhilled on February 05, 2009, 12:49:27 AM
Quote from: shortchange on February 01, 2009, 12:59:57 PM
The tables SMF Arcade added are in latin1_german2_ci,IMPLICIT but the rest of my site is in latin1_swedish_ci,IMPLICIT

What should I do, and how?

Thanks.

You could export the tables, delete the old tables and then import them back into the database using latin1_swedish_ci,IMPLICIT. I highly suggest backing up your database first! You might even want to try this on a test site first.

@A.SK - What smf and what arcade versions are you using?
Title: Re: SMF Arcade
Post by: Skhilled on February 05, 2009, 12:50:03 AM
Quote from: kyle007 on February 03, 2009, 01:18:29 PM
Hi... I have the 2.0.16 version...

I just want a "who is online" table in my arcade mode...

Could you give me that codes ?

Please check the Hack board at http://www.smfarcade.info
Title: Re: SMF Arcade
Post by: kyle007 on February 06, 2009, 08:58:09 AM
Thx Skhilled...

BTW , one player can submit infinite score in one game...

But i want the scoreboard  only show  player's best score,not all of his scores...

Yeah i know in arcade settings, we can set the number in game option...

But when i set it "1" , if i take a higher score it gives error when i  push the submit button...

It says , an error occured...
Title: Re: SMF Arcade
Post by: virtualxtc on February 06, 2009, 06:58:30 PM
Is SMF 1.1.8 Compatibility coming soon?

Cheers.

Edit:
Never mind, found the updated version on the arcade website.
Title: Re: SMF Arcade
Post by: Skhilled on February 07, 2009, 11:42:29 AM
Quote from: kyle007 on February 06, 2009, 08:58:09 AM
Thx Skhilled...

BTW , one player can submit infinite score in one game...

But i want the scoreboard  only show  player's best score,not all of his scores...

Yeah i know in arcade settings, we can set the number in game option...

But when i set it "1" , if i take a higher score it gives error when i  push the submit button...

It says , an error occured...


I'm not completely sure but there might be a hack for that also.
Title: Re: SMF Arcade
Post by: Xavi-Nena on February 08, 2009, 12:43:05 AM
i have seemed to make a mess of things...

first i tried to uninstall but noticed no button....then my genius self deleted the package! Ahhhh now i cannot uninstall or reinstall because it says my files are still there but i have no clue how to go about uninstalling...please help.

side note: i did have 2 or 3 patches since first installing the arcade but now i would just like to remove it entirely and start fresh...please help!
Title: Re: SMF Arcade
Post by: Skhilled on February 08, 2009, 04:26:16 PM
You need to uninstall your SMF updates until you can see "uninstall". You should be able to uninstall the arcade then. Next you can just reinstall the SMF updates. All of this can be done via Packages.  :)
Title: Re: SMF Arcade
Post by: jeza on February 09, 2009, 08:50:33 AM
Quotethen my genius self deleted the package! Ahhhh

If you still have the zip file just FTP it back into the packages folder then follow the steps Skhilled mentioned above.
Title: Re: SMF Arcade
Post by: Xavi-Nena on February 09, 2009, 01:08:38 PM
Quote from: jeza on February 09, 2009, 08:50:33 AM
Quotethen my genius self deleted the package! Ahhhh

If you still have the zip file just FTP it back into the packages folder then follow the steps Skhilled mentioned above.

thanks for that suggestion however it was version 2.0.9 and i no longer have that zip on my computer


Skhilled - i just replied to your pm on your support forum..
Title: Re: SMF Arcade
Post by: SgtMic on February 10, 2009, 07:57:25 PM
RC1 public with newest version of Arcade.
Go to Arena and click on "new match" comes up with this:

Fatal error: Call to undefined function create_control_autosuggest() in /home/xxxxxxx/public_html/forums/Sources/ArcadeArena.php on line 325

Check the error logs and no errors in there. 
Title: Re: SMF Arcade
Post by: _Anthony_ on February 10, 2009, 08:07:49 PM
This and E-Arcade should merge.
Title: Re: SMF Arcade
Post by: ysNoi on February 11, 2009, 11:10:06 AM
This one is a very nice mod..! Thanks in a million..!

BTW, may I know what is the ideal setting of wrapper so that all of the games installed won't exceed on the size of my forum..?

Thanks in advance...!  :) :)
Title: Re: SMF Arcade
Post by: fwitt on February 11, 2009, 03:58:22 PM
Quote from: MrMoney on February 10, 2009, 08:07:49 PM
This and E-Arcade should merge.

The E-Arcade was Eeeks version of the arcade with changes to so of the features mostly from the Hacks board of smfarcade.info. The majority of the code is the same. Eeek is one of the dev's for this arcade although he hasen't been active recently due to real life interfering.

So in effect E-Arcade isnt a different mod just a different branch of the same mod.
Title: Re: SMF Arcade
Post by: Skhilled on February 12, 2009, 08:08:47 AM
Quote from: SgtMic on February 10, 2009, 07:57:25 PM
RC1 public with newest version of Arcade.
Go to Arena and click on "new match" comes up with this:

Fatal error: Call to undefined function create_control_autosuggest() in /home/xxxxxxx/public_html/forums/Sources/ArcadeArena.php on line 325

Check the error logs and no errors in there. 

Please post that error in the Bug Tracker at SMF Arcade so we can investigate it further.

Quote from: ysNoi on February 11, 2009, 11:10:06 AM
This one is a very nice mod..! Thanks in a million..!

BTW, may I know what is the ideal setting of wrapper so that all of the games installed won't exceed on the size of my forum..?

Thanks in advance...!  :) :)

There is no way of knowing this. Game creators code their games to be shown at whatever size they wish and the sizes are varied greatly. You'd also have to consider the resolution of your monitor as well as the width of your theme. If you have multiple themes the wrapper width could be different on each one.

You could change the height and width of each game (in each game's settings) to a more suitable size. However, you run the risk of the game not displaying well or gameplay could be hampered. But it is worth a try, if you don't have a lot of games.
Title: Re: SMF Arcade
Post by: SgtMic on February 12, 2009, 11:42:50 AM
Quote from: Skhilled on February 12, 2009, 08:08:47 AM
Quote from: SgtMic on February 10, 2009, 07:57:25 PM
RC1 public with newest version of Arcade.
Go to Arena and click on "new match" comes up with this:

Fatal error: Call to undefined function create_control_autosuggest() in /home/xxxxxxx/public_html/forums/Sources/ArcadeArena.php on line 325

Check the error logs and no errors in there. 

Please post that error in the Bug Tracker at SMF Arcade so we can investigate it further.


Done
Title: Re: SMF Arcade trouble installing arcade 2.0.17 for 1.1.8
Post by: kingkingston on February 13, 2009, 07:36:48 AM
everything else said successful except this

./Themes/default/index.template.php

any help please much welcome :)
Title: Re: SMF Arcade
Post by: Skhilled on February 15, 2009, 01:43:10 AM
Quote from: kingkingston on February 13, 2009, 07:36:48 AM
everything else said successful except this

./Themes/default/index.template.php

any help please much welcome :)

You have to manually edit that file and add the arcade code for it.
Title: Re: SMF Arcade
Post by: kingkingston on February 15, 2009, 05:37:55 AM
Quote from: Skhilled on February 15, 2009, 01:43:10 AM
Quote from: kingkingston on February 13, 2009, 07:36:48 AM
everything else said successful except this

./Themes/default/index.template.php

any help please much welcome :)

You have to manually edit that file and add the arcade code for it.

it's all good now,think it just clashed with another mod but i have fixed it now but thanks for your help
Title: Re: SMF Arcade
Post by: Skhilled on February 17, 2009, 08:00:20 AM
You're welcome. :)
Title: Re: SMF Arcade
Post by: The Rancher on February 20, 2009, 09:42:03 PM
Quote from: kingkingston on February 15, 2009, 05:37:55 AM
Quote from: Skhilled on February 15, 2009, 01:43:10 AM
Quote from: kingkingston on February 13, 2009, 07:36:48 AM
everything else said successful except this

./Themes/default/index.template.php

any help please much welcome :)

You have to manually edit that file and add the arcade code for it.

it's all good now,think it just clashed with another mod but i have fixed it now but thanks for your help

I have the same problem.

What code and where do I put it?
Title: Re: SMF Arcade
Post by: LadyC on February 20, 2009, 10:18:23 PM
when you go to install it, there should be a little "edit icon" (looks like a pencil and paper) to the left of whatever test failed. open that up and it will tell what should be changed.

what typically happens is that another mod has already altered the code, so the installer for this mod can't find it. you may have to do some sleuthing around in that file to find what you're looking for, but once you do, just follow the second step of the instructions that appear in the pop-up window when you click that icon in the package manager.
Title: Re: SMF Arcade
Post by: The Rancher on February 20, 2009, 10:28:11 PM
Quote from: LadyC on February 20, 2009, 10:18:23 PM
when you go to install it, there should be a little "edit icon" (looks like a pencil and paper) to the left of whatever test failed. open that up and it will tell what should be changed.

what typically happens is that another mod has already altered the code, so the installer for this mod can't find it. you may have to do some sleuthing around in that file to find what you're looking for, but once you do, just follow the second step of the instructions that appear in the pop-up window when you click that icon in the package manager.

This is what failed and it doesn't give me any options

5.     Execute Modification     ./Themes/default/index.template.php     Test failed
Title: Re: SMF Arcade
Post by: aED on February 21, 2009, 05:27:36 AM
Is there a new version for SMF 2.0 RC1?
Title: Re: SMF Arcade
Post by: fwitt on February 21, 2009, 07:54:36 AM
Quote from: aED on February 21, 2009, 05:27:36 AM
Is there a new version for SMF 2.0 RC1?

Arcade 2.5 Beta 4.1 Public
Title: Re: SMF Arcade
Post by: Skhilled on February 21, 2009, 09:35:46 AM
Quote from: The Rancher on February 20, 2009, 10:28:11 PM
Quote from: LadyC on February 20, 2009, 10:18:23 PM
when you go to install it, there should be a little "edit icon" (looks like a pencil and paper) to the left of whatever test failed. open that up and it will tell what should be changed.

what typically happens is that another mod has already altered the code, so the installer for this mod can't find it. you may have to do some sleuthing around in that file to find what you're looking for, but once you do, just follow the second step of the instructions that appear in the pop-up window when you click that icon in the package manager.

This is what failed and it doesn't give me any options

5.     Execute Modification     ./Themes/default/index.template.php     Test failed

You are using SMF 1.1.x. SMF 2 gives you the options that LadyC spoke of. The code is in install.xml which is in the arcade zip file that you downloaded.
Title: Re: SMF Arcade
Post by: The Rancher on February 21, 2009, 05:23:02 PM
Quote from: Skhilled on February 21, 2009, 09:35:46 AM
Quote from: The Rancher on February 20, 2009, 10:28:11 PM
Quote from: LadyC on February 20, 2009, 10:18:23 PM
when you go to install it, there should be a little "edit icon" (looks like a pencil and paper) to the left of whatever test failed. open that up and it will tell what should be changed.

what typically happens is that another mod has already altered the code, so the installer for this mod can't find it. you may have to do some sleuthing around in that file to find what you're looking for, but once you do, just follow the second step of the instructions that appear in the pop-up window when you click that icon in the package manager.

This is what failed and it doesn't give me any options

5.     Execute Modification     ./Themes/default/index.template.php     Test failed

You are using SMF 1.1.x. SMF 2 gives you the options that LadyC spoke of. The code is in install.xml which is in the arcade zip file that you downloaded.

I am using the new 1.1.8.
What do I have to do to fix this?
Title: Re: SMF Arcade
Post by: Skhilled on February 22, 2009, 04:26:46 AM
Quote from: Skhilled on February 21, 2009, 09:35:46 AM
The code is in install.xml which is in the arcade zip file that you downloaded.
Title: Re: SMF Arcade
Post by: UkGangsta on February 22, 2009, 11:19:05 AM
 i have major issues with the latest arcade. here is my problem.

i have changed my hosts in last 24 hrs.

i have chmoded all files for arcade.

and im still getting this error
Directory /home/***/Games is not writable and chmod didn't succeed. Please make it writable manually.

is this due to my site propagating still or is there another reason.

can some one please advise how to fix this please.

im running smf 1.1.8

TinyPortal v1.0 beta 3

and latest arcade.
Title: Re: SMF Arcade
Post by: The Rancher on February 22, 2009, 01:22:14 PM
Quote from: Skhilled on February 22, 2009, 04:26:46 AM
Quote from: Skhilled on February 21, 2009, 09:35:46 AM
The code is in install.xml which is in the arcade zip file that you downloaded.

Would someone mind telling me which code? There are a lot of codes in that file.
Title: Re: SMF Arcade
Post by: kat on February 23, 2009, 09:03:37 AM
install.xml
Title: Re: SMF Arcade
Post by: The Rancher on February 23, 2009, 01:41:38 PM
Quote from: Kat on February 23, 2009, 09:03:37 AM
install.xml

OK so I found the .xml.  It is a fairly large file. Do I put in the whole code? Were do I put it?
Title: Re: SMF Arcade
Post by: ysNoi on February 24, 2009, 08:29:00 AM
I'm having this errors now : Score was not saved because session is missing

How can I fix this..? Thanks in advanced...!
Title: Re: SMF Arcade
Post by: ysNoi on February 26, 2009, 11:28:19 AM
Any c0mments...?..!
Title: Re: SMF Arcade
Post by: timthrill on February 26, 2009, 01:31:02 PM
i have installed this on my fourms i have 1.1.8 but when i click on the arcade link i get nothing it just goes to the home page? any ideas?
Title: Re: SMF Arcade
Post by: Ravac on February 26, 2009, 01:47:00 PM
Quote from: timthrill on February 26, 2009, 01:31:02 PM
i have installed this on my fourms i have 1.1.8 but when i click on the arcade link i get nothing it just goes to the home page? any ideas?

You access arcade by [ www.your_forum.com/index.php?action=arcade]

Also, are you sure you put all necessary codes in your files?
Title: Re: SMF Arcade
Post by: timthrill on February 26, 2009, 01:49:16 PM
yes i did all that
Title: Re: SMF Arcade
Post by: Ravac on February 26, 2009, 01:58:34 PM
Quote from: timthrill on February 26, 2009, 01:49:16 PM
yes i did all that

hm..... what to say, check your files about codes, something is missing
Title: Re: SMF Arcade
Post by: timthrill on February 26, 2009, 02:01:06 PM
i did i just can't figure it out?
Title: Re: SMF Arcade
Post by: clapter on February 26, 2009, 05:48:38 PM
How do you make it so users must register, but there is no minimum post count?
Title: Re: SMF Arcade
Post by: Rafferty on February 27, 2009, 06:41:41 AM
i have smf version 1.1.8 installing smfarcade 2.0.17. All installed ok but no menu tab. Checked action=arcade and the arcade is present and working. what would have gone wrong here?
Title: Re: SMF Arcade
Post by: clapter on February 27, 2009, 06:57:40 AM
If you arent using the default theme hen you must add the button yourself
Title: Re: SMF Arcade
Post by: Rafferty on February 27, 2009, 09:20:28 AM
But I am
Title: Re: SMF Arcade
Post by: Arebias on February 27, 2009, 09:41:55 AM

Check the language file you are using.
Title: Re: SMF Arcade
Post by: Rafferty on February 27, 2009, 09:50:57 AM
English
Title: Re: SMF Arcade
Post by: timthrill on February 27, 2009, 11:43:50 AM
Quote from: timthrill on February 26, 2009, 01:31:02 PM
i have installed this on my fourms i have 1.1.8 but when i click on the arcade link i get nothing it just goes to the home page? any ideas?
anyone?
Title: Re: SMF Arcade
Post by: kingkingston on February 27, 2009, 12:58:00 PM
Quote from: timthrill on February 27, 2009, 11:43:50 AM
Quote from: timthrill on February 26, 2009, 01:31:02 PM
i have installed this on my fourms i have 1.1.8 but when i click on the arcade link i get nothing it just goes to the home page? any ideas?
anyone?

Have you got it linked up to the arcade button right ?
Title: Re: SMF Arcade
Post by: Skhilled on February 28, 2009, 04:11:05 AM
Quote from: UkGangsta on February 22, 2009, 11:19:05 AM
i have major issues with the latest arcade. here is my problem.

i have changed my hosts in last 24 hrs.

i have chmoded all files for arcade.

and im still getting this error
Directory /home/***/Games is not writable and chmod didn't succeed. Please make it writable manually.

is this due to my site propagating still or is there another reason.

can some one please advise how to fix this please.

im running smf 1.1.8

TinyPortal v1.0 beta 3

and latest arcade.

That is probably because you have lost ownership of your files. Ask your hosting to chown and chmod your files for you.

Quote from: The Rancher on February 23, 2009, 01:41:38 PM
Quote from: Kat on February 23, 2009, 09:03:37 AM
install.xml

OK so I found the .xml.  It is a fairly large file. Do I put in the whole code? Were do I put it?

Do a search for "index.template.php" within the install.xml file and it will show you. If you have not read the SMF documentation for Manual Installs, you can do a search for it on this site and it will tell you how to read the .xml files that accompany mods. This has been discussed many times in this topic.

Quote from: ysNoi on February 24, 2009, 08:29:00 AM
I'm having this errors now : Score was not saved because session is missing

How can I fix this..? Thanks in advanced...!

Please do a search at SMF Arcade for this. There are a couple possible reasons why this is happening.

Quote from: timthrill on February 26, 2009, 01:31:02 PM
i have installed this on my fourms i have 1.1.8 but when i click on the arcade link i get nothing it just goes to the home page? any ideas?

You need to re-check your code or you have another mod that is conflicting with the arcade's code and redirecting it.

Quote from: clapter on February 26, 2009, 05:48:38 PM
How do you make it so users must register, but there is no minimum post count?

Do you mean for the Arcade or for SMF itself. For SMF, you've posted in the wrong topic. For the Arcade, change the settings for post count in the admin.

Quote from: Rafferty on February 27, 2009, 06:41:41 AM
i have smf version 1.1.8 installing smfarcade 2.0.17. All installed ok but no menu tab. Checked action=arcade and the arcade is present and working. what would have gone wrong here?

You have to manually add the button code. This has been discussed many, many this in this topic and the answer in here and at SMF Arcade.

Quote from: Rafferty on February 27, 2009, 06:41:41 AM
i have smf version 1.1.8 installing smfarcade 2.0.17. All installed ok but no menu tab. Checked action=arcade and the arcade is present and working. what would have gone wrong here?

This topic has answered that problem many times over here and at SMF Arcade.
Title: Re: SMF Arcade
Post by: Rafferty on February 28, 2009, 07:10:32 AM
This is a little different as I'm using default theme on a new installation of 1.1.8.

The button code is present in the coding but not showing on the board. Ive even checked the code closely comparing it with the smf parser and its identical but still it doesnt show.
Title: Re: SMF Arcade
Post by: timthrill on February 28, 2009, 10:49:01 AM
Quote from: kingkingston on February 27, 2009, 12:58:00 PM
Quote from: timthrill on February 27, 2009, 11:43:50 AM
Quote from: timthrill on February 26, 2009, 01:31:02 PM
i have installed this on my fourms i have 1.1.8 but when i click on the arcade link i get nothing it just goes to the home page? any ideas?
anyone?

Have you got it linked up to the arcade button right ?
yep
QuoteYou need to re-check your code or you have another mod that is conflicting with the arcade's code and redirecting it.
i don't have any other mods and everything seems to be in order? which files should i check?
Title: Re: SMF Arcade
Post by: kris1903 on March 01, 2009, 02:30:18 AM
works fine for me, apart from no scores are saved? how do i fix this?
Title: Re: SMF Arcade
Post by: aED on March 01, 2009, 09:55:42 AM
Is there a MOD like this for RC1
Title: Re: SMF Arcade
Post by: Skhilled on March 01, 2009, 03:04:07 PM
Quote from: Rafferty on February 28, 2009, 07:10:32 AM
This is a little different as I'm using default theme on a new installation of 1.1.8.

The button code is present in the coding but not showing on the board. Ive even checked the code closely comparing it with the smf parser and its identical but still it doesnt show.

Then something is conflicting with it. Do you have SimplePortal or something else installed like SEO or FlashChat Integration?

Quote from: timthrill on February 28, 2009, 10:49:01 AM
Quote from: kingkingston on February 27, 2009, 12:58:00 PM
Quote from: timthrill on February 27, 2009, 11:43:50 AM
Quote from: timthrill on February 26, 2009, 01:31:02 PM
i have installed this on my fourms i have 1.1.8 but when i click on the arcade link i get nothing it just goes to the home page? any ideas?
anyone?

Have you got it linked up to the arcade button right ?
yep
QuoteYou need to re-check your code or you have another mod that is conflicting with the arcade's code and redirecting it.
i don't have any other mods and everything seems to be in order? which files should i check?

index.template.php

Quote from: kris1903 on March 01, 2009, 02:30:18 AM
works fine for me, apart from no scores are saved? how do i fix this?

Check your URLs for the arcade and make sure they match your Server Settings in SMF Admin.

Quote from: aED on March 01, 2009, 09:55:42 AM
Is there a MOD like this for RC1

Yes, at SMF Arcade.
Title: Re: SMF Arcade
Post by: nesousx on March 01, 2009, 05:36:12 PM
HI all,

I've the E-Arcade mod installed on my forum (SMF 2.0 RC1) here : http://www.alogh.com/forum/index.php?action=arcade

Scoring is not working. It worked, for a few minutes, then it no longer "ask" for scores.... Happened several times already. I have to remove / reinstall and it works for another few minutes.

I posted on E-arcade forums a few days ago but nobody could help.

Any idea please?
Title: Re: SMF Arcade
Post by: fwitt on March 01, 2009, 06:17:53 PM
Quote from: nesousx on March 01, 2009, 05:36:12 PM
HI all,

I've the E-Arcade mod installed on my forum (SMF 2.0 RC1) here : http://www.alogh.com/forum/index.php?action=arcade

Scoring is not working. It worked, for a few minutes, then it no longer "ask" for scores.... Happened several times already. I have to remove / reinstall and it works for another few minutes.

I posted on E-arcade forums a few days ago but nobody could help.

Any idea please?

what version of E-arcade? Cos I didnt think E-arcade had been updated to run on SMF 2.0 RC1 in fact I havent heard of any E-arcade for any SMF 2 version.
Title: Re: SMF Arcade
Post by: nesousx on March 01, 2009, 06:39:45 PM
It's E-Arcade Beta 3.

Supposed to work. Here is a part form the package.info file :


<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<id>Eric:Arcade</id>
<name>E-Arcade</name>
<version>Beta 3 SMF2rc1</version>
<type>modification</type>



<install for="2.0 Beta 4,2.0 RC1">
<readme>install.txt</readme>
<modification format="xml" type="file">newInstall.xml</modification>
Title: Re: SMF Arcade
Post by: Rafferty on March 02, 2009, 01:16:55 AM
Quote from: Rafferty on February 28, 2009, 07:10:32 AM
This is a little different as I'm using default theme on a new installation of 1.1.8.

The button code is present in the coding but not showing on the board. Ive even checked the code closely comparing it with the smf parser and its identical but still it doesnt show.


Then something is conflicting with it. Do you have SimplePortal or something else installed like SEO or FlashChat Integration?

No none of them, it is a reasonably fresh install with the gallery, downloads, links, staff list, donations, arcade, articles & contact pages added.



Title: Re: SMF Arcade
Post by: TDNY on March 02, 2009, 03:03:12 PM
Thanks for the arcade a lot ;D I'm using smf 1.1.8 and it loaded itself in perfectly. very easy to load the games and make setting adjustments, I am totally new to all this and some things are tricky to figure out but this was great, thanks again.

TD
Title: Re: SMF Arcade
Post by: fwitt on March 02, 2009, 05:09:08 PM
Quote from: nesousx on March 01, 2009, 06:39:45 PM
It's E-Arcade Beta 3.

Supposed to work. Here is a part form the package.info file :


<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<id>Eric:Arcade</id>
<name>E-Arcade</name>
<version>Beta 3 SMF2rc1</version>
<type>modification</type>



<install for="2.0 Beta 4,2.0 RC1">
<readme>install.txt</readme>
<modification format="xml" type="file">newInstall.xml</modification>


The following is a quote from smfarcade.info refering to SMFArcade Beta 3, but I believe E-arcade versions match the Arcade versions they are based on so hopefully the solution should be similar.

Quote from: Niko
Yes, this is known bug, fixed in Beta 4 (Issue #198)

Fix:

Subs-Arcade.php

Find:

ORDER BY score ' . ($reverse ? 'ASC' : 'DESC'),

Replace with:

ORDER BY score ' . ($reverse ? 'DESC' : 'ASC'),

Otherwise it compares to best core instead of worst
Title: Re: SMF Arcade
Post by: KahneFan on March 07, 2009, 09:41:01 PM
I just installed on RC1 and received an error in regards to arcade_games table during install and of course now I receive this on my arcade...


Table 'ipost.smf_arcade_games' doesn't exist
File: .../Sources/ArcadeList.php
Line: 136


It should be an easy SQL command to run, I'm just tired and not thinking straight right now to figure it out :D
Title: Re: SMF Arcade
Post by: Skhilled on March 10, 2009, 04:37:32 PM
Quote from: Rafferty on March 02, 2009, 01:16:55 AM
No none of them, it is a reasonably fresh install with the gallery, downloads, links, staff list, donations, arcade, articles & contact pages added.

I see you have TP installled, if the site in question is the one in your Post Profile. Try disabling your blocks especially any RSS feeds. Sometimes, a bad block can cause problems for your mods and your forum.

Quote from: KahneFan on March 07, 2009, 09:41:01 PM
I just installed on RC1 and received an error in regards to arcade_games table during install and of course now I receive this on my arcade...


Table 'ipost.smf_arcade_games' doesn't exist
File: .../Sources/ArcadeList.php
Line: 136


It should be an easy SQL command to run, I'm just tired and not thinking straight right now to figure it out :D

Try this: http://www.smfarcade.info/forum/index.php/topic,4710.msg29014.html#msg29014
Title: Re: SMF Arcade
Post by: nesousx on March 13, 2009, 01:14:19 PM
Quote from: fwitt on March 02, 2009, 05:09:08 PM
Quote from: nesousx on March 01, 2009, 06:39:45 PM
It's E-Arcade Beta 3.

Supposed to work. Here is a part form the package.info file :


<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<id>Eric:Arcade</id>
<name>E-Arcade</name>
<version>Beta 3 SMF2rc1</version>
<type>modification</type>



<install for="2.0 Beta 4,2.0 RC1">
<readme>install.txt</readme>
<modification format="xml" type="file">newInstall.xml</modification>


The following is a quote from smfarcade.info refering to SMFArcade Beta 3, but I believe E-arcade versions match the Arcade versions they are based on so hopefully the solution should be similar.

Quote from: Niko
Yes, this is known bug, fixed in Beta 4 (Issue #198)

Fix:

Subs-Arcade.php

Find:

ORDER BY score ' . ($reverse ? 'ASC' : 'DESC'),

Replace with:

ORDER BY score ' . ($reverse ? 'DESC' : 'ASC'),

Otherwise it compares to best core instead of worst

My Subs-arcade is different. However I've tried to change some ASC to DESC next to "Order By Score". Doesn't work :(
Title: Re: SMF Arcade
Post by: AnotherDimension on March 13, 2009, 01:18:48 PM
I can't get this to work with 2.04.beta, the last beta release semi functions but has no games and the latest release says it is not compatible with my board...why is that..?
Title: Re: SMF Arcade
Post by: fwitt on March 13, 2009, 06:11:12 PM
Quote from: AnotherDimension on March 13, 2009, 01:18:48 PM
I can't get this to work with 2.04.beta, the last beta release semi functions but has no games and the latest release says it is not compatible with my board...why is that..?

did you download and install any games? what do you mean by semi functions?
Title: Re: SMF Arcade
Post by: Uhura! on March 13, 2009, 07:58:40 PM
Package was installed perfectly with the exception of an error for index.template.php.

Received an internal server error when I tried to download games.

Any advice?
Title: Re: SMF Arcade
Post by: Uhura! on March 13, 2009, 08:09:31 PM
Quote from: Oldiesmann on October 27, 2004, 08:25:19 PM
Niko - talk to the folks at PNFlashGames (http://www.pnflashgames.com). They've got plenty of games you can use ;)

Found html code @ this site for selected games.

Which Arcade file do I need to put the html code into - specific location please!
Title: Re: SMF Arcade
Post by: Skhilled on March 14, 2009, 03:57:11 AM
Quote from: Uhura! on March 13, 2009, 07:58:40 PM
Package was installed perfectly with the exception of an error for index.template.php.

Received an internal server error when I tried to download games.

Any advice?

Question answered at SMF Arcade.

Quote from: Uhura! on March 13, 2009, 08:09:31 PM
Quote from: Oldiesmann on October 27, 2004, 08:25:19 PM
Niko - talk to the folks at PNFlashGames (http://www.pnflashgames.com). They've got plenty of games you can use ;)

Found html code @ this site for selected games.

Which Arcade file do I need to put the html code into - specific location please!

Not sure what you mean. The pnflash games are not working?
Title: Re: SMF Arcade
Post by: timthrill on March 14, 2009, 05:54:12 PM
Quote from: Skhilled on March 01, 2009, 03:04:07 PM
Quote from: Rafferty on February 28, 2009, 07:10:32 AM
This is a little different as I'm using default theme on a new installation of 1.1.8.

The button code is present in the coding but not showing on the board. Ive even checked the code closely comparing it with the smf parser and its identical but still it doesnt show.

Then something is conflicting with it. Do you have SimplePortal or something else installed like SEO or FlashChat Integration?

Quote from: timthrill on February 28, 2009, 10:49:01 AM
Quote from: kingkingston on February 27, 2009, 12:58:00 PM
Quote from: timthrill on February 27, 2009, 11:43:50 AM
Quote from: timthrill on February 26, 2009, 01:31:02 PM
i have installed this on my fourms i have 1.1.8 but when i click on the arcade link i get nothing it just goes to the home page? any ideas?
anyone?

Have you got it linked up to the arcade button right ?
yep
QuoteYou need to re-check your code or you have another mod that is conflicting with the arcade's code and redirecting it.
i don't have any other mods and everything seems to be in order? which files should i check?

index.template.php

Quote from: kris1903 on March 01, 2009, 02:30:18 AM
works fine for me, apart from no scores are saved? how do i fix this?

Check your URLs for the arcade and make sure they match your Server Settings in SMF Admin.

Quote from: aED on March 01, 2009, 09:55:42 AM
Is there a MOD like this for RC1

Yes, at SMF Arcade.
seem to be missing that file were can i get it?
Title: Re: SMF Arcade
Post by: fwitt on March 14, 2009, 11:30:47 PM
index.template.php is found in your forums /Themes/themename/ folder so for instance if you use the default theme it will be in yourforum/Themes/Default/
Title: Re: SMF Arcade
Post by: flamechica on March 19, 2009, 09:38:36 PM
I read somewhere that we can download flash games and install them. I did that and it went well. You did say that the high scores wont be saved on these, I was wondering, is there a way to add code to make this happen? If not, oh well, I just think it would be really nice to have all my games keep track of high scores.
Title: Re: SMF Arcade
Post by: fwitt on March 20, 2009, 04:58:59 AM
Quote from: flamechica on March 19, 2009, 09:38:36 PM
I read somewhere that we can download flash games and install them. I did that and it went well. You did say that the high scores wont be saved on these, I was wondering, is there a way to add code to make this happen? If not, oh well, I just think it would be really nice to have all my games keep track of high scores.

there are lists at smfarcade.info of games that submit scores, there are limits as to what we can do as it requires prmission of the copyright holder to edit the game to send scores to the arcade.
Title: Re: SMF Arcade
Post by: gbsothere on March 27, 2009, 12:57:02 PM
I know that people have mentioned this permissions issue, but I'm against the wall, having just talked to my server and would like to venture to ask about it here.

After successfully installing SMF Arcade 2.0.17 onto my SMF 1.1.8 forum, I went to Arcade Admin > Games>Install and uploaded a gamepak zip.  I then received a permissions error.  ETA:  (This error occurs when I click UPLOAD, after browsing to the zip file.)

This is a screenshot:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fhopeintheboro.com%2Fainstall4.jpg&hash=30d148b5994d14e01a8a9ec6f4aca8ac6f1e3497)

This is what my server tech told me to write down, regarding permissions:

drwxrwxrwx 2 (username) psacln 4096 Mar 27 06:28 Games
[root@mail Games]# ls -al
total 8
drwxrwxrwx 2 (username) psacln 4096 Mar 27 06:28 .
drwxrwxrwx 13 (username) psacln 4096 Mar 27 09:21 ..

I am on a dedicated server and the tech insists that this directory is writable.

I am unsure how to proceed, at this point.  My users are all excited about the prospect of having an arcade, but, here I sit, unable to give them any games.  I'm just bewildered, at this point.

Would anyone please advise what else I may try, to successfully install the games?



Title: Re: SMF Arcade
Post by: Skhilled on March 28, 2009, 03:08:53 AM
If the chmod did not work and you can not change the permissions of that folder manually, then you have a server issue. Your "tech" should know that they need to "chown" (reset directory permissions to you) so you can and your mods can change the directory and files.

If this is not the case, then you might have better luck uploading the games via ftp. You might also want to check Packages -> Options to make sure your SMF permissions are set properly.
Title: Re: SMF Arcade
Post by: gbsothere on March 28, 2009, 09:06:34 AM
Quote from: Skhilled on March 28, 2009, 03:08:53 AM
If the chmod did not work and you can not change the permissions of that folder manually, then you have a server issue. Your "tech" should know that they need to "chown" (reset directory permissions to you) so you can and your mods can change the directory and files.

If this is not the case, then you might have better luck uploading the games via ftp. You might also want to check Packages -> Options to make sure your SMF permissions are set properly.



Skhilled, I have two SMF 1.1.8 boards, both on the same dedicated server.  I've always noticed that, on both these forums,  whenever I go to Packages>Options and select "All files are writable." and click "Change File Permissions", the setting immediately reverts back to "Only the standard files are writable.".  My settings are never saved.  I don't know about such things, but I would imagine, then, that this is an indicator of what you are talking about when you say that the server needs to "chown".

If I am unable to achieve this through my server, is there a link available that will explain how to upload the games via ftp?  (I notice that when I upzip a gamepack and check its folder contents, there are no included .php files, only .gif and .swf items.)



ETA:    I just left a live chat with my server.  The tech assures me that I have all ownership and permissions and the ability to change settings on their end.  This is an excerpt of what he said. 

"The directory is already owned by the user of the domain and the Plesk group. The user has all permissions for that domains directories/subdirectories. The application you are trying to run is not doing something correctly. The only other thing that I could think of is if the application is running as a different user/group which doesn't have the necessary permissions.

I'm not sure what is meant by that.  But, again, on both my SMF forums, the Packages>Options area has never allowed me to save settings when selecting that all files be writable.

Can you advise?


Title: Re: SMF Arcade
Post by: gbsothere on March 28, 2009, 11:59:29 AM
ETA:

Against my server's previous instructions, I changed the paths to the directory from what they told me they should be.  I was then able to manually install (something that I had not been able to do before).  I still have an issue, but I'm marking this solved and taking that issue to SMF Arcade's board.  (I just found out that there is one.)   *grin*

Thank you.
Title: Re: SMF Arcade
Post by: sreisenb001 on March 28, 2009, 01:34:20 PM
I am trying to uninstall the arcade... everything disappeared off my admin panel but the arcade still runs.. I went to FTP and removed the files but it still there.. How do I get rid of the things
Title: Re: SMF Arcade
Post by: timthrill on March 28, 2009, 01:45:27 PM
Quote from: fwitt on March 14, 2009, 11:30:47 PM
index.template.php is found in your forums /Themes/themename/ folder so for instance if you use the default theme it will be in yourforum/Themes/Default/
ok found the file thanks here's the sorce code prehaps someone could look over it for me.
<?php
// Version: 1.1.5; index

/* This template is, perhaps, the most important template in the theme. It
contains the main template layer that displays the header and footer of
the forum, namely with main_above and main_below. It also contains the
menu sub template, which appropriately displays the menu; the init sub
template, which is there to set the theme up; (init can be missing.) and
the linktree sub template, which sorts out the link tree.

The init sub template should load any data and set any hardcoded options.

The main_above sub template is what is shown above the main content, and
should contain anything that should be shown up there.

The main_below sub template, conversely, is shown after the main content.
It should probably contain the copyright statement and some other things.

The linktree sub template should display the link tree, using the data
in the $context['linktree'] variable.

The menu sub template should display all the relevant buttons the user
wants and or needs.

For more information on the templating system, please see the site at:
http://www.simplemachines.org/
*/

// Initialize the template... mainly little settings.
function template_init()
{
global $context$settings$options$txt;

/* Use images from default theme when using templates from the default theme?
if this is 'always', images from the default theme will be used.
if this is 'defaults', images from the default theme will only be used with default templates.
if this is 'never' or isn't set at all, images from the default theme will not be used. */
$settings['use_default_images'] = 'never';

/* What document type definition is being used? (for font size and other issues.)
'xhtml' for an XHTML 1.0 document type definition.
'html' for an HTML 4.01 document type definition. */
$settings['doctype'] = 'xhtml';

/* The version this template/theme is for.
This should probably be the version of SMF it was created for. */
$settings['theme_version'] = '1.1';

/* Set a setting that tells the theme that it can render the tabs. */
$settings['use_tabs'] = true;

/* Use plain buttons - as oppossed to text buttons? */
$settings['use_buttons'] = true;

/* Show sticky and lock status seperate from topic icons? */
$settings['seperate_sticky_lock'] = true;
}

// The main sub template above the content.
function template_main_above()
{
global $context$settings$options$scripturl$txt$modSettings;

// Show right to left and the character set for ease of translating.
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"'
$context['right_to_left'] ? ' dir="rtl"' '''><head>
<meta http-equiv="Content-Type" content="text/html; charset='
$context['character_set'], '" />
<meta name="description" content="'
$context['page_title'], '" />', empty($context['robot_no_index']) ? '' '
<meta name="robots" content="noindex" />'
'
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
<script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/script.js?fin11"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "'
$settings['theme_url'], '";
var smf_images_url = "'
$settings['images_url'], '";
var smf_scripturl = "'
$scripturl'";
var smf_iso_case_folding = '
$context['server']['iso_case_folding'] ? 'true' 'false'';
var smf_charset = "'
$context['character_set'], '";
// ]]></script>
<title>'
$context['page_title'], '</title>';

// The ?fin11 part of this link is just here to make sure browsers don't cache it wrongly.
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/style.css?fin11" />
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/print.css?fin11" media="print" />';

/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
Standards compliance mode happens when you use xhtml... */
if ($context['browser']['needs_size_fix'])
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/fonts-compat.css" />';

// Show all the relative links, such as help, search, contents, and the like.
echo '
<link rel="help" href="'
$scripturl'?action=help" target="_blank" />
<link rel="search" href="' 
$scripturl '?action=search" />
<link rel="contents" href="'
$scripturl'" />';

// If RSS feeds are enabled, advertise the presence of one.
if (!empty($modSettings['xmlnews_enable']))
echo '
<link rel="alternate" type="application/rss+xml" title="'
$context['forum_name'], ' - RSS" href="'$scripturl'?type=rss;action=.xml" />';

// If we're viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context['current_topic']))
echo '
<link rel="prev" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=prev" />
<link rel="next" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=next" />';

// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
<link rel="index" href="' 
$scripturl '?board=' $context['current_board'] . '.0" />';

// We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
{
$options['collapse_header'] = !empty($_COOKIE['upshrink']);
$options['collapse_header_ic'] = !empty($_COOKIE['upshrinkIC']);
}

// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'], '

<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header = '
, empty($options['collapse_header']) ? 'false' 'true'';

function shrinkHeader(mode)
{'
;

// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);'
;
else
echo '
smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "'
$context['session_id'], '");';

echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";

current_header = mode;
}
// ]]></script>'
;

// the routine for the info center upshrink
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header_ic = '
, empty($options['collapse_header_ic']) ? 'false' 'true'';

function shrinkHeaderIC(mode)
{'
;

if ($context['user']['is_guest'])
echo '
document.cookie = "upshrinkIC=" + (mode ? 1 : 0);'
;
else
echo '
smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, null, "'
$context['session_id'], '");';

echo '
document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");

document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";

current_header_ic = mode;
}
// ]]></script>
</head>
<body>'
;

echo '
<div class="tborder" '
$context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' '''>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32">'
;

if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; ">'
$context['forum_name'], '</span>';
else
echo '
<img src="'
$settings['header_logo_url'], '" style="margin: 4px;" alt="'$context['forum_name'], '" />';

echo '
</td>
<td align="right" class="catbg">
<img src="'
$settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
</td>
</tr>
</table>'
;


// display user name
echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0" >
<tr>'
;

if($context['user']['is_logged'])
echo '
<td class="titlebg2" height="32">
<span style="font-size: 130%;"> '
$txt['hello_member_ndt'], ' <b>'$context['user']['name'] , '</b></span>
</td>'
;

// display the time
echo '
<td class="titlebg2" height="32" align="right">
<span class="smalltext">' 
$context['current_time'], '</span>';

// this is the upshrink button for the user info section
echo '
<a href="#" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="'
$settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' 'upshrink2.gif''" alt="*" title="'$txt['upshrink_description'], '" align="bottom" style="margin: 0 1ex;" /></a>
</td>
</tr>
<tr id="upshrinkHeader"'
, empty($options['collapse_header']) ? '' ' style="display: none;"''>
<td valign="top" colspan="2">
<table width="100%" class="bordercolor" cellpadding="8" cellspacing="1" border="0" style="margin-top: 1px;">
<tr>'
;

if (!empty($context['user']['avatar']))
echo '
<td class="windowbg" valign="middle">'
$context['user']['avatar']['image'], '</td>';

echo '
<td colspan="2" width="100%" valign="top" class="windowbg2"><span class="middletext">'
;

// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{
echo '
<a href="'
$scripturl'?action=unread">'$txt['unread_since_visit'], '</a> <br />
<a href="'
$scripturl'?action=unreadreplies">'$txt['show_unread_replies'], '</a><br />';

}
// Otherwise they're a guest - send them a lovely greeting...
else
echo $txt['welcome_guest'];

// Now, onto our second set of info, are they logged in again?
if ($context['user']['is_logged'])
{
// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '
<b>'
$txt[616], '</b><br />';

// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
'
$context['unapproved_members'] == $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="'$scripturl'?action=viewmembers;sa=browse;type=approve">'$context['unapproved_members'] == $txt['approve_member'] : $context['unapproved_members'] . ' ' $txt['approve_members'], '</a> '$txt['approve_members_waiting'], '<br />';

// Show the total time logged in?
if (!empty($context['user']['total_time_logged_in']))
{
echo '
'
$txt['totalTimeLogged1'];

// If days is just zero, don't bother to show it.
if ($context['user']['total_time_logged_in']['days'] > 0)
echo $context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2'];

// Same with hours - only show it if it's above zero.
if ($context['user']['total_time_logged_in']['hours'] > 0)
echo $context['user']['total_time_logged_in']['hours'] . $txt['totalTimeLogged3'];

// But, let's always show minutes - Time wasted here: 0 minutes ;).
echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4'], '<br />';
}
echo ' </span>';
}
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo ' </span>
<script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/sha1.js"></script>

<form action="'
$scripturl'?action=login2" method="post" accept-charset="'$context['character_set'], '" class="middletext" style="margin: 3px 1ex 1px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' $context['session_id'] . '\');"' '''>
<input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />
<select name="cookielength">
<option value="60">'
$txt['smf53'], '</option>
<option value="1440">'
$txt['smf47'], '</option>
<option value="10080">'
$txt['smf48'], '</option>
<option value="43200">'
$txt['smf49'], '</option>
<option value="-1" selected="selected">'
$txt['smf50'], '</option>
</select>
<input type="submit" value="'
$txt[34], '" /><br />
<span class="middletext">'
$txt['smf52'], '</span>
<input type="hidden" name="hash_passwrd" value="" />
</form>'
;
}

echo '
</td>
</tr>
</table>
</td>
</tr>
</table>'
;

echo '
<table id="upshrinkHeader2"'
, empty($options['collapse_header']) ? '' ' style="display: none;"'' width="100%" cellpadding="4" cellspacing="0" border="0">
<tr>'
;

// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
echo '
<td width="90%" class="titlebg2">
<span class="smalltext"><b>'
$txt[102], '</b>: '$context['random_news_line'], '</span>
</td>'
;
echo '
<td class="titlebg2" align="right" nowrap="nowrap" valign="top">
<form action="'
$scripturl'?action=search2" method="post" accept-charset="'$context['character_set'], '" style="margin: 0;">
<a href="'
$scripturl'?action=search;advanced"><img src="'.$settings['images_url'].'/filter.gif" align="middle" style="margin: 0 1ex;" alt="" /></a>
<input type="text" name="search" value="" style="width: 190px;" />&nbsp;
<input type="submit" name="submit" value="'
$txt[182], '" style="width: 11ex;" />
<input type="hidden" name="advanced" value="0" />'
;

// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="'
$context['current_topic'], '" />';

// If we're on a certain board, limit it to this board ;).
elseif (!empty($context['current_board']))
echo '
<input type="hidden" name="brd['
$context['current_board'], ']" value="'$context['current_board'], '" />';

echo '
</form>
</td>
</tr>
</table>
</div>'
;


// Show the menu here, according to the menu sub template.
template_menu();


// The main content should go here.
echo '
<div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">'
;
}

function 
template_main_below()
{
global $context$settings$options$scripturl$txt;

echo '
</div>'
;

// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '

<div id="footerarea" style="text-align: center; padding-bottom: 1ex;'
$context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' '''">
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
function smfFooterHighlight(element, value)
{
element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
}
// ]]></script>
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<tr>
<td width="28%" valign="middle" align="'
, !$context['right_to_left'] ? 'right' 'left''">
<a href="http://www.mysql.com/" target="_blank"><img id="powered-mysql" src="'
$settings['images_url'], '/powered-mysql.gif" alt="'$txt['powered_by_mysql'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://www.php.net/" target="_blank"><img id="powered-php" src="'
$settings['images_url'], '/powered-php.gif" alt="'$txt['powered_by_php'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
<td valign="middle" align="center" style="white-space: nowrap;">
'
theme_copyright(), '
</td>
<td width="28%" valign="middle" align="'
, !$context['right_to_left'] ? 'left' 'right''">
<a href="http://validator.w3.org/check/referer" target="_blank"><img id="valid-xhtml10" src="'
$settings['images_url'], '/valid-xhtml10.gif" alt="'$txt['valid_xhtml'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img id="valid-css" src="'
$settings['images_url'], '/valid-css.gif" alt="'$txt['valid_css'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
</tr>
</table>'
;

// Show the load time?
if ($context['show_load_time'])
echo '
<span class="smalltext">'
$txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span>';

// This is an interesting bug in Internet Explorer AND Safari. Rather annoying, it makes overflows just not tall enough.
if (($context['browser']['is_ie'] && !$context['browser']['is_ie4']) || $context['browser']['is_mac_ie'] || $context['browser']['is_safari'] || $context['browser']['is_firefox'])
{
// The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself.
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA['
;

// Unfortunately, Safari does not have a "getComputedStyle" implementation yet, so we have to just do it to code...
if ($context['browser']['is_safari'])
echo '
window.addEventListener("load", smf_codeFix, false);

function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");

for (var i = 0; i < codeFix.length; i++)
{
if ((codeFix[i].className == "code" || codeFix[i].className == "post" || codeFix[i].className == "signature") && codeFix[i].offsetHeight < 20)
codeFix[i].style.height = (codeFix[i].offsetHeight + 20) + "px";
}
}'
;
elseif ($context['browser']['is_firefox'])
echo '
window.addEventListener("load", smf_codeFix, false);
function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");

for (var i = 0; i < codeFix.length; i++)
{
if (codeFix[i].className == "code" && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0))
codeFix[i].style.overflow = "scroll";
}
}'
;
else
echo '
var window_oldOnload = window.onload;
window.onload = smf_codeFix;

function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");

for (var i = codeFix.length - 1; i > 0; i--)
{
if (codeFix[i].currentStyle.overflow == "auto" && (codeFix[i].currentStyle.height == "" || codeFix[i].currentStyle.height == "auto") && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0) && (codeFix[i].offsetHeight != 0 || codeFix[i].className == "code"))
codeFix[i].style.height = (codeFix[i].offsetHeight + 36) + "px";
}

if (window_oldOnload)
{
window_oldOnload();
window_oldOnload = null;
}
}'
;

echo '
// ]]></script>'
;
}

echo '
</div>'
;

// The following will be used to let the user know that some AJAX process is running
echo '
<div id="ajax_in_progress" style="display: none;'
$context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' '''">'$txt['ajax_in_progress'], '</div>
</body></html>'
;
}

// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree()
{
global $context$settings$options;

echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top: 2ex;">';

// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];

// Show the link, including a URL if it should have one.
echo '<b>'$settings['linktree_link'] && isset($tree['url']) ? '<a href="' $tree['url'] . '" class="nav">' $tree['name'] . '</a>' $tree['name'], '</b>';

// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];

// Don't show a separator for the last one.
if ($link_num != count($context['linktree']) - 1)
echo '&nbsp;>&nbsp;';
}

echo '</div>';
}

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context$settings$options$scripturl$txt;

// Work out where we currently are.
$current_action 'home';
if (in_array($context['current_action'], array('admin''managegames''arcadesettings''arcadecategory''arcade''ban''boardrecount''cleanperms''detailedversion''dumpdb''featuresettings''featuresettings2''findmember''maintain''manageattachments''manageboards''managecalendar''managesearch''membergroups''modlog''news''optimizetables''packageget''packages''permissions''pgdownload''postsettings''regcenter''repairboards''reports''serversettings''serversettings2''smileys''viewErrorLog''viewmembers')))
$current_action 'admin';
if (in_array($context['current_action'], array('search''admin''calendar''profile''mlist''register''login''help''pm')))
$current_action $context['current_action'];
if ($context['current_action'] == 'search2')
$current_action 'search';
if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' 'profile' 'admin';

// Are we using right-to-left orientation?
if ($context['right_to_left'])
{
$first 'last';
$last 'first';
}
else
{
$first 'first';
$last 'last';
}

// Show the start of the tab section.
echo '
<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
<tr>
<td class="maintab_' 
$first '">&nbsp;</td>';

// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'home' 'active_back' 'back' '">
<a href="'
$scripturl'">' $txt[103] , '</a>
</td>' 
$current_action == 'home' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// Show the [help] button.
echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'help' 'active_back' 'back' '">
<a href="'
$scripturl'?action=help">' $txt[119] , '</a>
</td>' 
$current_action == 'help' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

    echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'arcade' 'active_back' 'back' '">
<a href="'
$scripturl'?action=arcade">' $txt['arcade'] , '</a>
</td>' 
$current_action == 'arcade' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// How about the [search] button?
if ($context['allow_search'])
echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'search' 'active_back' 'back' '">
<a href="'
$scripturl'?action=search">' $txt[182] , '</a>
</td>' 
$current_action == 'search' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'admin' 'active_back' 'back' '">
<a href="'
$scripturl'?action=admin">' $txt[2] , '</a>
</td>' 
$current_action == 'admin' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'profile' 'active_back' 'back' '">
<a href="'
$scripturl'?action=profile">' $txt[79] , '</a>
</td>' 
$current_action == 'profile' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'pm' 'active_back' 'back' '">
<a href="'
$scripturl'?action=pm">' $txt['pm_short'] , ' '$context['user']['unread_messages'] > '[<strong>'$context['user']['unread_messages'] . '</strong>]' '' '</a>
</td>' 
$current_action == 'pm' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'calendar' 'active_back' 'back' '">
<a href="'
$scripturl'?action=calendar">' $txt['calendar24'] , '</a>
</td>' 
$current_action == 'calendar' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'mlist' 'active_back' 'back' '">
<a href="'
$scripturl'?action=mlist">' $txt[331] , '</a>
</td>' 
$current_action == 'mlist' '<td class="maintab_active_' $last '">&nbsp;</td>' '';


// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo ($current_action == 'login' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'login' 'active_back' 'back' '">
<a href="'
$scripturl'?action=login">' $txt[34] , '</a>
</td>' 
$current_action == 'login' '<td class="maintab_active_' $last '">&nbsp;</td>' '';


// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo ($current_action == 'register' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'register' 'active_back' 'back' '">
<a href="'
$scripturl'?action=register">' $txt[97] , '</a>
</td>' 
$current_action == 'register' '<td class="maintab_active_' $last '">&nbsp;</td>' '';


// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' $first '">&nbsp;</td>' '' '
<td valign="top" class="maintab_' 
$current_action == 'logout' 'active_back' 'back' '">
<a href="'
$scripturl'?action=logout;sesc='$context['session_id'], '">' $txt[108] , '</a>
</td>' 
$current_action == 'logout' '<td class="maintab_active_' $last '">&nbsp;</td>' '';

// The end of tab section.
echo '
<td class="maintab_' 
$last '">&nbsp;</td>
</tr>
</table>'
;

}

// Generate a strip of buttons.
function template_button_strip($button_strip$direction 'top'$force_reset false$custom_td '')
{
global $settings$buttons$context$txt$scripturl;

// Create the buttons...
foreach ($button_strip as $key => $value)
{
if (isset($value['test']) && empty($context[$value['test']]))
{
unset($button_strip[$key]);
continue;
}
elseif (!isset($buttons[$key]) || $force_reset)
$buttons[$key] = '<a href="' $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' $txt[$value['text']] . '</a>';

$button_strip[$key] = $buttons[$key];
}

if (empty($button_strip))
return '<td>&nbsp;</td>';

echo '
<td class="'
$direction == 'top' 'main' 'mirror''tab_' $context['right_to_left'] ? 'last' 'first' '">&nbsp;</td>
<td class="'
$direction == 'top' 'main' 'mirror''tab_back">'implode(' &nbsp;|&nbsp; '$button_strip) , '</td>
<td class="'
$direction == 'top' 'main' 'mirror''tab_' $context['right_to_left'] ? 'first' 'last' '">&nbsp;</td>';
}

?>
Title: Re: SMF Arcade
Post by: Skhilled on March 29, 2009, 05:49:58 AM
Quote from: gbsothere on March 28, 2009, 09:06:34 AM
Quote from: Skhilled on March 28, 2009, 03:08:53 AM
If the chmod did not work and you can not change the permissions of that folder manually, then you have a server issue. Your "tech" should know that they need to "chown" (reset directory permissions to you) so you can and your mods can change the directory and files.

If this is not the case, then you might have better luck uploading the games via ftp. You might also want to check Packages -> Options to make sure your SMF permissions are set properly.



Skhilled, I have two SMF 1.1.8 boards, both on the same dedicated server.  I've always noticed that, on both these forums,  whenever I go to Packages>Options and select "All files are writable." and click "Change File Permissions", the setting immediately reverts back to "Only the standard files are writable.".  My settings are never saved.  I don't know about such things, but I would imagine, then, that this is an indicator of what you are talking about when you say that the server needs to "chown".

This is something that SMF does ever since they've implemented it. It reverts back to "Only the standard files are writable." when that is not actually true. No matter what you set it to, it will always revert back to that. This gives a false indication is what you file permissions are set to.

I, personally, believe that there could possibly be a security issue there but the staff here have said otherwise. The other issue with this is, setting it to "All files are writable." usually sets it to 777. If you server does not use 777 and uses 755, you'll have all kinds of problems from 500 Internal errors to parts or all of your forum not working at all...until you correct your folder and file permissions.

SMF should change Options settings to remain where you last set them. This will also remind users of their folder/file permission status. SMF claims that this is not a security issue. But for those who are paranoid about security, it would leave them at ease.

Quote from: gbsothere on March 28, 2009, 09:06:34 AMIf I am unable to achieve this through my server, is there a link available that will explain how to upload the games via ftp?  (I notice that when I upzip a gamepack and check its folder contents, there are no included .php files, only .gif and .swf items.)



ETA:    I just left a live chat with my server.  The tech assures me that I have all ownership and permissions and the ability to change settings on their end.  This is an excerpt of what he said. 

"The directory is already owned by the user of the domain and the Plesk group. The user has all permissions for that domains directories/subdirectories. The application you are trying to run is not doing something correctly. The only other thing that I could think of is if the application is running as a different user/group which doesn't have the necessary permissions.

I'm not sure what is meant by that.  But, again, on both my SMF forums, the Packages>Options area has never allowed me to save settings when selecting that all files be writable.

Can you advise?

If "the application is running as a different user/group which doesn't have the necessary permissions." were true then the should be able to set te user/group permissions to change this. However, I've never used Plesk and am not familiar with how it works. Assuming that they do use linux on their servers, that should not be an issue.

[/]
Title: Re: SMF Arcade
Post by: Skhilled on March 29, 2009, 06:12:44 AM
Quote from: sreisenb001 on March 28, 2009, 01:34:20 PM
I am trying to uninstall the arcade... everything disappeared off my admin panel but the arcade still runs.. I went to FTP and removed the files but it still there.. How do I get rid of the things

What do you mean by "everything disappeared off my admin panel"? Everything from the SMF admin or just the Arcade in SMF admin?

QuoteI went to FTP and removed the files but it still there..

You should have uninstalled the arcade via Packages.

QuoteHow do I get rid of the things

You may also need to manually remove the arcade code from your smf files. You'll need to look at the .xml file for whatever version you are using.
Title: Re: SMF Arcade
Post by: Skhilled on March 29, 2009, 06:15:57 AM
Quote from: timthrill on March 28, 2009, 01:45:27 PM
Quote from: fwitt on March 14, 2009, 11:30:47 PM
index.template.php is found in your forums /Themes/themename/ folder so for instance if you use the default theme it will be in yourforum/Themes/Default/
ok found the file thanks here's the sorce code prehaps someone could look over it for me.


Change this code:
   if (in_array($context['current_action'], array('admin', 'managegames', 'arcadesettings', 'arcadecategory', 'arcade', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
      $current_action = 'admin';
   if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))


To this:
   if (in_array($context['current_action'], array('admin', 'managegames', 'arcadesettings', 'arcadecategory', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
      $current_action = 'admin';
   if (in_array($context['current_action'], array('search', 'arcade', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
Title: Re: SMF Arcade
Post by: niko on March 29, 2009, 09:14:06 AM
After long time with no updates, SMF Arcade 2.5 Beta 5 has been released.
It has now full support for SMF 2.0 RC1.

We hope that this resolves issues that you have been experiencing with previous versions.

For more information about this release see:

Changelog (http://www.smfarcade.info/products/smfarcade/changelog/2.5)
List of Closed issues in Issue Tracker (http://www.smfarcade.info/forum/index.php?project=1;sa=issues;status=closed;version_fixed=42)

Download now (http://www.smfarcade.info/products/smfarcade/downloads)
Title: Re: SMF Arcade
Post by: aED on March 29, 2009, 09:41:51 PM
Wow thanks Niko! Is the arena feature now working?
Title: Re: SMF Arcade
Post by: NHWD on April 03, 2009, 02:52:23 AM
need help with the arcade
it wont submit the high scores to the forum we click it but noting happens
using 1.1.8
theme = Mavi Dus
and too many packages to name
Title: Re: SMF Arcade
Post by: jeza on April 03, 2009, 03:27:06 PM
Quote from: CL0WNER on April 03, 2009, 02:52:23 AM
need help with the arcade
it wont submit the high scores to the forum we click it but noting happens
using 1.1.8
theme = Mavi Dus
and too many packages to name

Check that link
http://www.smfarcade.info/forum/index.php/topic,4943.msg30418.html#msg30418

Sometimes its a missing or added www
Title: Re: SMF Arcade
Post by: NHWD on April 03, 2009, 04:50:38 PM
Quote from: jeza on April 03, 2009, 03:27:06 PM
Quote from: CL0WNER on April 03, 2009, 02:52:23 AM
need help with the arcade
it wont submit the high scores to the forum we click it but noting happens
using 1.1.8
theme = Mavi Dus
and too many packages to name

Check that link
http://www.smfarcade.info/forum/index.php/topic,4943.msg30418.html#msg30418

Sometimes its a missing or added www
thanks that helped
Title: Re: SMF Arcade
Post by: the_shadow on April 08, 2009, 09:38:33 AM
is possible install *.tar games in smf 2.0RC1???? with smfarcade beta5?
Title: Re: SMF Arcade
Post by: Skhilled on April 09, 2009, 07:09:16 AM
Currently, you'll probably have to manually upload them. There is tar uploader for RC1 in the works, tho...
Title: Re: SMF Arcade
Post by: the_shadow on April 09, 2009, 10:52:14 AM
Quote from: Skhilled on April 09, 2009, 07:09:16 AM
Currently, you'll probably have to manually upload them. There is tar uploader for RC1 in the works, tho...

where is the tar uploader?
Title: Re: SMF Arcade
Post by: tfs on April 09, 2009, 04:12:32 PM
I installed Beta5 on my SMF 2.0/RC1, but when I click on the Arcade tab I get

Database Error
Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (latin1_german2_ci,IMPLICIT) for operation 'ifnull'
File: /xxx/xxx/xxx/xxx/xxx/forum/Sources/ArcadeList.php
Line: 168 
Title: Re: SMF Arcade
Post by: Skhilled on April 11, 2009, 03:40:51 AM
Quote from: the_shadow on April 09, 2009, 10:52:14 AM
Quote from: Skhilled on April 09, 2009, 07:09:16 AM
Currently, you'll probably have to manually upload them. There is tar uploader for RC1 in the works, tho...

where is the tar uploader?

The version for smf 1.1.x is in the Hacks board at SMF Arcade, I believe.

Quote from: tfs on April 09, 2009, 04:12:32 PM
I installed Beta5 on my SMF 2.0/RC1, but when I click on the Arcade tab I get

Database Error
Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (latin1_german2_ci,IMPLICIT) for operation 'ifnull'
File: /xxx/xxx/xxx/xxx/xxx/forum/Sources/ArcadeList.php
Line: 168 


Your question has been answered at SMF Arcade.
Title: Re: SMF Arcade
Post by: chongoman on April 11, 2009, 09:08:04 AM
When i upload it to my forum i have this problem


The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

i have smf 2.0
Title: Re: SMF Arcade
Post by: tfs on April 11, 2009, 09:55:17 AM
Quote from: Skhilled link=topic=29619.msg2011828#msg2011828
Your question has been answered at SMF Arcade.

But my followup question has sat there unanswered for two days.

===cut===
I dropped all smf_blog and smf_arcade tables (both had been uninstalled).  There were two others that had latin1_german2_ci collation.  I changed all field and table collations to latin1_swedish_ci (except for AJAX Chat ones, which I don't believe matter).  But when I reinstall Arcade, all of the new Arcade tables have latin1_german2_ci collation, and I get the same error.
===cut===

Why does Arcade insist on making its tables latin1_german2_ci collation when all of the existing tables are latin1_swedish_ci collation?
Title: Re: SMF Arcade
Post by: niko on April 17, 2009, 04:58:29 AM
Quote from: tfs on April 11, 2009, 09:55:17 AM
Why does Arcade insist on making its tables latin1_german2_ci collation when all of the existing tables are latin1_swedish_ci collation?

Arcade uses default database collation which comes from using package functions. So make sure it's correct.
Title: Re: SMF Arcade
Post by: niko on April 17, 2009, 05:01:24 AM
Quote from: chongoman on April 11, 2009, 09:08:04 AM
When i upload it to my forum i have this problem


The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

i have smf 2.0

Are you sure you used correct package? Use Beta 5 not 2.0.x
Title: Re: SMF Arcade
Post by: Sudhakar Arjunan on April 17, 2009, 02:34:26 PM
Thanks for the update Author.

I will upload it now.
Title: Re: SMF Arcade
Post by: Shades. on April 19, 2009, 05:56:30 PM
I'm having a java script problem I think. When I play a game it does not submit the score anymore. I have other mods installed too. I am also having the same problem in other areas of the board. Can someone tell me how to fix this or tell me where to find the java codes for the board?

http://www.auctzilla.com

Thanks,
BoZilla
Title: Re: SMF Arcade
Post by: Shades. on April 20, 2009, 02:25:46 PM
Quote from: BoZilla on April 19, 2009, 05:56:30 PM
I'm having a java script problem I think. When I play a game it does not submit the score anymore. I have other mods installed too. I am also having the same problem in other areas of the board. Can someone tell me how to fix this or tell me where to find the java codes for the board?

http://www.auctzilla.com

Thanks,
BoZilla

Can anyone tell me how to fix this please? My games won't auto or manually submit scores anymore...I just can't figure it out. :(
Title: Re: SMF Arcade
Post by: Skhilled on April 22, 2009, 09:41:34 AM
For your javascript issue: http://www.smfarcade.info/wiki/SMF_Arcade/FAQ#Error:_You_need_to_enable_javascript_in_order_to_play_games.21

If you are having problems with other areas of your board that is a SMF issue but telling us what those problems are along with any error messages might help.
Title: Re: SMF Arcade
Post by: dzinerfusion on April 22, 2009, 06:35:36 PM
i get this error
1.  Execute Modification  ./index.php  Test successful
2. Execute Modification ./Sources/ManagePermissions.php Test successful
3. Execute Modification ./Sources/Subs.php Test successful
4. Execute Modification ./Sources/Who.php Test successful
5. Execute Modification ./Themes/default/index.template.php Test failed
6. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
7. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file


Can ayone help me? Ive included the inex.template just if anyone can help me
Title: Re: SMF Arcade
Post by: Skhilled on April 23, 2009, 07:46:45 AM
You are missing a lot of code in this file, mostly buttons. Not sure if anything else is missing or not. What theme is this from?
Title: Re: SMF Arcade
Post by: Shades. on April 23, 2009, 12:35:37 PM
Quote from: Skhilled on April 22, 2009, 09:41:34 AM
For your javascript issue: http://www.smfarcade.info/wiki/SMF_Arcade/FAQ#Error:_You_need_to_enable_javascript_in_order_to_play_games.21

If you are having problems with other areas of your board that is a SMF issue but telling us what those problems are along with any error messages might help.

I finally got it to work by setting the url in admin to match in arcade. I then decided to upgrade my board to 2.0 RC1 and reinstalled the Arcade beta version. But now when I finish a game and it auto submits it says: "error submitting score". Any suggestions?
Title: Re: SMF Arcade
Post by: Skhilled on April 24, 2009, 09:37:25 AM
http://www.smfarcade.info/wiki/SMF_Arcade/FAQ#Scores_do_not_save
Title: Re: SMF Arcade
Post by: rii on April 25, 2009, 07:31:25 PM
I had smf arcade latest beta 2.5 working fine on smf 2 rc1. Guest can't play games. I did not find anything wrong with permission.  I thought it was something to do with installations so I removed it. I am now can't get it back even for members. I can install it without error but it is nowhere to be found on the page (menu or lab). Can someone help me?

Thanks.
Title: Re: SMF Arcade
Post by: Skhilled on April 26, 2009, 05:53:20 PM
sounds like you've got permissions/ownership issues. Ask your hosting to check on this. Also, check you arcade url's...
Title: Re: SMF Arcade
Post by: Afro on April 27, 2009, 06:24:16 AM
my arcade seems not to be saving scores.

2.0.17 on smf 1.1.8.

what do i do.

my forum is www.afrowall.com.

installed only on the default theme until i fix this issue
Title: Re: SMF Arcade
Post by: Skhilled on April 27, 2009, 09:13:45 AM
Try what is in the Wiki for not saving scores...

http://www.smfarcade.info/wiki/SMF_Arcade/FAQ#Scores_do_not_save
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on April 28, 2009, 01:12:52 AM
thanks for the great mod.

Im having one problem though, I installed the mod and it worked 100% until another mod screwed up my forum, so i needed to replace the entire software of the forum, so i reinstalled smf then i installed al the mods including the arcade. the problem is now, when you get to the end of the game, where you send/save your score, when clicking send/save it just does nothing and score is not saved, im thinking its a database error, but before i drop tables, i thought i would ask you

any ideas?
Title: Re: SMF Arcade
Post by: Shades. on April 28, 2009, 08:52:58 AM
Quote from: johncccccc on April 28, 2009, 01:12:52 AM
thanks for the great mod.

Im having one problem though, I installed the mod and it worked 100% until another mod screwed up my forum, so i needed to replace the entire software of the forum, so i reinstalled smf then i installed al the mods including the arcade. the problem is now, when you get to the end of the game, where you send/save your score, when clicking send/save it just does nothing and score is not saved, im thinking its a database error, but before i drop tables, i thought i would ask you

any ideas?

I had the same problem...I just started over from scratch with a new database and a fresh install since I didn't have any members at the time. I even re-installed all the mods then installed the arcade last and everything works perfectly now!
Title: Re: SMF Arcade
Post by: Skhilled on April 28, 2009, 09:28:59 AM
Yes, it is very possible that the database tables have been corrupted. To find out delete one game from the tables and reinstall it to see if it works...
Title: Re: SMF Arcade
Post by: fwitt on April 28, 2009, 11:31:24 AM
it is also possible that some of the settings are different this time, so look at the faq http://www.smfarcade.info/wiki/SMF_Arcade/FAQ#Scores_do_not_save matching the urls (6) for instance
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on April 28, 2009, 12:10:00 PM
Quote from: BoZilla on April 28, 2009, 08:52:58 AM
Quote from: johncccccc on April 28, 2009, 01:12:52 AM
thanks for the great mod.

Im having one problem though, I installed the mod and it worked 100% until another mod screwed up my forum, so i needed to replace the entire software of the forum, so i reinstalled smf then i installed al the mods including the arcade. the problem is now, when you get to the end of the game, where you send/save your score, when clicking send/save it just does nothing and score is not saved, im thinking its a database error, but before i drop tables, i thought i would ask you

any ideas?

I had the same problem...I just started over from scratch with a new database and a fresh install since I didn't have any members at the time. I even re-installed all the mods then installed the arcade last and everything works perfectly now!

Yea thats pretty much what I expected, something to do with the database, I guess everyone will have to lose there scores then . . .

thanks for heads up :)
Title: Re: SMF Arcade
Post by: synicfan on April 28, 2009, 02:15:08 PM
I know you said you've answered this question MANY times, but i've gone back to page 177 and dont see a solution and we're on page 188 now.

Im using SMF 1.1.8
TinyPortal v1.0 beta 3

I installed SMF Arcade 2.0.17

Package is installed correctly. I verified with ?action=arcade
The arcade shows up but there is no tab for the arcade.
when I use the ?action=arcade, the tab shows up but with no label (and its smaller than the normal tabs)

Im using the default theme.

www.TxSports.org (http://www.txsports.org)

Can you assist me please?
Title: Re: SMF Arcade
Post by: aED on April 28, 2009, 02:42:35 PM
Check your language files the arcade is installed correctly but the strings used by the arcade are not showing...
Title: Re: SMF Arcade
Post by: fwitt on April 28, 2009, 06:21:47 PM
Quote from: synicfan on April 28, 2009, 02:15:08 PM
I know you said you've answered this question MANY times, but i've gone back to page 177 and dont see a solution and we're on page 188 now.

Im using SMF 1.1.8
TinyPortal v1.0 beta 3

I installed SMF Arcade 2.0.17

Package is installed correctly. I verified with ?action=arcade
The arcade shows up but there is no tab for the arcade.
when I use the ?action=arcade, the tab shows up but with no label (and its smaller than the normal tabs)

Im using the default theme.

www.TxSports.org (http://www.txsports.org)

Can you assist me please?


check that the correct arcade strings have been added to modifications.english.php (or english-utf8 if you use that language)
Title: Re: SMF Arcade
Post by: synicfan on April 28, 2009, 06:43:11 PM
Quote from: fwitt on April 28, 2009, 06:21:47 PM
Quote from: synicfan on April 28, 2009, 02:15:08 PM
I know you said you've answered this question MANY times, but i've gone back to page 177 and dont see a solution and we're on page 188 now.

Im using SMF 1.1.8
TinyPortal v1.0 beta 3

I installed SMF Arcade 2.0.17

Package is installed correctly. I verified with ?action=arcade
The arcade shows up but there is no tab for the arcade.
when I use the ?action=arcade, the tab shows up but with no label (and its smaller than the normal tabs)

Im using the default theme.

www.TxSports.org (http://www.txsports.org)

Can you assist me please?


check that the correct arcade strings have been added to modifications.english.php (or english-utf8 if you use that language)

Thanx for the help!!!

I would love to check it out...but I dont know what to look for.
Can you tell me what to look for/what to add?
I'll do it to the file but I just dont know what to add.

I appreciate the help!
Quote from: aED on April 28, 2009, 02:42:35 PM
Check your language files the arcade is installed correctly but the strings used by the arcade are not showing...

Thanks but I dont know what you mean by "language files" and I dont know how to add them. I would be more than glad to get in there and do it myself but I just dont know what to add or what to look for.

Can you give me a bit more help? thank you
Title: Re: SMF Arcade
Post by: aED on April 29, 2009, 05:17:42 AM
can you attach your language file here its located at your Theme folder

Quote
Theme/Themename/languages/modifications.english.php

And lets see if there is something missing
Title: Re: SMF Arcade
Post by: synicfan on April 29, 2009, 08:07:19 AM
Quote from: aED on April 29, 2009, 05:17:42 AM
can you attach your language file here its located at your Theme folder

Quote
Theme/Themename/languages/modifications.english.php

And lets see if there is something missing

aED,
I've attached the file you asked for.

thank you for your help.  :)
Title: Re: SMF Arcade
Post by: fwitt on April 29, 2009, 08:36:47 AM
Quote from: synicfan on April 29, 2009, 08:07:19 AM
Quote from: aED on April 29, 2009, 05:17:42 AM
can you attach your language file here its located at your Theme folder

Quote
Theme/Themename/languages/modifications.english.php

And lets see if there is something missing

aED,
I've attached the file you asked for.

thank you for your help.  :)

try replacing it with this...
Title: Re: SMF Arcade
Post by: synicfan on April 29, 2009, 09:32:33 AM
Quote from: fwitt on April 29, 2009, 08:36:47 AM
Quote from: synicfan on April 29, 2009, 08:07:19 AM
Quote from: aED on April 29, 2009, 05:17:42 AM
can you attach your language file here its located at your Theme folder

Quote
Theme/Themename/languages/modifications.english.php

And lets see if there is something missing

aED,
I've attached the file you asked for.

thank you for your help.  :)

try replacing it with this...

thanks for your help. I'll try it as soon as possible.
Can you give me an idea of what you did so that I can be a bit more competent?

:)
Title: Re: SMF Arcade
Post by: synicfan on April 29, 2009, 10:38:05 AM
Quote from: synicfan on April 29, 2009, 09:32:33 AM
Quote from: fwitt on April 29, 2009, 08:36:47 AM
Quote from: synicfan on April 29, 2009, 08:07:19 AM
Quote from: aED on April 29, 2009, 05:17:42 AM
can you attach your language file here its located at your Theme folder

Quote
Theme/Themename/languages/modifications.english.php

And lets see if there is something missing

aED,
I've attached the file you asked for.

thank you for your help.  :)

try replacing it with this...

thanks for your help. I'll try it as soon as possible.
Can you give me an idea of what you did so that I can be a bit more competent?

:)

It works. thank you for your help. Can you give me an idea of what you did?
Title: Re: SMF Arcade
Post by: fwitt on April 29, 2009, 05:59:43 PM
Quote from: synicfan on April 29, 2009, 10:38:05 AM
Quote from: synicfan on April 29, 2009, 09:32:33 AM
Quote from: fwitt on April 29, 2009, 08:36:47 AM
Quote from: synicfan on April 29, 2009, 08:07:19 AM
Quote from: aED on April 29, 2009, 05:17:42 AM
can you attach your language file here its located at your Theme folder

Quote
Theme/Themename/languages/modifications.english.php

And lets see if there is something missing

aED,
I've attached the file you asked for.

thank you for your help.  :)

try replacing it with this...

thanks for your help. I'll try it as soon as possible.
Can you give me an idea of what you did so that I can be a bit more competent?

:)

It works. thank you for your help. Can you give me an idea of what you did?

its all about knowing where to press enter :)

two mods had added code to modifications.english.php and there needed to be an endline character between the last line of one mods code and the first line of the arcades code. The first arcade string had been appended to a comment and hence wasnt being processed.
Title: Re: SMF Arcade Beta 2
Post by: JakePA on April 29, 2009, 06:12:45 PM
ARGH! Got it installed, but how do I add games.  >:(
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on April 29, 2009, 06:20:50 PM
Quote from: Pennhurst1 on April 29, 2009, 06:12:45 PM
ARGH! Got it installed, but how do I add games.  >:(

admin panel/arcade/upload games

then go to the game list, check them off and click install selected
Title: Re: SMF Arcade Beta 2
Post by: JakePA on April 29, 2009, 06:22:32 PM
Okay, figured out the problem. Now how do i different ones from another site. Does anyone know a link to some different games. Thanks.
Title: Re: SMF Arcade Beta 2
Post by: fwitt on April 29, 2009, 07:03:07 PM
Quote from: Pennhurst1 on April 29, 2009, 06:22:32 PM
Okay, figured out the problem. Now how do i different ones from another site. Does anyone know a link to some different games. Thanks.

have you looked at all the games sites linked to in the games board at smfarcade.info ?
Title: Re: SMF Arcade
Post by: 3mrhythm on May 01, 2009, 04:23:37 PM
for some reason even though the guests are enabled to view and play games.. guests cant see the games at all on the forum... any ideas?

once i log in i can see them and play them
Title: Re: SMF Arcade
Post by: MissyNL on May 01, 2009, 04:54:44 PM
there are different settings to show the games.. do you have set the permissionmode to none?
Title: Re: SMF Arcade
Post by: 3mrhythm on May 02, 2009, 10:36:06 AM
lol that was easy :)
Title: Re: SMF Arcade
Post by: Praatwurst on May 03, 2009, 05:39:16 PM
The arcade works just fine, except the Arena. I (as admin) and normal users aren't able to create new matches.

I fill in the whole form, but it keeps saying 'no rounds added'.

What's wrong?
Title: Arcade tab not showing in different language
Post by: Urbanite on May 03, 2009, 07:06:01 PM
Not big into games myself, but this is an excellent mod for those who are!
Everything works fine in English. I have got an issue with the 'arcade' tab not showing when I select a different language with the 'Drop Down Language' Mod.

I copied the code from modifications.english.php into modifications.spanish.php and I also copied and renamed the Arcade.english.php to Arcade.spanish.php; that filled in all the blank boxes on the arcade layout (all I have to do is translate the content now).

Should the 'arcade' tab be showing at this point or do I need to do something else?



*** OK Sorted, needed the language files from the support site

Title: Re: SMF Arcade
Post by: Praatwurst on May 03, 2009, 09:25:00 PM
Oh and: Does somebody know some fine places to download other games than those on the official site?
Title: Re: SMF Arcade
Post by: tfs on May 03, 2009, 10:13:25 PM
Quote from: Praatwurst on May 03, 2009, 09:25:00 PM
Oh and: Does somebody know some fine places to download other games than those on the official site?

http://www.ibpdownloads.com is a good source.  Note though that you'll need to register and also send a screenshot of the arcade on your forum to be allowed to download much.  It's a hassle, but it does get you in.

Title: Re: SMF Arcade
Post by: B.SkiLLs on May 04, 2009, 02:43:52 AM
Getting this error trying to apply this mod. What could be the issue ????

Im running 1.1.8

with these mods  (all installed and working fine except the ones listed below that say "apply mod" of course. ) I deleted the rest of that text in this post but..

   
1.    delete inactive users    1.0.3    
2.    MySpace Field    2.5    
3.    SMF Arcade    2.0.17    [ Apply Mod ] [ List Files ] [ Delete ]
4.    PM On Registration    1.0.2    
5.    Attachment Icon File    1.0    
6.    Auto Embed Video/Audio Clips    3.0    
7.    SimplePortal    2.0.4    [ Apply Mod ] [ List Files ] [ Delete ]
8.    Enhanced Profile    1.1.5    
9.    Change_Poster_Of_Topic_And_Message    1.0    
10.    Default Avatar    1.1.1    
11.    Todays Birthday    1.2    
12.    Profile Comments    1.3.6    
13.    SMF Gallery Lite    1.8.3    
14.    Custom Profile Field Mod    3.19    
15.    Copy Topics    1.4    [ Apply Mod ] [ List Files ] [ Delete ]








Type     Action     Description
1.    Execute Modification    ./index.php    Test successful
2.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
3.    Execute Modification    ./Sources/Subs.php    Test successful
4.    Execute Modification    ./Sources/Who.php    Test successful
5.    Execute Modification    ./Themes/default/index.template.php    Test failed
6.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
7.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
8.    Extract File    ./Sources/Arcade.php    
9.    Extract File    ./Sources/ArcadeInstall.php    
10.    Extract File    ./Sources/ArcadeList.php    
11.    Extract File    ./Sources/ArcadePlay.php    
12.    Extract File    ./Sources/ArcadeStats.php    
13.    Extract File    ./Sources/ArcadeSettings.php    
14.    Extract File    ./Sources/Subs-Arcade.php    
15.    Extract File    ./Sources/ManageGames.php    
16.    Extract File    ./Themes/default/arcade.js    
17.    Extract File    ./Themes/default/swfobject.js    
18.    Extract File    ./Themes/default/Arcade.template.php    
19.    Extract File    ./Themes/default/ArcadeMenu.template.php    
20.    Extract File    ./Themes/default/ArcadeAdmin.template.php    
21.    Extract File    ./Themes/default/ManageGames.template.php    
22.    Extract File    ./Themes/default/languages/Arcade.english.php    
23.    Extract File    ./Themes/default/languages/ArcadeAdmin.english.php    
24.    Extract File    ./Themes/default/languages/Arcade.english-utf8.php    
25.    Extract File    ./Themes/default/languages/ArcadeAdmin.english-utf8.php    
26.    Extract File    ./Themes/default/images/favorite.gif    
27.    Extract File    ./Themes/default/images/favorite2.gif    
28.    Extract File    ./Themes/default/images/star2.gif    
29.    Extract File    ./Themes/default/images/gold.gif    
30.    Extract File    ./ArcadeLicense.txt    
31.    Extract File    ./installArcade.php    
32.    Extract File    ./newscore.php    
33.    Extract Tree    ./getid3    
34.    Create Tree    ./Games    
35.    Execute Code    package_install.php
Title: Re: SMF Arcade
Post by: MissyNL on May 04, 2009, 07:12:34 AM
try and use the parse function. Maybe there is a mod who altered some codes.. so that he can not replace or add in that file.

Good luck!
Title: Re: SMF Arcade
Post by: fwitt on May 04, 2009, 08:45:00 AM
B.SkiLLs : the most likely cause of that error is that another mod has added a link to the forum menu (home, help, search, profile...) and has changes the bit of code the Arcade is looking for in that file, this is a very easy change to do manually.

Quote from: Praatwurst on May 03, 2009, 05:39:16 PM
The arcade works just fine, except the Arena. I (as admin) and normal users aren't able to create new matches.

I fill in the whole form, but it keeps saying 'no rounds added'.

What's wrong?

could you set up a arena match at smfarcade.info (as I know its working there) just to check, cos it sounds to me like this is an issue that will require a bug report, as that error should appear when you havent added any games to play (which from your screen shot I can see you have). Also could you look in your forum error logs for any entries that correspond to this issue.
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on May 04, 2009, 12:13:40 PM
I have dropped all tables in database relating to the Arcade and uninstalled the mod, removed the games directory, install the mod again the same thing is happening, any more suggestions?
Title: Re: SMF Arcade
Post by: Praatwurst on May 04, 2009, 12:38:15 PM
Quote from: fwitt on May 04, 2009, 08:45:00 AM
B.SkiLLs : the most likely cause of that error is that another mad has added a link to the forum menu (home, help, search, profile...) and has changes the bit of code the Arcade is looking for in that file, this is a very easy change to do manually.

Quote from: Praatwurst on May 03, 2009, 05:39:16 PM
The arcade works just fine, except the Arena. I (as admin) and normal users aren't able to create new matches.

I fill in the whole form, but it keeps saying 'no rounds added'.

What's wrong?

could you set up a arena match at smfarcade.info (as I know its working there) just to check, cos it sounds to me like this is an issue that will require a bug report, as that error should appear when you havent added any games to play (which from your screen shot I can see you have). Also could you look in your forum error logs for any entries that correspond to this issue.
Registered at smfarcade.info and I was able to create a new match.

I found the following error:

http://www.fotonop.nl/ff/index.php?action=arcade;sa=newMatch2
8: Undefined index: arena_error_invalid_rounds
File: blablabla/public_html/ff/Sources/ArcadeArena.php
Line: 396

I never made any changes to the file. At line 396 stands this:

Quoteif (!empty($errors))
   {
      $context['errors'] = array();

      foreach ($errors as $err)
         $context['errors'][] = $txt['arena_error_' . $err];
   }

   checkSubmitOnce('register');

   // Layout
Title: Re: SMF Arcade
Post by: fwitt on May 04, 2009, 01:19:55 PM
The error is referring to a missing language string.

What language are you using for your forum (and have you got arcade language files for your language).

the arcade puts strings into Arcade.english.php, ArcadeAdmin.english.php and Modifications.english.php so your forum needs translations for these strings into your language in the files Arcade.language.php ArcadeAdmin.language.php and Modifications.language.php.

This is the most likely cause of that error message but I dont know if it is related to the Arena problem you are having.
Title: Re: SMF Arcade
Post by: Praatwurst on May 04, 2009, 04:19:38 PM
I'm using dutch-utf8

Could you help me, I don't know how to fix this  ;)
Title: Re: SMF Arcade
Post by: andy40 on May 04, 2009, 05:43:52 PM
hi does any know how you edit the high scores please that are saved?
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on May 05, 2009, 10:40:26 AM
Quote from: johncccccc on May 04, 2009, 12:13:40 PM
I have dropped all tables in database relating to the Arcade and uninstalled the mod, removed the games directory, install the mod again the same thing is happening, any more suggestions?

Can anybody help me with this ^^^

I do believe I have completly Removed the mod and after re-installing its still doing the same thing...
Title: Re: SMF Arcade
Post by: niko on May 05, 2009, 11:17:10 AM
Quote from: Praatwurst on May 03, 2009, 05:39:16 PM
The arcade works just fine, except the Arena. I (as admin) and normal users aren't able to create new matches.

I fill in the whole form, but it keeps saying 'no rounds added'.

What's wrong?

Sounds odd.

Can you PM me results of this: (it gives input debug data from input)

Replace

if ($showConfirm || !empty($errors))
return ArcadeNewMatch($match, $showConfirm ? array() : $errors);


with



if ($user_info['is_admin'])
{
echo '<pre>';
var_dump(array($_REQUEST, $match));

echo '<pre>';
die('---end of debug----');
}

if ($showConfirm || !empty($errors))
return ArcadeNewMatch($match, $showConfirm ? array() : $errors);

Title: Re: SMF Arcade
Post by: andy40 on May 05, 2009, 05:38:25 PM
hi anyone know if theres any new games out yet i have the ones on the site?
Title: Re: SMF Arcade
Post by: B.SkiLLs on May 06, 2009, 03:59:12 AM
Hi all,

Need some advice or help here.

I tried installing this mod before and was doing a lot of other things and it wouldnt work then so i gave up..

but.. I am trying again with new version and im getting this error, plus has the red top warning of course saying not to install.

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


Any and all help is much appreciated.

Im running 1.1.8 with these mods [ see attached pic ]

Title: Re: SMF Arcade
Post by: [»|« №ōЯ »|«] on May 06, 2009, 05:55:07 AM
hey ... How R u ?

i install SMF Arcade MODs ....

SMF_Arcade_2.5_Beta_5.zip (http://custom.simplemachines.org/mods/index.php?action=download;mod=36;id=94947)


MODs is Running But.... i Play Any Game... then showing message

You need to enable javascript in order to play games.

Please Help Me ..... How To Enable Javascript .... (https://www.simplemachines.org/community/Smileys/simple/huh.gif)

my Forum Arcade Link:
http://forum.funfully.com/index.php?action=arcade (http://forum.funfully.com/index.php?action=arcade)
Title: Re: SMF Arcade
Post by: mattchewone on May 06, 2009, 05:14:34 PM
Is there a way to set up competitions or challenge members?
Title: Re: SMF Arcade
Post by: [»|« №ōЯ »|«] on May 07, 2009, 02:15:43 AM
i uninstall this mod.... & i again reinstall mod then show error



Database Error

Table 'smf_zearcade_games' already exists
File: /usr/home/domainfu/public_html/forum/Sources/ArcadeDatabase.php
Line: 907
Title: Re: SMF Arcade
Post by: Praatwurst on May 07, 2009, 05:16:01 PM
Quote from: Niko on May 05, 2009, 11:17:10 AM
Quote from: Praatwurst on May 03, 2009, 05:39:16 PM
The arcade works just fine, except the Arena. I (as admin) and normal users aren't able to create new matches.

I fill in the whole form, but it keeps saying 'no rounds added'.

What's wrong?

Sounds odd.

Can you PM me results of this: (it gives input debug data from input)

Replace

if ($showConfirm || !empty($errors))
return ArcadeNewMatch($match, $showConfirm ? array() : $errors);


with



if ($user_info['is_admin'])
{
echo '<pre>';
var_dump(array($_REQUEST, $match));

echo '<pre>';
die('---end of debug----');
}

if ($showConfirm || !empty($errors))
return ArcadeNewMatch($match, $showConfirm ? array() : $errors);


PM'd you the output ;)
Title: Re: SMF Arcade
Post by: jeza on May 08, 2009, 10:45:46 AM
Quote from: [»|« №ōЯ »|«] on May 06, 2009, 05:55:07 AM
MODs is Running But.... i Play Any Game... then showing message

You need to enable javascript in order to play games.

Please Help Me ..... How To Enable Javascript .... (https://www.simplemachines.org/community/Smileys/simple/huh.gif)

Open your index.template.php and find near the top
Quote<![CDATA[
      var smf_theme_url = "http://forum.funfully.com/Themes/default";
      var smf_default_theme_url = "http://forum.funfully.com/Themes/default";
      var smf_images_url = "http://forum.funfully.com/Themes/default/images";
      var smf_scripturl = "http://forum.funfully.com/index.php?PHPSESSID=7ccf1d4d72faf14a3b9e67270b5db252&amp;";
      var smf_iso_case_folding = false;
      var smf_charset = "UTF-8";
      var ajax_notification_text = "Loading...";
      var ajax_notification_cancel_text = "Cancel";
   // ]]></script>

It wont look exactly like the above as it will have variables in it, the code above is source from your site.

At the top change the
Quote<![CDATA[
to
Quote<script language="JavaScript" type="text/javascript">
and at the bottom chang the
Quote// ]]></script>
to
Quote</script>

I think its the ajax chat or something similar which overwrites the javascript opening tag.
Title: Re: SMF Arcade
Post by: jeza on May 08, 2009, 10:50:16 AM
Quote from: B.SkiLLs on May 06, 2009, 03:59:12 AM
Hi all,

Need some advice or help here.

I tried installing this mod before and was doing a lot of other things and it wouldnt work then so i gave up..

but.. I am trying again with new version and im getting this error, plus has the red top warning of course saying not to install.

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


Any and all help is much appreciated.

Im running 1.1.8 with these mods [ see attached pic ]



This is probably the most asked question answered many times at
http://www.smfarcade.info/forum/index.php

A mod had overwritten code the installer is looking for. But its not serious.
Title: Re: SMF Arcade
Post by: jeza on May 08, 2009, 10:51:28 AM
Quote from: mattchewone on May 06, 2009, 05:14:34 PM
Is there a way to set up competitions or challenge members?

Only on SMF Arcade 2.5 Beta
Title: Re: SMF Arcade
Post by: Skhilled on May 10, 2009, 05:10:45 AM
Quote from: [»|« №ōЯ »|«] on May 07, 2009, 02:15:43 AM
i uninstall this mod.... & i again reinstall mod then show error



Database Error

Table 'smf_zearcade_games' already exists
File: /usr/home/domainfu/public_html/forum/Sources/ArcadeDatabase.php
Line: 907


When you uninstall the arcade it does not drop the tables. The error is saying that the table is already there. Nothing to worry about unless you get it while playing a game or changing settings.
Title: Re: SMF Arcade
Post by: monsterstar on May 10, 2009, 08:42:57 AM
I'm hoping someone can help me with this error.

QuoteDatabase Error: Unknown column 'm.id_member' in 'where clause'
File: /public_html/Sources/Subs-Arcade.php
Line: 308

I am able to use the arcade as an admin but like the regular members, unable to play when not logged in as the admin.

The mods I have installed are:

1.More Spiders  1.2     
2.SMF Media Gallery 1.5.6    
3.nneonneo's AJAX ShoutBox 1.22    
4.Avatar On Board RC1 2.1    
5.Aeva ~ Auto-Embed Video & Audio 6.9.99    
6.Center User Info In Posts 1.0
7.Yet Another Global Announcements Mod 1.1.7.2    
8.SimplePortal 2.2.1    
9.Karma Buttons 1.1    
10.SMF Arcade 2.5 Beta 5
11.Reply Button in All Posts 1.1
Title: Re: SMF Arcade
Post by: fladramon on May 10, 2009, 10:39:05 AM
35.    Execute Code    package_install.php


I've done everything except this

Should I upload this package file to a specific folder
and how I install it? :(
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on May 10, 2009, 10:55:35 AM
Quote from: johncccccc on May 05, 2009, 10:40:26 AM
Quote from: johncccccc on May 04, 2009, 12:13:40 PM
I have dropped all tables in database relating to the Arcade and uninstalled the mod, removed the games directory, install the mod again the same thing is happening, any more suggestions?

Can anybody help me with this ^^^

I do believe I have completly Removed the mod and after re-installing its still doing the same thing...
anybody . . .
Title: Re: SMF Arcade
Post by: fladramon on May 10, 2009, 07:52:10 PM
I find the solution
thanks for the help
Title: Re: SMF Arcade
Post by: B.SkiLLs on May 11, 2009, 03:43:02 AM
Quote from: jeza on May 08, 2009, 10:50:16 AM
Quote from: B.SkiLLs on May 06, 2009, 03:59:12 AM
Hi all,

Need some advice or help here.

I tried installing this mod before and was doing a lot of other things and it wouldnt work then so i gave up..

but.. I am trying again with new version and im getting this error, plus has the red top warning of course saying not to install.

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


Any and all help is much appreciated.

Im running 1.1.8 with these mods [ see attached pic ]



This is probably the most asked question answered many times at
http://www.smfarcade.info/forum/index.php

A mod had overwritten code the installer is looking for. But its not serious.

Thanks, but i looked every where almost there and couldnt find anything on what i said. Do you have a direct link to same issue ??

thxs :)

Title: Re: SMF Arcade
Post by: jeza on May 11, 2009, 03:06:24 PM
QuoteThanks, but i looked every where almost there and couldnt find anything on what i said. Do you have a direct link to same issue ??

This was just today but its the usual issue
http://www.smfarcade.info/forum/index.php/topic,5016.msg31252/topicseen.html#msg31252

Title: Re: SMF Arcade
Post by: jeza on May 11, 2009, 03:14:45 PM
Quote from: johncccccc on May 10, 2009, 10:55:35 AM
Quote from: johncccccc on May 05, 2009, 10:40:26 AM
Quote from: johncccccc on May 04, 2009, 12:13:40 PM
I have dropped all tables in database relating to the Arcade and uninstalled the mod, removed the games directory, install the mod again the same thing is happening, any more suggestions?

Can anybody help me with this ^^^

I do believe I have completly Removed the mod and after re-installing its still doing the same thing...
anybody . . .

Not sure what your problem is so I'll assume its your games not saving scores.

http://www.smfarcade.info/wiki/SMF_Arcade/FAQ#Scores_do_not_save

Check that link, especially the bit about the www thing.
Title: Re: SMF Arcade
Post by: mattchewone on May 11, 2009, 04:45:18 PM
Quote from: jeza on May 08, 2009, 10:51:28 AM
Quote from: mattchewone on May 06, 2009, 05:14:34 PM
Is there a way to set up competitions or challenge members?

Only on SMF Arcade 2.5 Beta

I am running 2.5beta, I have found it, arena. I cannot set up a game though it will not allow me to set up the amount of rounds.

Also i cannot view who is viewing the arcade either. At the bottom of the Arcade where it says who is viewing it does not show any other users than the user viewing.
Title: Re: SMF Arcade
Post by: the_shadow on May 12, 2009, 08:57:42 AM
someone knows when it is realeased SMF arcade 2.5 final version?

thnkx
Title: Re: SMF Arcade
Post by: monsterstar on May 18, 2009, 12:25:14 PM
Does anyone know what is causing this error?

QuoteDatabase Error: Unknown column 'm.id_member' in 'where clause'
File: /public_html/Sources/Subs-Arcade.php
Line: 308

I am able to play the arcade as an admin but not as a regular member.

Thanks!
Title: Re: SMF Arcade
Post by: fwitt on May 18, 2009, 05:00:34 PM
Quote from: monsterstar on May 18, 2009, 12:25:14 PM
Does anyone know what is causing this error?

QuoteDatabase Error: Unknown column 'm.id_member' in 'where clause'
File: /public_html/Sources/Subs-Arcade.php
Line: 308

I am able to play the arcade as an admin but not as a regular member.

Thanks!

which smf version and which arcade version?
Title: Re: SMF Arcade
Post by: the_shadow on May 18, 2009, 07:30:26 PM
go to ADMIN > arcade > General > Permissions > Groups allowed to Access Arcade (select the groups)

go to ADMIN > arcade > General > Permissions > Groups allowed to play (select the groups)

go to ADMIN > arcade > General > Permissions > Groups allowed to save scores (select the groups)
Title: Re: SMF Arcade
Post by: monsterstar on May 19, 2009, 09:32:42 AM
Quote from: fwitt on May 18, 2009, 05:00:34 PM
Quote from: monsterstar on May 18, 2009, 12:25:14 PM
Does anyone know what is causing this error?

QuoteDatabase Error: Unknown column 'm.id_member' in 'where clause'
File: /public_html/Sources/Subs-Arcade.php
Line: 308

I am able to play the arcade as an admin but not as a regular member.

Thanks!

which smf version and which arcade version?

Sorry, forgot to mention that.


SMF 2.0 RC1
Arcade 2.5 Beta 5
Title: Arcade categories
Post by: j_jindal1 on May 20, 2009, 05:32:14 AM
Hi,

         I installed SMF arcade 2.0.16, and created few categories like Action/Card games/Shooting etc. When I check the games section I can see all the games at one place, although the category is shown as types. Can anyone help me organize so that if user comes to arcade section he should see only categories and once he click on categories he should see all the games in that category only. My test forum installation is at..

http://just4dosti.com/forums/index.php?action=arcade

please check..
thanks
Title: Re: SMF Arcade
Post by: andy40 on May 21, 2009, 09:24:55 AM
hi just updated my forum to 1.1.9 and now this wont work lost all my settings and high scores not happy does anyone know why this wont work with it?
Title: Re: SMF Arcade
Post by: niko on May 21, 2009, 12:18:49 PM
Quote from: monsterstar on May 19, 2009, 09:32:42 AM
Quote from: fwitt on May 18, 2009, 05:00:34 PM
Quote from: monsterstar on May 18, 2009, 12:25:14 PM
Does anyone know what is causing this error?

QuoteDatabase Error: Unknown column 'm.id_member' in 'where clause'
File: /public_html/Sources/Subs-Arcade.php
Line: 308

I am able to play the arcade as an admin but not as a regular member.

Thanks!

which smf version and which arcade version?

Sorry, forgot to mention that.


SMF 2.0 RC1
Arcade 2.5 Beta 5

Seems to be bug in Beta 5 when posts per day check is enabled

Subs-Arcade.php find:

$result = $smcFunc['db_query']('', '
SELECT COUNT(*)
FROM {db_prefix}messages AS ms
LEFT JOIN {db_prefix}boards AS b ON (m.id_board = b.id_board)
WHERE b.count_posts != 1
AND m.id_member = {int:member}
AND m.poster_time >= {int:from}',
array(
'member' => $user_info['id'],
'from' => time() - 86400
)
);


Replace with:


$result = $smcFunc['db_query']('', '
SELECT COUNT(*)
FROM {db_prefix}messages AS m
LEFT JOIN {db_prefix}boards AS b ON (m.id_board = b.id_board)
WHERE b.count_posts != 1
AND m.id_member = {int:member}
AND m.poster_time >= {int:from}',
array(
'member' => $user_info['id'],
'from' => time() - 86400
)
);


and it should work
Title: Re: SMF Arcade
Post by: TommyJoe on May 21, 2009, 02:45:19 PM
Well there goes my arcade 5 beta, upgraded to SMF 2.0RC1-1 and now the beta isn't compatible.

Just my luck! :(

Any Suggestion?

TIA
Title: Re: SMF Arcade
Post by: andy40 on May 21, 2009, 04:11:06 PM
Quote from: TommyJoe on May 21, 2009, 02:45:19 PM
Well there goes my arcade 5 beta, upgraded to SMF 2.0RC1-1 and now the beta isn't compatible.

Just my luck! :(

Any Suggestion?

TIA

its not compatible with 1.1.9 either m8 :-[
Title: Re: Arcade categories
Post by: j_jindal1 on May 22, 2009, 05:35:58 AM
Quote from: j_jindal1 on May 20, 2009, 05:32:14 AM
Hi,

         I installed SMF arcade 2.0.16, and created few categories like Action/Card games/Shooting etc. When I check the games section I can see all the games at one place, although the category is shown as types. Can anyone help me organize so that if user comes to arcade section he should see only categories and once he click on categories he should see all the games in that category only. My test forum installation is at..

http://just4dosti.com/forums/index.php?action=arcade

please check..
thanks

Can someone direct me to a proper thread .. please.. ?
Title: Re: SMF Arcade
Post by: FluroJezza on May 25, 2009, 04:13:33 AM
Problem: Arcade wont install
SMF Version: 1.1.9
Arcade Version: 2.0.17


Hi,

I downloaded SMF Arcade 2.0.17 and downloaded it onto my forum. Then I went to install it and got a message saying the file was either corrupt or not supported by my forum.
I then also tried doing it with 2.0.16 and it didn't work either.

Anyone know why this is happening?


(BRB DINNER)
Title: Re: SMF Arcade
Post by: jeza on May 25, 2009, 02:05:56 PM
Hello fellow jeza
:)

http://www.smfarcade.info/forum/index.php/topic,5036.0.html
Title: Re: SMF Arcade
Post by: fwitt on May 25, 2009, 05:12:17 PM
TommyJoe and Andy40: there have been new versions released to correspond with the smf updates. although i think i've seen your question already answered on the arcade forum andy40

j_jindal1 : take a look in the hacks board at smfarcade.info I believe there are hacks that do similar things to what you are wanting.
Title: Re: SMF Arcade
Post by: littenburg on May 28, 2009, 11:50:14 AM
i think in the future, you should be able to be able to put embeding code from other websites, it would make it faster, and allow us not to take up space on our servers.
Title: Re: SMF Arcade
Post by: j_jindal1 on May 29, 2009, 02:26:19 AM
Quote from: fwitt on May 25, 2009, 05:12:17 PM
TommyJoe and Andy40: there have been new versions released to correspond with the smf updates. although i think i've seen your question already answered on the arcade forum andy40

j_jindal1 : take a look in the hacks board at smfarcade.info I believe there are hacks that do similar things to what you are wanting.

Thanks fwitt,

I found the code.... thanks for the information....  :)
Title: Re: SMF Arcade
Post by: j_jindal1 on May 31, 2009, 04:10:22 AM
I installed SMF arcade at http://www.Just4Dosti.com/index.php?action=arcade but for many games I'm getting the error as

"Score was not saved because session is missing "

Any help/suggestions will be most welcome.. :)
Title: Re: SMF Arcade
Post by: fwitt on May 31, 2009, 12:14:11 PM
Quote from: j_jindal1 on May 31, 2009, 04:10:22 AM
I installed SMF arcade at http://www.Just4Dosti.com/index.php?action=arcade but for many games I'm getting the error as

"Score was not saved because session is missing "

Any help/suggestions will be most welcome.. :)

http://www.smfarcade.info/wiki/SMF_Arcade/FAQ#Scores_do_not_save is a good place to start
Title: Re: SMF Arcade
Post by: j_jindal1 on May 31, 2009, 01:37:55 PM
Thanks a lotttt fewitt....  :)
Title: Re: SMF Arcade
Post by: fwitt on May 31, 2009, 05:21:45 PM
no probs
Title: Re: SMF Arcade
Post by: Shades. on June 02, 2009, 10:30:40 PM
Quote from: jeza on May 25, 2009, 02:05:56 PM
Hello fellow jeza
:)

http://www.smfarcade.info/forum/index.php/topic,5036.0.html

What about smf 2.0rc1-1? I'm getting the same errors when I try and install:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: SMF Arcade
Post by: JBlaze on June 02, 2009, 10:35:27 PM
Quote from: BoZilla on June 02, 2009, 10:30:40 PM
Quote from: jeza on May 25, 2009, 02:05:56 PM
Hello fellow jeza
:)

http://www.smfarcade.info/forum/index.php/topic,5036.0.html

What about smf 2.0rc1-1? I'm getting the same errors when I try and install:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Use the version emulate.

Click "Advanced" right below the Browse Packages page.
Title: Re: SMF Arcade
Post by: Shades. on June 02, 2009, 10:54:30 PM
Quote from: JBlaze on June 02, 2009, 10:35:27 PM
Quote from: BoZilla on June 02, 2009, 10:30:40 PM
Quote from: jeza on May 25, 2009, 02:05:56 PM
Hello fellow jeza
:)

http://www.smfarcade.info/forum/index.php/topic,5036.0.html

What about smf 2.0rc1-1? I'm getting the same errors when I try and install:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Use the version emulate.

Click "Advanced" right below the Browse Packages page.
Ok, just tried that and still get the same error!? :( And also since a pressed emulate another one of my mods I have installed (Recent Topics) doesn't have an uninstall link. But it is still installed!? :o
Title: Re: SMF Arcade
Post by: Shaman666 on June 03, 2009, 03:34:21 PM
Is ti possible to install latest version to 1.1.9?
Title: Re: SMF Arcade
Post by: fwitt on June 03, 2009, 05:01:59 PM
Quote from: Shaman666 on June 03, 2009, 03:34:21 PM
Is ti possible to install latest version to 1.1.9?

you can install the latest of the 2.0.x series to 1.1.9
the 2.5 betas are only for smf 2.x
Title: Re: SMF Arcade
Post by: niko on June 04, 2009, 03:43:19 AM
2.0.18 is now available for 1.1.9. No need for emulate version anymore.
Title: Re: SMF Arcade
Post by: kingkingston on June 04, 2009, 04:37:58 AM
Quote from: Niko on June 04, 2009, 03:43:19 AM
2.0.18 is now available for 1.1.9. No need for emulate version anymore.
my unistall button for 2.0.17 is not there anymore so is it alright to delete it or how do i update the mod ?
Title: Re: SMF Arcade
Post by: Jaba on June 05, 2009, 01:39:15 PM
Hi, I have a very old version of SMF Arcade installed and want to update.
Version 2.0.9
SMF 1.1.9

There is no uninstall available for that old version and I don't have the [ Apply Mod ] option for the new version which I've uploaded 2.0.18  so I assume I need to do a manual uninstall first!?
I'm also not running the default theme!

Didn't find anything on a search in this topic on that so a push in the right direction would help?
Thanx
Title: Re: SMF Arcade
Post by: jeza on June 05, 2009, 01:58:33 PM
Quote from: BoZilla on June 02, 2009, 10:30:40 PM
Quote from: jeza on May 25, 2009, 02:05:56 PM
Hello fellow jeza
:)

http://www.smfarcade.info/forum/index.php/topic,5036.0.html

What about smf 2.0rc1-1? I'm getting the same errors when I try and install:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

http://www.smfarcade.info/forum/index.php/topic,5035.15.html
Title: Re: SMF Arcade
Post by: jeza on June 05, 2009, 02:01:27 PM
Quote from: kingkingston on June 04, 2009, 04:37:58 AM
Quote from: Niko on June 04, 2009, 03:43:19 AM
2.0.18 is now available for 1.1.9. No need for emulate version anymore.
my unistall button for 2.0.17 is not there anymore so is it alright to delete it or how do i update the mod ?

The easiest way would be to uninstall the 1.1.9 update. The 2.0.17 uninstall should re-appear then.
Uninstall it, re-install the 1.1.9 update then install the 2.0.18.
Title: Re: SMF Arcade
Post by: Skhilled on June 05, 2009, 11:45:28 PM
try this:

http://www.smfarcade.info/forum/index.php/topic,4696.0.html
Title: Re: SMF Arcade
Post by: fwgmc on June 10, 2009, 01:41:23 AM
Quote from: BoZilla on June 02, 2009, 10:54:30 PM
Quote from: JBlaze on June 02, 2009, 10:35:27 PM
Quote from: BoZilla on June 02, 2009, 10:30:40 PM
What about smf 2.0rc1-1? I'm getting the same errors when I try and install:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Use the version emulate.

Click "Advanced" right below the Browse Packages page.
Ok, just tried that and still get the same error!? :( And also since a pressed emulate another one of my mods I have installed (Recent Topics) doesn't have an uninstall link. But it is still installed!? :o

This action did not function for me. It actually acted as if it did nothing. Here is what I see:
4.     SMF Arcade      2.0.18      [ List Files ]  [ Delete ] (NOTE the lack of Uninstall?)

I also tried deleting 2.0.18 and downloading/installing the beta one.

4.     SMF Arcade      2.5 Beta 5      [ List Files ]  [ Delete ] Same results .. no uninstall provided


Quote from: Niko on June 04, 2009, 03:43:19 AM
2.0.18 is now available for 1.1.9. No need for emulate version anymore.

It still does not function on either the 2.0.18 or the beta (I am using 2.0RC-1 version of SMF).  See below:
Install Actions
Installations actions for "SMF Arcade":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.



EDITED - PROBLEM RESOLVED...

Surprisingly enough, I found my own fix through "hacking" the modification, thanks to another poster. It would appear as though your line <install="2.0 R-1"> inside of the programs-info.xml file is preventing a successful install for folks like me who are running 2.0 RC-1 and installing the BETA version for the first time ever. I've never even run any SMF version prior to 2.0 RC-1. So after I altered that line, I got a successful installation. :) I thought I'd pass this information along. Here's the post that helped me, so that I give proper credit to the kind person:
Quote from: mraza on May 29, 2009, 11:01:51 AM
well maybe this could help ...when you download any MOD which is not compatible with your version. do one thing download the package and extract the file named package-info.xml...then between the code find line something like this <install for="1.1.6-1.99.99"> and <uninstall for="1.1.6-1.99.99"> .... change it to <install> and <uninstall>. hope this hack will work for you as i use this before on many mods but don't continue if you got any Test Fail...good luck
Title: Re: SMF Arcade
Post by: shep41 on June 11, 2009, 07:56:12 AM
Hi Guys.
I have a problem with smf arcade. Im running smf 2rc 1-1 and have several themes installed, The problem is i use the smf default theme for my forum and smf arcade has issues with this theme. When you go to play a game it states that i need to  install javascript. The smf arcade works fine on every other theme i have installed.

Any ideas?


Nigel
Title: Re: SMF Arcade
Post by: fwitt on June 11, 2009, 12:16:30 PM
Quote from: shep41 on June 11, 2009, 07:56:12 AM
Hi Guys.
I have a problem with smf arcade. Im running smf 2rc 1-1 and have several themes installed, The problem is i use the smf default theme for my forum and smf arcade has issues with this theme. When you go to play a game it states that i need to  install javascript. The smf arcade works fine on every other theme i have installed.

Any ideas?


Nigel

have you checked this: http://www.smfarcade.info/wiki/SMF_Arcade/FAQ#Error:_You_need_to_enable_javascript_in_order_to_play_games.21
Title: Re: SMF Arcade
Post by: shep41 on June 11, 2009, 04:16:42 PM
Hi
I have changed the file permissions and still have the same issue.
Can any one shed any light on this subject?

Nigel
Title: Re: SMF Arcade
Post by: fwitt on June 11, 2009, 05:15:17 PM
Quote from: shep41 on June 11, 2009, 04:16:42 PM
Hi
I have changed the file permissions and still have the same issue.
Can any one shed any light on this subject?

Nigel

hrmmm found another similar problem try reading this one... http://www.smfarcade.info/forum/index.php/topic,4957.0.html
Title: Re: SMF Arcade
Post by: shep41 on June 12, 2009, 07:58:45 AM
Nope still not working, any more ideas apart from using a different theme?
Title: Re: SMF Arcade
Post by: fwitt on June 12, 2009, 03:18:17 PM
as its working for all but the default theme its about working out what is different in how your default theme to your custom themes that could affect this issue.
Title: Re: SMF Arcade
Post by: romper on June 15, 2009, 08:41:55 PM
Sorry if it was answered but 192 pages are to much to read....mod works great but my question is why many games can't save score, it sais error has occured, and I know this games have options for saving?
Title: Re: SMF Arcade
Post by: fwitt on June 16, 2009, 05:45:33 AM
Quote from: romper on June 15, 2009, 08:41:55 PM
Sorry if it was answered but 192 pages are to much to read....mod works great but my question is why many games can't save score, it sais error has occured, and I know this games have options for saving?

different games use different scoring systems for instance the variable that sends the score from the game to the website could be called score, highscore, hscore, money, gold etc. also different games send the score to different places, for instance index.php, newscore.php or they may send the score to a relative path or even to an external url.

The games also have different methods of identifying themselves to the website, they might have a name or a number, the score submission might be encrypted. All this depends on what the game author intended there game to be used for.

SMF Arcade supports some of the most common scoring systems.

To know if your game works with the arcade you need to know which scoring system your version of the game uses (some games have been released with several different versions for different scoring systems) and check that against the list of scoring systems the arcade supports. There is more info on this in the stickies on the Games Board at smfarcade.info
Title: Re: SMF Arcade
Post by: Morp on June 17, 2009, 10:50:56 AM
Hello,
I got forum version:1.1.9
Arcade version:2.0.18

Me and my members can't submit the highscore at ANY game.
We click on submit and nothing happens.

Any ideas what can be wrong?
Title: Re: SMF Arcade
Post by: jeza on June 17, 2009, 11:04:24 AM
Quote from: Morp on June 17, 2009, 10:50:56 AM
Hello,
I got forum version:1.1.9
Arcade version:2.0.18

Me and my members can't submit the highscore at ANY game.
We click on submit and nothing happens.

Any ideas what can be wrong?

http://www.smfarcade.info/wiki/SMF_Arcade/FAQ#Scores_do_not_save

check items 4 and 6
Title: Re: SMF Arcade
Post by: saibaworld on June 21, 2009, 08:30:27 AM
I wanted to install this mod on my forum but saw this warning on the download page:

QuoteBeta Warning!
This is an early beta release of SMF Arcade 2.5.
Some of features are not yet complete and there maybe bugs that may cause data loss.
You should report all bugs to our Issue Tracker, feature request are also welcome.

REMEMBER TO MAKE BACKUPS!

When is the full release coming out?
Title: Re: SMF Arcade
Post by: Uhura! on June 21, 2009, 10:39:20 AM
It works great with 1.1.8 & 1.1.9
Title: Re: SMF Arcade
Post by: fwitt on June 21, 2009, 11:45:47 AM
Quote from: drtonik on June 21, 2009, 08:30:27 AM
I wanted to install this mod on my forum but saw this warning on the download page:

QuoteBeta Warning!
This is an early beta release of SMF Arcade 2.5.
Some of features are not yet complete and there maybe bugs that may cause data loss.
You should report all bugs to our Issue Tracker, feature request are also welcome.

REMEMBER TO MAKE BACKUPS!

When is the full release coming out?

As your forum is running SMF 1.1.9 you want SmfArcade 2.0.19.

SmfArcade 2.5 Beta is for SMF 2 and I believe the aim is to be at release candidate stage when SMF 2 goes gold.
Title: Re: SMF Arcade
Post by: saibaworld on June 21, 2009, 12:46:09 PM
Quote from: fwitt on June 21, 2009, 11:45:47 AM
Quote from: drtonik on June 21, 2009, 08:30:27 AM
I wanted to install this mod on my forum but saw this warning on the download page:

QuoteBeta Warning!
This is an early beta release of SMF Arcade 2.5.
Some of features are not yet complete and there maybe bugs that may cause data loss.
You should report all bugs to our Issue Tracker, feature request are also welcome.

REMEMBER TO MAKE BACKUPS!

When is the full release coming out?

As your forum is running SMF 1.1.9 you want SmfArcade 2.0.19.

SmfArcade 2.5 Beta is for SMF 2 and I believe the aim is to be at release candidate stage when SMF 2 goes gold.

Thanks a lot for the enlightenment. I appreciate  :)
Title: Re: SMF Arcade
Post by: P19BLO on June 24, 2009, 08:34:22 PM
i have smf 1.1.9 with the theme dilbermc , i have installed the mod successfully, but its not in the main menu (tabs) how to i add it there ?

www.ultimatehype.com

I did a search on this thread but couldnt find exactly what i needed.

Cheers
Title: Re: SMF Arcade
Post by: neteater on June 25, 2009, 12:47:01 PM
how to make it working with 2.0rc1-1
Title: Re: SMF Arcade
Post by: fwitt on June 26, 2009, 04:22:43 PM
Quote from: P19BLO on June 24, 2009, 08:34:22 PM
i have smf 1.1.9 with the theme dilbermc , i have installed the mod successfully, but its not in the main menu (tabs) how to i add it there ?

www.ultimatehype.com

I did a search on this thread but couldnt find exactly what i needed.

Cheers

I see you got your answer at smfarcade.info

Quote from: neteater on June 25, 2009, 12:47:01 PM
how to make it working with 2.0rc1-1

Arcade 2.5 Beta 6 works on rc1-1 but
1. Its beta so has the risks associated with such.
2. Dont think it has yet been released to the public although I think it will be soon.
Title: Re: SMF Arcade
Post by: thesikaleon on June 27, 2009, 03:00:38 PM

I have SMF 1.1.9 and I'm trying to install SMF_Arcade_2.0.18


I receive the following error

SMF Arcade 2.0.16
Importing games and scores
Table 'greeksc_maindatabase.smf_games' doesn't exist


greeksc_maindatabase is my database

please any help?
Title: Re: SMF Arcade
Post by: MF30 on July 05, 2009, 07:55:11 PM
I got this errors :
8: Undefined index: arcade_admin
Ficheiro: /home/XXX/XXX/comunidade/Sources/Subs.php
Linha: 2910

8: Undefined index: arcade_manage_games
Ficheiro: /home/XXX/XXX/comunidade/Sources/Subs.php
Linha: 2912

8: Undefined index: arcade_manage_category
Ficheiro: /home/XXX/XXX/comunidade/Sources/Subs.php
Linha: 2913

8: Undefined index: arcade_settings
Ficheiro: /home/XXX/XXX/comunidade/Sources/Subs.php
Linha: 2914


   
Subs attached.
Help me , please.
Title: Re: SMF Arcade
Post by: MF30 on July 06, 2009, 01:03:44 PM
Bump. :(
Title: Re: SMF Arcade
Post by: gbsothere on July 06, 2009, 02:18:06 PM
Quote from: MF30 on July 06, 2009, 01:03:44 PM
Bump. :(

MF30, if this isn't replied to here, you may find it faster to go to http://smfarcade.info (http://smfarcade.info) and ask there.  Skhilled and jeza and the others are great and they'll get you up and running.
Title: Re: SMF Arcade
Post by: MF30 on July 06, 2009, 02:41:43 PM
Quote from: gbsothere on July 06, 2009, 02:18:06 PM
Quote from: MF30 on July 06, 2009, 01:03:44 PM
Bump. :(

MF30, if this isn't replied to here, you may find it faster to go to http://smfarcade.info (http://smfarcade.info) and ask there.  Skhilled and jeza and the others are great and they'll get you up and running.

Thanks. ;)
Title: Re: SMF Arcade
Post by: MATTEK on July 06, 2009, 04:54:56 PM
When is the RC1 package coming out?
Title: Re: SMF Arcade
Post by: gbsothere on July 06, 2009, 04:55:17 PM
Quote from: MF30 on July 06, 2009, 02:41:43 PM
Thanks. ;)



I see where you got your issue solved right away.   Those guys rock.  *grin*  I hang out there just to learn.   

Title: Re: SMF Arcade
Post by: jeza on July 14, 2009, 09:56:07 AM
Quote from: MATTEK on July 06, 2009, 04:54:56 PM
When is the RC1 package coming out?

2.5 Beta 6 has just been released this week. RC1 will be the next release but theres no way to put a date on that as yet.
RC1 however will be the last release until SMF is in Final.
Title: Re: SMF Arcade
Post by: w0rthex on July 19, 2009, 06:44:44 PM
How can I add games to SMF arcade?
Title: Re: SMF Arcade
Post by: gbsothere on July 19, 2009, 07:02:54 PM

Quote from: w0rthex on July 19, 2009, 06:44:44 PM
How can I add games to SMF arcade?

There are different methods of adding games, depending on whether or not the game has a gamedata folder included (as v32 games go) or not.  To get started though, you can go to http://smfarcade.info and try installing one of their gamepacks.  After you download a gamepack, go to Admin---->Arcade Admin----->Games------> and click the Install tab.  In the Upload field at the bottom of that page, browse to the gamepack you downloaded (zip file) then click Upload.  When the gamepack has been uploaded, you will see the games included listed.  Click Install.  You will need to go to Admin---> Arcade Admin----> Settings to check "Enable Games" and you need to go to Permissions to allow your members to play the games. 

Remember to check http://smfarcade.info for information on installing gamedata folders for v32 games. 

:)
Title: Re: SMF Arcade
Post by: ATICE on July 24, 2009, 02:04:39 AM
I will be waiting for this to be released for 1.1.10... :)
Title: Re: SMF Arcade
Post by: gbsothere on July 24, 2009, 07:47:09 AM
Quote from: ATICE on July 24, 2009, 02:04:39 AM
I will be waiting for this to be released for 1.1.10... :)



I have SMF Arcade 2.0.17 on my 1.1.10 forum and it works beautifully, although I did install it when my forum was 1.1.9.  It was unaffected by the upgrade.  (I did my 1.1.0 upgrade manually, though, as I always do in consideration of the mods that I have on the site.)   2.0.18 is still being tested against the recent upgrade to 1.1.10.  2.0.17 is still available HERE (http://download.smfarcade.info/archive) but you may wish to ask on their SMF 1.1.X Support (http://www.smfarcade.info/forum/index.php?board=40.0) board if it's okay to just manually parse the files for 1.1.0 as  you would have for 1.1.9.  Or you may just want to wait it out.  You can never go wrong with that choice.   :)

On SMF's front page, there is an announcement regarding the compatibility of 2.0.18 with the 1.1.0 upgrade that you may want to read, as well.

It's a great mod, your posters will love you for installing it.
Title: Re: SMF Arcade
Post by: ultide on July 30, 2009, 11:38:16 PM
hi there

i want to add latest high score to my custom php page.
so, can anybody tell me which code to insert and where???
Title: Re: SMF Arcade
Post by: gbsothere on July 31, 2009, 08:00:11 AM
Quote from: ultide on July 30, 2009, 11:38:16 PM
hi there

i want to add latest high score to my custom php page.
so, can anybody tell me which code to insert and where???



If no one gets back to you here with that answer, ultide, you might try asking ON THIS LINK. (http://www.smfarcade.info/forum/index.php?board=40.0)

:)

Title: Re: SMF Arcade
Post by: fwitt on July 31, 2009, 01:30:23 PM
Quote from: ultide on July 30, 2009, 11:38:16 PM
hi there

i want to add latest high score to my custom php page.
so, can anybody tell me which code to insert and where???

I've replied to your thread http://www.smfarcade.info/forum/index.php?topic=5608.0
Title: Re: SMF Arcade
Post by: Skhilled on August 02, 2009, 03:12:17 AM
Quote from: ATICE on July 24, 2009, 02:04:39 AM
I will be waiting for this to be released for 1.1.10... :)

http://www.smfarcade.info/forum/index.php?topic=5235.0
Title: Re: SMF Arcade
Post by: Trafalgar on August 04, 2009, 06:12:08 PM
Will this mod be able to support games that ibpro supports? More complex games such as yeti sports.
Title: Re: SMF Arcade
Post by: gbsothere on August 04, 2009, 07:58:54 PM
Quote from: Trafalgar on August 04, 2009, 06:12:08 PM
Will this mod be able to support games that ibpro supports? More complex games such as yeti sports.



Trafalgar, yes, v32 games such as Yeti Sports are fine.  In fact, I read your post and, since I've never played any of the Yeti Sports games, uploaded one just to test it out.  It plays and scores just fine.  You can read more about v32 games (games with gamedata folders) here:

http://www.smfarcade.info/forum/index.php?topic=3261.0 (http://www.smfarcade.info/forum/index.php?topic=3261.0)


or here, depending on your version of SMF and Arcade:

http://www.smfarcade.info/forum/index.php?topic=4579.0 (http://www.smfarcade.info/forum/index.php?topic=4579.0)

If you install the arcade, I recommend registering at http://smfarcade.info (http://smfarcade.info) for quick help and also to learn more about the arcade by reading the forum WIKI. 

:)
Title: Re: SMF Arcade
Post by: Trafalgar on August 05, 2009, 05:46:05 AM
Thank you. I was reluctant to install the arcade thinking it was lacking features but it seems like it works similar with other arcade brands I'm used to such as v3 and ibpro. Thanks, installed the mod.
Title: Re: SMF Arcade
Post by: Harvester on August 08, 2009, 03:16:31 AM
Hello,

Need a little help please :D

I installed 2.0.18 on 1.1.10 tonight.

I also uploaded a bunch of game packs.

The arcade seems to work just fine. All the games i have tested play well also.

I only notice 1 problem...

for some games when you are done and hit submit nothing happens...

but for most games, like Avoider for example, when y ou are done and it goes to submit your score or whatever it is going to do when  the game ends... I get a blank white screen that says "The requested URL was not found on this server. "

I believe it has to do with my e107 bridge because the bridge changes the path and i think the arcade is tryin to go to the default location...

it tries to go to ht tp://ww w.mywebsite.com/e107_plugins/smf/index.php?action=arcade

when I believe it should be going to: ht tp://ww w.mywebsite.com/e107_plugins/smf/smf.php?action=arcade

that is if it is indeed trying to return to the arcade front page?

I c ould use any and all help please :D

thank you
Title: Re: SMF Arcade
Post by: niko on August 08, 2009, 04:40:26 AM
Quote from: Harvester on August 08, 2009, 03:16:31 AM
Hello,

Need a little help please :D

I installed 2.0.18 on 1.1.10 tonight.

I also uploaded a bunch of game packs.

The arcade seems to work just fine. All the games i have tested play well also.

I only notice 1 problem...

for some games when you are done and hit submit nothing happens...

but for most games, like Avoider for example, when y ou are done and it goes to submit your score or whatever it is going to do when  the game ends... I get a blank white screen that says "The requested URL was not found on this server. "

I believe it has to do with my e107 bridge because the bridge changes the path and i think the arcade is tryin to go to the default location...

it tries to go to ht tp://ww w.mywebsite.com/e107_plugins/smf/index.php?action=arcade

when I believe it should be going to: ht tp://ww w.mywebsite.com/e107_plugins/smf/smf.php?action=arcade

that is if it is indeed trying to return to the arcade front page?

I c ould use any and all help please :D

thank you

SMF Arcade games are hard coded to submit to index.php?action=arcade, so you need to rewrite this if that url doesn't work.
Title: Re: SMF Arcade
Post by: Harvester on August 08, 2009, 10:18:38 AM
Quote from: Niko on August 08, 2009, 04:40:26 AM
Quote from: Harvester on August 08, 2009, 03:16:31 AM
Hello,

Need a little help please :D

I installed 2.0.18 on 1.1.10 tonight.

I also uploaded a bunch of game packs.

The arcade seems to work just fine. All the games i have tested play well also.

I only notice 1 problem...

for some games when you are done and hit submit nothing happens...

but for most games, like Avoider for example, when y ou are done and it goes to submit your score or whatever it is going to do when  the game ends... I get a blank white screen that says "The requested URL was not found on this server. "

I believe it has to do with my e107 bridge because the bridge changes the path and i think the arcade is tryin to go to the default location...

it tries to go to ht tp://ww w.mywebsite.com/e107_plugins/smf/index.php?action=arcade

when I believe it should be going to: ht tp://ww w.mywebsite.com/e107_plugins/smf/smf.php?action=arcade

that is if it is indeed trying to return to the arcade front page?

I c ould use any and all help please :D

thank you

SMF Arcade games are hard coded to submit to index.php?action=arcade, so you need to rewrite this if that url doesn't work.

ok... where and what code do I edit? which file? :D
Title: Re: SMF Arcade
Post by: Harvester on August 08, 2009, 02:11:51 PM
seems I have another problem also...

any custom member group i have created.. can not access the arcade regardless of how i set their permissions...

they all see the same thing "No games available for playing"

I have all my custom membergroups set to "view arcade" and "play on arcade" but they can not play or see any games.
Title: Re: SMF Arcade
Post by: niko on August 08, 2009, 02:42:25 PM
Quote from: Harvester on August 08, 2009, 02:11:51 PM
seems I have another problem also...

any custom member group i have created.. can not access the arcade regardless of how i set their permissions...

they all see the same thing "No games available for playing"

I have all my custom membergroups set to "view arcade" and "play on arcade" but they can not play or see any games.

http://wiki.smfarcade.info/SMF_Arcade/FAQ#Some_members.2Fmembergroups_can_play_while_others_cannot.21
Title: Re: SMF Arcade
Post by: Harvester on August 08, 2009, 08:35:38 PM
ok great. ty :D

what about my previous question about the hard coded url? (couple posts up)

I really would like to get this to work but have no idea how to begin to fix this.
Title: Re: SMF Arcade
Post by: Harvester on August 09, 2009, 12:11:08 AM
Quote from: Niko on August 08, 2009, 04:40:26 AM
SMF Arcade games are hard coded to submit to index.php?action=arcade, so you need to rewrite this if that url doesn't work.

Where do I do this at?

Ive been searching every file I can think of and I cannot find where this would be changed...

help please?

Title: Re: SMF Arcade
Post by: niko on August 09, 2009, 02:18:00 AM
It's in each game. I meant rewrite as in using .htaccess or similar technology
Title: Re: SMF Arcade
Post by: Harvester on August 09, 2009, 12:21:25 PM
Quote from: Niko on August 09, 2009, 02:18:00 AM
It's in each game. I meant rewrite as in using .htaccess or similar technology

if I cant use htaccess what other options do i have?
Title: Re: SMF Arcade
Post by: Harvester on August 10, 2009, 08:24:51 PM
Quote from: Niko on August 09, 2009, 02:18:00 AM
It's in each game. I meant rewrite as in using .htaccess or similar technology

can you please tell me what I would put in the .htaccess file?

so instead of going to  ht tp://ww w.mywebsite.com/e107_plugins/smf/index.php?action=arcade

it goes to: ht tp://ww w.mywebsite.com/e107_plugins/smf/smf.php?action=arcade

Im not sure how to even begin to do this. Please help? Thank you.,
Title: Re: SMF Arcade
Post by: TurtleKicker on August 12, 2009, 03:52:22 PM
I've been looking at this mod for a while but haven't installed it. I'm concerned about the legality of many of the games in the offered gamepacks. As far as I can tell, they are filled with blatant copyright violations... I have a hard time imagining Nintendo, Atari, Konami, Sega, etc gave permissions for their ROMs to be played as free Flash games?

I searched through most of this thread and couldn't find this core issue being discussed or resolve, so I'm resorting to asking outright:

How legal can this possibly be?
Title: Re: SMF Arcade
Post by: gbsothere on August 12, 2009, 04:40:08 PM
http://www.smfarcade.info/forum/index.php?topic=596.msg0 (http://www.smfarcade.info/forum/index.php?topic=596.msg0)


First post.
Title: Re: SMF Arcade
Post by: psynx on August 14, 2009, 11:29:48 AM
hello,

i installed this mod manually using the parser.

im using dilber mc theme, smf 1.1.10

after installation, when i tried to open my www.forumsite.com/index.php?action=arcade i got this error

Table 'b4_3811946_55035.smf_arcade_games' doesn't exist
File: /home/vol8/byethost4.com/b4_3811946/mirc-chatters.isgreat.org/htdocs/Sources/Arcade.php
Line: 232

please help me... thank you.
Title: Re: SMF Arcade
Post by: gbsothere on August 14, 2009, 12:26:53 PM
Try this link, found at SMF Arcade's support site:

http://wiki.smfarcade.info/SMF_Arcade/FAQ#SMF_Database_Upgrade_Error (http://wiki.smfarcade.info/SMF_Arcade/FAQ#SMF_Database_Upgrade_Error)

:)


(You should have an upgrade.php file in your SMF 1.1.10 zip's folder.  Put it in your forum's root directory and point your browser to it.  Then you'll want to upload and run installArcade.php again to create the missing table.)


ETA:  If you get a "smiley" error while doing this, this link will be helpful:

http://docs.simplemachines.org/index.php?topic=1079.0 (http://docs.simplemachines.org/index.php?topic=1079.0)
Title: Re: SMF Arcade
Post by: Forbs on August 14, 2009, 12:31:02 PM
Quote from: psynx on August 14, 2009, 11:29:48 AM
hello,

i installed this mod manually using the parser.

im using dilber mc theme, smf 1.1.10

after installation, when i tried to open my www.forumsite.com/index.php?action=arcade i got this error

Table 'b4_3811946_55035.smf_arcade_games' doesn't exist
File: /home/vol8/byethost4.com/b4_3811946/mirc-chatters.isgreat.org/htdocs/Sources/Arcade.php
Line: 232

please help me... thank you.

Why not you install automatically? I think then it should t  be no eror, at least so in my case ...
Title: Re: SMF Arcade
Post by: psynx on August 14, 2009, 01:47:26 PM
i can't install it manually.

im using a free webhosting and there is a limit in installing packages or file size.

so instead i install mods via ftp.
Title: Re: SMF Arcade
Post by: gbsothere on August 14, 2009, 01:55:35 PM
Quote from: gbsothere on August 14, 2009, 12:26:53 PM
Try this link, found at SMF Arcade's support site:

http://wiki.smfarcade.info/SMF_Arcade/FAQ#SMF_Database_Upgrade_Error (http://wiki.smfarcade.info/SMF_Arcade/FAQ#SMF_Database_Upgrade_Error)

:)


(You should have an upgrade.php file in your SMF 1.1.10 zip's folder.  Put it in your forum's root directory and point your browser to it.  Then you'll want to upload and run installArcade.php again to create the missing table.)


ETA:  If you get a "smiley" error while doing this, this link will be helpful:

http://docs.simplemachines.org/index.php?topic=1079.0 (http://docs.simplemachines.org/index.php?topic=1079.0)



*reposting this for psynx in case it was missed*


:)
Title: Re: SMF Arcade
Post by: fwitt on August 14, 2009, 02:17:23 PM
Quote from: psynx on August 14, 2009, 01:47:26 PM
i can't install it manually.

im using a free webhosting and there is a limit in installing packages or file size.

so instead i install mods via ftp.

the normal way to do a manual install is via ftp. firstly upload the arcade files then edit the smf files that the arcade adds code too, both of these can be done via ftp. the next step is to browse to installArcade.php which adds the required database changes (you can do this manually via phpmyadmin as well).

the errors you are getting are related to missing changes in the database. The error you posted states that there is no table for the information about what games you have.
Title: Re: SMF Arcade
Post by: psynx on August 14, 2009, 03:18:11 PM
@ gbsothere

i done that and it says my database has already been updated

@fwitt

what i mean is i can't install the package by going to admin>packages>download package. so some of my mods i installed it manually using ftp and inserting those codes from the mod parser.

i am a bit confuse with these two files

package_install.php and installArcade.php

by following the arcade mod parser it says that i have to move installArcade.php to my root directory and i done that.

there is another instruction there about package_install.php
it says "This file should not be able to execute standalone. You may have to run the following queries manually."

im confuse which file should i browse? that package_install.php or the installArcade.php?

if i point my browser to www.myforum/installArcade.php nothing happens

if i point my browser to www.myforum/package_install.php nothing happens

just a blank page.

should i edit some codes in installArcade.php before browsing installArcade.php? and if yes which code should i modify in there?

about install_package.php that says should not be able to execute standalone. do i have to run the querries manually to my phpmyadmin? and if yes how do i run it?

huh...sorry im so noob!
Title: Re: SMF Arcade
Post by: gbsothere on August 14, 2009, 03:29:45 PM
@psynx

A blank page isn't uncommon when pointing your browser to an upgrade or installation file.  Are you able to access your database via your control panel to see if the table "smf_arcade_games" is now visible?


Title: Re: SMF Arcade
Post by: psynx on August 14, 2009, 03:37:10 PM
table smf_arcade_games is not there.
Title: Re: SMF Arcade
Post by: gbsothere on August 14, 2009, 03:46:52 PM
Quote from: psynx on August 14, 2009, 03:37:10 PM
table smf_arcade_games is not there.


fwitt, who just posted, is an admin over at the SMF Arcade support site and you'll be able to get a lot of great help there, as well as learn more about the arcade.

http://smfarcade.info (http://smfarcade.info)

The only thing I would ask is if you're sure you manually moved all the Sources and Themes files included in SMF Arcade's zip folders to the proper directories on your site. (But this is clearly a database issue.)  Barring that, and assuming your edits are correct (taking your custom theme into account) then posting your question on the support board for SMF 1.1.X on their site would be greatly beneficial to you.

I'm sorry I was no help, psynx.   :(
Title: Re: SMF Arcade
Post by: psynx on August 14, 2009, 03:53:24 PM
itz ok. no probs.

i did try installing this mod to my other forum via admin>package>download

it installs successfully.

how about if i copy the tables or smf_arcades... from my forumA?

would that fix my probs?  i own two forums. the other one is from free hosting which is where i want this mods to be installed.

Title: Re: SMF Arcade
Post by: psynx on August 14, 2009, 04:01:10 PM
OMG! it works!!!!

haha!
Title: Re: SMF Arcade
Post by: gbsothere on August 14, 2009, 04:03:00 PM
Quote from: psynx on August 14, 2009, 04:01:10 PM
OMG! it works!!!!

haha!


That's what I had to do with the Ultimate Profile mod.   :D   I'd forgotten that little trick.


Title: Re: SMF Arcade
Post by: psynx on August 14, 2009, 04:09:13 PM
i highly appreciate all the efforts you guys are doing in helping me.

thank you gbsothere.
Title: Re: SMF Arcade
Post by: gbsothere on August 14, 2009, 04:15:26 PM
Quote from: psynx on August 14, 2009, 04:09:13 PM
i highly appreciate all the efforts you guys are doing in helping me.

thank you gbsothere.



You're welcome!   :)

If you've not installed any games yet, a good place to begin is by downloading a gamepack from http://smfarcade.info (http://smfarcade.info).

Here's a thread that might help. 

http://www.smfarcade.info/forum/index.php?topic=5610.msg35869#new (http://www.smfarcade.info/forum/index.php?topic=5610.msg35869#new)
Title: Re: SMF Arcade
Post by: BarfBag on August 15, 2009, 10:30:43 AM
Hey guys, I was wondering if this modification had a multiplayer feature?
Title: Re: SMF Arcade
Post by: Keith99 on August 16, 2009, 04:47:20 AM
Does this work with SMF 2 RC1.2 ?
Title: Re: SMF Arcade
Post by: gbsothere on August 16, 2009, 07:46:24 AM
Quote from: BarfBag on August 15, 2009, 10:30:43 AM
Hey guys, I was wondering if this modification had a multiplayer feature?

If you register at http://smfarcade.info (http://smfarcade.info) and then do a search for "multiplayer" in their forum, there are several discussion threads about it.  It seems that some have success with it; others have issues.  It might make a lot more sense to you than it does to me.   :D
Title: Re: SMF Arcade
Post by: gbsothere on August 16, 2009, 07:47:12 AM
Quote from: Keith99 on August 16, 2009, 04:47:20 AM
Does this work with SMF 2 RC1.2 ?


Try this link:

http://www.smfarcade.info/forum/index.php?topic=5235.msg33010#msg33010 (http://www.smfarcade.info/forum/index.php?topic=5235.msg33010#msg33010)
Title: Re: SMF Arcade
Post by: TwitchisMental on August 22, 2009, 06:10:33 PM
Okay I downloaded the latest beta of the arcade and have ran into a small,but annoying bug.

It seems all games display as about 200x200.

This makes some games like frogger hard to play.

Anyway to fix this?
Title: Re: SMF Arcade
Post by: fwitt on August 23, 2009, 07:01:22 AM
Quote from: NBK*Twitch on August 22, 2009, 06:10:33 PM
Okay I downloaded the latest beta of the arcade and have ran into a small,but annoying bug.

It seems all games display as about 200x200.

This makes some games like frogger hard to play.

Anyway to fix this?

what are the height and width values in the game settings (pick a game that is displaying this behavior and navigate to its settings, then change those two variables to more reasonable values)
Title: Re: SMF Arcade
Post by: Nameless? on August 27, 2009, 01:07:24 PM
hi, im using smf 1.1.9 and tries to install Arcade Version 2.0.18,

i get this error:

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 ./Sources/ManagePermissions.php Test successful
3. Execute Modification ./Sources/Subs.php Test successful
4. Execute Modification ./Sources/Who.php Test successful
5. Execute Modification ./Themes/default/index.template.php Test failed
6. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
7. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
8. Extract File ./Sources/Arcade.php 
9. Extract File ./Sources/ArcadeInstall.php 
10. Extract File ./Sources/ArcadeList.php 
11. Extract File ./Sources/ArcadePlay.php 
12. Extract File ./Sources/ArcadeStats.php 
13. Extract File ./Sources/ArcadeSettings.php 
14. Extract File ./Sources/Subs-Arcade.php 
15. Extract File ./Sources/ManageGames.php 
16. Extract File ./Themes/default/arcade.js 
17. Extract File ./Themes/default/swfobject.js 
18. Extract File ./Themes/default/Arcade.template.php 
19. Extract File ./Themes/default/ArcadeMenu.template.php 
20. Extract File ./Themes/default/ArcadeAdmin.template.php 
21. Extract File ./Themes/default/ManageGames.template.php 
22. Extract File ./Themes/default/languages/Arcade.english.php 
23. Extract File ./Themes/default/languages/ArcadeAdmin.english.php 
24. Extract File ./Themes/default/languages/Arcade.english-utf8.php 
25. Extract File ./Themes/default/languages/ArcadeAdmin.english-utf8.php 
26. Extract File ./Themes/default/images/favorite.gif 
27. Extract File ./Themes/default/images/favorite2.gif 
28. Extract File ./Themes/default/images/star2.gif 
29. Extract File ./Themes/default/images/gold.gif 
30. Extract File ./ArcadeLicense.txt 
31. Extract File ./installArcade.php 
32. Extract File ./newscore.php 
33. Extract Tree ./getid3 
34. Create Tree ./Games 
35. Execute Code package_install.php 

Title: Re: SMF Arcade
Post by: gbsothere on August 27, 2009, 01:11:53 PM
Are you using a custom theme?  If so, you'll need to make edits to that theme's template.  If you're using default, attach your index.template.php file here and would you list the other mods you have installed on your site?


ETA:  Or, assuming you use default, you can retrieve your index.template.php file via ftp from your server (yourforumdirectory/Themes/default) and save it to your desktop (since it already has the edits on it for any mod that might have used it).  Upload a clean index.template.php from your 1.1.9 zip (if you still have it or you can get it here) to your sever and proceed to install the Arcade.  Then manually edit the index.template.php file you saved onto your desktop with the parsing instructions found on the mod page for index.template.php:

http://mods.simplemachines.org/index.php?mod=36 (http://mods.simplemachines.org/index.php?mod=36)

and upload it to your server, in order to keep your other mods intact.



Remember, after you install the Arcade, you must enable it via Admin----> Arcade and also set permissions for your members.  You must also upload and install games.  I advise you to register at http://smfarcade.info for gamepacks to download and more in-depth advice and information.   :)






Title: Re: SMF Arcade
Post by: Nameless? on August 27, 2009, 01:39:22 PM
im using Overview theme
Title: Re: SMF Arcade
Post by: gbsothere on August 27, 2009, 01:46:01 PM
Quote from: Nameless? on August 27, 2009, 01:39:22 PM
im using Overview theme



I'm not familiar with it.  I'd go ahead and use a fresh default index.template.php from the 1.1.9 zip to install the mod and then make the manual edits to Overview's theme template. 

ETA:  I just checked and Overview does have an index.template.php.  Go ahead and install with a clean index.template.php from the 1.1.9 zip (Themes/default) and then go to the mod link:

http://mods.simplemachines.org/index.php?mod=36

and use the pulldown to find the parsing instructions for 1.1.9 index.template.php.  Make those edits to Overview's index.template.php and then upload it to Themes/Overview.

Title: Re: SMF Arcade
Post by: TwitchisMental on August 27, 2009, 01:48:39 PM
Quote from: fwitt on August 23, 2009, 07:01:22 AM
Quote from: NBK*Twitch on August 22, 2009, 06:10:33 PM
Okay I downloaded the latest beta of the arcade and have ran into a small,but annoying bug.

It seems all games display as about 200x200.

This makes some games like frogger hard to play.

Anyway to fix this?

what are the height and width values in the game settings (pick a game that is displaying this behavior and navigate to its settings, then change those two variables to more reasonable values)

I have quite alot of games... manually doing this would take forever..
Title: Re: SMF Arcade
Post by: gbsothere on August 27, 2009, 01:54:00 PM
NBK*Twitch, with RC1.2, when you click on a game in the arcade and it loads, you will see an "Edit Game" tab on the top right of the game.  Click that and then you'll see "Advanced Settings" on the bottom right. There, you can set the dimensions of the game and click "Save".

I'm not sure why all your games are 200 X 200, though.  *scratching head*  That's not happening on my test site.   ::)



ETA:   Well..... I'm assuming you have RC1.2.  I shouldn't make that assumption.   :)
Title: Re: SMF Arcade
Post by: Nameless? on August 27, 2009, 04:32:31 PM
Allright, Thanks for the support gbsothere :D, but does this mod include the games? or do i need to install them myself?
Title: Re: SMF Arcade
Post by: gbsothere on August 27, 2009, 04:50:24 PM
Quote from: Nameless? on August 27, 2009, 04:32:31 PM
Allright, Thanks for the support gbsothere :D, but does this mod include the games? or do i need to install them myself?


Hi, again, Nameless.   :)

No, you must install the games, but finding and installing the games turns into a pretty fun hobby.

To get you started, register at http://smfarcade.info and then go to the Games link at the very top left side of the page.  There are gamepacks there that you can download and try out.  Just download one to your computer.  Then go to Admin----> Arcade-----> Games and click the Install tab.   There you can browse to the gamepack zip on your computer and click Upload.  Then just put a check by the gamepack and click Install. 

Let me know if you have any problems or questions. 

:)
Title: Re: SMF Arcade
Post by: AM Woody3 on August 30, 2009, 03:51:11 PM
I'm having a problem.  I added the arcade mod.  It works great for regular users and admins.  It does not work for board moderators or any other type of user.  When they go to the arcade, it says there are no games.  Any ideas?  Thanks!
Title: Re: SMF Arcade
Post by: TwitchisMental on August 30, 2009, 04:08:00 PM
Quote from: gbsothere on August 27, 2009, 01:54:00 PM
NBK*Twitch, with RC1.2, when you click on a game in the arcade and it loads, you will see an "Edit Game" tab on the top right of the game.  Click that and then you'll see "Advanced Settings" on the bottom right. There, you can set the dimensions of the game and click "Save".

I'm not sure why all your games are 200 X 200, though.  *scratching head*  That's not happening on my test site.   ::)



ETA:   Well..... I'm assuming you have RC1.2.  I shouldn't make that assumption.   :)

Humm I do not see that option.
Title: Re: SMF Arcade
Post by: gbsothere on August 30, 2009, 04:40:57 PM
Quote from: AM Woody3 on August 30, 2009, 03:51:11 PM
I'm having a problem.  I added the arcade mod.  It works great for regular users and admins.  It does not work for board moderators or any other type of user.  When they go to the arcade, it says there are no games.  Any ideas?  Thanks!



AM, have you gone into each membergroup's permissions to check the Arcade settings?  What version SMF and SMF Arcade?
Title: Re: SMF Arcade
Post by: gbsothere on August 30, 2009, 04:47:15 PM
Quote from: NBK*Twitch on August 30, 2009, 04:08:00 PM

Humm I do not see that option.



You can do it two different ways:

In the Arcade, you can click on a game and, when it loads, look over on the right where you see "Edit Game".

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwhereitestmystuff.com%2Fimages%2Fedit1.jpg&hash=4c9e6fe6c5f8b35775d902b7e693ad0e10249e35)

Click that and when the game's data page opens, look at the bottom of it for this:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwhereitestmystuff.com%2Fimages%2Fedit2.jpg&hash=099688b10989e0be490809f1dc440fc445eec717)

Click "Advanced Settings" and that is where you can change the dimensions and click Save.



You can also do this by going to Admin----->Arcade------>Games----->Edit Games.  Just click on a game's title and look down at the bottom of its data page for Advanced Settings (like the pic above) and click that.


Title: Re: SMF Arcade
Post by: TwitchisMental on August 30, 2009, 05:09:48 PM
Quote from: gbsothere on August 30, 2009, 04:47:15 PM
Quote from: NBK*Twitch on August 30, 2009, 04:08:00 PM

Humm I do not see that option.



You can do it two different ways:

In the Arcade, you can click on a game and, when it loads, look over on the right where you see "Edit Game".

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwhereitestmystuff.com%2Fimages%2Fedit1.jpg&hash=4c9e6fe6c5f8b35775d902b7e693ad0e10249e35)

Click that and when the game's data page opens, look at the bottom of it for this:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwhereitestmystuff.com%2Fimages%2Fedit2.jpg&hash=099688b10989e0be490809f1dc440fc445eec717)

Click "Advanced Settings" and that is where you can change the dimensions and click Save.



You can also do this by going to Admin----->Arcade------>Games----->Edit Games.  Just click on a game's title and look down at the bottom of its data page for Advanced Settings (like the pic above) and click that.

I see everything,but the edit games option.
Title: Re: SMF Arcade
Post by: AM Woody3 on August 30, 2009, 07:15:11 PM
Quote from: gbsothere on August 30, 2009, 04:40:57 PM
Quote from: AM Woody3 on August 30, 2009, 03:51:11 PM
I'm having a problem.  I added the arcade mod.  It works great for regular users and admins.  It does not work for board moderators or any other type of user.  When they go to the arcade, it says there are no games.  Any ideas?  Thanks!



AM, have you gone into each membergroup's permissions to check the Arcade settings?  What version SMF and SMF Arcade?

Yes, I've been through all that.  They all have the correct permissions.  I'm running SMF 1.1.10 and the arcade version is 2.0.18
Title: Re: SMF Arcade
Post by: gbsothere on August 30, 2009, 08:11:31 PM
Quote from: AM Woody3 on August 30, 2009, 07:15:11 PM
Yes, I've been through all that.  They all have the correct permissions.  I'm running SMF 1.1.10 and the arcade version is 2.0.18



Did you manually install Arcade or did you use the package manager?  If you used the package manager, did you get any failed tests?

ETA:

Here's a thread from SMF Arcade's support forum that may help.  Pay close attention to the first two posts (but do read the entire short thread for further information that's important.). If you installed 2.0.18 before this update was done, then you'll want this information:

http://www.smfarcade.info/forum/index.php?topic=5235.msg32747#msg32747 (http://www.smfarcade.info/forum/index.php?topic=5235.msg32747#msg32747)
Title: Re: SMF Arcade
Post by: Nameless? on August 31, 2009, 07:41:40 AM
I Have got an Error while trying to Install Gamepacks:
the error is like this: Following Error Encountered: Cannot Upload Gamepack, Check your Permissions, but im Administrator, how do this get to fix?
i use SMF version: 1.1.9
Simpleportal 2.2.2
Arcade Version: 2.0.18
Theme: Overview

Please Help..
Title: Re: SMF Arcade
Post by: gbsothere on August 31, 2009, 07:54:08 AM
Quote from: NBK*Twitch on August 30, 2009, 05:09:48 PM
I see everything,but the edit games option.


NBK, here is someone else who had your issue and was able to resolve it.  This thread is from SMF Arcade's support forum:

http://www.smfarcade.info/forum/index.php?topic=4987.msg30998#msg30998 (http://www.smfarcade.info/forum/index.php?topic=4987.msg30998#msg30998)

Title: Re: SMF Arcade
Post by: gbsothere on August 31, 2009, 07:58:38 AM
Quote from: Nameless? on August 31, 2009, 07:41:40 AM
I Have got an Error while trying to Install Gamepacks:
the error is like this: Following Error Encountered: Cannot Upload Gamepack, Check your Permissions, but im Administrator, how do this get to fix?
i use SMF version: 1.1.9
Simpleportal 2.2.2
Arcade Version: 2.0.18
Theme: Overview

Please Help..

If you have ftp access (or you can do this through your CP) make sure that the Games directory you installed in your forum's root has its permissions set to 777 (or 755, if your server doesn't allow 777).  Then give it another try.

:)
Title: Re: SMF Arcade
Post by: Nameless? on August 31, 2009, 08:11:00 AM
ok i thought this was the problem, thanks  ;)
Title: Re: SMF Arcade
Post by: Nameless? on August 31, 2009, 08:40:37 AM
it didnt work to Chmod to 777, :-( shows me same error
Title: Re: SMF Arcade
Post by: gbsothere on August 31, 2009, 09:04:53 AM
This is happening, not when you upload the zip, but when you try to install? 

Well, Nameless....   You shouldn't have to do this, but, for the moment, try unzipping the gamepack zip file on your computer and then manually move the gamepack folder inside it directly into the Games directory in your forum's root and try installing again.  Let's see what happens.


Title: Re: SMF Arcade
Post by: Nameless? on August 31, 2009, 09:10:24 AM
i uploaded and installed gamepack1 with no problems/errors :-/
Title: Re: SMF Arcade
Post by: gbsothere on August 31, 2009, 11:26:56 AM
Quote from: Nameless? on August 31, 2009, 09:10:24 AM
i uploaded and installed gamepack1 with no problems/errors :-/

But you had to manually unzip it and place the folder in your Games directory?

Go to Admin------> Arcade-------> Settings and look at the path to your games directory.  Does it look correct?  If there is a forward slash after Games, then remove it.  (That's important.)  If you are unsure of the correct path, download this repair_settings.php file (link below), place it in your forum's root and point your browser to it.  Click the recommended settings, Save and then remove it from your forum's root and return to your site.  Try uploading and then installing another gamepack.zip through the Arcade control panel and let's see how that works. 


Download repair_settings.php Here (http://docs.simplemachines.org/index.php?topic=663)
Title: Re: SMF Arcade
Post by: AM Woody3 on August 31, 2009, 11:40:26 AM
Quote from: gbsothere on August 30, 2009, 08:11:31 PM
Quote from: AM Woody3 on August 30, 2009, 07:15:11 PM
Yes, I've been through all that.  They all have the correct permissions.  I'm running SMF 1.1.10 and the arcade version is 2.0.18



Did you manually install Arcade or did you use the package manager?  If you used the package manager, did you get any failed tests?

ETA:

Here's a thread from SMF Arcade's support forum that may help.  Pay close attention to the first two posts (but do read the entire short thread for further information that's important.). If you installed 2.0.18 before this update was done, then you'll want this information:

http://www.smfarcade.info/forum/index.php?topic=5235.msg32747#msg32747 (http://www.smfarcade.info/forum/index.php?topic=5235.msg32747#msg32747)

I did get a failed test on index.template.  I loaded this new file and still have the same problem.  I also got the failed test on index.template again.
Title: Re: SMF Arcade
Post by: gbsothere on August 31, 2009, 11:42:29 AM
Quote from: AM Woody3 on August 31, 2009, 11:40:26 AM

I did get a failed test on index.template.  I loaded this new file and still have the same problem.  I also got the failed test on index.template again.


You did the update found at http://smfarcade.info?  You have to uninstall 2.0.18 before installing 2.0.19.

Are you using a custom theme?

ETA: 

Also, if you go to Admin-----> Arcade------>Settings and look at Permission Mode, what is that set to?

Title: Re: SMF Arcade
Post by: Nameless? on August 31, 2009, 02:22:28 PM
An Error Has Occurred!
Could not upload package, please check directory permissions! 

i tested all
Title: Re: SMF Arcade
Post by: gbsothere on August 31, 2009, 02:30:36 PM
Quote from: Nameless? on August 31, 2009, 02:22:28 PM
An Error Has Occurred!
Could not upload package, please check directory permissions! 

i tested all


This is after you ran repair_settings.php?  Did you find, when you ran it, that any of the paths needed to be corrected?  Also, did you go to Arcade---->Settings and check to see that, in the path to the games directory, that Games is spelled with a capital "G" and does not have a slash following it?



ETA:  The other thing I would check, Nameless, if you feel all your permissions and paths are correct is to find out if your server places a limit on the size of file you can upload.  Some gamepacks, in the past, have been larger than the limits that some servers place.  Gamepack15 is a small one; only 800+KB.  You might try this one to see if you're still unable to upload it.





ETA:  Also....  just covering every base.... make sure that you are not trying to upload gamespacks with the package manager.  That won't work.  You must go to Admin----> Arcade------> Games then click on the Install tab.  Then scroll down to the bottom and there you will see where to browse to your zip and upload.  (Just making sure, Nameless.) 

:)
Title: Re: SMF Arcade
Post by: Nameless? on August 31, 2009, 02:46:53 PM
hmm this was wierd :/ i installed gamepack15 worked fine no errors
Title: Re: SMF Arcade
Post by: gbsothere on August 31, 2009, 02:51:03 PM
Quote from: Nameless? on August 31, 2009, 02:46:53 PM
hmm this was wierd :/ i installed gamepack15 worked fine no errors

Ah.  So you can ignore all that extra advice I just tacked onto my other post.   :D

Nameless, I would give my server a call and find out what the limit is and see if they will increase it.  If they don't, then just always check the size for gamepacks and if they're going to exceed your servers limit, then unzip them and drag the folder inside them into your Games directory (as you did earlier) and then install.

Also, visit http://smfarcade.info (http://smfarcade.info) (or browse this thread) to learn how to create gamedata folders when you begin adding v32 games to your arcade.

Title: Re: SMF Arcade
Post by: TwitchisMental on August 31, 2009, 03:23:22 PM
Quote from: gbsothere on August 31, 2009, 07:54:08 AM
Quote from: NBK*Twitch on August 30, 2009, 05:09:48 PM
I see everything,but the edit games option.


NBK, here is someone else who had your issue and was able to resolve it.  This thread is from SMF Arcade's support forum:

http://www.smfarcade.info/forum/index.php?topic=4987.msg30998#msg30998 (http://www.smfarcade.info/forum/index.php?topic=4987.msg30998#msg30998)
Nope this did not fix it either =[.

I will reinstall it and see if that helps any.
Title: Re: SMF Arcade
Post by: AM Woody3 on September 01, 2009, 08:19:06 AM
Quote from: gbsothere on August 31, 2009, 11:42:29 AM
Quote from: AM Woody3 on August 31, 2009, 11:40:26 AM

I did get a failed test on index.template.  I loaded this new file and still have the same problem.  I also got the failed test on index.template again.


You did the update found at http://smfarcade.info?  You have to uninstall 2.0.18 before installing 2.0.19.

Are you using a custom theme?

ETA: 

Also, if you go to Admin-----> Arcade------>Settings and look at Permission Mode, what is that set to?

I did do the update from there, I did uninstall the first one before I did that.  I am using a custom theme.  I went to the permission mode and it's set to Category and game
Title: Re: SMF Arcade
Post by: gbsothere on September 01, 2009, 08:28:46 AM
Quote from: AM Woody3 on September 01, 2009, 08:19:06 AM
I did do the update from there, I did uninstall the first one before I did that.  I am using a custom theme.  I went to the permission mode and it's set to Category and game


I had to scroll back a bit to remember your situation.  As far as your failed test, since you use a custom theme, Arcade should have been installed with default's index.template.php and then the edits made to your theme's index.template.php and that file uploaded to your theme's directory.  Your issue isn't that the arcade isn't functioning properly; it's permissions, but I would still edit default's index.template.php according to the Arcade parsing and place that file in its directory.

If you go to Admin-----> Arcade------> Settings and set the Permission Mode to "None" then it will pick up the permissions that you have set for your forum. 

Note this:  If you were to go to Admin-----> Arcade-----> Categories and look at the categories there, you will see that by clicking the + sign next to each category, each one has its own permissions.  Try setting your permission mode to "None" to pick up your forum's member group permissions (assuming you have all member groups permissions set to view and play the arcade).  Otherwise, if you want to leave the permission mode set to "Category and Game", you are going to have to edit each Category's permissions and each Game's permissions.

Try "None", save and see what happens (again, assuming you've set every membergroup's permissions via "Admin----> Permissions).
Title: Re: SMF Arcade
Post by: AM Woody3 on September 01, 2009, 08:59:09 AM
Quote from: gbsothere on September 01, 2009, 08:28:46 AM
Quote from: AM Woody3 on September 01, 2009, 08:19:06 AM
I did do the update from there, I did uninstall the first one before I did that.  I am using a custom theme.  I went to the permission mode and it's set to Category and game


I had to scroll back a bit to remember your situation.  As far as your failed test, since you use a custom theme, Arcade should have been installed with default's index.template.php and then the edits made to your theme's index.template.php and that file uploaded to your theme's directory.  Your issue isn't that the arcade isn't functioning properly; it's permissions, but I would still edit default's index.template.php according to the Arcade parsing and place that file in its directory.

If you go to Admin-----> Arcade------> Settings and set the Permission Mode to "None" then it will pick up the permissions that you have set for your forum. 

Note this:  If you were to go to Admin-----> Arcade-----> Categories and look at the categories there, you will see that by clicking the + sign next to each category, each one has its own permissions.  Try setting your permission mode to "None" to pick up your forum's member group permissions (assuming you have all member groups permissions set to view and play the arcade).  Otherwise, if you want to leave the permission mode set to "Category and Game", you are going to have to edit each Category's permissions and each Game's permissions.

Try "None", save and see what happens (again, assuming you've set every membergroup's permissions via "Admin----> Permissions).

Awesome!  That worked.  Thanks!
Title: Re: SMF Arcade
Post by: gbsothere on September 01, 2009, 09:06:58 AM
Quote from: AM Woody3 on September 01, 2009, 08:59:09 AM

Awesome!  That worked.  Thanks!



(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwhereitestmystuff.com%2Fimages%2Fthumb.gif&hash=fbe057efff6d88bc8293617d752cf12a98abaa09)


Title: Re: SMF Arcade
Post by: Nameless? on September 01, 2009, 12:38:22 PM
can i split up then upload? that does work???
Title: Re: SMF Arcade
Post by: gbsothere on September 01, 2009, 12:50:44 PM
Quote from: Nameless? on September 01, 2009, 12:38:22 PM
can i split up then upload? that does work???



Actually, you can, Nameless, if you want to do a bit of a workaround.  If I remember without scrolling back you have 1.1.10?

If you want only one game out of a gamepack, then unzip the gamepack on your computer.  You will see a folder for the gamepack and, inside that, individual game files.  For instance:  Let's say you unzipped gamepack 10 and you found, inside the gamepack folder the files for Pool:  pool_CH.gif and pool_CH.swf.  You can create a new folder on your desktop and name it:  pool_CH.  Then just drag those two files into the pool_CH folder.  Next, drag the pool_CH folder into the Games directory (located in your forum's root folder).  Then go to Admin----->Arcade------>Games and click Install.  Check the box next to pool_CH and install it.

All that, assuming I understood your question.    :)



ETA:  You may be able to just drag files for only the games you want into a zip application, zip them and rename the zip file, then install via Arcade's "upload and install" but I've not tested that, yet.  I'll do that now, while I'm mucking around.

ETA:  That works, as well, at least with simple zipped gamepacks that contain only .gif and .swf files.

Actually, the first way is better.  Theoretically, you can create a new zip and upload, but the data doesn't actually get installed (.gifs and .swfs).  At least, not on my 1.1.10 test site.  I was able to force it, but it involves mucking around with permissions, etc.  I'd just go the folder route, Nameless. 
Title: Re: SMF Arcade
Post by: Shadow1243 on September 02, 2009, 12:37:07 PM
One question;

What must be chmod permissions of Games directory and games' permissions?
Title: Re: SMF Arcade
Post by: gbsothere on September 02, 2009, 12:55:41 PM
Quote from: Shadow1243 on September 02, 2009, 12:37:07 PM
One question;

What must be chmod permissions of Games directory and games' permissions?


If your server allows it, the Games directory should be set to 777.  (755, if that's all they allow.)  You shouldn't have to set the permissions for individual games if you're uploading via Admin----> Arcade but you can.

:)

If you feel your permissions are correct but you're still getting errors, remember that an incorrect path can cause permission errors.

Title: Re: SMF Arcade
Post by: Shadow1243 on September 02, 2009, 05:59:59 PM
i can change all permissions, but does chmod777 permissions  make a hacking attempt for hackers?



Title: Re: SMF Arcade
Post by: gbsothere on September 02, 2009, 06:17:49 PM
Quote from: Shadow1243 on September 02, 2009, 05:59:59 PM
i can change all permissions, but does chmod777 permissions  make a hacking attempt for hackers?


It's always a possibility, Shadow.  After you do the procedure you're working on, I would just change it back until you need open permissions, again. 

Title: Re: SMF Arcade
Post by: Shadow1243 on September 02, 2009, 01:27:26 PM
Thanks for replies gbsothere, i will think again. :)
Title: Re: SMF Arcade
Post by: gbsothere on September 02, 2009, 06:32:31 PM
I heartily recommend the Arcade's home site for learning about arcade functions and picking up some neat tips and hacks, Shadow. 

http://smfarcade.info (http://smfarcade.info)

:)
Title: Re: SMF Arcade
Post by: TurtleKicker on September 04, 2009, 12:55:14 PM
200 pages and no way to search. Sorry if this is a FAQ. :(

2 questions:

1) I just installed 2.0.18 onto SMF 1.1.10. Works fine, but I notice when I first go to Arcade, I notice a blank tab next to STATISTICS (see attached). Is something supposed to be there? Is anything else supposed to appear on this toolbar?

2) As I sort games into categories, is there some way to have a category view come up first when you go into the Arcade?
Title: Re: SMF Arcade
Post by: shortchange on September 04, 2009, 01:08:37 PM
Quote from: sremick on September 04, 2009, 12:55:14 PM
200 pages and no way to search. Sorry if this is a FAQ. :(

The search box is in the upper right. There is an option to search "This topic" only
Title: Re: SMF Arcade
Post by: gbsothere on September 04, 2009, 02:51:50 PM
Quote from: sremick on September 04, 2009, 12:55:14 PM
200 pages and no way to search. Sorry if this is a FAQ. :(

2 questions:

1) I just installed 2.0.18 onto SMF 1.1.10. Works fine, but I notice when I first go to Arcade, I notice a blank tab next to STATISTICS (see attached). Is something supposed to be there? Is anything else supposed to appear on this toolbar?

2) As I sort games into categories, is there some way to have a category view come up first when you go into the Arcade?



I see you're getting some help from the Arcade site. That's probably best, in this case.

   :)
Title: Re: SMF Arcade
Post by: Nameless? on September 06, 2009, 08:45:47 AM
gbsot would u help me with a thing? would be great  8)
Title: Re: SMF Arcade
Post by: gbsothere on September 06, 2009, 08:56:22 AM
Quote from: Nameless? on September 06, 2009, 08:45:47 AM
gbsot would u help me with a thing? would be great  8)


I'm an old man without enough coffee, but I can try.   :D
Title: Re: SMF Arcade
Post by: Nameless? on September 06, 2009, 09:12:06 AM
ok i have installed another smf 1.1.9 + Mystic jade theme


i just cant understand whats wrong with this arcade i can still not upload the gamepacks
only gamepack1

and i read on the Webhost that they provide me only 5 Mb File size of upload :/

how can i install the other games?

one last question:

My buddys were gonna play some arcade games then they said they didnt see any games. i saw them very well. dont understand this  :-\
Title: Re: SMF Arcade
Post by: gbsothere on September 06, 2009, 09:17:52 AM
Quote from: Nameless? on September 06, 2009, 09:12:06 AM
ok i have installed another smf 1.1.9 + Mystic jade theme
heres the website www.hbz-gaming.com

i just cant understand whats wrong with this arcade i can still not upload the gamepacks
only gamepack1

and i read on the Webhost that they provide me only 5 Mb File size of upload :/

how can i install the other games?

one last question:

My buddys were gonna play some arcade games then they said they didnt see any games. i saw them very well. dont understand this  :-\



Well, let's start at the bottom and work our way up.  I just clicked on your site and, as a guest, I can see the games just fine.  They even load for me.  What membergroup do your buddies belong in? 

Title: Re: SMF Arcade
Post by: Nameless? on September 06, 2009, 09:20:16 AM
I Have Marked all the Stuff i dont see in my FTP File Manager with Red:
This is for my theme Mystic Jade

Move the included file "Sources/Arcade.php" to "./Sources".
Move the included file "Sources/ArcadeInstall.php" to "./Sources".
Move the included file "Sources/ArcadeList.php" to "./Sources".
Move the included file "Sources/ArcadePlay.php" to "./Sources".
Move the included file "Sources/ArcadeStats.php" to "./Sources".
Move the included file "Sources/ArcadeSettings.php" to "./Sources".
Move the included file "Sources/Subs-Arcade.php" to "./Sources".
Move the included file "Sources/ManageGames.php" to "./Sources".
Move the included file "Themes/default/arcade.js" to "./Themes/default".
Move the included file "Themes/default/swfobject.js" to "./Themes/default".
Move the included file "Themes/default/Arcade.template.php" to "./Themes/default".
Move the included file "Themes/default/ArcadeMenu.template.php" to "./Themes/default".
Move the included file "Themes/default/ArcadeAdmin.template.php" to "./Themes/default".
Move the included file "Themes/default/ManageGames.template.php" to "./Themes/default".
Move the included file "Themes/default/languages/Arcade.english.php" to "./Themes/default/languages".
Move the included file "Themes/default/languages/ArcadeAdmin.english.php" to "./Themes/default/languages".
Move the included file "Themes/default/languages/Arcade.english-utf8.php" to "./Themes/default/languages".
Move the included file "Themes/default/languages/ArcadeAdmin.english-utf8.php" to "./Themes/default/languages".
Move the included file "Themes/default/images/favorite.gif" to "./Themes/default/images".
Move the included file "Themes/default/images/favorite2.gif" to "./Themes/default/images".
Move the included file "Themes/default/images/star2.gif" to "./Themes/default/images".
Move the included file "Themes/default/images/gold.gif" to "./Themes/default/images".
Move the included file "ArcadeLicense.txt" to "the root directory".
Move the included file "installArcade.php" to "the root directory".
Move the included file "newscore.php" to "the root directory".
Move the included directory "getid3" to "the root directory".
Create a directory "Games" in "the root directory".
Title: Re: SMF Arcade
Post by: Nameless? on September 06, 2009, 09:21:38 AM
hmm it can be disabled for them when i removed permission for Guests to play Arcade, they are in Newbie Group ( Regular Members )
Title: Re: SMF Arcade
Post by: gbsothere on September 06, 2009, 09:29:30 AM
Okay, so that we don't deal with several issues all at once, Nameless, let's first deal with those ftp files you don't see.

Those files will have to be moved from the SMF Arcade zip into your custom theme's directory. 

Your arcade seems to be working fine, though, so it appears that the files are in place, but do this.  Open the SMF Arcade zip and then, in the folder Themes, you'll find all those files in "default".  Drag them into your Mystic Jade folder.  Be sure to also open the images folder and the language folder in the arcade's Themes/default folder as well and drag those files to Mystic Jade's images and language folders.   You won't need to move installArcade.php to the root directory.


Let me know when you've done that.    :)
Title: Re: SMF Arcade
Post by: Nameless? on September 06, 2009, 09:35:17 AM
i dont need to switch theme now while i do this operation?
Title: Re: SMF Arcade
Post by: gbsothere on September 06, 2009, 09:36:58 AM
Quote from: Nameless? on September 06, 2009, 09:35:17 AM
i dont need to switch theme now while i do this operation?

You're using Mystic Jade, now, right?  No, all you're doing is uploading the files that come with SMF Arcade.  You have to have them.  Does the arcade work fine in "default" theme?



ETA:  If you want your arcade to work in both "default" and Mystic Jade themes, those files have to be uploaded to both of those themes' directories. It looks as if they already are uploaded to Mystic Jade.


Title: Re: SMF Arcade
Post by: Nameless? on September 06, 2009, 09:46:03 AM
Im Done. now to fix the games right?
Title: Re: SMF Arcade
Post by: gbsothere on September 06, 2009, 09:48:19 AM
Quote from: Nameless? on September 06, 2009, 09:46:03 AM
Im Done. now to fix the games right?


Yes.   :)


Let me ask you, though, before we upload anymore gamepacks....  I can see your games and click on them as a guest.  Did you not want that to happen?   Tell me exactly what membergroups you want to be able to see and use the arcade and I'll tell you how to make that happen. 

Title: Re: SMF Arcade
Post by: Nameless? on September 06, 2009, 09:52:54 AM
Guests are the only group i dont want to use the arcade, all other groups will be allowed to use arcade
Title: Re: SMF Arcade
Post by: gbsothere on September 06, 2009, 09:54:55 AM
Quote from: Nameless? on September 06, 2009, 09:52:54 AM
Guests are the only group i dont want to use the arcade, all other groups will be allowed to use arcade



Okay....  I'm sure you already know how to set that up in Admin----> Permissions----> Membergroups and you've probably already set everyone's ability to use the arcade, including setting Guest permissions not to be able to.  If that's the case, then you want to go to Admin-----> Arcade Admin------>  Settings and look at the Permission Mode pulldown menu.  What is it set to?

Title: Re: SMF Arcade
Post by: Nameless? on September 06, 2009, 09:56:32 AM
i set it to Category and games
Title: Re: SMF Arcade
Post by: gbsothere on September 06, 2009, 09:58:39 AM
Quote from: Nameless? on September 06, 2009, 09:56:32 AM
i set it to Category and games



Okay, you want that set to "None" and here's why:

If you were to go to Admin----> Arcade Admin----> Categories and click the little + sign next to each catetory, it would open up to reveal the permissions checked inside.  If you set Permission Mode to Category and games, that is going to override your forum's permissions and set arcade permissions. "None" sets it to your forum's permissions.  Set it to None and save it and then let me know and I'll try testing your site again.

Title: Re: SMF Arcade
Post by: Nameless? on September 06, 2009, 10:11:21 AM
try now, its set to None
Title: Re: SMF Arcade
Post by: gbsothere on September 06, 2009, 10:13:40 AM
Quote from: Nameless? on September 06, 2009, 10:11:21 AM
try now, its set to None


I can still see it...  did you go to Admin-----> Permissions-----> Permissions by Membergroup----> Guests and uncheck everything that has to do with the arcade, then Save?

Title: Re: SMF Arcade
Post by: Nameless? on September 06, 2009, 10:17:47 AM
ok done
Title: Re: SMF Arcade
Post by: gbsothere on September 06, 2009, 10:20:13 AM
Quote from: Nameless? on September 06, 2009, 10:17:47 AM
ok done


And done correctly, I can't see it now.   :)   And, as to your buddies not being able to see it; same thing.  Go to their membergroups and check the arcade settings so that they can. 

Now... your gamepacks...   I know that you were able to upload gamepack 15 (a small one) with no problems.  What is happening now when you go to Arcade Admin---->  Games and click on the Install tab and try to upload?  Are you getting an error message?

Title: Re: SMF Arcade
Post by: Nameless? on September 06, 2009, 10:22:23 AM
i get only a problem when i upload another gamepack is that the site shows the standard internet error, check if your cable is plugged in and those
Title: Re: SMF Arcade
Post by: Nameless? on September 06, 2009, 10:24:50 AM
no that worked, but i can still not install the gamepacks which size is over 1 MB
Title: Re: SMF Arcade
Post by: gbsothere on September 06, 2009, 10:27:29 AM
Quote from: Nameless? on September 06, 2009, 10:22:23 AM
i get only a problem when i upload another gamepack is that the site shows the standard internet error, check if your cable is plugged in and those


Hmmm....   that might require a call to your server, then.   

In the meantime (I have to dash for an appointment) try this, just to get some games in your arcade, Nameless.  Unzip the gamepacks on your computer and drag the game folder inside it straight into the Games directory in your forum's root.  Then go to Arcade Admin----> Games----->  Install and see if you see the gamepack's name listed.  If so, check the box next to it and click Install.  It should open up to all the listed games inside.  Proceed and you should get a message that they are installed.

Would you try one while I'm here just to see?   And later, when I'm back, we'll tackle that zip upload issue.

Also remember that going to http://smfarcade.info (http://smfarcade.info) and clicking on the wiki link at the top will give you tons of information about the arcade, including issues like uploading game zips. 

For gamepacks over 1 MB, I'd call my server and tell them what you read and ask if they can change some setting that will allow you to upload larger files.  It does sound like a server thing.
Title: Re: SMF Arcade
Post by: Nameless? on September 06, 2009, 10:34:36 AM
wow works good :D i uploaded through FTP Thanks once again gbsothere ;-)
Title: Re: SMF Arcade
Post by: gbsothere on September 06, 2009, 10:36:03 AM
Quote from: Nameless? on September 06, 2009, 10:34:36 AM
wow works good :D i uploaded through FTP Thanks once again gbsothere ;-)


Yay, team.   :D


Title: Re: SMF Arcade
Post by: Nameless? on September 06, 2009, 10:37:24 AM
also does it work to install other games which are not listed on smf arcade info site?
Title: Re: SMF Arcade
Post by: gbsothere on September 06, 2009, 10:43:20 AM
Quote from: Nameless? on September 06, 2009, 10:37:24 AM
also does it work to install other games which are not listed on smf arcade info site?


Sure!   You wouldn't believe it.    ;)

Tell you what....    I'm going to be gone for a few hours this morning, but when I'm back, I'll PM you some links for games and also a little "how to" about "gamedata folders" which is something you're going to need to learn.  In the meantime, though, do check out that wiki at the arcade site.  It will tell you things like "Where can I get more games" and "how to install a gamedata folder" (which is different from your Games folder). 

Title: Re: SMF Arcade
Post by: Nameless? on September 13, 2009, 07:34:57 AM
was about to install the newest version of smf 2.0 rc1.2 and install the SMF Arcade 2.5 Beta 7

i get these install actions:


Red Actions is marked because they dont got any Action

1.     Extract File     ./Sources/Arcade.php     
   2.    Extract File    ./Sources/ArcadeAdmin.php    
   3.    Extract File    ./Sources/ArcadeArena.php    
   4.    Extract File    ./Sources/ArcadeList.php    
   5.    Extract File    ./Sources/ArcadeMaintenance.php    
   6.    Extract File    ./Sources/ArcadeGame.php    
   7.    Extract File    ./Sources/ArcadeStats.php    
   8.    Extract File    ./Sources/Profile-Arcade.php    
   9.    Extract File    ./Sources/Submit-custom.php    
   10.    Extract File    ./Sources/Submit-ibp.php    
   11.    Extract File    ./Sources/Submit-phpbb.php    
   12.    Extract File    ./Sources/Submit-silver.php    
   13.    Extract File    ./Sources/Submit-v1game.php    
   14.    Extract File    ./Sources/Submit-v2game.php    
   15.    Extract File    ./Sources/Submit-v3arcade.php    
   16.    Extract File    ./Sources/Subs-Arcade.php    
   17.    Extract File    ./Sources/Subs-ArcadeAdmin.php    
   18.    Extract File    ./Sources/ManageGames.php    
   19.    Extract File    ./Sources/SWFReader.php    
   20.    Extract File    ./Themes/default/Arcade.template.php    
   21.    Extract File    ./Themes/default/ArcadeAdmin.template.php    
   22.    Extract File    ./Themes/default/ArcadeArena.template.php    
   23.    Extract File    ./Themes/default/ArcadeList.template.php    
   24.    Extract File    ./Themes/default/ArcadeProfile.template.php    
   25.    Extract File    ./Themes/default/ArcadeGame.template.php    
   26.    Extract File    ./Themes/default/ArcadeStats.template.php    
   27.    Extract File    ./Themes/default/ManageGames.template.php    
   28.    Extract File    ./Themes/default/css//arcade.css    
   29.    Extract File    ./Themes/default/scripts//arcade.js    
   30.    Extract File    ./Themes/default/scripts//swfobject.js    
   31.    Extract File    ./Themes/default/languages/Arcade.english.php    
   32.    Extract File    ./Themes/default/languages/ArcadeAdmin.english.php    
   33.    Extract File    ./Themes/default/languages/ArcadeEmail.english.php    
   34.    Extract File    ./Themes/default/images/arena_accept.png    
   35.    Extract File    ./Themes/default/images/arena_decline.png    
   36.    Extract File    ./Themes/default/images/favorite.gif    
   37.    Extract File    ./Themes/default/images/favorite2.gif    
   38.    Extract File    ./Themes/default/images/star2.gif    
   39.    Extract File    ./Themes/default/images/gold.gif    
   40.    Extract File    ./arcade.php    
   41.    Extract File    ./ArcadeLicense.txt    
   42.    Extract File    ./newscore.php    
   43.    Create Tree    ./Games    
   44.    Extract File    ./Games/minesweeper.zip    
   45.    Execute Code    arcadeinstall/Database.php    
   46.    Execute Code    arcadeinstall/Subs-Install.php    
   47.    Adapt Database    arcadeinstall/install_main.php    
*    48.    Execute Modification    ./index.php    Test successful
      1.    Add Before    ./index.php    Test successful
      2.    Add After    ./index.php    Test successful
*    49.    Execute Modification    ./Sources/ManageSettings.php    Test successful
      1.    Add Before    ./Sources/ManageSettings.php    Test successful
*    50.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
      1.    Add After    ./Sources/ManagePermissions.php    Test successful
      2.    Add After    ./Sources/ManagePermissions.php    Test successful
*    51.    Execute Modification    ./Sources/Subs-Db-mysql.php    Test successful
      1.    Add Before    ./Sources/Subs-Db-mysql.php    Test successful
*    52.    Execute Modification    ./Sources/Subs-Db-sqlite.php    Test successful
      1.    Add Before    ./Sources/Subs-Db-sqlite.php    Test successful
*    53.    Execute Modification    ./Sources/Subs-Db-postgresql.php    Test successful
      1.    Add Before    ./Sources/Subs-Db-postgresql.php    Test successful
*    54.    Execute Modification    ./Sources/Subs.php    Test successful
      1.    Add After    ./Sources/Subs.php    Test successful
      2.    Add Before    ./Sources/Subs.php    Test successful
*    55.    Execute Modification    ./Sources/Admin.php    Test successful
      1.    Add Before    ./Sources/Admin.php    Test successful
      2.    Add After    ./Sources/Admin.php    Test successful
      3.    Add After    ./Sources/Admin.php    Test successful
      4.    Add After    ./Sources/Admin.php    Test successful
*    56.    Execute Modification    ./Sources/Who.php    Test successful
      1.    Add Before    ./Sources/Who.php    Test successful
      2.    Add Before    ./Sources/Who.php    Test successful
*    57.    Execute Modification    ./Sources/Modlog.php    Test successful
      1.    Add Before    ./Sources/Modlog.php    Test successful
      2.    Add Before    ./Sources/Modlog.php    Test successful
      3.    Add Before    ./Sources/Modlog.php    Test successful
      4.    Add Before    ./Sources/Modlog.php    Test successful
*    58.    Execute Modification    ./Sources/Profile.php    Test successful
      1.    Add Before    ./Sources/Profile.php    Test successful
      2.    Add Before    ./Sources/Profile.php    Test successful
      3.    Add Before    ./Sources/Profile.php    Test successful
*    59.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Modifications.english.php    Test successful
Install in Other Themes

i use SMF 2.0 RC1.2 + Mystic Jade

is it okay to continue and install?
Title: Re: SMF Arcade
Post by: gbsothere on September 13, 2009, 09:21:43 AM
It should be, Nameless, but let me tell you a little about what's going on with RC1.2.  The Package Manager has some issues (and also bugs that have been fixed for 2.0 when it's released).  If this is the first mod you've tried to install with RC1.2, then you may not have encountered anything strange but, basically, the Package Manager has been known to dump the contents of zip files on upload.  You've already uploaded but you may want to just look inside your Packages directory in your forum root to see if you see the zip for the arcade.  Another issue with Package Manager is that, more often than not, it doesn't do the edits to the SMF files that the mod wants parsed.  Asking your server to turn off PHPSafeMode might help.  You can continue with the installation (create a directory called temp inside your packages directory and give 777 permissions if you get a permissions error) but if you can't find any evidence of the arcade after finishing, then open the arcade zip on your computer and drag all the files, images, etc., that the arcade provides to the proper directories and do the manual edits to the SMF files, according to the XML file that came with Beta 7.  You shouldn't have to run any sort of install.php, just upload the files.  Check your database to make sure new tables were created and then see if all things appear as they should in your Admin CP, profile, etc.

Title: Re: SMF Arcade
Post by: Nameless? on September 13, 2009, 09:35:21 AM
it seems advanced :S . its the 7th mod i install ;]
Title: Re: SMF Arcade
Post by: gbsothere on September 13, 2009, 09:40:36 AM
Quote from: Nameless? on September 13, 2009, 09:35:21 AM
it seems advanced :S . its the 7th mod i install ;]


You're one of the lucky ones.   :)  Once you get it up and running, you might want to visit http://smfarcade.info and go to the Hacks section and download jeza's latest skin for it.  It will change the entire look of the arcade and provide some fun features. 

Title: Re: SMF Arcade
Post by: Nameless? on September 13, 2009, 09:43:45 AM
wow seems awesome.
Title: Re: SMF Arcade
Post by: gbsothere on September 13, 2009, 09:48:15 AM
Quote from: Nameless? on September 13, 2009, 09:43:45 AM
wow seems awesome.


It's nice, and there's a similar skin for 1.1.10.  They provide scrolling stats, trophies, nice category layout and the new Beta 7 allows for arranging tournaments with others.  Post any questions about skins over on the Hacks board on the SMF site and jeza will be quick to lend a hand.  He's a smart old geezer.

:D
Title: Re: SMF Arcade
Post by: Nameless? on September 13, 2009, 10:02:49 AM
cant i just upload the arcade and install then extract the missing files by FTP ?
Title: Re: SMF Arcade
Post by: gbsothere on September 13, 2009, 10:44:43 AM
Quote from: Nameless? on September 13, 2009, 10:02:49 AM
cant i just upload the arcade and install then extract the missing files by FTP ?


Yes, that's what I meant earlier when I said that if things didn't appear quite right, to upzip the Arcade zip file on your computer and manually move those Sources and Template files (that Arcade provides) to your forum's Sources and Themes folders.  Also, you may have to manually edit the SMF files that the mod wants to parse.  This isn't Arcade's fault, it's that Package Manager issue.  I had to do this workaround to install it, myself.

Title: Re: SMF Arcade
Post by: Nameless? on September 13, 2009, 12:22:38 PM
hmm, so u mean that i must change stuff like in the arcade.template etc?
Title: Re: SMF Arcade
Post by: gbsothere on September 13, 2009, 02:55:50 PM
Quote from: Nameless? on September 13, 2009, 12:22:38 PM
hmm, so u mean that i must change stuff like in the arcade.template etc?


For the skins?   No, you're fine to leave the arcade as it is.  The skin just makes it a little more fun.  It's installed like any other mod.  You might want to wait until you have the arcade stable and then, if you're interested in adding a skin, I'll pm you some screenshots of the skins I use in my forums.

:)
Title: Re: SMF Arcade
Post by: TwitchisMental on September 13, 2009, 08:52:00 PM
Quote from: NBK*Twitch on August 31, 2009, 03:23:22 PM
Quote from: gbsothere on August 31, 2009, 07:54:08 AM
Quote from: NBK*Twitch on August 30, 2009, 05:09:48 PM
I see everything,but the edit games option.


NBK, here is someone else who had your issue and was able to resolve it.  This thread is from SMF Arcade's support forum:

http://www.smfarcade.info/forum/index.php?topic=4987.msg30998#msg30998 (http://www.smfarcade.info/forum/index.php?topic=4987.msg30998#msg30998)
Nope this did not fix it either =[.

I will reinstall it and see if that helps any.

Wow i forgot about this bug lol..

Anyways I reinstalled arcade and I still cannot see that edit games thing :/.
Title: Re: SMF Arcade
Post by: gbsothere on September 13, 2009, 08:59:24 PM
Quote from: NBK*Twitch on September 13, 2009, 08:52:00 PM
Wow i forgot about this bug lol..

Anyways I reinstalled arcade and I still cannot see that edit games thing :/.


Someone else said this on the SMF Arcade site, recently.  I'll do a search over there and see if I can find out how that was resolved.

:)
Title: Re: SMF Arcade
Post by: gbsothere on September 13, 2009, 09:15:23 PM
NBK*Twitch, you shouldn't have to do this and it may be a bug, I'll have to check on that.... but in the meantime...

Go to Admin----->Arcade------>Games----->Edit Games.  Just click on a game's title and look down at the bottom of its data page for Advanced Settings and click that.  Now... this is where we were last time when you said you still couldn't see anything that let you edit size.  This time, when you have clicked on Advanced Settings, add this to the end of the URL in your browser window:   ;detect

See if that doesn't show you the place to edit sizes.  This is what the poster over at SMF Arcade had to do.



Title: Re: SMF Arcade
Post by: TwitchisMental on September 14, 2009, 01:52:18 AM
I do not see edit game even in the acp.

Mind telling what the url should be? This has worked for me before when I had an issue with rss feeder.
Title: Re: SMF Arcade
Post by: gbsothere on September 14, 2009, 09:06:04 AM
Quote from: NBK*Twitch on September 14, 2009, 01:52:18 AM
I do not see edit game even in the acp.

Mind telling what the url should be? This has worked for me before when I had an issue with rss feeder.


This is for RC1.2, right? 

NBK*Twitch, at some point, you may want to create a temp admin account and PM me log in details.  You should at least be seeing Edit in the Arcade CP, so something seems to have not installed correctly.

Title: Re: SMF Arcade
Post by: mycousinvinny on September 15, 2009, 08:32:36 AM
gbsothere;

Thanks again for the expert help you provided me with our arcade. You are a credit to the SMF community. My members and I are delighted as a result of your most gracious support.

Thank You Very Much!!

Vinny
Title: Re: SMF Arcade
Post by: gbsothere on September 15, 2009, 08:52:44 AM
Good morning, Vinny! 

It was a pleasure and I hope you guys enjoy the arcade.  If you ever upgrade your forum to 2.0, Arcade is ready for that, as well. 

Give a heads up, if you have any questions.

:)
Title: Re: SMF Arcade
Post by: TwitchisMental on September 15, 2009, 10:50:02 AM
Quote from: gbsothere on September 14, 2009, 09:06:04 AM
Quote from: NBK*Twitch on September 14, 2009, 01:52:18 AM
I do not see edit game even in the acp.

Mind telling what the url should be? This has worked for me before when I had an issue with rss feeder.


This is for RC1.2, right? 

NBK*Twitch, at some point, you may want to create a temp admin account and PM me log in details.  You should at least be seeing Edit in the Arcade CP, so something seems to have not installed correctly.
Yes I am using rc1.2.
Title: Re: SMF Arcade
Post by: gbsothere on September 15, 2009, 11:00:51 AM
Quote from: NBK*Twitch on September 15, 2009, 10:50:02 AM
Yes I am using rc1.2.


If you decide you want me to come take a look at it, just PM me the log in details.  Otherwise, you might want to register at http://smfarcade.info (http://smfarcade.info) and have the staff there help you determine why this setting isn't appearing.  It may be a faster alternative for you.

:)

Title: Re: SMF Arcade
Post by: TwitchisMental on September 15, 2009, 03:50:01 PM
Quote from: gbsothere on September 15, 2009, 11:00:51 AM
Quote from: NBK*Twitch on September 15, 2009, 10:50:02 AM
Yes I am using rc1.2.


If you decide you want me to come take a look at it, just PM me the log in details.  Otherwise, you might want to register at http://smfarcade.info (http://smfarcade.info) and have the staff there help you determine why this setting isn't appearing.  It may be a faster alternative for you.

:)

Humm okay.
Title: Re: SMF Arcade
Post by: Banthe on September 18, 2009, 09:04:30 AM
Hi All... I've installed SMF Arcade on v1.1.10 and I can't get the Arcade tab to appear in the right place (next to Help)....It keeps appearing above the Menu tab??
Please help, I really don't know what I'm doing!!!!!!! :-[
The code I have entered in index.template is:
// Show the [help] button.
    echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'help' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=help">' , $txt[119] , '</a>
</td>' , $current_action == 'help' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
   
    // How about the [arcade] button?
    if ($context['user']['is_logged'])
        echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '' : '' , '
                <div class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
                   <a href="', $scripturl, '?action=arcade">', (!empty($txt['arcade']) ? $txt['arcade'] : 'Arcade'), '</a>
                </div>' , $current_action == 'arcade' ? '<div class="seperator"><!--no content--></div>' : '<div class="seperator"><!--no content--></div>';

    // Show the [multiplayer] button.
echo ($current_action=='multiplayer' || $context['browser']['is_ie4']) ? '<td class="maintab_active_first"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action=='multiplayer' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=multiplayer">' , $txt['mp13'] , '</a>
</td>' , $current_action=='multiplayer' ? '<td class="maintab_active_last"> </td>' : '';// How about the [search] button?
if ($context['allow_search'])
echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'search' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=search">' , $txt[182] , '</a>
</td>' , $current_action == 'search' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

hivecentral.org
Title: Re: SMF Arcade
Post by: gbsothere on September 18, 2009, 09:18:48 AM
Shianne, I see you're using a custom theme.  Did you make the edits to your theme's index.template.php?  Also, did you open the Arcade zip and then its default folder and move those templates into your custom theme's directory, and its language and images files, likewise?

Title: Re: SMF Arcade
Post by: Banthe on September 18, 2009, 09:44:55 AM
thanx for a fast reply gbsothere,
It actually isn't so-much custom...all I did is change some colors in the style.css...I have Simple Portal installed, which is what you can see on the home page.
I didn't need to move any of those other files as they installed correctly via Package manager in smf. But, when I installed arcade, it did say that test install found an error in index.template...thats why I manually entered the code shown above. All other tests passed????
I am stumped!! :'(
Title: Re: SMF Arcade
Post by: Banthe on September 18, 2009, 09:51:55 AM
Sorry, I forgot to ad... I am using the SMF Default Theme - core
Title: Re: SMF Arcade
Post by: gbsothere on September 18, 2009, 09:53:31 AM
Shianne, it's probably because another mod is using that file and creating the error.  Can you attach it here, along with a list of all your mods, so that I can determine which ones share the file and possibly correct the edit?

Title: Re: SMF Arcade
Post by: Banthe on September 18, 2009, 10:01:43 AM
The mods I have installed are:
1.   Advanced Login Form
2.   Welcome Topic Mod
3.   Hide SMF Version
4.   Own Logo Links To Domain
5.   PM Notification Bar
6.   Custom Copyright
7.   PaypalDonations
8.   Your Last Visit
9.   simplemp
10.   hof
11.   Custom_Greeting_Depending_on_Time
12.   Thank-O-Matic
13.   MoodStars_purpul
14.   SimplePortal
15.   AvatarSelect
16.   BoardHover Mod
17.   Add Favicon.ico Support
18.   SMF Arcade
19.   Ultimate Profile
20.   Aeva ~ Auto-Embed Video & Audio
21.   Board Notification Mod
22.   Center the Navagation Bar
23.   NiceTooltips
24.   arcwdm_v2.2
25.   SMF Sitemap
26.   Simple Image Upload
27.   SMF Staff Page
28.   [HTML] Permission Mod

Thanx for your help...much appreciated!!!
Title: Re: SMF Arcade
Post by: gbsothere on September 18, 2009, 10:05:11 AM
It'll take me several minutes, Shianne.  What I'm going to do is attach it when I'm done and then I just want to say this...

Sometimes, when you ignore the "are you sure you want to install this package even though it will not work properly" message, the mod will never quite kick in, even if the files in question are edited after the fact.  So, when I attach your file in a bit, you may want to uninstall the Arcade, then send up a clean fresh index.template.php from your SMF 1.1.10 zip, finish the installation and then, when you're done, upload the index.template.php file that I'll be attaching.  That way, you will get past the arcade's problem with the file during installation and by reuploading the edited file, you will preserve your other mods' functions.

Back in a bit.

:)
Title: Re: SMF Arcade
Post by: Banthe on September 18, 2009, 10:10:29 AM
gbsothere,
thank you so much...Thought I better attach an image of the rogue button in question............
Title: Re: SMF Arcade
Post by: gbsothere on September 18, 2009, 10:20:54 AM
I'm almost done, Shianne, but what is the full name of the "hof" mod?  I'm not finding it under Hall of Fame, which was my first guess.  It's not one I'm familiar with.
Title: Re: SMF Arcade
Post by: Banthe on September 18, 2009, 10:23:26 AM
gbsothere, It is the Hall Of Fame mod....the file I downloaded was called H2
Title: Re: SMF Arcade
Post by: gbsothere on September 18, 2009, 10:27:18 AM
Quote from: shianne on September 18, 2009, 10:23:26 AM
gbsothere, It is the Hall Of Fame mod....the file I downloaded was called H2


I'm not coming up with it, but would you look in its zip if you still have it and check the xml file to see if it parses the index.template.php?  (Or if you happen to stumble on its link here, while I'm finishing these edits, that would work, as well.)

:)
Title: Re: SMF Arcade
Post by: Banthe on September 18, 2009, 10:36:06 AM
sorry gbsothere, I can't find the file!!! And i can't remember where I got it! I've been looking at so many mods all over the net, that I've lost track  :-\
I do remember that HOF was installed in the latter, after these issues started..if thats any help?
Title: Re: SMF Arcade
Post by: Banthe on September 18, 2009, 10:41:22 AM
UPDATE!!! Just found it...it was a sleepy Arcade mod...Attached:
Title: Re: SMF Arcade
Post by: gbsothere on September 18, 2009, 10:42:59 AM
Quote from: shianne on September 18, 2009, 10:41:22 AM
UPDATE!!! Just found it...it was a sleepy Arcade mod...Attached:


Great, it only parses Arcade files.

arcwdm_v2.2 looks like one of Wayne's as well.  I'll have to ferret out it's "search" name. 
Title: Re: SMF Arcade
Post by: gbsothere on September 18, 2009, 10:54:23 AM
Shianne, only one last thing to check... do you have the zip for arcwdm_v2.2?
Title: Re: SMF Arcade
Post by: Banthe on September 18, 2009, 10:54:44 AM
Found that one as well....... Arcade Stats:
Title: Re: SMF Arcade
Post by: gbsothere on September 18, 2009, 11:00:22 AM
Got it.  :)

Try reinstalling the Arcade with a clean index.template.php and then, when it's done, re-upload this file.  Also... are you using English or English-UTF8 as your forum's language?  If using UTF8, the contents of the Modifications.english.php file need to be copied over to your Modifications.english-utf8.php file.




Edit:

Reinstalling the arcade's files may cause you to have to re-edit the arcade files that Hall of Fame and Arcade Stats uses.  I just wanted to make you aware of that.
Title: Re: SMF Arcade
Post by: Banthe on September 18, 2009, 11:06:39 AM
 :D ;D ;D ;D You are an absolute LEGEND! Thankyou...works perfectly! Wish I new how to do all of this for myself...one day I hope?
Thanks again...Good work  ;)
Title: Re: SMF Arcade
Post by: gbsothere on September 18, 2009, 11:07:48 AM
Quote from: shianne on September 18, 2009, 11:06:39 AM
:D ;D ;D ;D You are an absolute LEGEND! Thankyou...works perfectly! Wish I new how to do all of this for myself...one day I hope?
Thanks again...Good work  ;)


Glad to hear it, Shianne.  (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwhereitestmystuff.com%2Fimages%2Fthumb.gif&hash=fbe057efff6d88bc8293617d752cf12a98abaa09)

Catch the edit I made to my last post, though; it may come into play.

Good deal.   :)
Title: Re: SMF Arcade
Post by: Mr_Lon on September 19, 2009, 02:36:22 PM
I just started reading about SMF Arcade and see that there are some Mods for Arcade?

What I would like to see is a Mod so I can add some "Game Categories" like "Shooting" - "Casino" - "Mahgong" and on...... So I can organize my arcade a little. I see a few of cool options in E-Arcade that would be nice with SMF Arcade.

Game Categories would be nice.
:D
Title: Re: SMF Arcade
Post by: gbsothere on September 19, 2009, 02:44:44 PM
Quote from: Mr_Lon on September 19, 2009, 02:36:22 PM
I just started reading about SMF Arcade and see that there are some Mods for Arcade?

What I would like to see is a Mod so I can add some "Game Categories" like "Shooting" - "Casino" - "Mahgong" and on...... So I can organize my arcade a little. I see a few of cool options in E-Arcade that would be nice with SMF Arcade.

Game Categories would be nice.
:D



SMF Arcade does have categories.   :)

Skins are available that change the appearance of the arcade in a very fun way with scrolling champion information, trophies, and categories. 

Skins and Hacks can be found at http://smfarcade.info (http://smfarcade.info) and I'll PM you screenshots of what both my 1.1.10 forums and RC1.2 forum look like with the skins applies.

Title: Re: SMF Arcade
Post by: Warrantica on September 24, 2009, 03:14:59 AM
Sorry if this had been asked before, but can I safely install this mod on smf 1.1.10 and if I can, which version of SMF Arcade should I use?

Thanks in advance
Title: Re: SMF Arcade
Post by: gbsothere on September 24, 2009, 07:59:48 AM
Quote from: Warrantica on September 24, 2009, 03:14:59 AM
Sorry if this had been asked before, but can I safely install this mod on smf 1.1.10 and if I can, which version of SMF Arcade should I use?

Thanks in advance


Hi, Warrantica,

Yes, SMF Arcade runs great on 1.1.10. When you go to the mod page, download the zip for 2.0.18. 

Something to remember:  SMF Arcade doesn't come with games already installed.  You'll have to install the games after installing the arcade.  Gamepack zips can be downloaded from http://smfarcade.info (http://smfarcade.info) as well as other places.  Visit that site for a list of where to obtain other games, as well as to read the Wiki for frequently asked questions.

:)
Title: Re: SMF Arcade
Post by: MrDby on October 02, 2009, 06:11:06 PM
this works fine for 1.1.10?
Title: Re: SMF Arcade
Post by: gbsothere on October 02, 2009, 06:29:33 PM
Quote from: MrDby on October 02, 2009, 06:11:06 PM
this works fine for 1.1.10?



It does.  You'll want to download 2.0.18.    :)
Title: Re: SMF Arcade
Post by: MrDby on October 04, 2009, 01:58:35 AM
Quote from: gbsothere on October 02, 2009, 06:29:33 PM
Quote from: MrDby on October 02, 2009, 06:11:06 PM
this works fine for 1.1.10?



It does.  You'll want to download 2.0.18.    :)
can i see ur arcade?
Title: Re: SMF Arcade
Post by: MrDby on October 04, 2009, 03:06:07 PM
So it does work with 1.1.10 without any problems?
Title: Re: SMF Arcade
Post by: MrDby on October 04, 2009, 03:09:01 PM
Installations actions for "SMF Arcade":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

i guess i can't use this!
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on October 04, 2009, 03:29:19 PM
Quote from: MrDby on October 04, 2009, 03:09:01 PM
Installations actions for "SMF Arcade":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

i guess i can't use this!
Make sure your downloading the right version for your current forum software version, if its not available from the downloads list then you cant use it
Title: Re: SMF Arcade
Post by: DaBrute on October 04, 2009, 03:34:42 PM
Where is it?
Title: Re: SMF Arcade
Post by: gbsothere on October 04, 2009, 05:13:00 PM
@ DaBrute and Mr Dby

I can't think why 2.0.18 isn't appearing on the download page, but I'm sure that will be corrected, soon.

In the meantime, you can download it from http://smfarcade.info (http://smfarcade.info)

You'll need to register to be able to download it.  The Downloads link is at the top of the page.




Mr Dby, I'll send you a screenshot of my arcade on 1.1.10.

:)


EDIT:   Never mind, I'll just post the screenshot lilnk here.  I just noticed mine is still 2.0.17, so I need to upgrade.   It's on my list of things to do.  My arcade uses a skin (jeza's skin) so it may look different than others do.

1.1.10 Arcade Screenshot (http://whereitestmystuff.com/images/arcadesite.jpg)
Title: Re: SMF Arcade
Post by: Skhilled on October 04, 2009, 05:21:25 PM
The most up to date downloads for SMF Arcade can be found here:

http://download.smfarcade.info
Title: Re: SMF Arcade
Post by: k12onos on October 06, 2009, 01:53:20 AM
is it okay to use SMF Arcade 2.0.18 on my live site (SMF 1.1.10) ?

also can it be integrated with shop mod?

Thank you in advance :)
Title: Re: SMF Arcade
Post by: fwitt on October 06, 2009, 06:31:46 AM
Quote from: k12onos on October 06, 2009, 01:53:20 AM
is it okay to use SMF Arcade 2.0.18 on my live site (SMF 1.1.10) ?

also can it be integrated with shop mod?

Thank you in advance :)

my live site is running SMF 1.1.10 with Arcade 2.0.18 and I dont have any probs with it, there are intergrations between the arcade and the shop mod but you will need to be careful of which version of smf, arcade and shop match the integration
Title: Re: SMF Arcade
Post by: k12onos on October 06, 2009, 06:35:45 AM
Can I know which Shop MOD(and which version) do you use?

also for the integration with arcade, do you need to use another modification? and what is that?
Title: Re: SMF Arcade
Post by: Skhilled on October 06, 2009, 09:26:54 AM
You would need to use Daniel's Shop mod...not where where to get it now. Might still be in the downloads here. The Shop integration would be at SMF Arcade or E-arcade.
Title: Re: SMF Arcade
Post by: MATTEK on October 07, 2009, 01:14:48 AM
Will this work with SMF 2.0 RC1.2?
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on October 07, 2009, 08:52:07 AM
I have it installed on SMF 2RC1.2 and it seems to work fine, no complaints yet ;)
Title: Re: SMF Arcade
Post by: Skhilled on October 07, 2009, 09:45:39 AM
Yes, there is a version that will work with RC1.2. It's in the downloads.
Title: Re: SMF Arcade
Post by: Blah blah on October 07, 2009, 12:42:51 PM
How do I transfer high scores if I change themes?
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on October 07, 2009, 12:46:36 PM
High scores are stored in the database, upon installing the arcade into the new theme, the scores will remain
Title: Re: SMF Arcade
Post by: Blah blah on October 07, 2009, 12:50:11 PM
Ok thanks  :)
Title: Re: SMF Arcade
Post by: dropNbodies iXi on October 11, 2009, 04:22:16 AM
I installed the package then I installed some games, but when I go to http://mywebsite.net/forum/Games there's nothing there and gives me an error link.  Anyone know what the problem is?
???
Title: Re: SMF Arcade
Post by: jeza on October 11, 2009, 08:13:15 AM
Not much to go on there, but a link to your arcade would help.
Title: Re: SMF Arcade
Post by: dropNbodies iXi on October 11, 2009, 08:27:33 AM
Oh sorry, here is where I downloaded the arcade from, although this IS the thread for it lol - http://download.smfarcade.info/

Here is where I downloaded GamePack1 - http://games.smfarcade.info/index.php?action=old


I don't know why it's not working.  Anyone have screenshots for what it's supposed to look like on your forum and the actual link where the arcade is?

Also, I'm using the kani 119 ( http://custom.simplemachines.org/themes/index.php?lemma=1695 ) theme.  It's not appearing on any of my custom themes actually...  It only appears on the default theme; the "Arcade" button.  Anyone know how I can fix this?
Title: Re: SMF Arcade
Post by: jeza on October 11, 2009, 09:00:43 AM
A link to YOUR arcade, where the problem is.


As for the arcade button
http://wiki.smfarcade.info/SMF_Arcade/FAQ#How_do_I_add_an_.26quot.3BArcade.26quot.3B_button.3F
Title: Re: SMF Arcade
Post by: dropNbodies iXi on October 11, 2009, 10:41:23 AM
*Edit*

I got it YES!  Thanks for the help man!

Ok I have a different question now.  How can I make a button to make it link somewhere else?  What part of the code do I change?  That link you provided said to copy the search code and change where necessary, but what do I change if I want to link it somewhere else with a url?
Title: Re: SMF Arcade
Post by: jeza on October 11, 2009, 11:28:25 AM
echo ($current_action=='link' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'link' ? 'current' : '' , '"><a href="http://Your-Link">Link Name</a></li>';


Assuming its an external link.


For that theme, just in case you are having arcade button problems, the code is
echo ($current_action=='arcade' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'arcade' ? 'current' : '' , '"><a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a></li>';
Title: Re: SMF Arcade
Post by: punktravis182 on October 12, 2009, 02:27:08 AM
Directory /home/creep/public_html/Games is not writable and chmod didn't succeed. Please make it writable manually.

I manually chmod the Games folder to 777 but still no luck. please help!
Title: Re: SMF Arcade
Post by: dropNbodies iXi on October 12, 2009, 02:46:08 AM
Thank you so much Jeza!  You've been a GREAT help man!   8)


Title: Re: SMF Arcade
Post by: jeza on October 12, 2009, 03:45:40 AM
Quote from: punktravis182 on October 12, 2009, 02:27:08 AM
Directory /home/creep/public_html/Games is not writable and chmod didn't succeed. Please make it writable manually.

I manually chmod the Games folder to 777 but still no luck. please help!

First try going to admin>packages>options and setting all files writable, dont forget to set back to standard afterwards.
If that does not work, I'm afraid you'll have to contact your host and explain the problem as you may have lost ownership of your files and folders.
Title: Re: SMF Arcade
Post by: gitchuone on October 12, 2009, 03:16:52 PM
In 203 pages on this topic, my question has probably been answered, but the MOD page says Arcade is compatible with 1.1.10, but when I select version and click Parse, I am told it is NOT compatible. What's the real answer?
Title: Re: SMF Arcade
Post by: jeza on October 12, 2009, 06:38:28 PM
Quote from: gitchuone on October 12, 2009, 03:16:52 PM
In 203 pages on this topic, my question has probably been answered, but the MOD page says Arcade is compatible with 1.1.10, but when I select version and click Parse, I am told it is NOT compatible. What's the real answer?


http://download.smfarcade.info/
Check you have downloaded the correct version.
Title: Re: SMF Arcade
Post by: punktravis182 on October 12, 2009, 11:45:36 PM
Quote from: jeza on October 12, 2009, 03:45:40 AM
Quote from: punktravis182 on October 12, 2009, 02:27:08 AM
Directory /home/creep/public_html/Games is not writable and chmod didn't succeed. Please make it writable manually.

I manually chmod the Games folder to 777 but still no luck. please help!

First try going to admin>packages>options and setting all files writable, dont forget to set back to standard afterwards.
If that does not work, I'm afraid you'll have to contact your host and explain the problem as you may have lost ownership of your files and folders.

Thanks for replying. It's weird that on one of my friend's site it's working without anyproblem but we have the same host.  Any suggestions please? I already tried what you said but still i cant install a game.
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on October 13, 2009, 12:11:53 AM
Quote from: punktravis182 on October 12, 2009, 11:45:36 PM
Quote from: jeza on October 12, 2009, 03:45:40 AM
Quote from: punktravis182 on October 12, 2009, 02:27:08 AM
Directory /home/creep/public_html/Games is not writable and chmod didn't succeed. Please make it writable manually.

I manually chmod the Games folder to 777 but still no luck. please help!

First try going to admin>packages>options and setting all files writable, dont forget to set back to standard afterwards.
If that does not work, I'm afraid you'll have to contact your host and explain the problem as you may have lost ownership of your files and folders.

Thanks for replying. It's weird that on one of my friend's site it's working without anyproblem but we have the same host.  Any suggestions please? I already tried what you said but still i cant install a game.

Try chmod to 755, as some hosts block 777 permission which can and will cause issues with anything set to 777
Title: Re: SMF Arcade
Post by: punktravis182 on October 13, 2009, 04:36:21 AM
Quote from: ♪ JohnCcCcCc ♫ on October 13, 2009, 12:11:53 AM
Quote from: punktravis182 on October 12, 2009, 11:45:36 PM
Quote from: jeza on October 12, 2009, 03:45:40 AM
Quote from: punktravis182 on October 12, 2009, 02:27:08 AM
Directory /home/creep/public_html/Games is not writable and chmod didn't succeed. Please make it writable manually.

I manually chmod the Games folder to 777 but still no luck. please help!

First try going to admin>packages>options and setting all files writable, dont forget to set back to standard afterwards.
If that does not work, I'm afraid you'll have to contact your host and explain the problem as you may have lost ownership of your files and folders.

Thanks for replying. It's weird that on one of my friend's site it's working without anyproblem but we have the same host.  Any suggestions please? I already tried what you said but still i cant install a game.

Try chmod to 755, as some hosts block 777 permission which can and will cause issues with anything set to 777

I tried it but still no luck.. :( Please Help!!!
Title: Re: SMF Arcade
Post by: BrianVB on October 13, 2009, 05:07:56 AM
Thanks Alot :D, 1 of the best mods ever
Title: Re: SMF Arcade
Post by: jeza on October 13, 2009, 11:01:22 AM
QuoteThanks for replying. It's weird that on one of my friend's site it's working without anyproblem but we have the same host.  Any suggestions please? I already tried what you said but still i cant install a game.

Check your game directory settings, it should end with /Games capitol G and no end slash.
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on October 13, 2009, 11:21:46 AM
also, make sure that your server settings (forum) match the server settings on arcade settings.

eg. path to ...

"www.mysite.com" and just "mysite.com" they must be the same :)
Title: Re: SMF Arcade
Post by: snakemannva on October 13, 2009, 06:07:41 PM
I am having a issue with the arcade, I am using SMF 2.0 RC1.2 version for my forum and the arcade version i am using is SMF Arcade 2.5 Beta 7. Ok i can download it fine, Then it apply the mod, And the test instalation went perfect everything worked, Then I went to install and it just comes up with a white screen nothing else happens and it just goes back telling me i need to apply the mod again. Why is this? Can someone help me out on installing this, Because it was great to have on my forum until i upgraded and i lost it i just want it back thank you so much
Title: Re: SMF Arcade
Post by: punktravis182 on October 14, 2009, 12:11:09 AM
Thanks a lot ♪ JohnCcCcCc ♫ and Jeza!! :D I can now install games!!!
Title: Re: SMF Arcade
Post by: Skhilled on October 14, 2009, 09:00:34 AM
Quote from: snakemannva on October 13, 2009, 06:07:41 PM
I am having a issue with the arcade, I am using SMF 2.0 RC1.2 version for my forum and the arcade version i am using is SMF Arcade 2.5 Beta 7. Ok i can download it fine, Then it apply the mod, And the test instalation went perfect everything worked, Then I went to install and it just comes up with a white screen nothing else happens and it just goes back telling me i need to apply the mod again. Why is this? Can someone help me out on installing this, Because it was great to have on my forum until i upgraded and i lost it i just want it back thank you so much

Any errors in the logs? I assume that you have the correct urls for the arcade and its games.
Title: Re: SMF Arcade
Post by: BrianVB on October 14, 2009, 12:59:30 PM
Beta 7 works fine on rc1.2
Title: Re: SMF Arcade
Post by: snakemannva on October 14, 2009, 09:51:55 PM
Skhilled No i do not get no errors at all it just goes to a blank screen after i install it and it will not do anything then i go back to browse packages and it saying i got to apply it again and it does it all over again

And briapv i would love to know how it is working for you and not for me it is wierd on how some people it does work some people it does not lol
Title: Re: SMF Arcade
Post by: Kimmen on October 16, 2009, 06:47:26 AM
Quote5.     Execute Modification     ./Themes/default/index.template.php     Test failed

I get this error when i want to apply mod, what to do next?

Greets
Kimmen
Title: Re: SMF Arcade
Post by: Skhilled on October 16, 2009, 08:17:28 AM
Quote from: snakemannva on October 14, 2009, 09:51:55 PM
Skhilled No i do not get no errors at all it just goes to a blank screen after i install it and it will not do anything then i go back to browse packages and it saying i got to apply it again and it does it all over again

And briapv i would love to know how it is working for you and not for me it is wierd on how some people it does work some people it does not lol

Sounds like you have server issues. Try changing your file/folder permissions. You'll have to ask your hosting what they should be. If you cannot change anything yourself then ask them to chown and chmod your files for you.

Quote from: Kim Arne on October 16, 2009, 06:47:26 AM
Quote5.     Execute Modification     ./Themes/default/index.template.php     Test failed

I get this error when i want to apply mod, what to do next?

Greets
Kimmen

Please state which version of smf and the arcade you are using. If using smf 2 then click on the little pencil next to the Test Failed at the beginning of the line and it will tell you what to do.
Title: Re: SMF Arcade
Post by: Kimmen on October 16, 2009, 01:17:35 PM
I am using Arcade      2.0.18
SMF: 1.1.10
TP: 1.0 Beta 4
MODS:
Contact Page      1.1
Aeva ~ Auto-Embed Video & Audio      6.2.75
Regular smileys to dark background smiley set      1.0
MCLegendII.2      3.0
Anti-Spam Verification Questions      1.02


Title: Re: SMF Arcade
Post by: Chen Zhen on October 16, 2009, 11:08:24 PM
Quote from: Kim Arne on October 16, 2009, 06:47:26 AM
Quote5.     Execute Modification     ./Themes/default/index.template.php     Test failed

I get this error when i want to apply mod, what to do next?

Greets
Kimmen

During install.. the arcade-mod can not find the place it wants to place its modification to that file so it fails to do so.
You must edit that file manually and add what is required.
(public_html / Themes / default / index.template.php).

Here are the edits:
Note: Only add the following edits if they are not already there. Some of them might already be added properly - but at least one of them has not been.

Find:

if (in_array($context['current_action'], array('admin',


Copy and paste this right after the above if necessary(on the same line):

'managegames', 'arcadesettings', 'arcadecategory',


Find:

if (in_array($context['current_action'], array('search',


Copy and paste this right after the above  if necessary(on the same line):

'arcade',


Find:

// How about the [search] button?


Add the following BEFORE the above code( if necessary):

echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
</td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



UD
Title: Re: SMF Arcade
Post by: Kimmen on October 17, 2009, 05:41:36 AM
Thanks for the help and reply.

I have tested this on another site + SMF arcade site. It is to much errors going on so i wont install this in my site anytime soon. It looks like a fun and handy project that needs some bug research and fixing before 100% complete.


Greets
Kimmen
Title: Re: SMF Arcade
Post by: Chen Zhen on October 17, 2009, 07:15:36 PM
Quote from: Kim Arne on October 17, 2009, 05:41:36 AM
Thanks for the help and reply.

I have tested this on another site + SMF arcade site. It is to much errors going on so i wont install this in my site anytime soon. It looks like a fun and handy project that needs some bug research and fixing before 100% complete.


Greets
Kimmen

Basically what happens is that the install files are written to find markers (certain lines of code) that are in the default theme. Other themes have some code changes in their php files and therefore the install file(s) can't find the correct area in the file to place the edit. Using custom themes, you will find this happens with a lot of mods. These are not bugs.

The only way around it is to unzip the mod on your computer and peruse the install files and edits. Then you must add the edits manually using FTP or an app such as FileZilla (<== suggested). If you write down (or do a screen print) of the files that flagged an error during install - you should only have to edit those particular files after installing the ones that worked.
Note:
Some of the time - if your forum is not english (or if you use english-utf8) even though the install flags a mods language files as ok, you must add the language edits to your forums specific language files.

Also: For flash games you can find a lot that have already been modded to save scores on your arcade. Some games that you want in your arcade have not been modded but there are tuts to do this if you know where to look. (Ahem! => (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Faskusaquestion.net%2FSmileys%2FDarkB%2Fcool.gif&hash=df1c6aa3be7d047ff12c7a972941863276da4123) (http://askusaquestion.net/index.php/topic,1461.0.html))

UD
Title: Re: SMF Arcade
Post by: Skhilled on October 18, 2009, 06:16:16 PM
You get "Test Failed" when installing any mod because a mod that you have already installed has modified the same line of code that this mod is looking for. Mods look for fresh SMF code. If it has been altered by you or another mod it will give a "Test Failed". This is how all mods work. Sometimes the order in which you install most will help them to install without any "Test Failed's".

This is not a bug in SMF Arcade or any other mod. The first or second line of "find" code that  01_Underdog posted is most likely the culprit cause most mods modify those lines of SMF code.
Title: Re: SMF Arcade
Post by: Blah blah on October 22, 2009, 05:18:20 PM
This may be too big of a question but, what does it take to fully integrate any Flash game in to the SMF Arcade?
Title: Re: SMF Arcade
Post by: Kat9119 on October 22, 2009, 05:23:11 PM
Quote from: Blah blah on October 22, 2009, 05:18:20 PM
This may be too big of a question but, what does it take to fully integrate any Flash game in to the SMF Arcade?

I was wondering the same thing. There are a couple really old games on the net that I'd love to use. I highly doubt I'll be able to track down the creators and get permission as the arcade site tells you to. I'm wondering if I can just 'convert' the games on my own. I've been holding off on installing this for that reason alone.
Title: Re: SMF Arcade
Post by: Skhilled on October 23, 2009, 08:31:54 AM
SMF Arcade can play almost any flash game or video. It is basically a flash player that can record the scores of certain games. Not all games can have their scores recorded or submitted.

It is not illegal to play any games on SMF Arcade. Legal issues come into play if you convert or modify a flash program's code without permission or allow it to be downloaded by some means without permission. There are some game authors that will only allow gameplay on certain sites but they are few. It is always best to check the TOS (Terms of Service) for any game(s).
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on October 23, 2009, 08:52:37 AM
Quote from: Blah blah on October 22, 2009, 05:18:20 PM
This may be too big of a question but, what does it take to fully integrate any Flash game in to the SMF Arcade?

You'll be surprised at how simple it can be to add a simple flash game, bear in mind, SMF Arcade is not a "simple integration" though.
I have a mod awaiting approval, it lets you play NES games on your forum, for now its one game at a time, but that's a simple integration for you.
Title: Re: SMF Arcade
Post by: Blah blah on October 23, 2009, 11:04:56 AM
That's awesome :)

http://www.techcult.com/the-150-best-online-flash-games/

How long would it take you to intergrate any of those games on that list? ( high scores, quick loading, etc)
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on October 23, 2009, 12:14:10 PM
Well High scores and such would need further integration, say into the database, a new column in smf_members called game scores would probably do it, then you would have to get the score from the flash game to save to that record, thus SMF member has that score, then that could be echoed on the page in High Score area, for complete integration like that, it would take some time..
Title: Re: SMF Arcade
Post by: Blah blah on October 23, 2009, 12:20:28 PM
Ill pay you for a template to do that
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on October 23, 2009, 02:05:12 PM
Quote from: Blah blah on October 23, 2009, 12:20:28 PM
Ill pay you for a template to do that

You'll Have to PM me then about that, but I'm a beginner, not that you will get a low quality Job, just that it will take a little longer :)
Title: Re: SMF Arcade
Post by: Blah blah on October 23, 2009, 03:13:30 PM
Ok Ill Pm you  :)
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on October 23, 2009, 03:44:49 PM
Please note that anything done by me will not be an accessory for SMF Arcade, it will be a custom separate mod for you.

Proceeds to PM inbox :)
Title: Re: SMF Arcade
Post by: Nameless? on October 24, 2009, 07:45:45 AM
would like a theme for my arcade mod, so it displays the Highscores on top, most played games at right, and newest games at left, then a random game block under most played games..
or like this picture.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi1.tinypic.com%2F5yk28w6.png&hash=44bd959fe9b8b5f20c7ac56fe6e5c15b8e1e92b7)
also would be great if u could edit the themes colours after install.

would be really really happy to get this.
Thanks.
Title: Re: SMF Arcade
Post by: jeza on October 24, 2009, 09:40:33 AM
Might be worth actually doing what you suggest there, Is that an actual arcade in the pic or something you did in PS?

In the meantime check those links and the smf versions they are for

http://www.smfarcade.info/forum/index.php?topic=5325.0

http://www.smfarcade.info/forum/index.php?topic=4217.0

Title: Re: SMF Arcade
Post by: Kat9119 on October 25, 2009, 10:55:26 AM
Quote from: 01_Underdog on October 16, 2009, 11:08:24 PM
Quote from: Kim Arne on October 16, 2009, 06:47:26 AM
Quote5.     Execute Modification     ./Themes/default/index.template.php     Test failed

I get this error when i want to apply mod, what to do next?

Greets
Kimmen

During install.. the arcade-mod can not find the place it wants to place its modification to that file so it fails to do so.
You must edit that file manually and add what is required.
(public_html / Themes / default / index.template.php).

Here are the edits:
Note: Only add the following edits if they are not already there. Some of them might already be added properly - but at least one of them has not been.

Find:

if (in_array($context['current_action'], array('admin',


Copy and paste this right after the above if necessary(on the same line):

'managegames', 'arcadesettings', 'arcadecategory',


Find:

if (in_array($context['current_action'], array('search',


Copy and paste this right after the above  if necessary(on the same line):

'arcade',


Find:

// How about the [search] button?


Add the following BEFORE the above code( if necessary):

echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
</td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



UD

Thanks for these edits. Just what I needed to finish my install on 1.1.10 custom theme! Glad they were here since they weren't on the mod page.
Title: Re: SMF Arcade
Post by: Nameless? on October 25, 2009, 01:38:42 PM
this picture is from either vBulletin v3 arcade or IPB Arcade.
Possibly for the version 2.0 rc1.2
Title: Re: SMF Arcade
Post by: Kat9119 on October 25, 2009, 05:12:54 PM
are there any FREE and LEGAL programs to edit the code of a swf so I can change the submit button to submit to my site? I know NOTHING about flash...
Title: Re: SMF Arcade
Post by: DragonKith on October 25, 2009, 06:26:06 PM
Where would i find arcade games for my board since i install SimplePortal on my board i couldn't find any games at all online can someone give me some advice where to look for some games

Title: Re: SMF Arcade
Post by: Kat9119 on October 25, 2009, 07:17:20 PM
They should really give directions on how to edit the files, its not their fault if someone goes against copyright

There are tons of OLD games I'd love to use, but would never be able to find anyone to contact. The submit buttons cause errors when I put them in my arcade
Title: Re: SMF Arcade
Post by: Nameless? on October 26, 2009, 09:31:21 AM
Quote from: DragonKith on October 25, 2009, 06:26:06 PM
Where would i find arcade games for my board since i install SimplePortal on my board i couldn't find any games at all online can someone give me some advice where to look for some games

Hey DragonKith, try go here http://games.smfarcade.info/index.php?action=old hope it helps you
Title: Re: SMF Arcade
Post by: Nameless? on October 26, 2009, 09:32:57 AM
Kat, if you want arcade support, try ask gbsothere, hes great with Arcade Support.
Title: Re: SMF Arcade
Post by: Skhilled on October 26, 2009, 03:10:05 PM
Quote from: Kat9119 on October 25, 2009, 05:12:54 PM
are there any FREE and LEGAL programs to edit the code of a swf so I can change the submit button to submit to my site? I know NOTHING about flash...

There are many legal programs to edit the code but doing it without permission from the person(s) who wrote the code is illegal.

Quote from: DragonKith on October 25, 2009, 06:26:06 PM
Where would i find arcade games for my board since i install SimplePortal on my board i couldn't find any games at all online can someone give me some advice where to look for some games

http://www.smfarcade.info/forum/index.php?topic=4787.0 (http://www.smfarcade.info/forum/index.php?topic=4787.0)

Quote from: Kat9119 on October 25, 2009, 07:17:20 PM
They should really give directions on how to edit the files, its not their fault if someone goes against copyright

There are tons of OLD games I'd love to use, but would never be able to find anyone to contact. The submit buttons cause errors when I put them in my arcade

We will not help someone to commit an illegal act as you are openly proposing to do.

Quote from: Nameless? on October 26, 2009, 09:32:57 AM
Kat, if you want arcade support, try ask gbsothere, hes great with Arcade Support.

I'm quite sure he would not help you with that particular query either.
Title: Re: SMF Arcade
Post by: tommybishop on October 28, 2009, 01:16:36 AM
Hello,

I have installed SMF Arcade on my forum (1.1.10) and am trying to install it manually on custom themes, yet when i click on parse no matter what version I select or what version of SMF i select i get

"Sorry, but this modification does not appear to be compatible with the selected version."

I have also recieved an error message something like

"Sorry, but this modification does not appear to be authorized for download yet."

Does anyone have any idea what's going on there, or have the parse instructions? 

Thank you for any help, it is much appreciated.
Title: Re: SMF Arcade
Post by: Chen Zhen on October 28, 2009, 01:34:25 AM
Quote from: tommybishop on October 28, 2009, 01:16:36 AM
Hello,

I have installed SMF Arcade on my forum (1.1.10) and am trying to install it manually on custom themes, yet when i click on parse no matter what version I select or what version of SMF i select i get

"Sorry, but this modification does not appear to be compatible with the selected version."

I have also recieved an error message something like

"Sorry, but this modification does not appear to be authorized for download yet."

Does anyone have any idea what's going on there, or have the parse instructions? 

Thank you for any help, it is much appreciated.

SMF Arcade v2.0.18 (http://custom.simplemachines.org/mods/index.php?action=download;mod=36;id=118894) is the version for SMF 1.1.10

It should work.
Are you sure you weren't trying to install the other version that is for SMF2 ?

UD
Title: Re: SMF Arcade
Post by: tommybishop on October 28, 2009, 01:48:06 AM
I'm selecting the same one I selectedwhen I first installed it (trying to install on another theme) and Even so I selected both SMF_Arcade_2.0.18 and SMF_Arcade_2.5_Beta_7  just to make sure, and both give me the same message when i attempt to parse.  In fact I went down the line on the SMF versions as well, did every combination possible and not a single one would pop up anything but that error message for me.
Title: Re: SMF Arcade
Post by: tommybishop on October 28, 2009, 05:29:03 PM
So would any one have an idea of how to get the parse, or is there any way i could get a copy of the parse for smf version 1.1.10... please, any help would be appreciated
Title: Re: SMF Arcade
Post by: gbsothere on October 28, 2009, 05:52:28 PM
Quote from: tommybishop on October 28, 2009, 05:29:03 PM
So would any one have an idea of how to get the parse, or is there any way i could get a copy of the parse for smf version 1.1.10... please, any help would be appreciated


Tommy, I'm not sure why it hasn't been changed on the mod's page to reflect the parsing for 1.1.10, but the instructions in the .xml file are the same as the parsing instructions for 1.1.9, so you should be able to use that for parsing.

It's worked for me on one of my test boards.   If you're using a custom theme, you'll want to edit those templates and language files, as well.   :)
Title: Re: SMF Arcade
Post by: tommybishop on October 28, 2009, 06:16:25 PM
thank you very much, i had thought about doing that but didn't know if it would work out right, thank you very much sir.
Title: Re: SMF Arcade
Post by: Skhilled on October 29, 2009, 08:13:01 AM
You can also use this parser:

http://resourcez.biz/PackageParser/
Title: Re: SMF Arcade
Post by: LBizGrl on October 30, 2009, 02:54:59 PM
HELP! :(

I tried to install the package. It put this text above header:

$txt['arcade'] = 'Arcade'; $txt['arcade_admin'] = 'Arcade Admin'; $txt['arcade_manage_games'] = 'Games'; $txt['arcade_manage_category'] = 'Categories'; $txt['arcade_settings'] = 'Settings'; // Permission names and help $txt['permissiongroup_arcade'] = 'Arcade'; $txt['permissionname_arcade_view'] = 'View Arcade'; $txt['permissionhelp_arcade_view'] = 'May access Arcade and use basic features like search and view highscores'; $txt['permissionname_arcade_play'] = 'Play on Arcade'; $txt['permissionhelp_arcade_play'] = 'Allows member to play on arcade, in games which he/she has rights to'; $txt['permissionname_arcade_admin'] = 'Administrate arcade'; $txt['permissionhelp_arcade_admin'] = 'Arcade Administrator can Install/Edit/Delete game, Delete scores and edit settings for arcade'; $txt['permissionname_arcade_view'] = 'View Arcade'; $txt['permissionhelp_arcade_view'] = 'May access Arcade and use basic features like search and view highscores'; $txt['permissionname_arcade_favorite'] = 'Use Favorites feature'; $txt['permissionhelp_arcade_favorite'] = 'Allows member to favorite and unfavorite games'; $txt['permissionname_arcade_submit'] = 'Save scores'; $txt['permissionhelp_arcade_submit'] = 'Allows users to save their scores.'; $txt['permissionname_arcade_rate'] = 'Rate games'; $txt['permissionhelp_arcade_rate'] = 'Allows users to rate games.'; $txt['permissionname_arcade_comment'] = 'Allow to comment/edit comment'; $txt['permissionhelp_arcade_comment'] = 'Allows user to edit comments, own or any'; $txt['permissionname_arcade_comment_any'] = 'Any'; $txt['permissionname_arcade_comment_own'] = 'Own'; // Errors if they can't do something $txt['cannot_arcade_play'] = 'You are not allowed to play games!'; $txt['cannot_arcade_view'] = 'You are not allowed to access arcade.'; $txt['cannot_arcade_favorite'] = 'You are not allowed to favorite games'; $txt['cannot_arcade_rate'] = 'You are not allowed to rate games'; $txt['cannot_arcade_comment_own'] = 'You are not allowed to comment'; // Who's online $txt['who_arcade'] = 'Viewing Arcade index'; $txt['who_arcade_play'] = 'Playing %s on Arcade'; $txt['who_arcade_highscore'] = 'Viewing highscores of %s on Arcade'; // Help $txt['arcade_max_scores_help'] = 'Maximum scores that will be stored per member. (0 means unlimited)'; $txt['arcade_membergroups_help'] = 'These groups will be allowed to play and view highscores. Others will not see this game, only used if permission mode will use game permissions.';


THEN, I tried to uninstall and the above text remain. It never said error or anyting. :( I am using 1.1.10 and sus theme I really just want the words gone from top. HELP!

Link:

fatbegoneclub.com
Title: Re: SMF Arcade
Post by: jeza on October 30, 2009, 03:59:04 PM
Thats an error in the modifications-english.php file in your language folder.

You'll find the closing php tag ?> has been left above those entries due to another mod overwriting the end incorrectly. Find that closing tag, remove it and place it at the very end leaving a space above it.
Title: Re: SMF Arcade
Post by: LBizGrl on October 30, 2009, 04:24:30 PM
Did nothing :(

Any other ideas?

I mean I have looked through every file I could think of and do not even see the above text in it. :(
Title: Re: SMF Arcade
Post by: jeza on October 30, 2009, 04:32:47 PM
Can you attach your Modifications.english.php file please.
Title: Re: SMF Arcade
Post by: LBizGrl on October 30, 2009, 04:38:46 PM
Sure :)
Title: Re: SMF Arcade
Post by: jeza on October 30, 2009, 04:51:29 PM
Theres something strange going on here!

The text you posted is the arcade text entered into the modifications.english.php. That file you attached does not contain that text and it should.

Have you got two or more forums running?
Title: Re: SMF Arcade
Post by: LBizGrl on October 30, 2009, 04:52:33 PM
Nope. Just the one. It is very strange. :( There MUST be a way for fix it though...
Title: Re: SMF Arcade
Post by: jeza on October 30, 2009, 04:54:35 PM
Have you copied any files over to the sus theme?
Title: Re: SMF Arcade
Post by: LBizGrl on October 30, 2009, 04:55:12 PM
What do you mean? The language?
Title: Re: SMF Arcade
Post by: jeza on October 30, 2009, 04:56:46 PM
Yes
Title: Re: SMF Arcade
Post by: LBizGrl on October 30, 2009, 04:57:48 PM
Yes, I tried that and it did not fix the issue either. :(
Title: Re: SMF Arcade
Post by: jeza on October 30, 2009, 05:02:33 PM
What folder was that file you attached in, the one in the sus theme or the one in default?
Title: Re: SMF Arcade
Post by: LBizGrl on October 30, 2009, 05:03:22 PM
both
Title: Re: SMF Arcade
Post by: LBizGrl on October 30, 2009, 05:04:42 PM
Not both when I started.
Title: Re: SMF Arcade
Post by: jeza on October 30, 2009, 05:12:33 PM
If both files are identical, I think thats what you are saying, then the only conclusion is that the text was done manually into a different file.
Did you do manual edits?
Are both files identical?
Title: Re: SMF Arcade
Post by: LBizGrl on October 30, 2009, 05:19:03 PM
identical. nothing was touched in them. Never even saw the above text in any file either.
Title: Re: SMF Arcade
Post by: jeza on October 30, 2009, 05:54:09 PM
Would you be able to zip all your language files and pm me the link?
Title: Re: SMF Arcade
Post by: Chen Zhen on October 30, 2009, 08:17:12 PM
Quote from: LBizGrl on October 30, 2009, 05:19:03 PM
identical. nothing was touched in them. Never even saw the above text in any file either.

In the install file for the arcade, the edit for the Modifications.english file is directly below the /default/index.template.php edit.
It is possible that the install file was corrupt and shoved those variable settings inside the index file in error.

UD

Title: Re: SMF Arcade
Post by: SnowWidow on October 31, 2009, 04:42:30 PM
I installed the arcade without any problems this afternoon. I installed a few game packs and suddenly there is no "arcade" section in my admin panel anymore. The arcade is still working fine, but I have no access to it via the admin panel.
I can get to the packages page, but all I would really be able to do is uninstall it, which I thought to do, but when I click on it, it tells me:

Execute Modification     ./Themes/default/index.template.php     Test failed
Execute Modification    ./Themes/default/languages/Modifications.english.php    Test failed

Which is strange, because I didn't have that at all when I originally installed it. I haven't uninstalled it, but I can't access anything for it.

Any suggestions?
Title: Re: SMF Arcade
Post by: gbsothere on October 31, 2009, 06:32:48 PM
What version of SMF and what version of Arcade?  Are you using the Default theme, or a custom theme?

:)
Title: Re: SMF Arcade
Post by: SnowWidow on October 31, 2009, 06:37:24 PM
duh. I always forget that part. SMF 1.1.10 and I installed the 2.0.18 arcade. I am using the Dilber Multicolor theme.

Title: Re: SMF Arcade
Post by: gbsothere on October 31, 2009, 07:02:27 PM
Can you attach a copy of your edited Subs.php and Modifications.english.php?
Title: Re: SMF Arcade
Post by: SnowWidow on October 31, 2009, 07:28:36 PM
as you can see from the screen shots, it's just dissapeared, but still there. I don't know how else to explain it. I remembered seeing the permissions (I changed it so guests couldn't play) and went to see if I could change that and thats when I  noticed yet another invisible area.
Title: Re: SMF Arcade
Post by: gbsothere on October 31, 2009, 07:38:08 PM
Snow, could you pull your Subs.php, ManagePermissions.php and your Modifications.english.php from your server and attach them here, so that I can take a look at the editing?   :)
Title: Re: SMF Arcade
Post by: SnowWidow on October 31, 2009, 07:45:57 PM
Here's the managepermissions, the other two are on my last post. At least I think I uploaded the correct ones.
Title: Re: SMF Arcade
Post by: gbsothere on October 31, 2009, 07:47:54 PM
Quote from: SnowWidow on October 31, 2009, 07:45:57 PM
Here's the managepermissions, the other two are on my last post. At least I think I uploaded the correct ones.


You're quite right, Snow, I was so fixated on your screen shots that I completely missed them.   :)

I'll take a look at them.

Title: Re: SMF Arcade
Post by: gbsothere on October 31, 2009, 07:56:50 PM
Snow, I did find an error in your ManagePermissions.php and I did find that your Modifications.english.php had no arcade edits, at all. Please upload the attached to your server (the ManagePermissions.php to your Sources folder and the Modifications.english.php to both your Default/Languages folder and your Dilber theme's Language folder).

Did you edit both the Dilber index.template.php and the SMF Default index.template.php, as well?

If either one (or both) was not edited (you mentioned a failed test) and you'd like me to add those edits, please attach them.

:)
Title: Re: SMF Arcade
Post by: SnowWidow on October 31, 2009, 08:01:33 PM
I didn't do both because nobody on my forum uses the default theme and I have the "default" set to the Dilber one. I didn't get the failed test until I went to try to figure out what happened. When I installed the arcade it installed perfectly with no errors at all.

I'll upload those now and let you know if it works...
Title: Re: SMF Arcade
Post by: SnowWidow on October 31, 2009, 08:06:14 PM
It worked... thank you very much. I did notice that the Mod file had no mention of the arcade at all. Any ideas on what happened?
Title: Re: SMF Arcade
Post by: gbsothere on October 31, 2009, 08:10:06 PM
Quote from: SnowWidow on October 31, 2009, 08:06:14 PM
It worked... thank you very much. I did notice that the Mod file had no mention of the arcade at all. Any ideas on what happened?


Well, I'm assuming you installed via the package manager, since the mod shows as "Installed" in your packages' Mods list.  I would guess that the edits were placed, as they naturally would be, on the Modifications.english.php file located in Default/Languages, but they would not be added to a custom theme's language file.  That would have to be done manually.

I'm glad it's sorted for you. 
Title: Re: SMF Arcade
Post by: Skhilled on November 01, 2009, 03:34:31 AM
LBizGrl, check Modifications.english-utf8.php and see if the code is correct. It should be an exact duplicate of Modifications.english.php.

Title: Re: SMF Arcade
Post by: LBizGrl on November 01, 2009, 08:18:12 PM
Quote from: Skhilled on November 01, 2009, 03:34:31 AM
LBizGrl, check Modifications.english-utf8.php and see if the code is correct. It should be an exact duplicate of Modifications.english.php.

THANK YOU SOOOOO much Skhilled!!!! That did it! I appreciate your time! <3
Title: Re: SMF Arcade
Post by: xMichael2008x on November 01, 2009, 09:59:05 PM
Does anyone have new game packs, I have downloaded all 16 on the SMF-Arcade website and I am wondering if anyone here has made their own with newer games to add on.

Regards,
Michael
Title: Re: SMF Arcade
Post by: gbsothere on November 01, 2009, 10:53:18 PM
Michael, SMF Arcade has information on their main site about where to find games, including this link:

http://www.smfarcade.info/forum/index.php?topic=4787.msg29322#msg29322 (http://www.smfarcade.info/forum/index.php?topic=4787.msg29322#msg29322)

Some of these sites require that you produce a screenshot (or other proof) that your site does have Arcade installed before you are allowed to download.

:)
Title: Re: SMF Arcade
Post by: Skhilled on November 02, 2009, 09:11:12 AM
Quote from: LBizGrl on November 01, 2009, 08:18:12 PM
Quote from: Skhilled on November 01, 2009, 03:34:31 AM
LBizGrl, check Modifications.english-utf8.php and see if the code is correct. It should be an exact duplicate of Modifications.english.php.

THANK YOU SOOOOO much Skhilled!!!! That did it! I appreciate your time! <3

You're welcome. :)
Title: Re: SMF Arcade
Post by: TheVenom on November 02, 2009, 12:40:59 PM
trying to get the file edits for 1.1.10 but it says not compatible?
Title: Re: SMF Arcade
Post by: gbsothere on November 02, 2009, 01:06:18 PM
You can either use this parser:

http://resourcez.biz/PackageParser/ (http://resourcez.biz/PackageParser/)

or the parsing for 1.1.9 will work.  Those edits are the same as the .xml instructions.

:)
Title: Re: SMF Arcade
Post by: TheVenom on November 02, 2009, 01:16:11 PM
thanks :)
Title: Re: SMF Arcade
Post by: gbsothere on November 02, 2009, 01:26:06 PM
If you're using a custom theme, Venom, make sure you edit those templates and language files, as well.   :)
Title: Re: SMF Arcade
Post by: xMichael2008x on November 02, 2009, 03:14:59 PM
Quote from: gbsothere on November 01, 2009, 10:53:18 PM
Michael, SMF Arcade has information on their main site about where to find games, including this link:

http://www.smfarcade.info/forum/index.php?topic=4787.msg29322#msg29322 (http://www.smfarcade.info/forum/index.php?topic=4787.msg29322#msg29322)

Some of these sites require that you produce a screenshot (or other proof) that your site does have Arcade installed before you are allowed to download.

:)

Thank you so much for the informative replay  8)
Title: Re: SMF Arcade
Post by: gbsothere on November 02, 2009, 03:26:58 PM
Quote from: xMichael2008x on November 02, 2009, 03:14:59 PM


Thank you so much for the informative replay  8)



:D   

I hope it was.  IBP (mentioned on that link) is one of the best sources out there.   Also, Invisiongames.org. 
Title: Re: SMF Arcade
Post by: wonslung on November 10, 2009, 04:07:22 PM
I have a problem.  I've installed this package and the install seemed to work, but none of the games i've installed actually show up.  I see a quick loading bar, then an empty space.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.freeimagehosting.net%2Fuploads%2Fth.be1f5207f4.png&hash=0f06a8689ec8fc316872a997a8f5fc391476f9fd) (http://www.freeimagehosting.net/image.php?be1f5207f4.png)

On games like duckhunt i can hear the intro music but i'm getting no video.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.freeimagehosting.net%2Fimage.php%3Fbe1f5207f4.png&hash=7e834c0ff266e51f4982d5e37a89856d23c1a830)
Title: Re: SMF Arcade
Post by: gbsothere on November 10, 2009, 04:19:27 PM
Wonslung, have a look at the wiki/faq at SMF Arcade's main site, particularly this link:

http://wiki.smfarcade.info/SMF_Arcade/FAQ#Games_do_not_show_an_image (http://wiki.smfarcade.info/SMF_Arcade/FAQ#Games_do_not_show_an_image)

I'm not sure if I'm completely understanding your issue but the wiki is the best place to start.

:)
Title: Re: SMF Arcade
Post by: wonslung on November 10, 2009, 07:02:25 PM
The image for the game shows up on the list but when i try to PLAY the game, i get no video.

I can hear the audio though.  All the permissions are correct, the names are correct as well.  Like i said, i can HEAR the games but i cant' SEE them so it's something odd.
Title: Re: SMF Arcade
Post by: gbsothere on November 10, 2009, 08:31:52 PM
Quote from: wonslung on November 10, 2009, 07:02:25 PM
The image for the game shows up on the list but when i try to PLAY the game, i get no video.

I can hear the audio though.  All the permissions are correct, the names are correct as well.  Like i said, i can HEAR the games but i cant' SEE them so it's something odd.


wonslung, are these gamepack zip games from SMF Arcade or are they v32 (or tar) games? 

Also, what version of SMF, what version of Arcade and are you using a custom theme?  Is Javascript enabled?

Do the games show up if you browse directly to the .swf file?

Are you using free hosting?
Title: Re: SMF Arcade
Post by: N.E.Media on November 11, 2009, 12:08:34 PM
I've installed newest version of the Arcade on 1.1.10 with no errors.

Runs great for me!

With 5 other remote users testing - 2 say it works great and 3 report that they can't see any games or see red x's.

Of the 3, one was using IE7 and the other 2 were using latest Firefox.

They all tried refreshing and cookie replacement.

Anything I can do on my end?


Thanks!

Dan

Title: Re: SMF Arcade
Post by: gbsothere on November 11, 2009, 12:16:04 PM
N.E. Media, take a look at this link first, before trying other things, just to see if this might have something to do with it:

http://wiki.smfarcade.info/SMF_Arcade/FAQ#Some_members.2Fmembergroups_can_play_while_others_cannot.21 (http://wiki.smfarcade.info/SMF_Arcade/FAQ#Some_members.2Fmembergroups_can_play_while_others_cannot.21)


:)
Title: Re: SMF Arcade
Post by: wonslung on November 12, 2009, 02:04:11 AM
Quote from: gbsothere on November 10, 2009, 08:31:52 PM
Quote from: wonslung on November 10, 2009, 07:02:25 PM
The image for the game shows up on the list but when i try to PLAY the game, i get no video.

I can hear the audio though.  All the permissions are correct, the names are correct as well.  Like i said, i can HEAR the games but i cant' SEE them so it's something odd.


wonslung, are these gamepack zip games from SMF Arcade or are they v32 (or tar) games? 

Also, what version of SMF, what version of Arcade and are you using a custom theme?  Is Javascript enabled?

Do the games show up if you browse directly to the .swf file?

Are you using free hosting?
i tried both the gamepack zips and the single games, i get the same problem regardless.  No, this is not free hosting, this is my own server.  Java script is enabled as far as i know (i never disabled it, and the games work on OTHER sites)

smf 1.1.10
smf arcade 2.0.18

If i browse directly to the swf it works fine.
Title: Re: SMF Arcade
Post by: gbsothere on November 12, 2009, 07:58:37 AM
wonslung, I realize this may sound far-fetched but, using Duck Hunt as an example, since you're able to hear the sound but not see the game, go to Admin---> Arcade Admin---> Games and click on the game Duck Hunt.  Scroll down its settings to the game's dimensions (at the bottom where you see "Settings for flash games only").  The width for this particular game should be (typically) 550 and the height 493.  Even if you show this, erase and re-enter those numbers and save your changes, then check Duck Hunt in the arcade and see if it's visible. 

Again, I realize that this is an odd request but someone actually had this very issue.  Somehow, during installation, their game sizes were effected and resetting the sizes (even the ones that appeared normal) worked for them.  It's worth a try on at least this one game, to check.


Edit:   if this doesn't work, then check to make sure that the internal name of the game (follow the same path above to check) matches the name of the .swf file exactly but without the .swf extension.  If the internal name is altered, the image won't show.  (This is the first name on the game's editing page.  The regular "Name" can be changed.)

Failing getting it to work after that, go to Arcade Admin---> Settings and make sure that the path to your games ends with Games (a capital G) and no ending slash after Games.
Title: Re: SMF Arcade
Post by: wonslung on November 12, 2009, 11:45:18 AM
I'll try it but none of the games work.

i deleted all the game packs, and loaded games one by one...still nothing
asteroids didn't work....last one i tried.

I'll check again thouhg.


Edit:

man, i feel stupid.
All games are loading in with sizes of 0 0

thanks!
Title: Re: SMF Arcade
Post by: gbsothere on November 12, 2009, 12:19:28 PM
I'm sorry that's happening, wonslung, and it seems to depend on some servers.  It's not common but it does happen.

I'm glad it's working for you, now, though.   :)
Title: Re: SMF Arcade
Post by: wonslung on November 12, 2009, 02:19:02 PM
yah, i'm having another issue now,

Some of my games won't save scores...i get this strange message from time to time saying it can't save my score due to session being closed...though other times it seems fine.


I Checked the wiki....and it says to make sure that your Games directory doesn't have a trailing /
i'm not sure how to fix this...

when i go to myhost/Games
it takes me to myhost/Games/ with the trailing slash, and shows the dir listing....
Title: Re: SMF Arcade
Post by: Chen Zhen on November 12, 2009, 03:10:44 PM
Quote from: wonslung on November 12, 2009, 02:19:02 PM
yah, i'm having another issue now,

Some of my games won't save scores...i get this strange message from time to time saying it can't save my score due to session being closed...though other times it seems fine.


I Checked the wiki....and it says to make sure that your Games directory doesn't have a trailing /
i'm not sure how to fix this...

when i go to myhost/Games
it takes me to myhost/Games/ with the trailing slash, and shows the dir listing....

Actually, for saving scores the url would have an 'index.php?' heading...

ie. This example is a game trying to save as ipb32:

http://YOUR_SITE/index.php?autocom=arcade&amp;do=savescore 


I am thinking you are receiving an error message due to having the wrong save type set for certain games.

To figure out the proper setting - simply do the following:

- Make sure error logging is turned on
- Try to save a score for the game that fails to save
- Navigate to Admin / Maintenance / Logs / Error Log / database

Within the first few lines of error codes that are displayed you should see where the game tried to save and the smf log will tell you which one it 'should' have been.
Now edit the game and change the save type appropriately.

You could also use trial and error if you wish. Most games are smf 1, ipb or ipb 3.2

UD
Title: Re: SMF Arcade
Post by: gbsothere on November 12, 2009, 05:18:48 PM
@wonslung

It may take what Underdog has suggested but to answer your question about the Games path, just go to Admin---> Admin Arcade---> Settings and check "Path to games directory".  Check the end of that path (and also the URL) and if you see an end slash after Games, remove it and save your changes.

:)
Title: Re: SMF Arcade
Post by: Chen Zhen on November 13, 2009, 12:52:33 AM

That error code also comes up when the game name is incorrect for smf 1 or ibp v2 type saves.
The file name and the internal name must match and must be whatever game name is set in the save subroutine inside the swf itself.

UD


Title: Re: SMF Arcade
Post by: Jaba on November 20, 2009, 12:06:19 PM
Hi can't save scores any more!
I've just gone through a downgrade so I could uninstall SMF Arcade 2.0.9
I think I remember being told that's how I would get around upgrading Arcade!
Now I'm back up to smf 1.1.10 and have uploaded and installed latest Ver of SMF Arcade 2.0.18

I don't remember when it stopped alloying scores to be saved but hoped going through upgrading it would fix the problem!

Right at the end I got the error;
"A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again."

I had set all to 777 on most files and folder before hand!
I got the "import games and scores now" message at end and this has worked. And "The package was installed successfully" message on Arcade install.

Anyone have info on fixing why scores are not saving?
Thanx
Title: Re: SMF Arcade
Post by: jeza on November 20, 2009, 03:21:54 PM
Please check this link Jaba

http://wiki.smfarcade.info/SMF_Arcade/FAQ#Scores_do_not_save
Title: Re: SMF Arcade
Post by: Jaba on November 20, 2009, 07:34:25 PM
Thanx jeza
Not sure how it got in there as it was working before! www was in the url setting, got rid of that and scores can save now :)
I have "Search engine friendly URLs" set on BTW and not causing problems!
Title: Re: SMF Arcade
Post by: MATTEK on November 26, 2009, 10:44:33 PM
My members are dieing for the arcade. Is there an official release date for SMF2.0 RC2?
Title: Re: SMF Arcade
Post by: niko on November 27, 2009, 09:42:38 AM
http://www.smfarcade.info/forum/index.php?topic=6598.0

Public release might follow on this or next weekend
Title: Re: SMF Arcade
Post by: niko on November 29, 2009, 03:23:28 AM
SMF Arcade 2.5 RC1 Public for SMF 2.0 RC2 now available:

http://www.smfarcade.info/forum/index.php?topic=6638.0
Title: Re: SMF Arcade
Post by: LC on November 29, 2009, 04:36:56 AM
Hi there, I was interested in installing this mod on my 1.1.10 custom theme forum, when I went to install it, I got this error.

Execute Modification   ./Sources/Subs.php   Test failed


I tried to manually install the Subs.php edits, but then I get this error when I installed afterwards.

Fatal error: require_once() [function.require]: Failed opening required '/home/site/Sources/ArcadeInstall.php' (include_path='.:/usr/share/pear') in /home/site/Packages/temp/package_install.php on line 25

I think it could have something to do with the custom theme, but I could be wrong. Any help would be appreciated. Thanks.
Title: Re: SMF Arcade
Post by: scimmiotto on November 29, 2009, 08:03:08 AM
tnx for this great script man, it simply rocks !!!

edit: i use smf 2.0 rc2 and when i go in my admin panel and click on arcade (any choose u make) it gives me the

Parse error:  syntax error, unexpected ';' in /home/bebneto/public_html/ingegneria/Sources/Subs-ArcadeAdmin.php on line 943

and so on...why?
Title: Re: SMF Arcade
Post by: scimmiotto on November 29, 2009, 08:59:13 AM
ok i found a bug...on line 943 u must delete the ; from

   // Try to remove destination if it exists (usually it's same so skip if fails)
               if (file_exists($to . '/' . $fileFrom) && !unlink($to . '/' . $fileFrom)


to

// Try to remove destination if it exists (usually it's same so skip if fails)
               if (file_exists($to . '/' . $fileFrom) && !unlink($to . '/' . $fileFrom))
Title: Re: SMF Arcade
Post by: the_shadow on November 29, 2009, 11:19:28 AM
hello... before this i had smf arcade installed... the i update smf to 2.0 RC 2... and now i installed new smf arcade but i can't access to settings... the pag become white!!!!

someone knows what i'ad to do?
Title: Re: SMF Arcade
Post by: kingkingston on November 29, 2009, 01:21:58 PM
Quote from: the_shadow on November 29, 2009, 11:19:28 AM
hello... before this i had smf arcade installed... the i update smf to 2.0 RC 2... and now i installed new smf arcade but i can't access to settings... the pag become white!!!!

someone knows what i'ad to do?
Do what the above post says to do
Title: Re: SMF Arcade
Post by: the_shadow on November 29, 2009, 07:46:51 PM
thnkx it work!!!!!!!!!!! :P
Title: Re: SMF Arcade
Post by: MATTEK on November 29, 2009, 08:34:07 PM
What does this mean?
Title: Re: SMF Arcade
Post by: jeza on November 30, 2009, 03:10:37 AM
Still a coulpa issues MATTEK and until they get fixed I suggest you re-download RC1 as I think, but not 100% sure this has ben addressed. Or copy over Subs-ArcadeAdmin.php from the olde beta 7 file.
Title: Re: SMF Arcade
Post by: Eclipse16V on November 30, 2009, 04:00:21 AM
Quote from: scimmiotto on November 29, 2009, 08:59:13 AM
ok i found a bug...on line 943 u must delete the ; from

   // Try to remove destination if it exists (usually it's same so skip if fails)
               if (file_exists($to . '/' . $fileFrom) && !unlink($to . '/' . $fileFrom)


to

// Try to remove destination if it exists (usually it's same so skip if fails)
               if (file_exists($to . '/' . $fileFrom) && !unlink($to . '/' . $fileFrom))


This wrong

Here the working code:

// Try to remove destination if it exists (usually it's same so skip if fails)
if (file_exists($to . '/' . $fileFrom) && !unlink($to . '/' . $fileFrom);)


to

// Try to remove destination if it exists (usually it's same so skip if fails)
if (file_exists($to . '/' . $fileFrom) && !unlink($to . '/' . $fileFrom))
Title: Re: SMF Arcade
Post by: MATTEK on November 30, 2009, 08:53:53 PM
Quote from: jeza on November 30, 2009, 03:10:37 AM
Still a coulpa issues MATTEK and until they get fixed I suggest you re-download RC1 as I think, but not 100% sure this has ben addressed. Or copy over Subs-ArcadeAdmin.php from the olde beta 7 file.

Is there any other way to upload games then?
Title: Re: SMF Arcade
Post by: perplexed on December 02, 2009, 07:00:24 AM
Quote from: gbsothere on November 12, 2009, 05:18:48 PM
@wonslung

It may take what Underdog has suggested but to answer your question about the Games path, just go to Admin---> Admin Arcade---> Settings and check "Path to games directory".  Check the end of that path (and also the URL) and if you see an end slash after Games, remove it and save your changes.

:)

Quote from: jeza on November 20, 2009, 03:21:54 PM
Please check this link Jaba

http://wiki.smfarcade.info/SMF_Arcade/FAQ#Scores_do_not_save (http://wiki.smfarcade.info/SMF_Arcade/FAQ#Scores_do_not_save)

In the FAQ it says that the Games folder should have a trailing backslash

Quote5. Remember that the /Games folder must have a capital "G" and not a small "g". Also, make sure that the URL to /Games does have a trailing backslash like this: /Games/


None of my games will save scores with SMF Arcade 2.5 RC1 Public for SMF 2.0 RC2. I've checked everything in the FAQ.  It's not a big deal for me at the moment as I'm still testing it on a test forum not a live forum but I tried and older version of SMF Arcade and also the latest e-arcade and everything works.  It only seems to be a problem with this version for me.
Title: Re: SMF Arcade
Post by: gbsothere on December 02, 2009, 08:31:43 AM
Quote from: quiteperplexed

In the FAQ it says that the Games folder should have a trailing backslash

Quote5. Remember that the /Games folder must have a capital "G" and not a small "g". Also, make sure that the URL to /Games does have a trailing backslash like this: /Games/


None of my games will save scores with SMF Arcade 2.5 RC1 Public for SMF 2.0 RC2. I've checked everything in the FAQ.  It's not a big deal for me at the moment as I'm still testing it on a test forum not a live forum but I tried and older version of SMF Arcade and also the latest e-arcade and everything works.  It only seems to be a problem with this version for me.




I've not seen that before, quiteperplexed, but it's a typo.  There should be no trailing backslash following /Games.
Title: Re: SMF Arcade
Post by: perplexed on December 02, 2009, 08:36:01 AM
yeah I thought it would be a typo.  I checked on my old arcade and there was always a trailing backslash but either way the games won't save scores.  I've only got games from SMF arcade (minesweeper included with arcade doesn't work at all btw) and games from IPB.  I could never use version 3 games previously I don't have any of those, and I've tried every setting in the arcade, and they still won't save scores.

off-topic:

QuoteIt has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.
I wonder what effect Stuck in the Middle with You has? lol
Title: Re: SMF Arcade
Post by: gbsothere on December 02, 2009, 08:54:24 AM
Quote from: quiteperplexed on December 02, 2009, 08:36:01 AM
yeah I thought it would be a typo.  I checked on my old arcade and there was always a trailing backslash but either way the games won't save scores.  I've only got games from SMF arcade (minesweeper included with arcade doesn't work at all btw) and games from IPB.  I could never use version 3 games previously I don't have any of those, and I've tried every setting in the arcade, and they still won't save scores.

off-topic:

QuoteIt has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.
I wonder what effect Stuck in the Middle with You has? lol


"Stuck In The Middle" might make me pull out a gun.   :D


I've not tested on RC2, yet.  I need to upgrade my test site from RC1_2.  Did you see this addition to the FAQ?

8. FOR SMF 2.x/Arcade 2.5.x ONLY! Checkthat the Submit System is correctly set for the type of games you haveinstalled. Remember, that this is a game's individual setting. To findthis setting, go to: Admin -> Arcade -> Games -> Edit Games-> (choose the game in question) -> Advanced Settings ->Submit System.
Title: Re: SMF Arcade
Post by: perplexed on December 02, 2009, 10:56:45 AM
yeah I saw that.  I was hopeful.  I tried all of them and still no scores saved lol
Title: Re: SMF Arcade
Post by: gbsothere on December 02, 2009, 11:09:31 AM
Hmmm....  well, there's the suggestion below, but it sounds as if you've pretty well covered everything in the FAQ.

Look in your Server Settings and see if you URL has a "www." Whether itdoes or not, the Arcade URL must match it. If it does match it but scores will not save either add it or remove it from both places. This depends on the server for which one will work best for your forum and arcade.

If that doesn't sort it, you may want to post over at http://smfarcade.info (http://smfarcade.info/) on the 2.0 board, just because the latest version is still being tested and someone may also have reported this issue (although I haven't found a recent post about it).  Sometimes, you receive a quicker solution there, simply because the staff is present there more frequently.

:)
Title: Re: SMF Arcade
Post by: perplexed on December 02, 2009, 12:34:25 PM
I've tried everything honestly but thanks for your help.  I was on the arcade site the other day searching for a solution but I didn't post my own problem yet since it's not urgent as it's not on my live forums yet, just the test site.  However, once the upgrade is done on the live forums those pesky members are going to be asking for their arcade lol
Title: Re: SMF Arcade
Post by: LC on December 02, 2009, 10:27:49 PM
Running 2 RC2 Curve

Getting this error -

Parse error: syntax error, unexpected ';' in /home/ladychaos/site/Sources/Subs-ArcadeAdmin.php on line 943

Haven't touched anything in that file, fresh from download.

Attached the file I have.


Edit: I removed this code from the Error line from the parse.

// Try to remove destination if it exists (usually it's same so skip if fails)
if (file_exists($to . '/' . $fileFrom) && !unlink($to . '/' . $fileFrom);)
continue;


And now it seems to work properly. I doubt it's a good thing to not have that in there though.
Title: Re: SMF Arcade
Post by: perplexed on December 03, 2009, 06:17:47 AM
Ladychaos, it's not that whole piece of code you need to remove, it's only the ";" from between the two ")" right at the very end of that second line.  See where it says

$fileFrom)     that should be $fileFrom))

So I would put that section of code back into the file and just remove the ";" from that line, and it will work fine.  :)  There's an explanation a few pages back too if you want to check.
Title: Re: SMF Arcade
Post by: musicman8oh8 on December 03, 2009, 11:07:13 AM
    "still getting the "main file missing" in red?"



I'm getting this very same error and the games are not being displayed although in the arcade in "text" it says you have a certain number of games to play?! Any help would be appreciated. thanks in advance.
Title: Re: SMF Arcade
Post by: gbsothere on December 03, 2009, 11:58:36 AM
Quote from: musicman8oh8 on December 03, 2009, 11:07:13 AM
    "still getting the "main file missing" in red?"



I'm getting this very same error and the games are not being displayed although in the arcade in "text" it says you have a certain number of games to play?! Any help would be appreciated. thanks in advance.



musicman, what version of SMF and what version of the arcade are you using?

Do you have a custom theme and was the arcade installed through the package manager or manually?

Title: Re: SMF Arcade
Post by: musicman8oh8 on December 03, 2009, 06:06:26 PM
Quote from: gbsothere on December 03, 2009, 11:58:36 AM
Quote from: musicman8oh8 on December 03, 2009, 11:07:13 AM
    "still getting the "main file missing" in red?"


I'm using SMF 2.0 RC2 with the default Curve Theme and SMF Arcade 2.5 RC1. As I don't really like "touching"  the forum for anything other than logging in lol I just used the package manager.

I'm getting this very same error and the games are not being displayed although in the arcade in "text" it says you have a certain number of games to play?! Any help would be appreciated. thanks in advance.



musicman, what version of SMF and what version of the arcade are you using?

Do you have a custom theme and was the arcade installed through the package manager or manually?


Title: Re: SMF Arcade
Post by: gbsothere on December 03, 2009, 06:58:48 PM
Quote from: musicman8oh8 on December 03, 2009, 06:06:26 PM


I'm using SMF 2.0 RC2 with the default Curve Theme and SMF Arcade 2.5 RC1. As I don't really like "touching"  the forum for anything other than logging in lol I just used the package manager.


Hmm... I need to upgrade my RC1.2 test forum to RC2; I should have done that by now.  *S*  But this is what I'm wondering.  When RC1.1 and then RC1.2 came along, there was an issue with the package manager not properly coding SMF files, dropping zip contents, etc.  A lot of things were going on.  I wonder, if you use the parsing instructions in the .xml file and check each SMF file for the correct edits, if you might actually find that something is amiss there?  Also, you may want to see if the package manager really did place Arcade's Source, Theme and Language files (included in the zip) where they need to go.  When I tested Arcade on RC1.1 and .2, I had a hell of a time achieving a successful installation.  I had to go in manually and, sure enough, things had to be tidied up.

:)
Title: Re: SMF Arcade
Post by: LC on December 03, 2009, 07:16:54 PM
Quote from: quiteperplexed on December 03, 2009, 06:17:47 AM
Ladychaos, it's not that whole piece of code you need to remove, it's only the ";" from between the two ")" right at the very end of that second line.  See where it says

$fileFrom)     that should be $fileFrom))

So I would put that section of code back into the file and just remove the ";" from that line, and it will work fine.  :)  There's an explanation a few pages back too if you want to check.
Oh I must have missed that post. Thank you for helping me. :)
Title: Re: SMF Arcade
Post by: musicman8oh8 on December 03, 2009, 07:51:37 PM
Quote from: gbsothere on December 03, 2009, 06:58:48 PM
Quote from: musicman8oh8 on December 03, 2009, 06:06:26 PM


I'm using SMF 2.0 RC2 with the default Curve Theme and SMF Arcade 2.5 RC1. As I don't really like "touching"  the forum for anything other than logging in lol I just used the package manager.

I was afraid of that word "manually".... that is over my head so I guess I'm stuck until I can have someone look @ it.... damn, damn, damn.... lol

Hmm... I need to upgrade my RC1.2 test forum to RC2; I should have done that by now.  *S*  But this is what I'm wondering.  When RC1.1 and then RC1.2 came along, there was an issue with the package manager not properly coding SMF files, dropping zip contents, etc.  A lot of things were going on.  I wonder, if you use the parsing instructions in the .xml file and check each SMF file for the correct edits, if you might actually find that something is amiss there?  Also, you may want to see if the package manager really did place Arcade's Source, Theme and Language files (included in the zip) where they need to go.  When I tested Arcade on RC1.1 and .2, I had a hell of a time achieving a successful installation.  I had to go in manually and, sure enough, things had to be tidied up.

:)
Title: Re: SMF Arcade
Post by: Chen Zhen on December 06, 2009, 01:05:44 AM
Quote from: quiteperplexed on December 02, 2009, 12:34:25 PM
I've tried everything honestly but thanks for your help.  I was on the arcade site the other day searching for a solution but I didn't post my own problem yet since it's not urgent as it's not on my live forums yet, just the test site.  However, once the upgrade is done on the live forums those pesky members are going to be asking for their arcade lol

Just to clarify... How is your test forum set up? Is it a sub-directory on your current forum or is it locally on your pc?
Anyhow.. double-check the directory settings from Admin / Arcade / General / Settings ...
Look at : URL to games and Path to games directory ...
make sure they are set properly.

Local installations sometimes set file destinations without slashes and have to be manually edited to reflect proper values.

Next, edit any game in question.. go to advanced settings.. make sure the internal,  directory and gamefile name all have the same common name. (gamefile name has .swf at end).

UD
Title: Re: SMF Arcade
Post by: perplexed on December 06, 2009, 06:03:47 AM
thanks but I've already done all that stuff, been using the arcade for years and can usually get it working but this time I'm stumped.  It's not a local installation, it on my server.  I can get the E-Arcade to play games and save scores but not this one.  I can wait for a non-RC version and try again, it's not urgent for me just a little frustrating. :)
Title: Re: SMF Arcade
Post by: MATTEK on December 06, 2009, 07:12:51 PM
How do I upload games?
Title: Re: SMF Arcade
Post by: gbsothere on December 06, 2009, 07:16:23 PM
Quote from: MATTEK on December 06, 2009, 07:12:51 PM
How do I upload games?


Which version is your SMF forum and are you unable to upload through the Arcade admin panel?

Title: Re: SMF Arcade
Post by: PalmBeachPreps on December 06, 2009, 08:39:54 PM
I'm getting an error when I attempt to upload/install games:

Parse error: syntax error, unexpected ';' in /home/content/p/a/l/palmbeachpreps/html/Sources/Subs-ArcadeAdmin.php on line 943
Title: Re: SMF Arcade
Post by: perplexed on December 07, 2009, 04:55:52 AM
Quote from: PalmBeachPreps on December 06, 2009, 08:39:54 PM
I'm getting an error when I attempt to upload/install games:

Parse error: syntax error, unexpected ';' in /home/content/p/a/l/palmbeachpreps/html/Sources/Subs-ArcadeAdmin.php on line 943

a few posts up and a few pages back you will find your answer

Quote from: quiteperplexed on December 03, 2009, 06:17:47 AM
Ladychaos, it's not that whole piece of code you need to remove, it's only the ";" from between the two ")" right at the very end of that second line.  See where it says

$fileFrom)     that should be $fileFrom))

So I would put that section of code back into the file and just remove the ";" from that line, and it will work fine.  :)  There's an explanation a few pages back too if you want to check.
Title: Re: SMF Arcade
Post by: GSM-S on December 07, 2009, 05:56:10 PM
How do I install this mod? I have uploaded everything, read the instructions for SMF version 2.0 RC2, and modified the files as directed until the part: "Code" in the instructions. (http://custom.simplemachines.org/mods/index.php?action=parse)
Title: Re: SMF Arcade
Post by: PalmBeachPreps on December 07, 2009, 08:33:52 PM
Quote from: quiteperplexed on December 07, 2009, 04:55:52 AM
a few posts up and a few pages back you will find your answer
Thanks!

Have you figured out how to save scores yet?  I too tried everything in the wiki!

EDIT:  I have been able to save scores on some games.
Title: Re: SMF Arcade
Post by: MATTEK on December 07, 2009, 11:21:14 PM
Quote from: gbsothere on December 06, 2009, 07:16:23 PM
Quote from: MATTEK on December 06, 2009, 07:12:51 PM
How do I upload games?


Which version is your SMF forum and are you unable to upload through the Arcade admin panel?

SMF2 RC2. It gfives me an error when I click the upload tab in the CP. I've posted the error before with no reply.
Title: Re: SMF Arcade
Post by: gbsothere on December 08, 2009, 08:00:41 AM
Quote from: MATTEK on December 07, 2009, 11:21:14 PM
SMF2 RC2. It gfives me an error when I click the upload tab in the CP. I've posted the error before with no reply.



MATTEK, if this post doesn't help you:

http://www.simplemachines.org/community/index.php?topic=29619.msg2393845#msg2393845 (http://www.simplemachines.org/community/index.php?topic=29619.msg2393845#msg2393845)

then you can try installing games manually.

To do this, first make sure that you have the directory "Games" (capital G) in your forum's root (and I'm sure you have).  Then you also want to be sure you have the directory "arcade" (spelled with a small letter a") in your forum's root as well, and inside that "arcade" directory there needs to be a directory "gamedata" (small letter "g").

If you are installing a v2 game (a game that is from a .zip and not a .tar file, that does not have a "gamedata" folder) simply unzip the game and drag its game folder found inside into your Games directory. 

If, however, you are installing a v32 game (or a game from a .tar file that has a gamedata folder inside) you want to do two things:  open the .tar file and then open the game's folder.  Inside the game's folder you will see a "gamedata" folder.  Open this.  You want to drag what is inside into the "gamedata" directory that is found in the "arcade" directory in your forum's root.  (Not into the "arcade" directory, itself, but into arcade's "gamedata" folder.)  Then you want to navigate back to the entire game folder that is found inside the .tar file on your computer (just back out of the gamedata folder, all the way to the first folder found in the .tar file) and drag that entire game folder (with everything in it) into the "Games" directory that is in your forum's root.

After doing this, when you go to your Arcade Admin and to Install Games, you will see the game you just manually uploaded listed.  Check the box next to it and click to install.

It's a bit of a hassle but it will at least get a game installed for you so that you can continue to see how your arcade operates.
Title: Re: SMF Arcade
Post by: dkharp on December 10, 2009, 08:03:08 AM
Hello, I am not for sure why I am getting this error. Any Ideas?

QuoteFatal error: require() [function.require]: Failed opening required '/home/content/j/o/h/johnnyskid/html/Packages/temp/arcadeinstall/Database.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/j/o/h/johnnyskid/html/Sources/Packages.php on line 944
Title: Re: SMF Arcade
Post by: gbsothere on December 10, 2009, 08:14:11 AM
Quote from: dkharp on December 10, 2009, 08:03:08 AM
Hello, I am not for sure why I am getting this error. Any Ideas?

QuoteFatal error: require() [function.require]: Failed opening required '/home/content/j/o/h/johnnyskid/html/Packages/temp/arcadeinstall/Database.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/j/o/h/johnnyskid/html/Sources/Packages.php on line 944





Look in /Packages and see if you have a directory "temp".  If you don't, create it (small letter "t"....  temp) and give it proper permissions, either 777 or whatever your host allows, and try the installation again.

:)
Title: Re: SMF Arcade
Post by: dkharp on December 10, 2009, 08:35:42 AM
Ok, Thank you
Title: Re: SMF Arcade
Post by: dkharp on December 10, 2009, 09:30:17 AM
I have changed it to 777 and still I get this.

Quote
Fatal error: require() [function.require]: Failed opening required '/home/content/j/o/h/johnnyskid/html/Packages/temp/arcadeinstall/Database.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/j/o/h/johnnyskid/html/Sources/Packages.php on line 944
Title: Re: SMF Arcade
Post by: gbsothere on December 10, 2009, 09:51:01 AM
It may also be that your host doesn't support 777, in which case, you'd need to ask them about permissions.

What version SMF and what version Arcade are you using?

Title: Re: SMF Arcade
Post by: dkharp on December 10, 2009, 10:11:35 AM
In my error logs it says this.

Quote: require(/home/content/j/o/h/johnnyskid/html/Packages/temp/arcadeinstall/Database.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory
Title: Re: SMF Arcade
Post by: gbsothere on December 10, 2009, 10:13:09 AM
Quote from: dkharp on December 10, 2009, 10:11:35 AM
In my error logs it says this.

Quote: require(/home/content/j/o/h/johnnyskid/html/Packages/temp/arcadeinstall/Database.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory


Which version of SMF and Arcade?

Title: Re: SMF Arcade
Post by: gbsothere on December 10, 2009, 10:33:40 AM
@ dkharp

Sorry, I have to take off for now, but let me just leave you with this in case you are still having problems.  If you are using SMF 2, the package manager can be the culprit for all sorts of installation issues.

This is what I would do.  First, just in case you didn't do this correctly, open your Packages directory found in your forum's root and inside that, create a new directory and name it temp.  Set its permissions to 777 (or try 755, if your host doesn't support 777).  Try the installation again.  If this doesn't work, then open the Arcade zip and look for a directory called "arcadeinstall".  Drag this into your "temp" directory and try the installation, again.

If you still get the error, try checking your paths to make sure they're all correct.

Good luck to you!

:)
Title: Re: SMF Arcade
Post by: dkharp on December 11, 2009, 03:22:50 AM
Thank you for that advice. I did just that and get new errors.  Do you offer paid support so I can get this installed?  I think when I uninstalled it and added e-arcade then uninstalled e-arcade and since then it wont work.  I contacted my hosting provide and made sure they are set to 777
Title: Re: SMF Arcade
Post by: gbsothere on December 11, 2009, 08:06:25 AM
@ dkharp

I'm leaving today to go out of town and I don't think I'll be back until Monday but I'll probably take my laptop with me.  I won't charge for it and I'm glad to try to help; it's just that it may take a few days because of the trip.

If you want to set up a temporary admin account for your site and PM me the log in details, along with your ftp/database acess,  I'll see what I can do.

I like to ask, though, that everyone takes a look at this link before providing sensitive personal information about their forum's access:

http://www.simplemachines.org/community/index.php?topic=87130.msg575795#msg575795 (http://www.simplemachines.org/community/index.php?topic=87130.msg575795#msg575795)


If you're uncomfortable doing that, I'd like to suggest that you register at http://smfarcade.info (http://smfarcade.info) and post your issue there.  Skhilled, Jeza and the rest of the staff are extremely knowledgeable and always ready to help.

:)
Title: Re: SMF Arcade
Post by: spiritualbeginnings on December 11, 2009, 10:10:10 AM
Hi wonder if anyone could please help we have installed SMF arcade games on my forum
But the scores are not registering, what have i missed out on the installs?
any help would be appreciated thanks.
 
Title: Re: SMF Arcade
Post by: dkharp on December 11, 2009, 12:01:59 PM
No, what you do is click on the game in admin panel and and at the bottom of the game go to advance settings. set it to the older version of games.
Title: Re: SMF Arcade
Post by: dkharp on December 11, 2009, 12:51:47 PM
gbsothere

Thank you kindly for all your help and responses. I do hope you have a great trip and a wonderful Merry Christmas!  The issue was the arcade java in the core theme. When I removed smf Aracde and installed e-aracde guess the settings were diffrent. I also just ftp'd the upgrade files over again and all is good.

take care 
Title: Re: SMF Arcade
Post by: gbsothere on December 11, 2009, 12:54:01 PM
Quote from: dkharp on December 11, 2009, 12:51:47 PM
gbsothere

Thank you kindly for all your help and responses. I do hope you have a great trip and a wonderful Merry Christmas!  The issue was the arcade java in the core theme. When I removed smf Aracde and installed e-aracde guess the settings were diffrent. I also just ftp'd the upgrade files over again and all is good.

take care



Oh, glad to hear it, dkharp!  I was just checking in before I hit the road and I'm glad to see you got it sorted. 

Have a great Christmas.   :)
Title: Re: SMF Arcade
Post by: gfa-skyranger on December 12, 2009, 09:53:08 AM
The Question is,
Where to get Games for that mod ?

I wont read 210 Pages to get that info, Put it into the 1st post of this Theme, if anyone has an Answer.
So other Ones can get that Info.

THX, regards, SkyRanger
Title: Re: SMF Arcade
Post by: dkharp on December 12, 2009, 10:30:38 AM
WOW! Sometimes reading is the best way to learn. I may be wrong.

http://askusaquestion.net (http://askusaquestion.net)

http://sleepy-arcade.ath.cx/sleepy/index.php (http://sleepy-arcade.ath.cx/sleepy/index.php)

With sleepy arcade you have to take the files out of the tar and put them in a zip folder to work.

To do this use this. http://36thid.info/MGalleryItem.php?id=216 (http://36thid.info/MGalleryItem.php?id=216)
Title: Re: SMF Arcade
Post by: GohighVoltage on December 12, 2009, 02:38:23 PM
I installed in SMF 2.0 RC2  and when I go to admin arcade settings I get error:

Parse error: syntax error, unexpected ';' in /html/forum/Sources/Subs-ArcadeAdmin.php on line 943
Title: Re: SMF Arcade
Post by: dkharp on December 12, 2009, 02:49:00 PM
Been down this road.

http://www.smfarcade.info/forum/index.php?topic=6638.0 (http://www.smfarcade.info/forum/index.php?topic=6638.0)

That should help..

uninstall smf arcade and re-install this one. http://download.smfarcade.info/ (http://download.smfarcade.info/) 
Quotethe Arcade 2.5 RC1 Public version
Title: Re: SMF Arcade
Post by: GohighVoltage on December 12, 2009, 03:12:26 PM
Dude you are awesome!  thanks!
Title: Re: SMF Arcade
Post by: niko on December 12, 2009, 03:15:52 PM
Package on mod site is now fixed too.
Title: Re: SMF Arcade
Post by: GohighVoltage on December 12, 2009, 03:45:45 PM
what is Permission mode  and how do you properly use it?  When I enable it,  guests cannot see the games.   
Title: Re: SMF Arcade
Post by: GohighVoltage on December 12, 2009, 04:00:20 PM
Under CORE FEATURES,  how come the picture file next to ARCADE is missing?
Title: Re: SMF Arcade
Post by: ishy on December 12, 2009, 06:35:46 PM
When I tried to install this, I got:

QuoteThe server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.

As far as I can tell, it hasn't done any edits, so I can't figure out what the problem is. I went through the parser, and nothing has been done. Nothing in the error log refers to this.
Title: Re: SMF Arcade
Post by: LC on December 12, 2009, 07:59:54 PM
Quote from: gfa-skyranger on December 12, 2009, 09:53:08 AM
The Question is,
Where to get Games for that mod ?

I wont read 210 Pages to get that info, Put it into the 1st post of this Theme, if anyone has an Answer.
So other Ones can get that Info.

THX, regards, SkyRanger
http://games.smfarcade.info/
Title: Re: SMF Arcade
Post by: FrelonVert on December 13, 2009, 07:50:53 AM
Hello,

Thank you for this great mod. I have version SMF Arcade 2.5 Beta 7 and I would translate it. Which files to edit?

Thank you
Title: Re: SMF Arcade
Post by: Zidane5555 on December 15, 2009, 04:20:52 PM
Alright I am very noob here so bare with me.

First of all, I want to add an arcade to my site www.soccerfanbase.com

We are using version 1.1.8 of SMF and using "Blueace" theme.

Also, here are the mods I have :

Mod Name     Version     
1.    RSS Feed Icon    1.1    [ Apply Mod ] [ List Files ] [ Delete ]
2.    SimplePortal    2.2.1    [ Apply Mod ] [ List Files ] [ Delete ]
3.    Add Favicon.ico Support    1.0    [ Uninstall ] [ List Files ] [ Delete ]
4.    Global Headers Footers    1.4.1    [ Uninstall ] [ List Files ] [ Delete ]
5.    Pretty URLs    0.9    [ Uninstall ] [ List Files ] [ Delete ]
6.    SMF Arcade    2.0.18    [ Apply Mod ] [ List Files ] [ Delete ]
7.    Qucik Register    1.0    [ Uninstall ] [ List Files ] [ Delete ]
8.    Favicon    1.2    [ Uninstall ] [ List Files ] [ Delete ]
9.    SMF Gallery Lite    2.0.5    [ Uninstall ] [ List Files ] [ Delete ]
10.    Ad Managment    2.3    [ Uninstall ] [ List Files ] [ Delete ]
11.    Aeva ~ Auto-Embed Video & Audio    7.0    [ Uninstall ] [ List Files ] [ Delete ]
12.    Aeva ~ Auto-Embed Video & Audio    6.0.71    [ List Files ] [ Delete ]
13.    Custom Tab    1.2    [ Uninstall ] [ List Files ] [ Delete ]
14.    Karma Applaud Only    1.0.1    [ Uninstall ] [ List Files ] [ Delete ]
15.    SMF File Manager    2.1.3    [ Uninstall ] [ List Files ] [ Delete ]
16.    SMF Arcade    2.5 RC1    [ List Files ] [ Delete ]

So can someone help me with telling me exactly how to add the arcade from scratch step by step. Thanks a lot !

And again, I am very noob with smf so my apology if this has been asked many times etc. :\
Title: Re: SMF Arcade
Post by: perplexed on December 15, 2009, 05:17:32 PM
Quote from: Zidane5555 on December 15, 2009, 04:20:52 PM
Alright I am very noob here so bare with me.

First of all, I want to add an arcade to my site www.soccerfanbase.com (http://www.soccerfanbase.com)

We are using version 1.1.8 of SMF and using "Blueace" theme.

Also, here are the mods I have :

Mod Name     Version     
1.    RSS Feed Icon    1.1    [ Apply Mod ] [ List Files ] [ Delete ]
2.    SimplePortal    2.2.1    [ Apply Mod ] [ List Files ] [ Delete ]
3.    Add Favicon.ico Support    1.0    [ Uninstall ] [ List Files ] [ Delete ]
4.    Global Headers Footers    1.4.1    [ Uninstall ] [ List Files ] [ Delete ]
5.    Pretty URLs    0.9    [ Uninstall ] [ List Files ] [ Delete ]
6.    SMF Arcade    2.0.18    [ Apply Mod ] [ List Files ] [ Delete ]
7.    Qucik Register    1.0    [ Uninstall ] [ List Files ] [ Delete ]
8.    Favicon    1.2    [ Uninstall ] [ List Files ] [ Delete ]
9.    SMF Gallery Lite    2.0.5    [ Uninstall ] [ List Files ] [ Delete ]
10.    Ad Managment    2.3    [ Uninstall ] [ List Files ] [ Delete ]
11.    Aeva ~ Auto-Embed Video & Audio    7.0    [ Uninstall ] [ List Files ] [ Delete ]
12.    Aeva ~ Auto-Embed Video & Audio    6.0.71    [ List Files ] [ Delete ]
13.    Custom Tab    1.2    [ Uninstall ] [ List Files ] [ Delete ]
14.    Karma Applaud Only    1.0.1    [ Uninstall ] [ List Files ] [ Delete ]
15.    SMF File Manager    2.1.3    [ Uninstall ] [ List Files ] [ Delete ]
16.    SMF Arcade    2.5 RC1    [ List Files ] [ Delete ]

So can someone help me with telling me exactly how to add the arcade from scratch step by step. Thanks a lot !

And again, I am very noob with smf so my apology if this has been asked many times etc. :\

First of all you should upgrade your forum to 1.1.11 for security reasons.  You are a couple of versions behind at 1.1.8

Secondly you have two versions of the arcade listed in that list of mods.  One still says "apply mod" so I am assuming you haven't tried to install that one yet, and the second one says "list files/delete" so I'm assuming you have tried to install this one but since it's the wrong version for you it won't install.

Quote
SMF_Arcade_2.0.18.zip for 1.1.x
SMF_Arcade_2.5_RC1_Public.zip for 2.0 RC2

Have you tried to install Arcade 2.0.18 yet?  If so did you get any errors?  If so, please post them here.

I would delete this one from your mod list btw - 16.    SMF Arcade    2.5 RC1    [ List Files ] [ Delete ] -as it is not for the SMF 1.1 series.
Title: Re: SMF Arcade
Post by: Zidane5555 on December 15, 2009, 05:57:30 PM
Yeah I did encouter an error during the 2.0.8 which is why I downloaded the 2.5 to see if it makes any difference.

This is where it happens :

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

1.     Execute Modification     ./index.php     Test successful
2.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
3.    Execute Modification    ./Sources/Subs.php    Test successful
4.    Execute Modification    ./Sources/Who.php    Test successful
5.    Execute Modification    ./Themes/default/index.template.php    Test failed
6.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
7.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
8.    Extract File    ./Sources/Arcade.php    
9.    Extract File    ./Sources/ArcadeInstall.php    
10.    Extract File    ./Sources/ArcadeList.php
Title: Re: SMF Arcade
Post by: MATTEK on December 15, 2009, 06:22:03 PM
I am still unable to upload games through the upload option in the Arcade CP. I'm using 2.0 RC2
Title: Re: SMF Arcade
Post by: perplexed on December 15, 2009, 07:35:17 PM
Quote from: Zidane5555 on December 15, 2009, 05:57:30 PM
Yeah I did encouter an error during the 2.0.8 which is why I downloaded the 2.5 to see if it makes any difference.

This is where it happens :

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

1.     Execute Modification     ./index.php     Test successful
2.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
3.    Execute Modification    ./Sources/Subs.php    Test successful
4.    Execute Modification    ./Sources/Who.php    Test successful
5.    Execute Modification    ./Themes/default/index.template.php    Test failed
6.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
7.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
8.    Extract File    ./Sources/Arcade.php    
9.    Extract File    ./Sources/ArcadeInstall.php    
10.    Extract File    ./Sources/ArcadeList.php

Ok well that's not too bad.  You just have one fail - 5.    Execute Modification    ./Themes/default/index.template.php    Test failed - which is probably because of another mod you have installed.  What you can do is install the arcade mod and then manually edit that file to add the code that the package manager is failing on.  Go this page http://custom.simplemachines.org/mods/index.php?mod=36 and follow the manual instructions for smf (top right hand corner of page) Select the SMF_Arcade_2.0.18.zip and your version of SMF, then click the parse button, and scroll down the instructions until you find the edits you need to do for index.template.php.  It's about halfway down the page and there are three you have to do which is probably to make the arcade button appear on the navigation bar.  Make sure you back up all your files and DB before making any changes, and you should be ok.  It's not hard to do, don't worry.
Title: Re: SMF Arcade
Post by: LBizGrl on December 15, 2009, 08:14:49 PM
I have 1.1.11 Will it be updated to that compatibility soon?
Title: Re: SMF Arcade
Post by: fwitt on December 16, 2009, 05:09:27 PM
Quote from: LBizGrl on December 15, 2009, 08:14:49 PM
I have 1.1.11 Will it be updated to that compatibility soon?

I have the newest version running on 1.1.11 already no problems so far.
2.0.18 in smfarcade.info downloads page installs on 1.1.11
Title: Re: SMF Arcade
Post by: Skhilled on December 17, 2009, 10:03:26 AM
Quote from: GohighVoltage on December 12, 2009, 02:38:23 PM
I installed in SMF 2.0 RC2  and when I go to admin arcade settings I get error:

Parse error: syntax error, unexpected ';' in /html/forum/Sources/Subs-ArcadeAdmin.php on line 943


Did you do a manual edit? Sounds like you either added or removed something.

Quote from: GohighVoltage on December 12, 2009, 03:45:45 PM
what is Permission mode  and how do you properly use it?  When I enable it,  guests cannot see the games.   

http://wiki.smfarcade.info/SMF_Arcade/FAQ#Some_members.2Fmembergroups_can_play_while_others_cannot.21

Quote from: ishy on December 12, 2009, 06:35:46 PM
When I tried to install this, I got:

QuoteThe server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.

As far as I can tell, it hasn't done any edits, so I can't figure out what the problem is. I went through the parser, and nothing has been done. Nothing in the error log refers to this.

Sounds like a server issue or glitch when you tried to install it. Check your permissions for files and directories and try it again.

Quote from: LadyChaos on December 12, 2009, 07:59:54 PM
Quote from: gfa-skyranger on December 12, 2009, 09:53:08 AM
The Question is,
Where to get Games for that mod ?

I wont read 210 Pages to get that info, Put it into the 1st post of this Theme, if anyone has an Answer.
So other Ones can get that Info.

THX, regards, SkyRanger
http://games.smfarcade.info/

That question has been answered many times here. The link above is for games at SMF Arcade. You'll also want to check the links here:

http://www.smfarcade.info/forum/index.php/topic,4787.0.html

Quote from: FrelonVert on December 13, 2009, 07:50:53 AM
Hello,

Thank you for this great mod. I have version SMF Arcade 2.5 Beta 7 and I would translate it. Which files to edit?

Thank you

This is also in our FAQ:

http://wiki.smfarcade.info/SMF_Arcade/FAQ#I.26.23039.3Bm_missing_text_for_my_language
Title: Re: SMF Arcade
Post by: Skhilled on December 17, 2009, 10:06:50 AM
Quote from: MATTEK on December 15, 2009, 06:22:03 PM
I am still unable to upload games through the upload option in the Arcade CP. I'm using 2.0 RC2

You'll need to be a bit more exact on what is going on. Any errors in your log? Anything not showing? Have you checked to make sure that your files and directories have the correct permissions? You'll have to ask your host for the correct ones.

For everyone else:

Please read the FAQ located here:

http://wiki.smfarcade.info/SMF_Arcade/FAQ

Most of your questions have already been answered here in this topic or at SMF Arcade.
Title: Game Pack - Over 1000 Games
Post by: nadrojcote on December 18, 2009, 02:17:45 PM
I am pleased to bring you what every smf arcade user has been dreaming of.

A complete pack of games including over 1000 games in 28 categories.

Categories include:

Christmas
Find the Difference
Geography
Mario
Memory & Matching
Mouse Click
Pacman
Pinball
Poker
Pong / Tennis / Ball
Pool & Darts
Puzzle & Strategy
Random
Shooting
Simon
Slingo
Smash & Bash
Snake
Snow & Sk8
Space Invaders
Sports & Olympics
Tetris
This or That
TV & Movies
Valentines
Water Sports & Fishing
Webcam
Word & Numbers
Yetis & Penguins

I have seperated each category into folders that are less than 10mb, I had to do this to be able to install them one folder at a time on my host. Some hosts may require that you seperate them into smaller folders.

Instructions:

1. Create all the categories in your arcade admin
2. Upload the game folders to your games folder
3. Upload Gamedata folder to your arcade folder
4. Install each folder through admin>install one at a time
5. Get mad props from all your members

You can download the games here http://tdr.solohosting.org/arcadegames.zip

and you can download the gamedata files here http://tdr.solohosting.org/gamedata.zip (required to be able to save scores)

Thanks goes out to wdm from sleepys arcade for allowing me to download and make a pack out of his games. Woot!
Title: Re: SMF Arcade
Post by: Sun11 on December 19, 2009, 08:08:38 AM
great for arcade forums :D
Title: Re: SMF Arcade
Post by: Zidane5555 on December 19, 2009, 05:37:26 PM
Quote from: ChristmasIsPerplexing on December 15, 2009, 07:35:17 PM
Quote from: Zidane5555 on December 15, 2009, 05:57:30 PM
Yeah I did encouter an error during the 2.0.8 which is why I downloaded the 2.5 to see if it makes any difference.

This is where it happens :

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

1.     Execute Modification     ./index.php     Test successful
2.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
3.    Execute Modification    ./Sources/Subs.php    Test successful
4.    Execute Modification    ./Sources/Who.php    Test successful
5.    Execute Modification    ./Themes/default/index.template.php    Test failed
6.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
7.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
8.    Extract File    ./Sources/Arcade.php    
9.    Extract File    ./Sources/ArcadeInstall.php    
10.    Extract File    ./Sources/ArcadeList.php

Ok well that's not too bad.  You just have one fail - 5.    Execute Modification    ./Themes/default/index.template.php    Test failed - which is probably because of another mod you have installed.  What you can do is install the arcade mod and then manually edit that file to add the code that the package manager is failing on.  Go this page http://custom.simplemachines.org/mods/index.php?mod=36 and follow the manual instructions for smf (top right hand corner of page) Select the SMF_Arcade_2.0.18.zip and your version of SMF, then click the parse button, and scroll down the instructions until you find the edits you need to do for index.template.php.  It's about halfway down the page and there are three you have to do which is probably to make the arcade button appear on the navigation bar.  Make sure you back up all your files and DB before making any changes, and you should be ok.  It's not hard to do, don't worry.

Alright so I've just did that and my menu (the top bar) has been corrupted. I am too lazy to explain in words what exactly happened so I've jsut taken some screen shots :

So this was before :
http://img85.imageshack.us/img85/6590/71939791.jpg

Once I manually edited like you've said and after I clicked edit, and went back to home, this is the result :
http://img690.imageshack.us/img690/8224/89035021.jpg

And this is what happens when I click on the curropt Arcade button :
http://img690.imageshack.us/img690/7812/31669324.jpg

So please help me out here

Your help is greatly appreciated !




Title: Re: SMF Arcade
Post by: Chen Zhen on December 23, 2009, 08:56:30 PM

Zidane5555 -

Do you know how to do manual edits?

Install the SMF Arcade v2.018

If it found an error trying to edit that php file then you have to do a manual edit.

<<<<<<<<<<>>>>>>>>>>

Navigate to file: / Themes / default / index.template.php

Find:

if (in_array($context['current_action'], array('admin',


Add this after the above code: (same line after the comma)

'managegames', 'arcadesettings', 'arcadecategory',


Find:

if (in_array($context['current_action'], array('search',


Add this after the above code: (same line after the comma)

'arcade',


Find:

// How about the [search] button?


Add this before the above code: (create new lines before above code)

echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
</td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


If you still have troubles, just attach the file and I'll edit it.

UD

Title: Re: SMF Arcade
Post by: scimmiotto on December 24, 2009, 01:14:54 PM
Quote from: nadrojcote on December 18, 2009, 02:17:45 PM
I am pleased to bring you what every smf arcade user has been dreaming of.

A complete pack of games including over 1000 games in 28 categories.

Categories include:

Christmas
Find the Difference
Geography
Mario
Memory & Matching
Mouse Click
Pacman
Pinball
Poker
Pong / Tennis / Ball
Pool & Darts
Puzzle & Strategy
Random
Shooting
Simon
Slingo
Smash & Bash
Snake
Snow & Sk8
Space Invaders
Sports & Olympics
Tetris
This or That
TV & Movies
Valentines
Water Sports & Fishing
Webcam
Word & Numbers
Yetis & Penguins

I have seperated each category into folders that are less than 10mb, I had to do this to be able to install them one folder at a time on my host. Some hosts may require that you seperate them into smaller folders.

Instructions:

1. Create all the categories in your arcade admin
2. Upload the game folders to your games folder
3. Upload Gamedata folder to your arcade folder
4. Install each folder through admin>install one at a time
5. Get mad props from all your members

You can download the games here http://tdr.solohosting.org/arcadegames.zip

and you can download the gamedata files here http://tdr.solohosting.org/gamedata.zip (required to be able to save scores)

Thanks goes out to wdm from sleepys arcade for allowing me to download and make a pack out of his games. Woot!

simply great but...why two zip? how to install both them?
Title: Re: SMF Arcade
Post by: Zidane5555 on December 24, 2009, 04:02:58 PM
Quote from: 01_Underdog on December 23, 2009, 08:56:30 PM

Zidane5555 -

Do you know how to do manual edits?

Install the SMF Arcade v2.018

If it found an error trying to edit that php file then you have to do a manual edit.

<<<<<<<<<<>>>>>>>>>>

Navigate to file: / Themes / default / index.template.php

Find:

if (in_array($context['current_action'], array('admin',


Add this after the above code: (same line after the comma)

'managegames', 'arcadesettings', 'arcadecategory',


Find:

if (in_array($context['current_action'], array('search',


Add this after the above code: (same line after the comma)

'arcade',


Find:

// How about the [search] button?


Add this before the above code: (create new lines before above code)

echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
</td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


If you still have troubles, just attach the file and I'll edit it.

UD

Yes thats exactly what the other fellow had told me to do. I have done it but my button turned out to be corrupt :S Like shown in the pictures provided. Anyhow, I'll send you the file and you can edit it too and see if it makes any difference. Just tell me how I can send you it, you want me to copy paste the whole code in that box ?

Again thanks alot for your help :)
Title: Re: SMF Arcade
Post by: Chen Zhen on December 25, 2009, 01:48:45 AM
zidane555 -

Just attach the whole index.template.php from your default folder...
I believe this site will allow you to attach/upload php files to a post.

I need to see it just in case there are existing changes in there from other mods...

You are using SMF 1.1.8 with the Blueace theme, correct?

UD

Title: Re: SMF Arcade
Post by: Zidane5555 on December 25, 2009, 03:02:02 PM
Quote from: 01_Underdog on December 25, 2009, 01:48:45 AM
zidane555 -

Just attach the whole index.template.php from your default folder...
I believe this site will allow you to attach/upload php files to a post.

I need to see it just in case there are existing changes in there from other mods...

You are using SMF 1.1.8 with the Blueace theme, correct?

UD

Yes correct, the Blue Ace theme.

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
   global $context, $settings, $options, $scripturl, $txt;

   // Work out where we currently are.
   $current_action = 'home';
   if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
      $current_action = 'admin';
   if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
      $current_action = $context['current_action'];
   if ($context['current_action'] == 'search2')
      $current_action = 'search';
   if ($context['current_action'] == 'theme')
      $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

   echo '
            <ul>';

   // Show the [home] button.
   echo '
               <li', $current_action == 'home' ? ' id="active"' : '', '><a href="', $scripturl, '">', $txt[103], '</a></li>';

// Show the [Blog] button.
         echo '<li', $current_action == 'Blog' ? ' class="chosen"' : '', '><a href=http://www.soccerfanbase.com/blog/ ><span>Blog</span></a>';

// Show the [YouTube Page] button.
         echo '<li', $current_action == 'YouTube Page' ? ' class="chosen"' : '', '><a href=http://www.youtube.com/user/Soccerfanbase ><span>YouTube Page</span></a>';

   // Show the [help] button.
   echo '
               <li', $current_action == 'help' ? ' id="active"' : '', '><a href="', $scripturl, '?action=help">', $txt[119], '</a></li>';

   // How about the [search] button?
   if ($context['allow_search'])
      echo '
               <li', $current_action == 'search' ? ' id="active"' : '', '><a href="', $scripturl, '?action=search">', $txt[182], '</a></li>';

   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
      echo '
               <li', $current_action == 'admin' ? ' id="active"' : '', '><a href="', $scripturl, '?action=admin">', $txt[2], '</a></li>';

   // Edit Profile... [profile]
   if ($context['allow_edit_profile'])
      echo '
               <li', $current_action == 'profile' ? ' id="active"' : '', '><a href="', $scripturl, '?action=profile">', $txt[467], '</a></li>';

   // Go to PM center... [pm]
   if ($context['user']['is_logged'] && $context['allow_pm'])
      echo '
               <li', $current_action == 'pm' ? ' id="active"' : '', '><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '<blink>['. $context['user']['unread_messages'] . ']</blink>' : '' , '</a></li>';

// The [gallery]!
      echo '
               <li', $current_action == 'gallery' ? ' id="active"' : '', '>
                <a href="http://soccerfanbase.com/index.php?action=gallery">Gallery</a></li>';



   // The [calendar]!
   if ($context['allow_calendar'])
      echo '
               <li', $current_action == 'calendar' ? ' id="active"' : '', '><a href="', $scripturl, '?action=calendar">', $txt['calendar24'], '</a></li>';

   // the [member] list button
   if ($context['allow_memberlist'])
      echo '
               <li', $current_action == 'mlist' ? ' id="active"' : '', '><a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a></li>';

   // If the user is a guest, show [login] and [register] buttons.
   if ($context['user']['is_guest'])
   {
      echo '
               <li', $current_action == 'login' ? ' id="active"' : '', '><a href="', $scripturl, '?action=login">', $txt[34], '</a></li>
               <li', $current_action == 'register' ? ' id="active"' : '', '><a href="', $scripturl, '?action=register">', $txt[97], '</a></li>';
   }
   // Otherwise, they might want to [logout]...
   else
      echo '
               <li', $current_action == 'logout' ? ' id="active"' : '', '><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', $txt[108], '</a></li>';
   echo '</ul>';
}


I believe that is what you were looking for ? Hopefully it is.

Sorry to bother you so much....
Title: Re: SMF Arcade
Post by: fwitt on December 25, 2009, 06:50:42 PM
Quote from: Zidane5555 on December 25, 2009, 03:02:02 PM
Yes correct, the Blue Ace theme.

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
   global $context, $settings, $options, $scripturl, $txt;

   // Work out where we currently are.
   $current_action = 'home';
   if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
      $current_action = 'admin';
   if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
      $current_action = $context['current_action'];
   if ($context['current_action'] == 'search2')
      $current_action = 'search';
   if ($context['current_action'] == 'theme')
      $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

   echo '
            <ul>';

   // Show the [home] button.
   echo '
               <li', $current_action == 'home' ? ' id="active"' : '', '><a href="', $scripturl, '">', $txt[103], '</a></li>';

// Show the [Blog] button.
         echo '<li', $current_action == 'Blog' ? ' class="chosen"' : '', '><a href=http://www.soccerfanbase.com/blog/ ><span>Blog</span></a>';

// Show the [YouTube Page] button.
         echo '<li', $current_action == 'YouTube Page' ? ' class="chosen"' : '', '><a href=http://www.youtube.com/user/Soccerfanbase ><span>YouTube Page</span></a>';

   // Show the [help] button.
   echo '
               <li', $current_action == 'help' ? ' id="active"' : '', '><a href="', $scripturl, '?action=help">', $txt[119], '</a></li>';

   // How about the [search] button?
   if ($context['allow_search'])
      echo '
               <li', $current_action == 'search' ? ' id="active"' : '', '><a href="', $scripturl, '?action=search">', $txt[182], '</a></li>';

   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
      echo '
               <li', $current_action == 'admin' ? ' id="active"' : '', '><a href="', $scripturl, '?action=admin">', $txt[2], '</a></li>';

   // Edit Profile... [profile]
   if ($context['allow_edit_profile'])
      echo '
               <li', $current_action == 'profile' ? ' id="active"' : '', '><a href="', $scripturl, '?action=profile">', $txt[467], '</a></li>';

   // Go to PM center... [pm]
   if ($context['user']['is_logged'] && $context['allow_pm'])
      echo '
               <li', $current_action == 'pm' ? ' id="active"' : '', '><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '<blink>['. $context['user']['unread_messages'] . ']</blink>' : '' , '</a></li>';

// The [gallery]!
      echo '
               <li', $current_action == 'gallery' ? ' id="active"' : '', '>
                <a href="http://soccerfanbase.com/index.php?action=gallery">Gallery</a></li>';



   // The [calendar]!
   if ($context['allow_calendar'])
      echo '
               <li', $current_action == 'calendar' ? ' id="active"' : '', '><a href="', $scripturl, '?action=calendar">', $txt['calendar24'], '</a></li>';

   // the [member] list button
   if ($context['allow_memberlist'])
      echo '
               <li', $current_action == 'mlist' ? ' id="active"' : '', '><a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a></li>';

   // If the user is a guest, show [login] and [register] buttons.
   if ($context['user']['is_guest'])
   {
      echo '
               <li', $current_action == 'login' ? ' id="active"' : '', '><a href="', $scripturl, '?action=login">', $txt[34], '</a></li>
               <li', $current_action == 'register' ? ' id="active"' : '', '><a href="', $scripturl, '?action=register">', $txt[97], '</a></li>';
   }
   // Otherwise, they might want to [logout]...
   else
      echo '
               <li', $current_action == 'logout' ? ' id="active"' : '', '><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', $txt[108], '</a></li>';
   echo '</ul>';
}


becomes...


// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
   global $context, $settings, $options, $scripturl, $txt;

   // Work out where we currently are.
   $current_action = 'home';
   if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
      $current_action = 'admin';
   if (in_array($context['current_action'], array('arcade', 'search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
      $current_action = $context['current_action'];
   if ($context['current_action'] == 'search2')
      $current_action = 'search';
   if ($context['current_action'] == 'theme')
      $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

   echo '
            <ul>';

   // Show the [home] button.
   echo '
               <li', $current_action == 'home' ? ' id="active"' : '', '><a href="', $scripturl, '">', $txt[103], '</a></li>';

// Show the [Blog] button.
         echo '<li', $current_action == 'Blog' ? ' class="chosen"' : '', '><a href=http://www.soccerfanbase.com/blog/ ><span>Blog</span></a>';

// Show the [YouTube Page] button.
         echo '<li', $current_action == 'YouTube Page' ? ' class="chosen"' : '', '><a href=http://www.youtube.com/user/Soccerfanbase ><span>YouTube Page</span></a>';

   // Show the [help] button.
   echo '
               <li', $current_action == 'help' ? ' id="active"' : '', '><a href="', $scripturl, '?action=help">', $txt[119], '</a></li>';

   // How about the [search] button?
   if ($context['allow_search'])
      echo '
               <li', $current_action == 'search' ? ' id="active"' : '', '><a href="', $scripturl, '?action=search">', $txt[182], '</a></li>';

   // How about the [arcade] button?
      echo '
               <li', $current_action == 'arcade' ? ' id="active"' : '', '><a href="', $scripturl, '?action=arcade">', $txt['arcade'], '</a></li>';

   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
      echo '
               <li', $current_action == 'admin' ? ' id="active"' : '', '><a href="', $scripturl, '?action=admin">', $txt[2], '</a></li>';

   // Edit Profile... [profile]
   if ($context['allow_edit_profile'])
      echo '
               <li', $current_action == 'profile' ? ' id="active"' : '', '><a href="', $scripturl, '?action=profile">', $txt[467], '</a></li>';

   // Go to PM center... [pm]
   if ($context['user']['is_logged'] && $context['allow_pm'])
      echo '
               <li', $current_action == 'pm' ? ' id="active"' : '', '><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '<blink>['. $context['user']['unread_messages'] . ']</blink>' : '' , '</a></li>';

// The [gallery]!
      echo '
               <li', $current_action == 'gallery' ? ' id="active"' : '', '>
                <a href="http://soccerfanbase.com/index.php?action=gallery">Gallery</a></li>';



   // The [calendar]!
   if ($context['allow_calendar'])
      echo '
               <li', $current_action == 'calendar' ? ' id="active"' : '', '><a href="', $scripturl, '?action=calendar">', $txt['calendar24'], '</a></li>';

   // the [member] list button
   if ($context['allow_memberlist'])
      echo '
               <li', $current_action == 'mlist' ? ' id="active"' : '', '><a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a></li>';

   // If the user is a guest, show [login] and [register] buttons.
   if ($context['user']['is_guest'])
   {
      echo '
               <li', $current_action == 'login' ? ' id="active"' : '', '><a href="', $scripturl, '?action=login">', $txt[34], '</a></li>
               <li', $current_action == 'register' ? ' id="active"' : '', '><a href="', $scripturl, '?action=register">', $txt[97], '</a></li>';
   }
   // Otherwise, they might want to [logout]...
   else
      echo '
               <li', $current_action == 'logout' ? ' id="active"' : '', '><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', $txt[108], '</a></li>';
   echo '</ul>';
}


remember always back up before manual edits in case of mistakes/typos etc.
Title: Re: SMF Arcade
Post by: Zidane5555 on December 25, 2009, 08:11:49 PM
Thanks for your help but I just tried replacing it with the code you provided and nothing happened... I see no Arcade button.. ?
Title: Re: SMF Arcade
Post by: Sakurachan on December 26, 2009, 12:16:05 AM
Any plans for SMF 1.1.11 version?
Title: Re: SMF Arcade
Post by: gbsothere on December 26, 2009, 09:22:34 AM
Quote from: Sakurachan on December 26, 2009, 12:16:05 AM
Any plans for SMF 1.1.11 version?

Have you tried using 2.0.18?  I use it on my 1.1.11 forum with no issues. It should install via package manager but if not, the parsing instructions for 1.1.9 can be used for your 1.1.11 forum.   :)

Title: Re: SMF Arcade
Post by: fwitt on December 26, 2009, 10:24:37 AM
Quote from: Zidane5555 on December 25, 2009, 08:11:49 PM
Thanks for your help but I just tried replacing it with the code you provided and nothing happened... I see no Arcade button.. ?

modified the code in my above post not sure if 2.0.18 uses $context['allow_arcade'] so i removed the reference
Title: Re: SMF Arcade
Post by: scimmiotto on December 26, 2009, 10:27:22 AM
Quote from: scimmiotto on December 24, 2009, 01:14:54 PM
Quote from: nadrojcote on December 18, 2009, 02:17:45 PM
I am pleased to bring you what every smf arcade user has been dreaming of.

A complete pack of games including over 1000 games in 28 categories.

Categories include:

Christmas
Find the Difference
Geography
Mario
Memory & Matching
Mouse Click
Pacman
Pinball
Poker
Pong / Tennis / Ball
Pool & Darts
Puzzle & Strategy
Random
Shooting
Simon
Slingo
Smash & Bash
Snake
Snow & Sk8
Space Invaders
Sports & Olympics
Tetris
This or That
TV & Movies
Valentines
Water Sports & Fishing
Webcam
Word & Numbers
Yetis & Penguins

I have seperated each category into folders that are less than 10mb, I had to do this to be able to install them one folder at a time on my host. Some hosts may require that you seperate them into smaller folders.

Instructions:

1. Create all the categories in your arcade admin
2. Upload the game folders to your games folder
3. Upload Gamedata folder to your arcade folder
4. Install each folder through admin>install one at a time
5. Get mad props from all your members

You can download the games here http://tdr.solohosting.org/arcadegames.zip

and you can download the gamedata files here http://tdr.solohosting.org/gamedata.zip (required to be able to save scores)

Thanks goes out to wdm from sleepys arcade for allowing me to download and make a pack out of his games. Woot!

simply great but...why two zip? how to install both them?

up
Title: Re: SMF Arcade
Post by: Chen Zhen on December 26, 2009, 04:23:53 PM
zidane555 -

Ok, I see the issue.
The index.template.php edits must be implemented for every theme.
The very last edit I put in my last post may be different depending on the theme.
If you enable users with the ability to change themes,  you must do the edits to this file in every theme you show as available to your users.

The original auto install placed the correct edits into the default theme.
ie. if you enable your default 'Core' theme, you should see the arcade button displayed properly.

Judging by the way you are displaying parts of your index.template, I am guessing that you are editing these files via Admin / Themes from within the site software itself? I suppose this will do for this particular edit, but for edits you may need to do in other mods,  I suggest using your ftp or third party software such as Filezilla.

<<<<<<<<<<>>>>>>>>>>

For your Blue Ace theme...

Navigate to: / Themes / Blueace_tp / index.template.php
(from within your site: Admin / Themes and Layout / Modify Themes / Blue Ace / Browse the templates and files of this theme / index.template.php)

Find:

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
   global $context, $settings, $options, $scripturl, $txt;

   // Work out where we currently are.
   $current_action = 'home';
   if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
      $current_action = 'admin';
   if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
      $current_action = $context['current_action'];
   if ($context['current_action'] == 'search2')
      $current_action = 'search';
   if ($context['current_action'] == 'theme')
      $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

   echo '
            <ul>';

   // Show the [home] button.
   echo '
               <li', $current_action == 'home' ? ' id="active"' : '', '><a href="', $scripturl, '">', $txt[103], '</a></li>';

// Show the [Blog] button.
         echo '<li', $current_action == 'Blog' ? ' class="chosen"' : '', '><a href=http://www.soccerfanbase.com/blog/ ><span>Blog</span></a>';

// Show the [YouTube Page] button.
         echo '<li', $current_action == 'YouTube Page' ? ' class="chosen"' : '', '><a href=http://www.youtube.com/user/Soccerfanbase ><span>YouTube Page</span></a>';

   // Show the [help] button.
   echo '
               <li', $current_action == 'help' ? ' id="active"' : '', '><a href="', $scripturl, '?action=help">', $txt[119], '</a></li>';

   // How about the [search] button?
   if ($context['allow_search'])
      echo '
               <li', $current_action == 'search' ? ' id="active"' : '', '><a href="', $scripturl, '?action=search">', $txt[182], '</a></li>';

   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
      echo '
               <li', $current_action == 'admin' ? ' id="active"' : '', '><a href="', $scripturl, '?action=admin">', $txt[2], '</a></li>';

   // Edit Profile... [profile]
   if ($context['allow_edit_profile'])
      echo '
               <li', $current_action == 'profile' ? ' id="active"' : '', '><a href="', $scripturl, '?action=profile">', $txt[467], '</a></li>';

   // Go to PM center... [pm]
   if ($context['user']['is_logged'] && $context['allow_pm'])
      echo '
               <li', $current_action == 'pm' ? ' id="active"' : '', '><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '<blink>['. $context['user']['unread_messages'] . ']</blink>' : '' , '</a></li>';

// The [gallery]!
      echo '
               <li', $current_action == 'gallery' ? ' id="active"' : '', '>
                <a href="http://soccerfanbase.com/index.php?action=gallery">Gallery</a></li>';



   // The [calendar]!
   if ($context['allow_calendar'])
      echo '
               <li', $current_action == 'calendar' ? ' id="active"' : '', '><a href="', $scripturl, '?action=calendar">', $txt['calendar24'], '</a></li>';

   // the [member] list button
   if ($context['allow_memberlist'])
      echo '
               <li', $current_action == 'mlist' ? ' id="active"' : '', '><a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a></li>';

   // If the user is a guest, show [login] and [register] buttons.
   if ($context['user']['is_guest'])
   {
      echo '
               <li', $current_action == 'login' ? ' id="active"' : '', '><a href="', $scripturl, '?action=login">', $txt[34], '</a></li>
               <li', $current_action == 'register' ? ' id="active"' : '', '><a href="', $scripturl, '?action=register">', $txt[97], '</a></li>';
   }
   // Otherwise, they might want to [logout]...
   else
      echo '
               <li', $current_action == 'logout' ? ' id="active"' : '', '><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', $txt[108], '</a></li>';
   echo '</ul>';
}



Replace the above code with this:

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
   global $context, $settings, $options, $scripturl, $txt;

   // Work out where we currently are.
   $current_action = 'home';
   if (in_array($context['current_action'], array('admin', 'managegames', 'arcadesettings', 'arcadecategory', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
      $current_action = 'admin';
   if (in_array($context['current_action'], array('arcade', 'search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
      $current_action = $context['current_action'];
   if ($context['current_action'] == 'search2')
      $current_action = 'search';
   if ($context['current_action'] == 'theme')
      $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

   echo '
            <ul>';

   // Show the [home] button.
   echo '
               <li', $current_action == 'home' ? ' id="active"' : '', '><a href="', $scripturl, '">', $txt[103], '</a></li>';

// Show the [Blog] button.
         echo '<li', $current_action == 'Blog' ? ' class="chosen"' : '', '><a href=http://www.soccerfanbase.com/blog/ ><span>Blog</span></a>';

// Show the [YouTube Page] button.
         echo '<li', $current_action == 'YouTube Page' ? ' class="chosen"' : '', '><a href=http://www.youtube.com/user/Soccerfanbase ><span>YouTube Page</span></a>';

   // Show the [help] button.
   echo '
               <li', $current_action == 'help' ? ' id="active"' : '', '><a href="', $scripturl, '?action=help">', $txt[119], '</a></li>';

// Show the arcade button
if (AllowedTo('arcade_view') == true)
    {
echo '
<li', $current_action == 'arcade' ? ' id="active"' : '', '><a href="', $scripturl, '?action=arcade">', $txt['arcade'], '</a></li>';
}

   // How about the [search] button?
   if ($context['allow_search'])
      echo '
               <li', $current_action == 'search' ? ' id="active"' : '', '><a href="', $scripturl, '?action=search">', $txt[182], '</a></li>';

   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
      echo '
               <li', $current_action == 'admin' ? ' id="active"' : '', '><a href="', $scripturl, '?action=admin">', $txt[2], '</a></li>';

   // Edit Profile... [profile]
   if ($context['allow_edit_profile'])
      echo '
               <li', $current_action == 'profile' ? ' id="active"' : '', '><a href="', $scripturl, '?action=profile">', $txt[467], '</a></li>';

   // Go to PM center... [pm]
   if ($context['user']['is_logged'] && $context['allow_pm'])
      echo '
               <li', $current_action == 'pm' ? ' id="active"' : '', '><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '<blink>['. $context['user']['unread_messages'] . ']</blink>' : '' , '</a></li>';

// The [gallery]!
      echo '
               <li', $current_action == 'gallery' ? ' id="active"' : '', '>
                <a href="http://soccerfanbase.com/index.php?action=gallery">Gallery</a></li>';



   // The [calendar]!
   if ($context['allow_calendar'])
      echo '
               <li', $current_action == 'calendar' ? ' id="active"' : '', '><a href="', $scripturl, '?action=calendar">', $txt['calendar24'], '</a></li>';

   // the [member] list button
   if ($context['allow_memberlist'])
      echo '
               <li', $current_action == 'mlist' ? ' id="active"' : '', '><a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a></li>';

   // If the user is a guest, show [login] and [register] buttons.
   if ($context['user']['is_guest'])
   {
      echo '
               <li', $current_action == 'login' ? ' id="active"' : '', '><a href="', $scripturl, '?action=login">', $txt[34], '</a></li>
               <li', $current_action == 'register' ? ' id="active"' : '', '><a href="', $scripturl, '?action=register">', $txt[97], '</a></li>';
   }
   // Otherwise, they might want to [logout]...
   else
      echo '
               <li', $current_action == 'logout' ? ' id="active"' : '', '><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', $txt[108], '</a></li>';
   echo '</ul>';
}


<<<<<<<<<<>>>>>>>>>>

BTW - I changed it so that the arcade button will not show for users without permission to view it.

Edit -  I just noticed that fwitt posted the proper correction which should have worked for you. If the button does not show up in the above edit, my next hypothesis would be that you do not have the proper language file edits.

You can double check your / Themes / default / languages / Modifications.[-YOUR LANGUAGE-].php has the proper arcade edits.

The particular one that shows the arcade button is:
$txt['arcade'] = 'Arcade';

UD
Title: Re: SMF Arcade
Post by: Sakurachan on December 26, 2009, 06:59:20 PM
Quote from: gbsothere on December 26, 2009, 09:22:34 AM
Quote from: Sakurachan on December 26, 2009, 12:16:05 AM
Any plans for SMF 1.1.11 version?

Have you tried using 2.0.18?  I use it on my 1.1.11 forum with no issues. It should install via package manager but if not, the parsing instructions for 1.1.9 can be used for your 1.1.11 forum.   :)

Mhmm it works fine besides.

Fatal error: require_once() [function.require]: Failed opening required '/home/hmuniver/public_html/forum/Sources/ArcadeInstall.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hmuniver/public_html/forum/Packages/temp/package_install.php on line 25

I'm having bad luck with mods lately. xD
Title: Re: SMF Arcade
Post by: gbsothere on December 26, 2009, 07:09:40 PM
@Sakurachan



"Failed Opening" usually indicates a permissions problem.  See if you have a folder named temp in your Packages directory.  If you don't, create it and set its permissions to 777 (if your server allows that).  You may have to ask them what permissions they allow, but you can first try 777 or 755, if that doesn't work.   (The temp directory is spelled with a small case letter "t").

Then try again.   :)

Title: Re: SMF Arcade
Post by: Sakurachan on December 26, 2009, 07:14:48 PM
Quote from: gbsothere on December 26, 2009, 07:09:40 PM
@Sakurachan



"Failed Opening" usually indicates a permissions problem.  See if you have a folder named temp in your Packages directory.  If you don't, create it and set its permissions to 777 (if your server allows that).  You may have to ask them what permissions they allow, but you can first try 777 or 755, if that doesn't work.   (The temp directory is spelled with a small case letter "t").

Then try again.   :)

I had it made and it was on 777 and now 755. I'll give it a try then.

It's spelled 'temp' in the directory

Here's what the package manager does..

Type  Action  Description
1. Execute Modification ./index.php Test successful
2. Execute Modification ./Sources/ManagePermissions.php Test successful
3. Execute Modification ./Sources/Subs.php Test successful
4. Execute Modification ./Sources/Who.php Test successful
5. Execute Modification ./Themes/default/index.template.php Test successful
6. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
7. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test successful
8. Extract File ./Sources/Arcade.php
9. Extract File ./Sources/ArcadeInstall.php
10. Extract File ./Sources/ArcadeList.php
11. Extract File ./Sources/ArcadePlay.php
12. Extract File ./Sources/ArcadeStats.php
13. Extract File ./Sources/ArcadeSettings.php
14. Extract File ./Sources/Subs-Arcade.php
15. Extract File ./Sources/ManageGames.php
16. Extract File ./Themes/default/arcade.js
17. Extract File ./Themes/default/swfobject.js
18. Extract File ./Themes/default/Arcade.template.php
19. Extract File ./Themes/default/ArcadeMenu.template.php
20. Extract File ./Themes/default/ArcadeAdmin.template.php
21. Extract File ./Themes/default/ManageGames.template.php
22. Extract File ./Themes/default/languages/Arcade.english.php
23. Extract File ./Themes/default/languages/ArcadeAdmin.english.php
24. Extract File ./Themes/default/languages/Arcade.english-utf8.php
25. Extract File ./Themes/default/languages/ArcadeAdmin.english-utf8.php
26. Extract File ./Themes/default/images/favorite.gif
27. Extract File ./Themes/default/images/favorite2.gif
28. Extract File ./Themes/default/images/star2.gif
29. Extract File ./Themes/default/images/gold.gif
30. Extract File ./ArcadeLicense.txt
31. Extract File ./installArcade.php
32. Extract File ./newscore.php
33. Extract Tree ./getid3
34. Create Tree ./Games
35. Execute Code package_install.php


It looks like it's skipping alot of these files.
Title: Re: SMF Arcade
Post by: gbsothere on December 26, 2009, 07:24:57 PM
That actually looks okay, Sakurachan.  Extracting those files means that it's placing them where they go on your server.  But when you click "Apply Mod", you're still getting that error?

Title: Re: SMF Arcade
Post by: Zidane5555 on December 26, 2009, 08:16:02 PM
Alright perfect, What fwitt posted worked :) So thanks to both fwitt and 01_Underdog

Good news is : the arcade button shows up perfectly and is not corrupted like before :)

Bad news: BUT, when I click on the Arcade button, it says "You are not allowed to access arcade. "


EDIT: Forget that, since I just went and changed the permissions and now I am able to access it :)

Thanks for the help everyone. Again I am so noob at this so NOW that I have my arcade set up and everything, how do I install games step by step?
Title: Re: SMF Arcade
Post by: Sakurachan on December 26, 2009, 08:42:17 PM
Quote from: gbsothere on December 26, 2009, 07:24:57 PM
That actually looks okay, Sakurachan.  Extracting those files means that it's placing them where they go on your server.  But when you click "Apply Mod", you're still getting that error?

It looks like this when applying the mod.

Fatal error: require_once() [function.require]: Failed opening required '/home/hmuniver/public_html/forum/Sources/ArcadeInstall.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hmuniver/public_html/forum/Packages/temp/package_install.php on line 25
Title: Re: SMF Arcade
Post by: gbsothere on December 26, 2009, 09:09:27 PM
You may have to manually install the mod, Sakurachan, if you're sure you have your server's correct permissions on the temp file, then.  That would involve going to the mod page HERE  (http://custom.simplemachines.org/mods/index.php?mod=36) and using the parsing instructions for 2.0.18 (you will have to use 1.1.9's instructions), manually placing the files included in the arcade zip where they go (you are told where they go at the bottom of the parsing instructions) and pointing your browser to the install file shown on the parsing page. 

If you like, I'm happy to manually install it for you, but it would be some time tomorrow before I get to it.  If you hit a snag and need some help, drop me a PM. 

There's another "wild" thing you can try, first, though.  It makes no sense, but it worked for me, once, while messing around with an installation on one of my test boards.  That file that's being referred to in your error:  package_install.php.  You can try opening the arcade zip and manually dragging that file into the temp directory.  (You may need to set permissions on that file, as well, to make it writable.) It sounds odd, I know, and I won't hazard a guess as to why it once worked for me, but it did. 

Barring that, though, if you can't work your way through a manual installation, give me a heads up with a PM.
Title: Re: SMF Arcade
Post by: Sakurachan on December 26, 2009, 09:14:55 PM
I just think it's a little funny how it does this whenever the other mods I have work fine and haven't gave me any errors of that kind.

Title: Re: SMF Arcade
Post by: gbsothere on December 26, 2009, 09:18:16 PM
Quote from: Sakurachan on December 26, 2009, 09:14:55 PM
I just think it's a little funny how it does this whenever the other mods I have work fine and haven't gave me any errors of that kind.

Very odd, yes.  Barring some sort of server thing, though, I can't think why you're getting the error.  It may be that even though you're setting the permissions, they aren't literally being changed (it may require chown, instead of chmod).  You may want to give your server a call to see if you still have ownership of all those directories and files.  (Now, I'm just stabbing, being a bit bleary.  I've had a bit of Scotch.)  *grin*  Someone a bit fresher will hopefully come along and shed some light on this for you.

Title: Re: SMF Arcade
Post by: Chen Zhen on December 26, 2009, 09:29:09 PM
Quote from: Zidane5555 on December 26, 2009, 08:16:02 PM
Alright perfect, What fwitt posted worked :) So thanks to both fwitt and 01_Underdog

Good news is : the arcade button shows up perfectly and is not corrupted like before :)

Bad news: BUT, when I click on the Arcade button, it says "You are not allowed to access arcade. "


EDIT: Forget that, since I just went and changed the permissions and now I am able to access it :)

Thanks for the help everyone. Again I am so noob at this so NOW that I have my arcade set up and everything, how do I install games step by step?

glad to hear you got it working.

To install games... all necessary game files must be stored in a zip folder.

Admin / Arcade / Games / Upload

... upload the zipped game folder to your directory.

now go to:

Admin / Arcade / Games / Install

Install the file you uploaded. You may have to use the Install a few times on the same game folder. When it disappears from the install list then it is done correctly.

Game packs for many of the older games are available on the SMF Arcade main site.  Tweaks (hacks) are also available there.
Some newer ones are also available on other sites that allow downloading such as mine.

UD
Title: Re: SMF Arcade
Post by: Zidane5555 on December 26, 2009, 09:30:49 PM
Perfect Thanks a lot for your help.
Title: Re: SMF Arcade
Post by: Sakurachan on December 27, 2009, 01:01:18 AM
Quote from: gbsothere on December 26, 2009, 09:18:16 PM
Quote from: Sakurachan on December 26, 2009, 09:14:55 PM
I just think it's a little funny how it does this whenever the other mods I have work fine and haven't gave me any errors of that kind.

Very odd, yes.  Barring some sort of server thing, though, I can't think why you're getting the error.  It may be that even though you're setting the permissions, they aren't literally being changed (it may require chown, instead of chmod).  You may want to give your server a call to see if you still have ownership of all those directories and files.  (Now, I'm just stabbing, being a bit bleary.  I've had a bit of Scotch.)  *grin*  Someone a bit fresher will hopefully come along and shed some light on this for you.

It's on shared hosting as the forum hasn't been done yet atm. It seems to install other mods fine..weird..

Seems they had another client have the same issue and they're looking into it.
Title: Re: SMF Arcade
Post by: Chen Zhen on December 27, 2009, 04:07:07 PM
Quote from: Sakurachan on December 27, 2009, 01:01:18 AM
It's on shared hosting as the forum hasn't been done yet atm. It seems to install other mods fine..weird..

Seems they had another client have the same issue and they're looking into it.

Hmm... I haven't read your other posts concerning this issue but I would like to know if you tried adjusting the permissions for each user group via Modify as opposed to Select a Permission ?

I have found that for some mods (including one I made myself) did not set properly when I used the latter.

UD
Title: Re: SMF Arcade
Post by: Sakurachan on December 27, 2009, 07:42:56 PM
Quote from: 01_Underdog on December 27, 2009, 04:07:07 PM
Quote from: Sakurachan on December 27, 2009, 01:01:18 AM
It's on shared hosting as the forum hasn't been done yet atm. It seems to install other mods fine..weird..

Seems they had another client have the same issue and they're looking into it.

Hmm... I haven't read your other posts concerning this issue but I would like to know if you tried adjusting the permissions for each user group via Modify as opposed to Select a Permission ?

I have found that for some mods (including one I made myself) did not set properly when I used the latter.

UD

It was working..

but

I got everything installed and it looks like it is working properly. There were a couple of issues and it actually ended up being an issue with the SMF code rather than something I was  doing or something with the server I'm on

But now how can I make a new tab for people to click on?
Title: Re: SMF Arcade
Post by: gbsothere on December 27, 2009, 08:10:40 PM
Are you using a custom theme?  If so, you'll need to place the edits in that theme's index.template.php and upload that to your custom theme's directory.
Title: Re: SMF Arcade
Post by: Sakurachan on December 27, 2009, 08:34:48 PM
Yeah, I'm not using SMFs default theme..so just copy and paste whats from that into my custom theme?
Title: Re: SMF Arcade
Post by: gbsothere on December 27, 2009, 08:40:55 PM
Quote from: Sakurachan on December 27, 2009, 08:34:48 PM
Yeah, I'm not using SMFs default theme..so just copy and paste whats from that into my custom theme?


The parsing instructions (1.1.9) for version 2.0.18 on this mod's page.  If you like, though, just attach your custom theme's index.template.php here on your next post and I'll make the edits for you. 
Title: Re: SMF Arcade
Post by: Sakurachan on December 27, 2009, 08:43:21 PM
Alright here it is.

Title: Re: SMF Arcade
Post by: gbsothere on December 27, 2009, 08:48:05 PM
Try this and let me know?

(file removed)
Title: Re: SMF Arcade
Post by: gbsothere on December 27, 2009, 09:19:51 PM
Sakurachan, I'm just going to leave this note for you, since I'll have to take off, soon.

To install games for your arcade, you can register at http://smfarcade.info (http://smfarcade.info) and download their gamepack zips.  They can be installed by going to your arcade admin, to Install, then by scrolling down to the bottom, browsing to your zip, uploading it, then clicking "Install". 

If you want V32 games (or .tar games) let me suggest this link for you:

http://www.smfarcade.info/forum/index.php?topic=4033.msg24594#msg24594 (http://www.smfarcade.info/forum/index.php?topic=4033.msg24594#msg24594)

Jeza has created a great "tar uploader" that will allow you to upload those types of games and install them without having to manually create gamedata folders, etc.

Also, while you're there, check out this link:

http://www.smfarcade.info/forum/index.php?topic=4217.msg25933#msg25933 (http://www.smfarcade.info/forum/index.php?topic=4217.msg25933#msg25933)

Another of Jeza's inspirations, a great skin that makes your arcade look amazing.  Lots of nice features.  There's a couple of demos on this link's page that you can check out.  (As always, any custom theme's templates will have to be edited.)

Don't forget that you must enable the arcade in the arcade admin's settings and that you must go to permissions to set individual groups' abilities to use the arcade.  If you set the arcade's permission mode (arcade settings) to "None", the arcade will use your board's permissions as you have them set for your members.

Let me know if you experienced any issues with the index.template.php.  I'll check back by, or someone else will be glad to help.   :)
Title: Re: SMF Arcade
Post by: Sakurachan on December 27, 2009, 09:34:23 PM
It's working fine now, thanks.. I am going to add games now. Might wanna remove my index.template.php file please
Title: Re: SMF Arcade
Post by: gbsothere on December 27, 2009, 09:38:06 PM
Quote from: Sakurachan on December 27, 2009, 09:34:23 PM
It's working fine now, thanks.. I am going to add games now. Might wanna remove my index.template.php file please


Just looking in before I log off for the night.  I'm glad you have it working.   :)

Your file is removed.  Make yourself at home at Arcade's main site.  The guys there are great; you'll learn a lot. 

Goodnight.

Title: Re: SMF Arcade
Post by: KensonPlays on December 28, 2009, 09:31:06 PM
Whenever I try to install it, I always get a "500 Internal Server Error". I use godaddy linux middle level hosting...
Title: Re: SMF Arcade
Post by: Bigguy on December 28, 2009, 10:19:21 PM
Are all your file permissions and ownership correct. ??? I would ask my host.
Title: Re: SMF Arcade
Post by: KensonPlays on December 28, 2009, 10:40:48 PM
yes, everything is 775

(I can read, write, and execute, as well as my "group" and public can read and execute)

EDIT:
Redoing CHMOD to make sure of it...

EDIT 2:
DONE!
Title: Re: SMF Arcade
Post by: Bigguy on December 29, 2009, 11:19:21 AM
So you have checked ownership of files and folders as well. ???
Title: Re: SMF Arcade
Post by: BCK on January 14, 2010, 10:16:58 AM
hi..ive just installed arcade,,no errors..all went well...to 1.1.11 arcade says installed fine no errors...is there suppose to be a button now???to access it..its enabled???havent loaded any games yet???

UPDATE..installed a cpl games,,no button or anything that shows on site to access arcade???perms set???for members..as admin i see nothing??
Title: Re: SMF Arcade
Post by: gbsothere on January 14, 2010, 10:54:05 AM
Quote from: BCK on January 14, 2010, 10:16:58 AM
hi..ive just installed arcade,,no errors..all went well...to 1.1.11 arcade says installed fine no errors...is there suppose to be a button now???to access it..its enabled???havent loaded any games yet???

UPDATE..installed a cpl games,,no button or anything that shows on site to access arcade???perms set???for members..as admin i see nothing??


If you are using a custom theme, the index.template.php for that theme must have Arcade's manual edits placed.  Look on the mod's page, for version 2.0.18 and use the parsing instructions for 1.1.9 (they are the same as they would be for 1.1.11).  If you are not using a custom theme, please attach your default theme's index.template.php here and I'll take a look at it.

:)
Title: Re: SMF Arcade
Post by: BCK on January 14, 2010, 10:57:10 AM
i am using default no custom theme...it seemed to install fine..i have arcade in admin...uploaded cpl games..said installed also..havent recieved any errors so far,,but no way to actually get to arcade??no button,,nothing???so cant actually test anything???
Title: Re: SMF Arcade
Post by: gbsothere on January 14, 2010, 10:59:25 AM
Quote from: BCK on January 14, 2010, 10:57:10 AM
i am using default no custom theme...it seemed to install fine..i have arcade in admin...uploaded cpl games..said installed also..havent recieved any errors so far,,but no way to actually get to arcade??no button,,nothing???so cant actually test anything???


Pull the index.template.php from your Themes/default directory (from your server) and when you reply to this, click Additional Options below the reply box and browse to that file.  Attach it and let me look at it.
Title: Re: SMF Arcade
Post by: BCK on January 14, 2010, 11:11:27 AM
here it is...thx

Update...could you please highlight edits/changes , so I can see what was done and learn from this..
Title: Re: SMF Arcade
Post by: gbsothere on January 14, 2010, 11:23:57 AM
Your index.template.php file is parsed correctly.  What language is your forum set to?  (English or English-utf8, for example)?
Title: Re: SMF Arcade
Post by: BCK on January 14, 2010, 11:25:48 AM
English-utf8....should it be other??
Title: Re: SMF Arcade
Post by: gbsothere on January 14, 2010, 11:28:51 AM
Quote from: BCK on January 14, 2010, 11:25:48 AM
English-utf8....should it be other??

If you prefer having it set to English-utf8, that's fine, but, for now, set it to "English" and refresh your front page to see if you see the button.  If you do, and you still want to use English-utf8, then save a copy of your Modifications.english.php (the one from your server that has been edited) as Modifications.english-utf8.php and upload it to your default directory's language folder and see what happens.

(Or if you don't have a preference, just leave your forum set to English.)

:)
Title: Re: SMF Arcade
Post by: BCK on January 14, 2010, 11:34:17 AM
just english is fine,,,i set to english applied,,,went to main/home..refreshed...still no button???

      
Title: Re: SMF Arcade
Post by: gbsothere on January 14, 2010, 11:38:38 AM
Quote from: BCK on January 14, 2010, 11:34:17 AM
just english is fine,,,i set to english applied,,,went to main/home..refreshed...still no button???

   



If you'd like to set up a temporary admin account, so that I check all your settings, BCK, then send the log in details via PM and I'll take a look and see if I can spot what's going on. 

Before you do, however, it's always a good idea to take a look at this link, before providing sensitive information about your site:

http://www.simplemachines.org/community/index.php?topic=87130.msg575795#msg575795 (http://www.simplemachines.org/community/index.php?topic=87130.msg575795#msg575795)

:)

Or, if you'd rather, go to the Arcade's official site:  http://smfarcade.info (http://smfarcade.info) and click on the Wiki link at the top for additional help. 



Edit:  Waited for a bit, but I must log off.  Someone will be by shortly, I'm sure, who can help or please do try posting at Arcade's home site.
Title: Re: SMF Arcade
Post by: Bob Perry of Web Presence Consulting on January 16, 2010, 05:46:08 PM
First, this is a marvelous mod, thanks. However, I have a minor problem that needs to be addressed, the arcade functions great with no errors in SMF error log... my problem is that I also have vbgamer's module RSS Feed Poster installed (and I apologize if this is a known bug that has already been addressed, just point me to right message as there is a ton of them to scour through) anyway, the RSS feedposter requires me to run a cron job from my host to operate properly and as I said earlier, the problem I'm about to show you is a MINOR one because everything still seems to operate properly with all installed mods on my SMF 2.0 RC2 production site...

The following pic is a snapshot from the status email I get when the cron job does its job 24 times a day, the part circled in purple only started appearing after installing SMF Arcade yesterday... there is another error msg down below what is pictured here but it's related to a different mod with the same problem as this one...

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.rjventure.com%2Fimages%2Fsmfhelpticket30.png&hash=a31ee4800cd707e52e144c2e30fc51d61367573c)

Title: Re: SMF Arcade
Post by: KensonPlays on January 16, 2010, 11:46:27 PM
Quote from: Bigguy on December 29, 2009, 11:19:21 AM
So you have checked ownership of files and folders as well. ???

Yes, all "777"...
Title: Re: SMF Arcade
Post by: Bob Perry of Web Presence Consulting on January 17, 2010, 12:09:57 AM
Also have a minor little glitch in the game listing display, how do I replace the box with either a space or a faded out star? Just guessing but I would say that if I had 3 star rating on one it would display two of those ugly boxes, have had to make some minor adjustments to a couple games' screen sizes, but everything is actually functioning quite nicely with no error in SMF logs

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.rjventure.com%2Fimages%2Fsmfhelpticket31.png&hash=303a2e61f97db36ee986da060d579e228cec1d39)

Title: Re: SMF Arcade
Post by: SA™ on January 17, 2010, 01:43:28 AM
thats just missing an image attached is the image

goes into

Themes/default/images
Title: Re: SMF Arcade
Post by: Bob Perry of Web Presence Consulting on January 17, 2010, 01:59:45 AM
Quote from: Sleepy Arcade on January 17, 2010, 01:43:28 AM
thats just missing an image attached is the image

goes into

Themes/default/images


Mucho thanks, image issue resolved
Title: Re: SMF Arcade
Post by: Mr. Jinx on January 17, 2010, 05:52:10 AM
Dutch Translation for Arcade 2.5 RC1

Arcade 2.5 RC1 Dutch language files (http://www.simplemachines.org/community/index.php?action=dlattach;topic=29619.0;attach=131825)
Arcade 2.5 RC1 Dutch UTF8 language files (http://www.simplemachines.org/community/index.php?action=dlattach;topic=29619.0;attach=131822)

Instructions:
This translation is for SMF Arcade 2.5 RC1
To install, simply extract these files in your language directory.
For example, put them in : /site/forum/Themes/default/languages/
After this you may have to clear your SMF cache (Forum Maintenance > Routine > Empty the cache file)
NOTE: Do not overwrite your existing 'Modifications.dutch.php' or 'Modifications.dutch-utf.php' file but add the contents from the 'Modifications.dutch.txt.php' or ''Modifications.dutch-utf8.txt.php' file.

Have fun!
Title: Re: SMF Arcade
Post by: jeza on January 17, 2010, 07:36:22 AM
QuoteThe following pic is a snapshot from the status email I get when the cron job does its job 24 times a day, the part circled in purple only started appearing after installing SMF Arcade yesterday

The only thing I can think of is your cron job files may have had their chmod changed when installing.
Title: Re: SMF Arcade
Post by: Bob Perry of Web Presence Consulting on January 17, 2010, 07:48:55 AM
Quote from: jeza on January 17, 2010, 07:36:22 AM
QuoteThe following pic is a snapshot from the status email I get when the cron job does its job 24 times a day, the part circled in purple only started appearing after installing SMF Arcade yesterday

The only thing I can think of is your cron job files may have had their chmod changed when installing.

That could be it, will know for sure at top of hour when the job runs... the cronrss.php file did have a funky chmod setting, changed it to 755 and we'll see in about 15 minutes... thanks
Title: Re: SMF Arcade
Post by: Mick. on January 17, 2010, 11:50:48 AM
Hmmm....odd.    I finally got around to load the arcade for RC2 since i upgraded from 1.1.11


Funny that now i cannot save scores and the games itself look a lot smaller than before when i had it on 1.1.11
Title: Re: SMF Arcade
Post by: Bob Perry of Web Presence Consulting on January 17, 2010, 12:19:10 PM
Quote from: bperry921 on January 17, 2010, 07:48:55 AM
Quote from: jeza on January 17, 2010, 07:36:22 AM
QuoteThe following pic is a snapshot from the status email I get when the cron job does its job 24 times a day, the part circled in purple only started appearing after installing SMF Arcade yesterday

The only thing I can think of is your cron job files may have had their chmod changed when installing.

That could be it, will know for sure at top of hour when the job runs... the cronrss.php file did have a funky chmod setting, changed it to 755 and we'll see in about 15 minutes... thanks

Well that didn't work, msg still remains in email from cron job...

Title: Re: SMF Arcade
Post by: jeza on January 17, 2010, 12:24:00 PM
Quote from: BlueDevil on January 17, 2010, 11:50:48 AM
Hmmm....odd.    I finally got around to load the arcade for RC2 since i upgraded from 1.1.11


Funny that now i cannot save scores and the games itself look a lot smaller than before when i had it on 1.1.11

http://www.smfarcade.info/forum/index.php?topic=6686.0

I would sell my own Grandma to be able to replicate this problem.
But I have never been able to, if I could then I could find a real answer to this very irritating issue.
Title: Re: SMURF Arcade
Post by: jeza on January 17, 2010, 12:27:33 PM
QuoteWell that didn't work, msg still remains in email from cron job...

The arcade, in no other way, interferes with operations such as cron jobs.
I think its time to contact your hose and ask them whats changed.

If you get an answer then please let me know as this is intriguing.
Title: Re: SMF Arcade
Post by: Bob Perry of Web Presence Consulting on January 17, 2010, 12:48:46 PM
Quote from: jeza on January 17, 2010, 12:27:33 PM
QuoteWell that didn't work, msg still remains in email from cron job...

The arcade, in no other way, interferes with operations such as cron jobs.
I think its time to contact your hose and ask them whats changed.

If you get an answer then please let me know as this is intriguing.

Won't be today, been up all night playing on the system tweaking this and that just having a great time, but let you know what I find out after I talk to them... must sleep soon
Title: Re: SMF Arcade
Post by: Mick. on January 17, 2010, 01:24:56 PM
Quote from: jeza on January 17, 2010, 12:24:00 PM
Quote from: BlueDevil on January 17, 2010, 11:50:48 AM
Hmmm....odd.    I finally got around to load the arcade for RC2 since i upgraded from 1.1.11


Funny that now i cannot save scores and the games itself look a lot smaller than before when i had it on 1.1.11

http://www.smfarcade.info/forum/index.php?topic=6686.0

I would sell my own Grandma to be able to replicate this problem.
But I have never been able to, if I could then I could find a real answer to this very irritating issue.

Thanx.   I removed the games and reloaded them.     Now im able to save scores and the game itself is now its original size.

....but i lost all my scores.   Oh well.
Title: Re: SMF Arcade
Post by: iiSimplyDo on January 21, 2010, 11:43:41 PM
how do i add games? im using the newest version. and i have it installed. and im using smf rc2.0
Title: Re: SMF Arcade
Post by: psynx on January 22, 2010, 05:56:35 AM
hello,

i have smf shop mod.

can anyone help me how to add credits when players play arcade games? or a player must buy credits first before he/she can play arcade game?
Title: Re: SMF Arcade
Post by: nurg on January 30, 2010, 03:37:40 AM
Please

El directorio /........./............/......./todocromos.com/public_html/Games no tiene permiso de escritura . Por favor, alplique los permisos manualmente.

Sorry for my English is translated and tested the permissions at 777 and 755 but does not seem as if they recognize the directory path Games
Title: Re: SMF Arcade
Post by: fwitt on February 02, 2010, 12:13:59 PM
Quote from: nurg on January 30, 2010, 03:37:40 AM
Please

El directorio /........./............/......./todocromos.com/public_html/Games no tiene permiso de escritura . Por favor, alplique los permisos manualmente.

Sorry for my English is translated and tested the permissions at 777 and 755 but does not seem as if they recognize the directory path Games

is smf in your websites root directory?
Title: Re: SMF Arcade
Post by: KensonPlays on February 03, 2010, 01:28:22 AM
Yes it is, just look at his website link (globe on left of his post) www.EXAMPLE.com is forum URL...
Title: Re: SMF Arcade
Post by: nurg on February 03, 2010, 02:28:56 AM
Yes

www.todocromos.com

thanks

Quote from: fwitt on February 02, 2010, 12:13:59 PM
Quote from: nurg on January 30, 2010, 03:37:40 AM
Please

El directorio /........./............/......./todocromos.com/public_html/Games no tiene permiso de escritura . Por favor, alplique los permisos manualmente.

Sorry for my English is translated and tested the permissions at 777 and 755 but does not seem as if they recognize the directory path Games

is smf in your websites root directory?
Title: Re: SMF Arcade
Post by: fwitt on February 03, 2010, 02:44:42 PM
couple of things to try...

compare the value of the directory Games in the arcade admin setting to the smf directory value in smfs settings, you should find that they are the same with \Games\ added on to the end of the Games directory.

Quote from: nurg on February 03, 2010, 02:28:56 AM
Yes

www.todocromos.com

thanks

Quote from: fwitt on February 02, 2010, 12:13:59 PM
Quote from: nurg on January 30, 2010, 03:37:40 AM
Please

El directorio /........./............/......./todocromos.com/public_html/Games no tiene permiso de escritura . Por favor, alplique los permisos manualmente.

Sorry for my English is translated and tested the permissions at 777 and 755 but does not seem as if they recognize the directory path Games

is smf in your websites root directory?
Title: Re: SMF Arcade
Post by: nurg on February 03, 2010, 02:56:14 PM
Hi Sorry about my English is translated into the problem is that the route does not recognize me if I delete the directory Games Games gives me the same error
Thanks
Title: Re: SMF Arcade
Post by: steve51184 on February 06, 2010, 11:31:28 PM
anyone else having problems with the arcade games showing up really small?

http://i45.tinypic.com/s1kh1y.png
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi45.tinypic.com%2Fs1kh1y.png&hash=05202c0b144d8005beb93d34bb54992ec68c9b57)
Title: Re: SMF Arcade
Post by: waruna on February 07, 2010, 09:15:40 AM
Excuse me guys, one question.

Does this mod affected my server/hosting when too many users are playing? I'm afraid this mod will slowdown my forum activity, giving disturbance for other members who are not playing.

Thanks in advance
Title: Re: SMF Arcade
Post by: steve51184 on February 07, 2010, 09:20:29 AM
hi there i'm trying to register on smfarcade.info but i'm not getting my activation email

username: (please pm me for my username)

i just need the fix from this topic:

http://www.smfarcade.info/forum/index.php?topic=6652.0
Title: Re: SMF Arcade
Post by: steve51184 on February 08, 2010, 03:05:16 AM
Quote from: ppbz on February 06, 2010, 11:31:28 PM
anyone else having problems with the arcade games showing up really small?

http://i45.tinypic.com/s1kh1y.png
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi45.tinypic.com%2Fs1kh1y.png&hash=05202c0b144d8005beb93d34bb54992ec68c9b57)

anyone? :'(
Title: Re: SMF Arcade
Post by: SA™ on February 08, 2010, 09:26:57 AM
you can change the games size in arcade admin whe you edit the game

Quotehi there i'm trying to register on smfarcade.info but i'm not getting my activation email

username: (please pm me for my username)

i just need the fix from this topic:

http://www.smfarcade.info/forum/index.php?topic=6652.0


is the attachment you want from there ? for the arcade admin? attched
Title: Re: SMF Arcade
Post by: steve51184 on February 08, 2010, 09:31:40 AM
Quote from: Sleepy Arcade on February 08, 2010, 09:26:57 AM
you can change the games size in arcade admin whe you edit the game

Quotehi there i'm trying to register on smfarcade.info but i'm not getting my activation email

username: (please pm me for my username)

i just need the fix from this topic:

http://www.smfarcade.info/forum/index.php?topic=6652.0


is the attachment you want from there ? for the arcade admin? attched

but all my games have a big size set already but there all showing really small (all the same size)
Title: Re: SMF Arcade
Post by: farao25 on February 11, 2010, 01:09:49 AM
Hello friends !!!
I 've installed SMF Arcade 2.5 RC1 and firstly all were working fine.But it seems when i put in General - Settings -
Url to games : http://download.smfarcade.info/ everything stop working.When i click a game it doesn't open.
Therefore i was wondering what is the default "General - Settings -
Url to games :" and what should i check in  Permissions to allow everyone to play exept guests ?
Title: Re: SMF Arcade
Post by: steve51184 on February 11, 2010, 01:20:01 AM
so can i help some help with my problem? (all games showing really small)
Title: Re: SMF Arcade
Post by: bgowebmistress on February 19, 2010, 12:41:29 PM
Trying to install version 2.0.18 on SMF version 1.1.11. I get a test failed error on index.template.php when I try to install.  I looked through their wiki and found instructions to look at install.xml for how to fix. Is this the instructions I need to follow?

<file name="$themes_dir/default/index.template.php">
        <operation>
            <search position="before"><![CDATA[   if (in_array($context['current_action'], array('admin', ]]></search>
            <add><![CDATA['managegames', 'arcadesettings', 'arcadecategory', ]]></add>
        </operation>

        <operation>
            <search position="before"><![CDATA[   if (in_array($context['current_action'], array('search', ]]></search>
            <add><![CDATA['arcade', ]]></add>
        </operation>

        <operation>
            <search position="after"><![CDATA[// How about the [search] button?]]></search>
            <add><![CDATA[    echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
         <td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
            <a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
         </td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';]]></add>
        </operation>
    </file>


And if they are, do I go ahead and install the package, ignoring the error and then modify index.template.php or do I mod the file first and then install?
Title: Re: SMF Arcade
Post by: Chen Zhen on February 22, 2010, 08:15:13 PM
Quote from: bgowebmistress on February 19, 2010, 12:41:29 PM
Trying to install version 2.0.18 on SMF version 1.1.11. I get a test failed error on index.template.php when I try to install.  I looked through their wiki and found instructions to look at install.xml for how to fix. Is this the instructions I need to follow?

<file name="$themes_dir/default/index.template.php">
        <operation>
            <search position="before"><![CDATA[   if (in_array($context['current_action'], array('admin', ]]></search>
            <add><![CDATA['managegames', 'arcadesettings', 'arcadecategory', ]]></add>
        </operation>

        <operation>
            <search position="before"><![CDATA[   if (in_array($context['current_action'], array('search', ]]></search>
            <add><![CDATA['arcade', ]]></add>
        </operation>

        <operation>
            <search position="after"><![CDATA[// How about the [search] button?]]></search>
            <add><![CDATA[    echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
         <td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
            <a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
         </td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';]]></add>
        </operation>
    </file>


And if they are, do I go ahead and install the package, ignoring the error and then modify index.template.php or do I mod the file first and then install?


This is correct. You just need learn how to read the xml file properly.

The above edit to your / Themes / default / index.template.php

Find:

if (in_array($context['current_action'], array('admin',


Add this AFTER above code:

'managegames', 'arcadesettings', 'arcadecategory',


Find:

if (in_array($context['current_action'], array('search',


Add AFTER above code:

'arcade',


Find:

// How about the [search] button?


Add BEFORE above code:

    echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
         <td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
            <a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
         </td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';




UD
Title: Re: SMF Arcade
Post by: Blah blah on March 09, 2010, 10:02:53 PM
Hello, Im wondering if there are sites with FREE games to  download and add to my site. Im so tired of these places trying to charge for these little flash games.
Title: Re: SMF Arcade
Post by: lc62003 on March 09, 2010, 10:04:39 PM
Have you been here?

http://games.smfarcade.info/



Also, just wondering if there will be RC3 support for this mod!   8)
Title: Re: SMF Arcade
Post by: gbsothere on March 09, 2010, 10:06:23 PM
Quote from: Blah blah on March 09, 2010, 10:02:53 PM
Hello, Im wondering if there are sites with FREE games to  download and add to my site. Im so tired of these places trying to charge for these little flash games.


http://smfarcade.info (http://smfarcade.info) has a listing of game sites.  A particular favorite of mine is http://www.ibpdownloads.com (http://www.ibpdownloads.com).  You do have to register and you must show proof that your site has the arcade installed (screenshot).  Until you do this, your account is locked, but after that, the games are free and they have a nice selection. 

:)
Title: Re: SMF Arcade
Post by: Blah blah on March 10, 2010, 01:54:04 AM
Thanks.

Here is another good one I found

http://www.forums.wolfpackarcade.com/index.php?
Title: Re: SMF Arcade
Post by: waruna on March 10, 2010, 01:28:08 PM
Hye guys. I got an error occured:

"Score was not saved because session is missing"

How to solve this? :( Thanks in advance. :)

I'm using SMF2.0 RC2
Title: Re: SMF Arcade
Post by: Skhilled on March 12, 2010, 05:40:59 PM
Quote from: farao25 on February 11, 2010, 01:09:49 AM
Hello friends !!!
I 've installed SMF Arcade 2.5 RC1 and firstly all were working fine.But it seems when i put in General - Settings -
Url to games : http://download.smfarcade.info/ everything stop working.When i click a game it doesn't open.
Therefore i was wondering what is the default "General - Settings -
Url to games :" and what should i check in  Permissions to allow everyone to play exept guests ?
"URL to Games:" should have you site's URL in it.

Quote from: zx71 on February 11, 2010, 01:20:01 AM
so can i help some help with my problem? (all games showing really small)
Not sure why your games are still showing small. What browser are you using? Have you tried using a different one for comparison?
Title: Re: SMF Arcade
Post by: Skhilled on March 12, 2010, 05:48:56 PM
Quote from: waruna on March 10, 2010, 01:28:08 PM
Hye guys. I got an error occured:

"Score was not saved because session is missing"

How to solve this? :( Thanks in advance. :)

I'm using SMF2.0 RC2
Run Arcade Maintenance : Update Cache and scores and see if that helps. Also, try these 2:

http://www.smfarcade.info/forum/index.php?topic=4162.0 (http://www.smfarcade.info/forum/index.php?topic=4162.0)

http://www.smfarcade.info/wiki/SMF_Arcade/FAQ#Scores_do_not_save (http://www.smfarcade.info/wiki/SMF_Arcade/FAQ#Scores_do_not_save)

Quote from: smp420 on March 11, 2010, 11:08:06 PM
Getting this error
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
File: /home/lazerdms/public_html/Sources/ArcadeList.php
Line: 168


on a site not using utf8
This is because you have mixed collations in your database. Some of the tables are general and others are unicode. You'll need to go into phpmyadmin and change them to whatever the default is for your server.

The UTF8 for your database is not the same as the one on your forum but it does use it.
Title: Re: SMF Arcade
Post by: Glowbot on March 13, 2010, 06:44:21 AM
Hi, just wondering, I get these errors

Quote8: Undefined variable: first
File: /home/alist/public_html/Themes/default/ArcadeMenu.template.php (main_above sub template - eval?)
Line: 668

Quote8: Undefined variable: last
File: /home/alist/public_html/Themes/default/ArcadeMenu.template.php (main_above sub template - eval?)
Line: 671

and no icons load.

How do I fix these please? I downloaded SMF_Arcade_2.0.18.
Title: Re: SMF Arcade
Post by: Skhilled on March 13, 2010, 03:58:18 PM
Quote from: Glowbot on March 13, 2010, 06:44:21 AM
Hi, just wondering, I get these errors

Quote8: Undefined variable: first
File: /home/alist/public_html/Themes/default/ArcadeMenu.template.php (main_above sub template - eval?)
Line: 668

Quote8: Undefined variable: last
File: /home/alist/public_html/Themes/default/ArcadeMenu.template.php (main_above sub template - eval?)
Line: 671

and no icons load.

How do I fix these please? I downloaded SMF_Arcade_2.0.18.
I have never seen those errors before. I can only assume that the mod was not installed correctly and some code is missing OR there is a conflict with another mod. You can find out what the "(main_above sub template - eval?)" means by doing this:

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

Quote from: smp420 on March 13, 2010, 02:02:10 PM
Quote from: Blah blah on March 09, 2010, 10:02:53 PM
Hello, Im wondering if there are sites with FREE games to  download and add to my site. Im so tired of these places trying to charge for these little flash games.
I don't know these work on this mod because I use avarcade for my site (I have 1200+ games) but I use http://www.mochimedia.com/ for my games
There is a hack in the Hacks board that will allow you to play Mochi games with SMF Arcade.
Title: Re: SMF Arcade
Post by: Blah blah on March 13, 2010, 04:04:47 PM
I cant get games to submit scores that have a "gamedata" folder??? If they dont they work just fine
Title: Re: SMF Arcade
Post by: rider on March 13, 2010, 05:31:38 PM
Quote from: Blah blah on March 13, 2010, 04:04:47 PM
I cant get games to submit scores that have a "gamedata" folder??? If they dont they work just fine
This what u need to do for them to work.........Some games you get from around the internet have a gamedata folder with them.The gamedata folder contains files that are needed for the game you just downloaded to work in your arcade.What you need to do is via FTP you need to create a folder in your fourm directory called arcade,inside of that folder you need to create another folder called gamedata.
Once you've done that then you need to take the gamedata folder that came with the game and copy it to your newly created gamesdata folder in your FTP.When you're done the path to the directory wil be yourforumdirectory>arcade>gamedata
Title: Re: SMF Arcade
Post by: Blah blah on March 13, 2010, 05:43:01 PM
Thanks  :) that other guy that responded was SPAM
Title: Re: SMF Arcade
Post by: Chen Zhen on March 13, 2010, 05:49:20 PM
I deleted my previous message because I realize you use smf 2 rc1.2.

The above post is correct regarding having to place the gamedata folder contents in the appropriate location.
arcade / gamedata / GAME_NAME (folder containing gamedata files)
The other folder with the GAME_NAME located in your Games folder should contain the swf, gif(s) and php files.

The arcade should be installing these correctly though. Manual install this way is usually only necessary for large file sized games.

Also make sure that after putting the files in the appropriate location the game type is set at v3.2 (Edit - Advanced options).

UD

Spam?
Title: Re: SMF Arcade
Post by: Blah blah on March 13, 2010, 06:05:51 PM
Im sorry I though your post got deleted for giving links out to your site. I apologize

Thanks for the help guys
Title: Re: SMF Arcade
Post by: Chen Zhen on March 13, 2010, 06:10:16 PM
Quote from: Blah blah on March 13, 2010, 06:05:51 PM
Im sorry I though your post got deleted for giving links out to your site. I apologize

Thanks for the help guys

No - I gave you a link because you asked where to download games.

I deleted the post myself because after logging on your site I realized you are using smf arcade 2.5 and the solution I posted before was for smf arcade 2.0.1.8



Title: Re: SMF Arcade
Post by: Blah blah on March 13, 2010, 06:14:56 PM
I cant find where to "change theappropriate location the game type is set at v3.2 (Edit - Advanced options)."
Title: Re: SMF Arcade
Post by: Blah blah on March 13, 2010, 06:16:24 PM
Never mind I found it
Title: Re: SMF Arcade
Post by: leonardus on March 20, 2010, 07:26:05 AM
sorry... i miss some images

arcade_play.gif

arcade_viewscore.gif

and the other menu for my italian language...

can you help me?

where i can found it?

thx.
Title: Re: SMF Arcade
Post by: GohighVoltage on March 20, 2010, 10:03:23 AM
Is there an update for RC3?
Title: Re: SMF Arcade
Post by: Skhilled on March 20, 2010, 12:14:26 PM
Quote from: leonardus on March 20, 2010, 07:26:05 AM
sorry... i miss some images

arcade_play.gif

arcade_viewscore.gif

and the other menu for my italian language...

can you help me?

where i can found it?

thx.

The images should be in the zip that you downloaded. What other menu are you talking about?

Quote from: GohighVoltage on March 20, 2010, 10:03:23 AM
Is there an update for RC3?

Yes, at smfarcade.
Title: Re: SMF Arcade
Post by: GohighVoltage on March 20, 2010, 12:36:12 PM
Thank yoU!
Title: Re: SMF Arcade
Post by: Afro on March 20, 2010, 02:55:40 PM
Quote from: Blah blah on March 10, 2010, 01:54:04 AM
Thanks.

Here is another good one I found

http://www.forums.wolfpackarcade.com/index.php?

iii downloaded some games here.
how do i add them to the arcade ?
Title: Re: SMF Arcade
Post by: Ozzie on March 20, 2010, 06:03:25 PM
Quoteiii downloaded some games here.
how do i add them to the arcade ?

Go into admin /arcade/games pick the upload option browse to the games you want, upload them then click the install games tab ...thats it all should be well....some games need to be uploaded via ftp  if u go to http://www.smfarcade.info/forum/index.php?board=81.0 and look at the help files this will give you more info
Title: Re: SMF Arcade
Post by: cutelover007 on March 20, 2010, 10:41:05 PM
i want to put games in my website.so i need 1.1.11 ..but i don't know how to download..plz tell me that what i do to download games(1.1.11)..plz help me....


my website is
www.gupshupclub.cz.cc
so plz help me,and tell me that what i do to download game and then upload games in my website...plz help....
Title: Re: SMF Arcade
Post by: rider on March 21, 2010, 12:34:35 AM
Quote from: cutelover007 on March 20, 2010, 10:41:05 PM
i want to put games in my website.so i need 1.1.11 ..but i don't know how to download..plz tell me that what i do to download games(1.1.11)..plz help me....


my website is
www.gupshupclub.cz.cc
so plz help me,and tell me that what i do to download game and then upload games in my website...plz help....
b4 u can install games to ur site,u have togo to www.smfarcade.info,register then download the version of the arcade u need for ur forum.Thdownload and save it to a folder on ur computer.Go to ur website and then go admin/package mamnager/download package.Upload the arcade zip file to ur websita and install the arcade.once u do that ur ready for step2 which is installing the games.Come back and we'll help u there too.
Title: Re: SMF Arcade
Post by: Afro on March 21, 2010, 08:12:44 AM
Quote from: OZZIE on March 20, 2010, 06:03:25 PM
Quoteiii downloaded some games here.
how do i add them to the arcade ?

Go into admin /arcade/games pick the upload option browse to the games you want, upload them then click the install games tab ...thats it all should be well....some games need to be uploaded via ftp  if u go to http://www.smfarcade.info/forum/index.php?board=81.0 and look at the help files this will give you more info
ino site.

i meant some games i downloaded on another site.
the files are on tar not zip.
It uploads but doesnt install.
I know how to add games from the arcade.
Title: Re: SMF Arcade
Post by: rider on March 21, 2010, 08:22:36 AM
Quote from: Afro on March 21, 2010, 08:12:44 AM
Quote from: OZZIE on March 20, 2010, 06:03:25 PM
Quoteiii downloaded some games here.
how do i add them to the arcade ?

Go into admin /arcade/games pick the upload option browse to the games you want, upload them then click the install games tab ...thats it all should be well....some games need to be uploaded via ftp  if u go to http://www.smfarcade.info/forum/index.php?board=81.0 and look at the help files this will give you more info
ino site.

i meant some games i downloaded on another site.
the files are on tar not zip.
It uploads but doesnt install.
I know how to add games from the arcade.
D/L the tar files to ur pc and then right click them and open them up.U may have to d/l a program called win-rar to do so.once u open the games u need to put them in a zip file to upload them to u arcade.
Title: Re: SMF Arcade
Post by: KensonPlays on March 21, 2010, 01:00:08 PM
Quote from: rider on March 21, 2010, 08:22:36 AM
U may have to d/l a program called win-rar to do so.

A completely free alternative is 7-zip! (win-rar is paid, and you get a free trial)
Title: Re: SMF Arcade
Post by: Afro on March 21, 2010, 01:25:50 PM
How does the Arena Feature work ?
I enabled it, then invited someone and enabled 3 rounds.
Selected knockout and click  on continue.

It didnt work
Title: Re: SMF Arcade
Post by: fwitt on March 22, 2010, 09:41:41 AM
Afro: Have you read the article on the arena in the smfarcade wiki http://wiki.smfarcade.info/SMF_Arcade/Arena ? if not try following that.

If you are still having problems let us know.
Title: Re: SMF Arcade
Post by: Skhilled on March 22, 2010, 10:01:47 AM
If you use Jeza's Skin (http://www.smfarcade.info/forum/index.php?topic=6676.0) (SMF 2.x only) you can upload tar files without converting them into zip files. ;)
Title: Re: SMF Arcade
Post by: Afro on March 22, 2010, 10:52:16 AM
Quote from: Skhilled on March 22, 2010, 10:01:47 AM
If you use Jeza's Skin (http://www.smfarcade.info/forum/index.php?topic=6676.0) (SMF 2.x only) you can upload tar files without converting them into zip files. ;)

I dont get it. i m registered there but i dont get what u mean..
where do i download the tar game files there ?
Title: Re: SMF Arcade
Post by: Bob Perry of Web Presence Consulting on March 22, 2010, 04:32:42 PM
Quote from: Afro on March 21, 2010, 01:25:50 PM
How does the Arena Feature work ?
I enabled it, then invited someone and enabled 3 rounds.
Selected knockout and click  on continue.

It didnt work

Yea I have same problem but it is functional, there's a non documented trick to get the matches to appear in the arena, while setting the match up, when you hit the continue button, it most likely looks like nothing has happened, yes? Just hit the continue button a second time...
Title: Re: SMF Arcade
Post by: Afro on March 22, 2010, 07:17:04 PM
ok
Title: Re: SMF Arcade
Post by: Skhilled on March 23, 2010, 09:23:14 AM
Quote from: Afro on March 22, 2010, 10:52:16 AM
Quote from: Skhilled on March 22, 2010, 10:01:47 AM
If you use Jeza's Skin (http://www.smfarcade.info/forum/index.php?topic=6676.0) (SMF 2.x only) you can upload tar files without converting them into zip files. ;)

I dont get it. i m registered there but i dont get what u mean..
where do i download the tar game files there ?

The games at SMF Arcade are not tar files but zip files. Games at some other sites use tar files. Links to games in the following URL do have tar files as well as zips:

http://www.smfarcade.info/forum/index.php?topic=4787.0
Title: Re: SMF Arcade
Post by: ACAMS on March 30, 2010, 08:24:45 PM
Where is the list of high scores saved on the ftp?

Thanks
Title: Re: SMF Arcade
Post by: ACAMS on March 31, 2010, 09:05:22 AM
One of the members thought he was doing good pointing out how easy it is to hack and gave hisself the high score in all the games.
Is there an easy way to remove them? (if I can download a .txt, or .php then I can use notepad++)

How can I stop future attacks?

Am I in the right forum?
Title: Re: SMF Arcade
Post by: Skhilled on March 31, 2010, 10:24:36 AM
Quote from: ACAMS on March 31, 2010, 09:05:22 AM
One of the members thought he was doing good pointing out how easy it is to hack and gave hisself the high score in all the games.
Is there an easy way to remove them? (if I can download a .txt, or .php then I can use notepad++)
Yes, there are ways to cheat. Unfortunately, we currently cannot stop all of them. Saves are saved to the database. So, you must remove that member's scores from it. Find out what the member's User ID is (put your cursor over his/her username and the number after "u=") and then you'll be able to find out where his scores are and remove them. You can use phpmyadmin for this. Please rember to backup your database first. :)

Quote from: ACAMS on March 31, 2010, 09:05:22 AM
How can I stop future attacks?

Am I in the right forum?
For now, there is no way to stop some of the cheating except to restrict cheating members from the arcade or from your site. You can put them into a group that does not have arcade access, for example, if you do not wish to ban them.
Title: Re: SMF Arcade
Post by: ACAMS on March 31, 2010, 12:04:56 PM
Thanks, I found the user number and went into phpmyadmin and searched for him, and found him, but can't delete all his scores because I am stupid.......will you please give me step-by-step details how to remove his scores because I have 110 games installed and removing them one at a time is taking a very long time.


Thanks for any help
Title: Re: SMF Arcade
Post by: ACAMS on March 31, 2010, 12:25:14 PM
Now I have screwed it up.....I deleted all his scores and he was #1 so now it says no scores recorded untill I click High Scores and there is no #1.....just #2 and down.
How do I make #2 be #1 now?
Title: Re: SMF Arcade
Post by: fwitt on March 31, 2010, 06:00:16 PM
Quote from: ACAMS on March 31, 2010, 12:25:14 PM
Now I have screwed it up.....I deleted all his scores and he was #1 so now it says no scores recorded untill I click High Scores and there is no #1.....just #2 and down.
How do I make #2 be #1 now?

use the fix scores function in the arcade admin.
in 2.0.18 it is in the arcade admin - games section at the bottom of the page in the drop down boxes.
Title: Re: SMF Arcade
Post by: ACAMS on March 31, 2010, 10:54:45 PM
I have SMF Arcade 2.5 RC1 and there is no fix scores button, so I deleted all scores.

Thanks for the help, but I think I will uninstall it if it happens again as it is too hard to work on.
Title: Re: SMF Arcade
Post by: Skhilled on April 05, 2010, 11:08:35 AM
I think I posted this at SMF Arcade somewhere. When I get a little more time I'll post it here as well. :)
Title: Re: SMF Arcade
Post by: BlaBlaBla121 on April 12, 2010, 08:17:44 PM
Thanks.
Title: Re: SMF Arcade
Post by: akbora on April 30, 2010, 04:40:14 AM
When I tap the arcade button as admin this appears immediately:

Hacking attempt...

What does it mean? Thanks
Title: Re: SMF Arcade
Post by: Afro on April 30, 2010, 06:44:34 AM
Quote from: akbora on April 30, 2010, 04:40:14 AM
When I tap the arcade button as admin this appears immediately:

Hacking attempt...

What does it mean? Thanks

means nothing. i suppose the mod didn't install well.
check the edited files manually.
Title: Re: SMF Arcade
Post by: nend on April 30, 2010, 09:07:31 PM
Quote from: akbora on April 30, 2010, 04:40:14 AM
When I tap the arcade button as admin this appears immediately:

Hacking attempt...

What does it mean? Thanks

This can also be caused by SimpleSEF. ;)
Title: Re: SMF Arcade
Post by: MATTEK on May 01, 2010, 11:10:19 PM
I've read a few pages and I can't find anything that relates to RC3 so I gotta ask.

Is this compatible with RC3?
Title: Re: SMF Arcade
Post by: nend on May 02, 2010, 12:27:55 AM
It is compatible with RC3. I have it running on one of my sites with RC3. ;)
Title: Re: SMF Arcade
Post by: op-x on May 02, 2010, 11:56:43 AM
Quote from: nend on May 02, 2010, 12:27:55 AM
It is compatible with RC3. I have it running on one of my sites with RC3. ;)

Interesting, did you download from here or @ smfarcade.info?

The smfarcade.info site is down except forum access so I downloaded from here v2.5RC1 but I get this error

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: SMF Arcade
Post by: Ozzie on May 02, 2010, 12:09:22 PM
If i not mistaken once u got arcade in your package installer click advanced and run in 2.0 RC2 emulation...i sure thats how to get it to work on rc3
Title: Re: SMF Arcade
Post by: MATTEK on May 02, 2010, 12:34:35 PM
And where's the best place to get games?
Title: Re: SMF Arcade
Post by: Ozzie on May 02, 2010, 12:43:36 PM
Quote from: MATTEK on May 02, 2010, 12:34:35 PM
And where's the best place to get games?

There is several links at smfarcade site and also 19 game packs if i remember correctly....i know its down at the moment and i know they are having probs with things and it will be bac ASAP if u u need sites that can provde games please pm me as i dont like using links to outside sites here..... if push come to shove i can provide u with some of my games of which i have 2000+



smf arcade bac up now dont know how long for though until they sort things out
Title: Re: SMF Arcade
Post by: nend on May 02, 2010, 01:15:02 PM
Quote from: MATTEK on May 02, 2010, 12:34:35 PM
And where's the best place to get games?

I would like to say Mochi-Media. Not just because I made the module for SMF-Arcade and Mochi to get along, Because I love the quality of games Mochi developers make. Plus I am a game developer also who chooses Mochi to distribute my games. They however do have ads in the games but the quality of game you get for your site, you and your users will not care about them. Also you do earn money off these ads, Nothing too surprising though.
Title: Re: SMF Arcade
Post by: MATTEK on May 02, 2010, 01:49:39 PM
I've got it installed but I can't find anywhere to enable it.
Title: Re: SMF Arcade
Post by: MATTEK on May 02, 2010, 05:08:34 PM
Anyone know why I don't have arcade options in my acp?
Title: Re: SMF Arcade
Post by: rider on May 02, 2010, 06:44:21 PM
Quote from: MATTEK on May 02, 2010, 05:08:34 PM
Anyone know why I don't have arcade options in my acp?
try checking ur lang. files.If its set to english-utf8 change to english and see if that works.
Title: Re: SMF Arcade
Post by: Afro on May 02, 2010, 06:50:03 PM
Quote from: MATTEK on May 02, 2010, 05:08:34 PM
Anyone know why I don't have arcade options in my acp?

Also check if the arcade language codes were added to the modifications.english.php of your theme.
Title: Re: SMF Arcade
Post by: MATTEK on May 02, 2010, 07:32:06 PM
Where can I find these language files?
Title: Re: SMF Arcade
Post by: MATTEK on May 02, 2010, 07:49:18 PM
I've changed the name of the language files and removed the utf8. Still nothing. Does it work with curve?
Title: Re: SMF Arcade
Post by: MATTEK on May 04, 2010, 07:17:25 PM
Well... still no luck with this.

All of my language settings are fine as well as my permissions, and still no Admin CP

However when I do install, I get an option under core feature, but when I click it ti redirects me to my Admin CP home page
Title: does SMF_Arcade_2.0.18.zip for 1.1.x works for 1.1.11 ?
Post by: enCyde on May 05, 2010, 12:40:58 AM
I got Error in Package Installation and I don't want to continue the installation I really want this modd.

1 file fails:

5.     Execute Modification     ./Themes/default/index.template.php     Test failed
Title: Re: SMF Arcade
Post by: MATTEK on May 05, 2010, 04:18:05 AM
Well...I got this installed correctly. I can't figure out how to install games. I've followed instructions from the website, but I can't find any of the folders they talk about in my directory.
Title: Re: SMF Arcade
Post by: enCyde on May 05, 2010, 10:46:54 AM
please help me I get error in installation of arcade mod, I really want this mod.

5.     Execute Modification     ./Themes/default/index.template.php     Test failed


I'm running 1.1.11

what shuld I do to get it working and not having that error.

please help
Title: Re: SMF Arcade
Post by: Afro on May 05, 2010, 11:05:43 AM
Quote from: MATTEK on May 04, 2010, 07:17:25 PM
Well... still no luck with this.

All of my language settings are fine as well as my permissions, and still no Admin CP

However when I do install, I get an option under core feature, but when I click it ti redirects me to my Admin CP home page

What theme and default language are you using ?
Title: Re: SMF Arcade
Post by: MATTEK on May 05, 2010, 05:07:14 PM
Quote from: Afro on May 05, 2010, 11:05:43 AM
Quote from: MATTEK on May 04, 2010, 07:17:25 PM
Well... still no luck with this.

All of my language settings are fine as well as my permissions, and still no Admin CP

However when I do install, I get an option under core feature, but when I click it ti redirects me to my Admin CP home page

What theme and default language are you using ?

Curve English. When I click the Uplod tab in the arcade admin cp, I get this, "Directory /homepages/46/d274007555/htdocs/board/Games is not writable and chmod didn't succeed. Please make it writable manually.". So I've tried 777 and 755 and nothing seems to work.

Mods installed are : Enhanced PM pop up, Favicon, Aeva, Menu Order, Simple Portal, Spolier BBC code, Join date in post, Welcome back, Message prebiew on hover, Google Route Map, Ultimate Profile, Rules, Location in posts. Multi Quote, Bakers Dozen pages, Referrals, Inline attatchment​s, MCLEgend, Teampage
Title: Re: SMF Arcade
Post by: rider on May 05, 2010, 06:40:42 PM
Mattek,have u tried to switch to the default theme?If not try that and see if the arcade shows up.As for the chmod error try going to packages>options and make all files writable b4 u do and install.
Title: Re: SMF Arcade
Post by: rider on May 05, 2010, 06:42:23 PM
I can't say for sure but it may be a conflict with one of the other mods u have installed thats causing u all the trouble.
Title: Re: SMF Arcade
Post by: MATTEK on May 05, 2010, 07:05:11 PM
Quote from: rider on May 05, 2010, 06:40:42 PM
Mattek,have u tried to switch to the default theme?If not try that and see if the arcade shows up.As for the chmod error try going to packages>options and make all files writable b4 u do and install.

So make everything writable previous to installing the mod?

If I choose custom and make it 777 will that still work or do I have to select "writable"?
Title: Re: SMF Arcade
Post by: enCyde on May 06, 2010, 05:12:56 AM
No one has a idea or can help me? scroll up to see my posts, I really want this mod....

please help
Title: Re: SMF Arcade
Post by: Ozzie on May 06, 2010, 06:21:14 AM
Quote from: enCyde on May 05, 2010, 10:46:54 AM
please help me I get error in installation of arcade mod, I really want this mod.

5.     Execute Modification     ./Themes/default/index.template.php     Test failed


I'm running 1.1.11

what should I do to get it working and not having that error.

please help


just ignore the error and load the arcade it is looking for the skin file once u got it loaded load the skin file from smfarcade and all will be sorted

skin found here http://www.smfarcade.info/forum/index.php?topic=4217.0 download final zip
Title: Re: SMF Arcade
Post by: Kindred on May 06, 2010, 08:15:01 AM
WHAT?! ???  Ozzie, that it wrong,


enCyde, what it means is that some other mod has already changed your index.template.php and the auto-install won't work
(BTW: Please try reading the thread or doing search? This question has been asked for nearly EVERY mod and has been answered several thousand times)

You can do the auto install and then you will have to manually install the code for this mod into that file. I suspect that you are using smf 1.1.11... in whih case you will also have to manually install the mod in any additional themes that you run on your site.
Title: Re: SMF Arcade
Post by: Ozzie on May 06, 2010, 09:11:13 AM
QuoteWHAT?! ???  Ozzie, that it wrong,


well it worked for me kindred..
Title: Re: SMF Arcade
Post by: enCyde on May 07, 2010, 01:44:36 AM
yea thanks OZZIE works perfect games runs good stats runs good no errors...


thanks
Title: Re: SMF Arcade
Post by: genius09 on May 08, 2010, 01:12:10 PM
i installed this mod on version 1.1.11 and some members are reporting that they can't access it, mainly moderators and vip but regular members can access it and play games.
Title: Re: SMF Arcade
Post by: rider on May 08, 2010, 01:18:17 PM
Quote from: genius09 on May 08, 2010, 01:12:10 PM
i installed this mod on version 1.1.11 and some members are reporting that they can't access it, mainly moderators and vip but regular members can access it and play games.
Check all your group permissions.As well as your arcade permissions in arcade admin.in arcade admin select none for permissions.
Title: Re: SMF Arcade
Post by: rider on May 08, 2010, 01:32:37 PM
Quote from: MATTEK on May 05, 2010, 07:05:11 PM
Quote from: rider on May 05, 2010, 06:40:42 PM
Mattek,have u tried to switch to the default theme?If not try that and see if the arcade shows up.As for the chmod error try going to packages>options and make all files writable b4 u do and install.

So make everything writable previous to installing the mod?

If I choose custom and make it 777 will that still work or do I have to select "writable"?
sorry for the late reply,u should choose writable and then try it.
Title: Re: SMF Arcade
Post by: MATTEK on May 08, 2010, 02:23:16 PM
Quote from: rider on May 08, 2010, 01:32:37 PM
Quote from: MATTEK on May 05, 2010, 07:05:11 PM
Quote from: rider on May 05, 2010, 06:40:42 PM
Mattek,have u tried to switch to the default theme?If not try that and see if the arcade shows up.As for the chmod error try going to packages>options and make all files writable b4 u do and install.

So make everything writable previous to installing the mod?

If I choose custom and make it 777 will that still work or do I have to select "writable"?
sorry for the late reply,u should choose writable and then try it.


Before or after installation?

I've tried both ways and I still get this error.
Title: Re: SMF Arcade
Post by: L.G.S on June 09, 2010, 06:24:57 PM
If I do a search for task/setting in the admin panel I get this error:

Fatal error: Call to undefined function submitsysteminfo() in /home/tscar/public_html/board/Sources/ArcadeAdmin.php on line 112
Title: Re: SMF Arcade
Post by: MATTEK on June 09, 2010, 06:34:52 PM
I finally got this puppy working.
Title: Re: SMF Arcade
Post by: MATTEK on June 09, 2010, 09:52:56 PM
I uploaded 2 game packs last night and afterward I got an Error 500 Error. The arcade works fine, but everytime I click the "Games" tab in the Arcade Admin CP I get the 500 error. Previous to uploading the 2 gamepacks I was fine. All other options in the arcade admin work fine, accept the "Update GameCache" in the Maintenance section. that gives me Erro 500 as well.

Any ideas?
Title: Re: SMF Arcade
Post by: MedRed on June 12, 2010, 04:55:16 PM
Quote from: L.G.S on June 09, 2010, 06:24:57 PM
If I do a search for task/setting in the admin panel I get this error:

Fatal error: Call to undefined function submitsysteminfo() in /home/tscar/public_html/board/Sources/ArcadeAdmin.php on line 112

I'm having this same issue. Any resolution?
Title: Re: SMF Arcade
Post by: ACAMS on June 15, 2010, 06:25:02 PM
Any plans for SMF 2.0 RC3
Title: Re: SMF Arcade
Post by: nend on June 15, 2010, 09:20:48 PM
It is unofficial but yes it works with SMF 2.0 RC3, I know I have it installed on my RC3 forum. ;)
Title: Re: SMF Arcade
Post by: ACAMS on June 18, 2010, 09:15:22 AM
There is no install option button, did you do a manual install?
Title: Re: SMF Arcade
Post by: Ozzie on June 18, 2010, 01:48:29 PM
on your pakage install page at the bottom click advanced button and  in emulation version put SMF 2.0 RC2 click apply and then run install that will install it in rc3
Title: Re: SMF Arcade
Post by: ACAMS on June 18, 2010, 02:42:43 PM
THANKS....I got it working.
Title: Re: SMF Arcade
Post by: uninvited13th on June 20, 2010, 06:23:58 AM
Is it compatible with smf 1.1.11?
When im parsing it with 1.1.11 it says that it is not compatible..
Title: Re: SMF Arcade
Post by: fwitt on June 20, 2010, 06:37:51 AM
Quote from: uninvited13th on June 20, 2010, 06:23:58 AM
Is it compatible with smf 1.1.11?
When im parsing it with 1.1.11 it says that it is not compatible..

for SMF 1.1.11 you need arcade version 2.0.18.

because of the scope of the changes for smf 2, arcade 2.5 is only written for smf 2.
Title: Re: SMF Arcade
Post by: uninvited13th on June 20, 2010, 07:52:56 AM
Quote from: fwitt on June 20, 2010, 06:37:51 AM
Quote from: uninvited13th on June 20, 2010, 06:23:58 AM
Is it compatible with smf 1.1.11?
When im parsing it with 1.1.11 it says that it is not compatible..

for SMF 1.1.11 you need arcade version 2.0.18.

because of the scope of the changes for smf 2, arcade 2.5 is only written for smf 2.

Yah, when i parse 2.0.18 for 1.1.11 it says its not compatible.. Try it.. :)
Title: Re: SMF Arcade
Post by: Chen Zhen on June 25, 2010, 08:47:09 AM

Updated installation packages are available on the SMF Arcade (http://download.smfarcade.info/) website.

Title: Re: SMF Arcade
Post by: PurpleCrow on July 03, 2010, 07:59:50 AM
I'm getting an error when I use the search box within the ACP.

QuoteFatal error: Call to undefined function submitsysteminfo() in /home/cottageh/public_html/thewitchespath.com/Sources/ArcadeAdmin.php  on line 112

Currently, there isnt anything on line 112... Maybe thats the problem? I've attatched the file, I've tried to have a play around with it myself but nothing has gotten rid of the error.

Title: Re: SMF Arcade
Post by: Mave on July 06, 2010, 04:40:55 AM
Thanx for Great mod

For 2.5RC1 i translate to german.

German Translate (http://wiki.smfportal.de/Kategorie:%C3%9Cbersetzung)
Title: Re: SMF Arcade
Post by: fwitt on July 09, 2010, 04:54:36 PM
Quote from: PurpleCrow on July 03, 2010, 07:59:50 AM
I'm getting an error when I use the search box within the ACP.

QuoteFatal error: Call to undefined function submitsysteminfo() in /home/cottageh/public_html/thewitchespath.com/Sources/ArcadeAdmin.php  on line 112

Currently, there isnt anything on line 112... Maybe thats the problem? I've attatched the file, I've tried to have a play around with it myself but nothing has gotten rid of the error.

the call seems to be on line 223.
next task is finding which file the function should be defined in.
Title: Re: SMF Arcade
Post by: niko on July 15, 2010, 03:19:36 PM
I think I have posted this before but:

ArcadeAdmin.php

Replace:

function ArcadeAdminSettings($return_config = false)
{
global $scripturl, $txt, $modSettings, $context, $settings;

$context[$context['admin_menu_name']]['tab_data']['description'] = $txt['arcade_settings_desc'];


With

function ArcadeAdminSettings($return_config = false)
{
global $scripturl, $txt, $modSettings, $context, $settings;

if ($return_config)
require_once($sourcedir . '/Subs-ArcadeAdmin.php');
else
$context[$context['admin_menu_name']]['tab_data']['description'] = $txt['arcade_settings_desc'];
Title: Re: SMF Arcade
Post by: Wally. on July 23, 2010, 09:02:17 AM
Hey guys I attempted to install the latest version of the arcade on my 2.0 RC3 forum and got a notice about file permissions on my site. So I filled out the ftp info box and told it to install. The package was listed as installed correctly but doesn't show up in the menu etc. So I checked the directory structure and there was no games folder created either.

The first thing I thought was to try an uninstall/re-install since SMF shows the mod as loaded. However, that gives an error saying that the uninstall will fail. Is there an established fix for this that I missed? I was thinking that a full manual install might fix the problem since it already thinks that it is loaded. Is that recommended?

By-the-way I know that the mod works fine with the other packages I have installed because I tested the install on a localhost server and it all ran fine.
Title: Re: SMF Arcade
Post by: gbsothere on July 23, 2010, 10:38:32 AM
I suspect, Nox, that if you were to use ftp (or your control panel) and check one of the files that Arcade was suppose to have edited... say, index.php, for example....  you'll find that the edits aren't there.  This happened with me, on my RC3 test forum and even creating the "temp" folder in the Packages directory didn't solve it.  It only gave me a false "successfully installed" message, but none of the files were edited.

This is what I would do:  check to make sure you own the directories/files.  You can go to your file manager and look at the various directories and there should be a column next to each one displaying the owner.  If you see your own username/groupname then you own the files.  If you see something else (an example would be "apache") then you do not own the files.  In that case, changing permissions, although it may seem to work, will not work.  You need to own the directories and files before you can actually get a permission to really change.

If you find that you do not own the directories and files, and you don't know how to chown, yourself, then ask your server to do this for you.
Title: Re: SMF Arcade
Post by: Wally. on July 23, 2010, 11:10:30 AM
Thanks for the quick reply gbsothere. :) I will try that out tonight and see what happens.

--
Update:
That was exactly the problem gbsothere. Thanks for the info!
Title: Re: SMF Arcade
Post by: Mave on July 26, 2010, 09:34:56 AM
Please Fix Error


http://www.123.de/index.php?action=admin;area=arcadecategory;sa=edit;category=1

8: Undefined variable: context

File: /home/www/web68/html/smf/Sources/Subs-ArcadeAdmin.php
Line: 1116
Title: Re: SMF Arcade
Post by: Wally. on July 29, 2010, 12:57:11 PM
On several of the games I've installed I get an error when I attempt to submit a score.
QuoteError while saving score for game "RandomGameName". Submit system might be invalid, should be "ibp32" or user tried to cheat.
I ran a thread search for "ibp32" but it doesn't return any hits. So is there any advice on how to correct this? Sorry if this is a stupid question, but I'm a noob with Arcade.

(FYI: I'm running SMF 2.0 RC3 and the latest version of SMF Arcade.)
Title: Re: SMF Arcade
Post by: GrizzlyBear on August 02, 2010, 04:30:21 PM
I have read through about 20 pages now, still not finding what I am looking for.
I have no admin cp.
I have the arcade, its working good, everyone can see it.  The only thing I am missing is the admin cp.
Any ideas?
Title: Re: SMF Arcade
Post by: gbsothere on August 02, 2010, 05:30:49 PM
Quote from: GrizzlyBear on August 02, 2010, 04:30:21 PM
I have read through about 20 pages now, still not finding what I am looking for.
I have no admin cp.
I have the arcade, its working good, everyone can see it.  The only thing I am missing is the admin cp.
Any ideas?


We need to know your version of SMF, your version of the arcade, whether or not you are using a custom theme and your forum's default language (found in Admin==> Server Settings or Admin==>  Languages).

:)
Title: Re: SMF Arcade
Post by: GrizzlyBear on August 02, 2010, 05:50:37 PM
Current SMF version: SMF 1.1.11
SMF Arcade    2.0.18
SMF Default theme
English  (Not the UTF8)

Myself, as well as regular members, see and play the games.  There are permissions options for the arcade, all of which are checked for admin and global mod. 
I dloaded the arcadeadmin.php and manually added it to the default/themes/
Title: Re: SMF Arcade
Post by: gbsothere on August 02, 2010, 06:06:21 PM
In the arcade zip, these files need to be placed in /Sources:

ArcadeList.php
ArcadeInstall.php
Subs-Arcade.php
ManageGames.php
ArcadePlay.php
ArcadeSettings.php
ArcadeStats.php
Arcade.php

These files need to be placed in /Themes/default:

ArcadeAdmin.template.php
ArcadeMenu.template.php
arcade.js
Arcade.template.php
swfobject.js
ManageGames.template.php

These images in /Themes/default/images:

gold.gif
favorite2.gif
star2.gif
favorite.gif

And these files in /Themes/default/languages:

Arcade.english.php
Modifications.english.php
ArcadeAdmin.english.php


Did you use the package manager to install and if so, did you have any errors?

:)
Title: Re: SMF Arcade
Post by: GrizzlyBear on August 02, 2010, 06:29:36 PM
I did use the package manager to install and I got the index error.  I manually added the file to the 'theme'.  Once I did that I could see the tab.
I went through and manually installed all files to the correct areas. 
I did notice that the 'awards' mod is no longer showing up.  No a big deal since it isn't used much.
Title: Re: SMF Arcade
Post by: gbsothere on August 02, 2010, 06:33:33 PM
Quote from: GrizzlyBear on August 02, 2010, 06:29:36 PM
I did use the package manager to install and I got the index error.  I manually added the file to the 'theme'.  Once I did that I could see the tab.
I went through and manually installed all files to the correct areas. 
I did notice that the 'awards' mod is no longer showing up.  No a big deal since it isn't used much.


I'm actually surprised that it installed with the package manager, since the .xml file has <install for="1.1 - 1.1.9">. 


Did you click the radio button next to 2.0.8 on the mod's page and set the pulldown to 1.1.9 and check the parsing instructions for the files listed against your own files?  (At this time, setting it to 1.1.11 or even 1.1.10 yields a "not compatible" message but the parsing for 1.1.9 will work.)
Title: Re: SMF Arcade
Post by: GrizzlyBear on August 02, 2010, 06:53:13 PM
Quote from: gbsothere on August 02, 2010, 06:33:33 PM



I'm actually surprised that it installed with the package manager, since the .xml file has <install for="1.1 - 1.1.9">. 

Did you click the radio button next to 2.0.8 on the mod's page and set the pulldown to 1.1.9 and check the parsing instructions for the files listed against your own files?  (At this time, setting it to 1.1.11 or even 1.1.10 yields a "not compatible" message but the parsing for 1.1.9 will work.)
Your gonna have to direct me on this.  Mods page?  If you are refering to where all the dloaded mods are, there is no radial next to 2.0.8, just a button telling me it's installed.

Title: Re: SMF Arcade
Post by: gbsothere on August 02, 2010, 06:58:37 PM
Quote from: GrizzlyBear on August 02, 2010, 06:53:13 PM
Your gonna have to direct me on this.  Mods page?  If you are refering to where all the dloaded mods are, there is no radial next to 2.0.8, just a button telling me it's installed.


Sorry, the mod's page here on this site:

http://custom.simplemachines.org/mods/index.php?mod=36 (http://custom.simplemachines.org/mods/index.php?mod=36)

You'll see a place to click next to 2.0.8 and then, if you set the pulldown to 1.1.9 and click "Parse" you'll be taken to the manual edits.  If you pull these files from your server and check them against the edits shown, you should discover why the admin panel isn't showing up.  I suspect Modifications.english.php but it's a good idea to check all of them.

Title: Re: SMF Arcade
Post by: GrizzlyBear on August 02, 2010, 08:38:55 PM
Thanks a billion.  The error was in the subs.php
+1 Karma for you!
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on August 02, 2010, 08:39:59 PM
Quote from: GrizzlyBear on August 02, 2010, 08:38:55 PM
Thanks a billion.  The error was in the subs.php
+1 Karma for you!

SMF does not use karma lol, but virtual karma should make gbsothere happy :P
Title: Re: SMF Arcade
Post by: gbsothere on August 02, 2010, 08:49:09 PM
Quote from: GrizzlyBear on August 02, 2010, 08:38:55 PM
Thanks a billion.  The error was in the subs.php
+1 Karma for you!



Thanks!

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwhereitestmystuff.com%2Fimages%2Fthumb.gif&hash=fbe057efff6d88bc8293617d752cf12a98abaa09)



Quote from: johncccccc on August 02, 2010, 08:39:59 PM

SMF does not use karma lol, but virtual karma should make gbsothere happy :P


Yes, I'll take what I can get.   ;)
Title: Re: SMF Arcade
Post by: Various Rulez on August 02, 2010, 08:53:54 PM
What is the Working download link them links dont work on page 1 and How do i install it on my Forum
Title: Re: SMF Arcade
Post by: gbsothere on August 02, 2010, 08:56:26 PM
Quote from: Tommy24 on August 02, 2010, 08:53:54 PM
What is the Working download link them links dont work on page 1 and How do i install it on my Forum


What version of SMF, Tommy?

Title: Re: SMF Arcade
Post by: Various Rulez on August 02, 2010, 08:58:31 PM
Quote from: gbsothere on August 02, 2010, 08:56:26 PM
Quote from: Tommy24 on August 02, 2010, 08:53:54 PM
What is the Working download link them links dont work on page 1 and How do i install it on my Forum


What version of SMF, Tommy?
SMF 1.1.11
Title: Re: SMF Arcade
Post by: gbsothere on August 02, 2010, 09:00:43 PM
Quote from: Tommy24 on August 02, 2010, 08:58:31 PM
SMF 1.1.11


You can try to go ahead and run 2.0.8 through your package manager, Tommy, since it will parse and run on 1.1.11.  If you get an error, let me know.  The .xml file may have to be edited, but download the zip, go to Admin--> Packages--> Download Packages then browse to the zip and upload it.  Then click Install and let's see what happens.  If you get an error, let me know before you continue.

Title: Re: SMF Arcade
Post by: Various Rulez on August 02, 2010, 09:02:40 PM
Quote from: gbsothere on August 02, 2010, 09:00:43 PM
Quote from: Tommy24 on August 02, 2010, 08:58:31 PM
SMF 1.1.11


You can try to go ahead and run 2.0.8 through your package manager, Tommy, since it will parse and run on 1.1.11.  If you get an error, let me know.  The .xml file may have to be edited, but download the zip, go to Admin--> Packages--> Download Packages then browse to the zip and upload it.  Then click Install and let's see what happens.  If you get an error, let me know before you continue.
What is the link for download or what zip file??
Title: Re: SMF Arcade
Post by: gbsothere on August 02, 2010, 09:03:42 PM
Quote from: Tommy24 on August 02, 2010, 09:02:40 PM
What is the link for download or what zip file??


Here's the link and it's the first zip 2.0.8.

http://custom.simplemachines.org/mods/index.php?mod=36 (http://custom.simplemachines.org/mods/index.php?mod=36)

Title: Re: SMF Arcade
Post by: Various Rulez on August 02, 2010, 09:07:05 PM
Quote from: gbsothere on August 02, 2010, 09:03:42 PM
Quote from: Tommy24 on August 02, 2010, 09:02:40 PM
What is the link for download or what zip file??


Here's the link and it's the first zip 2.0.8.

http://custom.simplemachines.org/mods/index.php?mod=36 (http://custom.simplemachines.org/mods/index.php?mod=36)

I click this :: import games and scores and i get this :: Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Title: Re: SMF Arcade
Post by: gbsothere on August 02, 2010, 09:09:36 PM
Quote from: Tommy24 on August 02, 2010, 09:07:05 PM

I click this :: import games and scores and i get this :: Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.



I think we're misunderstanding each other, Tommy.   :)

Are you telling me that you already have the arcade installed and are trying to get games?  I thought that you were asking me earlier how to install the arcade.  No?

Title: Re: SMF Arcade
Post by: Various Rulez on August 02, 2010, 09:12:18 PM
Quote from: gbsothere on August 02, 2010, 09:09:36 PM
Quote from: Tommy24 on August 02, 2010, 09:07:05 PM

I click this :: import games and scores and i get this :: Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.



I think we're misunderstanding each other, Tommy.   :)

Are you telling me that you already have the arcade installed and are trying to get games?  I thought that you were asking me earlier how to install the arcade.  No?

I was it installed fine and everything thanks to you but i get that error whY?
Title: Re: SMF Arcade
Post by: gbsothere on August 02, 2010, 09:19:06 PM
Quote from: Tommy24 on August 02, 2010, 09:12:18 PM
I was it installed fine and everything thanks to you but i get that error whY?


Oh, I understand, now.  Okay.  Once the mod is installed and you have gone to your admin area and enabled it (and you'll also have to go to each membergroup's permissions to allow them to access it), then you'll want to get games.  The easiest way to start is to go here:

http://games.smfarcade.info/ (http://games.smfarcade.info/)

where you can click on Game Packs or download individual games.  You'll need to register.  These games come in zips so when you download them, you'll go to Admin-->  Arcade Admin--> Games and click the Install tab.  At the bottom of that page, you will browse to your game zip, upload it and install it. 

Now...

You can't upload any games with extensions other that .zip (such as .tar, which are v32 games) until you first apply Jeza's arcade skin.  You can get that zip here (at the bottom of the post on this thread) and install it with your package manager just like any mod:

http://www.smfarcade.info/forum/index.php?topic=4217.msg25933#msg25933 (http://www.smfarcade.info/forum/index.php?topic=4217.msg25933#msg25933)


v32 games require that you create a directory in your forum's root called:  arcade (small case) and inside that folder, another folder called:  gamedata  (small case).

To learn where you can get other games, try this link:

http://www.smfarcade.info/forum/index.php?topic=4787.0 (http://www.smfarcade.info/forum/index.php?topic=4787.0)

:)
Title: Re: SMF Arcade
Post by: Various Rulez on August 02, 2010, 09:24:47 PM
Quote from: gbsothere on August 02, 2010, 09:19:06 PM
Quote from: Tommy24 on August 02, 2010, 09:12:18 PM
I was it installed fine and everything thanks to you but i get that error whY?


Oh, I understand, now.  Okay.  Once the mod is installed and you have gone to your admin area and enabled it (and you'll also have to go to each membergroup's permissions to allow them to access it), then you'll want to get games.  The easiest way to start is to go here:

http://games.smfarcade.info/ (http://games.smfarcade.info/)

where you can click on Game Packs or download individual games.  You'll need to register.  These games come in zips so when you download them, you'll go to Admin-->  Arcade Admin--> Games and click the Install tab.  At the bottom of that page, you will browse to your game zip, upload it and install it. 

Now...

You can't upload any games with extensions other that .zip (such as .tar, which are v32 games) until you first apply Jeza's arcade skin.  You can get that zip here (at the bottom of the post on this thread) and install it with your package manager just like any mod:

http://www.smfarcade.info/forum/index.php?topic=4217.msg25933#msg25933 (http://www.smfarcade.info/forum/index.php?topic=4217.msg25933#msg25933)


v32 games require that you create a directory in your forum's root called:  arcade (small case) and inside that folder, another folder called:  gamedata  (small case).

To learn where you can get other games, try this link:

http://www.smfarcade.info/forum/index.php?topic=4787.0 (http://www.smfarcade.info/forum/index.php?topic=4787.0)

:)

Thanks that helped
Title: Re: SMF Arcade
Post by: gbsothere on August 02, 2010, 09:27:33 PM
Quote from: Tommy24 on August 02, 2010, 09:24:47 PM

Thanks that helped


Good, I'm glad.   ;)

I recommend http://smfarcade.info (http://smfarcade.info) as a great place to hang out and learn, Tommy. 
Title: Re: SMF Arcade
Post by: Various Rulez on August 02, 2010, 09:30:17 PM
Can you help on my HELP!! topic please
Title: Re: SMF Arcade
Post by: gbsothere on August 02, 2010, 09:41:16 PM
Quote from: Tommy24 on August 02, 2010, 09:30:17 PM
Can you help on my HELP!! topic please


I'm actually logging in to another member's site now, to help with some errors, but I did read the topic.  I think, Tommy, that you need to go back and edit your first post and try to make things more clear.  The support helpers are having a bit of trouble understanding, so they need it really spelled out for them.  :)

Good luck with your arcade. 
Title: Re: SMF Arcade
Post by: Various Rulez on August 02, 2010, 10:09:04 PM
thanks
Title: Re: SMF Arcade
Post by: arty5 on August 21, 2010, 08:08:49 AM
I found some games that have been alter to save scores in MyBB and i installed one of the games to my forum to see if it would send a hi score and i got this message
QuoteWrong value type sent to the database. Floating point number expected. (score)

These games don't have a copyright on them so what would the best program be to edit these games and change the score submitter parameters so they will work in smf arcade?
Title: Re: SMF Arcade
Post by: lax.slash on August 22, 2010, 12:56:04 AM
I can't install any games. Whenever I upload one, and try to click install, it goes back to the install page and shows "No Games available to install" and in Edit Games it shows "You haven't installed any games yet" no matter how I upload them - through the site, through FTP, as zip, or as tar. I tried three different games, and none of them worked. I had one game on there before, but had to take it off. Now I can't get it back on. IT'S DRIVING ME UP A DAMN WALL!

EDIT: Minesweeper does upload and install, though. And the directories for the games get created, but nothing else happens.
Title: Re: SMF Arcade
Post by: ɔɔɔɔɔɔuɥoɾ on August 22, 2010, 01:14:10 AM
I would check to make sure the directories where the games are uploaded to are writable
Title: Re: SMF Arcade
Post by: lax.slash on August 22, 2010, 01:33:45 AM
Quote from: JohnCcCcCc on August 22, 2010, 01:14:10 AM
I would check to make sure the directories where the games are uploaded to are writable

I had my host change ownerships from httpd:httpd to my account, and I made the directories 777, but I still had the same issue. I just had them do it again. Let's see if it works now. *fingers crossed*
Title: Re: SMF Arcade
Post by: lax.slash on August 22, 2010, 01:39:35 AM
Nothing. wtf. I did a search, and found no one else with this issue...
Title: Re: SMF Arcade
Post by: Chen Zhen on September 08, 2010, 05:54:55 PM
Quote from: lax.slash on August 22, 2010, 12:56:04 AM
I can't install any games. Whenever I upload one, and try to click install, it goes back to the install page and shows "No Games available to install" and in Edit Games it shows "You haven't installed any games yet" no matter how I upload them - through the site, through FTP, as zip, or as tar. I tried three different games, and none of them worked. I had one game on there before, but had to take it off. Now I can't get it back on. IT'S DRIVING ME UP A DAMN WALL!

EDIT: Minesweeper does upload and install, though. And the directories for the games get created, but nothing else happens.




What you are describing sounds like one of two issues:

Improper directory settings

Uploading .tar game archives:


SMF 1: Install the .tar and v32 game uploader package: http://www.smfarcade.info/forum/index.php?topic=4033.0
SMF 2: Install the SMF Arcade Rc1 Skin: http://www.smfarcade.info/forum/index.php?topic=6676.0


UD
Title: Re: SMF Arcade
Post by: ishy on September 20, 2010, 11:08:08 AM
Quote from: Skhilled on December 17, 2009, 10:03:26 AM
Quote from: ishy on December 12, 2009, 06:35:46 PM
When I tried to install this, I got:

QuoteThe server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.

As far as I can tell, it hasn't done any edits, so I can't figure out what the problem is. I went through the parser, and nothing has been done. Nothing in the error log refers to this.

Sounds like a server issue or glitch when you tried to install it. Check your permissions for files and directories and try it again.

I had forgotten about this and tried to install it again. There's no way to 'try it again' because the whole site receives this error. I think I was on a new site before and just ended up reinstalling it.  All the edits have been done except the database edits. I don't know how to fix it.
Title: Re: SMF Arcade
Post by: frantic on September 27, 2010, 04:09:07 PM
Trying to use SMF Arcade and SimpleSef.  When you try to submit your scores it gives you an too many redirects error.  Did a search and couldn't find anything.  I'm using SMF 2.0Rcs 3 and this mod.  Is their a way around this?
Title: Re: SMF Arcade
Post by: jaisi on September 28, 2010, 11:44:31 AM
Quote from: lax.slash on August 22, 2010, 12:56:04 AM
I can't install any games. Whenever I upload one, and try to click install, it goes back to the install page and shows "No Games available to install" and in Edit Games it shows "You haven't installed any games yet" no matter how I upload them - through the site, through FTP, as zip, or as tar. I tried three different games, and none of them worked. I had one game on there before, but had to take it off. Now I can't get it back on. IT'S DRIVING ME UP A DAMN WALL!

EDIT: Minesweeper does upload and install, though. And the directories for the games get created, but nothing else happens.

same problem i;am facing please help me if any bady wan my admin cp i will provide you.

Thanks in advance
Title: Re: SMF Arcade
Post by: unitman on October 18, 2010, 06:37:41 PM
Quote from: jaisi on September 28, 2010, 11:44:31 AM
Quote from: lax.slash on August 22, 2010, 12:56:04 AM
I can't install any games. Whenever I upload one, and try to click install, it goes back to the install page and shows "No Games available to install" and in Edit Games it shows "You haven't installed any games yet" no matter how I upload them - through the site, through FTP, as zip, or as tar. I tried three different games, and none of them worked. I had one game on there before, but had to take it off. Now I can't get it back on. IT'S DRIVING ME UP A DAMN WALL!

EDIT: Minesweeper does upload and install, though. And the directories for the games get created, but nothing else happens.

same problem i;am facing please help me if any bady wan my admin cp i will provide you.

Thanks in advance

I had the same problem, my solution was to unzip the games and then stick them in separate directories in the games directory under the name of the game.  Haven't had any probs yet.
Title: Re: SMF Arcade
Post by: kaitenkid on November 03, 2010, 12:31:37 PM
Wow this mod arcade,.. is super woooow..

but now.. i need this mod for RC4 please???  :'( :'(
Title: Re: SMF Arcade
Post by: eyo on November 26, 2010, 02:28:54 AM
Quote from: kaitenkid on November 03, 2010, 12:31:37 PM
Wow this mod arcade,.. is super woooow..

but now.. i need this mod for RC4 please???  :'( :'(

same here. just upgraded to 2.0rc4 and thought it had support for smf arcade - /wrists lol
Title: Re: SMF Arcade
Post by: GabbyG on December 07, 2010, 08:31:30 AM
Hello
I'm sorry to bother you but I cannot install the arcade package to my forum. I'm running 1.1.12 and thought I read it was now compatible with this version. I tried to register in the smfarcade forum but the dropdown list did not include my version.

Below is the error I keep getting with installing 2.0.18 . I'm a tech knob so I could be doing something wrong. Thank you in advance for any help you can offer.

Sincerely,
Gabby

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: SMF Arcade
Post by: Ozzie on December 07, 2010, 09:35:28 AM
yer i see its not in drop down list but it is here in this post at smfarcade  http://smfarcade.info/forum/index.php?topic=7264.0... u will prob need to reg to download it from that post

to hell with it here!!

This release only includes added support for SMF 1.1.12.
Title: Re: SMF Arcade
Post by: GabbyG on December 07, 2010, 10:21:24 AM
Thank you very much for your reply. I tried the zip file you provided and got this error.

Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Install Actions
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 ./Sources/ManagePermissions.php Test successful
3. Execute Modification ./Sources/Subs.php Test successful
4. Execute Modification ./Sources/Who.php Test successful
5. Execute Modification ./Themes/default/index.template.php Test failed  6. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
7. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test successful
8. Extract File ./Sources/Arcade.php 
9. Extract File ./Sources/ArcadeInstall.php 
10. Extract File ./Sources/ArcadeList.php 
11. Extract File ./Sources/ArcadePlay.php 
12. Extract File ./Sources/ArcadeStats.php 
13. Extract File ./Sources/ArcadeSettings.php 
14. Extract File ./Sources/Subs-Arcade.php 
15. Extract File ./Sources/ManageGames.php 
16. Extract File ./Themes/default/arcade.js 
17. Extract File ./Themes/default/swfobject.js 
18. Extract File ./Themes/default/Arcade.template.php 
19. Extract File ./Themes/default/ArcadeMenu.template.php 
20. Extract File ./Themes/default/ArcadeAdmin.template.php 
21. Extract File ./Themes/default/ManageGames.template.php 
22. Extract File ./Themes/default/languages/Arcade.english.php 
23. Extract File ./Themes/default/languages/ArcadeAdmin.english.php 
24. Extract File ./Themes/default/languages/Arcade.english-utf8.php 
25. Extract File ./Themes/default/languages/ArcadeAdmin.english-utf8.php 
26. Extract File ./Themes/default/images/favorite.gif 
27. Extract File ./Themes/default/images/favorite2.gif 
28. Extract File ./Themes/default/images/star2.gif 
29. Extract File ./Themes/default/images/gold.gif 
30. Extract File ./ArcadeLicense.txt 
31. Extract File ./installArcade.php 
32. Extract File ./newscore.php 
33. Extract Tree ./getid3 
34. Create Tree ./Games 
35. Execute Code package_install.php

Title: Re: SMF Arcade
Post by: GabbyG on December 08, 2010, 08:23:13 AM
Please I would really like some help on this:)  SMFARCADE's site won't let me register because their registration dropdown does not include my version of SMF.
Title: Re: SMF Arcade
Post by: Ozzie on December 08, 2010, 09:10:10 AM
Quote from: GabbyG on December 08, 2010, 08:23:13 AM
Please I would really like some help on this:)  SMFARCADE's site won't let me register because their registration dropdown does not include my version of SMF.



I would not worry too much about that just select the more than 1 version option it's only there to give admin a clue when it come to helping you, doing it this way should let you reg
Title: Re: SMF Arcade
Post by: rider on December 08, 2010, 09:24:05 AM
gabbyg,u should be able to install the arcade.once u insatll it,u can edit the index template to show the arcade tab.also when u install it,do so using the default template.
Title: Re: SMF Arcade
Post by: GabbyG on December 08, 2010, 06:56:18 PM
ok thank you everyone. I will try again. Sorry for being such a bother. I feel so stupid not being able to fix this.
Title: Re: SMF Arcade
Post by: sharks on December 09, 2010, 03:16:21 PM
please add the updated version of your mod to the smf mod site. i am using smf 1.1.12
Title: Re: SMF Arcade
Post by: PLAYBOY on December 16, 2010, 01:45:25 PM
Games on your site gives error.

http://games.smfarcade.info/index.php?game=114
Fatal error: Call to undefined function siteallowed() in /home/smfarc/common/Modules/games/Sources/GameDetails.php on line 53
Title: Re: SMF Arcade
Post by: ford1001 on December 31, 2010, 12:00:40 AM
Please upgrade for RC4
Title: Re: SMF Arcade
Post by: Imso on January 02, 2011, 11:40:43 PM
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

using 1.1.12
Title: Re: SMF Arcade
Post by: MissyNL on January 05, 2011, 02:01:39 PM
Quote from: ford1001 on December 31, 2010, 12:00:40 AM
Please upgrade for RC4

I really would like that also...
Title: Re: SMF Arcade
Post by: Ozzie on January 05, 2011, 03:13:52 PM
The upgraded version for rc4 is currently in the testing stage and will be released as soon as possible
Title: Re: SMF Arcade
Post by: impreza on January 05, 2011, 04:15:12 PM
A very interesting addition
Title: Re: SMF Arcade
Post by: MissyNL on January 06, 2011, 01:53:09 PM
Quote from: OZZIE on January 05, 2011, 03:13:52 PM
The upgraded version for rc4 is currently in the testing stage and will be released as soon as possible

thank you :D
Title: Re: SMF Arcade
Post by: Jessica. on January 16, 2011, 10:06:05 PM
Quote from: Imso on January 02, 2011, 11:40:43 PM
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

using 1.1.12

same here

I would love it if I could add an arcade to my forum
Title: Re: SMF Arcade
Post by: ford1001 on January 17, 2011, 05:11:53 PM
when is the RC4 version going to be released? when RC5 is out?
Title: Re: SMF Arcade
Post by: KensonPlays on January 17, 2011, 08:31:41 PM
Ford1001: rc4 is likely the last rc. 2.x gold should be out then.
Title: Re: SMF Arcade
Post by: ford1001 on January 17, 2011, 11:11:24 PM
Quote from: Kcmartz on January 17, 2011, 08:31:41 PM
Ford1001: rc4 is likely the last rc. 2.x gold should be out then.
hopefully it will be
Title: Re: SMF Arcade
Post by: tesser on January 17, 2011, 11:14:16 PM
The arcade runs well on RC4  just use it as it wont be updated until testing is done.
Title: Re: SMF Arcade
Post by: gfa-skyranger on January 22, 2011, 02:32:51 PM
Works fine under RC4.

But one Thing:
it there any way, to list the Categorys of the Games on Arcade instead of the Games itself ?

it looks a bit complex, chaotic ....
Title: Re: SMF Arcade
Post by: ysNoi on January 23, 2011, 11:27:05 PM
Quote from: MissyNL on January 05, 2011, 02:01:39 PM
Quote from: ford1001 on December 31, 2010, 12:00:40 AM
Please upgrade for RC4

I really would like that also...


Same here...I would to use it on my SMF 2.0 RC4....
Title: Re: SMF Arcade
Post by: Jessica. on January 24, 2011, 11:23:06 AM
can you make it compatible with 1.1.12 please :/
Title: Re: SMF Arcade
Post by: Sting on January 24, 2011, 05:47:16 PM
Quote from: Jessica C on January 24, 2011, 11:23:06 AM
can you make it compatible with 1.1.12 please :/

SMF Arcade's home forum:

http://smfarcade.info/forum/index.php?topic=7264.0
Title: Re: SMF Arcade
Post by: alpheus on February 19, 2011, 12:11:46 PM
Hey there. How may I set this mod for 1.1.13 please?
Title: Re: SMF Arcade
Post by: reefforum on February 27, 2011, 03:16:05 PM
1.1.13 PLEASE  ;D
Title: Re: SMF Arcade
Post by: sharks on February 27, 2011, 05:00:21 PM
You need to edit the package-xml file and change the 1.1.9 to 1.1.13 (there are 2 instances of it). The click OK if Winrar asks you if you want to update the package.
Title: Re: SMF Arcade
Post by: reefforum on March 07, 2011, 07:58:13 AM
Ok I did that, now i get this:
The package you tried to upload either is not a valid package or has become corrupted.
Title: Re: SMF Arcade
Post by: alpheus on March 08, 2011, 09:30:18 AM
Quote from: sharks on February 27, 2011, 05:00:21 PM
You need to edit the package-xml file and change the 1.1.9 to 1.1.13 (there are 2 instances of it). The click OK if Winrar asks you if you want to update the package.

This way not useful! I can't make it.
Title: Re: SMF Arcade
Post by: Arantor on March 08, 2011, 09:33:14 AM
Then use Version Emulate Dropdown (http://custom.simplemachines.org/mods/index.php?mod=2113) to override what the package manager tells the installer to use...
Title: Re: SMF Arcade
Post by: AllanD on March 09, 2011, 07:03:43 PM
Is the 2.0rc5 version out yet
Title: Re: SMF Arcade
Post by: reefforum on March 16, 2011, 12:33:05 PM
nayone got a working sample?  are the games cool enough that people actually play them?
Title: Re: SMF Arcade
Post by: Chen Zhen on March 17, 2011, 03:42:57 PM
Quote from: alpheus on February 19, 2011, 12:11:46 PM
Hey there. How may I set this mod for 1.1.13 please?

Until an official release is posted, you can use this version for SMF 1.1.13: http://smfarcade.info/forum/index.php?topic=7393.0
Title: Re: SMF Arcade
Post by: FounderSim on March 20, 2011, 12:22:09 AM
Quote from: CrazieGrafix on March 09, 2011, 07:03:43 PM
Is the 2.0rc5 version out yet


I would also like to know this.
Title: Re: SMF Arcade
Post by: T3CHN0 on March 20, 2011, 04:05:51 AM
On installing the mod in 2.0 RC5
I could not install because of error error "test failed"
I did the install my self and noticed that error was only a bracket ");" error
the rest of the install said it was successful so I then tried to continue to install and got this error

Duplicate key name 'id_game'
File: /home1/xxxxxx/public_html/xxxxxx/Packages/temp/arcadeinstall/Subs-Install.php
Line: 156

I then did the whole install my self and now get this error
Table 'xxxxxx_xxxxxx.smf_arcade_settings' doesn't exist
File:
/home1/xxxxxx/public_html/xxxxxx/Sources/Subs-Arcade.php
Line: 362

what does this mean?
a DB error I think!!!
how do I fix this?
Title: Re: SMF Arcade
Post by: T3CHN0 on March 20, 2011, 04:18:38 AM
Quote from: techno489 on March 20, 2011, 04:05:51 AM
On installing the mod in 2.0 RC5
I could not install because of error error "test failed"
I did the install my self and noticed that error was only a bracket ");" error
the rest of the install said it was successful so I then tried to continue to install and got this error

Duplicate key name 'id_game'
File: /home1/xxxxxx/public_html/xxxxxx/Packages/temp/arcadeinstall/Subs-Install.php
Line: 156

I then did the whole install my self and now get this error
Table 'xxxxxx_xxxxxx.smf_arcade_settings' doesn't exist
File:
/home1/xxxxxx/public_html/xxxxxx/Sources/Subs-Arcade.php
Line: 362

what does this mean?
a DB error I think!!!
how do I fix this?

scratch this, found by removing all data base entries and reinstalling
the auto install works and everything is ok
sorry to bother who ever starting reading this
Title: Re: SMF Arcade
Post by: roonekoos on March 20, 2011, 05:41:21 AM
Quote from: reefforum on March 16, 2011, 12:33:05 PM
nayone got a working sample?  are the games cool enough that people actually play them?

http://metal-world.biz

I have arcade installed, check it out!
Title: Re: SMF Arcade
Post by: FounderSim on March 20, 2011, 11:10:17 AM
Everytime I try to install on 2.0 RC5. I get its incompatable error.
Title: Re: SMF Arcade
Post by: Ozzie on March 20, 2011, 11:46:18 AM
it is incompatable (installing wise) at the moment it is getting worked on by the developers as we speak

load it in emulation mode for rc4..... in package manager go to the very bottom click advanced and change rc5 to rc 4 save then go back to package manager it will now install ...i
Title: Re: SMF Arcade
Post by: FounderSim on March 20, 2011, 03:12:21 PM
Quote from: OZZIE on March 20, 2011, 11:46:18 AMload it in emulation mode for rc4..... in package manager go to the very bottom click advanced and change rc5 to rc 4 save then go back to package manager it will now install ...i

huh?
Title: Re: SMF Arcade
Post by: MATTEK on March 20, 2011, 03:14:23 PM
Quote from: FounderSim on March 20, 2011, 03:12:21 PM
Quote from: OZZIE on March 20, 2011, 11:46:18 AMload it in emulation mode for rc4..... in package manager go to the very bottom click advanced and change rc5 to rc 4 save then go back to package manager it will now install ...i

huh?

When you go to your package manager, scroll to the bottom. You'll see and advanced button. Click it and type "SMF 2.0 RC4" and then click Apply. This will emulate RC4 and allow it to install properly. Most of the time, anyway.
Title: Re: SMF Arcade
Post by: Ozzie on March 20, 2011, 03:58:36 PM
yer sorry FounderSim i didnt explain it very well,when i say it is incompatable with rc5 it is fully working on rc5 if you load it using the emulation mode ... the installer needs updating for rc 5 installs thats why it is giving you the error

soz
Title: Re: SMF Arcade
Post by: FounderSim on March 20, 2011, 04:30:47 PM
Still giving me the same error. I only got one other mod installed "Users Online Today"
Title: Re: SMF Arcade
Post by: Ozzie on March 20, 2011, 04:53:37 PM
no worries i just joined your site ..will take a look
Title: Re: SMF Arcade
Post by: FounderSim on March 20, 2011, 07:55:48 PM
Thanks for the great help ozzie ;]
Title: Re: SMF Arcade
Post by: FounderSim on March 21, 2011, 09:28:45 PM
I got a new problem guys. I moved my forum from a sub directory to the root. Now my arcade will not submit high scores..
Title: Re: SMF Arcade
Post by: fwitt on March 22, 2011, 07:14:30 PM
Quote from: FounderSim on March 21, 2011, 09:28:45 PM
I got a new problem guys. I moved my forum from a sub directory to the root. Now my arcade will not submit high scores..

I assume you ran repair_settings.php but did you also change the url and path in "admin - arcade admin - settings" to match the new settings
Title: Re: SMF Arcade
Post by: SC RaceFan on March 23, 2011, 04:30:45 PM
some of my users are really wanting this and I have put them off untill it is compat. with RC5.  I see that there may be a work around now, so what is the answer if I use the RC4 imulation to install it, well it then work fine, or are there still some errors?
Title: Re: SMF Arcade
Post by: Ozzie on March 23, 2011, 04:32:27 PM
it works perfectly fine loading it in emulation mode i have had no issue's
Title: Re: SMF Arcade
Post by: SC RaceFan on March 23, 2011, 04:49:36 PM
thanks, Ozzie I am gone to install it now.
Title: Re: SMF Arcade
Post by: Chen Zhen on March 26, 2011, 02:18:49 AM
Updated unofficial releases for both versions of this modification are available on the SMF Arcade main site.




SMF Arcade 2.0.20-emended for SMF 1.1.13: Click Here (http://smfarcade.info/forum/index.php?topic=7393.0)




SMF Arcade 2.5 RC1 for SMF 2.0 RC5: Click Here (http://smfarcade.info/forum/index.php?topic=7408.0)




Note:
You must become a member of SMF Arcade to view and/or download attachments to posts such as the ones referenced above.
Title: Re: SMF Arcade
Post by: Yngwiedis on March 26, 2011, 03:10:25 PM
Can someone told me if the smfarcade.info site is open ?
Because i cant go in.
Every time i try to open it in firefox i get that message :

QuoteThe page isn't redirecting properly

          Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
  This problem can sometimes be caused by disabling or refusing to accept
    cookies.

Internet Explorer give me this message:

QuoteInternet Explorer cannot display the webpage

Thank you.

Title: Re: SMF Arcade
Post by: busterone on March 26, 2011, 03:26:33 PM
It is up for me, both in FF and IE.
Title: Re: SMF Arcade
Post by: Yngwiedis on March 26, 2011, 03:34:46 PM
OK.
Thank you very much.
Title: Re: SMF Arcade
Post by: smitch6 on April 05, 2011, 04:32:44 AM
Hi i'm trying to install this on RC4
i uploaded the zipped package and went to install and it said i can't so i done the advanced and emulater thingy

but it's still not letting me install it

any ideas please :)

thanks
Title: Re: SMF Arcade
Post by: smitch6 on April 07, 2011, 02:09:15 AM
anyone got any info on how i can install this on RC4 please :)
Title: Re: SMF Arcade
Post by: CookieParker1 on April 15, 2011, 06:14:39 PM
I have SMF 1.1.13; can someone give me link to the arcade I can install.  I tried the only one listed under mods and it's for the 2.05 and stuff and won't let me upload it.
Title: Re: SMF Arcade
Post by: Ozzie on April 15, 2011, 06:32:02 PM
try this link to smf arcade site    http://smfarcade.info/forum/index.php?topic=7393
Title: Re: SMF Arcade
Post by: CookieParker1 on April 15, 2011, 06:36:45 PM
Quote from: OZZIE on April 15, 2011, 06:32:02 PM
try this link to smf arcade site    http://smfarcade.info/forum/index.php?topic=7393

I will.  But they don't carry anything for 1.1.13
Title: Re: SMF Arcade
Post by: Ozzie on April 15, 2011, 06:39:04 PM
that link is for the unofficial 1.1.13 instalation it does work A1
Title: Re: SMF Arcade
Post by: CookieParker1 on April 15, 2011, 06:40:19 PM
Quote from: OZZIE on April 15, 2011, 06:32:02 PM
try this link to smf arcade site    http://smfarcade.info/forum/index.php?topic=7393

Tried registering and they labeled me Spam and refused my being on their forum.

I guess I'll go through the 225 pages here to see if anyone has anything that has been successful with 1.1.13.  If I am reading the features correctly, there is no way to upgrade to 1.1.18 and there is no successful Aracace with the 2.05 versions, which is currently the only version I have found.

Am I reading this right?
Title: Re: SMF Arcade
Post by: CookieParker1 on April 15, 2011, 06:41:20 PM
Quote from: OZZIE on April 15, 2011, 06:39:04 PM
that link is for the unofficial 1.1.13 instalation it does work A1

The link doesn't go anywhere when I clicked on it while not registered and I cannot register on there as they think I am spam.
Title: Re: SMF Arcade
Post by: Ozzie on April 15, 2011, 06:43:03 PM
ok bear with me i will sort something out  dont know what but will try  :D
Title: Re: SMF Arcade
Post by: CookieParker1 on April 15, 2011, 06:57:55 PM
Ozzie..stop...I did it somehow....and I uploaded one of the ones for 1.1.13...I am so sorry...I need to try more and not be so afraid...I'm going for games now..

Thanks Ozzie...I do apologize
Title: Re: SMF Arcade
Post by: smitch6 on April 17, 2011, 03:00:13 AM
anyone got any ideas/news on when it will support RC4 or 5 please :)
Title: Re: SMF Arcade
Post by: fwitt on April 17, 2011, 09:55:51 AM
Quote from: smitch6 on April 17, 2011, 03:00:13 AM
anyone got any ideas/news on when it will support RC4 or 5 please :)

http://smfarcade.info/forum/index.php?topic=7408.0

Try this version.
Title: Re: SMF Arcade
Post by: smitch6 on April 23, 2011, 03:41:40 AM
it doesn't support RC4 :(
and i tried to join and it said i was spam rofl nice hey
considering i am a member of the stop spam site and i run/own 4 forums myself
Title: Re: SMF Arcade
Post by: fwitt on April 23, 2011, 02:16:38 PM
Quote from: smitch6 on April 23, 2011, 03:41:40 AM
it doesn't support RC4 :(
and i tried to join and it said i was spam rofl nice hey
considering i am a member of the stop spam site and i run/own 4 forums myself

pm me with details, so I can try and work out what you got classed as spam by. The smfarcade site is running on the same smf install as all nikos other sites using his multisite mod and this sometimes confuses other mods (including some of the antispam ones).
Title: Re: SMF Arcade
Post by: Kat9119 on June 04, 2011, 07:52:02 PM
How does someone reset the score on a game? The highest score for some games now show "guest" because people deleted their accounts. I'd like to reset the highest score but not personal scores...is that possible?
Title: Re: SMF Arcade
Post by: Ozzie on June 04, 2011, 07:55:12 PM
in your arcade go to that game select view high scores tick the check box beside the score u want to delete then from drop down select delete selected
Title: Re: SMF Arcade
Post by: Kat9119 on June 04, 2011, 07:59:58 PM
Quote from: OZZIE on June 04, 2011, 07:55:12 PM
in your arcade go to that game select view high scores tick the check box beside the score u want to delete then from drop down select delete selected

I JUST saw that. Man I feel dumb! Thanks :)
Title: Re: SMF Arcade
Post by: fwitt on June 05, 2011, 06:54:13 PM
Quote from: Kat9119 on June 04, 2011, 07:59:58 PM
Quote from: OZZIE on June 04, 2011, 07:55:12 PM
in your arcade go to that game select view high scores tick the check box beside the score u want to delete then from drop down select delete selected

I JUST saw that. Man I feel dumb! Thanks :)

depending on your arcade version you may need to run the fix scores option in the arcade admin afterwards.
Title: Re: SMF Arcade
Post by: bud01100 on June 17, 2011, 01:22:04 AM
Has anyone installed the arcade on the Smf 2.0 Gold yet?

Thanks!
Title: Re: SMF Arcade
Post by: Ozzie on June 17, 2011, 06:18:37 AM
i have and it worked fine ...still gotta install using rc3 emulation but thats not a big problem
Title: Re: SMF Arcade
Post by: bud01100 on June 17, 2011, 10:19:05 AM
Quote from: OZZIE on June 17, 2011, 06:18:37 AM
i have and it worked fine ...still gotta install using rc3 emulation but thats not a big problem
when I tried to install said it wasn't  comparable and wouldn't let me install. What did you do?

Thanks
Title: Re: SMF Arcade
Post by: Ozzie on June 17, 2011, 10:25:46 AM
in package manager
you need to go to the very bottom and click advanced and where it says SMF 2.0 change that to SMF 2.0 RC3 then click apply now you should be able to install the arcade
Title: Re: SMF Arcade
Post by: Drizzt0420 on June 21, 2011, 10:39:19 AM
i have downloaded SMF_Arcade_2.0.18.zip and i cant find anything in the admin area to do anything with it how do i get to the admin section i know where to find games but its like the arcade isnt in my forums please help?
Title: Re: SMF Arcade
Post by: fwitt on June 21, 2011, 11:30:25 AM
Quote from: Drizzt0420 on June 21, 2011, 10:39:19 AM
i have downloaded SMF_Arcade_2.0.18.zip and i cant find anything in the admin area to do anything with it how do i get to the admin section i know where to find games but its like the arcade isnt in my forums please help?

what version of smf?
are you using the default theme? if not does the arcade appear when you switch to the default theme?
were there any test failed's on installation?
Title: Re: SMF Arcade
Post by: maverickkc on June 22, 2011, 02:50:21 PM
getting install error

Invalid default value for 'id_cat'
File: /home/josie/public_html/forum/Packages/temp/arcadeinstall/Subs-Install.php
Line: 71

smf 2.0 gold and smf_arcade unnoficial attached to post above... also tried with other versions of smf arcade, in no emulation, smf rc4, rc3, and rc1 emulations... same error
Title: Re: SMF Arcade
Post by: rölyef on June 22, 2011, 02:51:52 PM
yes, 2.0 gold please.
Title: Re: SMF Arcade
Post by: MATTEK on June 22, 2011, 02:52:28 PM
Quote from: rolyef on June 22, 2011, 02:51:52 PM
yes, 2.0 gold please.

Agreed.
Title: Re: SMF Arcade
Post by: Donovan` on June 25, 2011, 03:13:58 AM
Hello, I have SMF 2.0 version, i emulated to 2.0 RC3 and when i install i get the error ./Sources/ManageSettings.php Test failed. I know that I have to manually edit the file, but I don't know how. Also I couldn't find that file.

Thanks
Title: Re: SMF Arcade
Post by: fwitt on June 25, 2011, 05:42:59 AM
Quote from: Donovan` on June 25, 2011, 03:13:58 AM
Hello, I have SMF 2.0 version, i emulated to 2.0 RC3 and when i install i get the error ./Sources/ManageSettings.php Test failed. I know that I have to manually edit the file, but I don't know how. Also I couldn't find that file.

Thanks

Is the error the same as in this post... http://smfarcade.info/forum/index.php?topic=7496.msg51089#msg51089
if so it is solved for that poster there.
Title: Re: SMF Arcade
Post by: Donovan` on June 25, 2011, 12:32:28 PM
Thanks, but how exactly do you parse the code? I don't see any option to edit the code, only the error message.
Title: Re: SMF Arcade
Post by: TheListener on June 25, 2011, 12:35:59 PM
The parse instructions are in the dropdown box where you downloaded the file from.
Title: Re: SMF Arcade
Post by: Donovan` on June 25, 2011, 12:49:25 PM
Ok, my problem is i don't know how to EDIT the code. There is no way to edit it in package manager, so do I extract it and edit it through notepad? Also I cannot located the managesettings.php file. It's not in my Sources folder.
Title: Re: SMF Arcade
Post by: Jessica. on June 25, 2011, 01:49:41 PM
you're supposed to use a cPanel or something...where you can edit files...
Title: Re: SMF Arcade
Post by: TheListener on June 25, 2011, 01:54:38 PM
Quote from: Donovan` on June 25, 2011, 12:49:25 PM
Ok, my problem is i don't know how to EDIT the code. There is no way to edit it in package manager, so do I extract it and edit it through notepad? Also I cannot located the managesettings.php file. It's not in my Sources folder.

Download the file from your cpanel.

Use notepad##

NOT notepad.
Title: Re: SMF Arcade
Post by: Chen Zhen on June 25, 2011, 02:19:02 PM
Quote from: Donovan` on June 25, 2011, 12:49:25 PM
Ok, my problem is i don't know how to EDIT the code. There is no way to edit it in package manager, so do I extract it and edit it through notepad? Also I cannot located the managesettings.php file. It's not in my Sources folder.

That file is located in your Sources folder.. If you are using Cpanel, download it to your pc/mac and use an ascii based editor such as Notepad++
( not ## - Brack  :P ) then save your edits and upload it back to your Sources folder (overwrite old file).
btw - I advise to keep an original backup copy of the file prior to any editing in the event that you make an error.
Title: Re: SMF Arcade
Post by: mudskipper on June 25, 2011, 02:42:57 PM
Hello...

I am trying to upload this via package manager and I am getting error message "The package you are trying to download or install is either corrupt or not compatible with this version of SMF. " I am running SMF 1.1.14.  Any help

Thanks
Mike
Title: Re: SMF Arcade
Post by: Donovan` on June 25, 2011, 03:06:58 PM
Quote from: -Underdog- on June 25, 2011, 02:19:02 PM
Quote from: Donovan` on June 25, 2011, 12:49:25 PM
Ok, my problem is i don't know how to EDIT the code. There is no way to edit it in package manager, so do I extract it and edit it through notepad? Also I cannot located the managesettings.php file. It's not in my Sources folder.

That file is located in your Sources folder.. If you are using Cpanel, download it to your pc/mac and use an ascii based editor such as Notepad++
( not ## - Brack  :P ) then save your edits and upload it back to your Sources folder (overwrite old file).
btw - I advise to keep an original backup copy of the file prior to any editing in the event that you make an error.

I do NOT see the managesettings.php file in my Sources folder. I went to the Link to Mod page and downloaded the 2.5RC1 to my desktop and opened to winrar -> did not see that file. I guess this is what i'm doing wrong? How do you download the file from the cpanel?
Title: Re: SMF Arcade
Post by: fwitt on June 25, 2011, 03:45:22 PM
managesettings.php is a smf file the arcade adds code to not an arcade file.

the error normally means that another mod you have installed has changed the piece of code the arcade looks for to tell where to place its code.

either ftp into your site and download the file from your forums sources folder then edit it using a txt editor and replace it with the edited version (keeping the original backed up in case you make a mistake).
or do the same by logging into your site cpanel and using the file manager.
Title: Re: SMF Arcade
Post by: Chen Zhen on June 25, 2011, 06:09:30 PM
Quote from: mudskipper on June 25, 2011, 02:42:57 PM
Hello...

I am trying to upload this via package manager and I am getting error message "The package you are trying to download or install is either corrupt or not compatible with this version of SMF. " I am running SMF 1.1.14.  Any help

Thanks
Mike

Try the attachment in the first post of the thread from this link: SMF Arcade 2.0.20 - emended (http://smfarcade.info/forum/index.php?topic=7393.0)
.. it will install on that SMF version.




Quote from: Donovan` on June 25, 2011, 03:06:58 PM
I do NOT see the managesettings.php file in my Sources folder. I went to the Link to Mod page and downloaded the 2.5RC1 to my desktop and opened to winrar -> did not see that file. I guess this is what i'm doing wrong? How do you download the file from the cpanel?

As fwitt has stated - that is a SMF 2.0 file that is located in the Sources folder.
Just to clarify the letter case, it is specifically named: ManageSettings.php

IMO - If you want to use a FTP client application that is superior for file editing/manipulating try Filezilla (http://filezilla-project.org/download.php?type=client) instead of Cpanel.
When using that application for the first time, you need to enter your FTP personal data.. top left click on:  File -> Site Manager -> New Site
.. then enter the needed FTP user info and p/w.
This will allow you to edit files on the fly.

Title: Re: SMF Arcade
Post by: mudskipper on June 25, 2011, 06:22:46 PM
Underdog, I got the attachment and loaded it.  I had one error and continued.  It said everything loaded correctly, however I do not see an arcade.  Is there something else I need to do?
Title: Re: SMF Arcade
Post by: Chen Zhen on June 25, 2011, 07:13:57 PM
Quote from: mudskipper on June 25, 2011, 06:22:46 PM
Underdog, I got the attachment and loaded it.  I had one error and continued.  It said everything loaded correctly, however I do not see an arcade.  Is there something else I need to do?

The error is most likely due to the install not being able to find an edit marker because another mod had already edited a SMF file in the same area.
When you get errors during installing packages you need to parse the needed edits (after installing).
What file had the error?
Title: Re: SMF Arcade
Post by: mudskipper on June 25, 2011, 07:21:19 PM
The error was the Themes/default/index.template.php which I have attached for you.
Title: Re: SMF Arcade
Post by: Chen Zhen on June 25, 2011, 08:58:27 PM
Quote from: mudskipper on June 25, 2011, 07:21:19 PM
The error was the Themes/default/index.template.php which I have attached for you.

Incorrect file, that file is not edited during installation.

The file is index.php from your main directory.
Please attach.


forget that statement... I was looking at v2.5.
I will edit and attach the file.

Title: Re: SMF Arcade
Post by: mudskipper on June 25, 2011, 09:09:59 PM
Cool, I appreciate it...
Title: Re: SMF Arcade
Post by: Chen Zhen on June 25, 2011, 09:13:36 PM
Quote from: mudskipper on June 25, 2011, 09:09:59 PM
Cool, I appreciate it...
No problem.

File is attached.
Title: Re: SMF Arcade
Post by: mudskipper on June 25, 2011, 10:15:50 PM
OK, I uploaded that into my theme but still no arcade.  I noticed in the default theme that there were 4 arcade files not listed in the theme I am running, so I copied those over to my theme and still no arcade.  I am so frustrated because I do not know what I am doing.  What should I do next?
Title: Re: SMF Arcade
Post by: IDunc on June 26, 2011, 01:01:29 AM
I get an Test Failed during installation in Sources/ManageSettings.php and Sources/Who.php
Title: Re: SMF Arcade
Post by: Donovan` on June 27, 2011, 04:26:37 PM
Hey i'm getting this error when trying to upload games from ultimatearcade. They're less than 2 mb zip files.


413 Request Entity Too Large


Any help?
Title: Re: SMF Arcade
Post by: fwitt on June 27, 2011, 05:21:42 PM
Quote from: mudskipper on June 25, 2011, 10:15:50 PM
OK, I uploaded that into my theme but still no arcade.  I noticed in the default theme that there were 4 arcade files not listed in the theme I am running, so I copied those over to my theme and still no arcade.  I am so frustrated because I do not know what I am doing.  What should I do next?

themes fall back on to the default theme so if a file isn't in a theme it uses the one from the default themes folder.
so copying the files will not make a difference.

However any files that are edited by the arcade install that do appear in the theme need to have equivalent edits done to them manually.

as you have already done index.template.php that only leave modifications.template.php to check for i think.

also check the page yoursite/forum/index.php?action=arcade to see if the arcade page comes up.
Title: Re: SMF Arcade
Post by: fwitt on June 27, 2011, 05:22:33 PM
Quote from: IDunc on June 26, 2011, 01:01:29 AM
I get an Test Failed during installation in Sources/ManageSettings.php and Sources/Who.php

which version of smf and which arcade version?
Title: Re: SMF Arcade
Post by: IDunc on June 28, 2011, 10:19:16 PM
These are the Test Failed's I get when installing in Sources/ManageSettings.php and Sources/Who.php:

ManageSettings:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi447.photobucket.com%2Falbums%2Fqq195%2FIRifleProdigyI%2Ftestfailed3.png&hash=38de6f9e1aadb788f5873d15013adde26858d3c6)

Who:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi447.photobucket.com%2Falbums%2Fqq195%2FIRifleProdigyI%2Ftestfailed4.png&hash=e736121bd221b5a4f4ae4239f810e60108d403e4)

My ManageSettings.php and Who.php are attached. Please help!
Title: Re: SMF Arcade
Post by: fwitt on June 29, 2011, 01:27:39 AM
in your Who.php the code goes in at line 631, however it looks like you have had issues installing other mods as for instance you have two copies of the code for Aeva Media.


// Aeva Media changes
if (!empty($aevaFetch))
{
foreach ($aevaFetch as $type => $array)
if ($dat = aeva_getFetchData($type, $array))
$data += $dat;
}
// End Aeva Media changes

// Aeva Media changes
if (!empty($aevaFetch))
{
foreach ($aevaFetch as $type => $array)
if ($dat = aeva_getFetchData($type, $array))
$data += $dat;
}
// End Aeva Media changes


I would assume that one copy can be removed.
Looking back in the code it looks like you have two copies of the Aeva Media mod installed as there are other bits of repeated code relating to this mod.

In ManageSettings.php the code goes into line 365.

Couldn't copy and paste the code as it posted it in images and as I dont know which version of arcade and SMF I'm not sure which package to look in for the right code.

Title: Re: SMF Arcade
Post by: sunilimon on June 29, 2011, 04:08:57 AM
Hi! will this mod updated for SMF 2.0? thank you very much!
Title: Re: SMF Arcade
Post by: fwitt on June 29, 2011, 05:14:54 AM
Quote from: sunilimon on June 29, 2011, 04:08:57 AM
Hi! will this mod updated for SMF 2.0? thank you very much!

Yes the Package for 2.0 is in beta testing as we speak. There are a couple of bugs that seem to only affect certain sites so Niko is working on them atm.
Title: Re: SMF Arcade
Post by: sunilimon on June 29, 2011, 05:34:56 AM
Sorry!

Thank you for information!
Title: Re: SMF Arcade
Post by: TurtleKicker on June 29, 2011, 10:53:05 AM
Quote from: fwitt on June 29, 2011, 05:14:54 AM
Yes the Package for 2.0 is in beta testing as we speak.

This is wonderful news! This is a big line item on my worksheet as I prepare for upgrading my site to 2.0. :)
Title: Re: SMF Arcade
Post by: IDunc on June 29, 2011, 11:08:18 AM
Quote from: fwitt on June 29, 2011, 01:27:39 AM
in your Who.php the code goes in at line 631, however it looks like you have had issues installing other mods as for instance you have two copies of the code for Aeva Media.


// Aeva Media changes
if (!empty($aevaFetch))
{
foreach ($aevaFetch as $type => $array)
if ($dat = aeva_getFetchData($type, $array))
$data += $dat;
}
// End Aeva Media changes

// Aeva Media changes
if (!empty($aevaFetch))
{
foreach ($aevaFetch as $type => $array)
if ($dat = aeva_getFetchData($type, $array))
$data += $dat;
}
// End Aeva Media changes


I would assume that one copy can be removed.
Looking back in the code it looks like you have two copies of the Aeva Media mod installed as there are other bits of repeated code relating to this mod.

In ManageSettings.php the code goes into line 365.

Couldn't copy and paste the code as it posted it in images and as I dont know which version of arcade and SMF I'm not sure which package to look in for the right code.

Thanks for letting me know, I'll get rid of that extra segment. Is there any way I can easily see duplicated code?
Title: Re: SMF Arcade
Post by: fwitt on June 29, 2011, 11:26:40 AM
the duplicated code I saw all have Aeva Media in the comments above and below so doing a find on the word Aeva will probably find them.

you may find you have double installed this mod which would mean its code was repeated in every file that the mod edits. I dont know anything about the mods so can tell you what files to look in. That mods support thread is probably the best place to ask.
Title: Re: SMF Arcade
Post by: IDunc on June 29, 2011, 11:28:19 AM
Okay I'll do a search for that word in other files it edited. I got all of them in Who.php, thanks.
Title: Re: SMF Arcade
Post by: mudskipper on June 30, 2011, 07:23:08 PM
fwitt,

I typed this in http://blackwateratv.com/simplemachinesforum/index.php?action=arcade and the arcade is there but there is no button for it and the page is broken.  Could you look at it and see whats up..

Thanks...
Title: Re: SMF Arcade
Post by: fwitt on July 01, 2011, 01:50:17 AM
Quote from: mudskipper on June 30, 2011, 07:23:08 PM
fwitt,

I typed this in http://blackwateratv.com/simplemachinesforum/index.php?action=arcade and the arcade is there but there is no button for it and the page is broken.  Could you look at it and see whats up..

Thanks...

looks like you have two distinct problems. both related to installing on the theme you are using.

1. Missing language strings, normally this happens when the theme you are using has its own modifications.english.php.
    Solution: download and compare this file with the one from the default theme, add any $txt strings that are missing from the one in your theme. The one in the theme needs to contain every string that is in the default theme one but leave any that only appear in the theme. There also appear to be language strings missing from your gallery which i believe should also be in this file. ConTexts Compare tool may help you work out which language strings are missing. Replace the file in your theme with the edited one (keep a backup in case you edit it wrong).

2. Arcade link code does not match the code for the rest of the links in the title bar.
Solution: download index.template.php from your theme. Find the code for the arcade link, make sure it matches the code for the other links.
atm its missing a containing <div class="maintab_back"> and a sperator before the next link <div class="seperator"><!--no content--></div>.
Again make a backup of the file before replacing it with your corrected version.
Title: Re: SMF Arcade
Post by: sunilimon on July 01, 2011, 02:36:19 AM
Fwitt, will you fix the video poker game? our users are asking me a game of this type. Thanks! :D
Title: Re: SMF Arcade
Post by: fwitt on July 01, 2011, 03:16:55 AM
Quote from: sunilimon on July 01, 2011, 02:36:19 AM
Fwitt, will you fix the video poker game? our users are asking me a game of this type. Thanks! :D

Whats wrong with it?
seems fine to me
Title: Re: SMF Arcade
Post by: sunilimon on July 01, 2011, 03:26:13 AM
When I download it, I've a index.php file, but when I install it, it nothing happens
Title: Re: SMF Arcade
Post by: fwitt on July 01, 2011, 03:37:08 AM
the game downloads from smfarcade.info should be .zip files.

I assume that is where you are getting it from.

Interesting...

If your using Firefox then it appears to be downloading the correct file but renaming it index.php. So renaming the file back to videopoker.zip for me meant it worked correctly.

If your using IE it tries to download index.zip then crashes.
put issue into smfarcade.info site bugtracker.

file attached
Title: Re: SMF Arcade
Post by: sunilimon on July 01, 2011, 04:27:37 AM
Thanks fwitt!
Title: Re: SMF Arcade
Post by: !RFAN on July 05, 2011, 07:44:43 AM
waiting for update version
Title: Re: SMF Arcade
Post by: Eclipse16V on July 05, 2011, 01:48:02 PM
I too
Title: Re: SMF Arcade
Post by: sharks on July 05, 2011, 05:47:25 PM
Please update this mod for SMF 2.0 final.
Title: Re: SMF Arcade
Post by: mudskipper on July 06, 2011, 04:13:47 PM
Quote from: fwitt on July 01, 2011, 01:50:17 AM
Quote from: mudskipper on June 30, 2011, 07:23:08 PM
fwitt,

I typed this in http://blackwateratv.com/simplemachinesforum/index.php?action=arcade and the arcade is there but there is no button for it and the page is broken.  Could you look at it and see whats up..

Thanks...

looks like you have two distinct problems. both related to installing on the theme you are using.

1. Missing language strings, normally this happens when the theme you are using has its own modifications.english.php.
    Solution: download and compare this file with the one from the default theme, add any $txt strings that are missing from the one in your theme. The one in the theme needs to contain every string that is in the default theme one but leave any that only appear in the theme. There also appear to be language strings missing from your gallery which i believe should also be in this file. ConTexts Compare tool may help you work out which language strings are missing. Replace the file in your theme with the edited one (keep a backup in case you edit it wrong).

2. Arcade link code does not match the code for the rest of the links in the title bar.
Solution: download index.template.php from your theme. Find the code for the arcade link, make sure it matches the code for the other links.
atm its missing a containing <div class="maintab_back"> and a sperator before the next link <div class="seperator"><!--no content--></div>.
Again make a backup of the file before replacing it with your corrected version.

I will give this a shot and see if I can keep from messing it up like I did before.... thanks.
Title: Re: SMF Arcade
Post by: Martingonnella on July 06, 2011, 05:34:40 PM
Niko,

Please get this weorking on 2.0...I need games on my forum. please!!!!!  :) :)
Title: Re: SMF Arcade
Post by: Drizzt0420 on July 07, 2011, 04:59:35 AM
Neither of these site work?
Title: Re: SMF Arcade
Post by: bud01100 on July 15, 2011, 03:20:24 AM
Is there a mod to place arcade stats on the board index page of the forum?

Ie latest scores...
Title: Re: SMF Arcade
Post by: Ozzie on July 15, 2011, 06:37:11 AM
 there is a block code to add this to a portal block here  http://smfarcade.info/forum/index.php?topic=7039.0 there is also other code for latest champs/random game etc etc......hope that is what you want
Title: Re: SMF Arcade
Post by: TheListener on July 16, 2011, 10:58:13 PM
Quote from: Martingonnella on July 06, 2011, 05:34:40 PM
Niko,

Please get this weorking on 2.0...I need games on my forum. please!!!!!  :) :)

The mod works on 2.0

Have a look at www.smfarcade.info
Title: Re: SMF Arcade
Post by: bud01100 on July 17, 2011, 05:40:33 PM
Quote from: Ozzie on July 15, 2011, 06:37:11 AM
there is a block code to add this to a portal block here  http://smfarcade.info/forum/index.php?topic=7039.0 there is also other code for latest champs/random game etc etc......hope that is what you want
Its close, but Id like to do it with out having to install a portal?
Title: Re: SMF Arcade
Post by: Martingonnella on July 17, 2011, 05:45:33 PM
I installed it on 2.0 Ok... Is there a way to put a Small Icon on the Arcade option on menu? All my menu had icon picture except the 'Arcade' option?
Title: Re: SMF Arcade
Post by: Ozzie on July 17, 2011, 06:04:59 PM
i would imagine you are using a mod for the menu tab that adds a image to the tab??  if so you will need to ask in that mod thread,if not and it is part of the template you will prob need to find the file with the tab image files etc etc and add your image there ..or ask the theme author

sorry i cannot help more  ... btw is it a mod or a theme ,if so which ????
Title: Re: SMF Arcade
Post by: TheListener on July 17, 2011, 06:47:02 PM
Pardon?

Title: Re: SMF Arcade
Post by: Ozzie on July 17, 2011, 06:52:01 PM
read the post before mine he is asking how to add a image to the arcade menu tab
Title: Re: SMF Arcade
Post by: TheListener on July 17, 2011, 07:03:48 PM
Quote from: Ozzie on July 17, 2011, 06:52:01 PM
read the post before mine he is asking how to add a image to the arcade menu tab

Oops sorry thought that was for me.

:-[
Title: Re: SMF Arcade
Post by: TheListener on July 17, 2011, 09:09:47 PM
Tried to install the PDL Jeza Edits file.

The piece of text I had to look for is not there.

Says to look for:

$skin_vars = array(

And add the following:

array('check', 'arcadeList'),
array('check', 'arcadeDropCat'),
array('int', 'arcade_catWidth'),

However the $skin_vars = array( is nowhere to be found.

Have added the file.
Title: Re: SMF Arcade
Post by: Martingonnella on July 17, 2011, 09:57:41 PM
Brack, Is there a way to put a Small Icon on the Arcade option on menu? All my menu had icon picture except the 'Arcade' option?
Title: Re: SMF Arcade
Post by: TheListener on July 17, 2011, 10:27:56 PM
Can you place a link to your forum in a post so others can also look.
Title: Re: SMF Arcade
Post by: Martingonnella on July 17, 2011, 10:33:11 PM
Hey,

Screenshot attached.
Title: Re: SMF Arcade
Post by: LC on July 29, 2011, 11:41:23 PM
While manually installing, had an issue with ManageSettings.php

If I go to Admin > Configuration > Modification Settings

I get this:

Parse error: syntax error, unexpected T_DOUBLE_ARROW in /Sources/ManageSettings.php on line 377


This is what's on line 377:


'arcade' => array(

This is from the manual addition I did for the Arcade installation:


376      // arcade = arcade (makes sense, right?)
377      'arcade' => array(
378         'url' => 'action=admin;area=arcade',
379         'settings' => array(
380            'arcadeEnabled' => 1,
381         ),

ManageSettings.php is attached.

Can someone help me fix this?

Title: Re: SMF Arcade
Post by: [unplugged] on July 30, 2011, 12:01:17 AM
That block was slightly misplaced. Here's the fixed ManageSettings.php.
Title: Re: SMF Arcade
Post by: LC on July 30, 2011, 12:14:44 AM
Quote from: SunKing on July 30, 2011, 12:01:17 AM
That block was slightly misplaced. Here's the fixed ManageSettings.php.
Thank you for trying to fix this.

Now I get:
Parse error: syntax error, unexpected '=', expecting ')' in Sources/ManageSettings.php on line 369

I have three other mods installed that could be causing the conflict, but I am not sure. I have Bad Behavior, Forum Firewall and Ultimate Profile. All have edits in that file.
Title: Re: SMF Arcade
Post by: [unplugged] on July 30, 2011, 12:18:23 AM
Oops, open that file again and change 'arcade' = array( to 'arcade' => array(
Notice the >. Sorry about that.
Title: Re: SMF Arcade
Post by: LC on July 30, 2011, 12:40:48 AM
Woohoo! That worked.

Thank you SunKing. :)
Title: Re: SMF Arcade
Post by: redrob on August 08, 2011, 09:38:45 AM
Do's this work for 2.0 RC5 the only one I can download is 2.5 RC1?.
Title: Re: SMF Arcade
Post by: TheListener on August 08, 2011, 10:05:37 AM
You are better off upgrading to 2.0

The arcade does work.

Have a look at www.smfarcade.info
Title: Re: SMF Arcade
Post by: Eclipse16V on August 08, 2011, 10:16:53 AM
Yes works on 2.0 Final
Title: Re: SMF Arcade
Post by: redrob on August 08, 2011, 01:45:36 PM
I tryed that but it will not accept it 2.5 RC1 this is what it say's:-

QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: SMF Arcade
Post by: TheListener on August 08, 2011, 01:47:30 PM
Below the list of mods there is an advanced link.

Once there in the box you have to emulate the version.
Title: Re: SMF Arcade
Post by: redrob on August 08, 2011, 01:53:24 PM
Quote from: Brack1 on August 08, 2011, 01:47:30 PM
Below the list of mods there is an advanced link.

Once there in the box you have to emulate the version.

I don't know what you mean what do I need to do?.
Title: Re: SMF Arcade
Post by: treehugger on August 08, 2011, 02:43:58 PM
ON the Browse Packages page click Advanced (bottom left) and change it to SMF2.0 RC3 (think it's 3 for Arcade) and save. When it's installed remember to go back to that page and revert back to your version and save again. :)
Title: Re: SMF Arcade
Post by: sticky on August 08, 2011, 07:13:46 PM
I have a 2.0 forum and I tried emulating the forum to 2.0 RC3 and then installing the forum but I still get errors and so I do not finish installing. Can someone tell me what is wrong???
Title: Re: SMF Arcade
Post by: [unplugged] on August 08, 2011, 07:33:46 PM
Most likely, the errors are due to other mods installed and/or using a custom theme. In these cases, you'll need to make manual edits which can be found by clicking the icon in front of the failing line.
Title: Re: SMF Arcade
Post by: redrob on August 09, 2011, 12:37:27 PM
Just don that but I got an error saying:-

QuoteError in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Title: Re: SMF Arcade
Post by: [unplugged] on August 09, 2011, 06:12:24 PM
@redrob
Quote from: SunKing on August 08, 2011, 07:33:46 PM
Most likely, the errors are due to other mods installed and/or using a custom theme. In these cases, you'll need to make manual edits which can be found by clicking the icon in front of the failing line.

That would also apply to you.
Title: Re: SMF Arcade
Post by: !RFAN on August 10, 2011, 05:22:54 AM
getting this error on game page

QuoteYou need to enable javascript in order to play games.

wheni click on "Play Game" game is visible then...

after playing game the score is not saved and i get this error

An error occurred while saving score

what should i do?
Title: Re: SMF Arcade
Post by: fwitt on August 10, 2011, 12:59:54 PM
Quote from: !RFAN on August 10, 2011, 05:22:54 AM
getting this error on game page

QuoteYou need to enable javascript in order to play games.

wheni click on "Play Game" game is visible then...

after playing game the score is not saved and i get this error

An error occurred while saving score

what should i do?

try this:
http://wiki.smfarcade.info/SMF_Arcade/FAQ#Error:_You_need_to_enable_javascript_in_order_to_play_games.21
Title: Re: SMF Arcade (Uninstalling)
Post by: bigjoe11a on August 18, 2011, 02:55:58 PM
On my board no one is playing the games in Arcade so I wanted to uninstall it and when I tried to do that. It said there was no uninstaller for SMF Arcade and I needed to contact support for a uninstaller.

Joe

SMF 2.0 RC5
SMF Arcade 2.5 RC1

Title: Re: SMF Arcade (Uninstalling)
Post by: TheListener on August 18, 2011, 05:30:23 PM
Quote from: bigjoe11a on August 18, 2011, 02:55:58 PM
On my board no one is playing the games in Arcade so I wanted to uninstall it and when I tried to do that. It said there was no uninstaller for SMF Arcade and I needed to contact support for a uninstaller.

Joe

SMF 2.0 RC5
SMF Arcade 2.5 RC1

What is the link to the forum?

The one in your sig leads to a phpbb forum.
Title: Re: SMF Arcade (Uninstalling)
Post by: Ozzie on August 18, 2011, 05:35:32 PM
Quote from: bigjoe11a on August 18, 2011, 02:55:58 PM
On my board no one is playing the games in Arcade so I wanted to uninstall it and when I tried to do that. It said there was no uninstaller for SMF Arcade and I needed to contact support for a uninstaller.

Joe

SMF 2.0 RC5
SMF Arcade 2.5 RC1


i am presuming you installed it using emulation for RC3 if that is the case you will need to set package manager to RC3 again to do the uninstall (to get the uninstall to show in list)
Title: Re: SMF Arcade
Post by: bigjoe11a on August 18, 2011, 07:00:30 PM
Quote from: Ozzie on August 18, 2011, 05:35:32 PM
Quote from: bigjoe11a on August 18, 2011, 02:55:58 PM
On my board no one is playing the games in Arcade so I wanted to uninstall it and when I tried to do that. It said there was no uninstaller for SMF Arcade and I needed to contact support for a uninstaller.

Joe

SMF 2.0 RC5
SMF Arcade 2.5 RC1


i am presuming you installed it using emulation for RC3 if that is the case you will need to set package manager to RC3 again to do the uninstall (to get the uninstall to show in list)

Thank You, That worked.
Title: Re: SMF Arcade
Post by: beast44 on August 23, 2011, 08:58:26 PM
I went to upload a zip folder with 4 games in it and it froze up on me. I rebooted and tryed to go into it again and I can go to arcade. Then when I click on games it takes me to a blank page. Can anyone help me and tell me why

http://www.stumpburner.com

Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC
TinyPortal 1.0 RC1.1 | © 2005-2010 BlocWeb
SMFAds for Free Forums
Bright Forest Theme v2.3 by Aaron

:D ;D
Title: Re: SMF Arcade
Post by: !RFAN on August 24, 2011, 03:05:07 AM
seems like smf dont have any WORKING arcade mod... this arcade has trillions of bugs.. and functionality is also very poor...
Title: Re: SMF Arcade
Post by: punktravis182 on August 24, 2011, 04:02:44 AM
I have problem installing this mod. Emulated my forum to 2.0 RC3. I'm using 2.0 Final. Here's the error

Add Before    ./Sources/ManageSettings.php    Test failed

I can't find this code from managesettings.php

);

// Are we getting info for the help section.
Title: Re: SMF Arcade
Post by: fwitt on August 24, 2011, 05:39:27 AM
Quote from: punktravis182 on August 24, 2011, 04:02:44 AM
I have problem installing this mod. Emulated my forum to 2.0 RC3. I'm using 2.0 Final. Here's the error

Add Before    ./Sources/ManageSettings.php    Test failed

I can't find this code from managesettings.php

);

// Are we getting info for the help section.


An extra line of code has been added in SMF 2 final between these two lines of code, if I remember correctly its an integration hook.

You could also try Underdogs version of the Arcade, it is not an official release but has been updated to install on 2.0 final. http://smfarcade.info/forum/index.php?topic=7408
Title: Re: SMF Arcade
Post by: beast44 on August 24, 2011, 09:00:15 AM
Quote from: !RFAN on August 24, 2011, 03:05:07 AM
seems like smf dont have any WORKING arcade mod... this arcade has trillions of bugs.. and functionality is also very poor...

So how can I fix it, or upgrade and save all my games?? I'm a dummy on things like this

:D ;D
Title: Re: SMF Arcade
Post by: Ozzie on August 24, 2011, 10:08:36 AM
looking at your site and the version you are using i guess you loaded the arcade in rc3 emulation mode if that is the case using the package manager in rc3 emulation uninstall the arcade then do a reinstall it should fix your page error and you will not loose any off your data or games
Title: Re: SMF Arcade
Post by: beast44 on August 24, 2011, 10:22:48 AM


    Ozzie, I went to my packages and I have   SMF Arcade    2.5 RC1   It also doesn't have a uninstall on it.???? What do I do now???  All it has is   files,   and    Delete

:D ;D
Title: Re: SMF Arcade
Post by: fwitt on August 24, 2011, 10:34:00 AM
Quote from: beast44 on August 24, 2011, 10:22:48 AM


    Ozzie, I went to my packages and I have   SMF Arcade    2.5 RC1   It also doesn't have a uninstall on it.???? What do I do now???  All it has is   files,   and    Delete

:D ;D

did you do this bit of Ozzies suggestion?
using the package manager in rc3 emulation
Title: Re: SMF Arcade
Post by: beast44 on August 24, 2011, 10:56:48 AM


  I'm sorry.  :-[ I don't know how. If some one had the time and could explain it to me step by step. I might be able too.

:-[ :-[
Title: Re: SMF Arcade
Post by: Ozzie on August 24, 2011, 11:02:16 AM
Quote from: beast44 on August 24, 2011, 10:22:48 AM


    Ozzie, I went to my packages and I have   SMF Arcade    2.5 RC1   It also doesn't have a uninstall on it.???? What do I do now???  All it has is   files,   and    Delete

:D ;D


Beast don't do anything if you aint comfortable with it....you shoulda asked me when you posted at my place this morning! gimme a yell when you about and i will help you ...

if you want to do it your self go to package manager /at the bottom click the advanced button when it open change where it says smr rc.5  to smf rc3 then click save now when you go back to the package manager the uninstall for the arcade will/should now be showing so remove arcade then reinstall it that should solve your probs
Title: Re: SMF Arcade
Post by: andyac on August 25, 2011, 10:33:28 PM
can someone direct me to the hack version that will work on 2.0 final? there is something wrong with the smfarcade site where it doesnt send me verification emails.. i tried a dozen times. someone help please :(
Title: Re: SMF Arcade
Post by: Shadow Queen on August 25, 2011, 11:09:23 PM
I try to join the site again. But I didn't get the e-mail to actvile my account on there. I check my spam folder and nothing is there. The user name is Marie.

Why I join the site again?

I have a user name on the site but I don't have no longer access to the e-mail I have on the user name under. The first user name is Shadow Queen. But my display name is Shadow.

I would like to recame my username Shadow Queen.

I don't know how to get a hold of the team on the forum. Hopeful the team see the post and help out?
Title: Re: SMF Arcade
Post by: fwitt on August 26, 2011, 04:46:14 AM
Quote from: Shadow Queen on August 25, 2011, 11:09:23 PM
I try to join the site again. But I didn't get the e-mail to actvile my account on there. I check my spam folder and nothing is there. The user name is Marie.

Why I join the site again?

I have a user name on the site but I don't have no longer access to the e-mail I have on the user name under. The first user name is Shadow Queen. But my display name is Shadow.

I would like to recame my username Shadow Queen.

I don't know how to get a hold of the team on the forum. Hopeful the team see the post and help out?

pm me regarding the account reclaim
Title: Re: SMF Arcade
Post by: Shadow Queen on August 27, 2011, 02:12:57 AM
Quote from: fwitt on August 26, 2011, 04:46:14 AM
Quote from: Shadow Queen on August 25, 2011, 11:09:23 PM
I try to join the site again. But I didn't get the e-mail to actvile my account on there. I check my spam folder and nothing is there. The user name is Marie.

Why I join the site again?

I have a user name on the site but I don't have no longer access to the e-mail I have on the user name under. The first user name is Shadow Queen. But my display name is Shadow.

I would like to recame my username Shadow Queen.

I don't know how to get a hold of the team on the forum. Hopeful the team see the post and help out?

pm me regarding the account reclaim

I just did
Title: Re: SMF Arcade
Post by: Shadow Queen on August 27, 2011, 10:30:37 PM
Where can I found the newer version of this mod? Because on this site the new version isn't here..
Title: Re: SMF Arcade
Post by: !RFAN on August 28, 2011, 12:10:55 AM
Quote from: Shadow Queen on August 27, 2011, 10:30:37 PM
Where can I found the newer version of this mod? Because on this site the new version isn't here..

LOLs

new version is not available and we have no hopes for it in near future.. SADLY
Title: Re: SMF Arcade
Post by: lurkalot on August 28, 2011, 03:43:29 AM
Quote from: Shadow Queen on August 27, 2011, 10:30:37 PM
Where can I found the newer version of this mod? Because on this site the new version isn't here..

Use the unofficial one attached to the first post for now, until the new release. Version 2.5 RC1.1C  should work fine with SMF 2.0 Stable.
Title: Re: SMF Arcade
Post by: Shadow Queen on August 28, 2011, 02:29:57 PM
Quote from: !RFAN on August 28, 2011, 12:10:55 AM
Quote from: Shadow Queen on August 27, 2011, 10:30:37 PM
Where can I found the newer version of this mod? Because on this site the new version isn't here..

LOLs

new version is not available and we have no hopes for it in near future.. SADLY

That's a bummper

Quote from: lurkalot on August 28, 2011, 03:43:29 AM
Quote from: Shadow Queen on August 27, 2011, 10:30:37 PM
Where can I found the newer version of this mod? Because on this site the new version isn't here..

Use the unofficial one attached to the first post for now, until the new release. Version 2.5 RC1.1C  should work fine with SMF 2.0 Stable.

I can't because I am running with 2.0 version of SMF. How can I get it to work on that version?
Title: Re: SMF Arcade
Post by: lurkalot on August 28, 2011, 03:24:15 PM
It is for SMF 2,  I forgot the link, didn't I  :-[  http://smfarcade.info/forum/index.php?topic=7408.0
Title: Re: SMF Arcade
Post by: fwitt on August 28, 2011, 06:23:22 PM
Quote from: Shadow Queen on August 28, 2011, 02:29:57 PM
Quote from: !RFAN on August 28, 2011, 12:10:55 AM
Quote from: Shadow Queen on August 27, 2011, 10:30:37 PM
Where can I found the newer version of this mod? Because on this site the new version isn't here..

LOLs

new version is not available and we have no hopes for it in near future.. SADLY

That's a bummper

Quote from: lurkalot on August 28, 2011, 03:43:29 AM
Quote from: Shadow Queen on August 27, 2011, 10:30:37 PM
Where can I found the newer version of this mod? Because on this site the new version isn't here..

Use the unofficial one attached to the first post for now, until the new release. Version 2.5 RC1.1C  should work fine with SMF 2.0 Stable.

I can't because I am running with 2.0 version of SMF. How can I get it to work on that version?

The version in the first post of this thread http://smfarcade.info/forum/index.php?topic=7408.msg50532#msg50532 is the best one atm until Niko finishes the version he is working on.
Title: Re: SMF Arcade
Post by: fwitt on August 28, 2011, 06:26:50 PM
Quote from: lurkalot on August 28, 2011, 03:24:15 PM
It is for SMF 2,  I forgot the link, didn't I  :-[  http://smfarcade.info/forum/index.php?topic=7408.0

missed you post when I replied :)
Title: Re: SMF Arcade
Post by: Shadow Queen on August 28, 2011, 07:07:10 PM
I try that one but it's saying it don't work with the SMF 2.0 gold
Title: Re: SMF Arcade
Post by: Shadow Queen on August 28, 2011, 07:12:59 PM
I got the right version now. Sorry about that
Title: Re: SMF Arcade
Post by: TheListener on August 28, 2011, 07:28:10 PM
Quote from: Shadow Queen on August 28, 2011, 07:07:10 PM
I try that one but it's saying it don't work with the SMF 2.0 gold

What are the exact words?

I have recently added more games tomy arcade which is on a 2.0 forum.
Title: Re: SMF Arcade
Post by: unitman on August 29, 2011, 08:34:08 AM
I am trying to upload games to the arcade and for some reason it is throwing out the following error.

Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.:/usr/lib/php') in /home/*******/public_html/Sources/Tar.php on line 21

It was working a week or so ago and I don't remember changing anything to make it stop working.   I got no idea where to look.  Anyone got any ideas that might help.  Did the file "PEAR.php" just disappear?
Title: Re: SMF Arcade
Post by: lurkalot on August 29, 2011, 09:02:51 AM
Quote from: unitman on August 29, 2011, 08:34:08 AM
I am trying to upload games to the arcade and for some reason it is throwing out the following error.

Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.:/usr/lib/php') in /home/*******/public_html/Sources/Tar.php on line 21

It was working a week or so ago and I don't remember changing anything to make it stop working.   I got no idea where to look.  Anyone got any ideas that might help.  Did the file "PEAR.php" just disappear?

Pear.php is a server file,  ask your host if they changed anything over the last few days, or the path to it.  My guess is your uploader is looking for it and can't find it at the path in your error message.
Title: Re: SMF Arcade
Post by: Shadow Queen on August 29, 2011, 01:37:28 PM
Quote from: Brack1 on August 28, 2011, 07:28:10 PM
Quote from: Shadow Queen on August 28, 2011, 07:07:10 PM
I try that one but it's saying it don't work with the SMF 2.0 gold

What are the exact words?

I have recently added more games tomy arcade which is on a 2.0 forum.

The first time I try install it on the forum. It's saying didn't work with the version I have or the file was ain't any good. But I went to the mod site at first I think and grab it there.

Someone was telling me in this topic Grab it from the first post and it install without any problem's at all
Title: Re: SMF Arcade
Post by: andyac on August 29, 2011, 02:31:28 PM
i really need this mod or hack for 2.0 gold. can someone direct me to where to get it?
Title: Re: SMF Arcade
Post by: Shadow Queen on August 29, 2011, 02:48:01 PM
Quote from: andyac on August 29, 2011, 02:31:28 PM
i really need this mod or hack for 2.0 gold. can someone direct me to where to get it?

Check the first post in this topic. It's will install on your forum with out any problem's :)

I have SMF Gold too. I have this mod install on my forum.
Title: Re: SMF Arcade
Post by: andyac on August 30, 2011, 06:33:20 PM
are you saying you installed SMF Arcade 2.5 RC1 on 2.0 final and it runs?
Title: Re: SMF Arcade
Post by: Ozzie on August 30, 2011, 07:02:22 PM
you can run the arcade on 2.0 final using emulation or you can go to smf arcade site and get a unofficial version for smf 2.0
Title: Re: SMF Arcade
Post by: andyac on August 31, 2011, 04:30:13 AM
can i get link to the unofficial 2.0? the smf arcade forum does not let me register
Title: Re: SMF Arcade
Post by: lurkalot on August 31, 2011, 04:43:36 AM
I posted it here, ;) http://www.simplemachines.org/community/index.php?topic=29619.msg3147312#msg3147312
Title: Re: SMF Arcade
Post by: Ozzie on August 31, 2011, 07:01:09 AM
yer the link is good but it no good to anyone who is not registered they cannot download it unless they are (i would drop fwitt a pm here on this site he will sort reg out for you)
Title: Re: SMF Arcade
Post by: andyac on August 31, 2011, 01:32:23 PM
yes please, i need a mirror link for that.. the smfarcade registration verification fails all the time
Title: Re: SMF Arcade
Post by: lurkalot on August 31, 2011, 03:55:01 PM
Quote from: andyac on August 31, 2011, 04:30:13 AM
can i get link to the unofficial 2.0? the smf arcade forum does not let me register

Quote from: Ozzie on August 31, 2011, 07:01:09 AM
yer the link is good but it no good to anyone who is not registered they cannot download it unless they are (i would drop fwitt a pm here on this site he will sort reg out for you)

I've registered and activated andyac's account for him. ;)
Title: Re: SMF Arcade
Post by: fwitt on August 31, 2011, 05:08:30 PM
Quote from: andyac on August 31, 2011, 01:32:23 PM
yes please, i need a mirror link for that.. the smfarcade registration verification fails all the time

Skhilled has a mirror of the download on his site http://www.skhilled.com/docs/index.php?topic=311.msg1045

started typing this before i noticed lirkalots reply but it may come in useful for others so posting it anyway.

looks like I have to investigate the registration it seems to be acting the wrong way round spam bots are getting in and users reporting registration issues.
Title: Re: SMF Arcade
Post by: jdvarner on September 02, 2011, 02:23:49 AM
Folks stay away. I loaded the download in the link above this post and it killed my forum. Loaded fine but it screwed the nav bar. I couldnt recover from the 2 previous backups i had which are from today. It f'd up the navigation bar and the arcade over ran the forum itself. Had to start over as i couldn't get it to reverse. Stay away till its proved to work in 2.0

Title: Re: SMF Arcade
Post by: fwitt on September 02, 2011, 09:19:48 AM
Quote from: jdvarner on September 02, 2011, 02:23:49 AM
Folks stay away. I loaded the download in the link above this post and it killed my forum. Loaded fine but it screwed the nav bar. I couldnt recover from the 2 previous backups i had which are from today. It f'd up the navigation bar and the arcade over ran the forum itself. Had to start over as i couldn't get it to reverse. Stay away till its proved to work in 2.0

Do/Did you also have the SA shop mod installed, another user has reported the same symptoms. They fixed it by doing something with hooks.

Cant find the thread where i read it originally but have found a similar thread to do with the shop mod if its any use. http://www.sa-smf.com/community/index.php?topic=1356.0
Title: Re: SMF Arcade
Post by: jdvarner on September 02, 2011, 12:02:58 PM
Nope, didn't have the shop mod. Running smf 2.0, eazy blue theme, with the following mods. All i know is once it showed install would work fine and i proceeded it locked the entire board to the arcade itself. couldnt go into administration and uninstall. couldnt navigate anywhere but the arcade. went to reinstall backups and nothing would overwrite what was there. would maintain the files that were dorked up from the install.

Previous Mods prior to install of the arcade:

Activity Bar, AEVA Media, Attachments in Topics, Avatar Select, Board Viewers, Copyright, Google Member Map, Relative Dates, RSS Feeder, Contact Page, Users Online Today.
Title: Re: SMF Arcade
Post by: Chen Zhen on September 02, 2011, 05:24:07 PM
Quote from: jdvarner on September 02, 2011, 12:02:58 PM
Nope, didn't have the shop mod. Running smf 2.0, eazy blue theme, with the following mods. All i know is once it showed install would work fine and i proceeded it locked the entire board to the arcade itself. couldnt go into administration and uninstall. couldnt navigate anywhere but the arcade. went to reinstall backups and nothing would overwrite what was there. would maintain the files that were dorked up from the install.

Previous Mods prior to install of the arcade:

Activity Bar, AEVA Media, Attachments in Topics, Avatar Select, Board Viewers, Copyright, Google Member Map, Relative Dates, RSS Feeder, Contact Page, Users Online Today.

I can't seem to duplicate your issue.

Local test: Installed a fresh SMF 2.0 with the mods and theme stated in the last post and then installed the latest version of the Arcade without issue.
Also already tested on live forums with several mods installed including others that use hooks (ie. for the button array) without issue.

Imo - your problem was possibly caused by another mod and/or an install error that was ignored (not parsed).

Title: Re: SMF Arcade
Post by: jdvarner on September 02, 2011, 05:40:00 PM
Thanks Underdog. I'll give it a go again without the mods.
Title: Re: SMF Arcade
Post by: jdvarner on September 04, 2011, 12:50:21 AM
Everyone enjoying their Labor Day weekend I hope. Any progress on the arcade mod for 2.0? Just wanted to ask. So antsy for it.
Title: Re: SMF Arcade
Post by: handsome_94 on September 05, 2011, 04:19:01 AM
Has anyone made their own gamepacks for SMF arcade. I don't want the ones, given on their web-site.

Title: Re: SMF Arcade
Post by: Chen Zhen on September 05, 2011, 05:07:53 AM
Quote from: jdvarner on September 02, 2011, 05:40:00 PM
Thanks Underdog. I'll give it a go again without the mods.

??
I said it works just fine with your mods installed.  Something else must be conflicting to cause the problem as others are using that hack version without issue.
If you want to use the older version that does not use any hooks (including for buttons which you are having trouble with) then download it from here and emulate SMF 2.0 RC3.

Quote from: jdvarner on September 04, 2011, 12:50:21 AM
Everyone enjoying their Labor Day weekend I hope. Any progress on the arcade mod for 2.0? Just wanted to ask. So antsy for it.

The official update will be a long time coming if it ever comes.
The smf version for the one posted here and at smf arcade is for RC3 and the source code has been released on GitHub so you figure it out.




Quote from: handsome_94 on September 05, 2011, 04:19:01 AM
Has anyone made their own gamepacks for SMF arcade. I don't want the ones, given on their web-site.



Some peoples sites offer gamepacks with more recent games included while other forums offer individual game downloads.
Google some ibp arcade and smf arcade game sites and you will find what you seek.
.. or pay attention to some peoples signatures as they will link you to some sources.
Title: Re: SMF Arcade
Post by: lextech on September 26, 2011, 02:23:38 AM
My game admin panel has went poof during an upgrade and I am not sure where to find it. I have looked in my english files and my utf8 files and can't locate where the admin panel code is located and what code I should be seeing so I can replace it. I'm on smf 1.1.15 and arcade 2.0.13. This has been working for 3+ years and all of a sudden...... gone. Arcade works great, just no admin panel.
Title: Re: SMF Arcade
Post by: TedTeddy on September 30, 2011, 10:03:17 AM
Can't dowload Underdog's version 2.5 RC1.1D from http://smfarcade.info/forum/index.php?topic=7408.0, because I can't register. I never receive a confirmation mail and it's not in the spam-folder. Would anybody be so kind and post that version here? Thx a lot!
Title: Re: SMF Arcade
Post by: fwitt on September 30, 2011, 01:01:47 PM
Quote from: TedTeddy on September 30, 2011, 10:03:17 AM
Can't dowload Underdog's version 2.5 RC1.1D from http://smfarcade.info/forum/index.php?topic=7408.0, because I can't register. I never receive a confirmation mail and it's not in the spam-folder. Would anybody be so kind and post that version here? Thx a lot!

pm sent re your smfarcade.info account
Title: Re: SMF Arcade
Post by: T3CHN0 on September 30, 2011, 02:54:51 PM
Quote from: TedTeddy on September 30, 2011, 10:03:17 AM
Can't dowload Underdog's version 2.5 RC1.1D from http://smfarcade.info/forum/index.php?topic=7408.0 (http://smfarcade.info/forum/index.php?topic=7408.0), because I can't register. I never receive a confirmation mail and it's not in the spam-folder. Would anybody be so kind and post that version here? Thx a lot!
same thing, i signed up at least 2hrs ago still no email
Title: Re: SMF Arcade
Post by: lurkalot on September 30, 2011, 03:54:04 PM
Quote from: techno489 on September 30, 2011, 02:54:51 PM

same thing, i signed up at least 2hrs ago still no email

Techno, I just activated your account. ;)
Title: Re: SMF Arcade
Post by: T3CHN0 on September 30, 2011, 09:18:49 PM
Quote from: lurkalot on September 30, 2011, 03:54:04 PM
Quote from: techno489 on September 30, 2011, 02:54:51 PM

same thing, i signed up at least 2hrs ago still no email

Techno, I just activated your account. ;)
thanks for that, installed perfectly, cheers
Title: Re: SMF Arcade
Post by: mudskipper on October 26, 2011, 03:55:19 PM
OK, I still cant get my arcade working.  I really need someone to log into my info and see if they can fix it.  I would greatly appreciate it.
Title: Re: SMF Arcade
Post by: fwitt on October 27, 2011, 03:39:15 PM
Quote from: mudskipper on October 26, 2011, 03:55:19 PM
OK, I still cant get my arcade working.  I really need someone to log into my info and see if they can fix it.  I would greatly appreciate it.

You are still missing arcade language strings in themes/customtheme/languages/modifications.english.php

And the arcade code in themes/customtheme/index.template.php may not be the correct layout for your theme.
Title: Re: SMF Arcade
Post by: mudskipper on October 27, 2011, 06:16:55 PM
Quote from: fwitt on October 27, 2011, 03:39:15 PM
Quote from: mudskipper on October 26, 2011, 03:55:19 PM
OK, I still cant get my arcade working.  I really need someone to log into my info and see if they can fix it.  I would greatly appreciate it.

You are still missing arcade language strings in themes/customtheme/languages/modifications.english.php

And the arcade code in themes/customtheme/index.template.php may not be the correct layout for your theme.

If I give you the folders, can you fix them?
Title: Re: SMF Arcade
Post by: rihsano on October 28, 2011, 05:24:55 AM
hello there,i request games chess for smf 2.0 thanks before ;)
Title: Re: SMF Arcade
Post by: fwitt on October 28, 2011, 05:33:43 AM
Quote from: mudskipper on October 27, 2011, 06:16:55 PM
Quote from: fwitt on October 27, 2011, 03:39:15 PM
Quote from: mudskipper on October 26, 2011, 03:55:19 PM
OK, I still cant get my arcade working.  I really need someone to log into my info and see if they can fix it.  I would greatly appreciate it.

You are still missing arcade language strings in themes/customtheme/languages/modifications.english.php

And the arcade code in themes/customtheme/index.template.php may not be the correct layout for your theme.

If I give you the folders, can you fix them?

If you mean the files then yes should be able to.
Title: Re: SMF Arcade
Post by: mudskipper on November 01, 2011, 04:54:56 PM
Quote from: fwitt on October 28, 2011, 05:33:43 AM
Quote from: mudskipper on October 27, 2011, 06:16:55 PM
Quote from: fwitt on October 27, 2011, 03:39:15 PM
Quote from: mudskipper on October 26, 2011, 03:55:19 PM
OK, I still cant get my arcade working.  I really need someone to log into my info and see if they can fix it.  I would greatly appreciate it.

You are still missing arcade language strings in themes/customtheme/languages/modifications.english.php

And the arcade code in themes/customtheme/index.template.php may not be the correct layout for your theme.

If I give you the folders, can you fix them?

If you mean the files then yes should be able to.

Cool... Here ya go.  I appreciate the hell out of it.
Title: Re: SMF Arcade
Post by: fwitt on November 01, 2011, 07:49:47 PM
Quote from: mudskipper on November 01, 2011, 04:54:56 PM
Quote from: fwitt on October 28, 2011, 05:33:43 AM
Quote from: mudskipper on October 27, 2011, 06:16:55 PM
Quote from: fwitt on October 27, 2011, 03:39:15 PM
Quote from: mudskipper on October 26, 2011, 03:55:19 PM
OK, I still cant get my arcade working.  I really need someone to log into my info and see if they can fix it.  I would greatly appreciate it.

You are still missing arcade language strings in themes/customtheme/languages/modifications.english.php

And the arcade code in themes/customtheme/index.template.php may not be the correct layout for your theme.

If I give you the folders, can you fix them?

If you mean the files then yes should be able to.

Cool... Here ya go.  I appreciate the hell out of it.

Think these two should fix these problems for you
Title: Re: SMF Arcade
Post by: smartblogz on November 02, 2011, 04:43:29 AM
Hi good people,
I recently installed SMF arcade mod SMF_Arcade-2.5_RC2 on my test site. SMF v 2.0.1 (no mods installed at all) but it went kaboom.  :(

Error 404 : No Page Found!

How can I get back on the site cos at the moment, I can't!

Anyone with suggestion on how to fix this? Thanks.
Title: Re: SMF Arcade
Post by: mudskipper on November 02, 2011, 05:04:42 AM
Quote from: fwitt on November 01, 2011, 07:49:47 PM
Quote from: mudskipper on November 01, 2011, 04:54:56 PM
Quote from: fwitt on October 28, 2011, 05:33:43 AM
Quote from: mudskipper on October 27, 2011, 06:16:55 PM
Quote from: fwitt on October 27, 2011, 03:39:15 PM
Quote from: mudskipper on October 26, 2011, 03:55:19 PM
OK, I still cant get my arcade working.  I really need someone to log into my info and see if they can fix it.  I would greatly appreciate it.

You are still missing arcade language strings in themes/customtheme/languages/modifications.english.php

And the arcade code in themes/customtheme/index.template.php may not be the correct layout for your theme.

If I give you the folders, can you fix them?

If you mean the files then yes should be able to.

Cool... Here ya go.  I appreciate the hell out of it.

Think these two should fix these problems for you

FWITT, thanks for the help man, those brought up the arcade.  The only thing now is when you go to the arcade, the a couple of the buttons in the arcade are showing with text and red x's.

Mike
Title: Re: SMF Arcade
Post by: Ozzie on November 02, 2011, 06:33:59 AM
thats probably due to missing image files check your default theme/images and see if arc_icons folder is there and the contents match you original arc_icons folder (the one from your opened  arcade tar....




soz for jumping in fwitt
Title: Re: SMF Arcade
Post by: smartblogz on November 02, 2011, 03:01:00 PM
Quote from: smartblogz on November 02, 2011, 04:43:29 AM
Hi good people,
I recently installed SMF arcade mod SMF_Arcade-2.5_RC2 on my test site. SMF v 2.0.1 (no mods installed at all) but it went kaboom.  :(

Error 404 : No Page Found!

How can I get back on the site cos at the moment, I can't!

Anyone with suggestion on how to fix this? Thanks.
ANYONE to help with the above? Thanks.
Title: Re: SMF Arcade
Post by: fwitt on November 02, 2011, 06:56:24 PM
Quote from: Ozzie on November 02, 2011, 06:33:59 AM
thats probably due to missing image files check your default theme/images and see if arc_icons folder is there and the contents match you original arc_icons folder (the one from your opened  arcade tar....




soz for jumping in fwitt

No Probs Ozzie help away.

I think the easiest fix will be to copy the missing arcade images from the default theme image directory into his custom themes image directory.
Title: Re: SMF Arcade
Post by: mudskipper on November 03, 2011, 07:48:47 AM
Quote from: Ozzie on November 02, 2011, 06:33:59 AM
thats probably due to missing image files check your default theme/images and see if arc_icons folder is there and the contents match you original arc_icons folder (the one from your opened  arcade tar....




soz for jumping in fwitt

Ok, I looked in both the default and custom and there is no ar_icons folder/file.  The only thing there is an icon folder/file and they match each other.
Title: Re: SMF Arcade
Post by: Biology Forums on November 04, 2011, 12:00:16 AM
Excellent mod and a great way to earn traffic to your site. Thank you!
Title: Re: SMF Arcade
Post by: lurkalot on November 04, 2011, 04:39:49 AM
Quote from: mudskipper on November 03, 2011, 07:48:47 AM
Quote from: Ozzie on November 02, 2011, 06:33:59 AM
thats probably due to missing image files check your default theme/images and see if arc_icons folder is there and the contents match you original arc_icons folder (the one from your opened  arcade tar....




soz for jumping in fwitt

Ok, I looked in both the default and custom and there is no ar_icons folder/file.  The only thing there is an icon folder/file and they match each other.

Right click on the missing images and view properties for each one.  That'll show what the images are called, and where they should be in your themes and in what directory.  Then copy them to the correct places.  It's quite common for images like  "star2.gif"  "favorite.gif" etc to be missing from your custom themes images folder.

You only have to look at smfacades site to see what I mean.  http://smfarcade.info/forum/index.php?action=arcade You can bet no one looked at it in IE, as firefox etc won't show the missing images.  Tip, always check your sites with IE, see it does have a purpose. ;)
Title: Re: SMF Arcade
Post by: smartblogz on November 04, 2011, 01:00:35 PM
Hi good people,
I recently installed SMF arcade mod SMF_Arcade-2.5_RC2 on my test site. SMF v 2.0.1 (no mods installed at all) but it went kaboom. 

Error 404 : No Page Found!

How can I get back on the site cos at the moment, I can't!

Anyone with suggestion on how to fix this? Thanks.
Title: Re: SMF Arcade
Post by: fwitt on November 04, 2011, 11:17:14 PM
Quote from: lurkalot on November 04, 2011, 04:39:49 AM
Quote from: mudskipper on November 03, 2011, 07:48:47 AM
Quote from: Ozzie on November 02, 2011, 06:33:59 AM
thats probably due to missing image files check your default theme/images and see if arc_icons folder is there and the contents match you original arc_icons folder (the one from your opened  arcade tar....




soz for jumping in fwitt

Ok, I looked in both the default and custom and there is no ar_icons folder/file.  The only thing there is an icon folder/file and they match each other.

Right click on the missing images and view properties for each one.  That'll show what the images are called, and where they should be in your themes and in what directory.  Then copy them to the correct places.  It's quite common for images like  "star2.gif"  "favorite.gif" etc to be missing from your custom themes images folder.

You only have to look at smfacades site to see what I mean.  http://smfarcade.info/forum/index.php?action=arcade You can bet no one looked at it in IE, as firefox etc won't show the missing images.  Tip, always check your sites with IE, see it does have a purpose. ;)

had forgotten to look since the last theme change, if I remember I'll sort it tomorrow.
Title: Re: SMF Arcade
Post by: mudskipper on November 10, 2011, 07:23:28 AM
Quote from: lurkalot on November 04, 2011, 04:39:49 AM
Quote from: mudskipper on November 03, 2011, 07:48:47 AM
Quote from: Ozzie on November 02, 2011, 06:33:59 AM
thats probably due to missing image files check your default theme/images and see if arc_icons folder is there and the contents match you original arc_icons folder (the one from your opened  arcade tar....




soz for jumping in fwitt

Ok, I looked in both the default and custom and there is no ar_icons folder/file.  The only thing there is an icon folder/file and they match each other.

Right click on the missing images and view properties for each one.  That'll show what the images are called, and where they should be in your themes and in what directory.  Then copy them to the correct places.  It's quite common for images like  "star2.gif"  "favorite.gif" etc to be missing from your custom themes images folder.

You only have to look at smfacades site to see what I mean.  http://smfarcade.info/forum/index.php?action=arcade You can bet no one looked at it in IE, as firefox etc won't show the missing images.  Tip, always check your sites with IE, see it does have a purpose. ;)

Ok, that works to tell me which ones I am missing.  The ones I am missing are

arcade_favorites.gif
arcade_random.gif
favorite.gif
arcade_play.gif
arcade_viewscore.gif

However, I dont know how to write the code to add them to have the pictures.  I also went back and looked in the default theme and they arent in there either.

Mike
Title: Re: SMF Arcade
Post by: Ozzie on November 10, 2011, 08:28:07 AM
here are the fav images the play,viewscore and random are not images they are just text links ..........well they are on mine  :laugh:
Title: Re: SMF Arcade
Post by: mudskipper on November 10, 2011, 02:41:22 PM
Quote from: Ozzie on November 10, 2011, 08:28:07 AM
here are the fav images the play,viewscore and random are not images they are just text links ..........well they are on mine  :laugh:

Could you copy the text and shoot it to me please.
Title: Re: SMF Arcade
Post by: lurkalot on November 10, 2011, 03:01:42 PM
Quote from: mudskipper on November 10, 2011, 02:41:22 PM

Could you copy the text and shoot it to me please.

PM me with a link to your arcade please.  I'll check it out.
Title: Re: SMF Arcade
Post by: smartblogz on November 11, 2011, 06:21:24 AM
But seriously guys...can anyone help with this

http://www.simplemachines.org/community/index.php?topic=29619.msg3200612#msg3200612
Title: Re: SMF Arcade
Post by: T3CHN0 on November 11, 2011, 06:42:43 AM
Quote from: smartblogz on November 11, 2011, 06:21:24 AM
But seriously guys...can anyone help with this

http://www.simplemachines.org/community/index.php?topic=29619.msg3200612#msg3200612 (http://www.simplemachines.org/community/index.php?topic=29619.msg3200612#msg3200612)
If you know how to FTP, use the mods parser to go over the install and reverse the order of the install.
you must have installed with error's, if kaboom with custom theme then search the community boards for
a file called repair_settings.php and that will help you get your forum back running with default theme.

I use this mod for a few years now from SMF RC3 right up to now on 2.0.1 and works good.
there must have been errors on your install for it not to work, or your host is blocking edits.

But the easiest way is just to copy a fresh 2.0.1 install over the top of all your current files
but don't replace settings.php is this points at your data base..
Title: Re: SMF Arcade
Post by: smartblogz on November 14, 2011, 02:10:02 AM
Quote from: T3CHN0 on November 11, 2011, 06:42:43 AM
Quote from: smartblogz on November 11, 2011, 06:21:24 AM
But seriously guys...can anyone help with this

http://www.simplemachines.org/community/index.php?topic=29619.msg3200612#msg3200612 (http://www.simplemachines.org/community/index.php?topic=29619.msg3200612#msg3200612)
If you know how to FTP, use the mods parser to go over the install and reverse the order of the install.
you must have installed with error's, if kaboom with custom theme then search the community boards for
a file called repair_settings.php and that will help you get your forum back running with default theme.

I use this mod for a few years now from SMF RC3 right up to now on 2.0.1 and works good.
there must have been errors on your install for it not to work, or your host is blocking edits.

But the easiest way is just to copy a fresh 2.0.1 install over the top of all your current files
but don't replace settings.php is this points at your data base..
Hi and thanks for the reply.
No, there was no error at all during installation. It installed and then immediately shows the error
Error page cannot be found.
Anyways, I will try the parsing method via ftp.
Title: Re: SMF Arcade
Post by: T3CHN0 on November 14, 2011, 06:42:17 PM
I don't know if this will help you nor do I remember where I downloaded it from
but I use this one, It's been updated from the one in this thread and works
well on my 2.0.1. you might have to emulate it? I can't remember.
was 2 months ago when I installed it.
Cheers
Title: Re: SMF Arcade
Post by: smartblogz on November 15, 2011, 09:36:14 AM
Quote from: T3CHN0 on November 14, 2011, 06:42:17 PM
I don't know if this will help you nor do I remember where I downloaded it from
but I use this one, It's been updated from the one in this thread and works
well on my 2.0.1. you might have to emulate it? I can't remember.
was 2 months ago when I installed it.
Cheers
Thanks man,
This should definitely work. I'm sure. ...brb

update: heck, i spoke too soon. I tried again on my test site and it got this stage (see attached)
and then I click install and kaboom. Error! page cannot be found and then defaults to my main site. but still I cannot access the testsite.

What else can I do?
Title: Re: SMF Arcade
Post by: T3CHN0 on November 15, 2011, 10:25:32 AM

if you can't get your test site to work just replace all files from the install download 2.0.1 with a fresh copy
but do not replace the \Settings.php as this links to your data base.
I sent you a PM as well for site URL

also you can test this mod games by going to my site http://www.aussierampage.com/smf/index.php?action=arcade (http://www.aussierampage.com/smf/index.php?action=arcade)
and see the mod in action..
Title: Re: SMF Arcade
Post by: smartblogz on November 15, 2011, 01:51:01 PM
Quote from: T3CHN0 on November 15, 2011, 10:25:32 AM

if you can't get your test site to work just replace all files from the install download 2.0.1 with a fresh copy
but do not replace the \Settings.php as this links to your data base.
I sent you a PM as well for site URL

also you can test this mod games by going to my site http://www.aussierampage.com/smf/index.php?action=arcade (http://www.aussierampage.com/smf/index.php?action=arcade)
and see the mod in action..
Got your PM and have replied.
Thanks a lot!
Title: Re: SMF Arcade
Post by: Shades. on November 19, 2011, 01:48:15 PM
I'm trying to install this on a new 2.0.1 install but am getting the error when clicking on arcade:
QuoteIllegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation 'ifnull'
File: /home/*****/public_html/mysite/Sources/ArcadeList.php
Line: 168
Title: Re: SMF Arcade
Post by: PocketChange on December 19, 2011, 07:14:57 PM
Quote from: T3CHN0 on November 14, 2011, 06:42:17 PM
I don't know if this will help you nor do I remember where I downloaded it from
but I use this one, It's been updated from the one in this thread and works
well on my 2.0.1. you might have to emulate it? I can't remember.
was 2 months ago when I installed it.
Cheers

I installed this updated MOD on my test site, and all went well, working good!  The problem is that when I tried to install on my actual site (which is a mirror), I get an error that says that the Package directory permissions are not writable, which they are!

I read elsewhere, that I needed to add a /temp folder to the Packages directory, which I did.  This got me past the 1st error, but then I get a fatal error as below....

Fatal error: require() [function.require]: Failed opening required '/home/......./public_html/forum/Packages/temp/arcadeinstall/Database.php' (include_path='.:/usr/local/lib/php') in /home/......./public_html/forum/Sources/Packages.php on line 938

I extracted the "arcadeinstall" folder from the zip archive, and uploaded to the /temp directory.  It contained the Database.php as in the error above.

I then tried to install again, and everything seemed to go smooth, and said install successful!  HOWEVER...  Nothing installed, and there are no signs of the MOD files anywhere, but when I look at installed MODs, it shows that it is installed!  I cannot do an uninstall, because there are no files to uninstall, so get Test-Failed for all files....

Any Ideas, Please?
Title: Re: SMF Arcade
Post by: smitch6 on December 21, 2011, 04:36:13 AM
i deleted this from my forum as i just couldn't get it to work properly
some of the games worked some didn't
some saved the scores and some didn't

i got fed up with getting loads of emails off my users saying they keep getting an error

it's a pity cos this is a great and fun mod for my users
hopefully the owner can sort it out so it works properly :) plsssss
Title: Re: SMF Arcade
Post by: Eclipse16V on December 21, 2011, 06:13:36 AM
I can only agree with you.
I also disabled this mod with me again because she does not run properly. The support of the mod leaves much to be desired. Working on this mod actually someone else? Would appreciate very well on an ongoing mod for 2.0.1.
Title: Re: SMF Arcade
Post by: Jasim on January 05, 2012, 07:20:41 AM
I installed Aracde 2.5 RC1 on my SMF forum 2.02...and getting this Error when i click on Arcade (Menu)...

Table 'smp_iaiia35mbn.smf_arcade_settings' doesn't exist
File: /Sources/Subs-Arcade.php
Line: 362

Actually i can't install arcade directly through FTP in Download Packager from my Forum...when i try to install mods through Package Manager,for some mods it asks for FTP Information , but when i put my FTP server , user and pw (which is correct) , it keeps giving me 530 Incorrect login...But i can connect through FTP client and through ftp.maandsons.net with same info , its fine and logged in every time but can't through Package Manager...i downloaded fix_ownership.php as well and tried to connect on maandsons.net/fix_ownership.php but still can't connect and my info is correct as well

I contacted my hosting team (iPage) as well and they replied me with this:

Hello,

Thank you for contacting us.

We apologize for the inconvenience. Due to security reasons you cannot directly connect to your site via FTP using http://maandsons.net/fix_ownership.php [nofollow] . Please connect to your FTP account using hostname ftp.maandsons.net or by using FTP Client and then you can update the files.

If you have any further questions, please update the Support Console.

Sincerely,

Vernon Kapler
Technical Specialist

how can i solve this issue?  i really want Arcade on my Forum :(
Title: Re: SMF Arcade
Post by: Biology Forums on January 18, 2012, 09:09:22 PM
Check out our new Arcade Layout I've made:

http://biology-forums.com/index.php?action=arcade

Let me know your opinions.
Title: Re: SMF Arcade
Post by: beast44 on January 19, 2012, 08:07:38 AM
When I try and download SMF Arcade 2.5 RC2 From http://smfarcade.info/forum/index.php?topic=7665.0 I get a blank folder. I install it and it tells me this   The package you are trying to download or install is either corrupt or not compatible with this version of SMF.     I upgraded to 2.0.2
Title: Re: SMF Arcade
Post by: lacin64 on January 21, 2012, 08:47:42 PM
We are getting errors from several Arcade games on our forum, basically the scores are not being saved, this is the error message we are getting from some of the games.
"Wrong value type sent to the database. Floating point number expected. (score)"

This is from the error logs.
"http://www.bullsyard.com/index.php?autocom=arcade&amp;do=savescoreWrong value type sent to the database. Floating point number expected. (score)
Function: ArcadeSaveScoreFile: /home/bullsyar/public_html/Sources/ArcadePlay.php
Line: 902"

Today at 11:11 PM
6229b2370ff8e57a149dd2db9c265df7
Type of error: Critical

Has anyone any idea why we are getting Critical errors from some of the arcade games and not others?

Installed Arcade   Beta4-SMF2
Latest version   2.5.9 or Beta4-SMF2
Title: Re: SMF Arcade
Post by: smartblogz on February 09, 2012, 09:04:25 AM
Hi guys, can anyone help out please?

http://www.simplemachines.org/community/index.php?topic=29619.msg3200612#msg3200612
Title: Re: SMF Arcade
Post by: beast44 on February 21, 2012, 12:28:09 PM


 

  I was installing games and it went to a blank page. It tells me

http://www.stumpburner.com/forum/index.php?action=admin;area=managegames;de32b831d9=3cfd18d5ac070aebbe56bfbb33c92767

This has happen to me a few times before and I would like to know how to fix it myself. I'm getting ashamed to keep asking someone to fix it for me

1.    httpBL    2.5.1    [ Uninstall ] [ List Files ] [ Delete ]
2.    SimplePortal    2.3.4    [ Uninstall ] [ List Files ] [ Delete ]
3.    BBC [you]    1.3    [ Uninstall ] [ List Files ] [ Delete ]
4.    Users Online Today    2.0.1    [ Uninstall ] [ List Files ] [ Delete ]
5.    Arcade Skin 2.5 RC1    1.0.0    [ List Files ] [ Delete ]
6.    Stop Spammer    2.3.9    [ Uninstall ] [ List Files ] [ Delete ]
7.    Random Banner (Above Forum)    0.6    [ Uninstall ] [ List Files ] [ Delete ]
8.    SP-Shoutbox Sounds    1.0    [ Uninstall ] [ List Files ] [ Delete ]
9.    Ban List    2.0    [ Uninstall ] [ List Files ] [ Delete ]
10.    SMF Arcade    2.5    [ Uninstall ] [ List Files ] [ Delete ]
11.    Aeva Media    1.4w    [ Uninstall ] [ List Files ] [ Delete ]



    SMF 2.0.2 | SMF © 2011, Simple Machines

??? ???
Title: Re: SMF Arcade
Post by: Chalky on March 11, 2012, 02:35:45 PM
Quote from: fwitt on August 31, 2011, 05:08:30 PM
Quote from: andyac on August 31, 2011, 01:32:23 PM
yes please, i need a mirror link for that.. the smfarcade registration verification fails all the time

Skhilled has a mirror of the download on his site http://www.skhilled.com/docs/index.php?topic=311.msg1045

started typing this before i noticed lirkalots reply but it may come in useful for others so posting it anyway.

looks like I have to investigate the registration it seems to be acting the wrong way round spam bots are getting in and users reporting registration issues.

I have just installed this on my 2.0.2 and so far it's working like a dream!!!  Thanks guys! :D
Title: Re: SMF Arcade
Post by: XHIBIT911 on March 11, 2012, 05:59:55 PM
Ok I can confirm a few things about this issue. It seems when I used Firefox thru my PortaMX to download the arcade file..the download attempt hangs and says the folder is corrupted or blank, so after switching browsers to internet explorer and then downloading and installing the arcade everything works perfectly.....BUT...when I try to download game packs it says:

QuotePackage upload failed due to the following error:
"Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable. If you continue to experience this problem you should try extracting the package on your PC and uploading the extracted files into a subdirectory in your Packages directory and try again. For example, if the package was called shout.tar.gz you should:
1) Download the package to your local PC and extract it into files.
2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
3) Upload all the files from the extracted package to this directory.
4) Go back to the package manager browse page and the package will be automatically found by SMF."

So basically I'm stuck with an empty arcade
Does anyone have a mirror link for game packs ?
Title: Re: SMF Arcade
Post by: lurkalot on March 11, 2012, 08:12:19 PM
Quote from: XHIBIT911 on March 11, 2012, 05:59:55 PM
Ok I can confirm a few things about this issue. It seems when I used Firefox thru my PortaMX to download the arcade file..the download attempt hangs and says the folder is corrupted or blank, so after switching browsers to internet explorer and then downloading and installing the arcade everything works perfectly.....BUT...when I try to download game packs it says:

QuotePackage upload failed due to the following error:
"Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable. If you continue to experience this problem you should try extracting the package on your PC and uploading the extracted files into a subdirectory in your Packages directory and try again. For example, if the package was called shout.tar.gz you should:
1) Download the package to your local PC and extract it into files.
2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
3) Upload all the files from the extracted package to this directory.
4) Go back to the package manager browse page and the package will be automatically found by SMF."

So basically I'm stuck with an empty arcade
Does anyone have a mirror link for game packs ?

Are you trying to install the games through the SMF package manager?   If so you are not supposed to.  Install games through Admin > Arcade > Games > Upload.
Title: Re: SMF Arcade
Post by: XHIBIT911 on March 11, 2012, 10:09:06 PM
Yeah I kinda figured it out after the fact...oh well...I got it up and running with the mega pack of about 78 games, and I gotta admit, after optimizing the mod...Its runnin like a sewin machin. Now all I need is a smf store and its a wrap.
Title: Re: SMF Arcade
Post by: Vlada87 on March 12, 2012, 11:40:29 AM
This plugin works great on my smf 2.0.2

But i have one question, how to turn off notification about Highscore which was send when someone beat my highscore of some game!?
Title: Re: SMF Arcade
Post by: lurkalot on March 12, 2012, 12:14:50 PM
Quote from: Vlada87 on March 12, 2012, 11:40:29 AM
This plugin works great on my smf 2.0.2

But i have one question, how to turn off notification about Highscore which was send when someone beat my highscore of some game!?

Profile > Modify Profile > Arcade settings. ;)
Title: Re: SMF Arcade
Post by: fullmoonya on March 14, 2012, 04:03:45 AM
hello there. i used this mod for a while and it installed well. the game was good but the flash script seems not running. does anyone know how to fix this? please help me.

ADDED1:

where can i download other games of this mod?

ADDED2:

also i can't connect to the smfarcade.info. when i tried to click the link, it says it was taken over by TN_Scorpion Ft g3mb3lz.

:(
Title: Re: SMF Arcade
Post by: Pяηѕѕ LF on March 16, 2012, 07:13:16 PM
hello,

l added facebook like button in my arcade.template.php page

exemple..

// Play screen
function template_arcade_game_play()
{
global $scripturl, $txt, $context, $settings;

echo '



<div style="text-align: center;">

', $context['arcade']['game']['html'], '

           
<iframe src="http://www.facebook.com/widgets/like.php?href=', $scripturl, '?action=arcade;sa=play;game=' . $context['arcade']['game']['id'],'&amp;layout=button_count&amp;show_faces=false&amp;width=125&amp;action=like&amp;font=lucida+grande&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:125px; height:21px;" allowTransparency="true"></iframe>';




but when l like a game, in facebook all it's ok, only l have "content" empty always..

and l want to add a text" good luck" for exemple for to remplace "content" with this text.

lf anyone can help me. thank you.
Title: Re: SMF Arcade
Post by: fullmoonya on March 17, 2012, 12:55:07 AM
Quote from: fullmoonya on March 14, 2012, 04:03:45 AM
hello there. i used this mod for a while and it installed well. the game was good but the flash script seems not running. does anyone know how to fix this? please help me.

ADDED1:

where can i download other games of this mod?

ADDED2:

also i can't connect to the smfarcade.info. when i tried to click the link, it says it was taken over by TN_Scorpion Ft g3mb3lz.

:(

anyone?..
Title: Re: SMF Arcade
Post by: lurkalot on March 17, 2012, 04:45:42 AM
Quote from: fullmoonya on March 17, 2012, 12:55:07 AM
Quote from: fullmoonya on March 14, 2012, 04:03:45 AM
hello there. i used this mod for a while and it installed well. the game was good but the flash script seems not running. does anyone know how to fix this? please help me.

ADDED1:

where can i download other games of this mod?

ADDED2:

also i can't connect to the smfarcade.info. when i tried to click the link, it says it was taken over by TN_Scorpion Ft g3mb3lz.

:(

anyone?..

Server was hacked unfortunately.  No further news atm. >:(

Where can you get more games?  well you can download them from here, http://www.ibpdownloads.com there's thousands to choose from.  Or here, http://askusaquestion.net/index.php Other places too, but those are where most of my games come from.
Title: Re: SMF Arcade
Post by: fullmoonya on March 17, 2012, 05:55:46 AM
Quote from: lurkalot on March 17, 2012, 04:45:42 AM
Quote from: fullmoonya on March 17, 2012, 12:55:07 AM
Quote from: fullmoonya on March 14, 2012, 04:03:45 AM
hello there. i used this mod for a while and it installed well. the game was good but the flash script seems not running. does anyone know how to fix this? please help me.

ADDED1:

where can i download other games of this mod?

ADDED2:

also i can't connect to the smfarcade.info. when i tried to click the link, it says it was taken over by TN_Scorpion Ft g3mb3lz.

:(

anyone?..

Server was hacked unfortunately.  No further news atm. >:(

Where can you get more games?  well you can download them from here, http://www.ibpdownloads.com there's thousands to choose from.  Or here, http://askusaquestion.net/index.php Other places too, but those are where most of my games come from.

how could i download games there?..its saying that i need to be verified to download their games?..
Title: Re: SMF Arcade
Post by: lurkalot on March 17, 2012, 06:01:15 AM
Quote from: fullmoonya on March 17, 2012, 05:55:46 AM

how could i download games there?..its saying that i need to be verified to download their games?..


http://www.ibpdownloads.com/ipb/forum-80/announcement-15-download-permissions-updated-02122011/
Title: Re: SMF Arcade
Post by: fullmoonya on March 17, 2012, 07:34:12 AM
now i downloaded the file. but there is another problem on the mod. when i install the uploaded game, it disappears and nothing happens even in the game lists the game is not added.

ADDED:

i see the game i uploaded in my webhost directory. but why its not showing in the game list?..even in the admin center it doesnt show a thing..

ADDED:

i also see the directory of the uploaded game..now i see the problem..the directory was empty but it has a file size..what could seems to be the problem?..is it in the uploader of this mod?..or in the game itself?..

ADDED:

i found now the problem..its the problem in the installer function of this mod..but i dont know how to mess with it..could somebody fix this?..pretty please..
Title: Re: SMF Arcade
Post by: TheListener on March 18, 2012, 11:44:25 AM
Quote from: Liam_michael on January 18, 2012, 09:09:22 PM
Check out our new Arcade Layout I've made:

http://biology-forums.com/index.php?action=arcade

Let me know your opinions.

Haver a look at www.askusaquestion.net for additions and edits for the arcade.

If you use simple portal there is also an edit which shouts arcade scores.
Title: Re: SMF Arcade
Post by: Chalky on March 19, 2012, 02:43:05 PM
I'm loving the arcade, but is there any way of shouting the scores without using a portal?
Title: Re: SMF Arcade
Post by: Biology Forums on March 19, 2012, 07:30:10 PM
Quote from: Old Fossil on March 18, 2012, 11:44:25 AM
Quote from: Liam_michael on January 18, 2012, 09:09:22 PM
Check out our new Arcade Layout I've made:

http://biology-forums.com/index.php?action=arcade

Let me know your opinions.

Haver a look at www.askusaquestion.net for additions and edits for the arcade.

If you use simple portal there is also an edit which shouts arcade scores.

See I find that a bit cluttered, I don't know.
Title: Re: SMF Arcade
Post by: TheListener on March 19, 2012, 07:32:34 PM
Quote from: Liam_michael on March 19, 2012, 07:30:10 PM
Quote from: Old Fossil on March 18, 2012, 11:44:25 AM
Quote from: Liam_michael on January 18, 2012, 09:09:22 PM
Check out our new Arcade Layout I've made:

http://biology-forums.com/index.php?action=arcade

Let me know your opinions.

Haver a look at www.askusaquestion.net for additions and edits for the arcade.

If you use simple portal there is also an edit which shouts arcade scores.

See I find that a bit cluttered, I don't know.

And I thought I was fussy.

::)
Title: Re: SMF Arcade
Post by: Biology Forums on March 19, 2012, 08:21:52 PM
Quote from: Old Fossil on March 19, 2012, 07:32:34 PM
Quote from: Liam_michael on March 19, 2012, 07:30:10 PM
Quote from: Old Fossil on March 18, 2012, 11:44:25 AM
Quote from: Liam_michael on January 18, 2012, 09:09:22 PM
Check out our new Arcade Layout I've made:

http://biology-forums.com/index.php?action=arcade

Let me know your opinions.

Haver a look at www.askusaquestion.net for additions and edits for the arcade.

If you use simple portal there is also an edit which shouts arcade scores.

See I find that a bit cluttered, I don't know.

And I thought I was fussy.

::)

lol thanks for the suggestion though.
Title: Re: SMF Arcade
Post by: Ozzie on March 19, 2012, 08:26:40 PM
look at mine if thats the sorta layout you want you will need to get the jezza skin form smfarcade site
Title: Re: SMF Arcade
Post by: lurkalot on March 20, 2012, 01:37:53 PM
Ozzie, you still have a missing image. gold.gif  ;)
Title: Re: SMF Arcade
Post by: Ozzie on March 20, 2012, 02:10:19 PM
dont know where m8 i cannot see where you on about  :laugh:
Title: Re: SMF Arcade
Post by: lurkalot on March 20, 2012, 02:18:35 PM
Quote from: Ozzie on March 20, 2012, 02:10:19 PM
dont know where m8 i cannot see where you on about  :laugh:

View in IE8 or 9 and you'll see them.  Top of the trophy box. ;)
Title: Re: SMF Arcade
Post by: Ozzie on March 20, 2012, 02:20:01 PM
sod internet explorer 8 or 9 if they are stupid enough to use it let em suffer  :laugh: :laugh: :laugh: :laugh:
Title: Re: SMF Arcade
Post by: lurkalot on March 20, 2012, 07:27:28 PM
Quote from: Ozzie on March 20, 2012, 02:20:01 PM
sod internet explorer 8 or 9 if they are stupid enough to use it let em suffer  :laugh: :laugh: :laugh: :laugh:

lol..  that's fair enough, but you're missing the point.  You have images missing which are supposed to be there.  ;)
Title: Re: SMF Arcade
Post by: TheListener on March 20, 2012, 07:32:00 PM
I see the arcades forum is back but where will I find the Jeza Template?
Title: Re: SMF Arcade
Post by: Ozzie on March 20, 2012, 07:41:04 PM
look for rc1 skin if you cannot find it gimme a yell


i would wait a while they still seem to be having slight probs over there and the installing a old bck up
Title: Re: SMF Arcade
Post by: Chalky on March 20, 2012, 07:42:31 PM
Quote from: Sabrinova on March 19, 2012, 02:43:05 PM
I'm loving the arcade, but is there any way of shouting the scores without using a portal?

So that would be a no then?  :P
Title: Re: SMF Arcade
Post by: lurkalot on March 20, 2012, 08:03:20 PM
Quote from: Old Fossil on March 20, 2012, 07:32:00 PM
I see the arcades forum is back but where will I find the Jeza Template?

Quote from: Ozzie on March 20, 2012, 07:41:04 PM
look for rc1 skin if you cannot find it gimme a yell


i would wait a while they still seem to be having slight probs over there and the installing a old bck up

The latest version of jezas skin is RC4skin which is attached to the bottom of the first post in this thread, http://smfarcade.info/forum/index.php?topic=6676.0  You'll have to emulate SMF to SMF 2.0 RC4 to install it.

Note: Not sure the downloading of attachments is working yet though.

Title: Re: SMF Arcade
Post by: ford1001 on April 04, 2012, 06:54:44 PM
I have installed this mod but when I go to install/upload games it comes up
"Directory /public_html/Games is not writable and chmod didn't succeed. Please make it writable manually."
The directory that it is talking about is currently 755, is someone able to tell me what I need to change it to too make it writable?
Title: Re: SMF Arcade
Post by: niko on April 04, 2012, 06:57:09 PM
Quote from: ford1001 on April 04, 2012, 06:54:44 PM
I have installed this mod but when I go to install/upload games it comes up
"Directory /public_html/Games is not writable and chmod didn't succeed. Please make it writable manually."
The directory that it is talking about is currently 755, is someone able to tell me what I need to change it to too make it writable?

777. Usually webserver is run under "nobody" instead of your user, so everyone must have write permission
Title: Re: SMF Arcade
Post by: ford1001 on April 04, 2012, 11:18:03 PM
Okay will try that now
Title: Re: SMF Arcade
Post by: ford1001 on April 04, 2012, 11:29:47 PM
*UPDATE*
Even when the permissions are 777 same message comes back up.
Title: Re: SMF Arcade
Post by: Jessica. on April 08, 2012, 08:10:05 PM
some of the games seem to be missing images....
Title: Re: SMF Arcade
Post by: TheListener on April 08, 2012, 10:06:30 PM
Quote from: Jessica. on April 08, 2012, 08:10:05 PM
some of the games seem to be missing images....

Any errors in your error log?

Theme used? Check the default theme.
Title: Re: SMF Arcade
Post by: XHIBIT911 on April 09, 2012, 06:56:08 AM
Ive browsed probably 20 or 30 of this threads pages (randomly) and even searched but cant find an answer to my question.
Where can I find an award mod for the SMF arcade that shows in members forum profiles as well as a block that shows top games played like a leaderboard for my forums ?

Here's what I'm running.

SMF 2.0.2 Forum

PortaMx 1.45 Portal
Title: Re: SMF Arcade
Post by: Alb0 on April 14, 2012, 06:05:57 AM
Can we no longer register on the site? I've received the confirmation email, although when clicked, it sends me to a page that's not found. Need this to download some content on the site :(
Title: Re: SMF Arcade
Post by: NanoSector on April 14, 2012, 06:17:16 AM
Quote from: Alb0 on April 14, 2012, 06:05:57 AM
Can we no longer register on the site? I've received the confirmation email, although when clicked, it sends me to a page that's not found. Need this to download some content on the site :(
What site?
Title: Re: SMF Arcade
Post by: Alb0 on April 14, 2012, 07:01:16 AM
http://smfarcade.info
Title: Re: SMF Arcade
Post by: NanoSector on April 14, 2012, 07:32:17 AM
What if you squeeze "/forum" after "smfarcade.info" in the confirmation URL?
Title: Re: SMF Arcade
Post by: Alb0 on April 14, 2012, 09:48:40 AM
Quote from: Yoshi2889 on April 14, 2012, 07:32:17 AM
What if you squeeze "/forum" after "smfarcade.info" in the confirmation URL?

That did the trick, thank you!
Title: Re: SMF Arcade
Post by: lurkalot on April 14, 2012, 09:53:39 AM
Quote from: Alb0 on April 14, 2012, 06:05:57 AM

Need this to download some content on the site :(


Doubt it will help tbh, downloads and attachments aren't working at the moment. ;)
Title: Re: SMF Arcade
Post by: GarfieldP on April 24, 2012, 04:29:59 PM
does this work for 2.0.2?
Title: Re: SMF Arcade
Post by: TheListener on April 24, 2012, 05:31:46 PM
Hi Odie er I mean Garfield.

;D

The arcade does work on 2.0.2

Another site you can visit for smf and arcade related bits n bobs is www.askusaquestion.net

Title: Re: SMF Arcade
Post by: GarfieldP on April 24, 2012, 05:44:23 PM
Quote from: Old Fossil on April 24, 2012, 05:31:46 PM
Hi Odie er I mean Garfield.

;D

The arcade does work on 2.0.2

Another site you can visit for smf and arcade related bits n bobs is www.askusaquestion.net


;D thanks Fossil!
Now that I have confirmation, could anyone possibly know why it says I cannot install it?  (says its "incompatible with my version of smf" etc...)
I believe I have no smf_arcade database tables and I have not previously installed it.
Title: Re: SMF Arcade
Post by: TheListener on April 24, 2012, 05:45:30 PM
Which version of the mod?

Also have a look at the mod emulate link in my signature.
Title: Re: SMF Arcade
Post by: GarfieldP on April 24, 2012, 07:46:30 PM
I emulated it, and then had to modify some of the pages myself because of SP installed.  Works, games installed.
Title: Re: SMF Arcade
Post by: Biology Forums on May 06, 2012, 03:49:15 PM
I know this probably has been asked before, but how do you make a flash game submit its score to the database?
Title: Re: SMF Arcade
Post by: nend on May 06, 2012, 04:07:34 PM
Flash is capable of sending POST information. Just like any other script, get your information and post it to a url. In this case you can just send it to index.php from flash. You shouldn't need to add the whole url, ;)

I think you need "score" and some sort of internal id for SMF arcade, it has been a while don't remember what the other key was called. It is listed on the SMF Arcade site though.
Title: Re: SMF Arcade
Post by: rivrunnr1 on May 22, 2012, 12:09:25 PM
I spent about 3 hours on this already and hopefully someone can help me. First of all, if someone could point me to older install packages of SMF Arcade, I would VERY much appreciate it. I need to download SMF Arcade 2.0.12. I can only find the newest install package. Maybe I am just a tard.

Here is the situation:
The previous owner of the site tried to remove the arcade, but did it incorrectly. I believe he just deleted the arcade file in the root directory instead of uninstalling it. Now, when I try to uninstall the arcade 2.0.12, I get an error that says "An Error Has Occurred! Unable to find package file!". I think this is because he removed the files. Now I am stuck and cannot remove the package. I figure that if I can replace the package and put it back on the file directory, then the package might be able to be uninstalled. Maybe I am wrong, but that's what I want to try. I can't find the old version package file though!

If anyone can help me, I would appreciate it. Thanks!
Title: Re: SMF Arcade
Post by: Theoderic on May 23, 2012, 11:03:04 AM
Thanx for this system :)
Title: Re: SMF Arcade
Post by: dooie on May 25, 2012, 07:05:37 PM
I am running SMF version 2.0.2 and I am having an install issue with SMF Arcade 2.5 RC1 using the emulator for SMF 2.0 RC3. The code that needs to be found by the install process are not completely the same as what it is looking for. Could someone who knows what they are doing take a look for me and see if there is a manual workaround? I tried but ended up with errors in the Modification Settings in Admin panel. Any help would be greatly appreciated.

Cheers.

61.    Execute Modification    ./index.php    Test failed

      1.    Add Before    ./index.php    Test failed


Code: (Find) [Select]

elseif (empty($_REQUEST['action']))


Code: (Add Before) [Select]

// Check for arcade actions
// IBPArcade v2.x.x Games support
elseif (isset($_REQUEST['act']) && strtolower($_REQUEST['act']) == 'arcade')
{
$_REQUEST['action'] = 'arcade';

if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'newscore')
$_REQUEST['sa'] = 'ibpsubmit2';

require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}
// IBPArcade v3.x.x Games support
elseif (isset($_REQUEST['autocom']) && $_REQUEST['autocom'] == 'arcade')
{
$_REQUEST['action'] = 'arcade';

if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'savescore')
$_REQUEST['sa'] = 'ibpsubmit3';
elseif (isset($_REQUEST['do']) && $_REQUEST['do'] == 'verifyscore')
$_REQUEST['sa'] = 'ibpverify';

require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}
elseif (isset($_REQUEST['play']) && !isset($_REQUEST['game']))
{
$_REQUEST['game'] = $_REQUEST['play'];
unset($_REQUEST['play']);
$_REQUEST['sa'] = 'play';

require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}


      2.    Add After    ./index.php    Test successful

62.    Execute Modification    ./Sources/ManageSettings.php    Test failed

      1.    Add Before    ./Sources/ManageSettings.php    Test failed

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,
),
),



These are my forum PHP files. The code in the files to be modified that is having the errors is included...

./index.php

<?php

/**
 * Simple Machines Forum (SMF)
 *
 * @package SMF
 * @author Simple Machines http://www.simplemachines.org
 * @copyright 2011 Simple Machines
 * @license http://www.simplemachines.org/about/smf/license.php BSD
 *
 * @version 2.0.2
 */

/* This, as you have probably guessed, is the crux on which SMF functions.
Everything should start here, so all the setup and security is done
properly.  The most interesting part of this file is the action array in
the smf_main() function.  It is formatted as so:

'action-in-url' => array('Source-File.php', 'FunctionToCall'),

Then, you can access the FunctionToCall() function from Source-File.php
with the URL index.php?action=action-in-url.  Relatively simple, no?
*/

$forum_version 'SMF 2.0.2';

// Get everything started up...
define('SMF'1);
if (
function_exists('set_magic_quotes_runtime'))
@set_magic_quotes_runtime(0);
error_reporting(defined('E_STRICT') ? E_ALL E_STRICT E_ALL);
$time_start microtime();

// This makes it so headers can be sent!
ob_start();

// Do some cleaning, just in case.
foreach (array('db_character_set''cachedir') as $variable)
if (isset($GLOBALS[$variable]))
unset($GLOBALS[$variable], $GLOBALS[$variable]);

// Load the settings...
require_once(dirname(__FILE__) . '/Settings.php');

// Make absolutely sure the cache directory is defined.
if ((empty($cachedir) || !file_exists($cachedir)) && file_exists($boarddir '/cache'))
$cachedir $boarddir '/cache';

// And important includes.
require_once($sourcedir '/QueryString.php');
require_once(
$sourcedir '/Subs.php');
require_once(
$sourcedir '/Errors.php');
require_once(
$sourcedir '/Load.php');
require_once(
$sourcedir '/Security.php');
if (
file_exists($sourcedir '/LoadAds.php'))
require_once($sourcedir '/LoadAds.php');

// Using an pre-PHP 5.1 version?
if (@version_compare(PHP_VERSION'5.1') == -1)
require_once($sourcedir '/Subs-Compat.php');

// If $maintenance is set specifically to 2, then we're upgrading or something.
if (!empty($maintenance) && $maintenance == 2)
db_fatal_error();

// Create a variable to store some SMF specific functions in.
$smcFunc = array();

// Initate the database connection and define some database functions to use.
loadDatabase();

// Load the settings from the settings table, and perform operations like optimizing.
reloadSettings();
// Clean the request variables, add slashes, etc.
cleanRequest();
$context = array();

// Seed the random generator.
if (empty($modSettings['rand_seed']) || mt_rand(1250) == 69)
smf_seed_generator();

// Before we get carried away, are we doing a scheduled task? If so save CPU cycles by jumping out!
if (isset($_GET['scheduled']))
{
require_once($sourcedir '/ScheduledTasks.php');
AutoTask();
}

// Check if compressed output is enabled, supported, and not already being done.
if (!empty($modSettings['enableCompressedOutput']) && !headers_sent())
{
// If zlib is being used, turn off output compression.
if (@ini_get('zlib.output_compression') == '1' || @ini_get('output_handler') == 'ob_gzhandler' || @version_compare(PHP_VERSION'4.2.0') == -1)
$modSettings['enableCompressedOutput'] = '0';
else
{
ob_end_clean();
ob_start('ob_gzhandler');
}
}

// Register an error handler.
set_error_handler('error_handler');

// Start the session. (assuming it hasn't already been.)
loadSession();

// Determine if this is using WAP, WAP2, or imode.  Technically, we should check that wap comes before application/xhtml or text/html, but this doesn't work in practice as much as it should.
if (isset($_REQUEST['wap']) || isset($_REQUEST['wap2']) || isset($_REQUEST['imode']))
unset($_SESSION['nowap']);
elseif (isset(
$_REQUEST['nowap']))
$_SESSION['nowap'] = true;
elseif (!isset(
$_SESSION['nowap']))
{
if (isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'application/vnd.wap.xhtml+xml') !== false)
$_REQUEST['wap2'] = 1;
elseif (isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'text/vnd.wap.wml') !== false)
{
if (strpos($_SERVER['HTTP_USER_AGENT'], 'DoCoMo/') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'portalmmm/') !== false)
$_REQUEST['imode'] = 1;
else
$_REQUEST['wap'] = 1;
}
}

if (!
defined('WIRELESS'))
define('WIRELESS', isset($_REQUEST['wap']) || isset($_REQUEST['wap2']) || isset($_REQUEST['imode']));

// Some settings and headers are different for wireless protocols.
if (WIRELESS)
{
define('WIRELESS_PROTOCOL', isset($_REQUEST['wap']) ? 'wap' : (isset($_REQUEST['wap2']) ? 'wap2' : (isset($_REQUEST['imode']) ? 'imode' '')));

// Some cellphones can't handle output compression...
$modSettings['enableCompressedOutput'] = '0';
// !!! Do we want these hard coded?
$modSettings['defaultMaxMessages'] = 5;
$modSettings['defaultMaxTopics'] = 9;

// Wireless protocol header.
if (WIRELESS_PROTOCOL == 'wap')
header('Content-Type: text/vnd.wap.wml');
}

// Restore post data if we are revalidating OpenID.
if (isset($_GET['openid_restore_post']) && !empty($_SESSION['openid']['saved_data'][$_GET['openid_restore_post']]['post']) && empty($_POST))
{
$_POST $_SESSION['openid']['saved_data'][$_GET['openid_restore_post']]['post'];
unset($_SESSION['openid']['saved_data'][$_GET['openid_restore_post']]);
}

// What function shall we execute? (done like this for memory's sake.)
call_user_func(smf_main());

// Call obExit specially; we're coming from the main area ;).
obExit(nullnulltrue);

// The main controlling function.
function smf_main()
{
global $modSettings$settings$user_info$board$topic$board_info$maintenance$sourcedir;

// Special case: session keep-alive, output a transparent pixel.
if (isset($_GET['action']) && $_GET['action'] == 'keepalive')
{
header('Content-Type: image/gif');
die("\x47\x49\x46\x38\x39\x61\x01\x00\x01\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x21\xF9\x04\x01\x00\x00\x00\x00\x2C\x00\x00\x00\x00\x01\x00\x01\x00\x00\x02\x02\x44\x01\x00\x3B");
}

// Load the user's cookie (or set as guest) and load their settings.
loadUserSettings();

// Load the current board's information.
loadBoard();

// Load the current user's permissions.
loadPermissions();

// Attachments don't require the entire theme to be loaded.
if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'dlattach' && (!empty($modSettings['allow_guestAccess']) && $user_info['is_guest']))
detectBrowser();
// Load the current theme.  (note that ?theme=1 will also work, may be used for guest theming.)
else
loadTheme();

// Check if the user should be disallowed access.

// Load all the ads up
if (function_exists("loadAds"))
loadAds();
is_not_banned();

// If we are in a topic and don't have permission to approve it then duck out now.
if (!empty($topic) && empty($board_info['cur_topic_approved']) && !allowedTo('approve_posts') && ($user_info['id'] != $board_info['cur_topic_starter'] || $user_info['is_guest']))
fatal_lang_error('not_a_topic'false);

// Do some logging, unless this is an attachment, avatar, toggle of editor buttons, theme option, XML feed etc.
if (empty($_REQUEST['action']) || !in_array($_REQUEST['action'], array('dlattach''findmember''jseditor''jsoption''requestmembers''smstats''.xml''xmlhttp''verificationcode''viewquery''viewsmfile')))
{
// Log this user as online.
writeLog();

// Track forum statistics and hits...?
if (!empty($modSettings['hitStats']))
trackStats(array('hits' => '+'));
}

// Is the forum in maintenance mode? (doesn't apply to administrators.)
if (!empty($maintenance) && !allowedTo('admin_forum'))
{
// You can only login.... otherwise, you're getting the "maintenance mode" display.
if (isset($_REQUEST['action']) && ($_REQUEST['action'] == 'login2' || $_REQUEST['action'] == 'logout'))
{
require_once($sourcedir '/LogInOut.php');
return $_REQUEST['action'] == 'login2' 'Login2' 'Logout';
}
// Don't even try it, sonny.
else
{
require_once($sourcedir '/Subs-Auth.php');
return 'InMaintenance';
}
}
// If guest access is off, a guest can only do one of the very few following actions.
elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('coppa''login''login2''register''register2''reminder''activate''help''smstats''mailq''verificationcode''openidreturn''notCaptcha'))))
{
require_once($sourcedir '/Subs-Auth.php');
return 'KickGuest';
}
elseif (empty($_REQUEST['action']) && empty($_REQUEST['ajax_request']))
{
// Action and board are both empty... BoardIndex!
if (empty($board) && empty($topic))
{
require_once($sourcedir '/BoardIndex.php');
return 'BoardIndex';
}
// Topic is empty, and action is empty.... MessageIndex!
elseif (empty($topic))
{
require_once($sourcedir '/MessageIndex.php');
return 'MessageIndex';
}
// Board is not empty... topic is not empty... action is empty.. Display!
else
{
require_once($sourcedir '/Display.php');
return 'Display';
}
}

//-- Labradoodle-360; Menu Editor Lite
elseif (!empty($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == 'menu_children')
{
require_once($sourcedir '/menu_source/resources/ajax.php');
http_request_children();
}
// End Labradoodle-360; Menu Editor Lite --//

// Here's the monstrous $_REQUEST['action'] array - $_REQUEST['action'] => array($file, $function).
$actionArray = array(
'activate' => array('Register.php''Activate'),
'admin' => array('Admin.php''AdminMain'),
'ads' => array('Ads.php''Ads'),
'announce' => array('Post.php''AnnounceTopic'),
'attachapprove' => array('ManageAttachments.php''ApproveAttach'),
'buddy' => array('Subs-Members.php''BuddyListToggle'),
'calendar' => array('Calendar.php''CalendarMain'),
'clock' => array('Calendar.php''clock'),
'collapse' => array('BoardIndex.php''CollapseCategory'),
'coppa' => array('Register.php''CoppaForm'),
'credits' => array('Who.php''Credits'),
'deletemsg' => array('RemoveTopic.php''DeleteMessage'),
'display' => array('Display.php''Display'),
'dlattach' => array('Display.php''Download'),
'editpoll' => array('Poll.php''EditPoll'),
'editpoll2' => array('Poll.php''EditPoll2'),
'emailuser' => array('SendTopic.php''EmailUser'),
'findmember' => array('Subs-Auth.php''JSMembers'),
'groups' => array('Groups.php''Groups'),
'help' => array('Help.php''ShowHelp'),
'helpadmin' => array('Help.php''ShowAdminHelp'),
'im' => array('PersonalMessage.php''MessageMain'),
'jseditor' => array('Subs-Editor.php''EditorMain'),
'jsmodify' => array('Post.php''JavaScriptModify'),
'jsoption' => array('Themes.php''SetJavaScript'),
'lock' => array('LockTopic.php''LockTopic'),
'lockvoting' => array('Poll.php''LockVoting'),
'login' => array('LogInOut.php''Login'),
'login2' => array('LogInOut.php''Login2'),
'logout' => array('LogInOut.php''Logout'),
'markasread' => array('Subs-Boards.php''MarkRead'),
'mergetopics' => array('SplitTopics.php''MergeTopics'),
'mlist' => array('Memberlist.php''Memberlist'),
'moderate' => array('ModerationCenter.php''ModerationMain'),
'modifycat' => array('ManageBoards.php''ModifyCat'),
'modifykarma' => array('Karma.php''ModifyKarma'),
'movetopic' => array('MoveTopic.php''MoveTopic'),
'movetopic2' => array('MoveTopic.php''MoveTopic2'),
'notCaptcha' => array('Register.php''notCaptcha_img'),
'notify' => array('Notify.php''Notify'),
'notifyboard' => array('Notify.php''BoardNotify'),
'openidreturn' => array('Subs-OpenID.php''smf_openID_return'),
'pm' => array('PersonalMessage.php''MessageMain'),
'post' => array('Post.php''Post'),
'post2' => array('Post.php''Post2'),
'printpage' => array('Printpage.php''PrintTopic'),
'profile' => array('Profile.php''ModifyProfile'),
'quotefast' => array('Post.php''QuoteFast'),
'quickmod' => array('MessageIndex.php''QuickModeration'),
'quickmod2' => array('Display.php''QuickInTopicModeration'),
'recent' => array('Recent.php''RecentPosts'),
'register' => array('Register.php''Register'),
'register2' => array('Register.php''Register2'),
'reminder' => array('Reminder.php''RemindMe'),
'removepoll' => array('Poll.php''RemovePoll'),
'removetopic2' => array('RemoveTopic.php''RemoveTopic2'),
'reporttm' => array('SendTopic.php''ReportToModerator'),
'requestmembers' => array('Subs-Auth.php''RequestMembers'),
'restoretopic' => array('RemoveTopic.php''RestoreTopic'),
'search' => array('Search.php''PlushSearch1'),
'search2' => array('Search.php''PlushSearch2'),
'sendtopic' => array('SendTopic.php''EmailUser'),
'smstats' => array('Stats.php''SMStats'),
'suggest' => array('Subs-Editor.php''AutoSuggestHandler'),
'spellcheck' => array('Subs-Post.php''SpellCheck'),
'splittopics' => array('SplitTopics.php''SplitTopics'),
'stats' => array('Stats.php''DisplayStats'),
'sticky' => array('LockTopic.php''Sticky'),
'theme' => array('Themes.php''ThemesMain'),
'trackip' => array('Profile-View.php''trackIP'),
'trader' => array('Trader2.php''tradermain'),

'about:mozilla' => array('Karma.php''BookOfUnknown'),
'about:unknown' => array('Karma.php''BookOfUnknown'),
'unread' => array('Recent.php''UnreadTopics'),
'unreadreplies' => array('Recent.php''UnreadTopics'),
'verificationcode' => array('Register.php''VerificationCode'),
'viewprofile' => array('Profile.php''ModifyProfile'),
'vote' => array('Poll.php''Vote'),
'viewquery' => array('ViewQuery.php''ViewQuery'),
'viewsmfile' => array('Admin.php''DisplayAdminFile'),
'who' => array('Who.php''Who'),
'.xml' => array('News.php''ShowXmlFeed'),
'xmlhttp' => array('Xml.php''XMLhttpMain'),
);

// Allow modifying $actionArray easily.
call_integration_hook('integrate_actions', array(&$actionArray));

// Get the function and file to include - if it's not there, do the board index.
if (!isset($_REQUEST['action']) || !isset($actionArray[$_REQUEST['action']]))
{
// Catch the action with the theme?
if (!empty($settings['catch_action']))
{
require_once($sourcedir '/Themes.php');
return 'WrapAction';
}

// Fall through to the board index then...
require_once($sourcedir '/BoardIndex.php');
return 'BoardIndex';
}

// Otherwise, it was set - so let's go to that action.
require_once($sourcedir '/' $actionArray[$_REQUEST['action']][0]);
return $actionArray[$_REQUEST['action']][1];
}

?>


The ManageSettings.php file is too large to post so I have cut the snipet of code where the error is being found with a little extra on each side.
./Sources/ManageSettings.php

// 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?
if (isset($_POST['save']))


Any help would be greatly appreciated!

Cheers.
Title: Re: SMF Arcade
Post by: jan.van.gent on June 01, 2012, 07:11:15 AM
Quote from: PocketChange on December 19, 2011, 07:14:57 PM
Quote from: T3CHN0 on November 14, 2011, 06:42:17 PM
I don't know if this will help you nor do I remember where I downloaded it from
but I use this one, It's been updated from the one in this thread and works
well on my 2.0.1. you might have to emulate it? I can't remember.
was 2 months ago when I installed it.
Cheers

I installed this updated MOD on my test site, and all went well, working good!  The problem is that when I tried to install on my actual site (which is a mirror), I get an error that says that the Package directory permissions are not writable, which they are!

I read elsewhere, that I needed to add a /temp folder to the Packages directory, which I did.  This got me past the 1st error, but then I get a fatal error as below....

Fatal error: require() [function.require]: Failed opening required '/home/......./public_html/forum/Packages/temp/arcadeinstall/Database.php' (include_path='.:/usr/local/lib/php') in /home/......./public_html/forum/Sources/Packages.php on line 938

I extracted the "arcadeinstall" folder from the zip archive, and uploaded to the /temp directory.  It contained the Database.php as in the error above.

I then tried to install again, and everything seemed to go smooth, and said install successful!  HOWEVER...  Nothing installed, and there are no signs of the MOD files anywhere, but when I look at installed MODs, it shows that it is installed!  I cannot do an uninstall, because there are no files to uninstall, so get Test-Failed for all files....

Any Ideas, Please?

I'm having the exact same problem. Did you found a solution yet?

It works like a charm on my test forum, but i get the error you have on my real site.
Title: Re: SMF Arcade
Post by: Timshel on June 02, 2012, 06:59:28 AM
Where did you guys get the games from?

I just installed the SMF Arcade 2.5 on my 2.0.2 forum but I don't have any game. Besides, I went to smfarcade.net but even there the attached game seemed to disappear...

Help :(
Title: Re: SMF Arcade
Post by: lurkalot on June 03, 2012, 07:28:00 PM
Quote from: Timshel on June 02, 2012, 06:59:28 AM
Where did you guys get the games from?

I just installed the SMF Arcade 2.5 on my 2.0.2 forum but I don't have any game. Besides, I went to smfarcade.net but even there the attached game seemed to disappear...

Help :(

Best place to get games atm is here.  http://www.ibpdownloads.com/ipb/  Go to arcade and try some, and download them directly from arcade.  (you will have to register first to download).
Title: Re: SMF Arcade
Post by: Timshel on June 04, 2012, 12:05:55 PM
That's awesome lurkalot, thanks a lot!! :)
Title: Re: SMF Arcade
Post by: bud01100 on June 06, 2012, 10:24:14 AM
Quote from: beast44 on February 21, 2012, 12:28:09 PM


 

  I was installing games and it went to a blank page. It tells me

http://www.stumpburner.com/forum/index.php?action=admin;area=managegames;de32b831d9=3cfd18d5ac070aebbe56bfbb33c92767

This has happen to me a few times before and I would like to know how to fix it myself. I'm getting ashamed to keep asking someone to fix it for me

1.    httpBL    2.5.1    [ Uninstall ] [ List Files ] [ Delete ]
2.    SimplePortal    2.3.4    [ Uninstall ] [ List Files ] [ Delete ]
3.    BBC [you]    1.3    [ Uninstall ] [ List Files ] [ Delete ]
4.    Users Online Today    2.0.1    [ Uninstall ] [ List Files ] [ Delete ]
5.    Arcade Skin 2.5 RC1    1.0.0    [ List Files ] [ Delete ]
6.    Stop Spammer    2.3.9    [ Uninstall ] [ List Files ] [ Delete ]
7.    Random Banner (Above Forum)    0.6    [ Uninstall ] [ List Files ] [ Delete ]
8.    SP-Shoutbox Sounds    1.0    [ Uninstall ] [ List Files ] [ Delete ]
9.    Ban List    2.0    [ Uninstall ] [ List Files ] [ Delete ]
10.    SMF Arcade    2.5    [ Uninstall ] [ List Files ] [ Delete ]
11.    Aeva Media    1.4w    [ Uninstall ] [ List Files ] [ Delete ]



    SMF 2.0.2 | SMF © 2011, Simple Machines

??? ???
Bump.. Same problem here
Title: Re: SMF Arcade
Post by: FrizzleFried on June 06, 2012, 11:00:25 AM
I've found that when installing games over about 6MB,  this can/will happen.  My solution... unzip the larger zip file manually on the server and remove the large zip file.  That large zip file is bugging the system out.  Once it's unzipped you can install the game as normal...

Title: Re: SMF Arcade
Post by: nend on June 06, 2012, 02:21:44 PM
Please note allot of the game uploading depends on your server settings. If your upload max file size among other settings setting are too low then it will reject most large game uploads. If you have access to php.ini you can increase this, if not then you may be out of luck unless your host decides to do it for you. You can however always use ftp dependably.
Title: Re: SMF Arcade
Post by: niko on June 10, 2012, 06:33:34 PM
Quote from: Timshel on June 02, 2012, 06:59:28 AM
Where did you guys get the games from?

I just installed the SMF Arcade 2.5 on my 2.0.2 forum but I don't have any game. Besides, I went to smfarcade.net but even there the attached game seemed to disappear...

Help :(

http://db.tt/cQT0Ob8h
Title: Re: SMF Arcade
Post by: FrizzleFried on June 10, 2012, 07:13:20 PM
QuoteError (509)
This account's public links are generating too much traffic and have been temporarily disabled!

...bummer.

:)
Title: Re: SMF Arcade
Post by: niko on June 10, 2012, 07:17:03 PM
Quote from: FrizzleFried on June 10, 2012, 07:13:20 PM
QuoteError (509)
This account's public links are generating too much traffic and have been temporarily disabled!

...bummer.

:)

Wow.

Uploading them here should be done soon:

http://files.smfarcade.info/

Title: Re: SMF Arcade
Post by: bud01100 on June 17, 2012, 01:22:29 AM
Quote from: Old Fossil on April 24, 2012, 05:31:46 PM
Hi Odie er I mean Garfield.

;D

The arcade does work on 2.0.2

Another site you can visit for smf and arcade related bits n bobs is www.askusaquestion.net


Hi Fosil, Getting this error going to your site:

Forbidden
You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.42 Server at www.askusaquestion.net Port 80

thanks
Title: Re: SMF Arcade
Post by: TheListener on June 17, 2012, 01:25:55 AM
Er I didn't say ask was my forum.

Unfortunately the forums owner has been experiencing a few host related problems.

/me looks for the fryingpan


Title: Re: SMF Arcade
Post by: pompeybrum on June 17, 2012, 04:13:15 AM
Hi all
Have installed arcade on my newish SMF2.0.2 forum. Installation seemed to go fine but clicking the Arcade menu button brings up:

Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation 'ifnull'
File: /home/blogbug/public_html/new/Sources/ArcadeList.php
Line: 155

Any ideas how I can fix this?
Thanks
Tony
Title: Re: SMF Arcade
Post by: avguste on June 22, 2012, 10:21:06 PM
Hey all

I have installed the arcade, however I cant find anywhere the links to games. The SMFArcade forums has no download links and no one seems to be active.
Any help would be great

Thanks
Title: Re: SMF Arcade
Post by: TheListener on June 22, 2012, 10:36:56 PM
http://www.ibpdownloads.com/ipb/index.php?app=arcade

Have a look here.

You will have to register first but this is where many people get their games.
Title: Re: SMF Arcade
Post by: TiPsY on July 28, 2012, 04:53:08 PM
I have emulated my forum to install arcade, all worked fine, yet again when I've uploaded games on the /Games folder they don't appear in the games list.
It always says No games available for playing

Any info?
Title: Re: SMF Arcade
Post by: Shambles on July 28, 2012, 04:57:35 PM
You have to install games, most times from a package
Title: Re: SMF Arcade
Post by: TiPsY on July 29, 2012, 04:17:12 PM
Quote from: Shambles™ on July 28, 2012, 04:57:35 PM
You have to install games, most times from a package
What do you mean? I unpacked the games inside the forum/Games folder and still nothing happened.
Title: Re: SMF Arcade
Post by: Arantor on July 29, 2012, 04:21:57 PM
That's the point: you have to do more than just upload the files, they have to be added to the database as well - which is why you have to install them through a package...
Title: Re: SMF Arcade
Post by: Shambles on July 29, 2012, 04:30:24 PM
TiPsY, your route to achieving the above would be:

Admin > Arcade > Games > Upload

* enter the details of your games package, then

Admin > Arcade > Games > Install

* the new games will appear in the list, ready for you to install  8)
Title: Re: SMF Arcade
Post by: TiPsY on July 30, 2012, 04:42:48 PM
Oh thanks.

Yet again the thumbnails doesnt work, and the game itself doesn't work either :/

I just get a white small window but the game doesn't seem to work :(

I'm going to recheck and edit my post later.


Edit: Fixed :)
Title: Re: SMF Arcade
Post by: Orangine on July 31, 2012, 07:59:12 PM
I recently upgraded a forum RC3->2.0.2 and tried to install Arcade, got this error:
Duplicate key name 'id_game'
File: /home1/xxxxxx/public_html/xxxxxx/Packages/temp/arcadeinstall/Subs-Install.php
Line: 156

could someone help me figure out what's wrong?
Title: Re: SMF Arcade
Post by: TheRealityBuzz on August 04, 2012, 08:29:20 PM
When I try to install games onto my arcade I keep on getting this message

Invalid checksum for file " <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http:/" : 44606 calculated, 0 expected1

Help please!
Title: Re: SMF Arcade
Post by: 2strokecentral on August 06, 2012, 10:52:21 PM
I tried to emulate to the latest version for smf arcade but the execute modification failed.
Title: Re: SMF Arcade
Post by: Kindred on August 06, 2012, 11:18:24 PM
http://wiki.simplemachines.org/smf/Error_in_mod_installation
Title: Re: SMF Arcade
Post by: Chen Zhen on August 14, 2012, 09:01:35 AM

For those with database error issues (I've read a few) during installation or otherwise:

There is an Arcade DB purge tool I made a while back which will remove any E-Arcade or SMF Arcade DB tables/entries.
Follow directions from this page: ref. http://smfarcade.info/forum/index.php?topic=7646.0

This will of course delete any previous arcade data but should allow you to install the arcade without issue.
Otherwise there is also a hack version released that uses a different db install routine as an option.





There is a download link now on the main site for a more recent release of the SMF Arcade RC2.
I can verify that the installer was adjusted for SMF 2.0.2 but I do not know why Niko did not update it here.


<install for="2.0, 2.0.1, 2.0.2">


I hope this will resolve some peoples issues.
Title: Re: SMF Arcade
Post by: Shambles on August 14, 2012, 09:09:33 AM
Useful info -underdog-  :D

(PS, that link in your signature "Over 2000 Arcade Games Available For Download!!" gives me a 403 forbidden  :P)
Title: Re: SMF Arcade
Post by: Orangine on August 14, 2012, 09:11:13 AM
Quote from: -Underdog- on August 14, 2012, 09:01:35 AMOtherwise there is also a hack version released that uses a different db install routine as an option.
any chance for the link?
Title: Re: SMF Arcade
Post by: Chen Zhen on August 14, 2012, 09:33:27 AM
Quote from: Shambles™ on August 14, 2012, 09:09:33 AM
Useful info -underdog-  :D

(PS, that link in your signature "Over 2000 Arcade Games Available For Download!!" gives me a 403 forbidden  :P)

That project is down permanently & I have neglected to edit my links in any signatures as of yet  ;)
A new project begins soon.. will update when this occurs.

Quote from: Orangine on August 14, 2012, 09:11:13 AM
Quote from: -Underdog- on August 14, 2012, 09:01:35 AMOtherwise there is also a hack version released that uses a different db install routine as an option.
any chance for the link?

Official version:
SMF Arcade downloads page: http://smfarcade.info/forum/index.php?page=download

The hack version is in the hack section of the main site & must be logged in to download.
The link was not provided as this thread is for the official version but I mentioned it as an option.

Title: Re: SMF Arcade
Post by: tMicky on September 03, 2012, 08:04:01 PM
Does this come, with the games already included?
Title: Re: SMF Arcade
Post by: Chen Zhen on September 03, 2012, 11:12:02 PM
Quote from: tMicky on September 03, 2012, 08:04:01 PM
Does this come, with the games already included?

tMicky,
  The arcade installs with 1 game called minesweeper but it's terrible & imo just delete it without installing.
SMF Arcade & some gamepacks are available from the link given in my last post. After installing the arcade you can opt to install all/any gamepacks via the arcade admin menu.  Other games are available from the net on other SMF & IPB sites that are compatible which you can locate via a search engine.


Title: Re: SMF Arcade
Post by: Chalky on September 26, 2012, 03:49:12 PM
I need a good bubble shooter game - does anyone know where I can find one?  I installed Beads Puzzle from ipbdownloads which is perfect, except that it's a bit buggy, so I'm looking for an alternative.  I have been through all the bubble games on ipbdownloads one by one but none of them are quite right.  I like the graphics and effects of Beads Puzzle, the way the bubbles start with one row and more rows keep being added from above, then the game ends when a bubble reaches the bottom of the screen.   This is important as some bubble games start with a screen full of bubbles or progress through levels if you clear the screen, and we don't like that.  It also must be mouse-controlled as opposed to arrow keys and has to allow the mouse pointer to show on the screen to help aim.  Many other games are either too slow, too jerky, have annoying effects or are just plain boring.

I know it sounds like I'm being fussy, but please can anybody suggest another source of games or maybe even a specific game that meets the requirements? 
Title: Re: SMF Arcade
Post by: TheListener on September 26, 2012, 04:02:43 PM
@Sabrina

You may like a game called Lightning Bugs. However to submit the score you have to press the play game once you complete one.
Title: Re: SMF Arcade
Post by: Chalky on September 26, 2012, 04:09:08 PM
Thanks Foss, but no, I just had a look and it's too similar to Blocks which we already have.  Apart from Blocks, we have Bejeweled, Pinboladia and The Queen's Jewels.  There are only so many ways to match up blobs of the same colour and we don't want to duplicate, which is why we need a bubble-shooter game :)
Title: Re: SMF Arcade
Post by: hiboy on October 12, 2012, 10:28:22 AM
Hi, i am currently using smf 2.02 , when i install
SMF_Arcade_2.0.18.zip or
SMF_Arcade_2.5_RC1_Public.zip   
an error was shown

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

any solution ? is it not compatible? is there any arcade mod for smf 2.02?
Title: Re: SMF Arcade
Post by: Kindred on October 12, 2012, 02:27:56 PM
click the advanced button at the bottom of the package manage screen.
set your version emulation to 2.0
install mod
Title: Re: SMF Arcade
Post by: lurkalot on October 12, 2012, 02:47:50 PM
Quote from: hiboy on October 12, 2012, 10:28:22 AM
Hi, i am currently using smf 2.02 , when i install
SMF_Arcade_2.0.18.zip or
SMF_Arcade_2.5_RC1_Public.zip   
an error was shown

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

any solution ? is it not compatible? is there any arcade mod for smf 2.02?

Use this one from the downloads page SMF_Arcade-2.5_RC2.zip  it should work with SMF 2.0.2 http://smfarcade.info/forum/index.php?page=download
Title: Re: SMF Arcade
Post by: hiboy on October 12, 2012, 10:42:14 PM
Quote from: lurkalot on October 12, 2012, 02:47:50 PM
Quote from: hiboy on October 12, 2012, 10:28:22 AM
Hi, i am currently using smf 2.02 , when i install
SMF_Arcade_2.0.18.zip or
SMF_Arcade_2.5_RC1_Public.zip   
an error was shown

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

any solution ? is it not compatible? is there any arcade mod for smf 2.02?

Use this one from the downloads page SMF_Arcade-2.5_RC2.zip  it should work with SMF 2.0.2 http://smfarcade.info/forum/index.php?page=download

Hi, i use that copy and i manage to install, however,when i navigate to the arcade page ,i gotten this error

Database error

Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'

File: /Sources/ArcadeList.php
Line: 155

Any solution
Title: Re: SMF Arcade
Post by: lurkalot on October 13, 2012, 03:55:34 AM
Quote from: hiboy on October 12, 2012, 10:42:14 PM
Quote from: lurkalot on October 12, 2012, 02:47:50 PM
Quote from: hiboy on October 12, 2012, 10:28:22 AM
Hi, i am currently using smf 2.02 , when i install
SMF_Arcade_2.0.18.zip or
SMF_Arcade_2.5_RC1_Public.zip   
an error was shown

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

any solution ? is it not compatible? is there any arcade mod for smf 2.02?

Use this one from the downloads page SMF_Arcade-2.5_RC2.zip  it should work with SMF 2.0.2 http://smfarcade.info/forum/index.php?page=download

Hi, i use that copy and i manage to install, however,when i navigate to the arcade page ,i gotten this error

Database error

Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'

File: /Sources/ArcadeList.php
Line: 155

Any solution


Have a search around for the error, here's one result, http://smfarcade.info/forum/index.php?topic=7649.msg51599#msg51599
Title: Re: SMF Arcade
Post by: hiboy on October 13, 2012, 04:04:55 AM
Quote from: lurkalot on October 13, 2012, 03:55:34 AM
Quote from: hiboy on October 12, 2012, 10:42:14 PM
Quote from: lurkalot on October 12, 2012, 02:47:50 PM
Quote from: hiboy on October 12, 2012, 10:28:22 AM
Hi, i am currently using smf 2.02 , when i install
SMF_Arcade_2.0.18.zip or
SMF_Arcade_2.5_RC1_Public.zip   
an error was shown

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

any solution ? is it not compatible? is there any arcade mod for smf 2.02?

Use this one from the downloads page SMF_Arcade-2.5_RC2.zip  it should work with SMF 2.0.2 http://smfarcade.info/forum/index.php?page=download

Hi, i use that copy and i manage to install, however,when i navigate to the arcade page ,i gotten this error

Database error

Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'

File: /Sources/ArcadeList.php
Line: 155

Any solution


Have a search around for the error, here's one result, http://smfarcade.info/forum/index.php?topic=7649.msg51599#msg51599

Hello lurkalot, i did look around for solution but i do not know how and what to edit in phpmyadmin?
can anyone help me out?
Title: Re: SMF Arcade
Post by: NanoSector on October 13, 2012, 05:59:17 AM
Try reading this, as mentioned in the linked topic:
http://www.smfarcade.info/forum/index.php?topic=4969.0
Title: Re: SMF Arcade
Post by: hiboy on October 13, 2012, 06:33:20 AM
Quote from: Yoshi2889 on October 13, 2012, 05:59:17 AM
Try reading this, as mentioned in the linked topic:
http://www.smfarcade.info/forum/index.php?topic=4969.0

I went in through PhpMyAdmin and changed everything to utf8_general_ci , the error still occur
Title: Re: SMF Arcade
Post by: PersianDeveloper on October 14, 2012, 02:53:26 AM
Hey there
I have just translated your package and installed it on my SMF2 forum : http://forum.persian.cc
However, non of the flash based games are working. The error message is "enable javascript in order to play games", yet I have already enabled that in firefox.
also tested the games in IE and opera
still the same error...

arcade URL is :
http://forum.persian.cc/index.php?action=arcade
Title: Re: SMF Arcade
Post by: Chalky on October 14, 2012, 04:24:27 AM
Yes I'm getting the same message on your arcade so it is not a browser issue....
Title: Re: SMF Arcade
Post by: PersianDeveloper on October 14, 2012, 05:12:34 AM
Yes, and I just uninstalled the package, and installed the original english one
It works now
but why is that ?
to translate the package I have translated two php files
English  and English.utf...  one
Title: Re: SMF Arcade
Post by: NanoSector on October 14, 2012, 06:47:13 AM
Quote from: hiboy on October 13, 2012, 06:33:20 AM
Quote from: Yoshi2889 on October 13, 2012, 05:59:17 AM
Try reading this, as mentioned in the linked topic:
http://www.smfarcade.info/forum/index.php?topic=4969.0

I went in through PhpMyAdmin and changed everything to utf8_general_ci , the error still occur
Then I have no idea what the problem is, sorry.

@above: I just tested in google Chrome on my HTC phone abs it says flash was not found. Going to try the stock browser in a second.

Edit: stock browser says the same, although I have flash installed...
Title: Re: SMF Arcade
Post by: elliatt on October 21, 2012, 04:53:02 PM
I have updated to smf 2 and when reinstalling my arcade I receive the following error.

Database Error
Duplicate key name 'id_game'
File: /XXXXXXXX/XXXXXXXXX/public_html/XXXXXXXXX/forum/Packages/temp/arcadeinstall/Subs-Install.php
Line: 143

Can anyone provide some guidance on this?
Title: Re: SMF Arcade
Post by: Chen Zhen on October 21, 2012, 08:37:08 PM
Quote from: elliatt on October 21, 2012, 04:53:02 PM
I have updated to smf 2 and when reinstalling my arcade I receive the following error.

Database Error
Duplicate key name 'id_game'
File: /XXXXXXXX/XXXXXXXXX/public_html/XXXXXXXXX/forum/Packages/temp/arcadeinstall/Subs-Install.php
Line: 143

Can anyone provide some guidance on this?

elliatt,

  The installation package for SMF 2 will not work correctly where the SMF 1 version of the arcade was previously installed.  No one (including myself) has made a conversion package/tool to transfer the SMF 1 Arcade db values to the SMF 2 Arcade db values. The only current option is to use the purge tool which omits all of the SMF 1 arcade db data & will let you install the SMF 2 Arcade afterward. With this process all previous Arcade data will be lost but it will let you use the SMF 2 Arcade anew.

The attachment requires membership to the Arcade forum.
Purge tool: http://smfarcade.info/forum/index.php?topic=7646.0
Title: Re: SMF Arcade
Post by: elliatt on October 21, 2012, 08:58:43 PM
Thank you for the information!
Title: Re: SMF Arcade
Post by: Frank496 on October 22, 2012, 12:05:16 AM
I think 1 start would getting special VARS during the game would be a very good and easy sollution.(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.rekz.info%2F10dh.jpg&hash=ec1c4c0540dc9d6eeef704eec031e29075b4f22f)(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.rekz.info%2F09ht.jpg&hash=e6a3359b0b475ca09ce22c38199b1679156f88fd)(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.rekz.info%2F09ax.jpg&hash=76ee3e208862386d0298e3c10287a6ad46cea615)(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.rekz.info%2F09jh.jpg&hash=b70b3628e1943bfc7b1bc70288481b64aadef34a)(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.rekz.info%2F09bh.jpg&hash=ea14a869562cdfb38c3c4a233142574201b493c2)
Title: Re: SMF Arcade
Post by: DMR123 on December 03, 2012, 01:04:31 PM
It would be great to get this mod compatible with SMF 2.0.2
Title: Re: SMF Arcade
Post by: Chen Zhen on December 03, 2012, 04:22:49 PM
Quote from: DMR123 on December 03, 2012, 01:04:31 PM
It would be great to get this mod compatible with SMF 2.0.2

SMF Arcade v2.5 RC2 (http://smfarcade.info/forum/index.php?page=download)
Title: Re: SMF Arcade
Post by: Goodman854 on December 13, 2012, 11:30:57 AM
Quote from: -Underdog- on August 14, 2012, 09:01:35 AM

For those with database error issues (I've read a few) during installation or otherwise:

There is an Arcade DB purge tool I made a while back which will remove any E-Arcade or SMF Arcade DB tables/entries.
Follow directions from this page: ref. http://smfarcade.info/forum/index.php?topic=7646.0

This will of course delete any previous arcade data but should allow you to install the arcade without issue.
Otherwise there is also a hack version released that uses a different db install routine as an option.





There is a download link now on the main site for a more recent release of the SMF Arcade RC2.
I can verify that the installer was adjusted for SMF 2.0.2 but I do not know why Niko did not update it here.


<install for="2.0, 2.0.1, 2.0.2">


I hope this will resolve some peoples issues.
The arcade website requires admin approval to join, and it looks like that site is barely even managed I don't think I'll be able to get that tool. Any chance you could host it some where else?


EDIT:

I get "Please wait while checking session..." all the time. I changed the submit system to arcade 2.0 or something and now it says I don't have flash.
Title: Re: SMF Arcade
Post by: Chen Zhen on December 14, 2012, 12:21:25 AM
Quote from: goodman854 on December 13, 2012, 11:30:57 AM
The arcade website requires admin approval to join, and it looks like that site is barely even managed I don't think I'll be able to get that tool. Any chance you could host it some where else?


EDIT:

I get "Please wait while checking session..." all the time. I changed the submit system to arcade 2.0 or something and now it says I don't have flash.

goodman854,

  I check the arcade site at least every few days to accept new members pending approval. Most delays for registration are due to the user/register not confirming their email by linking back to the forum in a timely manner.  Your user name was just accepted a few minutes ago which will now allow you to view attachments.  The strict setup/policy to check on new users has been put in place to thwart spam. 
  Most games that you install will automatically set the appropriate save type. If the save type for a specific game is not set correctly, an error message will appear in your log informing you of which submit system that specific game should be adjusted to.


Title: Re: SMF Arcade
Post by: Goodman854 on December 14, 2012, 09:17:17 AM
Quote from: -Underdog- on December 14, 2012, 12:21:25 AM
Quote from: goodman854 on December 13, 2012, 11:30:57 AM
The arcade website requires admin approval to join, and it looks like that site is barely even managed I don't think I'll be able to get that tool. Any chance you could host it some where else?


EDIT:

I get "Please wait while checking session..." all the time. I changed the submit system to arcade 2.0 or something and now it says I don't have flash.

goodman854,

  I check the arcade site at least every few days to accept new members pending approval. Most delays for registration are due to the user/register not confirming their email by linking back to the forum in a timely manner.  Your user name was just accepted a few minutes ago which will now allow you to view attachments.  The strict setup/policy to check on new users has been put in place to thwart spam. 
  Most games that you install will automatically set the appropriate save type. If the save type for a specific game is not set correctly, an error message will appear in your log informing you of which submit system that specific game should be adjusted to.




Thank you, however I used the tool then removed it and installed  SMF Arcade 2.5 RC2 went to play Invaders from game pack 14 which i told it to install and it says... Please wait while checking session...

And it never leaves from that. How do I fix this? :(
Title: Re: SMF Arcade
Post by: flamechica on January 12, 2013, 08:32:06 PM
Does anyone know if it would be hard to change the notification for invitation to the Arena matches to a PM instead of an email and how I would go about doing this?
Title: Re: SMF Arcade
Post by: Skaty on January 12, 2013, 11:56:50 PM
any sign for 2.0.3 ? 
Title: Re: SMF Arcade
Post by: Eclipse16V on January 13, 2013, 12:44:49 PM
Works with 2.0.3
Title: Re: SMF Arcade
Post by: crustybum on January 21, 2013, 06:01:22 AM
Where?...can someone point me to the version that works with the latest smf release SMF 2.0.3??
Title: Re: SMF Arcade
Post by: TheListener on January 21, 2013, 06:08:25 PM
To Skaty and Crustybum

Have you looked through the mods posts?

Also have a look at www.smfarcade.info
Title: Re: SMF Arcade
Post by: crustybum on January 22, 2013, 06:07:54 AM
Quote from: Old Fossil on January 21, 2013, 06:08:25 PM
To Skaty and Crustybum

Have you looked through the mods posts?

Also have a look at www.smfarcade.info

Yes, The version in the mods section is not compatible with 2.03, and the link you provided is to a "hack" which i am still waiting for email conformation to....but i do realize its not worked for everyone..
Title: Re: SMF Arcade
Post by: FrizzleFried on January 22, 2013, 11:39:28 AM
I take it you've attempted to emulate the last version it's reporting compatible with,  right?

If not,  you might want to give that a try.  It's been a while since I installed it but it installed in to 2.0.2 with out much issue... and when I upgraded to 2.0.3 I had no issues...

Title: Re: SMF Arcade
Post by: Chen Zhen on January 23, 2013, 10:44:00 PM

For the latest version of the arcade please use the download page/links from SMF Arcade.

ref. http://smfarcade.info/forum/index.php?page=download

The main package should install on SMF 2.0.3.. the installer for it should work for any future updates of SMF 2.0x without using emulation (range of possible versions in xml install).
Title: Re: SMF Arcade
Post by: crustybum on January 24, 2013, 05:29:31 AM
Quote from: FrizzleFried on January 22, 2013, 11:39:28 AM
I take it you've attempted to emulate the last version it's reporting compatible with,  right?

If not,  you might want to give that a try.  It's been a while since I installed it but it installed in to 2.0.2 with out much issue... and when I upgraded to 2.0.3 I had no issues...

Still waiting for conformation...


Title: Re: SMF Arcade
Post by: crustybum on January 24, 2013, 05:47:40 AM
Where do i "emulate" ::)
Title: Re: SMF Arcade
Post by: FrizzleFried on January 24, 2013, 10:25:17 AM
Quote from: crustybum on January 24, 2013, 05:47:40 AM
Where do i "emulate" ::)

Click the button at the bottom right of the Package Manager screen titled "ADVANCED".

Which brings me to two questions actually.

(1) Why in the heck did the folks in charge require us to jump through these hoops... why the version limitation anyway (I can see maybe a version check between 1 and 2)...
(2) WHY in the heck didn't the folks in charge label that button "ADVANCED/EMULATION" or something to that effect.

I'd bet the #1 problem related to mods that people inquire about here has the same answer... "emulate"...  right?

Title: Re: SMF Arcade
Post by: Arantor on January 24, 2013, 11:19:20 AM
Quote(1) Why in the heck did the folks in charge require us to jump through these hoops... why the version limitation anyway (I can see maybe a version check between 1 and 2)...

Because the way the package manager works, it relies on doing find/replace, which can change between versions. Sometimes something from 1.1.8 won't work on 1.1.9 so for a mod to work on both, it has to specify instructions separately for 1.1.8 and 1.1.9 - or conversely specifying instructions for 1.1.x as well as instructions for 2.0. This version check is precisely how it knows what to do.

Quote(2) WHY in the heck didn't the folks in charge label that button "ADVANCED/EMULATION" or something to that effect.

Be grateful you even got a UI :P 1.1.x forced you to manually enter a change to the URL until I wrote a mod to make it slightly easier (though that confuses people too)

Actually I'd suggest leaving it at Advanced, because people who don't understand what it does shouldn't really be using it, and I've never liked the way it's touted as a general fix to everything, as opposed to mod authors cleaning up mods.
Title: Re: SMF Arcade
Post by: crustybum on January 24, 2013, 11:47:21 AM
Started to get excited...seemed to install (emulated it to 2.02) then at the end got this.
Incorrect table definition; there can be only one auto column and it must be defined as a key
File: /home/content/b/r/u//html/forum/Packages/temp/arcadeinstall/Subs-Install.php
Line: 120

Anyone?
Title: Re: SMF Arcade
Post by: Chen Zhen on January 24, 2013, 11:13:17 PM
My apologies as I was previously in error. I had put in a pull request for the package.info file to be configured to install for future SMF version updates & it was applied to what I thought was the RC2 version but it was for 2.6 Alpha?!
ref. https://github.com/SMF-Arcade/SMF-Arcade/blob/master/package-info.xml

The package.info file for version RC2 has now been updated & is available on the download page that I previously linked.

Quote from: crustybum on January 24, 2013, 11:47:21 AM
Started to get excited...seemed to install (emulated it to 2.02) then at the end got this.
Incorrect table definition; there can be only one auto column and it must be defined as a key
File: /home/content/b/r/u//html/forum/Packages/temp/arcadeinstall/Subs-Install.php
Line: 120

Anyone?

Imo use the purge tool from here: http://smfarcade.info/forum/index.php?topic=7646.0
It does not matter if you had any previous arcade version installed. The tool simply ensures all db data for any arcade tables (SMF Arcade or E-Arcade) are deleted. Afterward you should be able to install the arcade without issue.
Title: Re: SMF Arcade
Post by: crustybum on January 25, 2013, 07:01:13 AM
cheers...if i install this purge tool....whats the worst it could do to my forum? ::)
Title: Re: SMF Arcade
Post by: crustybum on January 25, 2013, 11:15:42 AM
Took the plunge and all working!! Cheers Underdog and all that helped ;)
Title: Re: SMF Arcade
Post by: TheRealityBuzz on January 31, 2013, 04:48:40 PM
I believe my site is using an outdated Arcade. I'm looking into updating it, but will be loose our games if we do?  My members will eat me alive if we loose our games lol, and considering how many we have I don't want to have re put them all up.

Another question, our categories seem to disapear. They always come back but sometimes one is gone. Is it because its an outdated arcade or is it because we have too many categories?
Title: Re: SMF Arcade
Post by: humbleworld on February 01, 2013, 12:58:52 PM
I attempted to install the MOD but it says the file is either corrupt or not compatible with current SMF version. I'm using 2.0.3. How to fix this? Thank you.
Title: Re: SMF Arcade
Post by: lurkalot on February 01, 2013, 02:01:11 PM
Quote from: humbleworld on February 01, 2013, 12:58:52 PM
I attempted to install the MOD but it says the file is either corrupt or not compatible with current SMF version. I'm using 2.0.3. How to fix this? Thank you.

Quote from: -Underdog- on January 23, 2013, 10:44:00 PM

For the latest version of the arcade please use the download page/links from SMF Arcade.

ref. http://smfarcade.info/forum/index.php?page=download

The main package should install on SMF 2.0.3.. the installer for it should work for any future updates of SMF 2.0x without using emulation (range of possible versions in xml install).


Title: Re: SMF Arcade
Post by: TheRealityBuzz on February 01, 2013, 03:45:10 PM
Quote from: lurkalot on February 01, 2013, 02:01:11 PM
Quote from: humbleworld on February 01, 2013, 12:58:52 PM
I attempted to install the MOD but it says the file is either corrupt or not compatible with current SMF version. I'm using 2.0.3. How to fix this? Thank you.

Quote from: -Underdog- on January 23, 2013, 10:44:00 PM

For the latest version of the arcade please use the download page/links from SMF Arcade.

ref. http://smfarcade.info/forum/index.php?page=download

The main package should install on SMF 2.0.3.. the installer for it should work for any future updates of SMF 2.0x without using emulation (range of possible versions in xml install).


I'm  getting that message as  well, and I was downloading from the link you provided.
Title: Re: SMF Arcade
Post by: humbleworld on February 03, 2013, 01:12:22 PM
lurkalot, i downloaded the MOD from that link. But the MOD does not install on SMF 2.0.3.
Title: Re: SMF Arcade
Post by: bud01100 on February 06, 2013, 09:46:47 PM
Underdog... Whats up with your site?

http://smfarcade.info/forum/

QuoteStrict Standards: require() [function.require]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/smfarcad/public_html/forum/cache/data_cbcebd23e1834d48d4a6e68df7023817-SMF-modSettings.php on line 1

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/smfarcad/public_html/forum/cache/data_cbcebd23e1834d48d4a6e68df7023817-SMF-modSettings.php on line 1

Strict Standards: require() [function.require]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/smfarcad/public_html/forum/cache/data_cbcebd23e1834d48d4a6e68df7023817-SMF-modSettings.php on line 1

Parse error: syntax error, unexpected ':' in /home/smfarcad/public_html/forum/cache/data_cbcebd23e1834d48d4a6e68df7023817-SMF-modSettings.php on line 1
Title: Re: SMF Arcade
Post by: Itch™ on February 16, 2013, 07:27:38 AM
For anyone's info: just installed 2.5 RC2 on SMF 2.04 along with a bunch of other mods and it works like a charm! Try it!

http://gatherforums.606h.net (http://gatherforums.606h.net)

Test account:
username: testuser
password: testing
Title: Re: SMF Arcade
Post by: flamechica on March 04, 2013, 04:00:54 AM
How do I get a hold of the people over at the SMF Arcade Website? I was trying to register for an account to their website so I could download the Mochi Media Hack & I got an error message when I submitted my request. SO, I went back & redid it & then I got a message saying I am banned & now I can't see anything on their website!!! There is no way to contact them that I can see. Anyone know how? I'd be very grateful. Thanks!
Title: Re: SMF Arcade
Post by: Itch™ on March 13, 2013, 11:05:27 AM
Same here, no clue what happened.
Title: Re: SMF Arcade
Post by: lurkalot on March 13, 2013, 01:43:22 PM
Quote from: flamechica on March 04, 2013, 04:00:54 AM
How do I get a hold of the people over at the SMF Arcade Website? I was trying to register for an account to their website so I could download the Mochi Media Hack & I got an error message when I submitted my request. SO, I went back & redid it & then I got a message saying I am banned & now I can't see anything on their website!!! There is no way to contact them that I can see. Anyone know how? I'd be very grateful. Thanks!

Haven't a clue what's happening over there, I get told nothing.  But there's 67 pages of banned members for March 2013 so far, I suspect the anti spam has thrown a wobbly. 

PM me your username over there, and I'll see if I can approve it.
Title: Re: SMF Arcade
Post by: elf_fu on August 14, 2013, 09:00:08 AM
Good morning!

I realize that there has not been a post here since March, but I am wondering if someone here can help me.

I am getting hundreds of error reports a day after installing this mod (the new version offered from the official site) on my 2.0.4 forum. The install itself went without a hitch, but the sheer amount of errors that happen are enough to slow my site down if I don't clear the logs daily. We have less than 40 people on the site and I don't think this is normal, LOL.

The hundreds or errors I am getting are:

8: Undefined index: is_shareable
/home/xxxxxxxx/xxxxxxx/Sources/Load.php
Line: 1439

Does anyone know how I may fix this? Without having to disable error reporting? Thank you!
Title: Re: SMF Arcade
Post by: snadge on August 16, 2013, 06:58:51 PM
tried to post on forum and theres a terrible security question  "what is the name of our star or sun" ...lol... as far as im aware it doesnt have a name and if it does its not common knowledge! - i tried "sun" , "the sun" , "thesun" and kept saying its incorrect-  if your going to make security questions you should make them simple enough for joe bloggs to understand

Hi all

Iam using SMF 2.0.5 and I cant get the arcade mod too install, I have emulated the 2.0 RC5 version number but the test fails with some code in the ManageSettings.php file, when i insert the code Dreamweaver says "syntax error" so is unlikely to work so I didnt bother uploading the modded file


it says:

FIND:
   );


   // Are we getting info for the help section.







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


but heres whats at the bit it cant find:

// 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.
Title: Re: SMF Arcade
Post by: Chalky on August 16, 2013, 08:42:02 PM
Try "Sol" for an answer  ;)

After backing up the file of course, I'd try:

// Anyone who would like to add a core feature?
call_integration_hook('integrate_core_features', array(&$core_features)
      // arcade = arcade (makes sense, right?)
      'arcade' => array(
         'url' => 'action=admin;area=arcade',
         'settings' => array(
            'arcadeEnabled' => 1,
         ),
      ),
);

// Are we getting info for the help section.
Title: Re: SMF Arcade
Post by: Chen Zhen on August 16, 2013, 10:36:24 PM

snadge,

  I figured most people knew the answer to that question. Also I did not know the question for registration was enabled as the site has other anti-spam measures and I thought I disabled it.

  Anyhow, please use the version from this link:  http://smfarcade.info/forum/index.php?page=download
It should install on SMF 2.0.5 without issue. IBP2 games require the PDL hack which is located on the forum or from my site.
Title: Re: SMF Arcade
Post by: snadge on August 18, 2013, 05:58:26 PM
thanks - it installed fine but SMF reports its an older version?

can you explain what IBP2 games are?


thanks
Title: Re: SMF Arcade
Post by: Sandmansa on August 18, 2013, 06:21:44 PM
I tried installing the RC2 version of the arcade on my smf 2.0.5 forums and something must have gone way wrong.  It turned my test forum into a worthless and unusable arcade that had no games and couldn't add any either.  Only an empty arcade and a forum with no way to moderate or modify it.  All other menu selections were removed.

After double checking the manual install options, I found that the intaller only edited about 2/3rd of the forum files it needed to.  Yet the installer never detected that anything was wrong or showed any of the files it had missed in the test.  I believe the installer needs to be fixed before someone else makes the mistake and tries to install it on a very active forum.
Title: Re: SMF Arcade
Post by: snadge on August 18, 2013, 06:24:21 PM
...actually - its installed and now i can not uninstall it? ive started having issues since installing it but I dont think its related - think its to do with Tapatalk as pages keep saying "waiting on request" - used to say "waiting on tapatalk" (this is on chrome) if i do it on firefox it says waiting on tapatalk so ive disabled that mod

anyway there is no uninstall link on this arcade and it says its an old version? even when emulating SMF 2.0 RC5 it does not show an uninstall option?

i need to know if this can be removed otherwise i need to run a restore from softaculous (and lose posts :( )


edit just read above post - seems ive screwed my forum then?
edit: yup it has , im still getting that 'sending request' thing since installing it - luckily i backed up but posts have been made since and will be lost
Title: Re: SMF Arcade
Post by: TheListener on August 18, 2013, 06:28:13 PM
@Snadge Have you tried emulating any other forum versions?
Title: Re: SMF Arcade
Post by: snadge on August 18, 2013, 06:34:44 PM
he said i didnt have to and i didnt to install it so shouldnt to uninstall it and read the previous posters comments...its made a meal of my forum and ive had to restore
Title: Re: SMF Arcade
Post by: Sandmansa on August 18, 2013, 06:42:43 PM
I didn't emulate it either but it made a cluster puss of my test forum as well.  Thankfully, I played it a little smarter and installed a fresh forum base to test with.
Title: Re: SMF Arcade
Post by: snadge on August 18, 2013, 06:50:30 PM
my forum worked fine ..or so it appeared, but i hadnt got round to testing the arcade yet - ive restored and uninstalled Tapatalk and those messages have disappeared (so far) - they seem to be having issues as the chrome extension doesnt work either

what exactly did it do to your test forum?

luckily I backup before every mod install - but sometimes it might be hours or days before you realise theres an issue, ive restored mine
Title: Re: SMF Arcade
Post by: Sandmansa on August 18, 2013, 07:06:33 PM
For my test forum, it installed using the normal means.  Emulating was not needed to see the install option.  After it installed, my menu options changed.  There was only arcade and forum links.  Admin, moderate, profile and any other menu links were gone.  All I would be able to do would be change some arcade settings or read the forum.

I did try to manually remove it only to find that even admin no longer had the ability to login to do anything, other then just read.  So with no backup, I had no choice but to delete everything and start over.
Title: Re: SMF Arcade
Post by: snadge on August 18, 2013, 07:28:09 PM
hmmm well my forum (which is heavily modded with over 14,000 posts) worked fine after install... i didnt get around to testing it as i was doing other things and when i read your post i went to uninstall it and there was no option to uninstall, so i emulated SMF 2.0 RC5 (what you emulate to get the other version installed) and that didnt work either - so to be safe i restored my forum.... i always back up before mod install, I have softaculous on daily backups too
Title: Re: SMF Arcade
Post by: Chalky on August 18, 2013, 08:18:00 PM
I've just checked and SMF Arcade 2.5 RC2 is the same package I installed on my forum 18 months ago and have installed on a second forum since, now both running SMF 2.0.5.  It works perfectly well so I don't know what could have happened to make your buttons disappear Sandmansa.  Are you quite sure you installed the version linked by -Underdog- above?  I've just successfully installed a fresh download of that version and uninstalled it without issue.  Smooth as a baby's bottom  :)

snadge, yep, Tapatalk has been making my forum run slow all evening "connecting to activate.tapatalk.com", it did it a couple of weeks ago as well but only lasted overnight.  It is not related to the arcade mod  ;)
Title: Re: SMF Arcade
Post by: snadge on August 18, 2013, 08:22:04 PM
does your arcade have uninstall option though?
Title: Re: SMF Arcade
Post by: Chalky on August 18, 2013, 08:26:21 PM
[uninstall] appears next to the arcade mod in my package manager, yes.  In fact on my heavily modded live site (75 mods installed) the install shows all tests successful, so it would be nice and clean.  I've proceeded with the uninstall on my test site.  Clean, no problems whatsoever.
Title: Re: SMF Arcade
Post by: TheListener on August 18, 2013, 08:29:16 PM
I've just checked and SMF Arcade 2.5 RC2 is the same package I have. (41 games too)

Also showing Uninstall.

Quote from: ChalkCat on August 18, 2013, 08:26:21 PM
[uninstall] appears next to the arcade mod in my package manager, yes.  In fact on my heavily modded live site (75 mods installed) the install shows all tests successful, so it would be nice and clean.  I've proceeded with the uninstall on my test site.  Clean, no problems whatsoever.

Try 80 mods Chalky.  :P
Title: Re: SMF Arcade
Post by: Arantor on August 18, 2013, 08:32:12 PM
-sigh- It's not the number of mods, it's the level of change applied. On the one site I have, I can guarantee that almost nothing will install any more, or uninstall because of the crazy number of changes that have been made. Whereas on other sites I have which have dozens of mods, most things install absolutely clean.

100 mods of little change versus 3 mods of enormous change and I know which I'd rather back.

If the uninstall button appears, it just means that the current emulation level is set to something the mod has listed, nothing more.
Title: Re: SMF Arcade
Post by: Chalky on August 18, 2013, 08:33:31 PM
It isn't a competition GOS  :P  40 games + 4 Halloween games + 8 Christmas games that I'm saving for the season  ;)

snadge, can you confirm which version of the arcade you actually installed?  It is this one (http://smfarcade.info/forum/index.php?page=download) you should be using.  It doesn't need emulating.
Title: Re: SMF Arcade
Post by: TheListener on August 18, 2013, 08:37:29 PM
Quote from: Arantor on August 18, 2013, 08:32:12 PM
It's not the number of mods

As if I didn't know that already.

::)
Quote from: ChalkCat on August 18, 2013, 08:33:31 PM
It isn't a competition GOS  :P 

Oh gods she's nagging again.

???
Title: Re: SMF Arcade
Post by: Arantor on August 18, 2013, 08:41:30 PM
Well, apparently you didn't, since you're going on about how many mods you have as if it's relevant... a single mod can screw up plenty of others, especially if it's a big complex mod.
Title: Re: SMF Arcade
Post by: TheListener on August 18, 2013, 08:46:07 PM
Quote from: Arantor on August 18, 2013, 08:41:30 PM
Well, apparently you didn't, since you're going on about how many mods you have as if it's relevant... a single mod can screw up plenty of others, especially if it's a big complex mod.

Actually I was responding to Chalky not that it's any of your business.
Title: Re: SMF Arcade
Post by: snadge on August 18, 2013, 08:46:46 PM
this is turning into a heated discussion about mods in general now :)

i think SMF should be working on a new forum version that has mod integration that DOESNT require changing source code, it should be a file thats called on in its own entity from SMF files - bit like browser extensions, they dont edit the browser code so you can add/remove as many as you like, if they dont get on then tough, remove one....but at least your forum code wont be broken!

yeah I installed that one...forum worked fine...but after reading what happened to the other poster i decided to remove it and when i went too it had no uninstall link? so i emulated RC5 and still the same...this had me concerned i would be stuck with it in my forum code and from what the other poster said it worried me even more...so i restored from backup
Title: Re: SMF Arcade
Post by: Arantor on August 18, 2013, 08:49:03 PM
First of all, SMF has had abilities to handle adding mods without editing files for some time now, it's just that no-one ever seems to use it. SMF 2.1 does it better but it's not perfect. (Some of us have modified versions of SMF where the *only* option is to do it that way, but apparently the team doesn't like that idea because it's 'less flexible')

Note that this mod hasn't really been touched in a while which is largely the reason that's an issue.
Title: Re: SMF Arcade
Post by: Sandmansa on August 18, 2013, 09:38:05 PM
Quote from: ChalkCat on August 18, 2013, 08:18:00 PM
I've just checked and SMF Arcade 2.5 RC2 is the same package I installed on my forum 18 months ago and have installed on a second forum since, now both running SMF 2.0.5.  It works perfectly well so I don't know what could have happened to make your buttons disappear Sandmansa.  Are you quite sure you installed the version linked by -Underdog- above?  I've just successfully installed a fresh download of that version and uninstalled it without issue.  Smooth as a baby's bottom  :)

This is the one that I downloaded maybe a couple of weeks ago but I will get a fresh copy and try again.

By the way, my server in running the minimum resources required to run smf 2.0. ie: MySQL 4.0.18 and php 4.4.4.  Would that have any impact on this mod?
Title: Re: SMF Arcade
Post by: Arantor on August 18, 2013, 09:44:27 PM
It shouldn't but you *REALLY* should upgrade.

4.0.18 is some years old, it is 12 patches behind the last release of 4.0.x, which was over 6 years ago. It also misses out all the fixes in 4.1.x, 5.0.x, and 5.1.x.

As for PHP, 4.4.4 is not even the last version of PHP 4.4, which was 4.4.9, all of which are security fixes. PHP stopped providing support to the 4.4.x line in 2007 and there are known security holes in it which will not be fixed.

You should upgrade to a current version of both at your earliest opportunity.
Title: Re: SMF Arcade
Post by: Sandmansa on August 18, 2013, 09:59:29 PM
Yeah, I get told that a lot.  The fact of the matter is, this is a server I run from home and it took me quite some time to figure out how to install and setup mysql server a long time ago.  And it's something I am not looking forward to doing again if I don't have to.  I have mysql 4.1.2 installed but I couldn't get it to work right.  Im so not sql savy.  lol
Title: Re: SMF Arcade
Post by: Arantor on August 18, 2013, 10:01:06 PM
Sorry, but that's just irresponsible. Leaving your system running a web facing server with 7 YEARS of known vulnerabilities, it's amazing you haven't been hacked yet. In fact I'd probably even go as far as to suggest that you have been hacked at some point and don't even know about it.
Title: Re: SMF Arcade
Post by: Chen Zhen on August 18, 2013, 10:14:42 PM
Snadge,

  Currently SMF has that ability which are called hooks but there are some cases where manual edits are still needed.  Also you first installed the older version with parsing errors and Imo most likely uninstalled it whilst ignoring more parsing errors. I advise you not to commence with an install if you do not have the ability to manually parse files in the areas that show a place marker error (place marker means the code it is looking for to place an edit) . Place marker errors are caused by other mods making edits to files in the same areas and that changed the code. As ChalkCat stated there is indeed an uninstall link as the package-info file is coded correctly. The version I linked will install/uninstall for any SMF2.0.X version and is tested by me for all new SMF releases.




Sandmansa,

  The version I linked works perfectly fine without error.  I advise the next time you have serious issues with your forum as you describe to learn to use the Large Upgrade Package (http://download.simplemachines.org/index.php?thanks;filename=smf_2-0-5_upgrade.zip) to restore your forum to default after which you can install your mods and smiley packs anew. It does not wipe your database, avatars or attachments. Wiping all your files as you describe was unnecessary.
Instructions are here: http://wiki.simplemachines.org/smf/Upgrading




ChalkCat,

  Merci for the confirmation regarding the Arcade package.




  Regarding TapTalk:
  Grumpy Old Sod used that mod where I had to fix his forum some months ago mostly because of it. Although many of its edits find their place markers and do not show parsing errors, some are incorrect coding whilst showing a ton of errors in the general log after the mod's installation. This is assuming the developer of that mod has not updated it since I last looked. What I'm saying is anyone using that mod must have seen errors being flagged in their log and ignored them. 




Quote from: Arantor on August 18, 2013, 08:49:03 PM
Note that this mod hasn't really been touched in a while which is largely the reason that's an issue.

  This mod does use some hooks although I'm not positive on whether or not is uses all ones possible prior to parsing. I would have to go through all the manual edits and cross reference them with the library/list of hooks to see if it is possible to omit some/all of the manual edits and then post those changes on Niko's GitHub Arcade repository. It might be pointless though as I'm not sure if he's willing to update this mod anymore (I'm willing to support it as it is but I do not have the right to post an updated version on his site).
Title: Re: SMF Arcade
Post by: Sandmansa on August 18, 2013, 10:23:55 PM
I'm not irresponsible.  I just don't know enough about mysql server to be able to upgrade it.  I've tried many times.

Besides, I only had it installed for a Half-Life game server stats plugin until just recently when I found out what I had installed was still good enough to try running a smf 2.0 test server.
Title: Re: SMF Arcade
Post by: Chen Zhen on August 18, 2013, 10:25:17 PM
Sandmansa,

  You definitely need to upgrade your MYSQL and PHP. The mod will not work properly at all without those being updated. The hooks file alone that manipulates the nav links needs PHP 5 for array_merge if I remember correctly as that function was changed in the updated PHP version. It would mess up your nav bar with PHP4 or prior.
Title: Re: SMF Arcade
Post by: Chen Zhen on August 18, 2013, 11:03:43 PM

Sandmansa,

  Do you use a Unix based OS or Windows? Which one specifically? To update your MYSQL and PHP you need to use your OS terminal (or 3rd party terminal ie. pUTTY) and simply type in the appropriate commands. This is assuming your nameservers and mirror repositories are already configured. To get support for these type of things it would be best to post in the appropriate board (http://www.simplemachines.org/community/index.php?board=86.0) or possibly on the support site of the OS you are using to run your website.
   
Title: Re: SMF Arcade
Post by: Sandmansa on August 19, 2013, 12:12:43 AM
That is what I was wondering.  My server is on windows 7 32bit but my web server resources are just to far behind.  I appreciate the help guys.  Thanks. 
Title: Re: SMF Arcade
Post by: snadge on August 19, 2013, 12:16:04 PM
So Underdog your saying i shouldnt install this mod you linked me too? ive uninstalled the previous version, i think im getting the hang of this PHP editing lol...are the place markers these things?: <? as i noticed some failed uninstall tests where because other mods ended up putting two empty lines between that and code when it should be (or was looking for) just one line as that was the only difference between them

i might re-try it tonight at midnight but will backup and put forum into maintenance mode
Title: Re: SMF Arcade
Post by: Chen Zhen on August 20, 2013, 03:13:56 AM
snadge,

  Install it if you think you can correct any possible parse errors.  Make sure to start from your backup prior to your other installation else use the full upgrade SMF package that I previously spoke of.  The <? you displayed is a PHP short open tag and I already explained what a place marker is (the code the mod is looking for in order to place its edit).
Title: Re: SMF Arcade
Post by: 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

can not find:

elseif (empty($_REQUEST['action']))

to add code before??,
now I can find find     elseif (empty($_REQUEST['action']) (which has a bracket missing off the end) but this appears to be in the middle of code? normally code is inserted before/after the {} markers arent they?

this is the code to put BEFORE that above:

// Check for arcade actions
// IBPArcade v2.x.x Games support
elseif (isset($_REQUEST['act']) && strtolower($_REQUEST['act']) == 'arcade')
{
$_REQUEST['action'] = 'arcade';

if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'newscore')
$_REQUEST['sa'] = 'ibpsubmit2';

require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}
// IBPArcade v3.x.x Games support
elseif (isset($_REQUEST['autocom']) && $_REQUEST['autocom'] == 'arcade')
{
$_REQUEST['action'] = 'arcade';

if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'savescore')
$_REQUEST['sa'] = 'ibpsubmit3';
elseif (isset($_REQUEST['do']) && $_REQUEST['do'] == 'verifyscore')
$_REQUEST['sa'] = 'ibpverify';

require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}
elseif (isset($_REQUEST['play']) && !isset($_REQUEST['game']))
{
$_REQUEST['game'] = $_REQUEST['play'];
unset($_REQUEST['play']);
$_REQUEST['sa'] = 'play';

require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}
elseif (isset($_REQUEST['highscore']) && !isset($_REQUEST['game']))
{
$_REQUEST['game'] = $_REQUEST['highscore'];
unset($_REQUEST['highscore']);
$_REQUEST['sa'] = 'highscore';

require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}
elseif ((isset($_REQUEST['game']) || isset($_REQUEST['match'])) && !isset($_REQUEST['action']))
{
require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}
Title: Re: SMF Arcade
Post by: Chen Zhen on August 22, 2013, 08:27:28 AM
snadge,

  That code goes before that elseif statement and what it is looking for is normally in the main index.php file unless it has been altered by another mod prior to the Arcade's installation.
  Nothing is missing from the arcade installer and the other poster you are referring to had issues due to her php and mysql being out of date version wise.

This..

elseif (empty($_REQUEST['action']))


.. has to have 2 open and 2 close brackets (brackets for the empty & brackets for the whole if statement) else there would be an error. Unless you are purposely not showing me the rest of that line of code where another mod altered it to include more conditional logic prior to a closing bracket. If that being the case, this would mean the Arcade installer can't find that place marker because the code was changed by another previously installed mod prior to its installation which is what I already explained to you.


Title: Re: SMF Arcade
Post by: snadge on August 22, 2013, 08:22:20 PM
i didnt show the rest of the code, just what the installer was looking for...

heres the code in full:

}
elseif (empty($_REQUEST['action']) && empty($_REQUEST['ajax_request']))
{
Title: Re: SMF Arcade
Post by: Chen Zhen on August 22, 2013, 09:10:57 PM
snadge,

  That is why the arcade could not find what it was looking for. Simply place the necessary code directly prior to that elseif statement.
When/if uninstalling the Arcade you will have to remove the same edit you are placing manually because obviously the exact code it will look for will not not be there.
Title: Re: SMF Arcade
Post by: snadge on August 22, 2013, 09:23:37 PM
so it goes prior to the elsif statement and after the }   ..?

thnx
Title: Re: SMF Arcade
Post by: snadge on August 22, 2013, 09:44:30 PM
ok done it, installed but no ARCADE button to get to it, also says:

(and when i tried to add a button with Menu Editor Lite theres no 'arcade' in the list, arcade is enabled in Admin Center

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FWYDWe60.jpg&hash=6948bb8669b440ada3c9dd6b311de00b7689c961)
Title: Re: SMF Arcade
Post by: Sandmansa on August 22, 2013, 09:55:29 PM
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.
Title: Re: SMF Arcade
Post by: Chalky on August 23, 2013, 12:32:43 PM
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
Title: Re: SMF Arcade
Post by: snadge on August 23, 2013, 09:13:16 PM
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?
Title: Re: SMF Arcade
Post by: Chalky on August 23, 2013, 10:17:24 PM
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...
Title: Re: SMF Arcade
Post by: elf_fu on August 27, 2013, 10:11:43 PM
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)
Title: Re: SMF Arcade
Post by: Chen Zhen 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 (http://webdevelop.comli.com/index.php?board=12.0)
Title: Re: SMF Arcade
Post by: elf_fu on August 28, 2013, 12:53:09 AM
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 (http://webdevelop.comli.com/index.php?board=12.0)


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!
Title: Re: SMF Arcade
Post by: Burke ♞ Knight on August 28, 2013, 11:35:41 PM
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?
Title: Re: SMF Arcade
Post by: Arantor on August 28, 2013, 11:36:59 PM
Sounds like it might be added with a hook these days?
Title: Re: SMF Arcade
Post by: Burke ♞ Knight on August 28, 2013, 11:39:00 PM
So, on the new install on other site, install anyway?
Title: Re: SMF Arcade
Post by: Arantor on August 28, 2013, 11:50:38 PM
I dunno, I was just offering a place to look ;)
Title: Re: SMF Arcade
Post by: Sandmansa on August 29, 2013, 12:46:50 AM
Try this man.

http://www.simplemachines.org/community/index.php?topic=29619.msg3594706#msg3594706
Title: Re: SMF Arcade
Post by: topogio on August 29, 2013, 04:18:45 PM
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?
Title: Re: SMF Arcade
Post by: elf_fu on September 13, 2013, 03:48:38 AM
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 (http://webdevelop.comli.com/index.php?board=12.0)


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 :)
Title: Re: SMF Arcade
Post by: KalEl025 on September 26, 2013, 07:31:31 PM
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
Title: Re: SMF Arcade
Post by: vertese on October 08, 2013, 02:31:21 PM
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.
Title: Re: SMF Arcade
Post by: Chalky on October 08, 2013, 08:22:42 PM
Go to Admin > Arcade > General > Settings and make sure the paths are correct.
Title: Re: SMF Arcade
Post by: vertese on October 09, 2013, 11:46:15 AM
Thanks ChalkCat, I checked and both are ok.
so that isnt the cause.
Title: Re: SMF Arcade
Post by: Chalky on October 09, 2013, 12:03:26 PM
How did you upgrade exactly and what did you upgrade from?
Title: Re: SMF Arcade
Post by: vertese on October 10, 2013, 12:42:27 PM
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
Title: Re: SMF Arcade
Post by: Chalky on October 10, 2013, 03:44:46 PM
Ok, that explains your problem better  :)  It's outside my field of knowledge though since I haven't used the arcade conversion tool.  Have you tried installing a new instance of the game?  As in download the game afresh from ibpdownloads or somewhere?  Not saving scores is an issue I have encountered with some, but very few, games that I have installed and unfortunately ended up scrapping them in favour of others.
Title: Re: SMF Arcade
Post by: Chen Zhen on October 10, 2013, 04:06:55 PM

vertese,

  E-Arcade used a different method to determine the save types of games whereas the conversion tool attempts to set those save types depending on files/file types associated with each game.  There may have been some games that did not include the necessary files to determine the appropriate save type and/or other scenarios that may have caused the issue.  Some/many games may require manual save type adjustment which can be determined by viewing the errorlog after attempting to save a score that shows an error.  The error should show the necessary save type setting which can be adjusted by editing the games in question (Advanced Settings -> Submit System).
 
Title: Re: SMF Arcade
Post by: vertese on October 11, 2013, 09:01:33 AM
thank you both
Underdog you have solved the problem, and I can also make some games bigger when they were too small.
I have spent weeks trying to fix these games so your help as allowed me to solve it for the members.
thank you very much - have a great weekend
Title: Re: SMF Arcade
Post by: bud01100 on October 20, 2013, 10:08:16 PM
His site is down..

Whats up?
Title: Re: SMF Arcade
Post by: vertese on October 21, 2013, 10:07:51 AM
Bud was that question for me? because we are fixed now.
Thank you
Title: Re: SMF Arcade
Post by: bud01100 on October 22, 2013, 01:11:59 AM
Quote from: vertese on October 21, 2013, 10:07:51 AM
Bud was that question for me? because we are fixed now.
Thank you
Hi,

No it was a question in general.. However.. http://www.smfarcade.info 

is not up
Title: Re: SMF Arcade
Post by: Rayvon on October 22, 2013, 06:11:35 PM
I'm on a mad search too, can't find an arcade download anywhere. I'm using SMF 2.0.5 as well.
Title: Re: SMF Arcade
Post by: Linchpin on October 23, 2013, 12:38:51 AM
Is there an SMF Arcade version that works with SMF 2.0.5? The site at smfarcade.info has been down for weeks
Title: Re: SMF Arcade
Post by: ThomasA on October 26, 2013, 07:12:25 AM
Is there anywhere to download Arcade Skin since smfarcade.info is down ?
Title: Re: SMF Arcade
Post by: Chalky on October 26, 2013, 07:27:38 AM
I've no idea how "official" or authorised this is but hopefully it will put some of you out of your misery  ;)  http://www.docskillz.com/docs/index.php?board=32.0
Title: Re: SMF Arcade
Post by: ThomasA on October 26, 2013, 08:39:16 AM
Quote from: ChalkCat on October 26, 2013, 07:27:38 AM
I've no idea how "official" or authorised this is but hopefully it will put some of you out of your misery  ;)  http://www.docskillz.com/docs/index.php?board=32.0

Tnx for the fast feedback, but I still can't find Arcade Skin to change from boring default to the fancy layout  :o

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs24.postimg.org%2F81f22m2np%2Flayout2.jpg&hash=8cd2ea8aed4e05f96e7d42e8f8c5840baa733e8d)
Boring layout

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs21.postimg.org%2Fr9hcqj91z%2Flayout.jpg&hash=584367130e60198bc90cf9f3d5c1c3b20ba8b70b)
Fancy layout
Title: Re: SMF Arcade
Post by: Chalky on October 26, 2013, 08:42:39 AM
Look at the second page of the link I gave you.  It's called the Jeza Skin.

Always remember to back up your forum before installing any mods, especially those that aren't included on the SMF mod site.
Title: Re: SMF Arcade
Post by: ThomasA on October 26, 2013, 09:47:50 AM
Hmmm... is it up to me, or all the downloads from that site are all 0 kb... broken archive.
Title: Re: SMF Arcade
Post by: Chalky on October 26, 2013, 10:00:09 AM
You're right, damn!  Sorry, I tried.........
Title: Re: SMF Arcade
Post by: ThomasA on October 26, 2013, 10:16:46 AM
Can someone provide another link please? From their own archive, or from another site.
Title: Re: SMF Arcade
Post by: Chalky on October 26, 2013, 10:31:46 AM
The trouble is, it doesn't have a suitable licence to allow re-distribution.  You can't just get it from someone else.
Title: Re: SMF Arcade
Post by: Chen Zhen on October 26, 2013, 01:53:53 PM
To whom it may concern,

  The Arcade site is down due to hosting changes (different IP's) and I atm I am not able to get hold of Niko to have him contact his domain provider to make the necessary changes.  When I do finally contact him I will ask if he intends to continue with the arcade site else for permission to post his mod on my site and also the permission to make changes for when SMF 2.1 is released as public. All other SMF Arcade related mods and plugins are available on docskills.com and webdevelop.comli.com.

Thank you for your patience and understanding.

Regards.
Title: Re: SMF Arcade
Post by: fwitt on October 27, 2013, 03:33:17 PM
Quote from: Witch's Black Cat on October 26, 2013, 10:31:46 AM
The trouble is, it doesn't have a suitable licence to allow re-distribution.  You can't just get it from someone else.

Niko allowed Skhilled to distribute it from his site, so it is fine to download from docskillz.
was it docskillz where you got the 0kb downloads as I just downloaded from there and got the full download successfully.
If so were you logged in or a guest?

or for those familiar with GitHub you can get the mod from Niko's repository there hxxps://github.com/SMF-Arcade/SMF-Arcade
Title: Re: SMF Arcade
Post by: vertese on October 29, 2013, 06:07:55 AM
Quotevertese,

  E-Arcade used a different method to determine the save types of games whereas the conversion tool attempts to set those save types depending on files/file types associated with each game.  There may have been some games that did not include the necessary files to determine the appropriate save type and/or other scenarios that may have caused the issue.  Some/many games may require manual save type adjustment which can be determined by viewing the errorlog after attempting to save a score that shows an error.  The error should show the necessary save type setting which can be adjusted by editing the games in question (Advanced Settings -> Submit System).
Please could you advice re this game Mahjonggg2JS
It is again a favourite game, but I cannot get it to keep the score.  I looked in the error log and there was only a long list of numbers showing.
any help appreciated.
thanks
Title: Re: SMF Arcade
Post by: mike1984 on November 04, 2013, 09:24:54 AM
Does this mod have an upgrade? I have an old version installed (2.5 RC1.1D) and I'd like to upgrade to the newest version, but I don't want to lose the data I've already got and I'd rather not have to fiddle around uninstalling and reinstalling it.
Title: Re: SMF Arcade
Post by: Biology Forums on November 06, 2013, 01:45:21 PM
Where can I get good, up-to-date, savable arcade games?
Title: Re: SMF Arcade
Post by: lurkalot on November 06, 2013, 02:25:19 PM
Quote from: Liam_michael on November 06, 2013, 01:45:21 PM
Where can I get good, up-to-date, savable arcade games?

Loads on here, http://www.ibpdownloads.com just grab them directly from the arcade
Title: Re: SMF Arcade
Post by: Biology Forums on November 07, 2013, 01:15:22 PM
Quote from: lurkalot on November 06, 2013, 02:25:19 PM
Quote from: Liam_michael on November 06, 2013, 01:45:21 PM
Where can I get good, up-to-date, savable arcade games?

Loads on here, http://www.ibpdownloads.com just grab them directly from the arcade

Thanks
Title: Re: SMF Arcade
Post by: bud01100 on November 19, 2013, 01:50:44 AM
So what happened to the SMF Arcade site?
Title: Re: SMF Arcade
Post by: lurkalot on November 19, 2013, 02:08:20 AM
Quote from: bud01100 on November 19, 2013, 01:50:44 AM
So what happened to the SMF Arcade site?


Quote from: -Underdog- on October 26, 2013, 01:53:53 PM
To whom it may concern,

  The Arcade site is down due to hosting changes (different IP's) and I atm I am not able to get hold of Niko to have him contact his domain provider to make the necessary changes.  When I do finally contact him I will ask if he intends to continue with the arcade site else for permission to post his mod on my site and also the permission to make changes for when SMF 2.1 is released as public. All other SMF Arcade related mods and plugins are available on docskills.com and webdevelop.comli.com.

Thank you for your patience and understanding.

Regards.
Title: Re: SMF Arcade
Post by: ThomasA on November 28, 2013, 08:03:22 AM
Is it possible to have some king of agreement on accessing certain category, for instance "Adult" category. If someone wants to access it, he/she needs to confirm he/she is older then 18. I know about membergroup-per-request trick, but I was just thinking if this would be possible ?
Title: Re: SMF Arcade
Post by: stuart71 on November 28, 2013, 04:42:55 PM
May sound silly

How do you install the games ?
I have tried putting the zip file Also the unzipped files in the folder in my web file manager & still no games showing  :-X
Title: Re: SMF Arcade
Post by: stuart71 on November 28, 2013, 05:32:49 PM
Found out how to install but I cant  :(

It says " /Games is not writable and chmod didn't succeed. Please make it writable manually. "

But I have made it writable & it wont let me upload any games to install !
Title: Re: SMF Arcade
Post by: kat on November 29, 2013, 08:28:13 AM
Do you have full CHOWN ownership of the files on your site? (Check with your host)
Title: Re: SMF Arcade
Post by: Chen Zhen on November 29, 2013, 03:52:54 PM
stuart71,

  Was this an IBP v3.2 save type game that you attempted to install prior to the error? If so, use your FTP client to manually delete the last game you attempted to install (its game folder). Download & install the pdl/skin combo plug-in from my site and then attempt to install those games again.  The plugin accepts .rar (& .zip) files for games and and should fix the file transfer issue you are having as it uses its own sub-routine for that function. If that fails then attempt to chown and chmod the necessary directories as instructed by K@ however this is a known issue that the plug-in should fix.

Download: PDL/Skin Combo Plug-In (http://webdevelop.comli.com/index.php?topic=6.0)

Note: You will need to delete the specific game's folder giving the initial error else the error will keep showing when attempting to install games.
Title: Re: SMF Arcade
Post by: kat on November 29, 2013, 03:54:35 PM
OO! Ta, for that, matey! :)
Title: Re: SMF Arcade
Post by: stuart71 on November 30, 2013, 01:15:03 PM
I had a lot of issues with several plugins
As my site is new & no members yet I deleted the whole lot

Started again & all working good

Just need to find some game packs    :) :)
Title: Re: SMF Arcade
Post by: stuart71 on December 04, 2013, 03:01:49 PM
I have about 80 odd games

Where could i get more  (free if Possible)
Title: Re: SMF Arcade
Post by: kat on December 04, 2013, 03:15:55 PM
http://www.docskillz.com/docs/index.php?action=tpmod;dl=cat4

http://invisiongames.org/forum/index.php?dlcategory=16

http://www.metacrawler.com/index.html/search/web?fcoid=417&fcop=topnav&fpid=27&q=smf+arcade+games&ql=
Title: Re: SMF Arcade
Post by: stuart71 on December 04, 2013, 03:59:34 PM
Thank you K@
Title: Re: SMF Arcade
Post by: kat on December 04, 2013, 04:04:41 PM
No sweat! :)

You can use almost any Flash games, really. But, of course, if they're not designed for the arcade, they won't save hi-scores and stuff.
Title: Re: SMF Arcade
Post by: stuart71 on December 05, 2013, 01:14:02 PM
Hello (again)

Is there a mod to get the arcade to look like http://invisiongames.org/forum/index.php?autocom=arcade (http://invisiongames.org/forum/index.php?autocom=arcade)

I do like the layout
Title: Re: SMF Arcade
Post by: kat on December 05, 2013, 02:38:09 PM
I would say not. Unless you move to Invision, of course. ;)
Title: Re: SMF Arcade
Post by: stuart71 on December 05, 2013, 03:38:29 PM
Ok

Thanks for the reply
Title: Re: SMF Arcade
Post by: Chalky on December 05, 2013, 03:42:37 PM
That's similar to the Jeza Skin that i use on ChalkCat. You should be able to download it from the same place you downloaded the arcade mod  ;)
Title: Re: SMF Arcade
Post by: kat on December 05, 2013, 04:10:49 PM
OO! Well spotted, your royal Chalkiness! :)
Title: Re: SMF Arcade
Post by: lurkalot on December 05, 2013, 05:14:50 PM
Quote from: stuart71 on December 05, 2013, 01:14:02 PM
Hello (again)

Is there a mod to get the arcade to look like http://invisiongames.org/forum/index.php?autocom=arcade (http://invisiongames.org/forum/index.php?autocom=arcade)

I do like the layout

You mean like on my site ? http://cameracraniums.com/forum/index.php?action=arcade

If you're running SMF Arcade v2.5 RC2 then you need the PDL/Skin Combo plugin (http://webdevelop.comli.com/index.php?topic=6.0)  This includes the Jeza skin. ;)
Title: Re: SMF Arcade
Post by: stuart71 on December 05, 2013, 05:42:43 PM
Lurkalot  il like the way it is on your site

Would that PDL/Skin combo plugin work on SMF 2.0.6
Im using  Arcade v2.5 RC1
Title: Re: SMF Arcade
Post by: lurkalot on December 05, 2013, 05:52:27 PM
Quote from: stuart71 on December 05, 2013, 05:42:43 PM
Lurkalot  il like the way it is on your site

Would that PDL/Skin combo plugin work on SMF 2.0.6
Im using  Arcade v2.5 RC1

It'll work fine with SMF 2.0.6 But not with Arcade v2.5 RC1, as far as I'm aware it's for Arcade v2.5 RC2  Hopefully Underdog will come along and confirm this. ;)
Title: Re: SMF Arcade
Post by: stuart71 on December 05, 2013, 06:13:51 PM
I just uninstalled my Arcade v2.5 RC1
Installed Arcade v2.5 RC2

Installed  the PDL/Skin mod

In my admin im getting the PDL settings but nothing about the Layout format
Title: Re: SMF Arcade
Post by: lurkalot on December 05, 2013, 06:25:27 PM
Quote from: stuart71 on December 05, 2013, 06:13:51 PM
I just uninstalled my Arcade v2.5 RC1
Installed Arcade v2.5 RC2

Installed  the PDL/Skin mod

In my admin im getting the PDL settings but nothing about the Layout format

Admin > Arcade > Settings.  Set Arcade Skin
Title: Re: SMF Arcade
Post by: stuart71 on December 05, 2013, 06:40:54 PM
Found it

Thank you for your help  ;)
Title: Re: SMF Arcade
Post by: KalEl025 on December 06, 2013, 04:39:24 PM
Quote from: mjohnson025 on September 26, 2013, 07:31:31 PM
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

Still looking for a response to this please.
Title: Re: SMF Arcade
Post by: lurkalot on December 06, 2013, 05:10:16 PM
Quote from: mjohnson025 on December 06, 2013, 04:39:24 PM
Quote from: mjohnson025 on September 26, 2013, 07:31:31 PM
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

Still looking for a response to this please.

What version of SMF are you using?  If it's SMF 2.0.6 then you can use SMF Arcade v2.5 RC2 without problem, you just need to emulate SMF to 2.0.2 to install it. http://www.docskillz.com/docs/index.php?topic=323.0 

And http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version
Title: Re: SMF Arcade
Post by: GleamPlay.com on December 07, 2013, 09:00:02 AM
I am trying to install Arcade mod
http://custom.simplemachines.org/mods/index.php?mod=36
I emulated to SMF 2.0 RC5 and try to install it

But it said Error in Package Installation
and the error is on ./Sources/ManageSettings.php

Code: (Find) [Select]
Quote
   );

   // Are we getting info for the help section.
Code: (Add Before) [Select]
Quote
      // arcade = arcade (makes sense, right?)
      'arcade' => array(
         'url' => 'action=admin;area=arcade',
         'settings' => array(
            'arcadeEnabled' => 1,
         ),
      ),

I tried to ignore the error and install it and later on my search in admin panel has problems.
(I know I shouldn't)
And then I backup it and restored the forum, luckily.

I know many people can install Arcade mod successfully, is it only me that cannot install it or the mod is out-dated?
Title: Re: SMF Arcade
Post by: Chalky on December 07, 2013, 09:41:06 AM
So, didn't you make the required edit?  http://wiki.simplemachines.org/smf/Error_in_mod_installation
Title: Re: SMF Arcade
Post by: Chen Zhen on December 07, 2013, 11:40:30 PM
Gleam.tk,

  The first link in the post directly above yours will redirect you to the updated version (RC2).  Imo perusing the posts directly prior to that one will answer your next set of questions after you have the Arcade installed (alternate template, installing IBP games, etc.).
Title: Re: SMF Arcade
Post by: jpdc91 on December 12, 2013, 04:34:41 AM
Hello,

I have installed smf_2.0.6 with the SMF_Arcade_2.5_RC2 but i have this error:
An error occurred while saving score
Error while saving score for game "9BallSte". Submit system might be invalid, should be "ibp" or user tried to cheat
The arcade settings look like this..
Can you help me please?
Title: Re: SMF Arcade
Post by: Chen Zhen on December 12, 2013, 10:33:00 PM

jpdc91,

  The arcade sets save types for games depending on file configuration at the time of installation. If the game you speak of did not have the proper file setup, it did not know how to set the save type so it made it the smf1 default.  To fix this, edit your 9ball game and go to advanced settings where you can set its save type to IBP.  The error you showed for that game told you the save type it needed to be set to (IBP).

  For future reference you will need to have the pdl/skin combo plugin installed to use IBP v3.2 games (unless you manipulate game files manually). The game you mentioned is just IBP save type which works for SMF Arcade without any necessary plugins.   
Title: Re: SMF Arcade
Post by: vertese on December 13, 2013, 04:40:46 AM
thank you Underdog, you all work so hard to help us.
Thank you.
Title: Re: SMF Arcade
Post by: jpdc91 on December 13, 2013, 05:07:14 AM
Great its working..
Thanks 8)
Title: Re: SMF Arcade
Post by: Draffi on December 13, 2013, 08:24:24 AM
QuoteError while saving score for game "9BallSte". Submit system might be invalid, should be "ibp" or user tried to cheat

Where i find this message?
Title: Re: SMF Arcade
Post by: Chen Zhen on December 13, 2013, 10:39:05 AM

Draffi,

From your general forum error log.
Admin->Logs->Error Log
Title: Re: SMF Arcade
Post by: Draffi on December 13, 2013, 12:44:59 PM
tanks @ -Underdog-
Title: Re: SMF Arcade
Post by: roomeat on December 16, 2013, 03:53:12 AM
Is the smfarcade.info site no longer?
Sorry been away for quite a while no just trying to refresh myself with mods I have installed and need to update.
Title: Re: SMF Arcade
Post by: KalEl025 on December 19, 2013, 09:34:51 AM
Quote from: lurkalot on December 06, 2013, 05:10:16 PM
Quote from: mjohnson025 on December 06, 2013, 04:39:24 PM
Quote from: mjohnson025 on September 26, 2013, 07:31:31 PM
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

Still looking for a response to this please.

What version of SMF are you using?  If it's SMF 2.0.6 then you can use SMF Arcade v2.5 RC2 without problem, you just need to emulate SMF to 2.0.2 to install it. http://www.docskillz.com/docs/index.php?topic=323.0 

And http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version

Thank you very much, that did the trick! Can I revert back to 2.0.6 after the mod has been installed, or will it break?
Title: Re: SMF Arcade
Post by: Kindred on December 19, 2013, 09:39:36 AM
you can revert...   the emulatge is just for the installation.
It will also automatically revert after you end your session, anyway.
Title: Re: SMF Arcade
Post by: KalEl025 on December 19, 2013, 09:46:27 AM
So, I installed the mod after emulating 2.0.2, and I get a message to enter ftp info to allow access to certain files. I entered the ftp info correctly (works through Filezilla just fine) and it says it can't connect. I clicked the link to see what files needed to be modified, and this is what I see. Am I missing something here? It doesn't seem to be completely installed, as there is no menu option or admin option for the mod yet.
Screenshot:
http://gyazo.com/f91b870c1592a7c54c3eea4b53d3976f
Title: Re: SMF Arcade
Post by: Kindred on December 19, 2013, 09:59:32 AM
if you got the ftp query, then it was trying to change the permissions on one (or more) file(s) so that the system could make the mod changes...

what you can do is make sure all of your directories are chmod 755 and all files 644. If that still trigger the warning, try 775/664. (if still, then 777/666, but change back to 755/644 as soon as you are done installing the mod)
Title: Re: SMF Arcade
Post by: KalEl025 on December 19, 2013, 10:33:36 AM
Quote from: Kindred on December 19, 2013, 09:59:32 AM
if you got the ftp query, then it was trying to change the permissions on one (or more) file(s) so that the system could make the mod changes...

what you can do is make sure all of your directories are chmod 755 and all files 644. If that still trigger the warning, try 775/664. (if still, then 777/666, but change back to 755/644 as soon as you are done installing the mod)

I'm not sure I can do that through filezilla. :/
Title: Re: SMF Arcade
Post by: Kindred on December 19, 2013, 10:59:09 AM
there is an option to change permissions (also called chmod) in filezilla - but it might not "take" depending on your server setup and you may need to do the permissions change from inside your cpanel/file manager
Title: Re: SMF Arcade
Post by: KalEl025 on December 19, 2013, 12:21:03 PM
I updated all my file permissions, and it's still not working. :(
Title: Re: SMF Arcade
Post by: Norvidge on January 13, 2014, 03:37:35 PM
hi! i can write a help when i configure a game in the arcade, but this help don't appear in the game. I would like to know how I can display the game help next to the name of the game.
regards!
Title: Re: SMF Arcade
Post by: Chen Zhen on January 13, 2014, 09:28:44 PM

Norvidge,

  Install this plugin that is designed for SMF Arcade 2.5 RC2: http://webdevelop.comli.com/index.php?topic=6.0
It will add the help text beside the game. This will also give you an optional template for listing games which you may like better.
The extra options will show on your Arcade Admin.
Title: Re: SMF Arcade
Post by: trollngo on January 22, 2014, 02:50:35 PM
Hello.

I'm having some troubles with the arcade on my forum.
Everything worked fine, but i just installed pretty url's and now each time i try to submit my score at the end of the game i get an "error 404 msg. and score could not be submitted"

Anyone know what could i do to fix that?  :(
Title: Re: SMF Arcade
Post by: margarett on January 22, 2014, 02:59:09 PM
Uninstall pretty URLs...
Title: Re: SMF Arcade
Post by: trollngo on January 22, 2014, 03:01:37 PM
Quote from: margarett on January 22, 2014, 02:59:09 PM
Uninstall pretty URLs...
i need pretty url's though
Isn't there any other solution, less radical !?
Title: Re: SMF Arcade
Post by: trollngo on January 22, 2014, 03:02:36 PM
if anyone wanna take a look :

http://trollngo.com/index.php?action=forum
Logins: Smf-support
asdasdasd
Title: Re: SMF Arcade
Post by: margarett on January 22, 2014, 03:05:41 PM
That username does not exist.

Please make sure it is NOT an admin account...
Title: Re: SMF Arcade
Post by: trollngo on January 22, 2014, 03:10:39 PM
Quote from: margarett on January 22, 2014, 03:05:41 PM
That username does not exist.

Please make sure it is NOT an admin account...
sorry

username: Support
pass: asdasdasd
Title: Re: SMF Arcade
Post by: margarett on January 22, 2014, 03:37:00 PM
Yup, the issue is really pretty urls. When you submit, this is where you are redirected to:
http://trollngo.com/arcade/index.php?action=arcade

Of course, that's not correctly rewritten. In this same topic you find the fix: disable pretty urls for arcade
http://www.simplemachines.org/community/index.php?topic=146969.msg1564990#msg1564990
Quote from: trollngo on January 22, 2014, 03:01:37 PM
i need pretty url's though
Why? It is known for this kind of issues with other MODs, actually...
Title: Re: SMF Arcade
Post by: GleamPlay.com on January 23, 2014, 04:13:24 AM
I just installed Arcade 2.5 RC2, but I realize that the official website of Arcade is down,
are there any place to find many arcade games?
Title: Re: SMF Arcade
Post by: trollngo on January 23, 2014, 06:18:18 AM
Quote from: margarett on January 22, 2014, 03:37:00 PM
Yup, the issue is really pretty urls. When you submit, this is where you are redirected to:
http://trollngo.com/arcade/index.php?action=arcade

Of course, that's not correctly rewritten. In this same topic you find the fix: disable pretty urls for arcade
http://www.simplemachines.org/community/index.php?topic=146969.msg1564990#msg1564990

Hello Margarett, thank you for looking into it and for the prompt answer.
I did as the previews msg. says. Modified the Prettyurls- filter php and it still doesn't work.
I run maintenance for the Arcade, cleared forum catch and still ain't working . Same 404 error when trying to submit my score.

:-\
Title: Re: SMF Arcade
Post by: margarett on January 23, 2014, 08:34:10 AM
Be sure to double check your file edit... Your forum is not yet filtering arcade action
http://trollngo.com/arcade/
It should become http://trollngo.com/index.php?action=arcade after successful edit.

edit: you should try the hint AllMassive gave (next post). Easier and cleaner ;)
Title: Re: SMF Arcade
Post by: AllMassive on January 23, 2014, 08:35:16 AM
Quote from: trollngo on January 22, 2014, 03:01:37 PM
Quote from: margarett on January 22, 2014, 02:59:09 PM
Uninstall pretty URLs...
i need pretty url's though
Isn't there any other solution, less radical !?

There's a option in the Pretty-Urls Setting so disable the pretty Arcade-Button - so there's no need to fiddle in the sources.
I just installed the 2.5rc2 and have also Pretty-Urls enabled - and it works.
Title: Re: SMF Arcade
Post by: margarett on January 23, 2014, 08:36:14 AM
Quote from: Gleam.tk on January 23, 2014, 04:13:24 AM
I just installed Arcade 2.5 RC2, but I realize that the official website of Arcade is down,
are there any place to find many arcade games?
Search in this topic, there are a lot of places where you can get games from (please note that I don't know any as I don't use this, but I know it was asked multiple times already)
Title: Re: SMF Arcade
Post by: trollngo on January 23, 2014, 08:42:43 AM
Quote from: margarett on January 23, 2014, 08:34:10 AM
Be sure to double check your file edit... Your forum is not yet filtering arcade action
http://trollngo.com/arcade/
It should become http://trollngo.com/index.php?action=arcade after successful edit.

edit: you should try the hint AllMassive gave (next post). Easier and cleaner ;)

That's weird, cause i double checked and the file it's edited.  :-\

Can you pls link me? i don't know what hint you mean.
Thanks again.
Title: Re: SMF Arcade
Post by: margarett on January 23, 2014, 08:46:03 AM
You missed this:
Quote from: AllMassive on January 23, 2014, 08:35:16 AM
There's a option in the Pretty-Urls Setting so disable the pretty Arcade-Button - so there's no need to fiddle in the sources.
I just installed the 2.5rc2 and have also Pretty-Urls enabled - and it works.

Some serious good advice ;)
Title: Re: SMF Arcade
Post by: trollngo on January 23, 2014, 08:53:54 AM
Quote from: margarett on January 23, 2014, 08:46:03 AM
You missed this:
Quote from: AllMassive on January 23, 2014, 08:35:16 AM
There's a option in the Pretty-Urls Setting so disable the pretty Arcade-Button - so there's no need to fiddle in the sources.
I just installed the 2.5rc2 and have also Pretty-Urls enabled - and it works.

Some serious good advice ;)
Thank you very much. It worked  8) yay.
Title: Re: SMF Arcade
Post by: AllMassive on January 23, 2014, 09:23:38 AM
 ;)

Title: Re: SMF Arcade
Post by: GleamPlay.com on January 26, 2014, 04:38:37 AM
Quote from: -Underdog- on December 07, 2013, 11:40:30 PM
Gleam.tk,

  The first link in the post directly above yours will redirect you to the updated version (RC2).  Imo perusing the posts directly prior to that one will answer your next set of questions after you have the Arcade installed (alternate template, installing IBP games, etc.).
Thanks Underdog, I installed RC2 successfully and now I installed your PDL/Skin Combo.
Thank you very much for the skin, it looks splendid :)

but I have one problem. after I installed the PDL/Skin Combo skin, I cannot install some games.
but when I uninstalled the skin, I can install the games.
so everytime when I want to add new games, I have to uninstall the skin and then install game and then install back the skin.
Is there any ways to fix this? thanks

Also, the Notification system for When someone takes championship from me is not working, I cannot receive any message when someone takes championship from me.
Title: Re: SMF Arcade
Post by: KungFuJoe on January 28, 2014, 05:26:25 PM
Quote from: lurkalot on December 05, 2013, 06:25:27 PM
Quote from: stuart71 on December 05, 2013, 06:13:51 PM
I just uninstalled my Arcade v2.5 RC1
Installed Arcade v2.5 RC2

Installed  the PDL/Skin mod

In my admin im getting the PDL settings but nothing about the Layout format

Admin > Arcade > Settings.  Set Arcade Skin

I've got SMF 2.0.4 installed (brand new install) and Arcade v2.5 RC2 along with PDL Package 3.43.

I don't see anywhere in Settings to set the Arcade Skin.

In PDL Settings, there is a checkbox to enable Alternate Game Template but all it appears to do is add some funky buttons to the top of the menu when you actually play a game.

How do I enable the Jeza theme to make it look like your site?
Title: Re: SMF Arcade
Post by: lurkalot on January 28, 2014, 07:10:25 PM
Quote from: kungfujoe on January 28, 2014, 05:26:25 PM

I've got SMF 2.0.4 installed (brand new install) and Arcade v2.5 RC2 along with PDL Package 3.43.


PDL Package 3.43 ?  Try this one, it's the one I'm using  http://webdevelop.comli.com/index.php?topic=6.0
Title: Re: SMF Arcade
Post by: KungFuJoe on January 28, 2014, 07:49:01 PM
Quote from: lurkalot on January 28, 2014, 07:10:25 PM
Quote from: kungfujoe on January 28, 2014, 05:26:25 PM

I've got SMF 2.0.4 installed (brand new install) and Arcade v2.5 RC2 along with PDL Package 3.43.


PDL Package 3.43 ?  Try this one, it's the one I'm using  http://webdevelop.comli.com/index.php?topic=6.0

Thanks for your response, but I think that site is down.  :(
Title: Re: SMF Arcade
Post by: TheListener on January 28, 2014, 07:54:47 PM
Quote from: kungfujoe on January 28, 2014, 07:49:01 PM
Quote from: lurkalot on January 28, 2014, 07:10:25 PM
Quote from: kungfujoe on January 28, 2014, 05:26:25 PM

I've got SMF 2.0.4 installed (brand new install) and Arcade v2.5 RC2 along with PDL Package 3.43.


PDL Package 3.43 ?  Try this one, it's the one I'm using  http://webdevelop.comli.com/index.php?topic=6.0

Nope  I can see it.

Thanks for your response, but I think that site is down.  :(
Title: Re: SMF Arcade
Post by: KungFuJoe on January 28, 2014, 08:07:54 PM
That's weird...I tried from two different ISPs.  502 error.
Title: Re: SMF Arcade
Post by: KungFuJoe on January 28, 2014, 10:53:19 PM
Got it...had to actually get on a 3rd connection to access the site.  Must be router issues out there on the interwebs.

Package worked great.  Thanks!
Title: Re: SMF Arcade
Post by: KungFuJoe on January 29, 2014, 12:45:59 PM
Anyone else getting 500 internal server errors when finishing a game?  It fails on newscore.php. 
Title: Re: SMF Arcade
Post by: GleamPlay.com on February 01, 2014, 09:48:23 AM
Also, I would like to ask is there a way to edit the Game Sort list?
because I want to remove the sort by Least Popular :)
Title: Re: SMF Arcade
Post by: misus on February 02, 2014, 05:08:59 AM
The games&support site is down.
Where do we get games for the arcade.  :(
Title: Re: SMF Arcade
Post by: margarett on February 02, 2014, 03:16:38 PM
Quote from: misus on February 02, 2014, 05:08:59 AM
The games&support site is down.
Where do we get games for the arcade.  :(

Quote from: margarett on January 23, 2014, 08:36:14 AM
Quote from: Gleam.tk on January 23, 2014, 04:13:24 AM
I just installed Arcade 2.5 RC2, but I realize that the official website of Arcade is down,
are there any place to find many arcade games?
Search in this topic, there are a lot of places where you can get games from (please note that I don't know any as I don't use this, but I know it was asked multiple times already)
Title: Re: SMF Arcade
Post by: Biology Forums on February 05, 2014, 06:07:50 PM
Does this mod still work for IE 11? Every time the game is done, and tries to save the score, it returns back to the made arcade screen. This does not happen in Chrome.
Title: Re: SMF Arcade
Post by: ~aura~ on February 12, 2014, 02:17:46 AM
Hi

i am running SMF 2.0.7 and from what i can gather from what i read, the arcade will not work on that, can someone tell me if thats correct?

many thanks *S*

aura
Title: Re: SMF Arcade
Post by: Shambles on February 12, 2014, 03:08:49 AM
The Arcade works fine on my 2.0.7 build.

Where did you read that it doesn't? Lemme guess, from someone who gave up at the first hurdle.

Don't be one of those lamers - try it for yourself.
Title: Re: SMF Arcade
Post by: ~aura~ on February 12, 2014, 05:59:58 AM
oh Shambles no im not a lamer, a little blonde but not one who gives up in a hurry *S*

i am a newbie at all this stuff, i normally install a mod via the package manager, from the mod site here, but the arcade is not showing on the list of mods i can download, so i downloaded the zip, and did the install via the load a zip file but then when i do i get this message " Installations actions for "SMF Arcade"
The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

i am not sure what to do next?

aura
Title: Re: SMF Arcade
Post by: Shambles on February 12, 2014, 07:33:33 AM
http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version
Title: Re: SMF Arcade
Post by: ~aura~ on February 12, 2014, 08:27:37 AM
thankyou *S*
Title: Re: SMF Arcade
Post by: Sir Osis of Liver on February 20, 2014, 03:34:07 PM
Link to a current version?  I'm just finding the RC1 version, can't install in 2.0.7?
Title: Re: SMF Arcade
Post by: lurkalot on February 20, 2014, 03:40:04 PM
Quote from: Krash. on February 20, 2014, 03:34:07 PM
Link to a current version?  I'm just finding the RC1 version, can't install in 2.0.7?


Latest is here, http://www.docskillz.com/docs/index.php?topic=323.0 But you'll still have to emulate to SMF 2.0.2 to install it.
Title: Re: SMF Arcade
Post by: Sir Osis of Liver on February 20, 2014, 03:53:41 PM
Had tried that with RC2 emulation.  Installed with 2.0.2.  Does not pickup any of the stats or games from a previous E-arcade install.  No games, no stats, nothing.
Title: Re: SMF Arcade
Post by: lurkalot on February 20, 2014, 04:04:54 PM
Quote from: Krash. on February 20, 2014, 03:53:41 PM
Had tried that with RC2 emulation.  Installed with 2.0.2.  Does not pickup any of the stats or games from a previous E-arcade install.  No games, no stats, nothing.

<Sigh>

Well it wont, E-Arcade isn't SMF arcade.  If you search this thread I'm sure you'll should find reference to a, E-Arcade to SMF Arcade conversion tool.  Use with caution and follow the instructions, is all I'll say.
Title: Re: SMF Arcade
Post by: Sir Osis of Liver on February 20, 2014, 04:17:54 PM
Their old install was 'E-Arcade 2.4.2 based on: SMF Arcade 2.0.9'.  I've got SMF arcade working, with some games installed, so I'll recommend that they just start fresh.  It looks very much like the old mod.
Title: Re: SMF Arcade
Post by: lurkalot on February 20, 2014, 04:37:34 PM
stick the skin included in this add on, and it'll look much better imo. http://webdevelop.comli.com/index.php?topic=6.0  ;)
Title: Re: SMF Arcade
Post by: Sir Osis of Liver on February 20, 2014, 04:51:00 PM
I'll try it.  Thanks.
Title: Re: SMF Arcade
Post by: Biology Forums on February 24, 2014, 09:23:03 PM
Anyone figure out why submitting scores doesn't work on internet explorer (latest version) for SMF 1.x?
Title: Re: SMF Arcade
Post by: KalEl025 on February 27, 2014, 06:54:24 PM
I have tried installing this mod to no avail. I emulated 2.0.2, I changed EVERY file to be writeable, and I still get the following error.

[spoiler](https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fgyazo.com%2F56cba0c27aeb21d71b6fd85ac8940f06.png&hash=7515c153628befea530ff894c3c4f9202d2db303)[/spoiler]

Can someone please help me with this?
Title: Re: SMF Arcade
Post by: margarett on February 27, 2014, 07:05:07 PM
That's not related to emulation.
That means that some if your files/folders aren't writable and SMF is offering to fix that for you but it doesn't have the correct FTP information to do so
Title: Re: SMF Arcade
Post by: KalEl025 on February 28, 2014, 10:41:55 AM
Quote from: margarett on February 27, 2014, 07:05:07 PM
That's not related to emulation.
That means that some if your files/folders aren't writable and SMF is offering to fix that for you but it doesn't have the correct FTP information to do so

But I have made all files/directories writeable manually, since it can't seem to connect vai the ftp info I give it. That error should not be coming up.
Title: Re: SMF Arcade
Post by: margarett on February 28, 2014, 11:12:44 AM
The "files are writable" information is obtained by SMF via a standard PHP function:
http://de1.php.net/manual/en/function.is-writable.php

So there should be some files or folders not writable by PHP... Click the link "here" proposed by SMF in the warning message to see what's missing.
Title: Re: SMF Arcade
Post by: KalEl025 on February 28, 2014, 03:10:14 PM
Quote from: margarett on February 28, 2014, 11:12:44 AM
The "files are writable" information is obtained by SMF via a standard PHP function:
http://de1.php.net/manual/en/function.is-writable.php

So there should be some files or folders not writable by PHP... Click the link "here" proposed by SMF in the warning message to see what's missing.

Thanks. I have clicked that link, as seen in my screenshot, and it shows numerous records with just "/          ".
Title: Re: SMF Arcade
Post by: Chen Zhen on March 02, 2014, 01:26:54 AM
KalEl025,

  Do you have some custom themes enabled in your database yet their files were deleted at some point? I have seen this happen when it attempts to set permissions on non-existent folders. 

Navigate to: Admin -> Themes & Layout -> Theme Settings .. and use the X on the right side to delete any themes that you do not use (whereas their files were most likely deleted in the past via FTP/Cpanel/etc at some point).

Regards.
Title: Re: SMF Arcade
Post by: Kimmie on March 05, 2014, 08:10:39 PM
This mod has not been updated since June 28, 2010. Does it even work on 2.07?
Title: Re: SMF Arcade
Post by: Bob Perry of Web Presence Consulting on March 06, 2014, 04:10:50 AM
Quote from: Kimmie on March 05, 2014, 08:10:39 PM
This mod has not been updated since June 28, 2010. Does it even work on 2.07?

Seems to work just fine on my 2.0.7 site, but I am having slight problems with SEO related issues to the mod functions
Title: Re: SMF Arcade
Post by: Biology Forums on March 08, 2014, 08:23:51 PM
Quote from: Bob Perry on March 06, 2014, 04:10:50 AM
Quote from: Kimmie on March 05, 2014, 08:10:39 PM
This mod has not been updated since June 28, 2010. Does it even work on 2.07?

Seems to work just fine on my 2.0.7 site, but I am having slight problems with SEO related issues to the mod functions

You mean like page titles and stuff?
Title: Re: SMF Arcade
Post by: dodo88 on March 16, 2014, 01:49:09 PM
Hello

I have SMF 2.0.7 installed and recently me and all my members are having this issue with the arcade
When trying to play a game, we get this message :

"
You have not installed Adobe Flash Player, you need install it before you can play, you also need to have javascript enabled. Install"

Although we all have Flash player and java enabled. It won't work when we do the re-install either.


I have pretty urls, but it's disabled for Arcade.
"link to game in arcade looks like :
Code: [Select]
index.php?action=arcade;sa=play;game=57
"

Can anyone help, please?
Title: Re: SMF Arcade
Post by: Chen Zhen on March 16, 2014, 04:01:51 PM

dodo88,

  Do you have the most recent version installed?  It appears that you have an old version installed (ie. on Troll & Go),
It is located here: http://www.docskillz.com/docs/index.php?action=tpmod;dl=cat3


  Try updating the mod to see if it resolves your issue. Make sure to uninstall & delete your current version before applying SMF Arcade RC2.

Use this Arcade plugin to install IBP 2.5 games: PDL/Skin Combo (http://webdevelop.comli.com/index.php?topic=6.0)

Regards.
Title: Re: SMF Arcade
Post by: shazoo! on April 21, 2014, 04:22:44 PM
Hi Underdog,

quick question... I'm in the process of reinstalling all my mod because of some yak up with some mods.

I downloaded RC2 just now.
When installing it, do I emulate as 2.0.2 or can I just go for it at 2.0.7?
Title: Re: SMF Arcade
Post by: lurkalot on April 21, 2014, 06:35:52 PM
Quote from: shazoo! on April 21, 2014, 04:22:44 PM
Hi Underdog,

quick question... I'm in the process of reinstalling all my mod because of some yak up with some mods.

I downloaded RC2 just now.
When installing it, do I emulate as 2.0.2 or can I just go for it at 2.0.7?

Emulate to 2.0.2 and it should be fine. ;)
Title: Re: SMF Arcade
Post by: vertese on May 06, 2014, 12:02:26 PM
Hi,
We have SMF 2.0.7 with SMF 2.5 RC2 arcade installed.
We have over 600 games and everything worked well, until we installed the games in our new SMF forum.
Everything looks ok, and I have checked the permissions re saving the scores.
But after the games are played, the screen just freezes with no games saving.
Please can you advice?
Title: Re: SMF Arcade
Post by: vertese on May 07, 2014, 07:45:10 AM
We really need help with this, our members are keep players and the scores are not saving.
We moved our SMF 2.0.7 set up in 2005, to another with a name change.
please help
Title: Re: SMF Arcade
Post by: margarett on May 07, 2014, 07:52:02 AM
We need at the very least a test account with permission to play and save scores. No admin account is needed.
Title: Re: SMF Arcade
Post by: vertese on May 07, 2014, 08:11:56 AM
thanks Margarett,
I have sent you the details, thank you for reply.
Title: Re: SMF Arcade
Post by: margarett on May 07, 2014, 10:53:58 AM
Well, TBH I'm not really sure what I'm looking for :P as I don't really know the MOD or how it operates in its "guts"...

Nevertheless, I waited a bunch of time for a first game to load but eventually if loaded. Then I tried "30 seconds". Loaded fast, couldn't submit the score.
I picked Firebug and reloaded the game page. Network analyzer shown a huge wait for this:
http://mochibot.com/my/core.swf?mv=8&fv=8&v=WIN%2012%2C0%2C0%2C70&swfid=3835f44a&l=10301&f=_level0&sb=remote&t=1
(no idea what that is, but I mochibot.com isn't a valid domain name for me, although it is valid in a WHOIS search...)
And the game didn't load again :(

Quote...everything worked well, until we installed the games in our new SMF forum.
What do you mean? Did you change hosts, domain names, etc?

From my point of view, it's that unavailable mochibot.com the culprit. Why? No idea, really...

Edit: I guess this should be related:
http://en.wikipedia.org/wiki/Mochi_Media
(Mochi Media is the owner of mochibot.com and it seems it was shut down)
Title: Re: SMF Arcade
Post by: vertese on May 07, 2014, 11:36:11 AM
Yes you very kindly helped us move yesterday.
Title: Re: SMF Arcade
Post by: margarett on May 07, 2014, 11:45:41 AM
Oh... I did?
/me feels the memory failing :P
Title: Re: SMF Arcade
Post by: vertese on May 07, 2014, 12:10:52 PM
Hiya
the main problem is with the games saving , the ones that are slow or not working can be deleted , but it is just incredibly annoying that they cannot save the games , I have reinstalled the arcade after the move and it dosent seem to have changed anything.
I would think it is a problem with the database connection ? I will have a another look at it
Thanks
Title: Re: SMF Arcade
Post by: margarett on May 07, 2014, 05:04:38 PM
No, it shouldn't be a database problem. I see 2 possibilities:
- or it is related to that site that the game tries to reach and it was a coincidence you changed server at the same time.
Or
- your new server/host is blocking some connection the game tries to establish.

Can you ask your new host some help on this? Maybe thy can check their logs for some attempted connection that was blocked?
Title: Re: SMF Arcade
Post by: margarett on May 07, 2014, 06:58:03 PM
So, some further investigation...

* Navigating your forums, there are some things (especially images) still pointing to your old domain. Probably not related to this issue...
* There are mixed GET requests to either www.chill4uscarers.co.uk or chill4uscarers.co.uk You need to be sure your paths all correct and they ALL include or don't include the www. Doubts? Check again repair_settings.php.
* There is a failed GET that worries me: http://chill4uscarers.co.uk/forum/arcade.php
* I tried a different game --> http://www.chill4uscarers.co.uk/forum/index.php?action=arcade;sa=play;game=728
It doesn't load but I hear the sound...
Title: Re: SMF Arcade
Post by: fwitt on May 13, 2014, 02:51:49 PM
further to margarett's post check the settings in the arcade admin - settings page as they contain paths that are not included in repair_settings.php
Title: Re: SMF Arcade
Post by: vertese on May 13, 2014, 05:07:26 PM
thank you Margarett and thanks fwitt
We are still working on this and will let you know next week.
Our members are really missing the games, so we hope it will be fixed then.
Title: Re: SMF Arcade
Post by: Harvester on May 13, 2014, 07:17:28 PM
I emulated 2.0.2 as I read in this thread and it seemed to all go well but then when I clicked on teh arcade link I get this error

Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation 'ifnull'
File: /home3/jared867/public_html/fishinpedia.com/fishin-forums/Sources/ArcadeList.php
Line: 155

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.7, while your database is at version 2.0.2. The above error might possibly go away if you execute the latest version of upgrade.php.

Title: Re: SMF Arcade
Post by: Kindred on May 13, 2014, 07:32:46 PM
looks like one group of tables is utf8_unicode_ci and another is utf8_general_ci

they should all be the same
Title: Re: SMF Arcade
Post by: Harvester on May 13, 2014, 07:37:16 PM
a help desk member told me it would be best if I converted all to utf8_general_ci but after reading the helpfile on how to do it, quite honestly, I was afraid I would screw it up so I never attempted to convert.
Title: Re: SMF Arcade
Post by: Chen Zhen on May 13, 2014, 07:40:44 PM
Harvester,

  Since both are utf8 based collations you can use either of the tools provided from this link:
http://webdevelop.comli.com/index.php?topic=32.0

Regards.
Title: Re: SMF Arcade
Post by: Harvester on May 13, 2014, 08:05:05 PM
Quote from: -Underdog- on May 13, 2014, 07:40:44 PM
Harvester,

  Since both are utf8 based collations you can use either of the tools provided from this link:
http://webdevelop.comli.com/index.php?topic=32.0

Regards.

Hi Underdog, I installed your tool but I cant find where to access it now, in my admin panel.
Title: Re: SMF Arcade
Post by: Chen Zhen on May 13, 2014, 08:07:24 PM
Harvester,

  The instructions inform you to install & then just uninstall it. The installation of the mod commits the changes.

Uninstall/delete that tool and then see if your arcade works properly.
Title: Re: SMF Arcade
Post by: Harvester on May 13, 2014, 08:10:29 PM
Quote from: -Underdog- on May 13, 2014, 08:07:24 PM
Harvester,

  The instructions inform you to install & then just uninstall it. The installation of the mod commits the changes.

Uninstall/delete that tool and then see if your arcade works properly.

Oh I missed taht point when i read the install read me. woops!

Youre awesome! That worked great! So now all my tables are the same utf8_general_ci?
Title: Re: SMF Arcade
Post by: Chen Zhen on May 13, 2014, 08:15:45 PM
Harvester,

  The tool adjusts all table collations to be uniform based on whichever collation is your default.
Title: Re: SMF Arcade
Post by: Harvester on May 13, 2014, 08:45:16 PM
ok next issue... http://www.smfarcade.info/ goes nowhere but to a spam page that has nothing but ads... so I have no clue where to go to get games to add to the arcade.
Title: Re: SMF Arcade
Post by: Chen Zhen on May 13, 2014, 09:01:18 PM

Harvester,

  The game packs that used to be on SMF Arcade are located here:
http://www.docskillz.com/docs/index.php?action=tpmod;dl=cat4;dlsort=id;desc;p=0

I should actually ask Skhilled to use the emended game packs that used to be on the SMF Arcade site but those will suffice.
Keep in mind that those are really old games. There are lots of sites that provide games which are compatible with SMF Arcade.
You can Google search IBP games download or SMF Arcade games download to find sites that provide them.

Regards.
Title: Re: SMF Arcade
Post by: Harvester on May 14, 2014, 09:56:29 AM
Seems when I try to install games.. I get this error:

Unable to move directories from "/home3/jared867/public_html/fishinpedia.com/fishin-forums/Games/backgammonv32micro/gamedata" to "/home3/jared867/public_html/fishinpedia.com/fishin-forums/arcade/gamedata/backgammonv32MICRO". Please do it manually!

now I have done exactly as it says BUT I stil get that error even when trying to install totally different games.
I also got the exact same error when going to Arcade Admin and trying to run "Update GameCache"

Not sure whats happening.

update: I actually get this error no matter what I click on in admin panel for the arcade. I just downloaded gamepack 2 and went t0 upload it, When I clicked on upload... I got the same error. I also get it when I click on "Install Games" and "Edit Games"
Title: Re: SMF Arcade
Post by: Chen Zhen on May 14, 2014, 03:42:43 PM
Harvester,

  Install the Arcade plugin from this thread: http://webdevelop.comli.com/index.php?topic=6.0 which should fix your issue.
It allows .tar compressed files and replaces the game upload routine. It also adds some other features that you can leave disabled if you do not wish to use them.

After running the game installer if you find that backgammon game has an entry in the install list that will not disappear, you may have to manually delete the folder: ../Games/backgammonv32micro_1  (<- just that game folder specifically)
Title: Re: SMF Arcade
Post by: Chen Zhen on May 19, 2014, 09:02:33 PM

vertese,

  The PDL/Skin combo errors to custom template language files are most likely due to you transferring the previous theme files to your newer site. I am assuming those files were already edited by the PDL installation on your old site and perhaps because you did not previously uninstall the pdl mod, those edits remain. This will cause those errors when attempting to install the PDL mod anew because the place markers it is looking for have changed since those files already contain the PDL edits.
 
  Your saving score issue is most likely due to improper path settings within the Arcade admin which fwitt has already suggested. Did you double check those settings?
Title: Re: SMF Arcade
Post by: Chen Zhen on May 19, 2014, 09:16:24 PM
vertese,,

  Those arcade language files that are currently located in your custom themes language folders (specifically) can be deleted so long as you leave the ones in your default theme. You do not need those language files for every theme as SMF will use the ones in the default no matter which theme is being used.

Title: Re: SMF Arcade
Post by: vertese on May 20, 2014, 02:47:49 PM
Hi Underdog
Thanks for the reply.
What I have now done is renamed the newtemplate to newtemplate1 so I can completely start a fresh.
The install went well with no errors , however it still dosent save the bl**dy scores !
I have no idea why , I also deleted the language files and still nothing - before new install
Please help if you can
Many many thanks
Title: Re: SMF Arcade
Post by: Chen Zhen on May 20, 2014, 03:32:58 PM
vertese,

  My comments regarding the extra language files in your custom themes was to thwart the PDL installation errors and had nothing to do with your score issues. I stated that Imo your scoring issue is url and/or path related settings from within your Arcade admin section.
Title: Re: SMF Arcade
Post by: bholderby on May 21, 2014, 11:09:44 AM
I just wanted to post here and say thanks to ALL who has chimed in a helped with arcade errors...

Got 2.5 RC2 up and running with the PDL pack just fine on SMF 2.0.7...

Thanks!  8)
Title: Re: SMF Arcade
Post by: vertese on May 21, 2014, 12:15:18 PM
underdog,
Sorry I didn't mean to be rude to you , I was just showing my frustration.
I  think I have now found what the problem is !!
I am running wordpress in the root , which I am aware can cause problems which it has .
The intial problem I had was that the it didn't like having the forum in a sub directory as it would just show the frontpage with the error - page not found.
The way I fixed this was to add some text to the htaccess file as shown here -
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/forum/(.*)$
RewriteRule ^.*$ - [L]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress

This then allows the url /forum/index.php to not be check by word press ands lets the url work as it should.
Now here's the problem I have discovered with the arcade , the url for the games is - http://chill4uscarers.co.uk/forum/Games which is correct , however when you enter that into the url bar word press blocks it again and shows the same error as before.
Sooo what I think I have to do is somehow add some allow text to the htaccess so that it doesn't check it and in theory the games should then save ?

So if anyone knows what text I should add to the htaccess I would be most most grateful.

Fingers crossed we are nearly there !  :o
thanks everyone


Title: Re: SMF Arcade
Post by: Chen Zhen on May 21, 2014, 04:55:13 PM

vertese,

  Current directory reference should perhaps be the parent directory on your last rewrite rule. If the current directory is referenced (as in your code) then there should not be a space prior to the first directory separator.

Try this in your .htaccess file in its stead:

# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/forum/(.*)$
RewriteRule ^.*$ - [L]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ../index.php [L]
# END WordPress
Title: Re: SMF Arcade
Post by: vertese on May 22, 2014, 08:12:12 AM
Hi Underdog,

Thanks for your help , but sadly that didn't work.
the URL http://chill4uscarers.co.uk/forum/Games  now gives a 500 Internal Server Error , and obviously the games still do not save.
I am pretty sure that this must be the problem with wordpress , so we are very close now, but sadly I have no idea how to fix it  :(
I really appreciate your help .
Thanks



Title: Re: SMF Arcade
Post by: Kindred on May 22, 2014, 01:50:08 PM
wordpress is, unfortunately, an ugly piece of coding that does not play nice with ANY other software running on the same domain... :(
Title: Re: SMF Arcade
Post by: Chen Zhen on May 22, 2014, 04:10:21 PM

vertese,

  Imo you have an issue with a directory setting somewhere or perhaps incorrect rDNS configuration.
Currently no one can register on your site because the Captcha shows an invalid referer error.
Whatever is causing an error for the Captcha script could possibly be causing an issue with the actionscript for saving scores.

Unrelated:
Also there is some XHTML syntax issues such as a couple of image tags not being closed.
You have a duplicate js code for your StatCounter script (<- remove one of them & fix the img tag).

Also... I attempted to tell you that if your original script is being used with the last rewrite to the current directory that you have a space prior to the first directory separator that has to be removed.

# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/forum/(.*)$
RewriteRule ^.*$ - [L]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ./index.php [L]
# END WordPress


Title: Re: SMF Arcade
Post by: vertese on May 23, 2014, 08:34:33 AM
Hi Underdog
Thanks for the reply and the problem with the captcha.
I have now fixed the captcha , it was using the old code from the old domain , so I just added a new site to captcha and added the new code.
I added the new htaccess and sadly that didnt fix it.
What i have however discovered is that the submit score buttons , do not actually go anywhere - ie. one should go here - www.chill4uscarers.co.uk/forum/index.php?action=arcade;sa=highscore;game=763;start=0
but it dosen't link to anything, could this somehow be a flash incompatability issue?
Many thanks again
Title: Re: SMF Arcade
Post by: vertese on May 23, 2014, 02:36:30 PM
it appears that when moving the site each game settings in advanced needs to be saved or changed again.
The submit settings need to be set to IBP Arcade and then saved again.
Once this is done the games should then save.
Many thanks for all that helped and hope this solves the problem completely and helps anyone else that has similar problems.
A special thanks goes to underdog who has spent a lot of time trying to help , thank you
;D
Title: Re: SMF Arcade
Post by: Chen Zhen on May 23, 2014, 05:54:55 PM
vertese,

  Save types should not have changed if you had just copied your old database to the newer host. Perhaps there are details that you did not include here to give a hint to the issue.
ie. attempted to install ibp 2.5 games prior to installing the pdl mod, the conversion tool was used from e-arcade to smf arcade or converted from smf 1.1X to SMF 2.0.7.
Imo these are the only things that should cause what you described as the issue.

Anyhow, glad to hear that you fixed your scoring issue.

Regards.
Title: Re: SMF Arcade
Post by: vertese on May 24, 2014, 04:04:52 AM
Hi Underdog,
the games never worked when first transfered servers.
So I then uninstalled and re installed the pdl , the games were still there in the same place , however as you say they were not i guess installed correctly, so a re save in advanced may have just activated them properly.
Thanks again
Title: Re: SMF Arcade
Post by: Chen Zhen on September 17, 2014, 08:25:40 PM
vertese,

  I apologize as this response is a bit dated but I thought to mention that the PDL/Skin Combo (http://www.web-develop.ca/index.php?topic=6.0) plugin has since been updated (v 1.0.5) to fix the game save types automatically. This was implemented in response to a request for such a feature and can be downloaded from the link supplied in this post.

Regards.
Title: Re: SMF Arcade
Post by: Streamlife on October 20, 2014, 04:03:14 PM
hello there, The mod no work for me Also cant' parse it When i try to see the parse The Site Send me this message

An error has occurred!
Sorry, but this change does not seem to be compatible with the selected version.
back

am ussing SMF 2.0.7
My Theme Red Clique

I hope Can solve this,

Thanks Advance
Title: Re: SMF Arcade
Post by: Kindred on October 20, 2014, 04:10:46 PM
first of all, you need to update your forum to 2.0.9

second, http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version
Title: Re: SMF Arcade
Post by: Streamlife on October 21, 2014, 12:08:11 PM
Quote from: Kindred on October 20, 2014, 04:10:46 PM
first of all, you need to update your forum to 2.0.9

second, http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version


Ok , thanks for Fast reply Kindred, So, that the Solution? upload the last Ver? Is not a option for me, i have so many errors with the 2.0.9 am fine With 2.0.7 belive me ;(
any other option? any else know how to parse this with 2.0.7? thanks in advance
best regards
Title: Re: SMF Arcade
Post by: Kindred on October 21, 2014, 12:15:04 PM
well, considering that 2.0.8 has fixes for issues that were introduced or not fully resolved in 2.0.7 and 2.0.9 is a SECURITY release, I have to say that you are putting your site and your users at risk.

as for parsing the mod... did you read the link that I posted?  It tells you EXACTLY how to apply the mod to ANY 2.0.x version
Title: Re: SMF Arcade
Post by: margarett on October 21, 2014, 12:16:13 PM
First you need to emulate (so that you bypass the "not compatible" error message) - see the link Kindred pointed you.

After that, the install will be verified. If you have no errors, you can proceed and install (don't forget to check your custom themes). If you do have errors, then you need to check the manual install instructions, in order to verify whether or not the errors can be manually fixed
Manual Installation of Mods (http://wiki.simplemachines.org/smf/Manual_installation_of_mods)

On a side note, 2.0.9 does contain some security fixes, so you should really look into the possibility to upgrade...
Title: Re: SMF Arcade
Post by: Streamlife on October 25, 2014, 09:19:22 AM
Thanks again for fast reply margarett and Kindred Like allways, The trouble is i get allways teh same Error up my forum to 2.0.9

Database Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY b.board_order' at line 21
File: C:\inetpub\wwwroot\Sources\Subs-BoardIndex.php
Line: 72

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.7, while your database is at version 2.0.4. The above error might possibly go away if you execute the latest version of upgrade.php.


i try aready 30000 ways from all post on Simplechanies ussers Open With this same Trouble,

Deleting Installing, installing, deleting  nothing work i try to modify each .php from my theme  Siggh i try 1000 ways, belive me, So am kinda Stuck With this Troble That why can't update Right.

By the way i Going to try one mroe time today and see What happend.

Atte: Streamlife
Title: Re: SMF Arcade
Post by: Kindred on October 25, 2014, 02:06:11 PM
that would be because you installed the board-sort-order "fix" which is applied as real code in 2.0.8

which is neither here nor there for the arcade mod... (and has been addressed several times in the main support board)
Title: Re: SMF Arcade
Post by: bud01100 on November 11, 2014, 07:38:26 PM
[SMF Arcade 2.5 with PDL/Jeza Skin]

Problems is, when you install a duplicate game, it says it installs it, but it doesn't because the files are already installed. The Game Install file will remain at Status = 10 and remain in the list.

Id like to add a button under the edit game next to the     Show All  |  Hide Disabled  |  Hide Enabled    , that will allow to sort the list by the duplicate games then I can batch uninstall them.

What files are involved in adding the button/link and the sorting?

The coding to do the sort I can do.

Thanks

D.

Title: Re: SMF Arcade
Post by: bud01100 on November 24, 2014, 07:43:56 PM
Support is dead for this product?
Title: Re: SMF Arcade
Post by: Steve on November 25, 2014, 09:09:02 AM
Apparently. Shame that. :(
Title: Re: SMF Arcade
Post by: br360 on November 25, 2014, 02:43:44 PM
You might also try here for arcade support- http://www.docskillz.com/docs/index.php?board=32.0
Title: Re: SMF Arcade
Post by: Steve on November 25, 2014, 02:47:20 PM
Thanks for that! :D
Title: Re: SMF Arcade
Post by: vbgamer45 on November 25, 2014, 02:48:19 PM
I am working on an updated version as well soon.
Title: Re: SMF Arcade
Post by: br360 on November 25, 2014, 02:50:18 PM
Quote from: Steve on November 25, 2014, 02:47:20 PM
Thanks for that! :D

Sure. ;)

There's some good stuff over there too. That's where I got most of my game packs.
Title: Re: SMF Arcade
Post by: Steve on November 25, 2014, 04:16:04 PM
@ br360  - will check it out :D

@ vbgamer - I can hardly wait!
Title: Re: SMF Arcade
Post by: MC73 on February 21, 2015, 04:08:40 PM
UD has kept support open for SMF Arcade and some of his other mods @ http://www.web-develop.ca .... Hope that helps a bit .... Glad to hear that you ( vbgamer45 ) is also looking to update it +1
Title: Re: SMF Arcade
Post by: NekoJonez on April 06, 2015, 11:41:38 AM
I got a db error when I clicked on the stats.
Title: Re: SMF Arcade
Post by: NekoJonez on April 11, 2015, 10:03:53 AM
QuoteDatabase Error: BIGINT UNSIGNED value is out of range in '((case when (`arpegi_be`.`score`.`champion_to` = 0) then 1428760945 else `arpegi_be`.`score`.`champion_to` end) - `arpegi_be`.`score`.`champion_from`)'


SELECT game.id_game, game.game_name,
CASE WHEN champion_from > 0 THEN (CASE WHEN champion_to = 0 THEN UNIX_TIMESTAMP() ELSE champion_to END - champion_from) ELSE 0 END AS champion_duration,
IFNULL(mem.id_member, 0) AS id_member, IFNULL(mem.real_name, '') AS real_name, CASE WHEN champion_to = 0 THEN 1 ELSE 0 END AS current
FROM smf_arcade_scores AS score
LEFT JOIN smf_arcade_games AS game ON (game.id_game = score.id_game)
LEFT JOIN smf_members AS mem ON (mem.id_member = score.id_member)
WHERE 1 = 1
GROUP BY score.id_score
HAVING champion_duration > 0
ORDER BY CASE WHEN champion_from > 0 THEN (CASE WHEN champion_to = 0 THEN UNIX_TIMESTAMP() ELSE champion_to END - champion_from) ELSE 0 END DESC
LIMIT 10

How can I fix this?
Title: Re: SMF Arcade
Post by: Chen Zhen on April 14, 2015, 08:35:27 PM
NekoJonez,

  What version of the Arcade are you using?
Any updates I do to this modification will now be in the RC3 version (or beyond that version) located on my site.

Note: The PDL/Skin plug-in is no longer necessary for the above arcade version as it is already included within the installation.




Please test this fix and let me know if it resolves your issue.

File: ../Sources/ArcadeStats.php

1st edit ->
find:

$order = 'CASE WHEN champion_from > 0 THEN (CASE WHEN champion_to = 0 THEN UNIX_TIMESTAMP() ELSE champion_to END - champion_from) ELSE 0 END DESC';


replace with:

$order = 'CASE WHEN champion_from > 0 THEN (CASE WHEN champion_to = 0 THEN UNIX_TIMESTAMP() ELSE (CAST(champion_to AS SIGNED)) END - champion_from) ELSE 0 END DESC';


2nd edit ->
find:

CASE WHEN champion_from > 0 THEN (CASE WHEN champion_to = 0 THEN UNIX_TIMESTAMP() ELSE champion_to END - champion_from) ELSE 0 END AS champion_duration,


replace with:

CASE WHEN champion_from > 0 THEN (CASE WHEN champion_to = 0 THEN UNIX_TIMESTAMP() ELSE (CAST(champion_to AS SIGNED)) END - champion_from) ELSE 0 END AS champion_duration,



Regards.
Title: Re: SMF Arcade
Post by: NekoJonez on April 15, 2015, 04:40:47 AM
I'll try out your fix. I'm using Arcade 2.6 RC1.

Since the site (DoczSkills) where I downloaded from also tested to replicate my issue with 2.5 RC3.... Can I change to that version without loosing my games and such?
Title: Re: SMF Arcade
Post by: Chen Zhen on April 15, 2015, 06:06:44 PM
NekoJonez,

  It should be the same as both are just extensions of SMF Arcade 2.5 RC2.
I do not know what changes Skhilled has done to his version.
If there is something within his version that is improved by your perspective, by all means use it.
The current version the the PDL/Skin combo should work for Skhilled's Arcade from what I have read on his forum.
Also the edit I previously noted can be applied to either version.

Regards.

Title: Re: SMF Arcade
Post by: NekoJonez on April 16, 2015, 08:11:43 AM
Hrm, I think it might be for the better if I reinstalled the arcade.

I'm backing up everything so if I derp up... :P
Title: Re: SMF Arcade
Post by: NekoJonez on April 16, 2015, 08:27:29 AM
Quote from: Chen Zhen on April 15, 2015, 06:06:44 PM
NekoJonez,

  It should be the same as both are just extensions of SMF Arcade 2.5 RC2.
I do not know what changes Skhilled has done to his version.
If there is something within his version that is improved by your perspective, by all means use it.
The current version the the PDL/Skin combo should work for Skhilled's Arcade from what I have read on his forum.
Also the edit I previously noted can be applied to either version.

Regards.

I didn't fix the issue. I also installed your version of Arcade instead of 2.6 RC1.
Title: Re: SMF Arcade
Post by: Chen Zhen on April 16, 2015, 06:12:35 PM
NekoJonez,

  Atm I can not duplicate the error for testing whereas the fix was notional.
Since this error exists on your forum due to a specific score it might be best if I had temp admin + FTP access to test various code.
This will eliminate the time it may possibly take to post code that you would need to test by trial & error.
Let me know and send me a PM with the relevant info if you decide to take that route.
If not I will have to post edits as described.

Regards.
Title: Re: SMF Arcade
Post by: eldritch1969 on May 19, 2015, 12:54:49 PM
Hi
Sorry to ask this if it has already been asked/soled, but scores are not currently saved in e-arcade, although games are playable and all the other funcions seem to work well.

Any idea how to fix this ?
Title: Re: SMF Arcade
Post by: Chen Zhen on May 19, 2015, 04:11:51 PM
eldritch1969,

  This is not the E-Arcade support thread (this is for SMF Arcade).
If that is the arcade version you are using then you will either have to post issues in its Customization Development thread or on the author's forum.
Also current versions of this arcade are v2.5 RC3 (my forum) or v2.6 (Skhilled's forum).

Regards.
Title: Re: SMF Arcade
Post by: eldritch1969 on May 19, 2015, 06:02:39 PM
Thx for your quick answer.
It seems to be okay, but I haven't played yet

I'll let you know. Thanks again
Title: Re: SMF Arcade
Post by: eldritch1969 on May 20, 2015, 01:49:03 AM
Hi
Now i have a problem : I can't get to any post anymore. I have this message :

Fatal error: require_once() [function.require]: Failed opening required '/web/bartopmania/www/Sources/ArcadeSigsStats_v2.php' (include_path='.:/usr/php53/pear') in /web/bartopmania/www/Sources/Load.php(2264) : eval()'d code on line 16

What do I do now ?
Thx
Title: Re: SMF Arcade
Post by: margarett on May 20, 2015, 04:53:46 AM
Something failed to be removed during uninstall of the MOD. So the file was removed (ArcadeSigsStats) but the call to it in Load.php wasn't.
You should check the manual installation instructions for the MOD in reverse order and make sure that ALL edits were undone.
Title: Re: SMF Arcade
Post by: eldritch1969 on May 20, 2015, 07:29:38 AM
Thx,
problem is, I didn't have any error report at install, so I installed it.
I d/loaded the mod from Chen Zen's site. So there were no manual edits.
Don't know what to do now.
Cheers
Title: Re: SMF Arcade
Post by: margarett on May 20, 2015, 07:51:37 AM
Well, for starters, attach your Load.php

ArcadeSigsStats_v2.php is *NOT* a file included in SMF-Arcade-RC3.zip, neither it is called through it. So it's probably a leftover from the uninstall of the other arcade you had ;)
Title: Re: SMF Arcade
Post by: eldritch1969 on May 20, 2015, 07:59:45 AM
Oh, I see.
Here's my Load.php
Title: Re: SMF Arcade
Post by: margarett on May 20, 2015, 09:44:51 AM
Ups sorry... That's not where the file is being called, it's an eval error.

Can you access your forum at all? If you can, disable evaluation of templates in your admin panel.
If you don't, access phpmyadmin, go to your "settings" table, then add a row "disableTemplateEval" and give it the value of 1

Then you should get a different error. I assume it's on Post.php or Post.template.php but we need to be sure...
Title: Re: SMF Arcade
Post by: eldritch1969 on May 20, 2015, 10:46:54 AM
I went to smf_settings in phpmyadmin but I don't exactly know how to add this row.
Must I choose 'insert' at the top ?
There's a scroll list with variables, should I use it ?

This isn't clear
Sorry :(
Title: Re: SMF Arcade
Post by: margarett on May 20, 2015, 10:52:14 AM
Yes, insert a new row. The "variable" is "disableTemplateEval" (no quotes!) and the value is "1" (no quotes)
If you get an error "duplicate entry", that's because the variable is already there. If that's the case, find it and change its value to 1
Title: Re: SMF Arcade
Post by: eldritch1969 on May 20, 2015, 11:20:24 AM
I don't know,  must have made a mistake
I tried to insert this variable but I can't fnd it in the list

That's a bit too much for my ability here
Title: Re: SMF Arcade
Post by: margarett on May 20, 2015, 11:37:01 AM
Nop. phpmyadmin only shows you like 25 rows at a time. settings has 200+ rows. You should have a "show all" button, use it ;)
Title: Re: SMF Arcade
Post by: eldritch1969 on May 20, 2015, 11:51:32 AM
Found it. Now I've got this :

Fatal error: require_once() [function.require]: Failed opening required '/web/bartopmania/www/Sources/ArcadeSigsStats_v2.php' (include_path='.:/usr/php53/pear') in /web/bartopmania/www/Themes/Factory_Theme/Display.template.php on line 16
Title: Re: SMF Arcade
Post by: margarett on May 20, 2015, 11:52:35 AM
OK, now show us Themes/Factory_Theme/Display.template.php :)
Title: Re: SMF Arcade
Post by: eldritch1969 on May 20, 2015, 12:58:18 PM
ok :)
Title: Re: SMF Arcade
Post by: margarett on May 20, 2015, 05:04:14 PM
Try this (I just removed line 16)
Title: Re: SMF Arcade
Post by: eldritch1969 on May 21, 2015, 02:25:55 AM
That did it ! Thanks a lot  ;D
Title: Re: SMF Arcade
Post by: MrMike on June 28, 2015, 07:09:06 PM
Is there a way to have some random game picks appear on the board index page, similar to the stats or who's online sections?
Title: Re: SMF Arcade
Post by: mikedijital on September 17, 2015, 12:28:11 AM
Answered my own question,
Title: Re: SMF Arcade
Post by: natcip on November 10, 2015, 07:10:28 PM
Is there a version for SMF 2.0.11?
Title: Re: SMF Arcade
Post by: margarett on November 10, 2015, 07:12:22 PM
It should work with 2.0.11 the same way as with previous 2.0.x versions ;)
Title: Re: SMF Arcade
Post by: natcip on November 10, 2015, 07:31:36 PM
Ok great, thanks :)

Another thing: is there a manual installation instruction for this mod?
Title: Re: SMF Arcade
Post by: bud01100 on December 20, 2015, 03:11:55 AM
Quote from: MrMike on June 28, 2015, 07:09:06 PM
Is there a way to have some random game picks appear on the board index page, similar to the stats or who's online sections?

Use Portamx or a similar wrapper, and put the following code in as a PHP code block.

Use the limit= variable to set the # of random games it will display.

It will display the game Icon and game name.





global $db_prefix, $scripturl, $modSettings, $smcFunc, $txt, $random;

$limit=1;
$results = $smcFunc['db_query']('', '
SELECT id_game, game_directory, thumbnail, game_name, enabled
FROM {db_prefix}arcade_games
WHERE enabled = 1
ORDER BY RAND()
LIMIT {int:num}',
array(
'num' => $limit,
)
);

while ($rg = mysql_fetch_assoc($results)){
$random .= '
<td width="20%"><center><a href="'.$scripturl.'?action=arcade;sa=play;game='.$rg['id_game'].'"><img class="imgBorder" src="'.$modSettings['gamesUrl'].'/'.$rg['game_directory'].'/'.$rg['thumbnail'].'" width="30" height="30" alt="'.$rg['game_name'].'" title="Play '.$rg['game_name'].'" /></a><br />
<a href="'.$scripturl.'?action=arcade;sa=play;game='.$rg['id_game'].'">'.$rg['game_name'].'</a></center></td>';
}

empty($random) ? $random = '<div class="smalltext centertext">'. $txt['arcade_no_games'] .'</div>' : '';
$smcFunc['db_free_result']($results);
echo '<table width="100%"><tr>'.$random.'</tr></table>';
Title: Re: SMF Arcade
Post by: suga on December 22, 2015, 03:55:11 AM
Something went wrong with my board after installing a mod...it was fixed but when I put back up the Arcade, now it's not submitting the score.  It just stops after you click submit score after games.  Any help appreciated!!
Title: Re: SMF Arcade
Post by: PhilipRamZ on January 28, 2016, 10:34:01 AM
Is there a new site to download the games from? I have the package installed, but the smfarcade.info site is not up and running. Just wondering, since I don't have any games that I can use.
Title: Re: SMF Arcade
Post by: -Sas- on April 05, 2016, 12:11:17 PM
This is my original support question:

Quote from: -Sas- on April 04, 2016, 03:37:52 PM
Hello,

Is there someone who can help me? I'm attempting to put SMF_ARCADE_2.5_RC1_Public back on my Forum after upgrading to SMS 2.0.11. I'm trying to do this as follows:

===> I emulated my forum to SMF 2.0 RC3
===> I uploaded SMF_ARCADE_2.5_RC1_Public
===> Than i tryed to do ' install modification'

There it go's wrong. There it gives an error with the following warning:

Quote from: -Sas- on February 15, 2016, 10:05:31 AM
1.    Uitpakken Bestand    ./Sources/Arcade.php   
2.    Uitpakken Bestand    ./Sources/ArcadeAdmin.php   
3.    Uitpakken Bestand    ./Sources/ArcadeArena.php   
4.    Uitpakken Bestand    ./Sources/ArcadeList.php   
5.    Uitpakken Bestand    ./Sources/ArcadeMaintenance.php   
6.    Uitpakken Bestand    ./Sources/ArcadeGame.php   
7.    Uitpakken Bestand    ./Sources/ArcadeStats.php   
8.    Uitpakken Bestand    ./Sources/Profile-Arcade.php   
9.     Uitpakken Bestand    ./Sources/Submit-custom.php   
10.    Uitpakken Bestand    ./Sources/Submit-ibp.php   
11.    Uitpakken Bestand    ./Sources/Submit-phpbb.php   
12.    Uitpakken Bestand    ./Sources/Submit-silver.php   
13.    Uitpakken Bestand    ./Sources/Submit-v1game.php   
14.    Uitpakken Bestand    ./Sources/Submit-v2game.php   
15.    Uitpakken Bestand    ./Sources/Submit-v3arcade.php   
16.    Uitpakken Bestand    ./Sources/Subs-Arcade.php   
17.    Uitpakken Bestand    ./Sources/Subs-ArcadeAdmin.php   
18.    Uitpakken Bestand    ./Sources/ManageGames.php   
19.    Uitpakken Bestand    ./Sources/SWFReader.php   
20.    Uitpakken Bestand    ./Themes/default/Arcade.template.php   
21.    Uitpakken Bestand    ./Themes/default/ArcadeAdmin.template.php   
22.    Uitpakken Bestand    ./Themes/default/ArcadeArena.template.php   
23.    Uitpakken Bestand    ./Themes/default/ArcadeList.template.php   
24.    Uitpakken Bestand    ./Themes/default/ArcadeProfile.template.php   
25.    Uitpakken Bestand    ./Themes/default/ArcadeGame.template.php   
26.    Uitpakken Bestand    ./Themes/default/ArcadeStats.template.php   
27.    Uitpakken Bestand    ./Themes/default/ManageGames.template.php   
28.    Uitpakken Bestand    ./Themes/default/css/arcade.css   
29.    Uitpakken Bestand    ./Themes/default/scripts/arcade.js   
30.    Uitpakken Bestand    ./Themes/default/scripts/swfobject.js   
31.    Uitpakken Bestand    ./Themes/default/images/arcade_star.gif   
32.    Uitpakken Bestand    ./Themes/default/images/arcade_star2.gif   
33.    Uitpakken Bestand    ./Themes/default/images/arena_accept.png   
34.    Uitpakken Bestand    ./Themes/default/images/arena_decline.png   
35.    Uitpakken Bestand    ./Themes/default/images/favorite.gif   
36.    Uitpakken Bestand    ./Themes/default/images/favorite2.gif   
37.    Uitpakken Bestand    ./Themes/default/images/gold.gif   
38.    Uitpakken Bestand    ./Themes/core/Arcade.template.php   
39.    Uitpakken Bestand    ./Themes/core/ArcadeAdmin.template.php   
40.    Uitpakken Bestand    ./Themes/core/ArcadeArena.template.php   
41.    Uitpakken Bestand    ./Themes/core/ArcadeList.template.php   
42.    Uitpakken Bestand    ./Themes/core/ArcadeProfile.template.php   
43.    Uitpakken Bestand    ./Themes/core/ArcadeGame.template.php   
44.    Uitpakken Bestand    ./Themes/core/ArcadeStats.template.php   
45.    Uitpakken Bestand    ./Themes/core/ManageGames.template.php   
46.    Uitpakken Bestand    ./Themes/core/css/arcade.css   
47.   Uitpakken Bestand    ./Themes/core/images/arcade_star.gif   
48.    Uitpakken Bestand    ./Themes/core/images/arcade_star2.gif   
49.    Uitpakken Bestand    ./Themes/core/images/arena_accept.png   
50.    Uitpakken Bestand    ./Themes/core/images/arena_decline.png   
51.    Uitpakken Bestand    ./Themes/core/images/favorite.gif   
52.    Uitpakken Bestand    ./Themes/core/images/favorite2.gif   
53.    Uitpakken Bestand    ./Themes/core/images/gold.gif   
54.    Uitpakken Bestand    ./arcade.php   
55.    Uitpakken Bestand    ./newscore.php   
56.    Maken Boom    ./Games   
57.    Uitpakken Bestand    ./Games/minesweeper.zip   
58.    Voer code uit    arcadeinstall/Database.php   
59.    Voer code uit    arcadeinstall/Subs-Install.php   
60.    Pas database aan    arcadeinstall/install_main.php   
* 61.    Voer aanpassing uit    ./index.php    Succes
*    62.    Voer aanpassing uit    ./Sources/ManageSettings.php    Test mislukt (==> test failed)
      1.    Voeg toe voor    ./Sources/ManageSettings.php    Test mislukt (==> test failed)

* 63.    Voer aanpassing uit    ./Sources/ManagePermissions.php    Succes
* 64.    Voer aanpassing uit    ./Sources/Profile.php    Succes
* 65.    Voer aanpassing uit    ./Sources/Subs-Db-mysql.php    Succes
* 66.    Voer aanpassing uit    ./Sources/Subs-Db-sqlite.php    Succes
* 67.    Voer aanpassing uit    ./Sources/Subs-Db-postgresql.php    Succes
* 68.    Voer aanpassing uit    ./Sources/Subs.php    Succes
* 69.    Voer aanpassing uit    ./Sources/Admin.php    Succes
* 70.    Voer aanpassing uit    ./Sources/Who.php    Succes
* 71.    Voer aanpassing uit    ./Sources/Modlog.php    Succes
72.   Uitpakken Bestand    ./Themes/default/languages/Arcade.english.php   
73.    Uitpakken Bestand    ./Themes/default/languages/ArcadeAdmin.english.php   
74.    Uitpakken Bestand    ./Themes/default/languages/ArcadeEmail.english.php   
* 75.    Voer aanpassing uit    ./Themes/default/languages/Modifications.english.php    Succes
76.    Uitpakken Bestand    ./Themes/default/languages/Arcade.english-utf8.php   
77.    Uitpakken Bestand    ./Themes/default/languages/ArcadeAdmin.english-utf8.php   
78.    Uitpakken Bestand    ./Themes/default/languages/ArcadeEmail.english-utf8.php   
79.    Voer aanpassing uit    ./Themes/default/languages/Modifications.english-utf8.php

ManageSettings.php is writable and enforceable (chmod777). If i look at the Error (in popup), it recommends a change in the ManageSettings code (see attachment). When I make the change in the code and try again as described, i get exactly the same error and recommended change in the code.

Does anyone know what is going wrong?

When Illori said this, i tryed it....:

Quote from: Illori on April 04, 2016, 03:48:39 PM
they said they made the change already.

if you did add the code you can go ahead and install the mod and ignore the error.

This isn't working also.... I get this:

"Incorrect table definition; there can be only one auto column and it must be defined as a key
file: /home/forumspellenforum_nl/public_html/smf/Packages/temp/arcadeinstall/Subs-Install.php
line: 133"


Is there someone who knows what Ican do now?
Title: Re: SMF Arcade
Post by: lurkalot on April 05, 2016, 12:31:38 PM
Quote from: -Sas- on April 05, 2016, 12:11:17 PM

Is there someone who knows what Ican do now?


You could perhaps try the latest version SMF Arcade 2.5 RC3 (http://www.docskillz.com/docs/index.php?action=downloads;sa=view;down=50) And see if that goes any better for you.
Title: Re: SMF Arcade
Post by: -Sas- on April 05, 2016, 12:51:10 PM
With this one i get the following message when i try to 'install modification':

"Incorrect table definition; there can be only one auto column and it must be defined as a key
Bestand: /home/forumspellenforum_nl/public_html/smf/Packages/temp/arcadeinstall/Subs-Install.php
Regel: 120"
Title: Re: SMF Arcade
Post by: lurkalot on April 05, 2016, 02:27:09 PM
Quote from: -Sas- on April 05, 2016, 12:51:10 PM
With this one i get the following message when i try to 'install modification':

"Incorrect table definition; there can be only one auto column and it must be defined as a key
Bestand: /home/forumspellenforum_nl/public_html/smf/Packages/temp/arcadeinstall/Subs-Install.php
Regel: 120"


Sorry just read your post above properly, you said "I'm attempting to put SMF_ARCADE_2.5_RC1_Public back on my Forum after upgrading to SMS 2.0.11"

So what version did you upgrade from? Was it SMF 1.1.xx series?  If it was I'd start over with the arcade, and remove the tables in your database relating to SMF arcade.  Then try to install it again. Please make a backup of your database first, just in case it should go wrong.
Title: Re: SMF Arcade
Post by: -Sas- on April 05, 2016, 02:44:15 PM
It was indeed from SMF 1.1.21 to SMF 2.0.11. Do you mean that i should remove the Arcade tables from my FTP or the PHPmyadmin database?
Title: Re: SMF Arcade
Post by: lurkalot on April 05, 2016, 02:57:34 PM
Quote from: -Sas- on April 05, 2016, 02:44:15 PM
It was indeed from SMF 1.1.21 to SMF 2.0.11. Do you mean that i should remove the Arcade tables from my FTP or the PHPmyadmin database?

Yes your database via PHPmyadmin. Remember it will mean you'll be starting over from scratch with the arcade.  You'll have to reinstall all your games. everything in the arcade will be reset, scores stats etc.

Unless you want to wait for a better solution, assuming there is one. ;) That's what I did when I moved to SMF 2.0.xx a few years ago.

Title: Re: SMF Arcade
Post by: -Sas- on April 05, 2016, 03:00:57 PM
No problem.... It isn't working now, so there's no use of our games and stuf this way hihi  ;D. I will make a double back up from my database first :P
Title: Re: SMF Arcade
Post by: -Sas- on April 05, 2016, 03:23:37 PM
YEESSSSS!!! Finaly!!!  8) Thank you so mutch  :D I have been fighting with Arcade since Febuary, so you've made me so glade it's working!!!
Title: Re: SMF Arcade
Post by: lurkalot on April 05, 2016, 03:39:44 PM
Quote from: -Sas- on April 05, 2016, 03:00:57 PM
No problem.... It isn't working now, so there's no use of our games and stuf this way hihi  ;D. I will make a double back up from my database first :P

You're welcome. :)
Title: Re: SMF Arcade
Post by: Grammy on May 28, 2016, 10:35:01 AM
256 pages and I can't find a search result within this topic for "increase filesize"! 

I have 2.5 RC3 in 2.0.11 default and I see that the maximum total filesize for game uploads is 8 MB.  I have a game that is just over that so, of course, it doesn't upload.  I guess I could unpack it and manually install it but I really don't like to bypass package managers, installers, uploaders, etc., unless it's a last resort.  Is there anywhere in the arcade files that I could increase the upload filesize limit?  I can locate things like "post_max_size" and "arcade_upload" in the files, but I can't see the actual limits. 

I would like to change it from 8 MB to 10 MB.

Thanks!  :)


EDIT:  I'm getting 2 errors for this block of code in the ManageGames.php file:

function ManageGamesUpload2()
{
global $scripturl, $txt, $modSettings, $context, $sourcedir, $smcFunc;

foreach ($_FILES['attachment']['tmp_name'] as $n => $dummy)
{
if ($_FILES['attachment']['name'][$n] == '')
continue;


Error 1:  2: Invalid argument supplied for foreach()
Error 2:  8: Undefined index: attachment


But all games have uploaded well until I realized this one is bigger than 8 MB.  Then the error appeared.   ???
Title: Re: SMF Arcade
Post by: Shambles on May 28, 2016, 11:33:12 AM
Quote from: Grammy
... I can't see the actual limits. 

I would like to change it from 8 MB to 10 MB.

The value 8M is being retrieved from your php.ini file (see function ini_get() in the code just above the snippet you posted).

Either change the php.ini file (not recommended) or amend the code in ManageGames.php as follows:

Code (Find) Select
function ManageGamesUpload()
{
global $scripturl, $txt, $modSettings, $context, $sourcedir, $smcFunc;

if (!is_writable($modSettings['gamesDirectory']) && !chmod($modSettings['gamesDirectory'], 0777))
fatal_lang_error('arcade_not_writable', false, array($modSettings['gamesDirectory']));

$context['post_max_size'] = return_bytes(ini_get('post_max_size')) / 1048576;

// Template
$context['sub_template'] = 'manage_games_upload';
}


Code (Replace) Select
function ManageGamesUpload()
{
global $scripturl, $txt, $modSettings, $context, $sourcedir, $smcFunc;

if (!is_writable($modSettings['gamesDirectory']) && !chmod($modSettings['gamesDirectory'], 0777))
fatal_lang_error('arcade_not_writable', false, array($modSettings['gamesDirectory']));

$context['post_max_size'] = return_bytes('2048M') / 1048576;

// Template
$context['sub_template'] = 'manage_games_upload';
}
Title: Re: SMF Arcade
Post by: Grammy on May 28, 2016, 11:38:35 AM
Oh that's perfect, Shambles; thanks so much!    :)
Title: Re: SMF Arcade
Post by: andy12gr on August 21, 2016, 11:48:36 AM
I have a site with arcade games with SMF 1.1.20 but all games i cant play from smartphone. Why?
http://hellenicwave.net
Title: Re: SMF Arcade
Post by: d3vcho on August 21, 2016, 11:59:51 AM
Maybe because the games aren't compatible with smartphones.
Title: Re: SMF Arcade
Post by: Kindred on August 21, 2016, 12:20:53 PM
most of the games are flash games....   most smart phones don't support flash (and apple devices never will)
Title: Re: SMF Arcade
Post by: vbgamer45 on August 21, 2016, 02:08:11 PM
Yes, and flash is starting to get phased out in browsers too. Was thinking about having an HTML5 based arcade. A little more complicated as html5 games have a lot of support files and would require modifications to the games to track highscores and prevent cheating
Title: Re: SMF Arcade
Post by: andy12gr on August 21, 2016, 10:59:24 PM
Thanks to all.
Is easy to change the code to play in smartphone?
Title: Re: SMF Arcade
Post by: Arantor on August 22, 2016, 12:50:39 AM
No, since every game has to be rewritten from scratch.
Title: Re: SMF Arcade
Post by: andy12gr on August 22, 2016, 02:10:31 AM
Thanks Arantor
Title: Re: SMF Arcade
Post by: Grammy on August 23, 2016, 12:02:08 AM
Quote from: andy12gr on August 21, 2016, 11:48:36 AM
I have a site with arcade games with SMF 1.1.20 but all games i cant play from smartphone. Why?
http://hellenicwave.net

I'm able to play the arcade's flash games on my iPad and iPhone using the Photon browser.   :)
Title: Re: SMF Arcade
Post by: Arantor on August 23, 2016, 12:41:10 AM
Given that Flash is being phased out of desktop browsers soon, now is the time to start replacing everything with HTML5.
Title: Re: SMF Arcade
Post by: Biology Forums on August 23, 2016, 02:23:15 AM
Does that mean the games are created using html 5? If so, is there a way to convert flash files to html5?
Title: Re: SMF Arcade
Post by: Arantor on August 23, 2016, 02:32:59 AM
No, it means they will need to be rewritten from scratch.

There have been many attempts at a Flash converter over the years but none of them were ever reliable.

Thing is, this has been on the cards since Steve Jobs' letter on why Flash was banned on iDevices.
Title: Re: SMF Arcade
Post by: andy12gr on August 23, 2016, 10:58:55 PM
I test the Photon browser but i take a message as i must enable the javascript?
Title: Re: SMF Arcade
Post by: Grammy on August 24, 2016, 07:32:49 AM
Quote from: andy12gr on August 23, 2016, 10:58:55 PM
I test the Photon browser but i take a message as i must enable the javascript?


When you open the Photon browser to a site, there a little icon in the top right that looks like a lightning bolt.  You have to click that in order for your flash to load. 

If it works for you, enjoy it while you can.  Looks like we'll have to either let our arcade go or hope for new compatible HTML5 games.  As I'm no game coder, that's all I can do... wait.   :-\

Encouraged to see vbgamer45 mention his thoughts concerning an HTML5 arcade.  Maybe that will lead to a nice solution.   :)
Title: Re: SMF Arcade
Post by: jersnet on April 15, 2017, 06:00:10 AM
Cannot install anyone to help me
Title: Re: SMF Arcade
Post by: d3vcho on April 15, 2017, 06:11:37 AM
What error do you receive?
Title: Re: SMF Arcade
Post by: dstaker on May 25, 2017, 06:50:38 PM
Can someone please tell me, will this work for my forum 2.0.14 ?
Title: Re: SMF Arcade
Post by: Steve on May 26, 2017, 04:34:33 PM
Not with the version listed in the first post.

Go here to get the latest: https://github.com/Underdog-01/SMF-Arcade-RC5

I can't guarantee it will work either but the odds are better. :P
Title: Re: SMF Arcade
Post by: dstaker on May 26, 2017, 07:35:04 PM
Installed and the arcade mod seems to be working fine, however i have no games.
Can anyone give any WORKING links to any games please?
Title: Re: SMF Arcade
Post by: bud01100 on May 27, 2017, 02:01:01 AM
We are at 2.6 Rc 1 and when I upgraded from 2.13 to 2.14 it broke some of the arcade code.

Make a backup of your forum.

I will report back when I know more.
Title: Re: SMF Arcade
Post by: br360 on May 27, 2017, 12:35:30 PM
Quote from: dstaker on May 26, 2017, 07:35:04 PM
Installed and the arcade mod seems to be working fine, however i have no games.
Can anyone give any WORKING links to any games please?

Try here (make sure to look for SMF Arcade Game Packs)- http://invisiongames.org/forum/index.php?dlcategory=16
Title: Re: SMF Arcade
Post by: vbgamer45 on May 27, 2017, 08:36:24 PM
Also note if you did the SMF 2.0.14 patch you need to add this code
Into Sources\Subs-Db-mysql.php  around line 910 for MYSQLI support
in Function private function replacement__callback($matches)


if ($matches[1] === 'query_see_game')
return $user_info['query_see_game'];
elseif ($matches[1] === 'query_see_match')
return $user_info['query_see_match'];
elseif ($matches[1] === 'query_arena_game')
return $user_info['query_arena_game'];

Title: Re: SMF Arcade
Post by: dstaker on May 28, 2017, 07:23:29 AM
done some more testing.
Went to check the settings in the game part of the arcade.
Edit games, add games etc  all those settings just sends me to a blank page every time, so i just uninstalled & hopefully a release will be done soon thats compatible with smf 2.0.14
Title: Re: SMF Arcade
Post by: Chen Zhen on May 28, 2017, 07:08:56 PM
dstaker,

  Several people using different environments have been testing the latest version without the issues as you just described.
If you are are willing to help test & resolve any issues please register at the link below & post a report.
Ensure you are using the version from my account on GitHub.

For what you just described, I suggest you give details regarding the environment as it sounds to me as though you may be using an older PHP version or possibly a host which disables some/many php functions. The current version should be compatible with SMF 2.0.14 - 2.1 & PHP 5.3 - PHP 7.1


ref.
https://docskillz.com/arcade/
Title: Re: SMF Arcade
Post by: elf_fu on June 01, 2017, 03:37:59 PM
Some newb questions:

Recently upgraded to 2.0.14 SMF, have the ooooold RC2 installed. Would I want to remove that package entirely before testing out rC5? Or can I install over? (sorry if that's a dumb one.)

Also, asked because the RC2 no longer works/can't access games ;0;


Quote
An Error Has Occurred!
Invalid value inserted or no type specified.
Title: Re: SMF Arcade
Post by: vbgamer45 on June 01, 2017, 09:38:15 PM
elf_flu check out my post here
https://www.simplemachines.org/community/index.php?topic=29619.msg3928379#msg3928379
Title: Re: SMF Arcade
Post by: Chen Zhen on June 01, 2017, 10:07:15 PM

At the moment, RC5 no longer requires that edit.
Title: Re: SMF Arcade
Post by: elf_fu on June 01, 2017, 10:56:57 PM
Quote from: Chen Zhen on June 01, 2017, 10:07:15 PM

At the moment, RC5 no longer requires that edit.

That's good, because I haven't edited php in eons and I am afraid I would literally blow something up, somewhere. I assume I'm still gonna hafta try an uninstall before trying RC5? Thank you very much for the replies so far :)
Title: Re: SMF Arcade
Post by: Chen Zhen on June 01, 2017, 11:12:04 PM

Yes you must uninstall any old version of the arcade prior to installing a new version.
That is the case for any upcoming versions as well.

Title: Re: SMF Arcade
Post by: elf_fu on June 01, 2017, 11:21:59 PM
Quote from: Chen Zhen on June 01, 2017, 11:12:04 PM

Yes you must uninstall any old version of the arcade prior to installing a new version.
That is the case for any upcoming versions as well.


Thank you! :3 My theme is quite old/outdated, and has a lot of weird things added/missing--so I get a lot of tests failed on uninstall. This should be sooooo much fun xD Genuinely hope I don't have to come back here to bug anyone though. Thanks again!
Title: Re: SMF Arcade
Post by: Chen Zhen on June 01, 2017, 11:37:34 PM

RC5 does not edit any custom theme files.
However the older version you are using may have done so.
If you can parse out all the arcade edits properly it will work out fine.
Title: Re: SMF Arcade
Post by: mrkid on June 04, 2017, 03:53:49 PM
Quote from: vbgamer45 on May 27, 2017, 08:36:24 PM
Also note if you did the SMF 2.0.14 patch you need to add this code
Into Sources\Subs-Db-mysql.php  around line 910 for MYSQLI support
in Function private function replacement__callback($matches)


if ($matches[1] === 'query_see_game')
return $user_info['query_see_game'];
elseif ($matches[1] === 'query_see_match')
return $user_info['query_see_match'];
elseif ($matches[1] === 'query_arena_game')
return $user_info['query_arena_game'];


I've added this code, and now it returns the following rror:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4
File: /*/*/public_html/forum/Sources/ArcadeList.php
Line: 136

It previously told me to update to 2.0.2 to possible solve the issue, but that did not do it. Not sure where to look next. I have no arcade list in my SQL.
Title: Re: SMF Arcade
Post by: Fisch.666 on June 12, 2017, 03:48:09 PM
Hi,

anyone has an account over at https://web-develop.ca/index.php?board=9.0 ? If yes it would be great if some one could post the following issue on SMF 2.0.14 and SMF Arcade 2.5 RC5 (the master download from github) there as i think its a little bit overkill to create a new account just for that  :):

Going to Admin-Center -> Arcade -> General -> Reports the following error is shown:


Unknown column 'pdl.game_name' in 'field list'
File: /var/www//forum/Sources/ArcadeAdmin.php
Line: 476


When having a look at the structure of the "smf_arcade_pdl2" table we can see that this column is called:

gamename

and not:

game_name
Title: Re: SMF Arcade
Post by: Chalky on June 12, 2017, 04:45:20 PM
Just what I was after!  Thank you!!!

Quote from: vbgamer45 on May 27, 2017, 08:36:24 PM
Also note if you did the SMF 2.0.14 patch you need to add this code
Into Sources\Subs-Db-mysql.php  around line 910 for MYSQLI support
in Function private function replacement__callback($matches)


if ($matches[1] === 'query_see_game')
return $user_info['query_see_game'];
elseif ($matches[1] === 'query_see_match')
return $user_info['query_see_match'];
elseif ($matches[1] === 'query_arena_game')
return $user_info['query_arena_game'];

Title: Re: SMF Arcade
Post by: Chen Zhen on June 18, 2017, 02:03:23 AM
Fisch.666,

Thanks for the report.
The installer for the most recent GitHub version should be fixed now.

Regards.
Title: Re: SMF Arcade
Post by: Fisch.666 on June 19, 2017, 02:37:58 PM
Hey,

Quote from: Chen Zhen on June 18, 2017, 02:03:23 AM
Fisch.666,

Thanks for the report.
The installer for the most recent GitHub version should be fixed now.

i need to say thanks for catching up on this report in here and fixing this.
Title: Re: SMF Arcade
Post by: Fisch.666 on June 23, 2017, 10:53:20 AM
Sorry to jump in here again but anyone also getting a "Call to undefined function submitSystemInfo()" with the latest github checkout when searching in the Administration-Center?

Seems that function is called in:

Sources/ArcadeAdmin.php: foreach (submitSystemInfo('*') as $id => $system)

and defined in:

Sources/Subs-ArcadePlus.php:function submitSystemInfo($system = '')

but somehow the first file doesn't know something about the second one.

When searching here in this thread this seems to also happen in 2010:

https://www.simplemachines.org/community/index.php?action=search2;search=submitSystemInfo%28%29;topic=29619

and a fix was suggested in:

https://www.simplemachines.org/community/index.php?topic=29619.msg2703992#msg2703992
Title: Re: SMF Arcade
Post by: mrkid on June 24, 2017, 08:04:58 PM
I just loaded a clean 2.0.14, and started adding in only the basic mods. I tried loading the updated arcade(from GitHub), and most of my buttons are missing text. I even added the "Arcade" button in the Subs.php file, and it won't show the text. I can hover over the sliver of the tab, and navigate through.
In my admin menu, some of the text is there, some is not. In the options, I cannot hover over to see what the link is.
This happens on all themes. (Custom, Core, Curve, etc...)
Title: Re: SMF Arcade
Post by: mrkid on June 25, 2017, 09:18:37 AM
I just cleared and checked all of my error logs. I have about 6000 undefined errors since last night. It appears that every arcade_*_* file in the arcade hooks file in undefined. I had no errors on install, and have been testing out some games. They play fine, but cannot save scores.
I feel something was missing from the install file. I found two versions of the updated install. I believe one was called RC 2.5 updated and the other was Master. I uploaded Master.
Title: Re: SMF Arcade
Post by: Chen Zhen on June 27, 2017, 08:52:38 PM
Fisch.666,

  Did you edit the Arcade hooks source file or anything to do with the database (specifically the 3rd party hooks)?
I can not duplicate the issue you reported. What did you navigate to that caused the error to occur?


mrkid,

  I have tested the current GitHub version of this modification on 5 themes thus far with no issues regarding language files being loaded.
Is your test a default SMF 2.0.14 installation with no changes other than installing the Arcade 2.5 RC5 & 3rd party themes?
Have you made any changes that you did not report?
Which theme is in all your images from the previous post?
Title: Re: SMF Arcade
Post by: mrkid on June 27, 2017, 09:36:42 PM
Quote from: Chen Zhen on June 27, 2017, 08:52:38 PM


mrkid,

  I have tested the current GitHub version of this modification on 5 themes thus far with no issues regarding language files being loaded.
Is your test a default SMF 2.0.14 installation with no changes other than installing the Arcade 2.5 RC5 & 3rd party themes?
Have you made any changes that you did not report?
Which theme is in all your images from the previous post?

I have loaded the github arcade across all of my themes. The examples are from Black Rain204. However, the same problem follows across all themes, including default Core and Curve themes.
The only mods I have are join date, bbc code, and Ultimate profile.
I had the old 2.5 arcade loaded on all versions, and it worked until 2.0.14.
Interestingly enough I downloaded two versions from github. One said smf arcade 2.5 RC5 updated,  one said smf arcade 2.5 RC5 master. Difference?
If I new where the text for the href went in these tabs, I could.fix it eaisily. It does not seem to be in the standard places.
Title: Re: SMF Arcade
Post by: Chen Zhen on June 27, 2017, 10:27:23 PM

Which BBC mod?
Title: Re: SMF Arcade
Post by: Chen Zhen on June 27, 2017, 10:36:43 PM
Quote
One said smf arcade 2.5 RC5 updated,  one said smf arcade 2.5 RC5 master. Difference?

There is only the master branch therefore I have no idea what you are referring to.
Here is the link to the repo:
https://github.com/Underdog-01/SMF-Arcade-RC5

Ensure you are installing the proper version.
Also note that GitHub adds an additional parent folder tree whereas you will likely have to omit that initial folder first using your desktop/laptop computer & then compress it anew.
Title: Re: SMF Arcade
Post by: Fisch.666 on June 28, 2017, 01:33:07 AM
Hi,

Quote from: Chen Zhen on June 27, 2017, 08:52:38 PM
Fisch.666,

  Did you edit the Arcade hooks source file or anything to do with the database (specifically the 3rd party hooks)?
I can not duplicate the issue you reported. What did you navigate to that caused the error to occur?

thanks again for your reply. I havn't touched any files from the SMF Arcade. What i did was:

1. uninstalling the old SMF Arcade from this topic
2. installed the new package from github master (RC5)
3. clear forum cache
4. Browse to https://example.com/index.php?action=admin
5. Put in a word like "test" into the "Quick Search" box of the Administration Center (not the global search of the forums)

Maybe this is related to PHP 7.0? Could that newer version loading an include differently?
Title: Re: SMF Arcade
Post by: mrkid on June 28, 2017, 06:46:27 AM
Quote from: Chen Zhen on June 27, 2017, 10:36:43 PM
There is only the master branch therefore I have no idea what you are referring to.
Here is the link to the repo:
https://github.com/Underdog-01/SMF-Arcade-RC5

Ensure you are installing the proper version.
Also note that GitHub adds an additional parent folder tree whereas you will likely have to omit that initial folder first using your desktop/laptop computer & then compress it anew.

I did install that version. It installed through package manager without errors. When I view source, the href for each tab is visble and points to the correct page, but the text is missing. I even tried adding a button to the Subs.php folder, and no good.

As for the bbc mod, it is "Just another bbc code" from here.
Title: Re: SMF Arcade
Post by: Chen Zhen on June 28, 2017, 07:42:52 PM
Fisch.666,

Thank you for the report.
The GitHub version has been updated with the appropriate fixes.




mrkid,

I assume you meant Yet Another Youtube BBCode.
All mods installed on SMF 2.0.14 with the arcade & testing 5 additional themes (including Black Rain 2) without issue.
It appears that some of the language files are not being loaded or possibly something happened to one or some of them.
The images you had posted seem to show some of the strings working & most others are not.
This seems as though you possibly edited some of those language files with an improper editor or perhaps added semi-colon(s) without escaping them. 

Did you edit any of the Arcade language files?
Can you please attempt to replace them on your test forum with the defaults from the decompressed arcade package & test it again?
Title: Re: SMF Arcade
Post by: mrkid on June 28, 2017, 08:18:57 PM
I'll give it a shot, and report back. I have not edited any of tje files myself, jjst tjrougj packahe manager.
Title: Re: SMF Arcade
Post by: Fisch.666 on June 29, 2017, 01:54:36 AM
Quote from: Chen Zhen on June 28, 2017, 07:42:52 PM
Fisch.666,

Thank you for the report.
The GitHub version has been updated with the appropriate fixes.

Hey, thanks again for this fix. Confirmed that it now works, thanks again.
Title: Re: SMF Arcade
Post by: mrkid on June 30, 2017, 07:54:24 PM
Quote from: Chen Zhen on June 28, 2017, 07:42:52 PM

Can you please attempt to replace them on your test forum with the defaults from the decompressed arcade package & test it again?

I just uninstalled the arcade, compressed a fresh version from Github, and loaded it back up. I have the same problems, with the same menus. It just doesn't make any sense.

If you can tell me which arcade file holds the tabs and menus, I can look at them and see what's missing.
Title: Re: SMF Arcade
Post by: Chen Zhen on July 01, 2017, 09:11:11 AM

file path on your forum:
../Themes/default/languages/ArcadeAdmin.english.php

file path within the install package:
../language/english/ArcadeAdmin.english.php
Title: Re: SMF Arcade
Post by: Chen Zhen on July 01, 2017, 09:35:52 AM
Make sure you use the updated GitHub version as I recently made changes to the file that uses those language variables.
The change may be related & fix the issue you are having.
Title: Re: SMF Arcade
Post by: Chen Zhen on July 01, 2017, 09:48:41 AM

You should start over with a fresh SMF 2.0.14 installation.
Just install the Arcade to see if it all works properly without anything else like other mods and/or themes.
If it does work then install those mods and themes one by one but test the Arcade after each mod installation.
This way you can pinpoint a specific mod or theme that may be having a conflict.
Title: Re: SMF Arcade
Post by: mrkid on July 01, 2017, 10:11:51 AM
Quote from: Chen Zhen on July 01, 2017, 09:48:41 AM

You should start over with a fresh SMF 2.0.14 installation.
Just install the Arcade to see if it all works properly without anything else like other mods and/or themes.
If it does work then install those mods and themes one by one but test the Arcade after each mod installation.
This way you can pinpoint a specific mod or theme that may be having a conflict.

I'll take a look at the files you mentioned when I get home. Bluehost is blocked at my work. I thought the menus would be added into Subs, or themes. Obviously why I wasn't finding anything.

If all else fails, I will run a fresh test site, and try again.
Title: Re: SMF Arcade
Post by: Chen Zhen on July 01, 2017, 10:21:17 AM
SMF has had a hook system in place for quite some time now to lessen the need to edit files directly.
When possible I use a hook to implement changes.

The language files are loaded via the 'integrate_pre_load' hook and the file that contains the arcade hooks is loaded via the 'integrate_pre_include' hook.
Title: Re: SMF Arcade
Post by: mrkid on July 01, 2017, 11:26:23 AM
If that's the case, there has to be some conflict with one of my default or mod files. I made no edits to any of the arcade files.

It's funny, when I look at the source file in Firefox, it shows all of the href files with the text missing. Very bizarre...
Title: Re: SMF Arcade
Post by: mrkid on July 05, 2017, 09:29:09 AM
I have the arcade loaded successfully. I had to install the arcade first, then all of my other mods.

I now have issues with scores not saving. The games load fine, play fine, but I get a 500 error for the newscore.php when trying to save any scores.

I have no errors from my server or error log related to this.
Title: Re: SMF Arcade
Post by: Chen Zhen on July 05, 2017, 07:24:17 PM
This is something that was fixed recently.
Project development is current therefore the Arcade is not at a stable release stage yet as changes are frequent.
Download the latest package and try again.
Thanks for testing!
Title: Re: SMF Arcade
Post by: mrkid on July 06, 2017, 09:21:39 AM
How recent was the fix? I believe the download was less than a week ago.

Edit: Disregard, I see the change dates/times on the files.
Title: Re: SMF Arcade
Post by: Chen Zhen on July 06, 2017, 11:13:14 PM
GitHub let's you view the history so you can see info regarding changes.
ie. date/time, actual file edits and my comments regarding those changes to the arcade files.
Title: Re: SMF Arcade
Post by: -Sas- on July 07, 2017, 07:54:39 AM
Quote from: vbgamer45 on May 27, 2017, 08:36:24 PM
Also note if you did the SMF 2.0.14 patch you need to add this code
Into Sources\Subs-Db-mysql.php  around line 910 for MYSQLI support
in Function private function replacement__callback($matches)


if ($matches[1] === 'query_see_game')
return $user_info['query_see_game'];
elseif ($matches[1] === 'query_see_match')
return $user_info['query_see_match'];
elseif ($matches[1] === 'query_arena_game')
return $user_info['query_arena_game'];


Hello! :)

A few days ago i upgraded my forum to SMF 2.0.14.  Unfortunately, Arcade does not work anymore because off this upgrade. When I
(or other members) go to the Arcade section off my forum, we get this text:

Er is een fout opgetreden! (Something went wrong)

Invalid value inserted or no type specified.

I have tried to find a solution in this topic and found the messega added in the quote above this message. I wonder if this is the solution of my problem. I found (by FTP) this file: Sources\Subs-Db-mysql.php , but now I do not quite understand where I have to add the code. If this is indeed the solution, can someone clarify this?
Title: Re: SMF Arcade
Post by: Shambles on July 07, 2017, 08:18:11 AM
Hi Sas

If you look for this bit of code in Subs-Db-mysql.php and add the recommended code just after it, you should be fine:

Code (Find) Select

/**
* Callback for preg_replace_callback on the query.
* It allows to replace on the fly a few pre-defined strings, for convenience ('query_see_board', 'query_wanna_see_board'), with
* their current values from $user_info.
* In addition, it performs checks and sanitization on the values sent to the database.
*
* @param $matches
*/
private function replacement__callback($matches)
{
global $db_callback, $user_info, $db_prefix;

list ($values, $connection) = $db_callback;
if (!is_object($connection))
db_fatal_error();

if ($matches[1] === 'db_prefix')
return $db_prefix;

if ($matches[1] === 'query_see_board')
return $user_info['query_see_board'];

if ($matches[1] === 'query_wanna_see_board')
return $user_info['query_wanna_see_board'];

Title: Re: SMF Arcade
Post by: -Sas- on July 07, 2017, 03:00:22 PM
Thanks a lot! Arcade is working again :D The text is a bit different in my file.... but the last part was the same, so i added the code there...and it works!  8)
Title: Re: SMF Arcade
Post by: mrkid on July 07, 2017, 08:14:10 PM
Everything is working fine, and scores are saving since the new files were loaded. But I'm getting an error now.

Undefined index: arcadeAltTheme

/xxxxxx/xxxxxxxxx/public_html/forum/Sources/ArcadeHooks.php

Here's the line. Is this for users choice of skins?

'condensed' => array($txt['arcadeAltTheme']),
Title: Re: SMF Arcade
Post by: Chen Zhen on July 07, 2017, 10:31:15 PM
That's a language string for one of the links in the Arcade admin subsection.

Look at line 322 from this link:
https://github.com/Underdog-01/SMF-Arcade-RC5/blob/master/language/english/ArcadeAdmin.english.php

It is defined in ArcadeAdmin.english.php
Make sure you are using the updated language files.
Test it on the default theme.

If you are using a custom theme, do not start copying files in that custom theme's folders such as languages.
If you have done this recently with older versions then remove those Arcade files from your custom themes.
Those language files should only be put into the default theme which the package manager takes care of.

Title: Re: SMF Arcade
Post by: mrkid on July 08, 2017, 03:47:53 PM
Quote from: Chen Zhen on July 07, 2017, 10:31:15 PM

It is defined in ArcadeAdmin.english.php


Got it! I missed some files, as I only uploaded files newer than what I had installed.

Games work, scores save, and not a single error...all on 2.0.14. Excellent work! Just wish I hadn't deleted the 1200 games I had previously... :-[
Title: Re: SMF Arcade
Post by: Chen Zhen on July 08, 2017, 04:22:15 PM

Nice to hear it works well for you now.
Perhaps you should have backed-up your game directory prior messing with anything.
I lost the collection I had a while back when I bought a new PC & reinstalled the OS on the old one.
Pictures & music were a priority but I forgot about the games.. oops.
Oh well.. visit those IBP Arcade & SMF Arcade sites and download them all over again.
Title: Re: SMF Arcade
Post by: mrkid on July 08, 2017, 05:14:59 PM
I deleted them, because I assumed flash was dead. I started on a mission to find HTML5 games, and ended back here. ;D
Title: Re: SMF Arcade
Post by: Chen Zhen on July 08, 2017, 06:42:22 PM
Atm I only have about 20 HTML5 games that have my save sub-routine applied to them.
It is fairly easy to implement as many of those type of games are written in javascript and HTML5.
I plan to add IBP's HTML5 save sub-routine prior to releasing a stable version.

There are some HTML5 games that work on mobile and desktop and others work on mainly one or the other (Imo due to touchscreen control versus keys).
That's one way where categories can come into use.
Title: Re: SMF Arcade
Post by: Biology Forums on July 09, 2017, 12:03:26 PM
Thanks for updating us!

Will these games allow for savable scores?
Title: Re: SMF Arcade
Post by: Chen Zhen on July 09, 2017, 11:41:41 PM

The games that I have added a save sub-routine for SMF Arcade will save score.
Only 2 are available at the moment from Doc Skillz arcade test site as there may be changes prior to a stable release.
I have seen some IBP sites with HTML5 games available.
There will be testing to see if they save scores on those websites and if so then I will implement their newer save method.
Title: Re: SMF Arcade
Post by: mrkid on July 10, 2017, 08:04:24 AM
Are you testing these on 2.0, or 2.1 Beta? I can run some games on either of my test sites if you want?
Title: Re: SMF Arcade
Post by: mrkid on July 29, 2017, 07:39:45 PM
The arcade is working great. But, I can't for the life of me find the css coding that adds yellow highlight to the names of the games in the arcade list. Where can I get rid of it? It doesn't really match my theme.

http://www.hauntersnation.com/forum/index.php?action=arcade
Title: Re: SMF Arcade
Post by: lurkalot on July 30, 2017, 04:22:03 AM
Quote from: mrkid on July 29, 2017, 07:39:45 PM
The arcade is working great. But, I can't for the life of me find the css coding that adds yellow highlight to the names of the games in the arcade list. Where can I get rid of it? It doesn't really match my theme.

http://www.hauntersnation.com/forum/index.php?action=arcade

In your index.css file for the theme you're using look for (around line 447)


/* Highlighted text - such as search results. */
.highlight
{
background-color: #ff0;
font-weight: bold;
color: #000;
}


Change the background color for something else
Title: Re: SMF Arcade
Post by: mrkid on July 30, 2017, 09:24:28 AM
Thank you! I think that is literally the only css file I didn't search through. :-\
Title: Re: SMF Arcade
Post by: lurkalot on July 30, 2017, 09:29:43 AM
Quote from: mrkid on July 30, 2017, 09:24:28 AM
Thank you! I think that is literally the only css file I didn't search through. :-\

No problem. Looks like it worked ok. ;)
Title: Re: SMF Arcade
Post by: Eyecu on November 25, 2017, 01:53:34 AM
I'm using Chen Zhen version RC5 just downloaded tonight from github. Got it installed correctly but when i go into any of games admin part (managegames.php) I'm getting and error 500 on my server. I know the problem just not the solution. My server is currently using debian wheezy so php 5.4 when looking in the logs im getting the following error
mod_fcgid: stderr: PHP Fatal error: Can't use function return value in write context in /home/buzzenbsr/public_html/openminded/Sources/ManageGames.php on line 818

line 818 is the following code


if (!file_exists($target . '/' . $newname))
{
if (empty(filesize($tmp_name)))   <----- LINE 818
{
if (file_exists($tmp_name))
unlink($tmp_name);
clearstatcache();
fatal_lang_error('arcade_upload_file_size');
}



Any help would be appreciated.
Title: Re: SMF Arcade
Post by: Chen Zhen on November 29, 2017, 10:31:20 PM
Eyecu,

PHP 5.5 is the minimal version to be used for the updated version of this modification.
This stipulation is noted within the changelog.
Below is a fix for what you posted that should work in PHP5.4 but Imo it is pointless as you may come across other errors due to newer and/or deprecated code.
If you are able to update your PHP version on your own or via your host customer service, I advise you to do it as soon as possible due to security vulnerabilities.


if (!file_exists($target . '/' . $newname))
{
                        $filesz = filesize($tmp_name);
if (empty($filesz))   
{
if (file_exists($tmp_name))
unlink($tmp_name);
clearstatcache();
fatal_lang_error('arcade_upload_file_size');
}
Title: Re: SMF Arcade
Post by: jack001 on December 24, 2017, 02:00:01 AM
is it possible to have this mod?
Title: Re: SMF Arcade
Post by: nofapturkiye on December 27, 2017, 01:15:53 AM
can i write my own game and make users play with it  via arcade mode?
Title: Re: SMF Arcade
Post by: vbgamer45 on December 27, 2017, 01:24:26 AM
Yes you could the system currently supports flash based games.
Title: Re: SMF Arcade
Post by: Steve on December 27, 2017, 09:16:44 AM
If you're using the latest arcade beta then keep in mind that:

QuoteGeneral flash games are supported without score support
Title: Re: SMF Arcade
Post by: landyvlad on June 27, 2018, 09:39:57 PM
OK so the mod states that it was last updated 2010, and is compatible with SMF  2.0 RC3

I have seen it running on 2.1 beta4 so I assume that it's more or less a stand-alone thing so the mod, while dated, hasn't required any changes and remains compatible?

The link in the OP of the mod www.smfarcade.info doesn't seem to work any longer.

So any tips/info re installing this mod nowadays would be welcomed, including where to obtain the games.

Ta. 


Title: Re: SMF Arcade
Post by: Bigguy on June 27, 2018, 10:26:52 PM
You can get an updated version here:

https://web-develop.ca/

Same one I run.
Title: Re: SMF Arcade
Post by: Biology Forums on June 27, 2018, 11:48:19 PM
Quote from: Bigguy on June 27, 2018, 10:26:52 PM
You can get an updated version here:

https://web-develop.ca/

Same one I run.

Does it support HTML5?
Title: Re: SMF Arcade
Post by: landyvlad on June 28, 2018, 02:21:00 AM
Thanks bigguy just saw your response on the WUB forum as well :)
Title: Re: SMF Arcade
Post by: Bigguy on June 28, 2018, 06:31:18 AM
Quote from: Study Force on June 27, 2018, 11:48:19 PM
Quote from: Bigguy on June 27, 2018, 10:26:52 PM
You can get an updated version here:

https://web-develop.ca/

Same one I run.

Does it support HTML5?

I think so yes. But you can ask there to be sure.
Title: Re: SMF Arcade
Post by: PANIC! on March 12, 2019, 02:05:50 PM
I downloaded games, but when I go to play them, I get a blank page. I downloaded the version that bigguy shared.
Title: Re: SMF Arcade
Post by: Ronald_1938 on March 15, 2019, 09:35:44 PM
Quote from: Study Force on June 27, 2018, 11:48:19 PM
Quote from: Bigguy on June 27, 2018, 10:26:52 PM
You can get an updated version here:

https://web-develop.ca/ (https://web-develop.ca/)

Same one I run.

Does it support HTML5?

Yes it does. I gave some HTML5 games..
Title: Re: SMF Arcade
Post by: addlife on March 17, 2019, 01:05:53 AM
I installed the mod that bigguy posted from web-develop.ca

When clicking on the arcade admin settings to edit games, manage installations, and manage uploads it gives me this error

"Too few arguments to function mb_substr(), 2 passed in /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php on line 2244 and exactly 3 expected"

my site is 001002.xyz
and I attached the file mentioned

Any ideas how I can fix it?
Thanks.
Title: Re: SMF Arcade
Post by: Ronald_1938 on March 17, 2019, 12:04:25 PM
Quote from: addlife on March 17, 2019, 01:05:53 AM
I installed the mod that bigguy posted from web-develop.ca

When clicking on the arcade admin settings to edit games, manage installations, and manage uploads it gives me this error

"Too few arguments to function mb_substr(), 2 passed in /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php on line 2244 and exactly 3 expected"

my site is 001002.xyz
and I attached the file mentioned

Any ideas how I can fix it?
Thanks.

With out getting myself in trouble on this forum, I'd advise to to go to https://web-develop.ca/ register for an account, and post there. Chen is the person who is working this arcade..Chen has the answers, and will work with you and getting it up and going.
Title: Re: SMF Arcade
Post by: addlife on March 19, 2019, 03:12:40 AM
Quote from: Oldcrow on March 17, 2019, 12:04:25 PM
Quote from: addlife on March 17, 2019, 01:05:53 AM
I installed the mod that bigguy posted from web-develop.ca

When clicking on the arcade admin settings to edit games, manage installations, and manage uploads it gives me this error

"Too few arguments to function mb_substr(), 2 passed in /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php on line 2244 and exactly 3 expected"

my site is 001002.xyz
and I attached the file mentioned

Any ideas how I can fix it?
Thanks.

With out getting myself in trouble on this forum, I'd advise to to go to https://web-develop.ca/ register for an account, and post there. Chen is the person who is working this arcade..Chen has the answers, and will work with you and getting it up and going.
ok thanks
Title: Re: SMF Arcade
Post by: 4everBlue on March 21, 2019, 07:52:03 AM
I'm having a prob, with 1.0.3- dl'd it with the package manager, but the arcade won't install, I just get a page of errors... what do I do?
Title: Re: SMF Arcade
Post by: Ronald_1938 on March 21, 2019, 08:45:53 AM
Quote from: 4everBlue on March 21, 2019, 07:52:03 AM
I'm having a prob, with 1.0.3- dl'd it with the package manager, but the arcade won't install, I just get a page of errors... what do I do?

Here is the latest version: https://web-develop.ca/index.php?action=downloads;area=stable_smf_arcade
Title: Re: SMF Arcade
Post by: 4everBlue on March 21, 2019, 02:16:34 PM
Quote from: Oldcrow on March 21, 2019, 08:45:53 AM
Quote from: 4everBlue on March 21, 2019, 07:52:03 AM
I'm having a prob, with 1.0.3- dl'd it with the package manager, but the arcade won't install, I just get a page of errors... what do I do?

Here is the latest version: https://web-develop.ca/index.php?action=downloads;area=stable_smf_arcade

Thank you.
Title: Re: SMF Arcade
Post by: addlife on April 08, 2019, 04:25:17 PM
I had a problem after installing version 2.56.12 from web-develop.ca

When clicking on the arcade admin settings to edit games, manage installations, and manage uploads it gives me this error

"Too few arguments to function mb_substr(), 2 passed in /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php on line 2244 and exactly 3 expected"

I posted this on the forums of that site and chen zen answered me with this

Quote
If I remember correctly, substr was swapped out with mb_substr a while back but the length parameter was not added.
Odd thing is that I do not get this error.

The PHP manual shows that length and char encoding have defaults if not included.
ref. https://www.php.net/manual/en/function.mb-substr.php

I attached your file with that function edited to include the length parameter.

What PHP version are you using?

So I replaced that file but now I get the same error on line 2161. (I'm using php 7.1)

I replied to chen zen there but he still didn't reply after a week or so and the post didnt get approved by a mod yet so I'm asking here again if anybody can see what the problem is.

My test site is 001002.xyz

I attached the original file version and the one chen zen modified

Thanks.
Title: Re: SMF Arcade
Post by: TurtleKicker on April 11, 2019, 01:29:35 PM
Has anyone tested this on SMF 2.1 RC2?
Title: Re: SMF Arcade
Post by: Ronald_1938 on April 11, 2019, 02:27:07 PM
Quote from: TurtleKicker on April 11, 2019, 01:29:35 PM
Has anyone tested this on SMF 2.1 RC2?

I did a fresh install of RC2, install the arcade, and one game pack. I had no problems at all..Played one game. I had to install Adobe Flash and enable Javascript before I could play..

I don't really play this arcade, simply because I have a Arcade Forum, but I use the older version of IPB and a different arcade..
Title: Re: SMF Arcade
Post by: addlife on April 12, 2019, 05:59:08 PM
Quote from: addlife on April 08, 2019, 04:25:17 PM
I had a problem after installing version 2.56.12 from web-develop.ca

When clicking on the arcade admin settings to edit games, manage installations, and manage uploads it gives me this error

"Too few arguments to function mb_substr(), 2 passed in /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php on line 2244 and exactly 3 expected"

Chen zen answered me on his forum that I had to enable the mbstring extension

How to Enable mbstring in cPanel

1) Login to cPanel.

2) Go to the section 'Software'.

3) Click the icon 'Select PHP Version'

4) Select the php extension 'mbstring'.

5) Click the button 'Save'.



Although now when I upload a game pack and install it through the admin section the games don't show up. I downloaded the smf gamepacks from invision. I tried 2 different gamepacks and the same thing happens. After installing it just disappears from all lists in the admin section and doesn't either show up on the arcade page either.

Although in cpanel I can see it in the games folder.

I'm getting two errors in error log


http://001002.xyz/index.php?action=admin;area=managegames;sa=main;dda83f97bf6=76902c6ab5738584641c10b8fab50d79

8: Undefined variable: allDirs

File: /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php
Line: 2656


and


http://001002.xyz/index.php?action=admin;area=managegames;sa=main;dda83f97bf6=76902c6ab5738584641c10b8fab50d79

2: in_array() expects parameter 2 to be array, null given

File: /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php
Line: 2656


Hopefully he'll see my question here like last time :)
Title: Re: SMF Arcade
Post by: Dave J on April 14, 2019, 03:54:45 AM
Quote from: addlife on April 12, 2019, 05:59:08 PM
Although in cpanel I can see it in the games folder.

I'm getting two errors in error log


http://001002.xyz/index.php?action=admin;area=managegames;sa=main;dda83f97bf6=76902c6ab5738584641c10b8fab50d79

8: Undefined variable: allDirs

File: /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php
Line: 2656


and


http://001002.xyz/index.php?action=admin;area=managegames;sa=main;dda83f97bf6=76902c6ab5738584641c10b8fab50d79

2: in_array() expects parameter 2 to be array, null given

File: /home/xyz1/public_html/Sources/Subs-ArcadeAdmin.php
Line: 2656


Hopefully he'll see my question here like last time :)

I'm getting the same error on my fresh install test site.

I have registered on Chens site but as it's obvioulsy Admin approval for acceptance as yet I've had no reply so can't post on his forum.

I have to say though that this is the only error I get and I have installed and edited a lot of games that I have. So a great piece of work to get it up and running n 2.1.

My errors below
Title: Re: SMF Arcade
Post by: hipp0 on April 14, 2019, 09:32:54 AM
Im using SMF 2.015 and I can install Arcade fine. But none of the games will display once I goto play them. Is there a way to fix this ?
Title: Re: SMF Arcade
Post by: addlife on April 14, 2019, 04:34:45 PM
Quote from: davejo on April 14, 2019, 03:54:45 AM

I'm getting the same error on my fresh install test site.

I have registered on Chens site but as it's obvioulsy Admin approval for acceptance as yet I've had no reply so can't post on his forum.

I have to say though that this is the only error I get and I have installed and edited a lot of games that I have. So a great piece of work to get it up and running n 2.1.

My errors below
You got my errors or the ones you posted? Is the arcade working?

Maybe try out the most recent file subs-arcadeadmin that Chen zen posted here
https://web-develop.ca/index.php?topic=413.0

Quote from: hipp0 on April 14, 2019, 09:32:54 AM
Im using SMF 2.015 and I can install Arcade fine. But none of the games will display once I goto play them. Is there a way to fix this ?
Did you install the games successfully through the admins mange games setting?
Title: Re: SMF Arcade
Post by: Dave J on April 15, 2019, 03:16:49 AM
Quote from: addlife on April 14, 2019, 04:34:45 PM

Quote from: davejo on April 14, 2019, 03:54:45 AM

I'm getting the same error on my fresh install test site.

I have registered on Chens site but as it's obvioulsy Admin approval for acceptance as yet I've had no reply so can't post on his forum.

I have to say though that this is the only error I get and I have installed and edited a lot of games that I have. So a great piece of work to get it up and running n 2.1.

My errors below
You got my errors or the ones you posted? Is the arcade working?

No sorry I got the ones I posted, I believe I saw a post with someone else who had the same issue as me I must have mistaken that for your post

Quote from: davejo on April 14, 2019, 03:54:45 AM
Maybe try out the most recent file subs-arcadeadmin that Chen zen posted here
https://web-develop.ca/index.php?topic=413.0

Quote from: hipp0 on April 14, 2019, 09:32:54 AM
Im using SMF 2.015 and I can install Arcade fine. But none of the games will display once I goto play them. Is there a way to fix this ?
Did you install the games successfully through the admins mange games
Yes they installed and played ok but there are other settings within the games that also might need to be adjusted. As I have previous experience of this I knew what to look for. If you didn't know this follow the following

Go to 'Edit Games' then click on the name of the game you want to edit, once there click on advance at the bottom of that page, you will see a drop box which tells you the compatability mode for the game, most of  the time they should be on either IBParcade or IBP Arcade v3 or 3.2 its very rare that they anything else, so if yiurs are in Custom or similar that is possibly the reason.

It might also be that the game-data pack was not loaded, most games come with a folder within the game folder.
Title: Re: SMF Arcade
Post by: Chen Zhen on April 15, 2019, 06:34:38 PM
Quote from: davejo on April 14, 2019, 03:54:45 AM
I have registered on Chens site but as it's obvioulsy Admin approval for acceptance as yet I've had no reply so can't post on his forum.

My site shows that you registered but have yet to confirm your email address.
This is required before the site will accept your registration.
Title: Re: SMF Arcade
Post by: Dave J on April 16, 2019, 02:26:38 AM
Quote from: Chen Zhen on April 15, 2019, 06:34:38 PM
Quote from: davejo on April 14, 2019, 03:54:45 AM
I have registered on Chens site but as it's obvioulsy Admin approval for acceptance as yet I've had no reply so can't post on his forum.

My site shows that you registered but have yet to confirm your email address.
This is required before the site will accept your registration.

Hi Chen still waiting for the email. The only thing might be if I did my email wrong. I will PM you with what it should be.
Title: Re: SMF Arcade
Post by: efk on March 03, 2021, 02:24:10 AM
Is everything related with Arcade games on SMF dead? I mean to play arcades adobe flash player was required and javascript, so since adobe flash player is gone, is there anything done to bring the life to arcades?
Title: Re: SMF Arcade
Post by: lurkalot on March 03, 2021, 02:41:30 AM
Quote from: efk on March 03, 2021, 02:24:10 AM
Is everything related with Arcade games on SMF dead? I mean to play arcades adobe flash player was required and javascript, so since adobe flash player is gone, is there anything done to bring the life to arcades?

I believe Chen is adding the Ruffle Emulator library to the latest versions of SMF Arcade, this is essentially a flash emulator.  There's also support for html5 games built in already.  Check it out over at https://web-develop.ca/index.php
Title: Re: SMF Arcade
Post by: Ronald_1938 on March 03, 2021, 06:51:23 AM
Quote from: efk on March 03, 2021, 02:24:10 AM
Is everything related with Arcade games on SMF dead? I mean to play arcades adobe flash player was required and javascript, so since adobe flash player is gone, is there anything done to bring the life to arcades?

The arcade can play Flash and HTML5 games. AS3 are questionable.

Read the articles: https://arcadeholics.net/index.php?board=5.0
Title: Re: SMF Arcade
Post by: vbgamer45 on March 03, 2021, 05:59:58 PM
Ruffle works great!
Title: Re: SMF Arcade
Post by: Ronald_1938 on March 03, 2021, 06:23:33 PM
Quote from: vbgamer45 on March 03, 2021, 05:59:58 PM
Ruffle works great!

Yes it does.. Ruffle is still working on AS3 games, but we have some work arounds in place to play Flash HTML5 and AS3 games..

I have the SMF Arcade that I am slowly building up. I also have a IPB Arcade forum with over 44,000 games, Flash, HTML5 and AS3 games they all work.
You need to add Ruffle to your database, download and install the older version of Adobe Flash, make a couple adjustments in the computer files. On the IPB Arcade I have designated one theme skin to play AS3 games.

https://ronaldsarcade.com/
Title: Re: SMF Arcade
Post by: Dave J on March 04, 2021, 12:01:40 PM
Ruffle working great for me.

Managed to get it running on my test site OK and I got the extension to work in Firefox too. Just a shame I didn't know about this before deleting all the games from my brothers website.

I'm going to check and see if I have an old backup with the games and tables installed etc, if so I will use it on there. He had 1000s of games so it might take a while.

Thanks to everyone who was involved in the creation of Ruffle (https://www.davejohnson.co.uk/Smileys/dave/tiphat.gif)
Title: Re: SMF Arcade
Post by: Linda Online on April 04, 2021, 12:25:54 PM
Quote from: Ronald_1938 on March 03, 2021, 06:51:23 AM
Quote from: efk on March 03, 2021, 02:24:10 AM
Is everything related with Arcade games on SMF dead? I mean to play arcades adobe flash player was required and javascript, so since adobe flash player is gone, is there anything done to bring the life to arcades?

The arcade can play Flash and HTML5 games. AS3 are questionable.

Read the articles: https://arcadeholics.net/index.php?board=5.0

"Sorry, this shoutbox does not exist."  :(
Title: Re: SMF Arcade
Post by: Linda Online on April 04, 2021, 12:46:22 PM
I tried to read this thread and delve into it, but forgive me 256 pages is difficult to master, especially since there is a lot of just water that does not carry a message. Please help me figure out how to save SMF games? Is it possible somehow, without possessing the source code of the games, to translate them into the HTML5 format?
Title: Re: SMF Arcade
Post by: Ronald_1938 on April 04, 2021, 02:55:47 PM
Quote from: Linda Online on April 04, 2021, 12:46:22 PM
I tried to read this thread and delve into it, but forgive me 256 pages is difficult to master, especially since there is a lot of just water that does not carry a message. Please help me figure out how to save SMF games? Is it possible somehow, without possessing the source code of the games, to translate them into the HTML5 format?


@Linda go to my forum and read up on what you need. News and Announcements - Ronald's Arcade (https://ronaldsarcade.com/index.php?/forum/3-news-and-announcements/)


To code Flash Games to HTML5 game Game Tutorials - How to Make an HTML5 Game (gamedevacademy.org) (https://gamedevacademy.org/how-to-make-a-html5-game/) There is quite a bit involved in the conversions.


We have members that are coders, they convert the Flash to HTML5 games.


When you say save  SMF games, just what is it you are looking to do?


SMF Arcade is being taken care of by Chen. You'll find it here WebDev - Index (web-develop.ca) (https://web-develop.ca/index.php)


They probably no reason for you to convert Flash Games over to H5 Games, because there are loads and loads of H5 games for downloading.


Do you have Ruffle installed in your arcade forum.


Support Team edit: edited to remove invalid BBCodes for easier reading.
Title: Re: SMF Arcade
Post by: Dave J on April 11, 2021, 07:57:42 AM
Hi,

I have tried to solve this myself by trying to add the 'ruffle' script code to 'ArcadePopup-smf2.php' on various different lines. No matter what I do I cannot get the games to play in a popup or fullscreen window.

The games work perfectly OK in a normal page environment but not Popup/fullscreen.

I'm using the latest version 2.6.4 on SMF 2.0.18. PHP7.3

The error I get is the normal 'Flash' error.

QuoteYou have not installed Adobe Flash Player, you need to install it before you can play, you also need to have javascript enabled
.

If there isn't a fix is there a way to remove the popup - fullscreen option from the games list?

Not that they are coded the same but I have no problems with the quiz popup that works fine.

Does anyone have any ideas please?

NOTE: I have posted this query on WEDEV too a couple days ago.

Thanks for any help.
Title: Re: SMF Arcade
Post by: Chen Zhen on August 18, 2021, 10:01:59 PM
Flash support is now available in the latest version which allows many older flash games to work using Ruffle flash emulator which is an open source project currently in active development.

Ruffle Flash Player emulator runs on all modern browsers using WebAssembly via a sandbox.
It avoids the security issues that Flash had a reputation for.

Version 2.6.5 of the Arcade has been released which includes a recent build of Ruffle.
You can download it from WebDev which is available from one of the links in my signature.
Title: Re: SMF Arcade
Post by: Steve on March 21, 2022, 07:53:51 AM
When I go to install via Package Manager, I browse, select the file I downloaded from your site, after a second or so I get 'An error has occurred!' message. I'm on 2.0.19 and PHP 7.4. ??
Title: Re: SMF Arcade
Post by: Chen Zhen on March 21, 2022, 11:30:40 PM

The mod is starting to get a bit large for PHP's default file size limits.
You can use FTP to put it directly into your Packages folder path & install it from that point.
Another option to to increase the following in php.ini:

upload_max_filesize = 16M
post_max_size = 16M
max_execution_time = 60

.. you can increase it even more than that if you want but the above should suffice.
Make sure to reset Apache after making any changes to php.ini so it loads them up.
Title: Re: SMF Arcade
Post by: Steve on March 22, 2022, 08:40:59 AM
Thanks. Your first option sounds best. Appreciate it.
Title: Re: SMF Arcade
Post by: Steve on March 24, 2022, 08:31:24 AM
Just wanted to let you know I used your first option and it worked like a charm. Thanks!  ;D
Title: Re: SMF Arcade
Post by: Chen Zhen on March 25, 2022, 07:38:28 PM
I'm glad it worked.
Another option for people might be to use .htaccess to adjust those values I previously posted.

I was thinking of attempting to compress/minify all the arcade files for the next stable release but I'm being asked to add quite a bit more to the mod so I doubt it will stop this from happening.
SMF doesn't seem to be designed with a chunk upload nor a resumable upload sub-routine (yet) which would allow for larger files notwithstanding PHP limits.
However the Arcade uses a chunk upload (option) for its game upload/installs since many of the HTML5 games have large file sizes.
Title: Re: SMF Arcade
Post by: Diego Andrés on March 25, 2022, 08:00:08 PM
Quote from: Chen Zhen on March 25, 2022, 07:38:28 PMI was thinking of attempting to compress/minify all the arcade files for the next stable release but I'm being asked to add quite a bit more to the mod so I doubt it will stop this from happening.

That'd be very good for js and css files that aren't being edited anymore or are unlikely to get new edits.
Title: Re: SMF Arcade
Post by: Grammy on August 06, 2022, 12:16:37 PM
I have a question, please.   :)

I have a fresh install of 2.1.2 and no mods other than I've just installed SMF Arcade 2.6.9.3 (compatible).  I've only installed one game just to test it.  It plays fine and tries to save my score but that's where the issue is.  My forum is mydomain.com/forum but when it's time to save the score, it redirects to mydomain.com?act=Arcade&do=newscore  (so back to the main domain, not to the forum directory).  I've checked and the paths are all correct.  This seems to be the only issue, while kicking the tires on the arcade (that saving the score redirects back to the main domain).  These are the paths/urls and they are pretty much identical to the forum's images, smilies, etc., with the exception of the actual directory name:

URL to games:  https://mydomain.com/forum/Games
Path to games directory:  /services/webpages/f/a/mydomain.com/public/forum/Games
URL to external ruffle zip archive:  https://web-develop.ca/index.php?action=downloads;area=stable_smf_arcade;file=87;download

Could you guys point me in the right direction to sort why saving the score is redirecting outside my forum's directory and to the main domain url?

Thanks!   :)
Title: Re: SMF Arcade
Post by: Chen Zhen on August 07, 2022, 01:52:29 AM

@Grammy:

It's the JavaScript save function in some of the games that doesn't take into account a forum residing in a sub-directory. I've brought up the issue in the past with people that put their save code/function in the IBP HTML5 Arcade games but they didn't seem to understand what I meant by testing for various forum parent/child directory path scenarios.

As a result there are thousands of games that will behave like that.
Your solution is to adjust your server config or add a server config file in the "mydomain.com" path.

For example, if you use apache create a .htaccess file located in the actual server path for "mydomain.com". This will be the parent path of "forum".
.htaccess possible contents:
RewriteEngine on
RewriteCond %{QUERY_STRING} act=Arcade
RewriteCond %{REQUEST_URI} !forum
RewriteRule (.*) https://%{HTTP_HOST}/forum/$1 [NC,L]

Title: Re: SMF Arcade
Post by: Grammy on August 07, 2022, 06:44:03 AM
Quote from: Chen Zhen on August 07, 2022, 01:52:29 AMRewriteEngine on
RewriteCond %{QUERY_STRING} act=Arcade
RewriteCond %{REQUEST_URI} !forum
RewriteRule (.*) https://%{HTTP_HOST}/forum/$1 [NC,L]



Thanks so much, Chen Zhen, that sorted it!   :)
Title: Re: SMF Arcade
Post by: Steve on August 07, 2022, 10:11:45 AM
Is that something we should all do?
Title: Re: SMF Arcade
Post by: Chen Zhen on August 07, 2022, 01:03:18 PM
@Steve:

No, this is just something for people that have their forum in a sub-directory off of the actual URL.
What people should be doing is have their DNS and nameserver point to a proper destination without the sub-directory.
You can configure your Apache (or whatever HTTP Server software) to use a directory of choosing on your OS but it shouldn't really be used in the URL.
I'll work on something in the JavaScript/HTML5 that attempts to have the window.location.hostname include any sub-directories for the games contained within the canvas but for now this solution will work.
Title: Re: SMF Arcade
Post by: Steve on August 07, 2022, 05:43:19 PM
Thanks Chen Zhen.
Title: Re: SMF Arcade
Post by: Chen Zhen on August 07, 2022, 10:23:14 PM

Updated to version 2.6.9.4.
This version includes important bug fixes and changes.
The WebDev download section link is in my signature.
 
Title: Re: SMF Arcade
Post by: Steve on August 08, 2022, 07:09:30 AM
Thank you for that. :)
Title: Re: SMF Arcade
Post by: Chen Zhen on April 23, 2023, 02:46:06 PM

Updated to version 2.6.9.5.
This version includes important bug fixes and changes.
The updated package is available from the WebDev download section (https://web-develop.ca/index.php?action=downloads;area=stable_smf_arcade;file=88).



Most relevant changes that were giving people issues in the previous version:

Title: Re: SMF Arcade
Post by: Steve on April 23, 2023, 05:44:03 PM
Thanks Chen Zhen. ;D

Edit: isn't there a setting to NOT show a random game? If there is, I can't find it ...
Title: Re: SMF Arcade
Post by: Chen Zhen on April 23, 2023, 11:31:57 PM

I don't remember adding any option like that for Enterprise A or C skins.
The Defiant & Classic skins don't have the random game.

For anyone that has the skills, I put in the ability to make your own templates via Arcade hooks.
You can always edit the existing templates or edit them + change file names & add them as Arcade hooks.
Title: Re: SMF Arcade
Post by: Dave J on April 24, 2023, 03:27:11 AM
Thanks Chen