News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMF Arcade

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

Previous topic - Next topic

vosje505

i don't know if this is mentioned before if so im sorry.

because the help wasn't showing at the game i tried it myself and succeeded. if there is nothing filled in there will not be showed anything if there is it will show :

how to play :
your discription

i also made a link to manage the game so it can be easely accessed by people who are able to manage the games.

the code i placed is the next...

open file ArcadeMenu.template.php

find
// Favorite link (if can favorite)
if ($context['arcade']['can_favorite'])
echo '
<tr class="windowbg">
<td align="center">
<a href="', $context['arcade']['game']['url']['favorite'], '" onclick="arcade_favorite(', $context['arcade']['game']['id'], '); return false;">', !$context['arcade']['game']['isFavorite'] ?  '<img id="favgame' . $context['arcade']['game']['id'] . '" src="' . $settings['images_url'] . '/favorite.gif" alt="' . $txt['arcade_add_favorites'] . '" />' : '<img id="favgame' . $context['arcade']['game']['id'] . '" src="' . $settings['images_url'] . '/favorite2.gif" alt="' . $txt['arcade_remove_favorite'] .'" />', '</a>
</td>
</tr>';


place after

if (!empty($context['arcade']['game']['help'])){echo '
<tr class="windowbg">
<td align="center"><strong>How to play :</strong><br> <div class="smalltext">
', $context['arcade']['game']['help'], '</div>
</td>
</tr>';}
echo '<tr class="windowbg">
<td align="center">';if ($context['arcade']['can_admin']) {echo '<a href="' . $boardurl . '?action=managegames;sa=edit;game=' . $context['arcade']['game']['id'] . '" target="_blank">manage</a>';}
'</td>
</tr></tr>';


below an example image of how it looks like...

hope you like it...

Suby

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.

Col

Quote from: Suby on August 04, 2007, 08:28:58 AM
I got this message - The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Version of the forum is 1.1.3.

Hi,

I had the same problem. Download the package to your computer and then upload it to your forum from there.

TrueSatan

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

Col

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

It must have been another mod. Yes, I remember downloading the mod from Nico's site now that you mention it.

askepott

Quote from: rider on July 24, 2007, 03:19:01 PM
Quote from: askepott on July 24, 2007, 03:08:22 PM
MYBESTHOMESnet, actually the thing i did to make this mod works well on custom theme is i copied my index.template file from my default theme and put it on my custom theme. as well as the languages file. after doing that, the mod works just fine.

I also realized that almost all mods will work on custom theme IF you will replace the file on the custom theme from the default theme (TAKE NOTE : THIS OPTION WORKS WELL FOR ME. SO, IF YOU ARE NOT SURE ABOUT IT, DO A BACK UP BEFORE DOING THIS OPTION)

another question, how can i make the status appear on the who is online list? some of my members are playing right now and it says "nothing or nothing you can see" ...... can i fix this?
What version are you using.I use eeek's modded version and it shows what game their playing in the who's online list.

i'm using version 2.0.9 and smf 1.1.3

i am unsure to what has caused my problem.. but uhm yeah, it still says "nothing of nothing you can see". and another lil prob, everytime i set permission to have atleast this amount of post per day before playing, all my members can't access the arcade area. it says they are not allowed to play the games.. anyone experience that prob too?

i wanted to set it because, i noticed most of my members have been hanging around the arcade area since the day i put it up. and it has lessen the forum posts per day for a while..

Chantal Matar

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.

rider

Quote from: askepott on August 06, 2007, 01:11:10 PM
Quote from: rider on July 24, 2007, 03:19:01 PM
Quote from: askepott on July 24, 2007, 03:08:22 PM
MYBESTHOMESnet, actually the thing i did to make this mod works well on custom theme is i copied my index.template file from my default theme and put it on my custom theme. as well as the languages file. after doing that, the mod works just fine.

I also realized that almost all mods will work on custom theme IF you will replace the file on the custom theme from the default theme (TAKE NOTE : THIS OPTION WORKS WELL FOR ME. SO, IF YOU ARE NOT SURE ABOUT IT, DO A BACK UP BEFORE DOING THIS OPTION)

another question, how can i make the status appear on the who is online list? some of my members are playing right now and it says "nothing or nothing you can see" ...... can i fix this?
What version are you using.I use eeek's modded version and it shows what game their playing in the who's online list.

i'm using version 2.0.9 and smf 1.1.3

i am unsure to what has caused my problem.. but uhm yeah, it still says "nothing of nothing you can see". and another lil prob, everytime i set permission to have atleast this amount of post per day before playing, all my members can't access the arcade area. it says they are not allowed to play the games.. anyone experience that prob too?

i wanted to set it because, i noticed most of my members have been hanging around the arcade area since the day i put it up. and it has lessen the forum posts per day for a while..
try going to smfarcade.info and do a search on post per day.eeek posted a fix for it.

rider

Quote from: Chantal Matar on August 09, 2007, 06:06:59 AM
Guys, I downloaded the updated 1.1.3 Mod from SmfArcade.info, it installed fine.  I could see and play the games.

Other members couldn't see the Arcade at all.  I  had to go and change the account settings to English (and not English UTF8) so now everyone can see it...

BUT, only a few can play the games.  When others go through it says the following:

 
Pages: [1]   Go Down   
     Random game  |  Show favorites only   
No games available for playing
Pages: [1]   Go Up   
     Random game  |  Show favorites only    

Why is this?  Permissions have been set.  Besides why can I and a handful of members  see the games and play and not the others?

Thanks.
try going to admin>arcade settings>permissions set to none.see if that helps.

Chantal Matar

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

rider

Quote from: Chantal Matar on August 09, 2007, 06:34:35 AM
Rider, I just read that same reply on your SMFArcade.info. 

Can I ask you to visit my website and tell me if it works for you please?

www.PS3SmallTalk.com
I looked and could see the games but could not play them as a guest.If I can see them them I think the problem is fixed.

rider


Chantal Matar

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!  ???

rider

Quote from: Chantal Matar on August 09, 2007, 07:04:43 AM
Thank you Rider.   :-* I realised I hadn't enabled the permissions for Guests.

I have been trying to figure out how to fix this for a week.  I had the Admin permissions on Category and Game because I thought this was enabling them - what is it actually doing?  Is there anywhere that explains all this?

I thought None would mean they didn't have access to anything, not the other way around!  ???
you shouldn't enable it for guests.they won't sign up if you do.I registered to see if it worked.What you are doing by setting the permissions by category or games is setting it up for only certain member groups to play.by setting it to none you allow all the membergroup access.hope this expalins things a little better.

rider

Quote from: Chantal Matar on August 09, 2007, 07:04:43 AM
Thank you Rider.   :-* I realised I hadn't enabled the permissions for Guests.

I have been trying to figure out how to fix this for a week.  I had the Admin permissions on Category and Game because I thought this was enabling them - what is it actually doing?  Is there anywhere that explains all this?

I thought None would mean they didn't have access to anything, not the other way around!  ???
too learn more just click on the link in my sig and check out the site.tons of info there.

Chantal Matar

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.

rider

Quote from: Chantal Matar on August 09, 2007, 07:20:01 AM
Okay great.  Can I ask you one last question please?  I just installed a game, Wordsearch, but when I go to play it just keeps refreshing the game.  When I leave it it says Loading but never actually starts. 

Rider, would you take a look  please?

Thank you.
where did you get the game from?If its not from one of the game packs from smfarcade then I need to know.

Chantal Matar

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!

Chantal Matar

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?

rider

Quote from: Chantal Matar on August 09, 2007, 07:28:36 AM
I got it from www.ultimatearcades.com&nbsp; which are where some of the games in the SMFArcade packs are from.

No game icon is appearing in the window.&nbsp; Oh and I meant Hang The Alien in your PM not AlienHang!
i replied to the pm.don't worry about a few games that don't work I know of a ton that will.

Advertisement: