SMF Arcade

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

Previous topic - Next topic

johnm

Quote from: Bigguy on August 15, 2005, 10:38:39 AM
Well I`m using smf 1.0.5 and I get other errors as well this is when trying to install anyone of the 3 versions of the arcade. Like I said I had the arcade installed on smf 1.0.3, then the server changed php versions and I had to upgrade the forum. I have tried installing when no other modifications are installed, upgrading the database reinstalling the whole thing. I have to keep the database its running on because it has everything in it so getting rid of it and starting with a new database is not an option.

next time uninstall your mods first if possible back up the smfarcade tables then drop them install the mod then run arcade_sql.php then put your backed up data in to those tables run arcade_sql.php again

Bigguy

Quote from: johnm on August 15, 2005, 11:16:06 AM
Quote from: Bigguy on August 15, 2005, 10:38:39 AM
Well I`m using smf 1.0.5 and I get other errors as well this is when trying to install anyone of the 3 versions of the arcade. Like I said I had the arcade installed on smf 1.0.3, then the server changed php versions and I had to upgrade the forum. I have tried installing when no other modifications are installed, upgrading the database reinstalling the whole thing. I have to keep the database its running on because it has everything in it so getting rid of it and starting with a new database is not an option.

next time uninstall your mods first if possible back up the smfarcade tables then drop them install the mod then run arcade_sql.php then put your backed up data in to those tables run arcade_sql.php again


Well I`m not very good with database stuff but I might poke around in there in a bit, thanks for the suggestion.
And NitroRich I`m over at smf arcade right now checking things out, thanks for your suggestion.

tentronik

#1302
Anyone,
I got two questions:

1. - where can i see/find a readme about the new additions and fixes?
2. - How can i fix  the id and game error from sources/display.php fixed?

Thanks in advance

Bigguy

I keep getting this error everytime I install arcade 1.2.3 on smf 1.0.5

Execute Modification          Themes/default/Display.template.php               Failure

If the fix for this has been mentioned sorry about missing it. But how do I fix this ??

Nitro

go to www.smfgames.com they have a FAQ section and a fix for this problem.
MPF Rocks!!!

Bigguy

Ok I just did that and I still get the same error. Does it matter if you have other mods installed or should they come out first.

Bigguy

Can no one help or am I just asking dumb questions ??

tentronik

Hi Bigguy,
you can add the modification yourself to the display.template.php see the last 3 pages there are detailed instructions.
Its just 1 pasting action actually :)


Bigguy

I have been at smfgames and copy and pasted the modifications into the display.template.php but I still get the same error. Something else thats wierd is that in my file manager in cpanel it tells me the arcade version is 1.2.3 and that is what I ftp`d up to the file manager, but in my admin panel it tells me its version 1.2.1 or something but the version number is different.

tentronik

It hasnt been updated 1.2.1 says my version too.

Did the code looke dlike this?


Open file: Themes/default/Display.template.php

Hit F3 or STRG-F and search for:
Code:

', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';


After this past:
Code:

if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}

Bigguy

Yes it did. thats what I used.

johnm

im hoping that you didnt paste the comments that were at the top of the code block!!

should be

if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}

this might have changed in the latest releases so ill check,
but you will need two sets of code one goes in Display.php and the other in Display.template.php

Bigguy

I`m not to sure, is that what you have posted is just the comments from the code block ?

tentronik

Yes i posted the comments too.
Just past what johnm attached and thats it.

nokonium

#1315
On the board that I co-admin we use the Karma for 'appreciating' cockups and general naffness. Dr Fuss Bogle awards points based on the magnitude of the cockup, the stupidity that led to an FDISK etc.




Richard North

Quote from: nokonium on August 17, 2005, 12:53:41 PM



Maybe we should make a 'special award' in 'appreciation' of all your hours of sheer exasperation with that arcade mod...  :o

Do you want to tell him, or shall I?  ;)

I've not been banned here yet...  8)

kat

I don't know what the hassles are, coz it works fine, for me... ;)

As far as I know...

johnm

I think it maybe down to the number of bugs and problems that a lot of people have had/are having. with this mod.

were currently looking in to getting the docs up to date and debuging the mod, but time goes by very quickly on the net....

Bigguy

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.

Advertisement: