News:

Wondering if this will always be free?  See why free is better.

Main Menu

SMFChess

Started by feeble, February 29, 2008, 11:51:29 PM

Previous topic - Next topic

GMCbris

trying this one now - thanks

weightman

I get this error every once and a while:

8: Undefined index: seeChat
File: /home/xxxxxx/public_html/smf/Sources/Chess.php
Line: 602

Looking

Tried to install on many versions of SMF 1.7 (one with mods and one without) and in all cases wafter pressing "Apply Mod" link the page just reloaded and did not install. Yes, chmod good, temp file available in /Packages.

busterone

Quote from: Looking on January 23, 2009, 06:25:27 PM
Tried to install on many versions of SMF 1.7 (one with mods and one without) and in all cases wafter pressing "Apply Mod" link the page just reloaded and did not install. Yes, chmod good, temp file available in /Packages.
I had a similar problem. I was running version 1.0 on 1.1.7 with no problems until a few days ago. The game stopped working. I uninstalled and attempted to install 1.1. I had the same issue as above. I manually installed it. The game is working flawlessly, but now I have an intermittent problem with the chat.  About 50 % of the time, the chat stops working in the middle of a game. The game continues with no problem, but no chat.  I have no errors in the log whatsoever when this happens. Any ideas ?

Looking

I solved the problem by uninstalling the update to 1.17, installing chess and then reinstalling the 1.17 update. I think this is great, saves a lot of time for me having to code one. I thank the mode creator.

busterone

Interesting. I am glad you got it worked out.  I don't have a problem with doing it manually, but it may possibly have something to do with the chat as well. I have to manually code 5 themes for every mod I install anyway. I give each member the option to choose their theme, so I want each mod to work in all of them.  I guess I will have to examine each file that I manually coded.

machmanx

So, any updates for RC1?

It would be nice if the original mod page were updated so that users don't have to go through the entire topic to find updates, like the download for 2.0 beta 4 ;)

Looking

This is a great mod, I must say "hats off" to the creator.

If I may suggest, on thing that will be nice to make the flow of many games easier would be that after you make a move in one game you are taken to the next game in waiting so that you can play through all games where it is your turn.

Thanks much.

FreakingOut

I'm sorry for posting this without fully looking to see if the answer is already here, but with 30 pages in this thread...that's a bit much.  So here goes...

I tried to install this but am running into problems - basically I can't figure out how to install the mod!!!  I download the package and upload it using the SMF uploader...no error messages, no problems.  But also no game.

So, I unzipped and uploaded the chessblock and added a PHP block with the code (copied/pasted, not typed).  Nothing.  Well, nothing but an error message:

QuoteezBlock unable to run PHP syntax error!

I enter the URL (/index.php?action=chess) and a page comes up but pretty much nothing is there.  See? [nofollow]

Help!!!  I'm...

FreakingOut!  :)



What am I doing wrong?!?

Morrell

I'm running 1.1.8 and installed this. It installed great, however I can see as admin... But members do not see a link to it.

Steve

Godsongz

You have to grant permissions for it.  ACP | Permissions | Regular Members - Modify | Chess

EclecticHoobajoo

I love this mod, but I am getting my error logged slammed with all kinds of errors.  I use SMF 1.1.8, Classic Theme, and here's what is in my error log:

Undefined index: chess
File: /Themes/default/Admin.template.php (eval?)
Line: 345

The File line shows every page anyone looks at - BoardIndex.template.php, ChessCustom.template.php, Display.template.php, Errors.template.php, ec etc etc.

I've seen others asking about installing it in a Classic theme, but no definitive answers.  The Package Parser linked to earlier didn't work, as none of that code is in the index.template.php of the classic theme.

I put this code in the classic theme's index file for the chess icon:

// How about the [chess] button?
if ($context['allow_chess'])
echo '
<a href="', $scripturl, '?action=chess;sa=current">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chess.gif" alt="' . $txt['chess'] . '" border="0" />' : $txt['chess']), '</a>', $context['menu_separator'];


What can I do to fix this?  The game seems to work fine, it just pumps out all kinds of errors to the log.

EclecticHoobajoo

Well, I found a workaround at least.  I was hoping to make it where the Chess link would only show up for people signed in, but I had to get rid of all that code, because it was messed up somewhere. 

In the Classic theme's index.template.php file, I replaced

   // How about the [chess] button?
   if ($context['allow_chess'])
      echo '
            <a href="', $scripturl, '?action=chess;sa=current">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chess.gif" alt="' . $txt['chess'] . '" border="0" />' : $txt['chess']), '</a>', $context['menu_separator'];   



With this:

// How about the [chess] button?
echo '
<a href="index.php?action=chess;sa=current"><img src="Themes/classic/images/english/chess.gif" border="0" /></a>', $context['menu_separator'];


and it wiped out all the errors.

busterone

You can add this to make it visible only to logged in users-

if ($context['user']['is_logged'])


John_B

Just gave your SMFChess a try on 1.1.8 and it worked great  :D
Thanks

EclecticHoobajoo

Thanks!   Looks like that's doing the trick.  :)



Quote from: busterone on February 19, 2009, 12:13:51 AM
You can add this to make it visible only to logged in users-

if ($context['user']['is_logged'])



busterone


thecampaign

Hello,

very cool mod. But I wonder if it would be possible that a group of players plays against another group. So that it is only indicated which groups turn it is and then anybody of the corresponding group could do the move. Perhaps there is solution for this idea.

Best regards!

Immortalk

Hello,

I installed the mod and putted into packages. I installed the Turkish version too but how can I add the table? When i install the package, nothing seems to be happen.
TIKLAYIN!

Unutamayacağınız Bir Serüvene Hazır Olun

manixless

hi there

i has installed this mod perfectly, without error, but the one problem is the chess board, if you see the pieces are really a bad location:


my smf version is 1.1.8 and mod version 1.0

chess board example:
http://harrypotteralive.com/colegio/chess/?id=58

thanks for help

Advertisement: