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

fwitt

Quote from: IDunc on June 26, 2011, 01:01:29 AM
I get an Test Failed during installation in Sources/ManageSettings.php and Sources/Who.php

which version of smf and which arcade version?

IDunc

These are the Test Failed's I get when installing in Sources/ManageSettings.php and Sources/Who.php:

ManageSettings:


Who:


My ManageSettings.php and Who.php are attached. Please help!


fwitt

in your Who.php the code goes in at line 631, however it looks like you have had issues installing other mods as for instance you have two copies of the code for Aeva Media.


// Aeva Media changes
if (!empty($aevaFetch))
{
foreach ($aevaFetch as $type => $array)
if ($dat = aeva_getFetchData($type, $array))
$data += $dat;
}
// End Aeva Media changes

// Aeva Media changes
if (!empty($aevaFetch))
{
foreach ($aevaFetch as $type => $array)
if ($dat = aeva_getFetchData($type, $array))
$data += $dat;
}
// End Aeva Media changes


I would assume that one copy can be removed.
Looking back in the code it looks like you have two copies of the Aeva Media mod installed as there are other bits of repeated code relating to this mod.

In ManageSettings.php the code goes into line 365.

Couldn't copy and paste the code as it posted it in images and as I dont know which version of arcade and SMF I'm not sure which package to look in for the right code.


sunilimon

Hi! will this mod updated for SMF 2.0? thank you very much!
SMF version: 2.0.14

http://www.hookahspain.com your hookah / shisha comunity at Spain

fwitt

Quote from: sunilimon on June 29, 2011, 04:08:57 AM
Hi! will this mod updated for SMF 2.0? thank you very much!

Yes the Package for 2.0 is in beta testing as we speak. There are a couple of bugs that seem to only affect certain sites so Niko is working on them atm.

sunilimon

Sorry!

Thank you for information!
SMF version: 2.0.14

http://www.hookahspain.com your hookah / shisha comunity at Spain

TurtleKicker

Quote from: fwitt on June 29, 2011, 05:14:54 AM
Yes the Package for 2.0 is in beta testing as we speak.

This is wonderful news! This is a big line item on my worksheet as I prepare for upgrading my site to 2.0. :)

IDunc

Quote from: fwitt on June 29, 2011, 01:27:39 AM
in your Who.php the code goes in at line 631, however it looks like you have had issues installing other mods as for instance you have two copies of the code for Aeva Media.


// Aeva Media changes
if (!empty($aevaFetch))
{
foreach ($aevaFetch as $type => $array)
if ($dat = aeva_getFetchData($type, $array))
$data += $dat;
}
// End Aeva Media changes

// Aeva Media changes
if (!empty($aevaFetch))
{
foreach ($aevaFetch as $type => $array)
if ($dat = aeva_getFetchData($type, $array))
$data += $dat;
}
// End Aeva Media changes


I would assume that one copy can be removed.
Looking back in the code it looks like you have two copies of the Aeva Media mod installed as there are other bits of repeated code relating to this mod.

In ManageSettings.php the code goes into line 365.

Couldn't copy and paste the code as it posted it in images and as I dont know which version of arcade and SMF I'm not sure which package to look in for the right code.

Thanks for letting me know, I'll get rid of that extra segment. Is there any way I can easily see duplicated code?


fwitt

the duplicated code I saw all have Aeva Media in the comments above and below so doing a find on the word Aeva will probably find them.

you may find you have double installed this mod which would mean its code was repeated in every file that the mod edits. I dont know anything about the mods so can tell you what files to look in. That mods support thread is probably the best place to ask.

IDunc

Okay I'll do a search for that word in other files it edited. I got all of them in Who.php, thanks.


mudskipper

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...

fwitt

Quote from: mudskipper on June 30, 2011, 07:23:08 PM
fwitt,

I typed this in http://blackwateratv.com/simplemachinesforum/index.php?action=arcade and the arcade is there but there is no button for it and the page is broken.  Could you look at it and see whats up..

Thanks...

looks like you have two distinct problems. both related to installing on the theme you are using.

1. Missing language strings, normally this happens when the theme you are using has its own modifications.english.php.
    Solution: download and compare this file with the one from the default theme, add any $txt strings that are missing from the one in your theme. The one in the theme needs to contain every string that is in the default theme one but leave any that only appear in the theme. There also appear to be language strings missing from your gallery which i believe should also be in this file. ConTexts Compare tool may help you work out which language strings are missing. Replace the file in your theme with the edited one (keep a backup in case you edit it wrong).

2. Arcade link code does not match the code for the rest of the links in the title bar.
Solution: download index.template.php from your theme. Find the code for the arcade link, make sure it matches the code for the other links.
atm its missing a containing <div class="maintab_back"> and a sperator before the next link <div class="seperator"><!--no content--></div>.
Again make a backup of the file before replacing it with your corrected version.

sunilimon

Fwitt, will you fix the video poker game? our users are asking me a game of this type. Thanks! :D
SMF version: 2.0.14

http://www.hookahspain.com your hookah / shisha comunity at Spain

fwitt

Quote from: sunilimon on July 01, 2011, 02:36:19 AM
Fwitt, will you fix the video poker game? our users are asking me a game of this type. Thanks! :D

Whats wrong with it?
seems fine to me

sunilimon

When I download it, I've a index.php file, but when I install it, it nothing happens
SMF version: 2.0.14

http://www.hookahspain.com your hookah / shisha comunity at Spain

fwitt

the game downloads from smfarcade.info should be .zip files.

I assume that is where you are getting it from.

Interesting...

If your using Firefox then it appears to be downloading the correct file but renaming it index.php. So renaming the file back to videopoker.zip for me meant it worked correctly.

If your using IE it tries to download index.zip then crashes.
put issue into smfarcade.info site bugtracker.

file attached

sunilimon

SMF version: 2.0.14

http://www.hookahspain.com your hookah / shisha comunity at Spain

!RFAN

waiting for update version

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

sharks

Please update this mod for SMF 2.0 final.

Advertisement: