News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SMF Arcade

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

Previous topic - Next topic

Filipina

Quote from: fwitt on March 17, 2008, 02:44:32 PM
if the error is modifications.english-utf8.php file not found, and your forum doesn't use english-utf8 then you can safely ignore that error, if the error is index.template.php you can safely install but will need to manually add a link to the arcade.

with regards to the missing folder without more details I'm not sure i can advise.

Thanks for the response and I did get it all uploaded fine.  My site has been suspended so I will try and figure out this great MOD if I get my site back :)

Mystiquo

Hi i'm italian boy, i have translate the arcade in italian, take it

fgoc

#3162
SMF 1.1.4 Tiny Portal 0.9.8

Have been running the arcade for a little bit now without issue, but noticed the following errors clocking up in my error log:

8: Undefined index:  arcadeGameInformationSide
File: /home/xxxx/public/forum/Themes/default/ArcadeMenu.template.php (ArcadeMenu_above sub template - eval?)
Line: 12

8: Undefined index:  arcadeGameInformationSide
File: /home/xxxx/public/forum/Themes/default/ArcadeMenu.template.php (ArcadeMenu_above sub template - eval?)
Line: 27

Both appear by the same user at the same time for the same url (which is various urls related to the arcade module.

Any ideas on how to clear them?

The code I have around those lines is:

// Version: 2.0.8; ArcadeMenu

function template_arcademenu_above()
{
    global $modSettings;

    echo '
    <table width="100%">
        <tr>';

(LINE 12)    if ($modSettings['arcadeGameInformationSide'] == 0)
        echo '
            <td valign="top">', template_arcade_menu() , '</td>';

    echo '
            <td width="80%" valign="top">';
}

function template_arcademenu_below()
{
    global $modSettings;

    echo '
            </td>';

(LINE 27)    if ($modSettings['arcadeGameInformationSide'] == 1)
        echo '
            <td valign="top">', template_arcade_menu() , '</td>';

    echo '
        </tr>
    </table>';


Many thanks   

simplyg123

anyone know how to modify the theme files for the arcade mod? Ive tried the parser but it generates a blank page

fwitt

They are all in install_rc2.xml in the arcade package look for the edits to template.php files, most themes only need a menubar link added to index.template.php but occasionally other files need to be modded two.

Mystiquo

scuse me but i have a problem with IE7 italian language and cerberus theme, i dont see the button play random ecc, i see a red cross with name why?
thanks

fwitt

Quote from: Mystiquo on March 22, 2008, 10:21:32 PM<br />scuse me but i have a problem with IE7 italian language and cerberus theme, i dont see the button play random ecc, i see a red cross with name why?<br />thanks<br />

most likely cause is that the image is missing from cerberus themes images directory.

right click the cross and select properties find the location it is looking for the button and copy the button from the equivalent place in the default theme.

so if properties says hxxp://example.com/forum/Themes/cerberus/images/random.gif
copy the files random.gif from the /forum/Themes/default/images directory to the /forum/Themes/cerberus/images

rider

Another option is to unzip the arcade on your pc and then open the themes folder and upload the images to /forum/Themes/cerberus/images via FTP

Mystiquo

#3168
but arcade e stat it semply write why?
arcade e stats
http://www./forums/index.php?action=arcade
http://www./forums/index.php?action=arcade;sa=stats
   
Be with Firefox that IE7

Kimmie

Quote from: rider on March 14, 2008, 10:33:33 AM
Quote from: Kimmie on March 14, 2008, 12:05:41 AM
Hi - I have 1.1.4 and just tried to install this on a test site that right now is using the default theme. I got this error:

7. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php File not found

I dont use utf8 - I use english. Do I have to install this language file in order for the mod to work?


Also, I seem to remember someone mentioning that something had to be run on my browser in order to get this mod to work as well. If there are any special instructions other than simply uploading it via package manager, could you let me know here? I checked all the files for an install doc but one was not found.

Thanks in advance :)
If this is the 1st time you've installed the arcade then you'll need to to run the installArcade.php in your web browser.It will look something like this.www.yoursite.com/installArcade.php.

ok I just intalled the arcade on my test site and it installed fine. I  got a message at the top of my site that said everything passed and that I was now able to install games. I ran the above url as you said (putting my site name in). I selected New Install on the first page and this is what I got (see attached image).

I am trying to remember if when I tried to install it the first time (and got the error on the utf-8 file) if I actually let it install then. (cant remember - its been awhile. sorry). Could that be why those files already exist, and if so, is there anything I need to do to fix anything?




fwitt

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.

simplyg123

can someone tell me the exact code that needs to be changed/added, i am slightly retarded and cant read the xml file, and the parser generates a blank page

Kimmie

#3172
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. :(

Kat-2

#3173
I have looked and can't find it. What is the button code for themes other than default??

I mostly need for Dilber MC

And where does it go?

fwitt

I shall answer the easy part of the question first,

it goes in the themes index.template.php normally near the bottom in the list of code for the menubar.

Because of what themes are (changes to the style, look and layout) you need to match your button code with the existing button code that is already in the theme, this can change.

The easiest method (in my personal opinion) is to copy the echo statement for the search button and paste it on the next line in the code then replace all instances of search in the code with arcade and the $txt['182'] variable with $txt['arcade'].

some themes have a list higher up in the file with words like home, help, if your theme has this list you may need to add arcade to the list in the same style as the rest of the list.

some other themes have gif images for the buttons for these you will need a matching gif image for the arcade button you create or it will look different.

when manually editing files it is always recomended to back up the original in case you go wrong.

The good news is that SMF 2 has had a rewrite in this area which should make this a thing of the past.

JoshieDaMan

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.

masss

I get this error while installing smf arcade???
7.     
Execute Modification     ./Themes/default/languages/Modifications.english-utf8.php     File not found


What can i do?

I have got SMS 1.1.4 and aphollo: http://custom.simplemachines.org/themes/index.php?lemma=356

perplexed

I don't think it really matters unless you are using english-utf8, as it just means it is looking for that file and can't find it.

rider

Quote from: Kimmie on March 24, 2008, 12:26:49 AM
Quote from: fwitt on March 23, 2008, 06:11:22 AM
I dont think any of those errors should actually affect the running of the arcade, they are for creating Tables in the database.

a good analogy would be getting an error on trying to create a folder that already exists, the error will not stop you using the folder, its just stopping you from trying to make it twice in the same place.

thanks :)

My next step: what you suggested to me a few posts back:

QuoteInstalling the games is not that hard.Lets get you started.Click on the link in my sig.Thats the arcade support site.Click on the downloads and download the game zipfiles from there to a folder on your pc.Then go to admin>games >install>use the zipfile option to upload the games.All games packs should install that way.Let us know how you do.

Thanks for the help :)

EDIT: I downloaded the gamepack1 and tried to install it via admin>games>install and got this error:

QuoteCould not upload package, please check directory permissions!

I changed the permissions on the "Games" folder to "777" and then tried again, and got the same above error. :(
That error usually means that the gamepack is too large to use the zipfile option thru the arcade admin.What you can do is upload the gamepack via your FTP program.Upload it to your Games directory and then install theu admin>games>install.

rider

Quote from: JoshieDaMan on March 27, 2008, 10:45:12 AM
Mine has We have 112 games for you to play?

I downloaded ALL games that was in download system at smfaracade.info and I seen another site that has over 300 games. But it's not smfaracde. I need some more games, because all of users has played them and is begging for more games.
if you do a search for games you will find alot of sites to get games from.Most of them will work with the arcade.

Advertisement: