News:

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

Main Menu

simple multiplayer games mod

Started by SA™, June 16, 2008, 02:47:14 PM

Previous topic - Next topic

SA™

Quote from: FlyginPig73 on June 21, 2008, 11:24:53 AM
I installed the mod, but how do you play the games????

There is not link or no change to the forum at all...

EDIT - I must add that I am running 1.1.5 (the latest ver) and I have a theme installed as well..The theme is hoochie coochies soccer theme

you will have to add the button manualy to your custom theme
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

FlyginPig73

Quote from: wdm2005 on June 21, 2008, 04:13:56 PM
Quote from: FlyginPig73 on June 21, 2008, 11:24:53 AM
I installed the mod, but how do you play the games????

There is not link or no change to the forum at all...

EDIT - I must add that I am running 1.1.5 (the latest ver) and I have a theme installed as well..The theme is hoochie coochies soccer theme

you will have to add the button manualy to your custom theme

Can you give me any hints tips or pointers on how to do this..

Thanks.

SA™

right in your theme index.template.php

open it

look for

// How about the [search] button?
if ($context['allow_search'])
echo '<li><a href="', $scripturl, '?action=search">' , $txt[182] , '</a></li>';


then below it add

// How about the [multiplayer] button?
echo '<li><a href="', $scripturl, '?action=multiplayer">' , $txt[mp13] , '</a></li>';


http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Trulyana

Quote from: wdm2005 on June 21, 2008, 04:13:10 PM
Quote from: Trulyana on June 21, 2008, 10:43:29 AM
Can you change that message to a different one? I mean instead of saying 'error' cant it say something like 'your not allowed to view'? Also how can I disable the multiplayer from everyone seeing it including guests, as they can still see this option on the forum, even if they can't get into it.

Thank you. I'll test this out. :)

Way to go on your mod, it's really good.

By the way, are you thinking about including games where forum members can participate in gaming together like the Chess mod? As that will be really beneficial to a forum.
yes im gonna include that in the next relese


hmm to hide the button

try somthing like this

// Show the [multiplayer] button.
if ($context['user']['is_logged']){
echo ($current_action=='multiplayer' || $context['browser']['is_ie4']) ? '<td class="maintab_active_first"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action=='multiplayer' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=multiplayer">' , $txt['mp13'] , '</a>
</td>' , $current_action=='multiplayer' ? '<td class="maintab_active_last"> </td>' : '';}


Trulyana

Quote from: wdm2005 on June 21, 2008, 04:13:10 PM
Quote from: Trulyana on June 21, 2008, 10:43:29 AM
Can you change that message to a different one? I mean instead of saying 'error' cant it say something like 'your not allowed to view'? Also how can I disable the multiplayer from everyone seeing it including guests, as they can still see this option on the forum, even if they can't get into it.

May I ask, where I insert that in?

yes im gonna include that in the next relese


hmm to hide the button

try somthing like this

// Show the [multiplayer] button.
if ($context['user']['is_logged']){
echo ($current_action=='multiplayer' || $context['browser']['is_ie4']) ? '<td class="maintab_active_first"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action=='multiplayer' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=multiplayer">' , $txt['mp13'] , '</a>
</td>' , $current_action=='multiplayer' ? '<td class="maintab_active_last"> </td>' : '';}


dico

i have no mods and am using the default them on a brand new forum

1.1.5

and its not showing anything different

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

dico

Quote from: wdm2005 on June 20, 2008, 06:19:54 PM
you have to set the permissions in in admin/manage permisions

which permission

i dont see anything related to this mod...



only admins can see it
how do i let all my members see it


SA™

should be admin/manage permisions where all the other permissions are
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

dico

#49
Quote from: wdm2005 on June 25, 2008, 06:47:37 PM
should be admin/manage permisions where all the other permissions are



i know

but which permission do i change

so the regular members can see and use this arcade


i dont see anything related to this mod or anything that would seem like it would fix my problem

SA™

hmm see the pic attached

it should be there


if not can you post up you mange.permissions.php?

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Nica

#51
Quote from: wdm2005 on June 18, 2008, 10:22:01 AM
Quote from: Sweetwater on June 18, 2008, 09:11:10 AM
Seemed to install great, however,

- when button is clicked it takes you back to the index & that's all.

- All permissions are set to view & play.

- Not seeing anything in admin panel for the multiplayer games either.

Running 1.1.5
default template

Any ideas??

Sweetwater

in index.php

find

'xml' => array('News.php', 'ShowXmlFeed'),

then add

'multiplayer' => array('multiplayer.php', 'multiplayer'),

and your done

I need help in this area as well.
The games mod installed fine. But there is no button on the navigation bar for multiplayer.
There is one on the members navigation bar. But when clicked it says error has occurred.

Does the code advised above on after the first code or does it replace the first code?

mom-me-dearest.com

Should add: I am using1.1.1.5 with default them.
I checked the index.php file and both those lines of text are present..
I also check maintenance for erros and it says  none found.

Digger1874

[

Nica

I really need some help here.  Very strange behavior for mod.

I installed the mod on 1.1.5 with default theme. It installed fine. I could not find on Admin Panel or Navigation bar. But it was on members navigation bar though.  The permissions in Admin showed the two check boxes but no words. I checked them and the games started working for the members only.

I have one of the color variations of the default theme. But I tried the other colors that work in members  and it still doesn't show up in Admin.

Please help.
mom-me-dearest.com


SA™

there is no admin panel for this

if there is no words the the edits for it didnt make it

i dont know why the button isnt showing to admin i just registerd there and it seems ok to members like you said

can you acess it by going to

http://mom-me-dearest.com/MomMe/index.php?action=multiplayer

ill be back to this topic in  a bit
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Nica

Quote from: wdm2005 on June 26, 2008, 09:03:37 PM
there is no admin panel for this

if there is no words the the edits for it didnt make it

i dont know why the button isnt showing to admin i just registerd there and it seems ok to members like you said

can you acess it by going to

http://mom-me-dearest.com/MomMe/index.php?action=multiplayer

ill be back to this topic in  a bit


Much thanks for the response.  I can access it from there. But not from Admin.
Everybody loving the mod though. Actually is very simple.

SA™

i just updated the packeg try the newer one
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Nica

Quote from: wdm2005 on June 26, 2008, 09:55:18 PM
i just updated the packeg try the newer one


Cool.. Where do I download the newer one?

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

dico

this is the latest right?

multiplayer1[1].1.5.zip 


it said 2.1 when i installed it after u posted u made an update to 2.2

Advertisement: