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... ???
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... ???
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
on (press){
set (score,high);
set (act,"submit");
set (game,"duckhunt");
set (url,"index.php?action=arcade");
getURL (url, "_self", "POST");
}
on (press){
set (score,high);
set (act,"submit");
set (game,"duckhunt");
set (url,"index.php?action=arcade");
getURL (url, "_self", "POST");
}
Quote from: umiya on October 14, 2004, 05:41:29 PM
does anyone know how to add the score function to a game?
Quote from: Niko on October 15, 2004, 05:08:18 AMQuote 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
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?
Quote from: Hans_de_Echte on October 19, 2004, 05:34:21 PM
but where do i put. the icons for the game name ?
Quote from: Hans_de_Echte on October 19, 2004, 05:34:21 PM
and how do i add new games to the database ??
QuoteGames/ Folderwhen i put the gif's in it nothing happens.
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 \');')
);
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 \');')
);
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
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/)
if(isset($_POST['act'])) $_POST['do'] = $_POST['act'];
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
Quote from: Niko on October 29, 2004, 08:40:29 AMI 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.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:Code Select
if(isset($_POST['act'])) $_POST['do'] = $_POST['act'];
add after:Code Select
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
// 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 \');')
);
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\')'),
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.
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.
Quote from: Elijah Bliss on October 29, 2004, 09:23:44 PMQuote 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?
Quote from: trenchteam on October 31, 2004, 01:24:08 AM
Does this work with RC2?
Quote from: Niko on October 31, 2004, 02:17:53 PMI 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)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)
Quote from: trenchteam on October 31, 2004, 01:24:08 AM
Does this work with RC2?
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
Quote from: Hans_de_Echte on October 20, 2004, 09:05:25 AMQuoteGames/ Folderwhen 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)
Quote from: Hans_de_Echte on October 20, 2004, 09:05:25 AMQuoteGames/ Folderwhen 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)
$context['arcade']['games'][$i]['thumbnail'] = "Games/{$game['thumb']}";
$context['arcade']['games'][$i]['thumbnail'] = "Games/".$game['game'].".gif";
$context['arcade']['games'][$i]['thumbnail'] = "Games/".$game['game'].".jpg";
$context['arcade']['games'][$i]['thumbnail'] = "Games/".$game['game'].".png";
Quote from: soapbath on November 11, 2004, 08:33:08 PM
nesianstyles; Have you got them arrays?
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.\')')
Quote from: kindred on November 12, 2004, 02:57:40 PMYes it is.
Not to mention, Hoolio... doing it that way (without permission from the author) and then posting the game to your site is illegal.
Quote from: kindred on November 12, 2004, 02:57:40 PMTrue. flashkit.com is good place to find. Google also
There are a number of SWF and Flash-optimized games available for download, both free and registered. Why do something illegal?
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!)
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.
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 \');')
);
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 \');')
);
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/)
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.
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.
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...)
Quote from: Nikoin Sources/Arcade.php
find:Code Select
if(isset($_POST['act'])) $_POST['do'] = $_POST['act'];
add after:Code Select
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
Quote from: nesianstyles on December 11, 2004, 02:23:09 AMIs 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... :)
I guess I better add more games soon, but there is 45 at the moment
Quote from: Niko on December 13, 2004, 12:27:58 PMGreat - I'll install it as soon as I get my board back up :D
Beta 5 is out! Finally
Quote from: DoW Kid Rock on December 15, 2004, 12:17:52 PMI'll look into that
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.
Quote from: DoW Kid Rock on December 15, 2004, 12:17:52 PMThis is 'feature'
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"
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.
Quote from: RGSMDNR on December 15, 2004, 03:01:26 PM
if i install the new version, will it erase the current scores?
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?
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
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
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");
}
<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>
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:Code Select<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
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
Fatal error: Cannot instantiate non-existent class: swfheader in /public_html/smf1/Sources/Arcade.php on line 322
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?
Quote from: nviceversa on December 19, 2004, 01:37:25 AMQuote 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 errorCode SelectFatal error: Cannot instantiate non-existent class: swfheader in /public_html/smf1/Sources/Arcade.php on line 322
what's the problem with this?
Quote from: nviceversa on December 19, 2004, 03:43:05 AM
Lol thanks^ forgot to upload that file ;D
Notice: Undefined index: install in /var/www/html/forums/Sources/Arcade.php on line 35
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
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
Quote from: 4dd1ct on December 21, 2004, 07:02:11 AMtry going to index.php?action=arcade&do=admin and installing that way - that should do it.
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?
Quote from: 4dd1ct on December 21, 2004, 08:24:31 AMWhich forum version are you using?
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. :(
Quote from: 4dd1ct on December 21, 2004, 10:09:26 AMOkay....are you also using the default template?
1.0 RC2.
Quote from: 4dd1ct on December 21, 2004, 10:17:15 AMTry switching to the default template and seeing if it works using that then (as most modifications only modify the default SMF theme).
Do you mean the default SMF template/theme? I'm using the helios theme if that's what you meant.
4dd
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
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
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/html/forums/Sources/Arcade.php on line 101
Quote from: 4dd1ct on December 21, 2004, 10:22:46 AMNo Problem, that's what I'm here for ;)
Thanks for your help btw Mattitude :)
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)
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
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
Quote from: profile on December 30, 2004, 06:54:50 PMQuote 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. :-[
Quote from: profile on December 30, 2004, 06:54:50 PMQuote 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. :-[
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 :'(
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 :'(
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.
<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>
<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>
Quote from: finnhack on January 04, 2005, 06:30:55 AMQuote 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:Code Select<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:Code Select<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.
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;
}
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;
}
echo '<p align="center">';
echo $context['arcade']['game_html'];
echo "</p>";
echo '<p align="center">';
echo $context['arcade']['game']['html'];
echo "</p>";
echo '<p align="center">';
echo $context['arcade']['game_html'];
echo "</p>";
echo '<p align="center">';
echo $context['arcade']['game']['html'];
echo "</p>";
QuoteThis will be not used!
Fill bgcolor, name, description, and so on...
width and height should be auto-detected
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.
Quote from: Douglas on January 03, 2005, 02:29:53 PMTrying to add a game in for the very first time.Still waiting for an answer on this one. :)
2: arcade(swfheader.php): failed to open stream: No such file or directory
Quote from: Douglas on January 04, 2005, 11:55:06 PMQuote from: Douglas on January 03, 2005, 02:29:53 PMTrying to add a game in for the very first time.Still waiting for an answer on this one. :)
2: arcade(swfheader.php): failed to open stream: No such file or directory
Quote from: Douglas on January 04, 2005, 11:55:06 PMQuote from: Douglas on January 03, 2005, 02:29:53 PMTrying to add a game in for the very first time.Still waiting for an answer on this one. :)
2: arcade(swfheader.php): failed to open stream: No such file or directory
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.
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;
}
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)
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 :>
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.
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;
}
Quote
Quote from: trenchteam on January 07, 2005, 02:51:26 AM
LInks to download these flash games everyone is using?
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?
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.
Quote from: Aravot on January 11, 2005, 01:18:34 AM
anyone?
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
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
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 theseCode Select
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.
Quote from: johnm on January 14, 2005, 05:50:37 AMQuote 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 theseCode Select
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
$score['comment'] == null
empty($score['comment'])
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
Quote from: trenchteam on January 15, 2005, 03:04:49 AMQuote 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!
// 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";
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..... :'(
Quote from: CF-UK.NET on January 15, 2005, 06:54:10 AMWhen I try to enter to http://gamingalley.webplanethost.com/forum/index.php?action=arcade&do;install=1 I get again that messageQuote 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)
Quote from: nviceversa on January 15, 2005, 12:50:31 PMI know what phpmyadmin is, but I dont know what I have to put in the board
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)
Quote from: Elijah Bliss on January 15, 2005, 03:19:04 AMYou 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.Quote from: trenchteam on January 15, 2005, 03:04:49 AMQuote 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
Quote from: maufonseca on January 15, 2005, 04:08:08 PMI take it you need to run the upgrade command ..
Please..... I rely need help with this :'(
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');
Quote2: Invalid argument supplied for foreach()
QuoteQuery is invalid!
Quote from: maufonseca on January 15, 2005, 05:11:37 PMshouldn't matter what theme you use. Add some games to the game folder.
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 :(
Quote from: trenchteam on January 15, 2005, 06:11:00 PMI 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:Quote from: maufonseca on January 15, 2005, 05:11:37 PMshouldn't matter what theme you use. Add some games to the game folder.
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 :(
Quote from: nviceversa on January 15, 2005, 06:34:58 PMYeah, 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
the folder should read Games not games
And make sure the ext. of the game is .SWF
Quote from: Fanta on January 16, 2005, 08:49:20 AM
How can I make the arcade members only?
function template_play(){
global $context, $scripturl, $txt,$user_info;
// global $settings, $options, $modSettings
echo '<p align="center">';
echo $context['arcade']['game_html'];
echo "</p>";
}
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>";
}
}
Quote from: Enigma on January 16, 2005, 08:05:11 PMTry this
Where can I get games for the arcade? The site http://arcade.cf-uk.net/index.php is not sending me an activation email.
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.
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.
Quote from: Enigma on January 16, 2005, 08:32:27 PMQuote 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?
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.
:)
Quote from: trenchteam on January 17, 2005, 11:47:57 PMQuote 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.
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..
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
Quote from: .COMplex on January 19, 2005, 08:54:54 AMQuote 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.
on (press){
set (score,high);
set (act,"submit");
set (game,"duckhunt");
set (url,"index.php?action=arcade");
getURL (url, "_self", "POST");
}
Quote from: John on January 20, 2005, 07:49:05 PM
sorry for going on a bit......
Quotethanks for the new pacman! Much better! ;DNo 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
Quote from: trenchteam on January 21, 2005, 12:41:19 AM
thanks for the new pacman! Much better! ;D
Quote from: Aravot on January 21, 2005, 01:19:06 PMHave a look at Neave Pacman ;)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?
Quote from: Niko on January 21, 2005, 04:06:27 PMGood to hear- keep up the good work :D
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
Invalid argument supplied for foreach()
2: Invalid argument supplied for foreach()
File: /home/patman/public_html/Themes/default/languages/Modifications.english.php (eval?)
Line: 28
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;
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:Code SelectInvalid argument supplied for foreach()
so I checked the error log and it has the following:Code Select2: Invalid argument supplied for foreach()
File: /home/patman/public_html/Themes/default/languages/Modifications.english.php (eval?)
Line: 28
any ideas?
2: Invalid argument supplied for foreach()
File: /home/ragea/public_html/forums/Themes/amdblack01/Arcade.template.php (eval?)
Line: 164
Quote from: champi.nl on January 24, 2005, 04:21:11 PM
yeah... beta 6... can we simply upgrade then...?
Quote from: Seb87 on January 24, 2005, 02:45:16 PM
When the beta6 come from ??
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...?
QuoteFatal error: [] operator not supported for strings in /home/loginname/domains/mysite.com/public_html/smf/arcade_sql.php on line 115
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 errorCode Select2: Invalid argument supplied for foreach()
File: /home/ragea/public_html/forums/Themes/amdblack01/Arcade.template.php (eval?)
Line: 164
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
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;
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 errorQuoteFatal 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
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...
2: Invalid argument supplied for foreach()
File: /home/disciple/public_html/gamer/Themes/default/languages/Modifications.english.php (eval?)
Line: 36
Quote from: DoW Kid Rock on January 27, 2005, 12:34:07 PM
Actually I misread it and I actually have this error:Code Select2: 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
Quote from: Niko on January 27, 2005, 07:52:08 AMQuote 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 errorQuoteFatal 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
Quote from: Niko on January 27, 2005, 01:59:57 PM/me suggests to Niko that in future he could use CREATE TABLE IF NOT EXISTS in the sql.txt
oops... just apply new tables only
edit:
in this case challenge and sessions tables
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
CREATE TABLE `smf_games` (
`id` int(11) NOT NULL auto_increment,
`game` varchar(25) NOT NULL default '',
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
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?
Quote from: LiL_J on January 27, 2005, 08:09:53 PMQuote 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
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)
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.
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
Quote from: pacolls on January 28, 2005, 04:28:20 AMQuote 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.
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
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 ;
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???
Quote from: Niko on January 28, 2005, 12:40:36 AMQuote 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
Quote from: PrideDragon on January 28, 2005, 09:16:30 AMAs i said Arcade Settings is NOT READY and it should NOT workQuote from: Niko on January 28, 2005, 12:40:36 AMQuote 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???
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
QuoteI had to CHOMD "Thumbs.db" in my Games Dir
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
QuoteFatal error: [] operator not supported for strings in /hsphere/local/home/adminkhi/setuners.com/forum/arcade_sql.php on line 20
Quote from: The Scion Dragon on January 29, 2005, 01:10:27 AM
When installing i get this when trying to run arcade_sqlQuoteFatal error: [] operator not supported for strings in /hsphere/local/home/adminkhi/setuners.com/forum/arcade_sql.php on line 20
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;
Quote from: The Scion Dragon on January 29, 2005, 01:30:33 PMGo to Administration Center ---> Edit Permissions
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
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!!
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.
Quote from: John on January 30, 2005, 04:49:37 PMQuote 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?
Quote from: Mattitude on January 29, 2005, 02:30:25 PMQuote from: The Scion Dragon on January 29, 2005, 01:30:33 PMGo to Administration Center ---> Edit Permissions
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
Then set the permissions to access and use the arcade.
Quote from: Minion on January 31, 2005, 11:47:27 PMQuote from: Mattitude on January 29, 2005, 02:30:25 PMQuote from: The Scion Dragon on January 29, 2005, 01:30:33 PMGo to Administration Center ---> Edit Permissions
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
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!
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
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
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
Quote from: Klaas Koopman on February 02, 2005, 02:36:06 PMEnter your FTP and CHMOD 777 this files:
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
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
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?
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?
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?
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?
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...
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]
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
8: Use of undefined constant highscore - assumed 'highscore'
File: /home/mywebsite.com/public_html/smf/Sources/Arcade.php
Line: 200
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'];
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?
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'];
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
Quote from: Niko on January 30, 2005, 01:18:15 PM
http://www.kanetti.fi/~pahajoki/.smf/perm.JPG
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:Code Select2: 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
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 AMQuote 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:Code Select2: 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.
Quote from: Douglas on January 30, 2005, 03:32:54 PMFixed those
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.
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.
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!
Quote from: Niko on February 04, 2005, 03:38:53 PMQuote 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?
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.
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?
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
8: Undefined index: game
File: /mywebsite.com/public_html/smf/Sources/Arcade.php
Line: 554
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
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
$per_sivu = $modSettings[arcade_highscores_per_page];
$per_sivu = $modSettings['arcade_highscores_per_page'];
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>";
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>";
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: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. :)
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
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.
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)
Quote from: Tony on February 07, 2005, 06:25:20 PMQuote 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?
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.
Table 'raclan_forums.smf_games' doesn't exist
File: /xxx/xxx/public_html/Sources/Arcade.php
Line: 738
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
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');
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/
Quote from: Jerry on February 08, 2005, 04:43:23 AM
I ran the SQL installer but I get this after install:Code SelectTable '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:Code SelectRunning 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?Code SelectCREATE 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');
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...
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?
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 !
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?
Quote from: Sig on February 09, 2005, 05:02:56 AMQuote 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
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.
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
Quote from: John on February 08, 2005, 07:53:53 AMQuote 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
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.Code Select
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.
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)
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',
)
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
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
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 phpmyadminCode Select
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 itCode Select
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 tableCode Select
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.
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 phpmyadminCode Select
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 itCode Select
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 tableCode Select
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.
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 ;
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
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
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.
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;
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
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'
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
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'';
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.
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
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 errorCode Select
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?
Quote from: _complex on February 15, 2005, 02:55:21 PM
Hmm I did like thisCode SelectINSERT 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
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... thanksQuote from: _complex on February 15, 2005, 02:55:21 PM
Hmm I did like thisCode SelectINSERT 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
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'';
<?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);
?>
QuoteTable 'smf_games_champ' doesn't exist[EDIT - Nevermind, forgot you had to use the php installation file too]
File: /home/httpd/vhosts/---/httpdocs/community/Sources/Display.php
Line: 546
Quote from: Niko on February 17, 2005, 08:00:57 AMQuote from: _complex on February 16, 2005, 11:14:25 PM
How can i solve this? when i input that.. i get the error below... thanksQuote from: _complex on February 15, 2005, 02:55:21 PM
Hmm I did like thisCode SelectINSERT 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 ;
likeCode SelectINSERT 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'));
QuoteTable 'jazhawk_astroboy.smf_games' doesn't exist
File: /home/jazhawk/public_html/forum/Sources/Arcade.php
Line: 875
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
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!
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.
// 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'];
Unable to load the 'challenge' template.
Quote from: John on February 20, 2005, 02:43:22 PMQuote 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
Quote from: bigamers.com on February 20, 2005, 10:33:12 PMQuote from: John on February 20, 2005, 02:43:22 PMQuote 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?
/* 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__);
/* 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__);
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
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'];
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 ?
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.
Quote from: Aravot on February 23, 2005, 05:10:32 PMQuote 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.
QuoteUnknown column 'dsc' in 'field list'
File: /home/trekkie1/public_html/place/Sources/Arcade.php
Line: 934
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?
Quote from: Trekkie101 on February 24, 2005, 05:06:57 PM
I dunno for sure but im gettingQuoteUnknown column 'dsc' in 'field list'
File: /home/trekkie1/public_html/place/Sources/Arcade.php
Line: 934
When trying to install a game.
Quote from: maufonseca on February 22, 2005, 05:21:44 PMAnyone saw my post?
I upgraded to 1.0.2, but now I cant enter the Arcade Admin; It redirects me to my forum's index
Quote from: maufonseca on February 24, 2005, 10:18:50 PMQuote from: maufonseca on February 22, 2005, 05:21:44 PMAnyone saw my post?
I upgraded to 1.0.2, but now I cant enter the Arcade Admin; It redirects me to my forum's index
Quote from: John on February 24, 2005, 10:53:58 PM
Hi, everyone can you please read your arcade news in your arcadeadmin panel
Quote from: maufonseca on February 24, 2005, 10:18:50 PMQuote from: maufonseca on February 22, 2005, 05:21:44 PMAnyone saw my post?
I upgraded to 1.0.2, but now I cant enter the Arcade Admin; It redirects me to my forum's index
'arcade' => array('Arcade.php','Arcade'),
'arcadeadmin' => array('Arcade.php', 'ArcadeAdmin'),
Quote from: Aravot on February 25, 2005, 02:15:50 AMQuote 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
Quote from: Aravot on February 25, 2005, 02:15:50 AMQuote 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
Quote from: Niko on February 25, 2005, 06:47:16 AMQuote from: Aravot on February 25, 2005, 02:15:50 AMQuote 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?
QuoteSMF Arcade Install & Update toolWhen I click on Step 2, I got:
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
QuoteSMF Arcade Install & Update toolI 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.
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
Quote from: John on February 24, 2005, 08:12:38 AMQuote from: Aravot on February 23, 2005, 05:10:32 PMQuote 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.
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.
Quote from: trenchteam on February 26, 2005, 08:10:31 PM
HOw do i add the champion name under the avatar in Custom themes?
Quote from: Niko on February 26, 2005, 05:19:24 AM
Seems like your arcade_sql.php is old version upload it with ftp
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
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.
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 />';
}
}
Quote from: flapper on March 02, 2005, 10:39:28 AMQuote 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(
QuoteTable 'db119726169.sidigames_caterogy' doesn't exist
File: /[munged]/Sources/Arcade.php
Line: 861
/* 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';
$tables[][0] = $db_prefix.'games_category';
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?
Quote from: Nietha on March 06, 2005, 02:43:31 AMQuote 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.
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?Code Select
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 />';
}
}
// 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
// Now print the second column where the members avatar/text is shown.
echo '
Parse error: parse error, unexpected T_STRING in /client/milossa/public_html/board/Games/parasites.swf on line 369
QuoteInvalid argument supplied for foreach()
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:Code Select
$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???
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
Quote2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
QuoteArcade.php
Arcade2.php
arcade_custom.php
arcade_custom.zip
ArcadeAdmin.php
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 filesQuoteArcade.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
Quote from: Niko on March 17, 2005, 04:23:30 PMQuote 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 filesQuoteArcade.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
Quote2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
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
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
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'];
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
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
QuoteI have this error but every time I try and go to arcade it takes me to arcade admin.
Quote from: nokonium on March 17, 2005, 05:50:24 PM
all the champions have double sets of awards. :-X
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 />';
}
}
Quote from: champi.nl on March 18, 2005, 05:48:42 AMQuoteI 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..
???
Quote from: Niko on March 20, 2005, 12:53:38 PM
1.1.3 released! go grab it
2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /home/fertilit/public_html/forum/index.php
Line: 119
Quote2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /mysite.com/smf/index.php
Line: 121
// What function shall we execute? (done like this for memory's sake.)
call_user_func(smf_main());
Quote from: Niko on March 22, 2005, 09:14:19 AM
check that index.php has ArcadeAdim => 'ArcadeAdmin.php' not Arcade.php
'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),
'arcadeadmin' => array('Arcade.php', 'ArcadeAdmin'),
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
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";
}
}
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.
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
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
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?
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
Quote from: ashvin on April 07, 2005, 01:15:04 PMyou have to add the permission for their user groups
it says
You arent allowed to view arcade, sorry
when my members try 2 access, ive already enabled in arcade
Quote from: olti on April 09, 2005, 07:30:23 PM
Ok, I have installed SMF Arcade! How to install games?
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...
Quote from: profile on April 09, 2005, 07:47:00 PMQuote 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 >
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
Quote from: profile on April 12, 2005, 06:59:30 AM
use the forum admin, then click on arcade, then categorys
Quote from: chupacabra on April 14, 2005, 09:05:19 AM
is this mod compatible with 1.0.3 now?
Quote from: rmb on April 13, 2005, 04:12:35 AMQuote 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
Quote from: chupacabra on April 14, 2005, 09:05:19 AM
is this mod compatible with 1.0.3 now?
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
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 reasonscan somone help me?
File: /data/members/free/tripod/uk/s/p/a/sparks/htdocs/SMF/getid3/getid3.php
Line: 60
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 reasonscan somone help me?
File: /data/members/free/tripod/uk/s/p/a/sparks/htdocs/SMF/getid3/getid3.php
Line: 60
Quote from: Niko on April 20, 2005, 05:25:33 PMI no, I don't like it either, right now, my real host (hiya-host) got hacked and they are recoveringQuote 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 reasonscan somone help me?
File: /data/members/free/tripod/uk/s/p/a/sparks/htdocs/SMF/getid3/getid3.php
Line: 60
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;
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.
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.
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!
Quote from: kindred on April 24, 2005, 10:34:59 AMQuote 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)
Quote from: profile on April 09, 2005, 07:52:41 PMQuote 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.
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 ;)Quote from: kindred on April 24, 2005, 06:46:22 PMbut i'd enabled the arcade well ahead of discovering the error ;)
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
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?
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.Appreciate the input, thanks
-[Unknown]
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]
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
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
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 ???
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 ...
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 ??
Quote from: Bigguy on May 08, 2005, 10:56:25 PM
Thats nuts ...my first time in here and that happens ....wow man :'(
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
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.
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.
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
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
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
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.
Quote from: Yann on May 09, 2005, 05:25:26 PMOpen the arcade_sql.php and find the code creating the table and run the raw sql in phpmyadmin or something
ok it's not possible to have a simply sql file ............
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"?
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.
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?
Quote from: OIDanTheManIO on May 09, 2005, 12:38:23 AMQuote 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
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)
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 :-[
Quote from: eddie43302 on May 21, 2005, 09:55:45 PMexacully what happend to me m8, i really wanted it :(
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!
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
/* 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))
/* 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))
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
Quote from: LFC4EVA on May 22, 2005, 09:33:59 AM
How do i install a game?
Quote from: LFC4EVA on May 22, 2005, 07:13:27 AMQuote from: eddie43302 on May 21, 2005, 09:55:45 PMexacully what happend to me m8, i really wanted it :(
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!
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 :(
Quote from: NitroRich on May 22, 2005, 04:48:54 PMhere is the exact error i got after i hit apply mod in the package manager i didnt do anything else.Quote from: LFC4EVA on May 22, 2005, 07:13:27 AMQuote from: eddie43302 on May 21, 2005, 09:55:45 PMexacully what happend to me m8, i really wanted it :(
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!
were you getting errors on the permissions.php? or perhaps give some permissions would do it.
QuoteTable 'user_14351.smf_games_champ' doesn't exist
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
Quote from: Niko on May 23, 2005, 03:43:20 PMQuote 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
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
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
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'
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..
Quote from: ArkServer on May 23, 2005, 04:38:49 PMQuote 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
Quote from: Niko on May 24, 2005, 01:53:19 PMDid they fix that in arcade 1.2.0 then?
it is alerdy fixed or so i remember
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.
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,
),
2: Invalid argument supplied for foreach()
File: /home/hwwepa08/public_html/board/Sources/ManagePermissions.php
Line: 1083
),
'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,
),
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
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'))
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'])
);
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 |
Quote from: Niko on May 25, 2005, 09:03:59 AM
Smf arcade 1.2 seems to have few bugs...
Quote from: nokonium on May 30, 2005, 03:27:34 PMQuote 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)
Quote from: johnm on May 30, 2005, 06:27:57 PM
the balls in your court...
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 ;)
Quote from: nokonium on May 31, 2005, 02:33:14 AMQuote 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.
Quote from: rider on May 31, 2005, 12:36:58 PM
Until the bugs are worked just use 1.1.3
QuoteAs for the invalid cert.As far as I know it is valid.
Quote from: nokonium on May 31, 2005, 01:08:21 PMQuote 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.
Quote from: Niko on May 31, 2005, 03:45:15 PM
You can also post to smfgames forum...
Quote from: Niko on June 01, 2005, 09:21:25 AMDoes that mean i also have to upload arcade.xml and the other .xml?
make sure you have upload ArcadeAdmin.php and others
Quote from: AlexHobbs on June 01, 2005, 09:28:05 AMRight ive uploaded every single file in the zip and it still comes up with the same error?Quote from: Niko on June 01, 2005, 09:21:25 AMDoes that mean i also have to upload arcade.xml and the other .xml?
make sure you have upload ArcadeAdmin.php and others
Quote from: nokonium on June 01, 2005, 08:33:25 AMQuote 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)
Quote from: AlexHobbs on June 01, 2005, 09:43:01 AMQuote from: AlexHobbs on June 01, 2005, 09:28:05 AMRight ive uploaded every single file in the zip and it still comes up with the same error?Quote from: Niko on June 01, 2005, 09:21:25 AMDoes that mean i also have to upload arcade.xml and the other .xml?
make sure you have upload ArcadeAdmin.php and others
I've run arcade_sql.php to install it and it still dosent work
Quote from: caNcer_b0y on June 01, 2005, 11:56:05 PMQuote from: AlexHobbs on June 01, 2005, 09:43:01 AMQuote from: AlexHobbs on June 01, 2005, 09:28:05 AMRight ive uploaded every single file in the zip and it still comes up with the same error?Quote from: Niko on June 01, 2005, 09:21:25 AMDoes that mean i also have to upload arcade.xml and the other .xml?
make sure you have upload ArcadeAdmin.php and others
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. :)
Quote from: Harro on June 02, 2005, 07:11:40 AMYea im experiencing that - only the players who played it can view the results is there any way to make them public?
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?
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?
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?
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
Quote from: Niko on June 02, 2005, 12:47:29 PMQuote 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
Quote from: nokonium on June 02, 2005, 01:30:11 PMQuote 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.
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
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.
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.
Quote from: Niko on June 06, 2005, 10:30:13 AM
you didnt run aracde_sql.php some servers require it to ran twice
QuoteTable 'michiga1_smf1.smf_games_champ' doesn't exist
File: /home/michiga1/public_html/forum/Sources/Display.php
Line: 639
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
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
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
<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'];
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.
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!
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');
Quote from: mrselnombre on June 16, 2005, 05:32:02 AMQuote 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,Code Select
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.
Quote from: Harro on June 17, 2005, 10:21:01 AMi did that and everything is fine..just when m tryin to install the game itgive that error....
Have you tried to run the sql file again?
Quote from: mrselnombre on June 17, 2005, 02:44:22 AM
make sure you are editting the right line. It worked for me.
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.
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.
Table 'albanian_smf.smf_games_champ' doesn't exist
File: /home/albanian/public_html/smf/Sources/Display.php
Line: 634
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
Quote from: the mighty gc on June 18, 2005, 11:47:17 AMQuote 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?
Quote from: OIDanTheManIO on June 18, 2005, 02:17:44 AMQuote 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
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.
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
Quote from: HindSights2020 on June 18, 2005, 12:40:22 PMhello?Quote from: OIDanTheManIO on June 18, 2005, 02:17:44 AMQuote 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?
Quote from: Niko on June 20, 2005, 05:50:13 AM
you dont have all files uploaded
Quote from: drummerkid418 on June 20, 2005, 04:31:00 PMQuote 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?
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} :'(
Quote from: HindSights2020 on June 20, 2005, 11:40:25 AMQuote from: HindSights2020 on June 18, 2005, 12:40:22 PMhello?Quote from: OIDanTheManIO on June 18, 2005, 02:17:44 AMQuote 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?
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!!!!
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
'category' => array(
'name' => &$txt['arcade_144'],
'selected' => false,
'link' => $scripturl.'?action=arcadeadmin;sa=category',
'last' => false,
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'
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 onlyCode Select'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 caterogyCode SelectFunction 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?
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
Quote from: ROGUE-Master on June 27, 2005, 08:58:03 PM
Is this compatible with 1.0.4?
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
QuoteAn Error Has Occurred!
Missing field: Category
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.
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
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!
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),
Quote from: SeaOfSin on July 04, 2005, 12:49:05 PMQuote 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
FindCode Select
'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.
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.
Quotebut you can try to edit arcade.php on line 444 and add to the query SET OPTION SQL_BIG_SELECTS=1
444 $context['arcade']['panel']['panels'][] = $game_info2;
if (allowedTo('manage_smileys'))
$context['admin_areas']['layout']['areas']['manage_smileys'] = '<a href="' . $scripturl . '?action=smileys">' . $txt['smileys_manage'] . '</a>';
if (allowedTo('admin_arcade'))
$context['admin_areas']['layout']['areas']['admin_arcade'] = '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>';
Quote from: Charge on July 08, 2005, 04:27:57 AMrun arcade_sql.php
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 ?
Quote from: Charge on July 08, 2005, 05:12:25 AMAre you using the default theme or another?
i try that, but it can't works too and somemore my whole display theme is mess up after i install it.
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)
Quotejust run query "SET OPTION SQL_BIG_SELECTS=1" (or maybe you have to add it to highscores query).
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.
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
// 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'),
'arcade' => array('Arcade.php','Arcade'),
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?
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
Connected and Selected Database
Finding tables... 114 tables in database
Table 'disciple_smf.smf_games_category' doesn't exist
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?
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?
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
Quote from: the mighty gc on July 14, 2005, 11:33:25 PMIf 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'
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?
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
Quote8: Undefined index: id
File: /home/forumzonenetru/www/Themes/default/languages/Arcade.italian.php (eval?)
Linea: 515
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?
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]";
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.
Quote from: pmp6nl on July 18, 2005, 04:34:22 AMYou are using either:
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
Quote from: Vi31 on July 17, 2005, 10:23:21 PMexactly the same as above
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.
Quote from: edi67 on July 18, 2005, 12:39:13 AMthe actual file name so from arcade.italian.php~ change it to arcade.italian.php with no ~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 ?
Quotethe actual file name so from arcade.italian.php~ change it to arcade.italian.php with no ~
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.
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]";
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?Code SelectYou 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.Code SelectTable '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.
Fatal error: Call to undefined function: parse_bbc() in /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php on line 280
$top10[$i]['comment'] = parse_bbc("[i]{$txt['arcade_25']}[/i]");
8: Undefined variable: latest
File: /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php
Line: 495
return $latest;
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
Quote from: AlexHobbs on July 18, 2005, 10:00:05 AMQuote from: pmp6nl on July 18, 2005, 04:34:22 AMYou are using either:
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
the wrong forum version to go with the arcade you are trying to use or...
try using arcade_sql.php againQuote from: Vi31 on July 17, 2005, 10:23:21 PMexactly the same as above
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.Quote from: edi67 on July 18, 2005, 12:39:13 AMthe actual file name so from arcade.italian.php~ change it to arcade.italian.php with no ~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 ?
Hope it helps you 3 :)
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.
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
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
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
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.
Quote from: oldmanwolf on July 22, 2005, 03:54:55 AMQuote 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?
Parse error: parse error, unexpected T_FUNCTION in /home/xxxxxx/public_html/xxxxxxxxxx/Sources/Arcade2.php on line 305
Quote from: BSDBILL4 on July 22, 2005, 01:03:19 PMIt could be that you hadn't fully uploaded the flash files, try re-uploading them.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
Quote from: oldmanwolf on July 22, 2005, 03:54:55 AMQuote 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?
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?
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 />';
}
}
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
Quote from: nokonium on July 25, 2005, 03:26:47 PMQuote 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.Code Selectif(@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 />';
}
}
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.
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.
Quote8: Undefined index: member
File: /home/u1/libo/html/Themes/default/languages/Arcade.english.php (eval?)
Line: 220
Quote8: Undefined index: member
File: /home/u1/libo/html/Sources/Arcade.php
Line: 434
Quote8: Undefined index: memberid
File: /home/u1/libo/html/Sources/Arcade2.php
Line: 454
Quote from: littleone on July 24, 2005, 09:16:48 AMQuote from: oldmanwolf on July 22, 2005, 03:54:55 AMQuote 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:Code SelectParse error: parse error, unexpected T_FUNCTION in /home/xxxxxx/public_html/xxxxxxxxxx/Sources/Arcade2.php on line 305
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 thisQuote8: Undefined index: memberid
File: /home/u1/libo/html/Sources/Arcade2.php
Line: 454
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 }
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:-Code Selecthttp://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 :)
/* 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;
Quote from: Libo on July 31, 2005, 09:40:02 AM
use this code instead of the normal code:Code Select/* 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.
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?
Quote from: littleone on July 24, 2005, 09:16:48 AMQuote from: oldmanwolf on July 22, 2005, 03:54:55 AMQuote 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:Code SelectParse error: parse error, unexpected T_FUNCTION in /home/xxxxxx/public_html/xxxxxxxxxx/Sources/Arcade2.php on line 305
Quote from: Libo on July 31, 2005, 02:40:02 PMQuote 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 ";
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> ';
}
}
}
Got it from smfgames. I dont know what you mean by that came shown without to go to head for every game
$x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['memberid']}', game='{$arr['game']}', stime='{$top[0]['time']}'";
$x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['member']}', game='{$arr['game']}', stime='{$top[0]['time']}'";
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>";
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>";
if(isset($user_profile[$score['member']]))
{
$top10[$i]['member'] = $user_profile[$score['member']];
}
else
{
$top10[$i]['memberid'] = $score['member'];
}
$x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['memberid']}', game='{$arr['game']}', stime='{$top[0]['time']}'";
$x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['member']}', game='{$arr['game']}', stime='{$top[0]['time']}'";
$game_info .= "<b>{$txt['arcade_7']}</b>: {$context['arcade']['top10'][0]['member']}<br /><b>{$txt['arcade_1']}</b>: {$context['arcade']['top10'][0]['score']}<br />";
$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 />";
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?
Quote from: Evolution-8 on August 03, 2005, 02:32:41 AMQuote 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.
Quote from: scrawl on August 03, 2005, 02:51:02 AMQuote from: Evolution-8 on August 03, 2005, 02:32:41 AMQuote 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
Quote from: WhyMan on April 24, 2005, 05:20:23 PM
HI there,
Anyone seen this error b4?Code Select8: Undefined index: version
Looked at the Arcade.english.php and this is what i get at line 421?
File: /home/compfree/public_html/forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 421Code Select$txt['arcade_185'] = "Click here to join";
Now for some reason only admins can see & play the games.. Global mods & users getCode SelectAn Error Has Occurred!
heh i'm pretty sure i've got the permissions right, any input or resolve would be greatly appreciated ;)
You arent allowed to view arcade, sorry!
Cheers.. 8)
'arcade' => array( /* Lisätty */
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
)
Quote'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => false,
),
/////////////////// 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 {
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...
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...
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...
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.
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.
Quote2: Division by zero
File: /home/xxxxxx/public_html/community/Sources/Subs.php
Line: 582
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.
Quote from: pmp6nl on August 05, 2005, 10:27:38 PMQuote 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
Quote from: oldmanwolf on August 06, 2005, 01:01:40 AMQuote from: pmp6nl on August 05, 2005, 10:27:38 PMQuote 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...
'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,
),
Quote from: Libo on August 06, 2005, 02:05:31 AM
Code Select'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
Quote from: trenchteam on August 06, 2005, 03:21:12 AM
Im using 1.05 of SMF. Can I use the latest Arcade?
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?
'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,
)
),
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
echo "<span class=\"smalltext\"><a href=\"http://www.pahajoki.info\">SMF Arcade {$context['arcade']['version']}</a> © Niko Pahajoki 2004-2005</span>";
echo "<span class=\"smalltext\"><a href=\"http://www.pahajoki.info\">SMF Arcade 1.1.3</a> © Niko Pahajoki 2004-2005</span>";
Quote3. Execute Modification Sources/Subs.php Test failedQuoteso I just stopped installation. I have tried suggestions from others, like looking for this line:Quoteif (allowedTo('manage_smileys'))and adding this after it:
$context['admin_areas']['config']['areas']['manage_smileys'] = '<a href="' . $scripturl . '?action=smileys">' . $txt['smileys_manage'] . '</a>';Quoteif (allowedTo('admin_arcade'))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?).
$context['admin_areas']['config']['areas']['admin_arcade'] = '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>';
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.
Quote from: trenchteam on August 06, 2005, 03:21:12 AM
Im using 1.05 of SMF. Can I use the latest Arcade?
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
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)
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
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)
Quote from: johnm on August 10, 2005, 03:55:23 PM
how about a flash tutorial?
on (release) {
game = "my_freakazoid_game";
score = _root.my_score
getURL("index.php?action=arcade", "_self", "POST");
}
game = "my_freakazoid_game";
score = _root.my_score
getURL("index.php?action=arcade", "_self", "POST");
Quote from: demon1975 on August 11, 2005, 08:14:46 AMGo to the admin panel and click permissions then modify the member permissions.
The mode made my permissions page not work and my members can't play the game only admins, what are the fixes to this?
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
/* 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;
/* 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;
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.
8: Undefined variable: i
File: /home/xxxxxx/public_html/community/Sources/Display.php
Line: 551
?topic=477.0
$context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default
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.Code Select8: Undefined variable: i
File: /home/xxxxxx/public_html/community/Sources/Display.php
Line: 551
?topic=477.0
What's the problem?
Thanks.
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
Quote from: tentronik on August 12, 2005, 07:22:48 PM
Which version you are using and where did you downloaded it?
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.
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! :(
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
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.
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.
'admin' => array('Admin.php', 'Admin')
'arcade' => array('Arcade.php','Arcade'),
'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),
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'];]]>
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'];]]>
'edit_mods_settings' => '<a href="' . $scripturl . '?action=modifyModSettings">' . $txt['modSettings_title']
'admin_arcade' => '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>',]]>
'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,
),
$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";
', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';
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 />';
}
}
$attachments = array();
/* 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;
Quote from: tentronik on August 13, 2005, 07:58:13 PM
After this past:Code Select'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),
),
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
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?
Quote from: pmp6nl on August 13, 2005, 09:07:36 PMQuote 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,
),
Quote from: 1stStrike on August 13, 2005, 09:23:12 PMRight version? And did you tried the arcade_sql.php yet to check the database.
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?
Quote from: tentronik on August 13, 2005, 09:27:50 PMQuote from: pmp6nl on August 13, 2005, 09:07:36 PMQuote 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?
ThanksCode Select
'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 PMRight version? And did you tried the arcade_sql.php yet to check the database.
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?
And what does the forum error log showing?
),
'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',
);
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 ?
<?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(
-1 => 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
),
0 => 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'] != 3 ? $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'] == -1 ? "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'] == -1 ? "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'] == 1 ? '(' . $txt['permissions_all'] . ')' : 0,
'denied' => $row['ID_GROUP'] == 1 ? '(' . $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_string, 0, -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_string, 0, -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']) ? 0 : (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'] != 3 && !$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'] != 3 && 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(1, false);
}
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'] == -1 && 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]);
}
}
}
?>
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 :))
'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(
'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(
Quote from: pmp6nl on August 13, 2005, 09:07:36 PMQuote 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
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!
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 ) ),
Quote from: nokonium on August 14, 2005, 02:37:14 AMQuote 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.
'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,
),
'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,
)
),
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...
Quote from: pmp6nl on August 14, 2005, 03:33:54 AMQuote 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
Quote from: oldmanwolf on August 14, 2005, 03:36:44 AMQuote from: pmp6nl on August 14, 2005, 03:33:54 AMQuote 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!
$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,
)
)
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!
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.
foreach ($permissionArray as $perm => $has_own_any)
{
if (isset($context['group']['id']) && $context['group']['id'] == -1 && in_array($perm, $non_guest_permissions))
continue;
2: Invalid argument supplied for foreach()
File: /home/commun14/public_html/forum/Sources/ManagePermissions.php
Line: 1090
Quote from: gizmo28 on August 14, 2005, 10:39:39 PMFind a flash game and contact the author about it. YOu just need to assign a getURL actionscript inside the flash movie when submitting scores.
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.
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.
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?
QuoteGames Directory (Path): /homepages/20/d107436098/htdocs/bb/bb/Games
Games Directory (Url): http://www.mypowerforum.com/bb/Games
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.
Quote from: johnm on August 15, 2005, 11:16:06 AMQuote 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
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 />';
}
}
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 />';
}
}
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)
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.
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!
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.
Quote from: johnm on August 17, 2005, 03:55:02 PM
debuging the mod
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
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),
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?
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:Code Select'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),
Any ideas?
Thanks
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?
Quote from: rider on August 28, 2005, 10:12:30 AMQuote 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:Code Select'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.
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.
Quote from: pmp6nl on August 28, 2005, 01:16:58 PMQuote from: rider on August 28, 2005, 10:12:30 AMQuote 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:Code Select'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
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?
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?
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?
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.
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
Quote from: rider on August 28, 2005, 10:14:08 AMQuote 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
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.
<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'];
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
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
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
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
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
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?
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
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.
Quote from: diane_tt on September 02, 2005, 09:20:01 PMQuote 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?
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
Quote from: diane_tt on September 03, 2005, 02:05:48 AMQuote 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 !
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
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
Quotehttp://img22.imageshack.us/img22/4396/nopicshow0hw.jpgThe 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
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
Quote from: diane_tt on September 03, 2005, 10:18:06 PMif 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.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?
Quote from: Jazhawk on September 03, 2005, 10:22:43 PMlol me agrees, but it's a great great great thing!! :D
Either method of recovery would work I suppose. I've boogered up SMF a few times before it made sense to me. ;)
-Jazhawk
Quote from: rider on September 03, 2005, 11:23:14 PMQuote from: diane_tt on September 03, 2005, 10:18:06 PMif 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.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?
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
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
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.
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.
<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>
<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>',]]>
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:
Arcade2Code Select<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>
ArcadeCode Select<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
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?
Quote from: Col on September 08, 2005, 05:31:06 PMQuote 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.
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
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
Quote from: Jay T on September 10, 2005, 11:27:40 PM
I have everything working fine but what would cause these error logs?Code Select8: 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
Quote from: htmlmaster on September 14, 2005, 09:37:37 PMmanually edit the file...dl the fresh copy.
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?
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 :/
if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
$context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default
/* 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;
/* 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;
if (allowedTo('manage_smileys'))
$context['admin_areas']['config']['areas']['manage_smileys'] = '<a href="' . $scripturl . '?action=smileys">' . $txt['smileys_manage'] . '</a>';
]]>
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>';
'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => 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,
),
Quote from: redone on September 21, 2005, 04:54:15 AMStill not working...
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 removeCode Select'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => false,
)
replace withCode Select'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
// 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 ";
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> ';
}
}
}
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 AMlook up on the post above u...
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
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.
// 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 ";
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> ';
}
}
}
echo '
</td>
</tr>
</table>
</td></tr>
</table>
</td></tr>';
}
echo '
<tr><td style="padding: 0 0 1px 0;"></td></tr>
</table>
/* 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;
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: }
QuoteNo they don't:
The edits for the permissions do work.
Parse error: parse error, unexpected ',', expecting ')' in /home/b2l1483/public_html/webforum/Sources/ManagePermissions.php on line 1000
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.
Quote from: htmlmaster on September 23, 2005, 09:24:15 PMQuoteNo they don't:
The edits for the permissions do work.Code Select
Parse error: parse error, unexpected ',', expecting ')' in /home/b2l1483/public_html/webforum/Sources/ManagePermissions.php on line 1000
Quote from: htmlmaster on September 23, 2005, 09:24:15 PMQuoteNo they don't:
The edits for the permissions do work.Code Select
Parse error: parse error, unexpected ',', expecting ')' in /home/b2l1483/public_html/webforum/Sources/ManagePermissions.php on line 1000
),
'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,
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
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
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?
Quote from: Nbtk on September 25, 2005, 09:13:36 PM
Hi,
Try to chmod it to 755, it worked for me.
Quote from: redone on September 21, 2005, 04:54:15 AMlook. at previous posts..
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 removeCode Select'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => false,
)
replace withCode Select'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
QuoteYou arent allowed to view arcade, sorry!
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.
Quote from: dtm.exe on September 28, 2005, 12:59:49 AMI think www.snmarcade.comQuote 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?
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.
Quote from: v3x on September 30, 2005, 09:33:57 AM
How do I install games? :-\
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?
Undefined variable: game
Файл: /home/somename/public_html/blablabla/Sources/Display.php
line: 700
if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
Quote from: Uzbek on October 04, 2005, 02:15:46 AM
My arcade gives me the following error:Code SelectUndefined variable: game
Файл: /home/somename/public_html/blablabla/Sources/Display.php
line: 700
This is my 700 line:Code Selectif(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
Quote from: mflintjer on October 03, 2005, 07:09:46 AMIf 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.
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!!
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.
/* 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;
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.
Quote from: johnm on October 05, 2005, 05:12:57 AMCode Select/* 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;
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.
Quote from: caNcer_b0y on October 05, 2005, 01:56:19 PMQuote 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...
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
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.
Quote from: Purple on October 06, 2005, 01:16:15 AMQuote 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.
Quote from: Purple on October 06, 2005, 01:16:15 AMQuote 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.
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.
Quote from: Purple on October 06, 2005, 11:20:30 AMQuote 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.
Quote from: Niko on October 06, 2005, 01:49:07 PM
Indeed code is not very good but its better than it was first
Quote from: Purple on October 06, 2005, 03:50:07 PMQuote 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!'
Quote from: Niko on October 07, 2005, 08:20:37 AM
Next version will work with 1.1 RC1
Quote from: Uzbek on October 07, 2005, 08:25:33 AM
Hmm. It is working for me now! :)
Quote from: Lisah746 on October 07, 2005, 08:37:44 AMQuote from: Niko on October 07, 2005, 08:20:37 AM
Next version will work with 1.1 RC1
Any time frame on that?
Thanks
Quote from: rider on October 07, 2005, 08:48:14 AMQuote 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
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.
Quote from: Lisah746 on October 07, 2005, 09:19:14 AMQuote from: rider on October 07, 2005, 08:48:14 AMWell 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.Quote from: Uzbek on October 07, 2005, 08:25:33 AMDid 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
Hmm. It is working for me now! :)
Quote from: Lisah746 on October 07, 2005, 09:19:14 AMWhen you are in your admin panel and in the arcade admin did you enable the arcade?Quote from: rider on October 07, 2005, 08:48:14 AMQuote 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.
Quote from: rider on October 07, 2005, 12:14:54 PM
OK Did you try and run the arcade_sql.php more than once?
Quote from: Lisah746 on October 07, 2005, 12:25:17 PMQuote 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?
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?
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?
Quote from: Niko on October 07, 2005, 05:39:23 PMQuote 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'),
QuoteSMF Arcade Install & Update toolFunny 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?
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
Quote from: greyknight17 on October 09, 2005, 07:48:21 PMI 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.
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.
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!!!
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.
Quote from: Stucknut on October 09, 2005, 11:50:30 PMYou can try this link here its working....http://smfarcade.arcade.web.com/
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?
Quote from: greyknight17 on October 09, 2005, 10:48:44 PMYou shouldn't have to delete them.Just copy over and see if that works.If not then delete one and replace it.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.
Quote from: rider on October 10, 2005, 12:56:15 AMHi rider, I tried even putting up a new game (upload both swf and gif files) and images are still not showing up :'(Quote from: greyknight17 on October 09, 2005, 10:48:44 PMYou shouldn't have to delete them.Just copy over and see if that works.If not then delete one and replace it.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.
Quote from: ExistenZ on October 11, 2005, 04:13:39 PMHere we go: http://www.flashplayer.com/games/curveball.html
Do you have a link to where this game can be downloaded?
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.
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?
Quote from: rider on October 15, 2005, 10:48:19 AMhmm. 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?
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.
Quote from: Salamence on October 16, 2005, 03:14:09 AMQuote from: rider on October 15, 2005, 10:48:19 AMhmm. 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?
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.
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!!!
Quote from: rider on October 17, 2005, 12:00:48 PMQuote 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.
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
8: Undefined variable: game
File: /home/stingah/public_html/xfactor/Sources/Display.php
Line: 576
if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
8: Undefined variable: i
File: /home/stingah/public_html/xfactor/Sources/Display.php
Line: 573
$context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default
global $game, $i;
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
// 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...
Quote from: deathwantsme on October 23, 2005, 01:36:45 PM
how do you "run" a file in cPanel?
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
global $member;
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'];
}
echo '<br />'.$bullet.'<a href="', $scripturl, '?action=pm">' .$txt['tp-pm'].' ', $context['user']['messages'], '</a>';
Quote from: oldmanwolf on July 18, 2005, 02:59:00 PM
At the same time, I'm getting this error in the Admin log...Code Select8: Undefined variable: latest
File: /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php
Line: 495
line 495:Code Selectreturn $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? :-\
Quote from: Sting on October 23, 2005, 04:56:23 PMQuote 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.phpCode Selectecho '<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.
Quote from: RoarinRow on October 24, 2005, 12:12:18 AMQuote from: oldmanwolf on July 18, 2005, 02:59:00 PM
At the same time, I'm getting this error in the Admin log...Code Select8: Undefined variable: latest
File: /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php
Line: 495
line 495:Code Selectreturn $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!
global $context, $user_info, $db_prefix, $modSettings, $latest;
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 AMQuote from: oldmanwolf on July 18, 2005, 02:59:00 PM
At the same time, I'm getting this error in the Admin log...Code Select8: Undefined variable: latest
File: /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php
Line: 495
line 495:Code Selectreturn $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:Code Selectglobal $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.
Quote from: deathwantsme on October 24, 2005, 01:05:07 AM
thats going to remove the 2nd button?
Quote from: RoarinRow on October 24, 2005, 01:35:27 AMQuote 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 AMQuote from: oldmanwolf on July 18, 2005, 02:59:00 PM
At the same time, I'm getting this error in the Admin log...Code Select8: Undefined variable: latest
File: /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php
Line: 495
line 495:Code Selectreturn $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:Code Selectglobal $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.
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
Quote from: Ray on October 24, 2005, 03:09:51 AMQuote
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";
Quotehttp://smfarcade.arcade.web.com/ (Support)
Quote from: deathwantsme on October 24, 2005, 04:43:17 PMLet 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.
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?
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
Quote from: Rockboy on October 26, 2005, 01:49:55 PM
Nice modification. My Sources directory was deleted when I ran the SQL file.
Fatal error: main(): Failed opening required 'C:\****\****\kutlessrocks.com\wwwroot\board2\Sources/QueryString.php
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.
Quote from: ordered on October 27, 2005, 03:11:14 PMQuote 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?
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?
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
Quote from: rider on October 29, 2005, 10:08:36 AMI can't upload them. When I do it it com up an error "Transferd failed".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.
Quote from: Salamence on October 30, 2005, 03:49:53 AMQuote from: rider on October 29, 2005, 10:08:36 AMI can't upload them. When I do it it com up an error "Transferd failed".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.
Quote from: champi on November 03, 2005, 04:11:12 AMIt is... You just need to manually do the edits for subs.php and managepermissions.php .
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
8: Undefined index: member
Bestand: /var/www/html/smf/Themes/default/languages/Arcade.dutch.php (eval?)
Regel: 303
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
Quote from: Libo on November 04, 2005, 06:42:41 AM
err. are u using dutch?
Quote from: gh0stw4lk3r on November 04, 2005, 08:19:01 AM
what do u mean with ex-member?
Quote from: Niko on November 04, 2005, 12:22:10 PMQuote from: gh0stw4lk3r on November 04, 2005, 08:19:01 AM
what do u mean with ex-member?
member that has been removed
Quote from: gh0stw4lk3r on November 05, 2005, 04:08:58 AMQuote from: Niko on November 04, 2005, 12:22:10 PMQuote 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?
Quote from: Niko on November 05, 2005, 05:04:59 AMQuote from: gh0stw4lk3r on November 05, 2005, 04:08:58 AMQuote from: Niko on November 04, 2005, 12:22:10 PMQuote 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
if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
$i = 0;
echo "<i>Arcade Kampioen in </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> ';
/*
if( $i == 3 ){
echo "<br />";
$i = 0;
}
else {
$i++;
}
*/
}
// else
// echo '
/// ', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
if ( isset($message['member']['id']))
{
if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
$i = 0;
echo "<i>Arcade Kampioen in </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> ';
/*
if( $i == 3 ){
echo "<br />";
$i = 0;
}
else {
$i++;
}
*/
}
// else
// echo '
/// ', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
}
// 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 </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> ';
/*
if( $i == 3 ){
echo "<br />";
$i = 0;
}
else {
$i++;
}
*/
}
// else
// echo '
/// ', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
}
Quote from: Unas on November 05, 2005, 06:57:46 PM
ENige mede-Nederlanders hier?
Quote from: Libo on November 06, 2005, 11:38:05 AM
www.smfarcade.com
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.
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.
Quote from: rider on November 07, 2005, 04:54:00 PMWhat 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.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.
3. Execute Modification ./Sources/Subs.php Test failed
4. Execute Modification ./Sources/ManagePermissions.php Test failed
Quote from: Jerry on November 07, 2005, 06:41:56 PMQuote from: rider on November 07, 2005, 04:54:00 PMWhat 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.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.
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
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
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!
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.
???
Quote from: pastortravis on November 09, 2005, 10:17:21 AMGlad 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.
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!
// 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>';
// 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 ";
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'];
}
}
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
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.?
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';
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 />';
}
}
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
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.
Quote from: Jay T on November 09, 2005, 01:38:12 PMQuote 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:Code Selectecho '
', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';
Add after:Code Selectif(@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 />';
}
}
'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,
)
),
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?
Quote from: Jay T on November 09, 2005, 08:58:52 PMQuote from: Sting on November 09, 2005, 01:09:25 PMDid you do the display.php edits? And did you put the exact code I gave you?
well that seems to already be there... but nothing shows up... is there a setting that needs to be changed?
Quote from: Jay T on November 09, 2005, 08:58:52 PMQuote 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?
Quote from: Sting on November 09, 2005, 09:30:26 PMQuote from: Jay T on November 09, 2005, 08:58:52 PMQuote 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.
/* 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;
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 />';
}
}
Quote from: snork13 on November 10, 2005, 12:44:11 AMQuote from: Sting on November 09, 2005, 09:30:26 PMQuote from: Jay T on November 09, 2005, 08:58:52 PMQuote 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 filesCode Select/* 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.phpCode Selectif(@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
Quote from: rider on November 14, 2005, 02:32:50 PM
FYI.Game pack 10 has been released.Enjoy. :D
Quote from: Aravot on November 14, 2005, 02:58:05 PMThanks for letting me know.IQuote 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'
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?
Quote from: stevebor1 on October 26, 2005, 04:03:37 PMany help please.
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?
Quote from: mj_4_emma on November 15, 2005, 07:53:33 AM
it says.. my games directory is invalid
Quote from: stevebor1 on November 15, 2005, 03:52:41 PMQuote from: stevebor1 on October 26, 2005, 04:03:37 PMany help please.
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?
Quote from: Sting on November 10, 2005, 06:03:55 AMQuote from: snork13 on November 10, 2005, 12:44:11 AMQuote from: Sting on November 09, 2005, 09:30:26 PMQuote from: Jay T on November 09, 2005, 08:58:52 PMQuote 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 filesCode Select/* 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.phpCode Selectif(@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 ;)
Quote from: rider on November 15, 2005, 06:50:12 PM
Make sure your games path and url directories are correct.
Quote from: rider on November 15, 2005, 06:54:28 PMQuote 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?
Quote from: redone on November 16, 2005, 03:31:05 PM
The path cannot be correct if the images do not show.
~redone
Quote from: redone on November 16, 2005, 04:26:54 PM
I will take a look at this for you. ;)
~redone
Quote from: deathwantsme on November 16, 2005, 09:41:33 PM
whats the URL for the 1.1RC1 version?
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?
Quote from: deathwantsme on November 16, 2005, 10:14:37 PMHave 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.
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?
Quote from: champi on November 25, 2005, 11:49:20 AM
any update on the missing champions Icons..?
Quote from: Moocat on November 30, 2005, 04:20:56 PM
what exactly has changed?
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
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
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.
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.
Quote from: RoarinRow on December 02, 2005, 01:35:57 AMyes i get that too!
Any idea how I can fix this issue:
8: Undefined index: top10
File: /forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 219
Quote from: Niko on December 02, 2005, 12:52:48 PM
You have wrong games url
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"
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.
Quote from: PitViper on December 04, 2005, 07:40:34 AMCould you post how you fixed this. I am using the package installer as well and I am stuck with the same error.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi27.photobucket.com%2Falbums%2Fc194%2FRedDrake%2FError.jpg&hash=e1cd07b34f88469dd06984e012c4acfe9b402246)
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
Quote from: Niko on December 05, 2005, 02:40:45 PM
It works with Firefox 1.5 at least for me... and with Opera...
Quote from: Niko on December 02, 2005, 11:08:11 AM
1.2.4b is now avaible... uploading Sources directory will be enough
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.
Quote from: Elmacik on December 05, 2005, 06:12:25 PMQuote 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.
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
Quote from: Veej on December 08, 2005, 01:30:27 PMyeah!
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.
Quote from: Bigguy on December 08, 2005, 03:25:04 PMdidnt work for me :(
smf 1.0.5 does work with the arcade, I have it installed on my forums and it works great.
Quote from: Bigguy on December 08, 2005, 03:36:40 PMlucky you :) but it still doesnt work for me after trying repeatedly
I think I have my arcade closed to guests but it does run without a flaw.
Quote from: Bigguy on December 08, 2005, 04:03:39 PMwhen testing installation,
what error message are you getting
Quote from: Veej on December 08, 2005, 01:30:27 PMno...
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.
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?
Quote from: ArkServer on December 09, 2005, 11:00:11 AMdamn! it just doesnt seem to work for me!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..
Quote from: Prasad007 on December 09, 2005, 03:12:11 AMQuote from: Bigguy on December 08, 2005, 04:03:39 PMwhen testing installation,
what error message are you getting
it says "failed" for a few files
and if i continue with it
later i get a database errror!!
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.
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.
Quote from: Bigguy on December 11, 2005, 01:20:13 PMI am running SMF 1.0.5
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.
Quote from: Sven0 on December 14, 2005, 05:58:47 PM
chmoded all files to 777 but still the same error....
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?
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?
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.
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
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
<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>
'admin' => array('Admin.php', 'Admin'),
'arcade' => array('Arcade.php','Arcade'),
'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),
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'];
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'];
'edit_mods_settings' => '<a href="' . $scripturl . '?action=modifyModSettings">' . $txt['modSettings_title'] . '</a>',
'admin_arcade' => '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>',
'member_admin' => array(
'moderate_forum' => false,
'manage_membergroups' => false,
'manage_permissions' => false,
'manage_bans' => false,
'send_mail' => false,
),
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),
?>
$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";
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
Quote from: Mystical on December 04, 2005, 06:49:40 PMQuote from: PitViper on December 04, 2005, 07:40:34 AMCould you post how you fixed this. I am using the package installer as well and I am stuck with the same error.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi27.photobucket.com%2Falbums%2Fc194%2FRedDrake%2FError.jpg&hash=e1cd07b34f88469dd06984e012c4acfe9b402246)
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.
QuoteInstaller version is: 1.2.4 while Arcade version is 1.2.4b.
Quote/forum/index.php?action=arcade
8: Undefined variable: latest
File: /xxxx/xxxxx/x/x/x/xxxx/html/forum/Sources/Arcade2.php
Line: 589
$install_version = "1.2.4";
$install_version = "1.2.4b";
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
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.
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!
Quote from: DemonicInfluence on December 23, 2005, 11:42:41 AMwhat do i have to do?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...
edit_mods_settings' => '<a href="' . $scripturl . '?action=modifyModSettings">' . $txt['modSettings_title'] . '</a>',
'edit_mods_settings' => '<a href="' . $scripturl . '?action=modifyModSettings">' . $txt['modSettings_title'] . '</a>',
'admin_arcade' => '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>',
Quote from: DemonicInfluence on December 23, 2005, 12:25:50 PMwhere am i supposed to do this?
dl the subs.php and
find:Code Selectedit_mods_settings' => '<a href="' . $scripturl . '?action=modifyModSettings">' . $txt['modSettings_title'] . '</a>',
replace with:Code Select'edit_mods_settings' => '<a href="' . $scripturl . '?action=modifyModSettings">' . $txt['modSettings_title'] . '</a>',
'admin_arcade' => '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>',
Quote from: DemonicInfluence on December 23, 2005, 12:28:05 PMok thanks!
yes...
QuoteParse error: parse error, unexpected T_STRING, expecting ')' in /home/prasad00/public_html/forum/Sources/Subs.php on line 2618
Quote from: DemonicInfluence on December 23, 2005, 01:47:30 PMThank you so much!
Okay. I edited for u..
here is link to dl:
www.thehouseofpolitics.com/Subs.zip
just upload that and should work..
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
Quote from: DemonicInfluence on December 23, 2005, 01:47:30 PMit still doesnt work!
Okay. I edited for u..
here is link to dl:
www.thehouseofpolitics.com/Subs.zip
just upload that and should work..
Quote from: Prasad007 on December 24, 2005, 06:23:35 AMContinue the install. then Upload that subs.php over the original...Quote from: DemonicInfluence on December 23, 2005, 01:47:30 PMit still doesnt work!
Okay. I edited for u..
here is link to dl:
www.thehouseofpolitics.com/Subs.zip
just upload that and should work..
3. Execute Modification ./Sources/Subs.php Test failed
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?
Quote from: DemonicInfluence on December 24, 2005, 03:31:47 PMok ill try thtQuote from: Prasad007 on December 24, 2005, 06:23:35 AMContinue the install. then Upload that subs.php over the original...Quote from: DemonicInfluence on December 23, 2005, 01:47:30 PMit still doesnt work!
Okay. I edited for u..
here is link to dl:
www.thehouseofpolitics.com/Subs.zip
just upload that and should work..
3. Execute Modification ./Sources/Subs.php Test failedQuote 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
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?
Quote from: Skhilled on December 26, 2005, 06:25:58 PMThank you!
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. :)
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
Quote from: DemonicInfluence on December 29, 2005, 01:15:02 PM
i think you haven't run arcade_install.php
Quote
Client API version 4.0.23
<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>
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </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'];]]>
// Show the [Arcade] button.
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
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...
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 :(
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?
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.
Quote from: eeek on January 09, 2006, 07:28:55 AMWho's feeling brave??
Quotehigh scores are not saved all the time
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
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
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?
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.
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?
Quote from: J. S. on January 16, 2006, 04:18:41 PMQuote 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?....
Quote from: Niko on January 16, 2006, 04:39:12 PMQuote from: J. S. on January 16, 2006, 04:18:41 PMQuote 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)
Quote from: ExistenZ on January 18, 2006, 09:56:39 AMno
Ok, listen, does this mod work with RC2?
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.
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
RENAME TABLE smf_games_caterogy TO smf_games_category
Quote from: ExistenZ on January 18, 2006, 09:56:39 AM
Ok, listen, does this mod work with RC2?
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.
QuoteTable 'theinfer_smf2.smf_games_category' doesn't exist
File: /home/theinfer/public_html/demo/Sources/ArcadeAdmin.php
Line: 191
QuoteGames Directory (Path): Games Directory is invalid
Line 1729 // Can't have a one letter smiley, URL, or email!(sorry.)
Line 1730 if ($last_pos <; $pos - 1)
Line 1731 {
Quote from: Jay T on January 23, 2006, 11:55:12 AMthe latest version of SMF Arcade supports rc2 ??
Yes, it supports rc2.
Quote from: Prasad007 on January 23, 2006, 12:14:42 PMQuote from: Jay T on January 23, 2006, 11:55:12 AMthe latest version of SMF Arcade supports rc2 ??
Yes, it supports rc2.
i dont think so! it didnt work for me...
Quote from: sadiqbaig on January 20, 2006, 01:15:30 PMShould be
Parse error: parse error, unexpected ';' in /home/waplinks/public_html/wapforum/Sources/Subs.php on line 1730Code Select
Line 1729 // Can't have a one letter smiley, URL, or email!(sorry.)
Line 1730 if ($last_pos <; $pos - 1)
Line 1731 {
Line 1729 // Can't have a one letter smiley, URL, or email!(sorry.)
Line 1730 if ($last_pos < $pos - 1)
Line 1731 {
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...
QuoteFatal error: Only variables can be passed by reference in /home/bigguy/public_html/smf/Sources/Arcade2.php on line 333
Quote$top10[$i]['comment'] = censorText(doUBBC(stripslashes($score['comment'])));
http://www.hiya-host.com/forum/www.hiya-host.com/forum/Games/air_sk8ing.gif
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.
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 forCode Selecthttp://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?
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.
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
<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>
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.
$comment = doUBBC(stripslashes($score['comment']));
$top10[$i]['comment'] = censorText($comment);
Quote from: Oldiesmann on January 25, 2006, 10:39:21 AMQuote 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:Code Select$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.
// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </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.
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.Code Select// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </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
Quote from: ProcalX on January 29, 2006, 08:58:03 AMYou should check that topic on adding standard tabs to RC2.
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?
Quote from: Bigguy on January 31, 2006, 08:05:34 AMDo you get an error message?
Anyone know how to solve the problem of not being able to install games ???
Quote from: scoobyx on January 31, 2006, 05:28:39 PMDid u use Arcade 1.24 or 1.24b?
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
Quote from: baselinej70 on February 01, 2006, 07:02:37 AMI think you need to edit some file in 1.24b before installing it. Check previous posts.
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.
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?
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!!
Quote from: Kindred on February 01, 2006, 10:52:46 AMokay sorry about that. i didnt not intend to spam. wont happen again.
Prasad... please stop serial posting! edit your last message if you have something to add and no one else has posted!
Quote from: Bigguy on February 01, 2006, 11:09:59 AMhow do i do that?? please help!
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: haktanir2 on February 01, 2006, 02:05:25 AMQuote from: scoobyx on January 31, 2006, 05:28:39 PMDid u use Arcade 1.24 or 1.24b?
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
Quote from: Jay T on February 01, 2006, 01:56:00 PMThank you!!
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. :)
Quote2. Execute Modification ./Themes/default/index.template.php Test failed
3. Execute Modification ./Sources/Subs.php Test failed
Quote from: Bigguy on February 18, 2006, 04:14:02 PM
Make a directory in temp called Games and chmod it to 777.
Quote from: uchiha sasuke on February 25, 2006, 03:41:09 AM
It Isn't out for SMF 1.1RC2 yet huh??
Quote from: dieselv2 on February 26, 2006, 08:20:12 AM
where? I can only see arcade download with manual edits for RC2
Quote
2. Execute Modification ./Themes/default/index.template.php Test failed
3. Execute Modification ./Sources/Subs.php Test failed
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
Quote from: campusimpact on March 03, 2006, 06:24:53 PM
i get two test fails they areQuote
2. Execute Modification ./Themes/default/index.template.php Test failed
3. Execute Modification ./Sources/Subs.php Test failed
how do i fix this?
Quote2. Execute Modification ./Themes/default/index.template.php Test failed
3. Execute Modification ./Sources/Subs.php Test failed
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
Quote from: DemonicInfluence on March 04, 2006, 12:27:57 PMQuote from: campusimpact on March 03, 2006, 06:24:53 PM
i get two test fails they areQuote
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
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
QuoteThis is the only arcade block she has.
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
Quote from: DemonicInfluence on March 22, 2006, 06:45:33 AM
Caterogy is the mysql database spelling wrong.. change the table to category.
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.
Quotein line 993?It sounds like you put the code in the wrong location.
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]
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?
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??
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!
Quote from: Bigguy on April 19, 2006, 03:27:37 AM
try going here (http://www.smfarcade.net/)
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!
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?
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
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.
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.
Quoteusaalpine
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
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.....
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
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.
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.
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
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?
Quote from: DemonicInfluence on August 07, 2006, 07:35:14 PM
Umm.. reupload the arcadeadmin.template.php into your theme directory..
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
<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'];
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
Quote2. Execute Modification ./Themes/default/index.template.php Test failed
10. Execute Modification ./Sources/Who.php Test failed
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 :/
- <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 . '"> </td>' : '';
]]>
</search>
- <add>
- <![CDATA[ // The [arcade]!
if ($context['allow_arcade'])
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
]]>
</add>
</operation>
</file>
if (in_array($context['current_action'], array('search', 'admin',
<?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'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $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;" />
<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 ' > ';
}
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 , '"> </td>';
// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
// Show the [help] button.
echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
// How about the [search] button?
if ($context['allow_search'])
echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </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 . '"> </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 . '"> </td>' : '';
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </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 . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'pm' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>
</td>' , $current_action == 'pm' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// the [chat] button
echo ($current_action=='chat' || $context['browser']['is_ie4']) ? '<td class="maintab_active_first"> </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"> </td>' : '';
// The [arcade]!
if ($context['allow_arcade'])
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
//Begin SMFShop 2.0 (Build 8) MOD code
//loadLanguage("shop");
echo ($current_action == 'shop' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </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 . '"> </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 . '"> </td>' : '';
// the [links] button
if ($context['allow_view_smflinks'])
echo ($current_action == 'links' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
// the [staff list] button
if ($context['allow_view_stafflist'])
echo ($current_action == 'staff' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </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 . '"> </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 . '"> </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 . '"> </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 . '"> </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 . '"> </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 . '"> </td>' : '';
// The end of tab section.
echo '
<td class="maintab_' , $last , '"> </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> </td>';
echo '
<td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_' , $context['right_to_left'] ? 'last' : 'first' , '"> </td>
<td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_back">', implode(' | ', $button_strip) , '</td>
<td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_' , $context['right_to_left'] ? 'first' : 'last' , '"> </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__);
}
?>
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?
Quote from: ada on September 05, 2006, 12:31:36 AM
Version for RC3?
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
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
QuoteYou cannot download or install new packages because the Packages directory or one of the files in it are not writable!
Quote from: DemonicInfluence on September 30, 2006, 09:00:46 AM
it is. you just have to download it from smfarcade :)
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
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.
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.
if ($context['user']['is_logged'])
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 !Code Select// 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 \');')
);
Quote from: choloman05 on November 03, 2006, 01:35:45 PMAlso 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.
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.
Quote from: nite0859 on November 28, 2006, 11:05:51 PM
Ready for 1.1 Final ? ;D
Quote from: nobert on December 03, 2006, 11:26:29 AMhttp://www.ericsworld.eu/f2/index.php
I where find lots of games for arcade?
Quote from: Assistance on December 03, 2006, 12:01:52 PMThis games:Quote from: nobert on December 03, 2006, 11:26:29 AMhttp://www.ericsworld.eu/f2/index.php
I where find lots of games for arcade?
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...
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
function template_menu()
// Show the [home] button.
// Otherwise, they might want to [logout]
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>
<a href="', $scripturl, '?action=arcade">Arcade</a>
// Otherwise, they might want to [logout]
//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'];
if ($context['allow_arcade'])
Quote from: chaos_gamer on January 03, 2007, 08:19:37 AM2.0.3 was released recently. Download it from www.smfarcade.net.
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
Quote from: loopyj22 on January 03, 2007, 01:12:34 PMThe 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.
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.
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
Quote from: sanax on January 13, 2007, 06:48:03 AMsanax 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.
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
Quote from: dreadk on January 13, 2007, 11:24:09 AMIn package manager set permissions to all files to writeable.See if that helps.
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
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.
Quote from: dreadk on January 14, 2007, 11:18:15 AMQuote from: rider on January 13, 2007, 12:44:49 PMHow are you trying to load the games?
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 ><
Quote from: NEMINI on January 18, 2007, 04:24:31 PMIf 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.
is there an IP addy we can use until the domain/DNS issue is resolved?
Quote from: cg102 on January 19, 2007, 04:16:03 AMupload the arcade thru your package manager and follow the steps to install.
Ok i have downloaded the script but how do i put it onto the forum?
cg102
Quote from: jdvarner on January 20, 2007, 11:42:48 AM
Is it possible to protect games, so only certain members can play them?
Quote from: sanax on January 20, 2007, 05:26:00 AMSame place.
Where can we download the game packages now?
Quote from: jdvarner on January 20, 2007, 11:42:48 AMIf you are using any 2.0 version you do this for membergroups or individual games. You can also allow access per post count.
Is it possible to protect games, so only certain members can play them?
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?
Quote from: TheBlackKnight on January 22, 2007, 04:50:08 PM
When will the Arcade web site be back up?
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?
Quote from: BlueDevil on January 22, 2007, 11:08:06 PMYou 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. :)
Do i have to remove my previous arcade version before attempting uploading the new?
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. :)
Quote from: Skhilled on January 27, 2007, 02:04:52 AM
It's now http://www.smfarcade.info. :)
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
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.
if ($user_info['is_logged'])
Quote from: fwitt on January 29, 2007, 05:58:31 PMQuote 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 lineCode Select
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
Quote from: fritpa on January 30, 2007, 01:55:41 PMNP.Glad to help.If you have anymore problems,please post at smfarcade.info
I'm sorry I'm such an idiot, I don't see the game link before, thank you, and I'm sorry again.
Quote from: DrizzetPheonix on January 30, 2007, 11:08:16 PMClick on my sig. and goto the downloads section.
Where do I download the games for the arcade?
Quote from: TheBlackKnight on January 30, 2007, 09:00:25 PMNo. Only upgrading your connection will be faster.
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?
Quote from: keke on January 31, 2007, 12:15:22 PMCreate a post over at smfarcade.info.
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?
Quote from: goitalone on February 07, 2007, 12:36:44 AMHow 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.
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?
Quote from: kullforum on January 17, 2007, 09:41:11 AMhjgj
saolun arkadaşlar
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
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.
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.
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.
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
Quote from: Chris™ on February 28, 2007, 03:49:24 AM
Some images are missing.
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
if (in_array($context['current_action'], array('admin',
'managegames', 'arcadesettings', 'arcadecategory',
if (in_array($context['current_action'], array('search',
'arcade',
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
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...
Quote from: thatguy on March 19, 2007, 05:30:06 PMQuote 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?
QuoteAn Error Has Occurred!
Score was not saved because checks failed and you probably tried to cheat or your browser is malfunctioning
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?
Quote from: AliLoU on March 20, 2007, 05:04:23 PMask to the author:
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 :-[
Quote from: GravuTrad on March 23, 2007, 02:59:20 PMIf 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.Quote from: AliLoU on March 20, 2007, 05:04:23 PMask to the author:
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 :-[
can i make them please?
thanks.
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
if (in_array($context['current_action'], array('search', 'arcade', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];
Quote from: xyxis_fahim on April 01, 2007, 11:27:43 PMGo into your arcade settings and set the cheat mode to basic and permissions to none.Should fix it.
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
Quote from: JSizzal on April 02, 2007, 04:31:21 PMYou could make a new category and call it new games.
How do I show the new games Ive installed on a separate page or table..
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?
Quote from: Mariano on April 02, 2007, 08:17:02 PMThere is a hack for this.You'll have to go to the arcade site for it.Click the link in my sig.
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 ?
Quote from: samames on April 03, 2007, 08:51:21 AMGo 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?
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 :)
Quote from: peta-sucks.com on April 03, 2007, 04:28:45 PMI'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?
I get this error on smf 1.2
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 :)
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.
Quote from: Joe1221 on April 15, 2007, 05:31:50 AMDid 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?
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.
Quote from: viet on April 16, 2007, 10:35:08 PMChange it to none on the category permissions.Also have you changed the permissions per membergroup?
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
Quote5. Execute Modification ./Themes/default/index.template.php Test failed
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
Quote from: |||||| on April 22, 2007, 11:23:23 PMYes.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.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?
Quote from: Eleaz on April 23, 2007, 07:54:33 AMThat would be the SMF default theme.
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
Quote from: yazeft on April 23, 2007, 08:13:51 AMYou went right past your answer.Look on page 168 and you'll see what you need todo to fix this.
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?
Quote from: Eleaz on April 24, 2007, 05:59:17 AMHow 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.
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?
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?
Quote from: yazeft on April 30, 2007, 03:09:41 AMThen 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.
yep ive done that
Quote from: yazeft on April 29, 2007, 11:17:32 PMQuote 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?!
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?
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).
Quote from: yazeft on May 01, 2007, 07:51:28 PMQuote 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).
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?
Quote from: yazeft on May 06, 2007, 11:39:33 PMThat part has a bug that needs to be fix.The way it works is that 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.
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
Quote from: deadhead on May 07, 2007, 11:31:49 PMWhat 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.
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
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.
Quote from: deadhead on May 08, 2007, 11:41:42 AMWas this the error?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.
Quote from: COCONUT MILK on May 13, 2007, 02:21:43 PMThe link only appears in the default theme.For all other themes you have to modify the index.template.php to make it appear.
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?
// 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>';
}
// 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.
Quote from: COCONUT MILK on May 14, 2007, 04:28:48 AMIt has to be images.Not to sure about image option thing.If you look at the code it tells you to use images.
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?
Quote from: COCONUT MILK on May 14, 2007, 05:54:30 AMClick the link in my sig.Thats the offfical support site for this mod.
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?
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 ?
Quote from: glennk on May 19, 2007, 08:27:58 AM
thanks. Looks a bit frightening though.
Quote from: glennk on May 19, 2007, 08:19:21 AMGo 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.
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 ?
Quote from: glennk on May 19, 2007, 01:35:15 PMClick 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.
Nice one seems to have installed ok.
Where do I install games ?
Thanks to the mod author.
Quote from: Teal on May 26, 2007, 12:08:29 PMWhat games have you installed?How did you install them?
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)
Quote from: rider on May 26, 2007, 01:20:28 PMQuote from: Teal on May 26, 2007, 12:08:29 PMWhat games have you installed?How did you install them?
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)
QuoteUndefined index: arcadeGameInformationSide
File: /home/myacc/public_html/smf/Themes/helios_11final/ArcadeMenu.template.php (eval?)
Quote from: niravdave on May 28, 2007, 12:36:29 PMHave you fixed this yet?It sounds like you need to create the game table.Sometimes that happens and you have to make one thru myphpadmin.One more thing did you install while using the default theme?
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
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
Quote from: Niko on May 31, 2007, 07:55:29 AMQuote 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.
Quote from: niravdave on May 31, 2007, 11:35:37 AMI 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.
what does that mean?
i m using smf 1.1.2Quote from: Niko on May 31, 2007, 07:55:29 AMQuote 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.
Quote from: JJLodge on June 11, 2007, 07:10:11 PMLike greyknight17 said.Check admin>arcade settings>permissions>switch to none.As well check your membergroup permissions.
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
Quote from: mburtonk on June 11, 2007, 11:42:07 PMclick 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.
Is there a way to post the X most recent scores and comments somewhere else in the forum (e.g., index page)?
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
Quote from: ShadowStriker on June 13, 2007, 11:27:59 PMFor 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.
I see no arcade administration in the admin panel, nor an arcade menu button
Quote from: ShadowStriker on June 14, 2007, 02:35:05 PMWhen 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.
now it doesnt work anymore :(
Quote from: ShadowStriker on June 14, 2007, 06:16:02 PMAnother 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.
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.
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.
Quote from: ShadowStriker on June 14, 2007, 09:16:43 PMI not sure on that one.I've never used it myself.Glad you got eveything else to work.
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
Quote from: 3 Hit U on June 15, 2007, 06:21:10 AMWhat theme are you using?After the install did you run the installArcade.php in your browser?Also switch your default forum langauge to english.
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?
Quote from: rider on June 15, 2007, 07:16:34 AMDefault theme (100% fresh install of SMF), yes I ran the file, and default is English already.Quote from: 3 Hit U on June 15, 2007, 06:21:10 AMWhat theme are you using?After the install did you run the installArcade.php in your browser?Also switch your default forum langauge to english.
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?
Quote from: me123 on June 16, 2007, 03:20:06 PMDo 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
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?
Quote from: me123 on June 16, 2007, 03:58:22 PMYes 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.
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???
Quote from: rider on May 14, 2007, 03:48:50 AMCode Select// The [arcade]!
You can place this code after the calender code.It should work for most themes.You'll have to make buttons for each theme.
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>';
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.
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 ?
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
Quote from: babjusi on June 25, 2007, 03:11:03 PMQuote 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
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)
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)
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"?
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.
Quote from: lisalover1 on June 30, 2007, 07:08:25 PMI saw this problem last nite.What the person did was goto packages>options>choose make all files writable.The arcade installed ok after that.
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"?
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.
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.
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?
Quote from: BogeyOne on July 03, 2007, 05:02:42 AMQuote 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
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.
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.
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
Well you wouldn't change anything by copying and pasting
Go to wherever you can edit the file, and search forCode Selectfunction 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 forCode Selectfunction template_menu()
and then just copy and paste everything after that into a post here
}
// 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'.
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?
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.
'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,
),
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:Code Select'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,
),
Quote from: PacificWx on July 05, 2007, 11:41:36 PMIt 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.
Please direct me if it has been asked before - but will teh Arcade version 2.0.6 work with SMF 1.1.3?
Quote from: Reekie_Red on July 05, 2007, 11:11:58 PMNo plans...there are literally thousands of games that will already work with it.
Any plans to add new games?
Quote from: MeRcChRiS on July 08, 2007, 01:50:35 PMAfter you installed it,did you run www.yoursite.com/installArcade.php in your browser?
Im getting a
bat0718605130971.smf_games doesn't exist.
Quote from: cferd on July 08, 2007, 09:53:53 PM
See this:
http://www.smfarcade.info/index.php/topic,3092.msg19947.html#msg19947
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.
Quote from: MeRcChRiS on July 09, 2007, 01:11:22 AMWhere is arcade.php? I cant find it anhywhere
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?
Quote from: asdas2 on July 09, 2007, 01:45:46 PMIt 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.
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)
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.
Quote from: wilsy on January 12, 2007, 01:20:43 PM
Sorted, error in index.template.php (my error!)
Regards,
Wilsy.
Quote from: rider on July 09, 2007, 01:54:07 PMQuote from: asdas2 on July 09, 2007, 01:45:46 PMIt 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.
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)
Quote from: asdas2 on July 10, 2007, 01:57:09 AMClickon 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.Quote from: rider on July 09, 2007, 01:54:07 PMQuote from: asdas2 on July 09, 2007, 01:45:46 PMIt 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.
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)
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 ?????????????????????????
Quote from: rider on July 10, 2007, 05:56:37 AMQuote from: asdas2 on July 10, 2007, 01:57:09 AMClickon 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.Quote from: rider on July 09, 2007, 01:54:07 PMQuote from: asdas2 on July 09, 2007, 01:45:46 PMIt 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.
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)
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 ?????????????????????????
Quote from: asdas2 on July 11, 2007, 12:05:49 AMunzip the arcade and extract the images and upload them to themes>dilber>images.That should work.
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
Quote from: rider on July 11, 2007, 01:32:30 PMQuote from: asdas2 on July 11, 2007, 12:05:49 AMunzip the arcade and extract the images and upload them to themes>dilber>images.That should work.
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
Quote from: asdas2 on July 12, 2007, 01:04:40 PMYou have to edit your index.template.php for your theme to make the button show. Use install-rc2.xml to see how.
thnzzzzz bro .. reallly appreciate ur help....
but still i need to add arcde link to my navigation bar .....
Quote from: Aes-Sedai on July 12, 2007, 10:36:08 PMNo, the arcade only works with flash file.
Is there any way to make SMF Arcade comptable with EXE Files?
Quote from: Dutchbabe on July 16, 2007, 06:06:37 AMChallenges 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.
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
Quote from: rider on July 23, 2007, 12:17:08 AMALso on custom themes?
Version 2.0.9 works with 1.1.3
Quote from: askepott on July 24, 2007, 03:08:22 PMWhat version are you using.I use eeek's modded version and it shows what game their playing in the who's online list.
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?
Quote from: cferd on July 24, 2007, 02:22:42 PM
Try going here:
http://svn.madjoki.com/viewvc/viewvc.cgi/?root=smfarcade-language
// 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>';
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>';
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.
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)
Quote from: rider on July 24, 2007, 03:19:01 PMQuote from: askepott on July 24, 2007, 03:08:22 PMWhat version are you using.I use eeek's modded version and it shows what game their playing in the who's online list.
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?
Quote from: askepott on August 06, 2007, 01:11:10 PMtry going to smfarcade.info and do a search on post per day.eeek posted a fix for it.Quote from: rider on July 24, 2007, 03:19:01 PMQuote from: askepott on July 24, 2007, 03:08:22 PMWhat version are you using.I use eeek's modded version and it shows what game their playing in the who's online list.
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?
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..
Quote from: Chantal Matar on August 09, 2007, 06:06:59 AMtry going to admin>arcade settings>permissions set to none.see if that helps.
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.
Quote from: Chantal Matar on August 09, 2007, 06:34:35 AMI 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.
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
Quote from: Chantal Matar on August 09, 2007, 07:04:43 AMyou 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.
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! ???
Quote from: Chantal Matar on August 09, 2007, 07:04:43 AMtoo learn more just click on the link in my sig and check out the site.tons of info there.
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! ???
Quote from: Chantal Matar on August 09, 2007, 07:20:01 AMwhere did you get the game from?If its not from one of the game packs from smfarcade then I need to know.
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.
Quote from: Chantal Matar on August 09, 2007, 07:28:36 AMi replied to the pm.don't worry about a few games that don't work I know of a ton that will.
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!
Quote from: Chantal Matar on August 09, 2007, 07:33:15 AMhang 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.
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?
Quote from: Skhilled on August 09, 2007, 08:01:43 AMhah for once I beat you too the answer.lol.
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. :)
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.
Quote from: sunny7 on August 10, 2007, 10:14:57 AMLook in your Games folder via FTP and see if the images are in there.If not then upload the images to the folder
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??
Quote from: sunny7 on August 10, 2007, 02:29:35 PMSounds like the games didn't install properly.What you should see are the gamepack zips and the game pack folders.
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...
Quote from: babjusi on August 10, 2007, 02:11:14 PMQuote 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/
Quote from: Defused on August 10, 2007, 04:48:53 PMclick the link in my sig.You'll find everything you need todo there.Quote from: babjusi on August 10, 2007, 02:11:14 PMQuote 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
!!!!!
Quote from: lextech on August 12, 2007, 02:09:10 PMTry 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.
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)
Quote from: masss on August 19, 2007, 10:36:29 AM
Where can i get more games for arcade??? (with working scores!)
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 PMWhat 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.
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!!
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?
Quote from: Jaba on August 23, 2007, 10:00:46 AMThis will occur when no one has rated any games yet. Once any one game is rated it will not show up again.
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
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!
Quote from: masss on August 26, 2007, 05:37:27 AMI believe it is Arcade.template.php.
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?
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"> </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"> </td>
<td valign="top" class="maintab_active_back">
<a href="', $tab['href'], '">', $tab['title'], '</a>
</td>
<td class="maintab_active_last"> </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"> </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'], ' <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'], ' <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="" />' : ' ', '</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="" />' : ' ', '</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="" />' : ' ', '</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="" />' : ' ', '</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="" />' : ' ', '</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> © <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>';
}
?>
// Play screen
function template_arcade_game_play()
{
global $scripturl, $txt, $context, $settings;
echo '
Quote from: masss on August 23, 2007, 05:56:22 PMArcade.template.php, I think.
How can i add ads at the top of .swf flash game?
Quote from: GouroB on August 24, 2007, 05:21:51 PMThis usually happens when you either are not using the default theme or another mod modified index.template.php.
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.
Quote from: MGadAllah on September 05, 2007, 03:35:53 PMDid you have an installation of SMF Arcade 1.x on your forum?
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
Quote from: MGadAllah on September 05, 2007, 03:49:02 PMThen there is nothing wrong. :)
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
Quote from: fwitt on August 31, 2007, 02:40:32 PM
within this echo statementCode Select
// Play screen
function template_arcade_game_play()
{
global $scripturl, $txt, $context, $settings;
echo '
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,
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>
';
Quote... <div style="margin-left: auto;[/quote]
margin-right: auto;
width: 486px; "><?php include(MYADS.html); ?></div></div>
';
Quote... <div style="margin-left: auto;
margin-right: auto;
width: 486px; ">';
include('MYADS.html');
echo '</div></div>
';
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>
';
Quote from: masss on September 06, 2007, 02:45:46 PMAbsolutely.
It's not working (are you sure it's workin on you site?)..
Quotemargin-right: auto;
width: 486px; ">';
include('centraliprom_mali_oglas.php');
echo '</div></div>
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
Quote from: Sulgicur on September 07, 2007, 02:00:59 PMYou can check your personal message option under your profile.
I'm using BlackRain. Everything is sweet now.
Is there any way to turn the PM notifications off when your high score is bettered?
Quote from: simplyliza6 on September 07, 2007, 06:40:53 PMClick 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.
It works but seems there are arent any games on it. Does anyone know how to install other games that can be found online?
Quote from: adventurer on September 16, 2007, 10:15:24 AMOpen the index.template.php and look for the arcade code near the bottom.Remove the code and that will remove the arcade buttons
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)
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.
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
Quote from: Razaroic on September 25, 2007, 08:32:21 PMtry setting categories to none and check to see if the games are enabled.
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.
Quote from: RedNecK on September 25, 2007, 08:35:39 PMI think you are confused. FlashChat has nothing to do with the arcade. It is a chat program.
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
Quote from: RaYo on September 25, 2007, 10:26:10 PMOnly with this version... http://www.ericsworld.eu/f2/index.php?action=tpmod;dl=item70
are form, to make a tournaments with SMFArcade??
Quote from: ziycon on September 28, 2007, 12:32:13 AMProbably a bad install.
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!?!?!
Quote from: geo32101 on September 28, 2007, 05:18:45 PMSee if it works in the default theme. If it does you'll need to edit your theme.
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?
Quote from: Tidea on October 03, 2007, 07:53:56 PMCheck your permissions. There are perms in "categories",and in the arcade admin settings, and in smf member group perms.
for some reason, one of my user, who's a mod, can't access the page. any suggestion?
Quote from: Rica on October 05, 2007, 11:27:33 PM
smfarcade.net down cant download any games :(
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.
Quote from: rider on August 09, 2007, 06:21:24 AMQuote from: Chantal Matar on August 09, 2007, 06:06:59 AMtry going to admin>arcade settings>permissions set to none.see if that helps.
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.
Quote from: rider on August 12, 2007, 03:35:15 PMQuote from: lextech on August 12, 2007, 02:09:10 PMTry 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.
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)
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?
Quote from: GazOutEast on October 17, 2007, 07:29:16 PMQuote 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
Quote from: DivineMessage on November 04, 2007, 06:19:22 AM
The games install for me they just wont work...
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
Quote from: John S on November 07, 2007, 04:09:13 AMIf you go here you can get the version that supports tournments but not multiplayers games.http://www.ericsworld.eu/f2/index.php
how do we install multiplayer and tournament games?
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 >>
Quote from: Jaba on October 09, 2007, 01:09:57 PMAnyone!
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.
Quote from: John S on November 11, 2007, 09:47:43 PMHave you tried the d/l's there.Should find about 600 games.
arcade-only.com have over 900 games.. where can i get the gamepack for that?
Quote from: rider on November 12, 2007, 12:33:45 AMGood advice, I'll give it a try, thanx.
Why don't you unzip the gamepack and rezip only the games you want to install?It shouldn't affect the games installed already.
Quote from: John S on November 12, 2007, 01:07:01 AMYou need to register.
I couldn't find any games in the download section.. could you please give me a link, thanks
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.
Quote from: Jakki on November 12, 2007, 01:33:39 PMQuote from: Bigguy on November 12, 2007, 01:12:50 PMTry going to server settings and change the langauge to english.php and not english-utf8.php
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 ]
Quote from: Jakki on November 12, 2007, 03:24:51 PMLOL.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.
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...
Quote from: Jakki on November 12, 2007, 03:27:44 PMIf 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.
Going to get some games and see how it goes..LOL
Quote from: Jakki on November 12, 2007, 03:54:24 PMMost 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
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.
Quote from: Jakki on November 12, 2007, 05:50:03 PMRight 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.
Okay but the last letters on the file are .rar, it won't let me..
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.??
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??
Quote from: Jakki on November 15, 2007, 12:58:56 PMQuote 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
Quote from: rehan on November 15, 2007, 10:52:32 AMYes it can be.Goto profile>personal message options and check it off not to receive.
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.??
Quote from: FERNSIDE on November 16, 2007, 10:46:56 PMopen your index.template.php and scroll down until you find the arecade button code.Once you find it just delete the duplicite code.
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 :)
Quote from: rider on November 17, 2007, 12:51:25 AMQuote from: FERNSIDE on November 16, 2007, 10:46:56 PMopen your index.template.php and scroll down until you find the arecade button code.Once you find it just delete the duplicite code.
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 :)
Quote from: chrishicks on November 19, 2007, 01:05:53 AMYou 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.
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?
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
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
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?
Quote from: TrueSatan on November 23, 2007, 06:20:28 AM
Your browser seems to have javascript disabled in it...try enabling javascript.
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.
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.
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.
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.
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 ;)
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...
Quote from: LinkinParkBoy on November 23, 2007, 04:44:33 PMyes, just put the filename of the game in it.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 ;)
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
Quote from: pianista on December 16, 2007, 06:47:58 AMDo 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
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
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!
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!
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?
Quote from: NoDrAmaUk on December 19, 2007, 12:43:58 PMHow are you installing your games?
Which Mod would work on 1.1.4 because i cant get any to install says corupt or not compatible
www.nodamaukroomhosting.info
Quote from: NoDrAmaUk on December 20, 2007, 12:24:10 PMarcade is easy to install just download the .zip file and upload it trough the packages thing from the admin panel.
Can anyone help me install my Arcade and games
many thanks
Quote from: NoDrAmaUk on December 20, 2007, 12:24:10 PMI 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.
Can anyone help me install my Arcade and games
many thanks
Quote from: NoDrAmaUk on December 19, 2007, 12:43:58 PMYour link isn't working.
Which Mod would work on 1.1.4 because i cant get any to install says corupt or not compatible
www.nodamaukroomhosting.info
Quote from: geo32101 on December 21, 2007, 11:16:12 PMTry this before installing the arcade,goto admin>packages>options>choose make all files writable and then install the arcade.
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?
Quote from: rider on December 22, 2007, 12:02:56 AMThen this comes out again-Quote from: geo32101 on December 21, 2007, 11:16:12 PMTry this before installing the arcade,goto admin>packages>options>choose make all files writable and then install the arcade.
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?
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?
Quote from: NoelF1 on December 22, 2007, 05:51:35 AMThe 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.
does anyone know how to install the arcade into ApolloBB theme please? :(
Quote from: Bigguy on December 22, 2007, 11:38:36 AMThanks 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.
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)
Quote from: NoelF1 on December 22, 2007, 02:20:16 PMGoto admin>server settings>default forum langauge>switch from english-utf8 to english.
btw how can i change the forum language? from english-utf8 to english? :S
Quote from: rider on December 22, 2007, 02:39:48 PMit's on english theres no other option!Quote from: NoelF1 on December 22, 2007, 02:20:16 PMGoto admin>server settings>default forum langauge>switch from english-utf8 to english.
btw how can i change the forum language? from english-utf8 to english? :S
// Show the [help] button.
echo '
<a href="', $scripturl, '?action=help" ' , $current_action == 'help' ? 'class="nav_important"' : '' , '>' , $txt[119] , '</a> |';
// Show the [help] button.
echo '
<a href="', $scripturl, '?action=arcade" ' , $current_action == 'arcade' ? 'class="nav_important"' : '' , '>' , $txt[1190] , '</a> |';
Quote from: Bigguy on December 22, 2007, 04:55:02 PMdarn lol i didnt
Did you add the text line in the index.english.php file. ???
// Show a [new] button.
echo ($current_action == 'newaction' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
Quote from: Bigguy on December 22, 2007, 05:14:37 PMso does that work on all themes?
This is how you would do it on the default theme:Code Select// Show a [new] button.
echo ($current_action == 'newaction' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
replace:
http://www.yourlinkhere.com
with your link
and
linktext
With what you want shown for the link.
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> |';
I THINK
Quote from: geo32101 on December 22, 2007, 12:07:21 AMHelp please.Quote from: rider on December 22, 2007, 12:02:56 AMThen this comes out again-Quote from: geo32101 on December 21, 2007, 11:16:12 PMTry this before installing the arcade,goto admin>packages>options>choose make all files writable and then install the arcade.
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?
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.
Quote from: TrueSatan on December 22, 2007, 07:20:29 PMMe?
If you are using an SEO mod that may be causing the problem...try removing such mods.
Quote from: geo32101 on December 23, 2007, 12:22:55 AMQuote from: TrueSatan on December 22, 2007, 07:20:29 PMMe?
If you are using an SEO mod that may be causing the problem...try removing such mods.
What's a SEO Mod?
Quote from: Talha Ertunç on December 23, 2007, 04:25:55 PMWhat do you mean by this?
Server is hacked .............
Quote from: Bigguy on December 23, 2007, 02:52:02 AMIt doesnt let me make the folder.
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.
Quote from: geo32101 on December 23, 2007, 05:33:41 PMQuote from: Bigguy on December 23, 2007, 02:52:02 AMIt doesnt let me make the folder.
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.
Quote from: TrueSatan on December 23, 2007, 06:19:48 PMI can make folders,files, directories, and stuff but not that directory.Quote from: geo32101 on December 23, 2007, 05:33:41 PMQuote from: Bigguy on December 23, 2007, 02:52:02 AMIt doesnt let me make the folder.
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.
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.
Quote from: geo32101 on December 23, 2007, 06:30:38 PMNever mind, I did it, now what?Quote from: TrueSatan on December 23, 2007, 06:19:48 PMI can make folders,files, directories, and stuff but not that directory.Quote from: geo32101 on December 23, 2007, 05:33:41 PMQuote from: Bigguy on December 23, 2007, 02:52:02 AMIt doesnt let me make the folder.
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.
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.
Quote from: TrueSatan on December 23, 2007, 07:26:48 PMI tries to install it again, but it keeps telling me to fill out the FTP Thing, I do, and click proceed, but nothing happens.
Go back to Bigguy's advice that you quoted above and try to re-install the arcade.
Quote from: geo32101 on December 23, 2007, 08:05:03 PMYou 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.Quote from: TrueSatan on December 23, 2007, 07:26:48 PMI tries to install it again, but it keeps telling me to fill out the FTP Thing, I do, and click proceed, but nothing happens.
Go back to Bigguy's advice that you quoted above and try to re-install the arcade.
Quote from: TrueSatan on December 24, 2007, 04:08:51 AMOk, I put all files writable, and did everything you told me, I also made sure everything was correct, but still nothing.
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.
Quotecheck via ftp that CHMOD of all your files is now 777 or 775 according to the peculiarities of your hosting
<?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) == 0 || $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 > 1 )
{
$text .= $tassa . ' '. $t[1];
$text .= ' ';
$timestamp = $timestamp - ($t[0] * $tassa);
}
}
return trim($text);
}
?>
Quote from: TrueSatan on December 24, 2007, 08:05:09 PMI have also done that.
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?
Quote from: Ertado on December 30, 2007, 04:59:22 AM1st 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.
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.
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.
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?
Quote from: pythias on January 11, 2008, 05:33:13 PMOk 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?
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.
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.
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']));
Quote from: SgtMic on January 12, 2008, 12:53:05 AMHow was your forum installed?
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.
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.
Quote from: rider on January 12, 2008, 02:45:00 AMQuote from: SgtMic on January 12, 2008, 12:53:05 AMHow was your forum installed?
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.
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?
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..
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?
Quote from: SgtMic on January 12, 2008, 12:53:05 AMSee 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.
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.
Quote from: jonnysniper on January 15, 2008, 03:11:00 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?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
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?
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
Quote from: jonnysniper on January 15, 2008, 03:56:46 PMNo trouble at all.Glad you got it sorted out.
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
Quote from: LostProphecy on January 16, 2008, 12:21:14 AMclick on the link in my sig.It will take you to smfarcade.Click on the downloads and get the games from there.
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
Quote from: SgtMic on January 17, 2008, 01:31:49 AMTake 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.
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.
Quote from: rider on January 17, 2008, 01:41:27 AMQuote from: SgtMic on January 17, 2008, 01:31:49 AMTake 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.
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.
Quote from: SgtMic on January 19, 2008, 12:51:04 AMWhat can you do about it?Find another host maybe
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.
Quote from: DrizzetPheonix on January 19, 2008, 08:40:22 PMClick my sig and download it from there.Thats the official support forum for the arcade.
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.
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.
Quote from: SgtMic on January 20, 2008, 01:34:30 AMProbaly 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.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.
Quote from: SgtMic on January 19, 2008, 12:51:04 AMYou 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/)
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.
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.
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?
Quote from: clanny on January 23, 2008, 12:55:29 AMClick the link in my sig and d/l a copy from there and try it.
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.
Quote from: rider on January 23, 2008, 01:04:44 AMQuote from: clanny on January 23, 2008, 12:55:29 AMClick the link in my sig and d/l a copy from there and try it.
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.
Quote from: clanny on January 23, 2008, 10:00:11 AMYou 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=item141Quote from: rider on January 23, 2008, 01:04:44 AMQuote from: clanny on January 23, 2008, 12:55:29 AMClick the link in my sig and d/l a copy from there and try it.
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.
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
Quote from: clanny on January 23, 2008, 10:47:17 AMThe 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.
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
Quote from: SgtMic on January 23, 2008, 11:27:18 AMYes there is.Profile>personal messages option>uncheck the box pretaining to Send a PM when your highscore is beaten?
Rider, is there a way to turn off the messaging when your high score gets beat by someone else?
Quote from: clanny on January 23, 2008, 11:18:24 AMNo.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.
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?
Quote from: rider on January 23, 2008, 11:33:22 AMQuote from: SgtMic on January 23, 2008, 11:27:18 AMYes there is.Profile>personal messages option>uncheck the box pretaining to Send a PM when your highscore is beaten?
Rider, is there a way to turn off the messaging when your high score gets beat by someone else?
Quote from: clanny on January 23, 2008, 11:47:48 AMThere'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.
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
Quote from: SgtMic on January 23, 2008, 11:56:12 AMThat 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.Quote from: rider on January 23, 2008, 11:33:22 AMQuote from: SgtMic on January 23, 2008, 11:27:18 AMYes there is.Profile>personal messages option>uncheck the box pretaining to Send a PM when your highscore is beaten?
Rider, is there a way to turn off the messaging when your high score gets beat by someone else?
Don't have that option. I'm using Version 2.0.11
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>';
Quote from: clanny on January 23, 2008, 05:17:01 PMyou 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.
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
Quote from: crustybum on January 24, 2008, 11:42:01 AMYou 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.
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
Quote from: clanny on January 24, 2008, 06:41:16 PMpretty 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.
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.
Quote from: clanny on January 24, 2008, 07:12:57 PMJust a server glitch most likely.
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?
Quote from: clanny on January 24, 2008, 07:12:57 PMI 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?
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?
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 PMOk 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.
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: 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
Quote from: Lisah746 on January 30, 2008, 04:45:32 PMtry 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 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
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
Quote from: Lisah746 on January 30, 2008, 06:41:18 PMAs 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.
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.
Quote from: Ertado on January 30, 2008, 09:46:40 PMYou'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.
Still needing help with that multiple column thing...
Quote from: YodaOfDarkness on February 02, 2008, 07:45:31 PMNot 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.
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 ;)
Quote from: Skhilled on February 03, 2008, 06:17:58 AMQuote from: YodaOfDarkness on February 02, 2008, 07:45:31 PMNot 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.
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 ;)
Quote from: Hemarr on February 05, 2008, 10:17:15 AMYou 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.
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
// 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>';
// Show the [gallery] button.
echo '<li><a href="' . $scripturl . '?action=gallery"><span>Gallery</span></a></li>';
// How about the [arcade] button?
echo '<li><a' , $current_action=='arcade' ? ' class="current"' : '' , ' href="', $scripturl, '?action=arcade"><span>', $txt['Arcade'] ,'</span></a></li>';
Quote from: Ninetail on February 08, 2008, 02:09:22 AMGo to www.smfarcade.info and try this mod.http://www.smfarcade.info/index.php/topic,2424.0.html
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
Quote from: msPaula on February 09, 2008, 01:42:01 AMtry 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
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.
Quote from: rider on February 09, 2008, 02:54:12 AMQuote from: msPaula on February 09, 2008, 01:42:01 AMtry 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
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.
The info is for an older version but I think it should work for you.
// 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)
$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';
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.
Quote from: rider on February 20, 2008, 09:30:23 AMYeah 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.
When you installed the arcade,did you run the installArcade.php in your web browser?
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 />
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
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 :)
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...
Quote from: Kimmie on March 14, 2008, 12:05:41 AMIf 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.
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 :)
Quote from: PanesarV on March 14, 2008, 03:27:37 AMCheck under profile>personal message options>uncheck the box saying send pm when highscore is beaten.
how to disable the annoying Private Messages telling me that someone else has become the champion...
Quote from: rider on March 14, 2008, 10:36:17 AMQuote from: PanesarV on March 14, 2008, 03:27:37 AMCheck under profile>personal message options>uncheck the box saying send pm when highscore is beaten.
how to disable the annoying Private Messages telling me that someone else has become the champion...
Quote from: Kimmie on March 14, 2008, 11:02:28 PMKimmie
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?
Quote from: fwitt on March 14, 2008, 04:51:08 AMQuote 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
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.
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.
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
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.
// 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>';
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 />
Quote from: rider on March 14, 2008, 10:33:33 AMQuote from: Kimmie on March 14, 2008, 12:05:41 AMIf 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.
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 :)
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.
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.
QuoteCould not upload package, please check directory permissions!
Quote from: Kimmie on March 24, 2008, 12:26:49 AMThat 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.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. :(
Quote from: JoshieDaMan on March 27, 2008, 10:45:12 AMif you do a search for games you will find alot of sites to get games from.Most of them will work with the arcade.
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.
Quote from: masss on March 27, 2008, 02:26:59 PMPerplexed 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.
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
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.
Quote from: blouogies20 on March 30, 2008, 04:19:05 PMWell as perplexed said use the search function.Its volunteer work and we have lives too.
Yes I did but they are so slow!!!
Quote from: willwishers on April 14, 2008, 03:48:22 AMUnless 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.
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
Quote from: joyrider on April 21, 2008, 02:32:27 AMHey you forgot to list my site.lol
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/
Quote from: rider on April 21, 2008, 01:16:08 PMQuote from: joyrider on April 21, 2008, 02:32:27 AMHey you forgot to list my site.lol
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/
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.
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
Quote from: Niko on April 29, 2008, 01:51:56 AMQuote 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
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
Quote from: pcigre on May 04, 2008, 02:57:26 AM
Anything about smf 2.0b3 version?
Quote from: wdm2005 on May 06, 2008, 12:19:50 PM
cant you dl the last version and use the images from that ?
Quote from: Sadil on May 06, 2008, 12:39:30 PMQuote 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.
Quote from: willwishers on April 14, 2008, 03:48:22 AM
5. Execute Modification ./Themes/default/index.template.php Test failed
<operation>
<search position="before"><![CDATA[ if (in_array($context['current_action'], array('search', ]]></search>
<add><![CDATA['arcade', ]]></add>
</operation>
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
if (in_array($context['current_action'], array('gallery','search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
<operation>
<search position="before"><![CDATA[ if (in_array($context['current_action'], array(']]></search>
<add><![CDATA[arcade', ']]></add>
</operation>
Quote from: midiof[f] on May 07, 2008, 02:38:29 AMQuote 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 :Code Select<operation>
<search position="before"><![CDATA[ if (in_array($context['current_action'], array('search', ]]></search>
<add><![CDATA['arcade', ]]></add>
</operation>
in index.template.php originalCode Selectif (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
in index.template.php modific galleryCode Selectif (in_array($context['current_action'], array('gallery','search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
repair this problem :Code Select<operation>
<search position="before"><![CDATA[ if (in_array($context['current_action'], array(']]></search>
<add><![CDATA[arcade', ']]></add>
</operation>
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?
Quote from: Niko on May 07, 2008, 03:27:53 PMQuote 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.
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
if ($_REQUEST['action'] != 'arcade') {
header code you dont wish to appear in the arcade
}
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?
$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>)';
$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...';
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? :(
Quote from: Niko on May 21, 2008, 03:24:26 AMThanks :)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.
http://img210.imageshack.us/img210/4099/problemaqw4.jpg
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
// 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>';
$txt[999] = 'Arcade';
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!
Quote from: City Builder on May 26, 2008, 02:42:49 PMQuote 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.
Quote from: Niko on May 21, 2008, 03:24:26 AMQuote 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.
// Show the [Arcade] button.
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
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...Code Select// Show the [Arcade] button.
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </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.
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
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.
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"
Quote from: nesianstyles on December 23, 2004, 04:13:17 PMIs there a new link now to get donkeykong classic?
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)
Quote from: LadyC on May 31, 2008, 12:16:41 AMWow 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.
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.
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?
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
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).
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.
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.
Quote from: Skhilled on June 17, 2008, 08:37:55 AMoh oh ... i wondered about powered by smf 1.3.3.7 stated in the footer :(
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. :)
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.
Quote from: Niko on June 17, 2008, 04:26:00 PMQuote 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.
Quote from: KameL on June 17, 2008, 05:34:36 PMI need to know that and this:
How can i add more flash games to the arcade?
Quote from: m3po on June 17, 2008, 01:32:04 PMQuote 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.
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?
Quote from: KameL on June 26, 2008, 03:49:36 PM
Why some people can't submit scores at my arcade?
Quote from: fwitt on July 03, 2008, 03:41:48 PMQuote 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.
Quote from: fwitt on July 03, 2008, 03:46:49 PMI'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).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?
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
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
<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çõ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í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 permissã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ã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ário';
$txt['permissionhelp_arcade_comment'] = 'Permite o membro para editar comentários , próprio ou qualquer ';
$txt['permissionname_arcade_comment_any'] = 'Qualquer';
$txt['permissionname_arcade_comment_own'] = 'Próprio';
// 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 permissã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çõ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í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 permissã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ã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ário';
$txt['permissionhelp_arcade_comment'] = 'Permite o membro para editar comentários , próprio ou qualquer ';
$txt['permissionname_arcade_comment_any'] = 'Qualquer';
$txt['permissionname_arcade_comment_own'] = 'Próprio';
// 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 permissã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>
Quote from: adelaidebear on July 23, 2008, 05:42:41 AMI've made this:
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
// Arcade
if ($context['user']['is_logged'])
echo '<li><a' , $current_action=='arcade' ? ' class="current"' : '' , ' href="', $scripturl, '?action=arcade"><span>' , $txt[999] , '</span></a></li>';
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."
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"
Quote from: fwitt on July 27, 2008, 08:10:56 AMThanx for the reply
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.
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 ???
Quote from: fwitt on July 30, 2008, 03:47:43 AMPM sent! Thanx and happy holidays.
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.
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?
Quote from: loadedgun28 on August 03, 2008, 12:14:30 PMYou should have an "Arcade Admin" section on the left menu and under Settings at the top of this section it should be Enabled!
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.
Quote from: struggler on August 03, 2008, 06:51:29 PMThat 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.
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
Quote from: Niko on July 28, 2008, 03:52:32 PMQuote 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
Quote from: memyselfandI on August 04, 2008, 11:37:43 AM
How do I get the arcade to show in other themes?
Quote from: Jaba on August 03, 2008, 12:40:29 PMTo SMF Arcade Admins
PS. Still waiting for an email! Any other Arcade Admins can you take a look please??
QuoteAn Error Has Occurred!
You are not allowed to play games!
Quote from: ∑£ℓ¢†®¡¢ §ợų¡đ on August 04, 2008, 09:43:41 PMTip; When you want to search for something in a set of files try this.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 ;)
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
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!
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
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
Quote from: Jaba on August 04, 2008, 07:48:24 PMQuote from: Jaba on August 03, 2008, 12:40:29 PMTo SMF Arcade Admins
PS. Still waiting for an email! Any other Arcade Admins can you take a look please??
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.
Quote from: tom155 on August 10, 2008, 12:10:33 PM1st you have to get the authors permission to convert the game and then find someone to do it.
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.
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.
Quote from: rider on August 10, 2008, 12:14:47 PMQuote from: tom155 on August 10, 2008, 12:10:33 PM1st you have to get the authors permission to convert the game and then find someone to do it.
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.
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.
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!
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.
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)
Quote from: Ur_Irish_Rose on August 12, 2008, 09:05:34 PMChances are with 4000 games you have gamedata folders with them.try and upload the folders again.see if that helps.
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
Quote from: memyselfandI on August 19, 2008, 10:39:56 PMWhere did you get the games from?Not all games work with the arcade.
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?
Quote from: SuperZambezi on August 18, 2008, 07:41:03 PMCheck the categories and games permissions.all the members permissions.
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.
Quote from: SuperZambezi on August 20, 2008, 12:37:16 AMGlad to help.
taht did the trick. thanks ;D
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
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
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
Quote from: wdm2005 on August 20, 2008, 05:05:33 PMQuote 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
Quote from: rider on August 20, 2008, 12:01:56 AMQuote from: memyselfandI on August 19, 2008, 10:39:56 PMWhere did you get the games from?Not all games work with the arcade.
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?
Quote from: bullbreedluverz on August 21, 2008, 07:35:29 AMyou'll have to enable each game.goto admin>games and click the edit tab and enable them.
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...........
Quote from: The Saviour on August 24, 2008, 11:02:31 AMcheck your guests permissions.
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?
Quote from: tuguex on August 22, 2008, 08:28:25 AMclick the link in my sig.you'll find your answers there.
How i can add "Arcade" button to my forum menu?
imp: i'm using a menu with images
Quote from: rider on August 24, 2008, 11:13:58 AMQuote from: The Saviour on August 24, 2008, 11:02:31 AMcheck your guests permissions.
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?
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....
Quote from: fwitt on August 25, 2008, 07:12:05 AMThanks fwitt. Is there anywhere that I can find the mods necessary for Dilber and Babylon themes - I've trawled through several pages here :)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.
Quote from: coolcrustycat on August 25, 2008, 09:23:49 AMQuote from: fwitt on August 25, 2008, 07:12:05 AMThanks fwitt. Is there anywhere that I can find the mods necessary for Dilber and Babylon themes - I've trawled through several pages here :)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.
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!!!
Quote from: fwitt on August 29, 2008, 03:27:52 PMThanx for the reply fwittQuote 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.
Quote from: swan on August 30, 2008, 07:16:52 AMi just tried that for the heck of it and still said the same thing.
This happend to me so i changed all the packages in my cpanel (file manager) to 755 and it was fine then
Quote from: B.SkiLLs on August 30, 2008, 07:29:10 AMtry this.packages>options>make all files writable.then installQuote from: swan on August 30, 2008, 07:16:52 AMi just tried that for the heck of it and still said the same thing.
This happend to me so i changed all the packages in my cpanel (file manager) to 755 and it was fine then
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
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!
Quote from: fwitt on August 30, 2008, 08:28:16 AMto add to this change the game only permission to none and your problems should be fixed.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.
Quote from: rider on August 30, 2008, 09:25:49 AMfwitt & rider, big thank you for the feedback on this prob.Quote from: fwitt on August 30, 2008, 08:28:16 AMto add to this change the game only permission to none and your problems should be fixed.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.
Quote from: Jaba on August 30, 2008, 02:22:04 PMglad 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.Quote from: rider on August 30, 2008, 09:25:49 AMfwitt & rider, big thank you for the feedback on this prob.Quote from: fwitt on August 30, 2008, 08:28:16 AMto add to this change the game only permission to none and your problems should be fixed.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.
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.
Quote from: rider on August 30, 2008, 08:18:43 AMQuote from: B.SkiLLs on August 30, 2008, 07:29:10 AMtry this.packages>options>make all files writable.then installQuote from: swan on August 30, 2008, 07:16:52 AMi just tried that for the heck of it and still said the same thing.
This happend to me so i changed all the packages in my cpanel (file manager) to 755 and it was fine then
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
Quote from: B.SkiLLs on August 30, 2008, 03:46:06 PMmake sure the arcade is enabled and how did you install the games.post a link to your site if you want.Quote from: rider on August 30, 2008, 08:18:43 AMQuote from: B.SkiLLs on August 30, 2008, 07:29:10 AMtry this.packages>options>make all files writable.then installQuote from: swan on August 30, 2008, 07:16:52 AMi just tried that for the heck of it and still said the same thing.
This happend to me so i changed all the packages in my cpanel (file manager) to 755 and it was fine then
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
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
Quote from: rider on August 30, 2008, 03:12:22 PMHi Rider, yeah I didn't think that level of control existed so I can think of at least one good way of applying it.Quote from: Jaba on August 30, 2008, 02:22:04 PMglad 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.Quote from: rider on August 30, 2008, 09:25:49 AMfwitt & rider, big thank you for the feedback on this prob.Quote from: fwitt on August 30, 2008, 08:28:16 AMto add to this change the game only permission to none and your problems should be fixed.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.
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.
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?
Quote from: giridhar on August 31, 2008, 09:54:23 AMdid 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?
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
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?
Quote from: giridhar on August 31, 2008, 01:31:26 PMswitch 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.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
Quote from: rider on August 30, 2008, 04:55:51 PMQuote from: B.SkiLLs on August 30, 2008, 03:46:06 PMmake sure the arcade is enabled and how did you install the games.post a link to your site if you want.Quote from: rider on August 30, 2008, 08:18:43 AMQuote from: B.SkiLLs on August 30, 2008, 07:29:10 AMtry this.packages>options>make all files writable.then installQuote from: swan on August 30, 2008, 07:16:52 AMi just tried that for the heck of it and still said the same thing.
This happend to me so i changed all the packages in my cpanel (file manager) to 755 and it was fine then
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
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
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
Quote from: sunite on September 01, 2008, 02:16:38 PM
Can you please Upgrade to SMF 2.0 Beta 3.1 Public
ty
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
Quote from: VegaTheChosen on September 03, 2008, 09:09:59 PMcheck 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.
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
Quote from: F.L.A.M.E.R on September 05, 2008, 05:20:00 PMFlamer 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.
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... ;)
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 :(
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
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.
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.
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?
Quote from: fwitt on September 09, 2008, 08:22:38 PMQuote 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.
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
The package you tried to upload either is not a valid package or has become corrupted.
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
Quote from: Fox420 on September 19, 2008, 06:21:21 PMin 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.
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]
Quote from: matasanos on September 21, 2008, 11:25:01 AM
any mod to make cups?? tournaments?
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?
Quote from: ruedigers on September 23, 2008, 02:44:48 AMQuote 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
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 ???????????
Quote from: Crasy on September 25, 2008, 04:37:21 PMQuote 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?
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 ]
$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.';
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!
if (in_array($context['current_action'], array('search',
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?
Quote from: mogster on October 09, 2008, 03:16:26 PMif 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.
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?
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.
QuoteCould not upload package, please check directory permissions!
Quote from: THE BRA1N on October 13, 2008, 01:09:37 AMQuote 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?
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
Quote from: The Cadet on October 14, 2008, 01:29:17 AMQuote from: THE BRA1N on October 13, 2008, 01:09:37 AMQuote 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.
// calendar button
$context['menubox'][]=array(
'title' => $txt['arcade'],
'link' => $scripturl.'?action=arcade',
'chosen' => 'arcade',
'memberonly' => false,
'guestonly' => false,
'permission' => 'allow_arcade',
);
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
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
Quote from: bros on October 16, 2008, 06:32:34 PMQuote 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.
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
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
Quote from: The Cadet on October 16, 2008, 11:43:33 AMQuote 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.
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
Quoteif (!$context['arcade']['can_play'])
fatal_lang_error('cannot_arcade_play');
Quoteif (!$context['arcade']['can_play'])
fatal_lang_error('cannot_arcade_play', false);
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)
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?
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)
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
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.
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?
Quote from: Mr_Lon on November 09, 2008, 11:39:38 AM
Are you going to release support for SMF 1.1.7?
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?
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/
Quote from: Niko on November 18, 2008, 03:08:28 PMQuote 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.
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.
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?
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
Quoteif (in_array($context['current_action'], array('downloads','staff','search',
Quote from: fwitt on November 19, 2008, 04:57:31 PMQuote 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.
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...
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.
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 ?
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
Quote from: dwd2000 on November 22, 2008, 02:54:34 PMQuote 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.
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.
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.
QuoteSoftException in Application.cpp:252: File "/home/...../public_html/...../installArcade.php" is writeable by group
QuoteSoftException in Application.cpp:252: File "/home/...../public_html/...../installArcade.php" is writeable by group
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?
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?
Quote from: dwd2000 on November 26, 2008, 08:42:40 PMQuote 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?
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?
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?
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
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
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?
Quote from: afe on December 22, 2008, 02:59:01 PM
Where can we see a demo?
Thanks.
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?
Quote from: afe on December 22, 2008, 04:56:42 PM
Cool, where do I get the games that are with high scores?
Thanks. :)
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. :) )
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!
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?
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 :(
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.
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
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 ?
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.
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)
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.
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.........
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?
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 :(
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.
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'
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'
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!
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'
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
Quote from: Niko on January 31, 2009, 02:51:27 PMQuote 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
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.phpCode Selecthttp://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: 206Code Selecthttp://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?
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.
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 ?
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...
Quotethen my genius self deleted the package! Ahhhh
Quote from: jeza on February 09, 2009, 08:50:33 AMQuotethen 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.
Fatal error: Call to undefined function create_control_autosuggest() in /home/xxxxxxx/public_html/forums/Sources/ArcadeArena.php on line 325
Quote from: MrMoney on February 10, 2009, 08:07:49 PM
This and E-Arcade should merge.
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:Code SelectFatal 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.
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...! :) :)
Quote from: Skhilled on February 12, 2009, 08:08:47 AMQuote 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:Code SelectFatal 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: 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 :)
Quote from: Skhilled on February 15, 2009, 01:43:10 AMQuote 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.
Quote from: kingkingston on February 15, 2009, 05:37:55 AMQuote from: Skhilled on February 15, 2009, 01:43:10 AMQuote 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
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.
Quote from: aED on February 21, 2009, 05:27:36 AM
Is there a new version for SMF 2.0 RC1?
Quote from: The Rancher on February 20, 2009, 10:28:11 PMQuote 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
Quote from: Skhilled on February 21, 2009, 09:35:46 AMQuote from: The Rancher on February 20, 2009, 10:28:11 PMQuote 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.
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.
Directory /home/***/Games is not writable and chmod didn't succeed. Please make it writable manually.
Quote from: Skhilled on February 22, 2009, 04:26:46 AMQuote 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.
Quote from: Kat on February 23, 2009, 09:03:37 AM
install.xml
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?
Quote from: timthrill on February 26, 2009, 01:49:16 PM
yes i did all that
Quote from: timthrill on February 26, 2009, 01:31:02 PManyone?
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?
Quote from: timthrill on February 27, 2009, 11:43:50 AMQuote from: timthrill on February 26, 2009, 01:31:02 PManyone?
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?
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 errorCode SelectDirectory /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.
Quote from: The Rancher on February 23, 2009, 01:41:38 PMQuote 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?
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...!
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?
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?
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?
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?
Quote from: kingkingston on February 27, 2009, 12:58:00 PMyepQuote from: timthrill on February 27, 2009, 11:43:50 AMQuote from: timthrill on February 26, 2009, 01:31:02 PManyone?
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?
Have you got it linked up to the arcade button right ?
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?
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.
Quote from: timthrill on February 28, 2009, 10:49:01 AMQuote from: kingkingston on February 27, 2009, 12:58:00 PMyepQuote from: timthrill on February 27, 2009, 11:43:50 AMQuote from: timthrill on February 26, 2009, 01:31:02 PManyone?
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?
Have you got it linked up to the arcade button right ?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?
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?
Quote from: aED on March 01, 2009, 09:55:42 AM
Is there a MOD like this for RC1
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?
<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>
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: 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 :Code Select
<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>
Quote from: Niko
Yes, this is known bug, fixed in Beta 4 (Issue #198)
Fix:
Subs-Arcade.php
Find:Code SelectORDER BY score ' . ($reverse ? 'ASC' : 'DESC'),
Replace with:Code SelectORDER BY score ' . ($reverse ? 'DESC' : 'ASC'),
Otherwise it compares to best core instead of worst
Table 'ipost.smf_arcade_games' doesn't exist
File: .../Sources/ArcadeList.php
Line: 136
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.
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...Code Select
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
Quote from: fwitt on March 02, 2009, 05:09:08 PMQuote 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 :Code Select
<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:Code SelectORDER BY score ' . ($reverse ? 'ASC' : 'DESC'),
Replace with:Code SelectORDER BY score ' . ($reverse ? 'DESC' : 'ASC'),
Otherwise it compares to best core instead of worst
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..?
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 ;)
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?
Quote from: Uhura! on March 13, 2009, 08:09:31 PMQuote 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!
Quote from: Skhilled on March 01, 2009, 03:04:07 PMseem to be missing that file were can i get it?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 AMQuote from: kingkingston on February 27, 2009, 12:58:00 PMyepQuote from: timthrill on February 27, 2009, 11:43:50 AMQuote from: timthrill on February 26, 2009, 01:31:02 PManyone?
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?
Have you got it linked up to the arcade button right ?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.phpQuote 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.
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.
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.
Quote from: fwitt on March 14, 2009, 11:30:47 PMok found the file thanks here's the sorce code prehaps someone could look over it for me.
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/
<?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'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $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;" />
<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 ' > ';
}
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 , '"> </td>';
// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
// Show the [help] button.
echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
// How about the [search] button?
if ($context['allow_search'])
echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </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 . '"> </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 . '"> </td>' : '';
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </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 . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'pm' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>
</td>' , $current_action == 'pm' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </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 . '"> </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 . '"> </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 . '"> </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 . '"> </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 . '"> </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 . '"> </td>' : '';
// The end of tab section.
echo '
<td class="maintab_' , $last , '"> </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> </td>';
echo '
<td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_' , $context['right_to_left'] ? 'last' : 'first' , '"> </td>
<td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_back">', implode(' | ', $button_strip) , '</td>
<td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_' , $context['right_to_left'] ? 'first' : 'last' , '"> </td>';
}
?>
Quote from: gbsothere on March 28, 2009, 09:06:34 AMQuote 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".
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?
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
QuoteI went to FTP and removed the files but it still there..
QuoteHow do I get rid of the things
Quote from: timthrill on March 28, 2009, 01:45:27 PMQuote from: fwitt on March 14, 2009, 11:30:47 PMok found the file thanks here's the sorce code prehaps someone could look over it for me.
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/
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')))
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')))
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
Quote from: jeza on April 03, 2009, 03:27:06 PMthanks that helpedQuote 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
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...
Quote from: the_shadow on April 09, 2009, 10:52:14 AMQuote 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?
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
Quote from: Skhilled link=topic=29619.msg2011828#msg2011828
Your question has been answered at SMF Arcade.
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?
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
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
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
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.
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?
Quote from: BoZilla on April 28, 2009, 08:52:58 AMQuote 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!
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?
Quote from: fwitt on April 28, 2009, 06:21:47 PMQuote 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)
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...
Quote
Theme/Themename/languages/modifications.english.php
Quote from: aED on April 29, 2009, 05:17:42 AM
can you attach your language file here its located at your Theme folderQuote
Theme/Themename/languages/modifications.english.php
And lets see if there is something missing
Quote from: synicfan on April 29, 2009, 08:07:19 AMQuote from: aED on April 29, 2009, 05:17:42 AM
can you attach your language file here its located at your Theme folderQuote
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. :)
Quote from: fwitt on April 29, 2009, 08:36:47 AMQuote from: synicfan on April 29, 2009, 08:07:19 AMQuote from: aED on April 29, 2009, 05:17:42 AM
can you attach your language file here its located at your Theme folderQuote
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...
Quote from: synicfan on April 29, 2009, 09:32:33 AMQuote from: fwitt on April 29, 2009, 08:36:47 AMQuote from: synicfan on April 29, 2009, 08:07:19 AMQuote from: aED on April 29, 2009, 05:17:42 AM
can you attach your language file here its located at your Theme folderQuote
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?
:)
Quote from: synicfan on April 29, 2009, 10:38:05 AMQuote from: synicfan on April 29, 2009, 09:32:33 AMQuote from: fwitt on April 29, 2009, 08:36:47 AMQuote from: synicfan on April 29, 2009, 08:07:19 AMQuote from: aED on April 29, 2009, 05:17:42 AM
can you attach your language file here its located at your Theme folderQuote
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?
Quote from: Pennhurst1 on April 29, 2009, 06:12:45 PM
ARGH! Got it installed, but how do I add games. >:(
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.
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?
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?
Quote from: fwitt on May 04, 2009, 08:45:00 AMRegistered at smfarcade.info and I was able to create a new match.
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.
Quoteif (!empty($errors))
{
$context['errors'] = array();
foreach ($errors as $err)
$context['errors'][] = $txt['arena_error_' . $err];
}
checkSubmitOnce('register');
// Layout
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?
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?
if ($showConfirm || !empty($errors))
return ArcadeNewMatch($match, $showConfirm ? array() : $errors);
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);
Quote from: Niko on May 05, 2009, 11:17:10 AMPM'd you the output ;)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)
ReplaceCode Select
if ($showConfirm || !empty($errors))
return ArcadeNewMatch($match, $showConfirm ? array() : $errors);
withCode Select
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);
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)
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&";
var smf_iso_case_folding = false;
var smf_charset = "UTF-8";
var ajax_notification_text = "Loading...";
var ajax_notification_cancel_text = "Cancel";
// ]]></script>
Quote<![CDATA[to
Quote<script language="JavaScript" type="text/javascript">and at the bottom chang the
Quote// ]]></script>to
Quote</script>
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 ]
Quote from: mattchewone on May 06, 2009, 05:14:34 PM
Is there a way to set up competitions or challenge members?
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
QuoteDatabase Error: Unknown column 'm.id_member' in 'where clause'
File: /public_html/Sources/Subs-Arcade.php
Line: 308
Quote from: johncccccc on May 05, 2009, 10:40:26 AManybody . . .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...
Quote from: jeza on May 08, 2009, 10:50:16 AMQuote 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.
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 ??
Quote from: johncccccc on May 10, 2009, 10:55:35 AMQuote from: johncccccc on May 05, 2009, 10:40:26 AManybody . . .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...
Quote from: jeza on May 08, 2009, 10:51:28 AMQuote 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
QuoteDatabase Error: Unknown column 'm.id_member' in 'where clause'
File: /public_html/Sources/Subs-Arcade.php
Line: 308
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!
Quote from: fwitt on May 18, 2009, 05:00:34 PMQuote 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?
Quote from: monsterstar on May 19, 2009, 09:32:42 AMQuote from: fwitt on May 18, 2009, 05:00:34 PMQuote 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
$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
)
);
$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
)
);
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
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
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.
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.. :)
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
Quote from: BoZilla on June 02, 2009, 10:30:40 PMQuote 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.
Quote from: JBlaze on June 02, 2009, 10:35:27 PMOk, 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!? :oQuote from: BoZilla on June 02, 2009, 10:30:40 PMQuote 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.
Quote from: Shaman666 on June 03, 2009, 03:34:21 PM
Is ti possible to install latest version to 1.1.9?
Quote from: Niko on June 04, 2009, 03:43:19 AMmy unistall button for 2.0.17 is not there anymore so is it alright to delete it or how do i update the mod ?
2.0.18 is now available for 1.1.9. No need for emulate version anymore.
Quote from: BoZilla on June 02, 2009, 10:30:40 PMQuote 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.
Quote from: kingkingston on June 04, 2009, 04:37:58 AMQuote from: Niko on June 04, 2009, 03:43:19 AMmy unistall button for 2.0.17 is not there anymore so is it alright to delete it or how do i update the mod ?
2.0.18 is now available for 1.1.9. No need for emulate version anymore.
Quote from: BoZilla on June 02, 2009, 10:54:30 PMQuote from: JBlaze on June 02, 2009, 10:35:27 PMOk, 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!? :oQuote 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.
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.
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
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
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
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?
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?
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!
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?
Quote from: fwitt on June 21, 2009, 11:45:47 AMQuote 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.
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
Quote from: neteater on June 25, 2009, 12:47:01 PM
how to make it working with 2.0rc1-1
Table 'greeksc_maindatabase.smf_games' doesn't exist
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
Quote from: MF30 on July 06, 2009, 01:03:44 PM
Bump. :(
Quote from: gbsothere on July 06, 2009, 02:18:06 PMQuote 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.
Quote from: MF30 on July 06, 2009, 02:41:43 PM
Thanks. ;)
Quote from: MATTEK on July 06, 2009, 04:54:56 PM
When is the RC1 package coming out?
Quote from: w0rthex on July 19, 2009, 06:44:44 PM
How can I add games to SMF arcade?
Quote from: ATICE on July 24, 2009, 02:04:39 AM
I will be waiting for this to be released for 1.1.10... :)
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???
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???
Quote from: ATICE on July 24, 2009, 02:04:39 AM
I will be waiting for this to be released for 1.1.10... :)
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.
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
Quote from: Niko on August 08, 2009, 04:40:26 AMQuote 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.
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.
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.
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
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
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.
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)
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.
Quote from: psynx on August 14, 2009, 03:37:10 PM
table smf_arcade_games is not there.
Quote from: psynx on August 14, 2009, 04:01:10 PM
OMG! it works!!!!
haha!
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.
Quote from: BarfBag on August 15, 2009, 10:30:43 AM
Hey guys, I was wondering if this modification had a multiplayer feature?
Quote from: Keith99 on August 16, 2009, 04:47:20 AM
Does this work with SMF 2 RC1.2 ?
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?
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
Quote from: Nameless? on August 27, 2009, 01:39:22 PM
im using Overview theme
Quote from: fwitt on August 23, 2009, 07:01:22 AMQuote 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)
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?
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. :)
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!
Quote from: NBK*Twitch on August 30, 2009, 04:08:00 PM
Humm I do not see that option.
Quote from: gbsothere on August 30, 2009, 04:47:15 PMQuote 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.
Quote from: gbsothere on August 30, 2009, 04:40:57 PMQuote 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?
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
Quote from: NBK*Twitch on August 30, 2009, 05:09:48 PM
I see everything,but the edit games option.
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..
Quote from: Nameless? on August 31, 2009, 09:10:24 AM
i uploaded and installed gamepack1 with no problems/errors :-/
Quote from: gbsothere on August 30, 2009, 08:11:31 PMQuote 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)
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.
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
Quote from: Nameless? on August 31, 2009, 02:46:53 PM
hmm this was wierd :/ i installed gamepack15 worked fine no errors
Quote from: gbsothere on August 31, 2009, 07:54:08 AMNope this did not fix it either =[.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)
Quote from: gbsothere on August 31, 2009, 11:42:29 AMQuote 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?
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
Quote from: gbsothere on September 01, 2009, 08:28:46 AMQuote 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).
Quote from: AM Woody3 on September 01, 2009, 08:59:09 AM
Awesome! That worked. Thanks!
Quote from: Nameless? on September 01, 2009, 12:38:22 PM
can i split up then upload? that does work???
Quote from: Shadow1243 on September 02, 2009, 12:37:07 PM
One question;
What must be chmod permissions of Games directory and games' permissions?
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?
Quote from: sremick on September 04, 2009, 12:55:14 PM
200 pages and no way to search. Sorry if this is a FAQ. :(
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?
Quote from: Nameless? on September 06, 2009, 08:45:47 AM
gbsot would u help me with a thing? would be great 8)
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 :-\
Quote from: Nameless? on September 06, 2009, 09:35:17 AM
i dont need to switch theme now while i do this operation?
Quote from: Nameless? on September 06, 2009, 09:46:03 AM
Im Done. now to fix the games right?
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
Quote from: Nameless? on September 06, 2009, 09:56:32 AM
i set it to Category and games
Quote from: Nameless? on September 06, 2009, 10:11:21 AM
try now, its set to None
Quote from: Nameless? on September 06, 2009, 10:17:47 AM
ok done
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
Quote from: Nameless? on September 06, 2009, 10:34:36 AM
wow works good :D i uploaded through FTP Thanks once again gbsothere ;-)
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?
Quote from: Nameless? on September 13, 2009, 09:35:21 AM
it seems advanced :S . its the 7th mod i install ;]
Quote from: Nameless? on September 13, 2009, 09:43:45 AM
wow seems awesome.
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 ?
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?
Quote from: NBK*Twitch on August 31, 2009, 03:23:22 PMQuote from: gbsothere on August 31, 2009, 07:54:08 AMNope this did not fix it either =[.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)
I will reinstall it and see if that helps any.
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 :/.
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.
Quote from: gbsothere on September 14, 2009, 09:06:04 AMYes I am using rc1.2.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.
Quote from: NBK*Twitch on September 15, 2009, 10:50:02 AM
Yes I am using rc1.2.
Quote from: gbsothere on September 15, 2009, 11:00:51 AMQuote 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.
:)
// Show the [help] button.
echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </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 . '"> </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 . '"> </td>' : '';
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
Quote from: shianne on September 18, 2009, 10:41:22 AM
UPDATE!!! Just found it...it was a sleepy Arcade mod...Attached:
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 ;)
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
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
Quote from: MrDby on October 02, 2009, 06:11:06 PM
this works fine for 1.1.10?
Quote from: gbsothere on October 02, 2009, 06:29:33 PMcan i see ur arcade?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. :)
Quote from: MrDby on October 04, 2009, 03:09:01 PMMake 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
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!
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 :)
echo ($current_action=='link' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'link' ? 'current' : '' , '"><a href="http://Your-Link">Link Name</a></li>';
echo ($current_action=='arcade' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'arcade' ? 'current' : '' , '"><a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a></li>';
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!
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?
Quote from: jeza on October 12, 2009, 03:45:40 AMQuote 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.
Quote from: punktravis182 on October 12, 2009, 11:45:36 PMQuote from: jeza on October 12, 2009, 03:45:40 AMQuote 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.
Quote from: ♪ JohnCcCcCc ♫ on October 13, 2009, 12:11:53 AMQuote from: punktravis182 on October 12, 2009, 11:45:36 PMQuote from: jeza on October 12, 2009, 03:45:40 AMQuote 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
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.
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
Quote5. Execute Modification ./Themes/default/index.template.php Test failed
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
Quote from: Kim Arne on October 16, 2009, 06:47:26 AMQuote5. 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
Quote from: Kim Arne on October 16, 2009, 06:47:26 AMQuote5. 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
if (in_array($context['current_action'], array('admin',
'managegames', 'arcadesettings', 'arcadecategory',
if (in_array($context['current_action'], array('search',
'arcade',
// How about the [search] button?
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
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
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?
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?
Quote from: Blah blah on October 23, 2009, 12:20:28 PM
Ill pay you for a template to do that
Quote from: 01_Underdog on October 16, 2009, 11:08:24 PMQuote from: Kim Arne on October 16, 2009, 06:47:26 AMQuote5. 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:Code Select
if (in_array($context['current_action'], array('admin',
Copy and paste this right after the above if necessary(on the same line):Code Select
'managegames', 'arcadesettings', 'arcadecategory',
Find:Code Select
if (in_array($context['current_action'], array('search',
Copy and paste this right after the above if necessary(on the same line):Code Select
'arcade',
Find:Code Select
// How about the [search] button?
Add the following BEFORE the above code( if necessary):Code Select
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
UD
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
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...
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
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
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.
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.
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
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.
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.
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?
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.
Quote from: LBizGrl on November 01, 2009, 08:18:12 PMQuote 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
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.
:)
Quote from: xMichael2008x on November 02, 2009, 03:14:59 PM
Thank you so much for the informative replay 8)
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.
Quote from: gbsothere on November 10, 2009, 08:31:52 PMi 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)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?
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....
http://YOUR_SITE/index.php?autocom=arcade&do=savescore
// Try to remove destination if it exists (usually it's same so skip if fails)
if (file_exists($to . '/' . $fileFrom) && !unlink($to . '/' . $fileFrom)
// Try to remove destination if it exists (usually it's same so skip if fails)
if (file_exists($to . '/' . $fileFrom) && !unlink($to . '/' . $fileFrom))
Quote from: the_shadow on November 29, 2009, 11:19:28 AMDo what the above post says to do
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?
Quote from: scimmiotto on November 29, 2009, 08:59:13 AM
ok i found a bug...on line 943 u must delete the ; fromCode Select// Try to remove destination if it exists (usually it's same so skip if fails)
if (file_exists($to . '/' . $fileFrom) && !unlink($to . '/' . $fileFrom)
toCode Select// Try to remove destination if it exists (usually it's same so skip if fails)
if (file_exists($to . '/' . $fileFrom) && !unlink($to . '/' . $fileFrom))
// Try to remove destination if it exists (usually it's same so skip if fails)
if (file_exists($to . '/' . $fileFrom) && !unlink($to . '/' . $fileFrom);)
// Try to remove destination if it exists (usually it's same so skip if fails)
if (file_exists($to . '/' . $fileFrom) && !unlink($to . '/' . $fileFrom))
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.
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)
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/
Quote from: quiteperplexed
In the FAQ it says that the Games folder should have a trailing backslashQuote5. 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.
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
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
// Try to remove destination if it exists (usually it's same so skip if fails)
if (file_exists($to . '/' . $fileFrom) && !unlink($to . '/' . $fileFrom);)
continue;
$fileFrom)
that should be $fileFrom))
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.
Quote from: gbsothere on December 03, 2009, 11:58:36 AMQuote 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?
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.
Quote from: quiteperplexed on December 03, 2009, 06:17:47 AMOh I must have missed that post. Thank you for helping me. :)
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 saysCode Select$fileFrom)
that should beCode Select$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.
Quote from: gbsothere on December 03, 2009, 06:58:48 PMQuote 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.
:)
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
Quote from: MATTEK on December 06, 2009, 07:12:51 PM
How do I upload games?
Parse error: syntax error, unexpected ';' in /home/content/p/a/l/palmbeachpreps/html/Sources/Subs-ArcadeAdmin.php on line 943
Quote from: PalmBeachPreps on December 06, 2009, 08:39:54 PM
I'm getting an error when I attempt to upload/install games:Code SelectParse error: syntax error, unexpected ';' in /home/content/p/a/l/palmbeachpreps/html/Sources/Subs-ArcadeAdmin.php on line 943
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 saysCode Select$fileFrom)
that should beCode Select$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.
Quote from: quiteperplexed on December 07, 2009, 04:55:52 AMThanks!
a few posts up and a few pages back you will find your answer
Quote from: gbsothere on December 06, 2009, 07:16:23 PMQuote 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?
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.
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
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
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
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
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
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
Quotethe Arcade 2.5 RC1 Public version
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.
Quote from: gfa-skyranger on December 12, 2009, 09:53:08 AMhttp://games.smfarcade.info/
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
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. :\
Quote
SMF_Arcade_2.0.18.zip for 1.1.x
SMF_Arcade_2.5_RC1_Public.zip for 2.0 RC2
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
Quote from: LBizGrl on December 15, 2009, 08:14:49 PM
I have 1.1.11 Will it be updated to that compatibility soon?
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
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.
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.
Quote from: LadyChaos on December 12, 2009, 07:59:54 PMQuote from: gfa-skyranger on December 12, 2009, 09:53:08 AMhttp://games.smfarcade.info/
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
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
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.
Quote from: ChristmasIsPerplexing on December 15, 2009, 07:35:17 PMQuote 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.
if (in_array($context['current_action'], array('admin',
'managegames', 'arcadesettings', 'arcadecategory',
if (in_array($context['current_action'], array('search',
'arcade',
// How about the [search] button?
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
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!
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:Code Select
if (in_array($context['current_action'], array('admin',
Add this after the above code: (same line after the comma)Code Select
'managegames', 'arcadesettings', 'arcadecategory',
Find:Code Select
if (in_array($context['current_action'], array('search',
Add this after the above code: (same line after the comma)Code Select
'arcade',
Find:Code Select
// How about the [search] button?
Add this before the above code: (create new lines before above code)Code Select
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
If you still have troubles, just attach the file and I'll edit it.
UD
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
// 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>';
}
Quote from: Zidane5555 on December 25, 2009, 03:02:02 PM
Yes correct, the Blue Ace theme.Code Select// 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>';
}
// 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>';
}
Quote from: Sakurachan on December 26, 2009, 12:16:05 AM
Any plans for SMF 1.1.11 version?
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.. ?
Quote from: scimmiotto on December 24, 2009, 01:14:54 PMQuote 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?
// 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>';
}
// 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>';
}
Quote from: gbsothere on December 26, 2009, 09:22:34 AMQuote 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. :)
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. :)
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
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?
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.
Quote from: Zidane5555 on December 26, 2009, 08:16:02 PMAlright 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?
Quote from: gbsothere on December 26, 2009, 09:18:16 PMQuote 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.
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.
Quote from: 01_Underdog on December 27, 2009, 04:07:07 PMQuote 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
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?
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
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??
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???
Quote from: BCK on January 14, 2010, 11:25:48 AM
English-utf8....should it be other??
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???
Quote from: Bigguy on December 29, 2009, 11:19:21 AM
So you have checked ownership of files and folders as well. ???
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
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
Quote from: jeza on January 17, 2010, 07:36:22 AMQuoteThe 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.
Quote from: bperry921 on January 17, 2010, 07:48:55 AMQuote from: jeza on January 17, 2010, 07:36:22 AMQuoteThe 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
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
QuoteWell that didn't work, msg still remains in email from cron job...
Quote from: jeza on January 17, 2010, 12:27:33 PMQuoteWell 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.
Quote from: jeza on January 17, 2010, 12:24:00 PMQuote 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.
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
Quote from: fwitt on February 02, 2010, 12:13:59 PMQuote 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?
Quote from: nurg on February 03, 2010, 02:28:56 AM
Yes
www.todocromos.com
thanksQuote from: fwitt on February 02, 2010, 12:13:59 PMQuote 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?
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)
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
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 gameQuotehi 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
<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 . '"> </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 . '"> </td>' : '';]]></add>
</operation>
</file>
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?Code Select<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 . '"> </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 . '"> </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?
if (in_array($context['current_action'], array('admin',
'managegames', 'arcadesettings', 'arcadecategory',
if (in_array($context['current_action'], array('search',
'arcade',
// How about the [search] button?
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
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.
Quote from: farao25 on February 11, 2010, 01:09:49 AM"URL to Games:" should have you site's URL in it.
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 ?
Quote from: zx71 on February 11, 2010, 01:20:01 AMNot sure why your games are still showing small. What browser are you using? Have you tried using a different one for comparison?
so can i help some help with my problem? (all games showing really small)
Quote from: waruna on March 10, 2010, 01:28:08 PMRun Arcade Maintenance : Update Cache and scores and see if that helps. Also, try these 2:
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
Quote from: smp420 on March 11, 2010, 11:08:06 PMThis 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.
Getting this error
Code SelectIllegal 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
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
Quote from: Glowbot on March 13, 2010, 06:44:21 AMI 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:
Hi, just wondering, I get these errorsQuote8: Undefined variable: first
File: /home/alist/public_html/Themes/default/ArcadeMenu.template.php (main_above sub template - eval?)
Line: 668Quote8: 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.
Quote from: smp420 on March 13, 2010, 02:02:10 PMThere is a hack in the Hacks board that will allow you to play Mochi games with SMF Arcade.Quote from: Blah blah on March 09, 2010, 10:02:53 PMI 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
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.
Quote from: Blah blah on March 13, 2010, 04:04:47 PMThis 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.
I cant get games to submit scores that have a "gamedata" folder??? If they dont they work just fine
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
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.
Quote from: GohighVoltage on March 20, 2010, 10:03:23 AM
Is there an update for RC3?
Quote from: Blah blah on March 10, 2010, 01:54:04 AMiii downloaded some games here.
Thanks.
Here is another good one I found
http://www.forums.wolfpackarcade.com/index.php?
Quoteiii downloaded some games here.
how do i add them to the arcade ?
Quote from: cutelover007 on March 20, 2010, 10:41:05 PMb4 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.
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....
Quote from: OZZIE on March 20, 2010, 06:03:25 PMino site.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
Quote from: Afro on March 21, 2010, 08:12:44 AMD/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.Quote from: OZZIE on March 20, 2010, 06:03:25 PMino site.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
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.
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.
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. ;)
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
Quote from: Afro on March 22, 2010, 10:52:16 AMQuote 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 ?
Quote from: ACAMS on March 31, 2010, 09:05:22 AMYes, 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. :)
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++)
Quote from: ACAMS on March 31, 2010, 09:05:22 AMFor 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.
How can I stop future attacks?
Am I in the right forum?
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?
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
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
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. ;)
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Quote from: MATTEK on May 02, 2010, 12:34:35 PM
And where's the best place to get games?
Quote from: MATTEK on May 02, 2010, 12:34:35 PM
And where's the best place to get games?
Quote from: MATTEK on May 02, 2010, 05:08:34 PMtry checking ur lang. files.If its set to english-utf8 change to english and see if that works.
Anyone know why I don't have arcade options in my acp?
Quote from: MATTEK on May 02, 2010, 05:08:34 PM
Anyone know why I don't have arcade options in my acp?
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
Quote from: Afro on May 05, 2010, 11:05:43 AMQuote 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 ?
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.
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
QuoteWHAT?! ??? Ozzie, that it wrong,
Quote from: genius09 on May 08, 2010, 01:12:10 PMCheck all your group permissions.As well as your arcade permissions in arcade admin.in arcade admin select none for permissions.
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.
Quote from: MATTEK on May 05, 2010, 07:05:11 PMsorry for the late reply,u should choose writable and then try it.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"?
Quote from: rider on May 08, 2010, 01:32:37 PMQuote from: MATTEK on May 05, 2010, 07:05:11 PMsorry for the late reply,u should choose writable and then try it.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"?
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
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..
Quote from: fwitt on June 20, 2010, 06:37:51 AMQuote 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.
QuoteFatal error: Call to undefined function submitsysteminfo() in /home/cottageh/public_html/thewitchespath.com/Sources/ArcadeAdmin.php on line 112
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.
function ArcadeAdminSettings($return_config = false)
{
global $scripturl, $txt, $modSettings, $context, $settings;
$context[$context['admin_menu_name']]['tab_data']['description'] = $txt['arcade_settings_desc'];
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'];
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
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.
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?
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.
Quote from: gbsothere on August 02, 2010, 06:33:33 PMYour 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.
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.)
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.
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!
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!
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
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
Quote from: gbsothere on August 02, 2010, 08:56:26 PMSMF 1.1.11Quote 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?
Quote from: Tommy24 on August 02, 2010, 08:58:31 PM
SMF 1.1.11
Quote from: gbsothere on August 02, 2010, 09:00:43 PMWhat is the link for download or what zip file??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.
Quote from: Tommy24 on August 02, 2010, 09:02:40 PM
What is the link for download or what zip file??
Quote from: gbsothere on August 02, 2010, 09:03:42 PMQuote 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)
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.
Quote from: gbsothere on August 02, 2010, 09:09:36 PMQuote 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?
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?
Quote from: gbsothere on August 02, 2010, 09:19:06 PMQuote 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)
:)
Quote from: Tommy24 on August 02, 2010, 09:24:47 PM
Thanks that helped
Quote from: Tommy24 on August 02, 2010, 09:30:17 PM
Can you help on my HELP!! topic please
QuoteWrong value type sent to the database. Floating point number expected. (score)
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
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.
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 |
Quote from: Skhilled on December 17, 2009, 10:03:26 AMQuote 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: 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.
Quote from: jaisi on September 28, 2010, 11:44:31 AMQuote 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
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??? :'( :'(
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.
Quote from: ford1001 on December 31, 2010, 12:00:40 AM
Please upgrade for RC4
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
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
Quote from: Kcmartz on January 17, 2011, 08:31:41 PMhopefully it will be
Ford1001: rc4 is likely the last rc. 2.x gold should be out then.
Quote from: MissyNL on January 05, 2011, 02:01:39 PMQuote from: ford1001 on December 31, 2010, 12:00:40 AM
Please upgrade for RC4
I really would like that also...
Quote from: Jessica C on January 24, 2011, 11:23:06 AM
can you make it compatible with 1.1.12 please :/
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.
Quote from: alpheus on February 19, 2011, 12:11:46 PM
Hey there. How may I set this mod for 1.1.13 please?
Quote from: CrazieGrafix on March 09, 2011, 07:03:43 PM
Is the 2.0rc5 version out yet
Duplicate key name 'id_game'
File: /home1/xxxxxx/public_html/xxxxxx/Packages/temp/arcadeinstall/Subs-Install.php
Line: 156
Table 'xxxxxx_xxxxxx.smf_arcade_settings' doesn't exist
File:
/home1/xxxxxx/public_html/xxxxxx/Sources/Subs-Arcade.php
Line: 362
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 errorCode Select
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 errorCode SelectTable '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?
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?
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
Quote from: FounderSim on March 20, 2011, 03:12:21 PMQuote 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?
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..
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.
QuoteInternet Explorer cannot display the webpage
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
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
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
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 :)
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
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
Quote from: Kat9119 on June 04, 2011, 07:59:58 PMQuote 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 :)
Quote from: OZZIE on June 17, 2011, 06:18:37 AMwhen I tried to install said it wasn't comparable and wouldn't let me install. What did you do?
i have and it worked fine ...still gotta install using rc3 emulation but thats not a big problem
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?
Quote from: rolyef on June 22, 2011, 02:51:52 PM
yes, 2.0 gold please.
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
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.
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.
Quote from: -Underdog- on June 25, 2011, 02:19:02 PMQuote 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.
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
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?
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?
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.
Quote from: mudskipper on June 25, 2011, 09:09:59 PMNo problem.
Cool, I appreciate it...
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?
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
// 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
Quote from: sunilimon on June 29, 2011, 04:08:57 AM
Hi! will this mod updated for SMF 2.0? thank you very much!
Quote from: fwitt on June 29, 2011, 05:14:54 AM
Yes the Package for 2.0 is in beta testing as we speak.
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.Code Select
// 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.
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...
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
Quote from: fwitt on July 01, 2011, 01:50:17 AMQuote 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.
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!!!!! :) :)
Quote from: Ozzie on July 15, 2011, 06:37:11 AMIts close, but Id like to do it with out having to install a portal?
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
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
Quote from: SunKing on July 30, 2011, 12:01:17 AMThank you for trying to fix this.
That block was slightly misplaced. Here's the fixed ManageSettings.php.
QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.
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.
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.
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.
QuoteYou need to enable javascript in order to play games.
Quote from: !RFAN on August 10, 2011, 05:22:54 AM
getting this error on game pageQuoteYou 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?
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
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
Quote from: Ozzie on August 18, 2011, 05:35:32 PMQuote 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)
);
// Are we getting info for the help section.
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.phpCode Select);
// Are we getting info for the help section.
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...
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
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
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?
Quote from: fwitt on August 26, 2011, 04:46:14 AMQuote 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
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..
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..
Quote from: !RFAN on August 28, 2011, 12:10:55 AMQuote 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
Quote from: lurkalot on August 28, 2011, 03:43:29 AMQuote 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.
Quote from: Shadow Queen on August 28, 2011, 02:29:57 PMQuote from: !RFAN on August 28, 2011, 12:10:55 AMQuote 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 bummperQuote from: lurkalot on August 28, 2011, 03:43:29 AMQuote 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?
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
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
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?
Quote from: Brack1 on August 28, 2011, 07:28:10 PMQuote 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.
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?
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)
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
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
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.
Quote from: jdvarner on September 02, 2011, 05:40:00 PM
Thanks Underdog. I'll give it a go again without the mods.
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.
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.
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!
Quote from: TedTeddy on September 30, 2011, 10:03:17 AMsame thing, i signed up at least 2hrs ago still no email
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!
Quote from: techno489 on September 30, 2011, 02:54:51 PM
same thing, i signed up at least 2hrs ago still no email
Quote from: lurkalot on September 30, 2011, 03:54:04 PMthanks for that, installed perfectly, cheersQuote 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. ;)
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.
Quote from: fwitt on October 27, 2011, 03:39:15 PMQuote 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.
Quote from: mudskipper on October 27, 2011, 06:16:55 PMQuote from: fwitt on October 27, 2011, 03:39:15 PMQuote 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?
Quote from: fwitt on October 28, 2011, 05:33:43 AMQuote from: mudskipper on October 27, 2011, 06:16:55 PMQuote from: fwitt on October 27, 2011, 03:39:15 PMQuote 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.
Quote from: mudskipper on November 01, 2011, 04:54:56 PMQuote from: fwitt on October 28, 2011, 05:33:43 AMQuote from: mudskipper on October 27, 2011, 06:16:55 PMQuote from: fwitt on October 27, 2011, 03:39:15 PMQuote 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.
Quote from: fwitt on November 01, 2011, 07:49:47 PMQuote from: mudskipper on November 01, 2011, 04:54:56 PMQuote from: fwitt on October 28, 2011, 05:33:43 AMQuote from: mudskipper on October 27, 2011, 06:16:55 PMQuote from: fwitt on October 27, 2011, 03:39:15 PMQuote 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
Quote from: smartblogz on November 02, 2011, 04:43:29 AMANYONE to help with the above? Thanks.
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.
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
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
Quote from: mudskipper on November 03, 2011, 07:48:47 AMQuote 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.
Quote from: lurkalot on November 04, 2011, 04:39:49 AMQuote from: mudskipper on November 03, 2011, 07:48:47 AMQuote 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. ;)
Quote from: lurkalot on November 04, 2011, 04:39:49 AMQuote from: mudskipper on November 03, 2011, 07:48:47 AMQuote 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. ;)
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:
Quote from: mudskipper on November 10, 2011, 02:41:22 PM
Could you copy the text and shoot it to me please.
Quote from: smartblogz on November 11, 2011, 06:21:24 AMIf you know how to FTP, use the mods parser to go over the install and reverse the order of the install.
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)
Quote from: T3CHN0 on November 11, 2011, 06:42:43 AMHi and thanks for the reply.Quote from: smartblogz on November 11, 2011, 06:21:24 AMIf you know how to FTP, use the mods parser to go over the install and reverse the order of the install.
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)
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..
Quote from: T3CHN0 on November 14, 2011, 06:42:17 PMThanks man,
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
Quote from: T3CHN0 on November 15, 2011, 10:25:32 AMGot your PM and have replied.
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..
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
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
Quote from: fwitt on August 31, 2011, 05:08:30 PMQuote 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.
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."
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 ?
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!?
// 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'],'&layout=button_count&show_faces=false&width=125&action=like&font=lucida+grande&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:125px; height:21px;" allowTransparency="true"></iframe>';
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.
:(
Quote from: fullmoonya on March 17, 2012, 12:55:07 AMQuote 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?..
Quote from: lurkalot on March 17, 2012, 04:45:42 AMQuote from: fullmoonya on March 17, 2012, 12:55:07 AMQuote 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.
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?..
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.
Quote from: Old Fossil on March 18, 2012, 11:44:25 AMQuote 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.
Quote from: Liam_michael on March 19, 2012, 07:30:10 PMQuote from: Old Fossil on March 18, 2012, 11:44:25 AMQuote 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.
Quote from: Old Fossil on March 19, 2012, 07:32:34 PMQuote from: Liam_michael on March 19, 2012, 07:30:10 PMQuote from: Old Fossil on March 18, 2012, 11:44:25 AMQuote 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.
::)
Quote from: Ozzie on March 20, 2012, 02:10:19 PM
dont know where m8 i cannot see where you on about :laugh:
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:
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?
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
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?
Quote from: Jessica. on April 08, 2012, 08:10:05 PM
some of the games seem to be missing images....
Quote from: Alb0 on April 14, 2012, 06:05:57 AMWhat site?
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 :(
Quote from: Yoshi2889 on April 14, 2012, 07:32:17 AM
What if you squeeze "/forum" after "smfarcade.info" in the confirmation URL?
Quote from: Alb0 on April 14, 2012, 06:05:57 AM
Need this to download some content on the site :(
Quote from: Old Fossil on April 24, 2012, 05:31:46 PM;D thanks Fossil!
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
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';
}
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,
),
),
<?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(1, 250) == 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(null, null, true);
// 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];
}
?>
// 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']))
Quote from: PocketChange on December 19, 2011, 07:14:57 PMQuote 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?
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 :(
Quote from: beast44 on February 21, 2012, 12:28:09 PMBump.. Same problem here
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
??? ???
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 :(
QuoteError (509)
This account's public links are generating too much traffic and have been temporarily disabled!
Quote from: FrizzleFried on June 10, 2012, 07:13:20 PMQuoteError (509)
This account's public links are generating too much traffic and have been temporarily disabled!
...bummer.
:)
Quote from: Old Fossil on April 24, 2012, 05:31:46 PMHi Fosil, Getting this error going to your site:
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
Quote from: Shambles™ on July 28, 2012, 04:57:35 PMWhat do you mean? I unpacked the games inside the forum/Games folder and still nothing happened.
You have to install games, most times from a package
Duplicate key name 'id_game'
File: /home1/xxxxxx/public_html/xxxxxx/Packages/temp/arcadeinstall/Subs-Install.php
Line: 156
<install for="2.0, 2.0.1, 2.0.2">
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?
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)
Quote from: Orangine on August 14, 2012, 09:11:13 AMQuote 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?
Quote from: tMicky on September 03, 2012, 08:04:01 PM
Does this come, with the games already included?
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?
Quote from: lurkalot on October 12, 2012, 02:47:50 PMQuote 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
Quote from: hiboy on October 12, 2012, 10:42:14 PMQuote from: lurkalot on October 12, 2012, 02:47:50 PMQuote 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
Quote from: lurkalot on October 13, 2012, 03:55:34 AMQuote from: hiboy on October 12, 2012, 10:42:14 PMQuote from: lurkalot on October 12, 2012, 02:47:50 PMQuote 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
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
Quote from: hiboy on October 13, 2012, 06:33:20 AMThen I have no idea what the problem is, sorry.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
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?
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
Quote from: -Underdog- on August 14, 2012, 09:01:35 AMThe 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?
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.Code Select
<install for="2.0, 2.0.1, 2.0.2">
I hope this will resolve some peoples issues.
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.
Quote from: -Underdog- on December 14, 2012, 12:21:25 AMQuote 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.
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
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...
Quote from: crustybum on January 24, 2013, 05:47:40 AM
Where do i "emulate" ::)
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)...
Quote(2) WHY in the heck didn't the folks in charge label that button "ADVANCED/EMULATION" or something to that effect.
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?
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).
Quote from: lurkalot on February 01, 2013, 02:01:11 PMQuote 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).
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
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!
);
// Are we getting info for the help section.
// 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.
// 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.
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.
Quote from: Arantor on August 18, 2013, 08:32:12 PM
It's not the number of mods
Quote from: ChalkCat on August 18, 2013, 08:33:31 PM
It isn't a competition GOS :P
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.
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 :)
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.
elseif (empty($_REQUEST['action']))
// 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';
}
elseif (empty($_REQUEST['action']))
}
elseif (empty($_REQUEST['action']) && empty($_REQUEST['ajax_request']))
{
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
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)
);
// Are we getting info for the help section.
// arcade = arcade (makes sense, right?)
'arcade' => array(
'url' => 'action=admin;area=arcade',
'settings' => array(
'arcadeEnabled' => 1,
),
),
// 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?
// 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?
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)
QuoteAn error occurred while saving scoreThis game used to work in our old arcade and so did the others.
Quote from: vertese on October 21, 2013, 10:07:51 AMHi,
Bud was that question for me? because we are fixed now.
Thank you
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
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.
Quotevertese,Please could you advice re this game Mahjonggg2JS
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).
Quote from: Liam_michael on November 06, 2013, 01:45:21 PM
Where can I get good, up-to-date, savable arcade games?
Quote from: lurkalot on November 06, 2013, 02:25:19 PMQuote 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
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.
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
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
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
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
Quote from: mjohnson025 on December 06, 2013, 04:39:24 PMQuote 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.
QuoteCode: (Add Before) [Select]
);
// Are we getting info for the help section.
Quote
// arcade = arcade (makes sense, right?)
'arcade' => array(
'url' => 'action=admin;area=arcade',
'settings' => array(
'arcadeEnabled' => 1,
),
),
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
QuoteError while saving score for game "9BallSte". Submit system might be invalid, should be "ibp" or user tried to cheat
Quote from: lurkalot on December 06, 2013, 05:10:16 PMQuote from: mjohnson025 on December 06, 2013, 04:39:24 PMQuote 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
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)
Quote from: margarett on January 22, 2014, 02:59:09 PMi need pretty url's though
Uninstall pretty URLs...
Quote from: margarett on January 22, 2014, 03:05:41 PMsorry
That username does not exist.
Please make sure it is NOT an admin account...
Quote from: trollngo on January 22, 2014, 03:01:37 PMWhy? It is known for this kind of issues with other MODs, actually...
i need pretty url's though
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
Quote from: trollngo on January 22, 2014, 03:01:37 PMQuote from: margarett on January 22, 2014, 02:59:09 PMi need pretty url's though
Uninstall pretty URLs...
Isn't there any other solution, less radical !?
Quote from: Gleam.tk on January 23, 2014, 04:13:24 AMSearch 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)
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?
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 ;)
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.
Quote from: margarett on January 23, 2014, 08:46:03 AMThank you very much. It worked 8) yay.
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 ;)
Quote from: -Underdog- on December 07, 2013, 11:40:30 PMThanks Underdog, I installed RC2 successfully and now I installed your PDL/Skin Combo.
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.).
Quote from: lurkalot on December 05, 2013, 06:25:27 PMQuote 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
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.
Quote from: lurkalot on January 28, 2014, 07:10:25 PMQuote 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
Quote from: kungfujoe on January 28, 2014, 07:49:01 PMQuote from: lurkalot on January 28, 2014, 07:10:25 PMQuote 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. :(
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 AMQuote from: Gleam.tk on January 23, 2014, 04:13:24 AMSearch 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)
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?
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?
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.
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
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.
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?
Quote from: Bob Perry on March 06, 2014, 04:10:50 AMQuote 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
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?
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?
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.
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.
# 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
# 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
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
Quote from: Steve on November 25, 2014, 02:47:20 PM
Thanks for that! :D
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
$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';
$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';
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,
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,
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.
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?
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>';
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?
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.
Quote from: -Sas- on April 05, 2016, 12:11:17 PM
Is there someone who knows what Ican do now?
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"
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?
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
function ManageGamesUpload2()
{
global $scripturl, $txt, $modSettings, $context, $sourcedir, $smcFunc;
foreach ($_FILES['attachment']['tmp_name'] as $n => $dummy)
{
if ($_FILES['attachment']['name'][$n] == '')
continue;
Quote from: Grammy
... I can't see the actual limits.
I would like to change it from 8 MB to 10 MB.
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';
}
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';
}
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
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?
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?
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'];
Quote
An Error Has Occurred!
Invalid value inserted or no type specified.
Quote from: Chen Zhen on June 01, 2017, 10:07:15 PM
At the moment, RC5 no longer requires that edit.
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.
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)Code Select
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'];
Unknown column 'pdl.game_name' in 'field list'
File: /var/www//forum/Sources/ArcadeAdmin.php
Line: 476
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)Code Select
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'];
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.
Sources/ArcadeAdmin.php: foreach (submitSystemInfo('*') as $id => $system)
Sources/Subs-ArcadePlus.php:function submitSystemInfo($system = '')
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?
Quote
One said smf arcade 2.5 RC5 updated, one said smf arcade 2.5 RC5 master. Difference?
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?
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.
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.
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?
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.
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)Code Select
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'];
/**
* 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'];
Quote from: Chen Zhen on July 07, 2017, 10:31:15 PM
It is defined in ArcadeAdmin.english.php
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
/* Highlighted text - such as search results. */
.highlight
{
background-color: #ff0;
font-weight: bold;
color: #000;
}
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. :-\
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
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');
}
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');
}
QuoteGeneral flash games are supported without score support
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.
Quote from: Study Force on June 27, 2018, 11:48:19 PMQuote 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?
Quote from: Study Force on June 27, 2018, 11:48:19 PMQuote 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?
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.
Quote from: Oldcrow on March 17, 2019, 12:04:25 PMok thanksQuote 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.
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?
Quote from: Oldcrow on March 21, 2019, 08:45:53 AMQuote 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
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?
Quote from: TurtleKicker on April 11, 2019, 01:29:35 PM
Has anyone tested this on SMF 2.1 RC2?
Quote from: addlife on April 08, 2019, 04:25:17 PMChen zen answered me on his forum that I had to enable the mbstring extension
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"
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
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
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 logCode Select
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
andCode Select
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 :)
Quote from: davejo on April 14, 2019, 03:54:45 AMYou got my errors or the ones you posted? Is the arcade working?
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
Quote from: hipp0 on April 14, 2019, 09:32:54 AMDid you install the games successfully through the admins mange games setting?
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 ?
Quote from: addlife on April 14, 2019, 04:34:45 PMQuote from: davejo on April 14, 2019, 03:54:45 AMYou got my errors or the ones you posted? Is the arcade working?
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
Quote from: davejo on April 14, 2019, 03:54:45 AMYes 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
Maybe try out the most recent file subs-arcadeadmin that Chen zen posted here
https://web-develop.ca/index.php?topic=413.0Quote from: hipp0 on April 14, 2019, 09:32:54 AMDid you install the games successfully through the admins mange games
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 ?
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.
Quote from: Chen Zhen on April 15, 2019, 06:34:38 PMQuote 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.
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?
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?
Quote from: vbgamer45 on March 03, 2021, 05:59:58 PM
Ruffle works great!
Quote from: Ronald_1938 on March 03, 2021, 06:51:23 AMQuote 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
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?
QuoteYou have not installed Adobe Flash Player, you need to install it before you can play, you also need to have javascript enabled.
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.
RewriteEngine on
RewriteCond %{QUERY_STRING} act=Arcade
RewriteCond %{REQUEST_URI} !forum
RewriteRule (.*) https://%{HTTP_HOST}/forum/$1 [NC,L]
Quote from: Chen Zhen on August 07, 2022, 01:52:29 AMCode SelectRewriteEngine on
RewriteCond %{QUERY_STRING} act=Arcade
RewriteCond %{REQUEST_URI} !forum
RewriteRule (.*) https://%{HTTP_HOST}/forum/$1 [NC,L]