News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF Arcade

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

Previous topic - Next topic

steve51184

#2540
i can't as i have mods lol

also i have A LOT of created membergroups and only 1 can't play the games

p.s. does the maker of this mod know about this and if so does he plan on fixing it?

John S

i'm sure the creator of this mod is attempting to fix this mod at the present time... expect a upgrade soooon...

Col

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?

Hi all,

You are missing the point - place them in a Secondary group instead of a Primary group. I did say!!! :D Moderators can still be Moderators. Make sure that anyone that needs access to the arcade is NOT IN A CREATED PRIMARY GROUP. They can be Global Moderators or Admins though (pre-installed (Primary) groups).

steve51184

so to put a member into this "Secondary group" all i do is make them a Moderator

but do you mean a Moderator of a board?

Col

No.

Maybe your problem is unrelated - have you made sure your groups have been given the permissions to use the Arcade?

On my forum, if I place anyone in a Primary that I've created, they cannot access the actual games. They can access the Arcade area, but that's all. I had placed my Moderators in a Primary group to give them access to a moderation board. They were the only members I'd placed in a Primary group. When I instead made this a secondary group for them, they could again access the arcade. Can you check to see if those affected on your forum have been placed in a Primary group? If they have, try making it a Secondary group with them instead, and see if that fixes the problem. I am assuming you've given them access permissions though - do check that first if you have not already done so.

John S

i'd link my members to be allowed to play games ONLY when they've at least posted 2 posts per day, because alot of them are now not posting and playing games only!!

WHAT I'VE DONE:

I've checked the "Enable post count / post per day check" and

placed "2" for "Posts per day needed to play"


Now in the arcade it's got "You need to have at least average 2 of per day posts to play, you don't meet this requirment." but even after i've posted twice it still has this message and wont let me (regular member) to play...

----
Have I done anything wrong? How can I make this work?

Col

Hi,

The problem has been resolved for me. There is an Arcade admin section I didn't know existed: http://www.smfarcade.info/index.php/topic,2864.msg18669.html#msg18669

John S

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

rider

#2548
Quote from: yazeft on May 06, 2007, 11:39:33 PM
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
That 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.
Don't use it right now.You could try the arcade shop mod.They have to earn credits in order to buy an arcade pass.Plus they get credits for highscores.

John S

ok, can we re-code this function so that it doesnt calculate the average... just the total for that day.

so total post per day must be at least: "2" (or wateva number u choose)

so within that 24 hour period at least 2 posts must have been made.

that's all i want to do.. i had the arcade shop mode b4, but it got 2 confusing and complicated..

i liked the way this one was setup but the 'average' thing just doesnt work...

is it hard to re-code it to as i explained?

John S

Hi, just a suggestion.. maybe something also in conjuction with the ad management mod:

alot of my members are using the arcade... i'd love to increase the number of ads shown in this section...

is this possible. im not that good with php.. maybe even an pre-game ad!

this is a mad idea.. can we have some sort of ad that is shown while the game is loading or shown before the game is loaded...

please let me know how we can do this thanks guys!

deadhead

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

rider

Quote from: deadhead on May 07, 2007, 11:31:49 PM
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
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.

deadhead

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.

rider

Quote from: deadhead on May 08, 2007, 11:41:42 AM
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.
Was this the error?
5.     Execute Modification     ./Themes/default/index.template.php     Test failed
If so then you can install the arcade.Its just means its adding the tab.

John S

SCORE = 0!

hey, can i stop the high scores page recording people who scored a score of 0 in a game?

i think its a waste because 0 isnt a score with recording.. how can we make it that only scores above 0 are recorded in the high score page?

watt

thank you for cool mod .

COCONUT MILK

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?

rider

Quote from: COCONUT MILK on May 13, 2007, 02:21:43 PM
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?
The link only appears in the default theme.For all other themes you have to modify the index.template.php to make it appear.

COCONUT MILK

Ok thanks.


I'm no good at codes, Is it this part?
But what do i put in?


// 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>';
}

Advertisement: