Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: feeble on February 29, 2008, 11:51:29 PM

Title: SMFChess
Post by: feeble on February 29, 2008, 11:51:29 PM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=1102)

Updated to 1.1
Changes:
-Dark Chess fixed

To Manually Updated to 1.1:
Just extract the zip file and copy Chess.php, ChessFunctions.php & ChessXml.php to your Sources Directory


Drag-Drop PHP Chess for your forums

Preview Here (http://crossfire.org/covenant/index.php?action=chess) or Here (http://weightliftingexchange.com/index.php?option=com_smf&Itemid=39&action=chess) - Thanks to David and weightman
Manual Theme Changes (http://www.leaderless.net/PackageParser/index.php?show=theme)

Have TP Installed?
A SMFChess Block has been put together by Lord Anubis (http://www.simplemachines.org/community/index.php?action=profile;u=66788)
Download Images and Instructions (http://www.leaderless.net/tp-downloads/chessblock.zip)
Original Post can be found here (http://www.simplemachines.org/community/index.php?topic=129749.msg1373650#msg1373650)
Preview:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.leaderless.net%2Ftp-downloads%2Fpreview%2Fchessblockprev.jpg&hash=2c50e945c540eb56062d8466c60e2e43)

SMFChess is released under the MIT License
Quote
Copyright 2018 feeble

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Title: Re: SMFChess
Post by: ApplianceJunk on March 01, 2008, 01:48:16 AM
Installed SMFChess and the SMFChess Block. Did manual edit for Dilber MC theme.
Everything seems to be working! :)

Awesome mod, thanks!
Title: Re: SMFChess
Post by: jdvarner on March 01, 2008, 10:38:59 AM
Awesome Mod Feeble!!!! Thank You!!!

2 Thumbs Up!
Title: Re: SMFChess
Post by: Filipina on March 02, 2008, 11:35:43 AM
Great MOD!  I already have 30 MODS and this one installed without a problem.  This is a great way to keep members coming back to your site. If you have any chess players this MOD will make them happy :)
Title: Re: SMFChess
Post by: jossanaijr on March 02, 2008, 12:24:43 PM
Installed without problems.
Thanks!
Title: Re: SMFChess
Post by: syzable on March 02, 2008, 12:36:49 PM
:( Shame........mine is showing test failed on the index.template. Will have to do it manually.

Title: Re: SMFChess
Post by: weightman on March 02, 2008, 04:36:08 PM
Feeble, I see 1.0 is approved. Congratulations!
Title: Re: SMFChess
Post by: Bigguy on March 02, 2008, 08:59:37 PM
That's great Feeble; glad to see it got approved ;)
Title: Re: SMFChess
Post by: brianjw on March 02, 2008, 09:55:40 PM
Awesome!! Now I can install it. Now that I am sure that it fits the guidlines of SMF, it's stable, and out of beta. :)
Title: Re: SMFChess
Post by: Godsongz on March 02, 2008, 10:12:42 PM
Hey, that's great news!  Congrats Feeble!  ;D
Title: Re: SMFChess
Post by: Godsongz on March 02, 2008, 10:25:11 PM
I've been running this mod on my site since last July, and my users have played hundreds of games.  It's one of the most popular areas on the site, and IMO, the best mod I've installed yet.
Title: Re: SMFChess
Post by: sipko on March 03, 2008, 12:14:44 AM
Hi,

One of my members posted in the Quick Challenge by mistake and wants his post there removed. How can I delete/remove that person's challenge?

I've tried all sorts of things with no luck like uninstalling the mod, deleting the mod files, and starting with a fresh install, but still the person's challenge shows up.   
Title: Re: SMFChess Mod
Post by: Sabre™ on March 03, 2008, 02:09:31 AM
Glad to see you finally got the go ahead mate :)
Its a great add to any site.

I got this error.

Execute Modification     ./Themes/default/index.template.php     Test failed

Can I still install the mod, and manually install the changes to only the index.template?

Or a complete manual install is needed?

EDIT:
I installed it anyway, and its working fine, without any errors..  So far.
I noticed that the users can see and access the settings button.
Is this standard?
How can I change this so only the admin can see and change this?
Title: Re: SMFChess Mod
Post by: edi67 on March 03, 2008, 04:30:41 AM
great mod
Title: Re: SMFChess Mod
Post by: nikiobicata on March 03, 2008, 08:01:33 AM
in wich file i have to put this :

Code: [Select]
[code]
global $scripturl, $context;
echo '

<img src="/chessblock/main.png"/> <a href="', $scripturl ,'?action=chess">My Chess Stats</a><br />
<img src="/chessblock/challenge.png"/> <a href="', $scripturl ,'?action=chess;sa=challenge">Challenge</a><br />
<img src="/chessblock/current.png"/> <a href="', $scripturl ,'?action=chess;sa=current">Current Matches</a><br />
<img src="/chessblock/finished.png"/> <a href="', $scripturl ,'?action=chess;sa=finished">Finished Matches</a><br />
<img src="/chessblock/leaderboard.png"/> <a href="', $scripturl ,'?action=chess;sa=leaderboard">Leaderboard</a><br />
';
[/code]
Title: Re: SMFChess Mod
Post by: Sabre™ on March 03, 2008, 11:32:01 AM
That is for a php Block in TP (Tiny Portal).
If you have TP installed, then go into admin>block manager  and create a php block there.
If you dont have TP..  Then you done need that code :)

Its 3:41am here, so if Ive forgotten anything, someone please fill in the gaps :P
Title: Re: SMFChess Mod
Post by: MinasC on March 03, 2008, 12:16:48 PM
finally your mod is out feeble , my congrats my friend , we have all been waiting for this a long time ! that is really a great mod ! installation and translation in greek (don't think i forgot my promise) is the first thing i am doing once i get my home internet connection back !
Title: Re: SMFChess Mod
Post by: Godsongz on March 03, 2008, 12:40:34 PM
I noticed that the users can see and access the settings button.
Is this standard?

Yes it is standard, but they're only seeing the button for their own user-specific settings.  The global settings are done in ADMIN | CHESS ADMIN | SETTINGS, but each user can override with their own favorite colors or pieces or board size.
Title: Re: SMFChess Mod
Post by: N3RVE on March 03, 2008, 12:59:16 PM
The Best thing that has happened to SMF
Title: Re: SMFChess Mod
Post by: N3RVE on March 03, 2008, 01:00:22 PM
he he
Title: Re: SMFChess Mod
Post by: Sabre™ on March 03, 2008, 01:02:33 PM
but each user can override with their own favorite colors or pieces or board size.

Ahhh  yes I see.
I have altered the code in the custom template, so users do not have this option anymore.
I will randomly change the board and pieces myself. Say once a month, to keep the excitement alive. Nothing like playing with new pieces on a new board ;)

I however am stumped on one thing.
And that is where EXACTLY do I put the chessblock folder.
Yes the root of the forum etc..
But where??
I've ftp it to almost every section in my c/panel.  But no success.
Could someone leave a direct line please :)

Thank You in advance
Title: Re: SMFChess Mod
Post by: Godsongz on March 03, 2008, 01:29:10 PM
I have altered the code in the custom template, so users do not have this option anymore.
I will randomly change the board and pieces myself. Say once a month, to keep the excitement alive. Nothing like playing with new pieces on a new board ;)

I would tend to agree with you, however there will be some who don't.  You might want to reconsider leaving the user-specific settings option in place.  There will always be some players who crave consistency.

I however am stumped on one thing.
And that is where EXACTLY do I put the chessblock folder.
Yes the root of the forum etc..

Shallower actually.  I had to put my chessblock folder at the root of my domain, not the root of my forum, to get it to work.
Title: Re: SMFChess Mod
Post by: Godsongz on March 03, 2008, 02:13:17 PM
Hi,

One of my members posted in the Quick Challenge by mistake and wants his post there removed. How can I delete/remove that person's challenge?

I've tried all sorts of things with no luck like uninstalling the mod, deleting the mod files, and starting with a fresh install, but still the person's challenge shows up.  

Hmm, I don't think there is an easy way to delete an unanswered quick-challenge.  Maybe Feeble will add that to the tweak-list :)  In the meantime, you can always answer the person's challenge, make a move in the game so the status will be set to "In-Progress", and THEN you'll be able to delete the game from the Current Games list.
Title: Re: SMFChess Mod
Post by: weightman on March 03, 2008, 02:23:06 PM
You should be able to delete unanswered challenges since I did so before. I forget where though and I don't have any to look at right now. Maybe in the challenge or current page...
Title: Re: SMFChess Mod
Post by: Godsongz on March 03, 2008, 02:29:14 PM
I know that unanswered challenges that are directed at a specific person can be easily deleted, but I don't see a place to delete unanswered "Quick-Challenges".
Title: Re: SMFChess
Post by: Godsongz on March 03, 2008, 02:31:55 PM
I wonder, should this thread be locked and abandoned in favor of the new officially released mod thread (http://www.simplemachines.org/community/index.php?topic=225742)?
Title: Re: SMFChess Mod
Post by: weightman on March 03, 2008, 03:31:53 PM
Yea, I could be mistaken. Sorry if I posted inaccurate info.
Title: Re: SMFChess Mod
Post by: feeble on March 03, 2008, 05:45:53 PM
Thanks for everyone's support, and if you are new to this mod, Welcome.
Also I just want to give my thanks to the SMF Team, for checking over the mod and everything they have done to help out, I'm really grateful.

Hi,

One of my members posted in the Quick Challenge by mistake and wants his post there removed. How can I delete/remove that person's challenge?

I've tried all sorts of things with no luck like uninstalling the mod, deleting the mod files, and starting with a fresh install, but still the person's challenge shows up.   
Sorry about this I'll add this to the upcoming patch

In the mean time, I would use Godsongz advice
Quote
In the meantime, you can always answer the person's challenge, make a move in the game so the status will be set to "In-Progress", and THEN you'll be able to delete the game from the Current Games list.

I have altered the code in the custom template, so users do not have this option anymore.
I will randomly change the board and pieces myself. Say once a month, to keep the excitement alive. Nothing like playing with new pieces on a new board ;)
Again what Godsongz said.
Also keep in mind the User Settings Page is also where a user can disable move PM updates, disable Quickplay, and increase the piece size if they require it a little bigger.

finally your mod is out feeble , my congrats my friend , we have all been waiting for this a long time ! that is really a great mod ! installation and translation in greek (don't think i forgot my promise) is the first thing i am doing once i get my home internet connection back !
Hey MinasC, how have you been?
That would be lovely mate, I'll upload a Language pack when I get home tonight to hopefully help smooth out the process.

I however am stumped on one thing.
And that is where EXACTLY do I put the chessblock folder.
Yes the root of the forum etc..
I'll add the chessblock folder into the package to help you out with this.(Ill do this in the next couple of days)
But you should just have to upload it to your main forum folder(where the SSI and index files are)



Ok, now the news.
I'm a little behind schedule at the moment since I wasn't expecting this mod to be approved of for another week or 2.(I'm not bitter)
I've been working on a 1.1 patch to bring everyone up to the same version.
-I'll be adding the option to cancel quick challenges request by sipko
-adding the chessblock folder into the main package
-making a few adjustments to pawn promotion, hasn't been completed sussed out yet, but essentially you will only be able to promote to pieces that you have lost. This might only be only as an option thou or for a particular variation only.
-adjustments to castling, still a few bugs to iron out

Going to be adding a few new variations as well, can't really decide on which ones thou.
If you want, head here (http://snoot.org/toys/sico/variations.html)
If there is one that takes your fancy, I'll add it in.
Keep in mind that I can't do any variations that contain new pieces(I've been looking into this thou, so who knows)
I like the looks of Wild 5 (#17)


In regards to SMFChess for SMF 2. I'm still looking into this, my issue with this at the moment is that I don't want to be working on two different versions. So what I'll probably do is release this patch, and that'll be it. Anything new will be put into the version for SMF 2.
So if there is something missing or that you want still for SMFChess. Please speak up.
I don't have an ETA on the patch, Uni just started again this week which takes priority.

In regards to modification requests, new chess sets, code requests or support. There are several options avaliable, either post in this thread, In the old thread (http://www.simplemachines.org/community/index.php?topic=129749.0), Over at Bigguys SMFHelper (http://www.smfhelper.info/forum/index.php), or at my own site (http://www.leaderless.net/)(Which isn't completed yet)
Just keep in mind that if you post over at SMFHelper or my site, you will probably get a more personal response as its easier to write out a proper response when it has its own thread.)
Title: Re: SMFChess
Post by: feeble on March 03, 2008, 05:48:06 PM
Thanks guys.

I wonder, should this thread be locked and abandoned in favor of the new officially released mod thread (http://www.simplemachines.org/community/index.php?topic=225742)?
Umm, don't really mind, i still continue to check this thread, and answer any questions, but I'll be posting anything new updates in the other thread.
Title: Re: SMFChess Mod
Post by: Sabre™ on March 03, 2008, 07:00:57 PM
Sorted.
Cheers Godsongz.
I also had to install the "chessblock"  folder outside of the forum folder.
Will wait for your patch.

It would be great, if someone found pieces like [THESE] (http://www.chesshouse.com/PhotoGallery.asp?ProductCode=FP6198) to install.
If it was at all possible.
But great mod mate :)

Thank You very much.
Title: Re: SMFChess Mod
Post by: Gargoyle on March 03, 2008, 07:18:29 PM
LOVE THE GAME!!! Great Mod!!
Title: Re: SMFChess
Post by: Lord Anubis on March 03, 2008, 07:34:41 PM
Congrats on your mod being accepted (It is definitely a great addition!)
Title: Re: SMFChess Mod
Post by: Lord Anubis on March 03, 2008, 07:53:49 PM
Sabre all you have to do is change the code for the chess block

Code: [Select]
global $scripturl, $context;
echo '

<img src="/chessblock/forum/chess.png"/> <a href="', $scripturl ,'?action=chess">My Chess Stats</a><br />
<img src="/chessblock/forum/challenge.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=challenge">Challenge</a><br />
<img src="/chessblock/forum/matches.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=current">Current Matches</a><br />
<img src="/chessblock/forum/matches.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=finished">Finished Matches</a><br />
<img src="/chessblock/forum/leader.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=leaderboard">Leaderboard</a><br />
';
Title: Re: SMFChess Mod
Post by: sipko on March 03, 2008, 08:23:27 PM
Thanks. I'll take another look. 
Title: Re: SMFChess Mod
Post by: Sabre™ on March 03, 2008, 10:19:44 PM
LOL  Lord Anubis.

After I had some rest, that obvious solution popped into my head!! LOL
C'mon mate, I've had 5 hours sleep in the last 32..      Give me a break!!  LOL

But I inserted it into the forum dir.
Your line shows it outside the forum dir.

So instead of

<img src="/chessblock/forum/chess.png"/> <a href="', $scripturl ,'?action=chess">My Chess Stats</a><br />

I have

<img src="/forum/chessblock/chess.png"/> <a href="', $scripturl ,'?action=chess">My Chess Stats</a><br />

And so on and so forth..

Gotta make sure I dont code after my COD4 sessions LOL

EDIT
I have a suggestion/request feeble.
Is it possible to have the  "Preview"  screen, as a movable/floating popup box?
So the game could be watched, as members are browsing the site.
I have my ads at the bottom of my pages, and they show above this preview box.
So to be able to move the box around with your mouse, would be great!!
Title: Re: SMFChess Mod
Post by: Lord Anubis on March 03, 2008, 10:51:43 PM
LMFAO....Okay, coding and drinking DO NOT MIX

Glad you got it figured out...

In addition, you guys might want to check out my other navigation modification for this theme (REPOSTED HERE FOR SIMPLICITY):

Screenshot:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ftinyadminresources.com%2Fextras%2Fimagehost%2Fscript%2Fuploads%2F7b5c61f2a9.jpg&hash=69615aa2cc8bf1e55fd2aaba98a6170d) (http://tinyadminresources.com/extras/imagehost/script/uploads/7b5c61f2a9.jpg)
CLICK PIC FOR LARGER VIEW


Instructions:

1. Download THIS FILE (http://tinyadminresources.com/chessblock.zip), and unzip the package
2. Upload the folder "chessblock" to the root of your forum
3. Insert the code below into a PHP block (CENTER)

Recommendations:
* Put it for custom action chess so it isn't shown throughout your forum
* Don't show title/frame
4. Enjoy!

Code: [Select]
global $scripturl, $context;
echo '
<img src="/chessblock/chess.png"/> <a href="', $scripturl ,'?action=chess"><font size="2">My Chess Stats</font></a> |
<img src="/chessblock/challenge.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=challenge"><font size="2">Challenge</font></a> |
<img src="/chessblock/matches.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=current"><font size="2">Current Matches</font></a> |
<img src="/chessblock/matches.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=finished"><font size="2">Finished Matches</font></a> |
<img src="/chessblock/leader.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=leaderboard"><font size="2">Leaderboard</font></a>
';

Or what I did was used the code below in the ChessCustom.template.php

Screenshot:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ftinyadminresources.com%2Fextras%2Fimagehost%2Fscript%2Fuploads%2F830d7c61e3.jpg&hash=32564f327a7ce089bf83d20ed82161fc) (http://tinyadminresources.com/extras/imagehost/script/uploads/830d7c61e3.jpg)
CLICK PIC FOR LARGER VIEW

Code:
Code: [Select]
<?php

//SMFChess CustomBar Template File
//ChessCustom.template.php
//
//General Use is to copy this into your Custom themes
//then edit this file
//that way you can have the bar fit to each of your sites themes


function template_SMFChessBar_custom()
{
global $txt$context$modSettings$scripturl$settings;

echo 
'
<center>
<img src="/chessblock/chess.png"/> <a href="'
$scripturl ,'?action=chess"><font size="2">My Chess Stats</font></a> | 
<img src="/chessblock/challenge.png"/> <a href="'
$scripturl ,'?action=chess;u='$context['user']['id'] ,';sa=challenge"><font size="2">Challenge</font></a> | 
<img src="/chessblock/matches.png"/> <a href="'
$scripturl ,'?action=chess;u='$context['user']['id'] ,';sa=current"><font size="2">Current Matches</font></a> | 
<img src="/chessblock/matches.png"/> <a href="'
$scripturl ,'?action=chess;u='$context['user']['id'] ,';sa=finished"><font size="2">Finished Matches</font></a> | 
<img src="/chessblock/leader.png"/> <a href="'
$scripturl ,'?action=chess;u='$context['user']['id'] ,';sa=leaderboard"><font size="2">Leaderboard</font></a>
</center>
'
.$context['page_index'];

}
?>


I intentionally didn't include the settings control because it was too large with my side blocks and messed up the look...If anyone wants this added just request it and I will post the code and image :)

Title: Re: SMFChess Mod
Post by: Sabre™ on March 03, 2008, 11:20:16 PM
I added that as soon as the mod was installed!!
The layout suits me fine.
Thanks for your lil add :)

Im expecting more will be included here, so will keep watch of this thread.
Title: Re: SMFChess Mod
Post by: Godsongz on March 04, 2008, 07:16:34 AM
In regards to SMFChess for SMF 2. I'm still looking into this, my issue with this at the moment is that I don't want to be working on two different versions. So what I'll probably do is release this patch, and that'll be it. Anything new will be put into the version for SMF 2.

I don't know much about SMF2 yet, but I wonder if this is going to be the norm.  Are mods for 1.1.4 and 2.0 going to be so different that they have to be kept seperate from each other?  Does this mean we'll never see a tournament as part of the 1.1.4 code?
Title: Re: SMFChess Mod
Post by: samvirtual on March 04, 2008, 12:46:52 PM
It appears some files are missing from the package.

the challenge user page does not show a button next to the text area.
i am getting 404 errors from this file = >
Code: [Select]
forums/Themes/default/SMFChess/scriptaculous/src/sound.js
Title: Re: SMFChess Mod
Post by: Sabre™ on March 04, 2008, 04:15:32 PM
Hi buddy.
Which button is missing for you?
This one
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg183.imageshack.us%2Fimg183%2F4160%2Fbuttonrk7.png&hash=7a288d5a0fc1e8ac7c01ca667631b75e)

or this one
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg502.imageshack.us%2Fimg502%2F7036%2Fbutton1ou1.png&hash=6b8158d40491b6c2206053109f5e97d0)

If it is one of these, then try downloading the file again, as it may have been corrupted through transfer.

Now my problem is, that I cannot type a message to the player Im challenging.  See in the second image??  Well in there!!
I cant type anything at all there ???

EDIT:  Hmmm..     My images resized.
The buttons are the rectangular images at the bottom of each image.
Just right click on them, and select "{view image}" to have a better look :)
Title: Re: SMFChess Mod
Post by: samvirtual on March 04, 2008, 04:57:43 PM
hi thanks for your reply,
you can have a look here, when you type the name of a user in text nothing happens, i belive ajax takes care of the challenge input. If ajax is not doing it there should be  a button that posts the user that is fed in to the form. But nothing happens. the only way a person can challenge is by using the quick challenge . you can have a look at

http://rxusmle.com/forums/index.php?action=chess;sa=challenge

i love the mod but would like to see this work.

Title: Re: SMFChess Mod
Post by: weightman on March 04, 2008, 05:06:14 PM
Quote
i love the mod but would like to see this work.

Feeble has been providing excellent support for this mod and making drastic and rapid improvements so I am sure he will address any problems found now that the mod is released and more people have their hands on it for testing.  ;D
Title: Re: SMFChess Mod
Post by: Godsongz on March 04, 2008, 05:35:58 PM
you can have a look here, when you type the name of a user in text nothing happens, i belive ajax takes care of the challenge input. If ajax is not doing it there should be  a button that posts the user that is fed in to the form. But nothing happens. the only way a person can challenge is by using the quick challenge

Re-upload the entire SMFChess folder to your $themedir.  Something is certainly missing, and likely it's something in the scriptaculous directory.  If you're missing any files from there, the selection of a player to challenge won't work.  Honestly, the mod is not broken, it is your installation.
Title: Re: SMFChess Mod
Post by: feeble on March 04, 2008, 06:28:41 PM
hi thanks for your reply,
you can have a look here, when you type the name of a user in text nothing happens, i belive ajax takes care of the challenge input. If ajax is not doing it there should be  a button that posts the user that is fed in to the form. But nothing happens. the only way a person can challenge is by using the quick challenge . you can have a look at

http://rxusmle.com/forums/index.php?action=chess;sa=challenge

i love the mod but would like to see this work.
I'm a bit confused as to why guests can see the challenge page, but never the less.

I know what the problem is, I just don't know exactly whats causing it.
Ok first off, the problem is that the window.onload event is not executing which is causing this issue.

Now I'm really not to sure why this is, I have a feeling its something to do with your theme, and possibly
Code: [Select]
<script src="/logs/logforums.php"></script>Which is located at the end of your page, but this is just a guess as I couldn't see anything else that looked wrong.
What is that anyways, php files aren't normally used to replace js file and there is nothing in that file.

And since you have made your theme using the default theme, I can't ask you to check it to make sure that works. I really can't help at this point in time, I'll look into it a bit more but with out more tests I can't really help.

You could try the mod with another theme, and see if that fixes it, that way you can cut down on possibly problems that may be causing this.


Now my problem is, that I cannot type a message to the player Im challenging.  See in the second image??  Well in there!!
I cant type anything at all there ???
Anything else you can tell me, or can you send me your websites url in a pm.

I don't know much about SMF2 yet, but I wonder if this is going to be the norm.  Are mods for 1.1.4 and 2.0 going to be so different that they have to be kept seperate from each other?  Does this mean we'll never see a tournament as part of the 1.1.4 code?
I'm really not sure just yet, I'm still thinking about what to do about this. Also I don't think the public release of SMF 2 is that far away, maybe a month or 2.
Title: Re: SMFChess
Post by: VegaTheChosen on March 04, 2008, 08:52:04 PM
great mod and congrats on the acception

I'm having a display issue Ive added the chess link the way it was instructed but it the link is off here's a couple screenshots in a couple different browsers
here's firefox
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi31.tinypic.com%2Fip1pg8.jpg&hash=7f61d52108421ca0b1eeac53bcacd275)
and opera
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi25.tinypic.com%2F2jfdemu.jpg&hash=e02c15a396f4222deeef8cecd358b984)
any clue how to fix this and make it aligned??
thanks
Title: Re: SMFChess Mod
Post by: samvirtual on March 05, 2008, 07:13:58 AM
Thanks for your reply Feeble.
1. My theme is the default theme. i have merely made some changes in the the font sizes, and substituted 3 - 4 images with my own. No change in the source code.
2. I have tried removing the js you have mentioned. Still the same
3. I believe i had not adjusted the permissions, so guests were able to access the challenge.
4. I have a hover mod installed that uses js, Could that be interfering?
Title: Re: SMFChess Mod
Post by: Sabre™ on March 05, 2008, 07:37:56 AM
PM sent feeble :)

Thanks mate :)
Title: Re: SMFChess Mod
Post by: samvirtual on March 05, 2008, 07:51:53 AM
Hi feeble, i think i figured out the problem. my guess was right the board hover mod was in some way interfering. Javascripts dont like each other, i have had this experience. I removed the board hover mod, and the problem appears to have disappeared.
Title: Re: SMFChess Mod
Post by: feeble on March 05, 2008, 08:02:26 AM
Hi feeble, i think i figured out the problem. my guess was right the board hover mod was in some way interfering. Javascripts dont like each other, i have had this experience. I removed the board hover mod, and the problem appears to have disappeared.

Oh nice one,

can I inquire what the hover mod is? so I can see if I can fix it?
Title: Re: SMFChess
Post by: feeble on March 05, 2008, 09:34:44 AM
great mod and congrats on the acception

I'm having a display issue Ive added the chess link the way it was instructed but it the link is off here's a couple screenshots in a couple different browsers
here's firefox

any clue how to fix this and make it aligned??
thanks
If you can, please send me your index.template.php file to me, my email address is tsaphin@gmail.com
Title: Re: SMFChess Mod
Post by: samvirtual on March 05, 2008, 03:07:50 PM
hi thanks for your reply here is the link to the board hover mod.

http://custom.simplemachines.org/mods/index.php?mod=1065

Demonstrates a hack with mouse over highlights that allows you to select by clicking anywhere in highlighted "hover" area forum topics, subjects, child boards and message subject.  Clicking in the field will take you to the board, first post, first unread post or last post.

Utilizes Janos Horvath's hover emulation java script for Internet Explorer (IE) compatibility.  It is the users responsibility is to check the site for script updates.

Tested with: Firefox, Internet Explorer and Safari.

Live Demo:  http://www.eastcoastrollingthunder.com/smf/index.php?action=forum
Title: Re: SMFChess Mod
Post by: Sabre™ on March 05, 2008, 06:05:57 PM
LOL    samvirtual

lmao @ "Users active in past 1440 minutes:"

lol  thats a looooong azzz time frame mate lol

Nice site btw :)
Title: Re: SMFChess Mod
Post by: samvirtual on March 05, 2008, 07:49:51 PM
appreciate your comments, but what is the 1440 about, and i would encourage some criticism.
Title: Re: SMFChess Mod
Post by: Lord Anubis on March 05, 2008, 08:03:03 PM
He meant if this is your site
http://www.eastcoastrollingthunder.com/smf/index.php?action=forum

then you have your users online thresh hold to 1440 which is 24 hours
Title: Re: SMFChess Mod
Post by: samvirtual on March 05, 2008, 08:11:06 PM
no Lord Anubis that is just an example to illustrate the board hover mod, that was interfering with the the java scripts of the chess mod. my site is rxusmle.com
Title: Re: SMFChess
Post by: VegaTheChosen on March 05, 2008, 08:28:14 PM
thanks for the reply will send in just a moment
Title: Re: SMFChess
Post by: Chipfryer on March 06, 2008, 07:56:50 AM
Hi there. I have a few problems with SMF at present so this might not be the best place to post this?

I tried setting up a game of chess with a friend. However he cannot access it and has a message similar to "You do not have access to chess"

I was thinking this might be something to do with admin rights or permissions? Can anyone help please?
Many thanks again.
:)
Title: Re: SMFChess
Post by: Bigguy on March 06, 2008, 08:42:09 AM
Have you set all permissions for all the membergroups so they can play chess. ???
Title: Re: SMFChess
Post by: Godsongz on March 06, 2008, 11:08:13 AM
I would also recommend setting "Guest" permissions so they can "View Chess". 
Title: Re: SMFChess
Post by: Chipfryer on March 06, 2008, 02:12:14 PM
I am so sorry. Yes I see that in there now. Many apologies.
I'll get mi coat. :)
Title: Re: SMFChess
Post by: Chipfryer on March 06, 2008, 02:15:25 PM
Many congrats by the way on getting it approved. 
Title: Re: SMFChess Mod
Post by: Assistance on March 06, 2008, 05:25:39 PM
rated best mod of 08
Title: Re: SMFChess
Post by: mightygiants on March 08, 2008, 07:33:41 PM
Tried to install, and it didn't work (no option buttons, admin settings missing text and other things, admin options missing).  I am not using the default theme.  Clicked on the instructions for other themes, but I get file not found.  Any help or assistance?  My board uses the Classic YaBB SE Theme.  Thanks for any assistance.
Title: Re: SMFChess Mod
Post by: Trinny on March 08, 2008, 09:05:13 PM
it's an excellent mod and functions perfectly except that (and it's possible that I'm just missing something, or expecting something to be there that isn't) but in the challenge tab, there are two options, the second option to create a quickmatch works perfectly for me, but the first option tells me to type in the member name of whomever I wish to challenge. I do, but then nothing happens. There's no submit block or option to begin a game with this person, no PM is sent to let the person know that I'd like a match. In fact, it appears to do nothing at all ???

Title: Re: SMFChess Mod
Post by: Lord Anubis on March 08, 2008, 09:12:00 PM
Trinny, you hit enter after inputting a name into the Challenge Request
Title: Re: SMFChess Mod
Post by: Trinny on March 08, 2008, 10:26:10 PM
I do. Still, nothing. Believe me I've tried every combination of actions possible, short of a rain dance prior to hitting enter. Is it supposed to generate a joinable game after hitting enter? It does nothing on my site, and I had no installation errors. I'm at a loss on what to do.
Title: Re: SMFChess Mod
Post by: Assistance on March 09, 2008, 03:36:35 AM
....have you waited for the person to accept the challenge, before it is then displayed on the active games list.
Title: Re: SMFChess Mod
Post by: Trinny on March 09, 2008, 07:37:47 AM
....have you waited for the person to accept the challenge, before it is then displayed on the active games list.
Accept it how though? There is no challenge listed or game created anywhere that I can find, and the person that I'm challenging gets no PM to inform them of the challenge?
Title: Re: SMFChess Mod
Post by: mightygiants on March 09, 2008, 11:04:03 AM
I can't get this mod to work.  I am not using the default theme.  My board uses the Classic YaBB SE Theme.   The instructions for other themes doesn't come up.  When I click on the link it says, "no file found".   When I try to use the regular install, it doesn't come up on the button bar and admin features are incomplete.  What needs to be done and where can I find the alternate theme instructions?
Title: Re: SMFChess Mod
Post by: Trinny on March 09, 2008, 11:32:12 AM
So I ran DOM and found no errors on the page prior to typing in a name, but once I typed in a name and hit the enter button, I got an error. Please, does anyone know what this means or how to repair it?
Title: Re: SMFChess Mod
Post by: MinasC on March 11, 2008, 11:20:40 AM
rated best mod of 08

how can i rate it ?
Title: Re: SMFChess
Post by: Chipfryer on March 11, 2008, 12:40:38 PM
Did you get any error messages from the failed install?

Tried to install, and it didn't work (no option buttons, admin settings missing text and other things, admin options missing).  I am not using the default theme.  Clicked on the instructions for other themes, but I get file not found.  Any help or assistance?  My board uses the Classic YaBB SE Theme.  Thanks for any assistance.
Title: Re: SMFChess
Post by: mightygiants on March 11, 2008, 06:48:43 PM
No error messages, it seems to install just fine (from that perspective).
Title: Re: SMFChess Mod
Post by: Paracelsus on March 12, 2008, 02:46:32 PM
Feeble,

I'm having the exact same problem as other users.

The javascript doesn't seem to load as it should. In previous versions that did work without any problems, but now it doesn't. For example, on the challenge page it's impossible to have the "search" button right after the field where you put the username you want to challenge... it doesn't work pressing Enter, either.

It's not theme related, as I have a default theme which has the same problem. I have over 30 Mods, so it's impossible to say which one could be interfering.

I've tried a javascript debugger for the Challenge page and it shows me this:

Code: [Select]
Error ``Ajax.Autocompleter is not a constructor'' [x-] in file ``http://www.forumscp.com/Themes/default/SMFChess/SMFChess_challenge.js'', line 5, character 0.
Exception ``TypeError: Ajax.Autocompleter is not a constructor'' thrown from function anonymous() in <http://www.forumscp.com/Themes/default/SMFChess/SMFChess_challenge.js> line 5.
[e] message = [string] "Ajax.Autocompleter is not a constructor"
Error ``TypeError: Ajax.Autocompleter is not a constructor'' [x-] in file ``http://www.forumscp.com/Themes/default/SMFChess/SMFChess_challenge.js'', line 5, character 0.

On other pages, it shows me several other errors in other js files.
Title: Re: SMFChess Mod
Post by: feeble on March 12, 2008, 04:24:53 PM
Apologies for my delayed response, I just got back from a trip and only just stepped in the door.

To Trinny and Paracelsus,
Whats happening is that the javascript(namely prototype) used in SMFChess is conflicting with another script on your sites.
So to begin if possible, can I please get a copy of a list all of all the mods installed on your site, as well as any JavaScript's that you might be running.
If you want to send this info by email, tsaphin@gmail.com

I do know that the boardhover mod conflicts, and I am currently looking for a fix for this, but nothing so far.

The main issue is that with the introduction of prototype into this mod, I've made SMFChess less compatible. So I'm going think about dropping it in a future update, but lets try and get you both sorted out in the interim.


to mightygiants
Apologies for that, the Manual theme changes (http://www.leaderless.net/PackageParser/index.php?show=theme) link works once more.
In saying this thou,

what language are you running?
and if you can send a copy of your index.template.php to tsaphin@gmail.com and ill make the theme changes for you.
Title: Re: SMFChess
Post by: feeble on March 12, 2008, 04:29:17 PM
No error messages, it seems to install just fine (from that perspective).
I've replied to your question in the other thread.
Title: Re: SMFChess Mod
Post by: Paracelsus on March 12, 2008, 05:52:36 PM
Problem SOLVED! ;D

With feeble's help, we could detect that the problem was my "slimbox" script... so feeble suggested a way of disabling it in the chess pages... here's the code which solved it:

Code: [Select]
';

if($context['current_action'] != 'chess')
    echo '
<!-- Lightbox Slimbox Includes -->
    <link rel="stylesheet" href="', $settings['theme_url'], '/css/slimbox.css" type="text/css" media="screen" />
    <script type="text/javascript" src="', $settings['theme_url'], '/js/mootools-release-1.11.js"></script>
    <script type="text/javascript" src="', $settings['theme_url'], '/js/slimbox.js"></script>

The Slimbox script was already there, in index.template.php and the only thing I've added was the if($context['current_action'] != 'chess') (and of course the '; and echo ' to not disrut the page). ;)


Thanks feeble, you're support was absolutely perfect!
Title: Re: SMFChess Mod
Post by: fecu2008 on March 13, 2008, 01:55:16 AM
Is there a way to change the text "news" to something else?
Title: Re: SMFChess Mod
Post by: Paracelsus on March 13, 2008, 04:12:29 AM
Is there a way to change the text "news" to something else?

Just go to the language files and change it... I think it's in the Chess.english.php
Title: Re: SMFChess Mod
Post by: mightygiants on March 13, 2008, 10:54:22 AM
My site is in English and I sent you the file.  I couldn't find the lines, referenced in the tutorial.
Title: Re: SMFChess Mod
Post by: Paracelsus on March 13, 2008, 03:22:26 PM
One extra question (which is coding-related):
I don't have the default theme so it's easy to guess that the "menu button" to access SMFChess in index.template.php has a different syntax. The thing is that the SMFChess button syntax is slightly different from the others as it is prepared to show a tiny extra whenever there are moves in our own chess games. How do I put this in a custom theme button?

This is the SMFChess button:
Code: [Select]
    //Begin SMFChess code
    if($context['allow_chess']){
        echo ($context['current_action'] == 'chess' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $context['current_action'] == 'chess' ? 'active_back' : 'back' , '">
                <a href="', $scripturl, '?action=chess">'.$txt['SMFChess'].'', $context['user']['chess_turn'] != 0 ? '[<strong>!</strong>]' : '' , '</a>
            </td>' , $context['current_action'] == 'chess' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
    }
    //END SMFChess code

And this would be a SMFChess button from my custom theme:
Code: [Select]
    //Begin SMFChess code
    if($context['allow_chess'])
        echo '
        <a href="', $scripturl, '?action=chess"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chess.png" alt="', $txt['SMFChess'], '" title="', $txt['SMFChess'], '" /></a>', $context['menu_separator'], '&nbsp;&nbsp;&nbsp;';
    //END SMFChess code

Does anybody know how to add that kind of link with the "strong" tags in this button below? (this is probably very easy for those who are PHP programmers)
Title: Re: SMFChess Mod
Post by: feeble on March 13, 2008, 04:18:53 PM
well since you are using images instead of text, its a little more difficult, but doable

just create another button image however you want, just needs to be a stronger version, for example "Chess!"
call it "chess_strong.png" and upload it to where the other buttons are located

then use
Code: [Select]
    //Begin SMFChess code
    if($context['allow_chess'])
        echo '
        <a href="', $scripturl, '?action=chess"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/'.($context['user']['chess_turn'] != 0 ? 'chess_strong' : 'chess').'.png" alt="', $txt['SMFChess'], '" title="', $txt['SMFChess'], '" /></a>', $context['menu_separator'], '&nbsp;&nbsp;&nbsp;';
    //END SMFChess code
*Fixed as per Paracelsus
Title: Re: SMFChess Mod
Post by: Paracelsus on March 13, 2008, 05:49:01 PM
It worked after putting an extra dot "." before the PNG in the syntax you mentioned... thanks feeble ;)
Title: Re: SMFChess Mod
Post by: jossanaijr on March 14, 2008, 09:15:42 AM
Any possibility to include an option to show some stats in Info Center?
Title: Re: SMFChess Mod
Post by: weightman on March 17, 2008, 01:10:44 AM
Feeble, is it possible that this mod conflicts with the javascript copy link feature in the user profiles by the referals mod? It doesn't seem to copy to the clipboard on my site and I am wondering if it might be a conflict with this mod per your previous post on javascript conflicts.

Link for referral mod: http://custom.simplemachines.org/mods/index.php?mod=1114

Thanks very much
Title: Re: SMFChess
Post by: PLAYBOY on March 17, 2008, 04:23:55 AM
Turkish language file is horrible. It doesnt translate most of the things. Also some places are totally blank. Please get me a full language file which contains every word in the mod, so i can translate them all to turkish and make this mod perfect for turkish users also.
Title: Re: SMFChess
Post by: PLAYBOY on March 17, 2008, 04:26:40 AM
also language files are not included in MODs page.
Title: Re: SMFChess Mod
Post by: feeble on March 17, 2008, 06:48:57 AM
Any possibility to include an option to show some stats in Info Center?
What were you after it to say?
also this might have to wait till I get the SSI out.

Feeble, is it possible that this mod conflicts with the javascript copy link feature in the user profiles by the referals mod? It doesn't seem to copy to the clipboard on my site and I am wondering if it might be a conflict with this mod per your previous post on javascript conflicts.

Link for referral mod: http://custom.simplemachines.org/mods/index.php?mod=1114

Thanks very much

I took a look through the code of the referral mod.

It doesn't look like the JavaScript is conflicting at all, since they aren't being loaded at the same time.

has it ever worked?
also what browser are you using and have you tried using the copy link in either IE or firefox.
Has the mod author stated anything about it being a little buggy?



Update on whats been happening lately.
Everything is going smoothly, just been taking a break for the last week and working through any issues sites have been having with the mod.
Mostly its just been conflicts between other javascripts and theme issues, which is good as I haven't had to make any changes to the mod itself to gets things to work correctly on the sites that were having issues.
This week I'll be working on the SSI and a language pack.
Title: Re: SMFChess
Post by: feeble on March 17, 2008, 06:54:16 AM
Turkish language file is horrible. It doesnt translate most of the things. Also some places are totally blank. Please get me a full language file which contains every word in the mod, so i can translate them all to turkish and make this mod perfect for turkish users also.

Any possibility to include an option to show some stats in Info Center?
Heya PLAYBOY.

Sorry about this, reason for the languages packs aren't on the mod page yet is because they are out of date which is why you are getting these blank and incomplete language files.

I'll get out a language pack soon, as the Turkish language package will need to be updated with the full list of text strings, instead of a partial list(as it currently is)
Title: Re: SMFChess
Post by: PLAYBOY on March 17, 2008, 07:32:22 AM
You know im a patient guy, since i have been waiting for a complete language pack least 6 months. Now could i politely ask you to be a little quick on this issue please?
Title: Re: SMFChess Mod
Post by: weightman on March 17, 2008, 11:48:32 AM
Quote
I took a look through the code of the referral mod. It doesn't look like the JavaScript is conflicting at all, since they aren't being loaded at the same time.

Ok, thanks very much.

Quote
has it ever worked?
also what browser are you using and have you tried using the copy link in either IE or firefox.
Has the mod author stated anything about it being a little buggy?

Not on my site it hasn't (not in IE7, FF2 or FF3b3orb4), but it works on other sites that have the mod installed. The mod author doesn't think its a problem with the referral mod.

Thanks for the help
Title: Re: SMFChess
Post by: Paracelsus on March 17, 2008, 02:07:30 PM
Feeble,

When reading the rules of "Dark Chess" I noticed that you have to capture the king but it states nowhere that once a king is in "check" it can't get away from it. I've played a game where I did a check to the opponents king with my queen and the game ended instantly by check-mate. If you look at the picture you see the king could still be moved to a safe location, so I really don't understand it it's supposed to be like this or a flaw in the game variant.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi27.tinypic.com%2F30lpafq.gif&hash=899898233d384b431de43274d2f9001f)
Title: Re: SMFChess Mod
Post by: jossanaijr on March 17, 2008, 03:17:05 PM
Any possibility to include an option to show some stats in Info Center?
What were you after it to say?
also this might have to wait till I get the SSI out.
It could be in the bottom, after Users Logged In Today.
Perhaps something like SMFCHESS Users Stats and show Ranks #1#2 and #3.
Thanks.
Title: Re: SMFChess
Post by: feeble on March 17, 2008, 04:46:23 PM
When reading the rules of "Dark Chess" I noticed that you have to capture the king but it states nowhere that once a king is in "check" it can't get away from it. I've played a game where I did a check to the opponents king with my queen and the game ended instantly by check-mate. If you look at the picture you see the king could still be moved to a safe location, so I really don't understand it it's supposed to be like this or a flaw in the game variant.
Thanks for this btw, I took another read of the rules that I was using as a guide
http://en.wikipedia.org/wiki/Dark_chess

And that makes more sense when you put it like that.

Ill make some adjustments so that it will be checkmate if for example
"Its blacks turn and the white king is in check"

or am I still reading this wrong?

Ill also add "1 space infront of the pawn is visible"

Anything else?
Title: Re: SMFChess
Post by: Paracelsus on March 17, 2008, 05:25:38 PM
I think you are reading it right ;)
Title: Re: SMFChess Mod
Post by: mightygiants on March 18, 2008, 09:33:44 AM
Feeble,

THANK YOU!!  All your assistance was terrific!  The mod is now up and running and my group loves it!  Thanks again for all your help.

Rich
Title: Re: SMFChess Mod
Post by: PLAYBOY on March 18, 2008, 05:09:18 PM
mod doesnt work on firefox.

It doesnt show the checkered board but only the pieces and number&letters on the border.

I cant see the chess board on firefox.

1.1.4 custom theme
Title: Re: SMFChess Mod
Post by: Godsongz on March 18, 2008, 05:58:22 PM
 ??? ??? ??? Erm...  it seems to work just fine in Firefox here, I just tested it.  I have several chess players who use FF also, so I'm sure I would have heard from them.  My site is also 1.1.4, but with the default theme.
Title: Re: SMFChess Mod
Post by: PLAYBOY on March 19, 2008, 04:28:57 AM
Well you may be right. Maybe its not the firefox. But let me give details of the problem.

the checkered board cant be seen in firefox. and its not a problem only myself have, all of the firefox users i have having the same problem. however everything is ok in internet explorer. and i know its not about the java i have, because just yesterday i have installed the latest version of java.

i use a custom theme, so maybe i need to copy a java scripts or a file to custom theme folder? or i need to make a little change to theme somewhere?

i wasnt having this problem with the old versions of smf chess but the newest official version made some problems on firefox. i can get you guys a screen shot if requested.
Title: Re: SMFChess Mod
Post by: feeble on March 19, 2008, 04:44:19 AM
Well you may be right. Maybe its not the firefox. But let me give details of the problem.

the checkered board cant be seen in firefox. and its not a problem only myself have, all of the firefox users i have having the same problem. however everything is ok in internet explorer. and i know its not about the java i have, because just yesterday i have installed the latest version of java.

i use a custom theme, so maybe i need to copy a java scripts or a file to custom theme folder? or i need to make a little change to theme somewhere?

i wasnt having this problem with the old versions of smf chess but the newest official version made some problems on firefox. i can get you guys a screen shot if requested.

A screen shot would be great.
Title: Re: SMFChess Mod
Post by: PLAYBOY on March 19, 2008, 10:50:29 AM
there you go,

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg337.imageshack.us%2Fimg337%2F3790%2F37760839ai0.jpg&hash=24f2f7a8cad574164c3b500bee0d83c7)
Title: Re: SMFChess Mod
Post by: feeble on March 19, 2008, 05:44:03 PM
there you go,
I have a feeling this is to do with the new way tile colours are stored.

Can you check your chess admin settings(check each colour) and your own personal colour settings as well.
Title: Re: SMFChess Mod
Post by: jossanaijr on March 19, 2008, 05:52:50 PM
there you go,

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg337.imageshack.us%2Fimg337%2F3790%2F37760839ai0.jpg&hash=24f2f7a8cad574164c3b500bee0d83c7)
Just to say that if I choose Theme Default's colors it is shown like that.  If I define colors, everything is ok, great.  BTW I use Firefox too...
Title: Re: SMFChess Mod
Post by: feeble on March 19, 2008, 07:32:11 PM
Just to say that if I choose Theme Default's colors it is shown like that.  If I define colors, everything is ok, great.  BTW I use Firefox too...
Redo the colours in the admin area
index.php?action=chess_admin
Title: Re: SMFChess Mod
Post by: Sabre™ on March 19, 2008, 09:39:58 PM
Hi feeble..
Sorry mate, I've been playin cod4 a bit lately, and havent gotten back to ya  :D

So everything worked fine for you then??
If so, then its an issue within my net settings/firewall etc..

Title: Re: SMFChess Mod
Post by: jusplay77 on March 20, 2008, 07:50:20 AM
The Chess mod was a huge hit on my forum!  A++ Mod here!  (Awesome job on it!)

Do you think you will ever make a Checkers Mod?  :D
Title: Re: SMFChess Mod
Post by: digger on March 21, 2008, 12:37:40 PM
Can't challenge users with cyrillic names.
Title: Re: SMFChess Mod
Post by: Paracelsus on March 25, 2008, 05:23:37 AM
Hi feeble,

About that little bug in 'Dark Chess' variant (the check equals to checkmate), when are you planning to release a fix?
Title: Re: SMFChess Mod
Post by: PLAYBOY on March 26, 2008, 03:07:42 AM
Just to say that if I choose Theme Default's colors it is shown like that.  If I define colors, everything is ok, great.  BTW I use Firefox too...
Redo the colours in the admin area
index.php?action=chess_admin

i havent tried it yet.
i ll let you know about this.

there you go,

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg337.imageshack.us%2Fimg337%2F3790%2F37760839ai0.jpg&hash=24f2f7a8cad574164c3b500bee0d83c7)
Just to say that if I choose Theme Default's colors it is shown like that.  If I define colors, everything is ok, great.  BTW I use Firefox too...

did you try freeble solution? did it work for you>?
Title: Re: SMFChess Mod
Post by: Paracelsus on March 26, 2008, 06:14:14 PM
feeble,

I think I've found a bug in the chess engine. This happened twice... As a player was able to castle on both sides, the king's side being free to castle, the player moved the tower (ordinary movement not-castle) and the king below the avatar disappeared as it should since it was no longer possible to castle on that side... the problem is that the queen below the avatar also disappeared simultaneously with no apparent reason, thus disallowing the castle on the queen side when that option should remain available.

I hope the explanation made sense... ;) I think the bug may lie on the fact that once a tower is moved from its ordinary place it disallows castle on both sides instead of just excluding one of them.
Title: Re: SMFChess
Post by: fecu2008 on April 03, 2008, 01:17:20 PM
i see somewhere on here about different variants. It had pictures and everything.  Is this operational and can someone please direct me back to where its located?
Title: Re: SMFChess Mod
Post by: feeble on April 03, 2008, 07:43:37 PM
I just want to apologies for my absence, I've been away. Been overseas traveling and hiking around and haven't had access to a pc in a while.
Sorry for this, but I'm back now and can get back to work on this mod.

Do you think you will ever make a Checkers Mod?  :D
At this point in time, no. Mostly because there is still alot of work to do with the Chess part and users want a tournament section so that takes priority and also(even thou this wont affect people playing checkers) its a solved game.

Can't challenge users with cyrillic names.
I'll look into this, but it could be a limitation with the scriptaculous, and might have to come up with something else.

Just wondering, do cyrillic characters work with SMF2's new user search?

About that little bug in 'Dark Chess' variant (the check equals to checkmate), when are you planning to release a fix?
Sorry about the delay with this, ill get onto it shortly.
Since the Public beta has been released, I'm thinking this will be the last patch before I start converting it over to SMF2, so I just want to get it right

I think I've found a bug in the chess engine. This happened twice... As a player was able to castle on both sides, the king's side being free to castle, the player moved the tower (ordinary movement not-castle) and the king below the avatar disappeared as it should since it was no longer possible to castle on that side... the problem is that the queen below the avatar also disappeared simultaneously with no apparent reason, thus disallowing the castle on the queen side when that option should remain available.

I hope the explanation made sense... ;) I think the bug may lie on the fact that once a tower is moved from its ordinary place it disallows castle on both sides instead of just excluding one of them.
Its cool, I see what you mean, I'll start doing tests and should be able to fix this. Thank you
Title: Re: SMFChess Mod
Post by: norhe on April 03, 2008, 07:46:24 PM
has it been improved to work with 2.0?
Title: Re: SMFChess
Post by: feeble on April 03, 2008, 07:46:47 PM
i see somewhere on here about different variants. It had pictures and everything.  Is this operational and can someone please direct me back to where its located?
http://en.wikipedia.org/wiki/Chess_variant

http://en.wikipedia.org/wiki/Category:Chess_variants

If you find one you like let me know
Title: Re: SMFChess Mod
Post by: Paracelsus on April 03, 2008, 07:50:16 PM
No problem, feeble... no need to apologise, take your time, life is more than just SMF ;)
Title: Re: SMFChess Mod
Post by: digger on April 03, 2008, 07:59:17 PM
Can't challenge users with cyrillic names.
I'll look into this, but it could be a limitation with the scriptaculous, and might have to come up with something else.

Just wondering, do cyrillic characters work with SMF2's new user search?

SMF2 new user search don't work with cyrillic
Title: Re: SMFChess Mod
Post by: feeble on April 03, 2008, 08:04:15 PM
has it been improved to work with 2.0?
Not yet no sorry.

SMF2 new user search don't work with cyrillic
Ok no worries, has SMF said anything about a solution yet?
In the mean time, i'll look into this as well and I'll ask around.

In the mean time thou,

Do you login usernames use cyrillic as well or is it just your memberNames?
If not, I could show you how to adjust so it searches by username instead, but thats not an adequate solution has some users have entirely different usernames to login names.
Title: Re: SMFChess Mod
Post by: norhe on April 03, 2008, 08:19:33 PM
ok ty pm when it is.
Title: Re: SMFChess Mod
Post by: PLAYBOY on April 04, 2008, 03:43:41 AM
Just to say that if I choose Theme Default's colors it is shown like that.  If I define colors, everything is ok, great.  BTW I use Firefox too...
Redo the colours in the admin area
index.php?action=chess_admin

i havent tried it yet.
i ll let you know about this.

there you go,

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg337.imageshack.us%2Fimg337%2F3790%2F37760839ai0.jpg&hash=24f2f7a8cad574164c3b500bee0d83c7)
Just to say that if I choose Theme Default's colors it is shown like that.  If I define colors, everything is ok, great.  BTW I use Firefox too...

did you try freeble solution? did it work for you>?

Yep its good now.
Title: Re: SMFChess Mod
Post by: Valodim on April 04, 2008, 05:08:39 PM
Just wanted to tell you, this is one fine mod. Great interface. Good job man :)
Title: Re: SMFChess
Post by: fecu2008 on April 07, 2008, 01:41:32 PM
How about weak, peasant and Dunsany's variants?
Title: Re: SMFChess
Post by: feeble on April 07, 2008, 05:53:13 PM
How about weak, peasant and Dunsany's variants?
They seem pretty cool and easy enough to add in.
Ill look to add them in.
Title: Re: SMFChess
Post by: fecu2008 on April 07, 2008, 07:02:42 PM
thank you feeble :)
Title: Re: SMFChess
Post by: fecu2008 on April 08, 2008, 01:45:24 PM
feeble one more thing! i have a couple of people who really want to teach other members.  I see that we have a news box, is there a way that a member can post in the news box?  I looked around and searched the threads, but I couldnt find the answer. 
Title: Re: SMFChess
Post by: feeble on April 08, 2008, 06:47:21 PM
feeble one more thing! i have a couple of people who really want to teach other members.  I see that we have a news box, is there a way that a member can post in the news box?  I looked around and searched the threads, but I couldnt find the answer. 
members cant, but a chess admin can

there is a box for the news area in the Chess admin area.


also thats not a bad idea, I might be able to rig something up like a recent 5 post thing for a particular board, that gets displayed in the news section.
might be a good solution, especially for sites that like rolling news
Title: Re: SMFChess
Post by: fecu2008 on April 08, 2008, 07:27:39 PM
I found it in the admin section.  Yeah I think it would be a great function where members can post some hand strategies to teach others.  Just a thought :) Your doing a great job. 
Title: Re: SMFChess Mod
Post by: HellBent on April 10, 2008, 04:30:35 PM
Hi Feeble,  & thanks so much for the awesome mod :D

I've tried it on 3 themes so far, and it's working great, except for on the theme with a fluid layout.  The board & chess pieces lose alignment and so the pieces display a few inches beneath the board.

I've looked at (what I thought were) the obvious tables in chess.template and put a fixed width on them, but it hasn't made any difference.  Could you advise how I can fix it so they are aligned no matter what template I decide to use please?  :)

Title: Re: SMFChess Mod
Post by: feeble on April 10, 2008, 04:39:32 PM
I've tried it on 3 themes so far, and it's working great, except for on the theme with a fluid layout.  The board & chess pieces lose alignment and so the pieces display a few inches beneath the board.

I've looked at (what I thought were) the obvious tables in chess.template and put a fixed width on them, but it hasn't made any difference.  Could you advise how I can fix it so they are aligned no matter what template I decide to use please?  :)
Misalignment is normally caused html errors, normally with a drop down menu

use this
http://validator.w3.org/

do you get many errors? if so I would try and fix as many as possible. that should normally fix it.

Also what theme are you having issues with?
Title: Re: SMFChess Mod
Post by: HellBent on April 10, 2008, 05:04:04 PM
Hi Feeble :D thanks for the fast response.

It is the famouspaddex theme which I'm trying to customize but keep getting distracted by things like awesome chess mods :D :D

OK, since you mentioned the errors, I can't remember if I actually did the manual edits yet (was playing with too many things at the same time)  I know I uploaded all the files and everything worked in admin etc, so I may have completely forgotten to do the rest !
 
I'll go through it a little later & see if that does the trick :)
Title: Re: SMFChess Mod
Post by: HellBent on April 10, 2008, 10:40:40 PM
 I just checked for errors and there are about 23, but I can't find the files they are come from  :'( 

Here's a link to the page I'm having problems with:

http://www.toughstuff.co.uk/testing/index.php?action=chess;id=3

so, if anybody has time to take a quick look that would be really helpful  8)
Title: Re: SMFChess Mod
Post by: MarceloEyer on April 10, 2008, 10:48:23 PM
This mod send many PM. :(

Can't be a Chess with rooms? The administrator do rooms, the users enjoy for sit and play or watch.

How I disable all PM of this mod? I want use only the quickmath, without PMs. Can be?

Thank. :)
Title: Re: SMFChess Mod
Post by: mulja on April 11, 2008, 05:30:05 AM
I got problem can`t Chalenge game with other user
you can just make quickmatch

http://www.tv.quuq.org/forum/index.php?action=chess;sa=challenge

how i can fixed

Good Mod Thanks
Title: Re: SMFChess Mod
Post by: palang on April 12, 2008, 11:28:24 AM
I have the Challenge problem as well.   It is sporadic.  Sometimes it works, and sometimes it doesn't work.  If I clear the cache and refresh the browser, then the challenge will work but after using it a few times, it stops working again.   I have yshout, shoutbox module installed, I was wondering if this is interfering at all?   

The reason I ask that is that, when the yshout module cannot load then the challenge works, if it does load then the challenge doesn't work.  Anyway, I'll do some more testing.


Great mod by the way.
Title: Re: SMFChess Mod
Post by: palang on April 12, 2008, 12:20:45 PM
I tried this code in the index.template.php file to disable the shoutbox during chess.  The chess module seems to work a little "smoother"  with the code, no alignment issues, but Challenge feature will not search for users that I type in still. 

Hmm....

Code: [Select]
  if ($context['current_action'] != 'chess')
{
// YSHOUT HERE
global $boardurl;
echo '
        <script language="javascript" src="http://www.dghafari.com/wimpy/rave.js"></script>
<script src="',$boardurl,'/yshout/js/prototype.js" type="text/javascript"></script>
<script src="',$boardurl,'/yshout/js/moo.ajax.js" type="text/javascript"></script>
<script src="',$boardurl,'/yshout/js/behaviour.js" type="text/javascript"></script>
<script src="',$boardurl,'/yshout/js/domFunction.js" type="text/javascript"></script>
<script type="text/javascript">

var myfunc = new domFunction(function()
{
',empty($options['collapse_header']) ? 'loadChat();':'','
}, { "yshout":"id"});
var board_url = "'; $boardurlparsed = parse_url($boardurl); echo (isset($boardurlparsed['path'])?$boardurlparsed['path']:""), '";
</script>
<script src="',$boardurl,'/yshout/js/yshout.js?Feb142008" type="text/javascript"></script>
<script type="text/javascript">var shoutFile = "home.txt";</script>
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/yshout-style.css" />';
// YSHOUT END

}
Title: Re: SMFChess Mod
Post by: palang on April 12, 2008, 01:11:01 PM
Ok, I promise, last post.   :D

I can't find a pattern as to when the Search function to challenge a player works and when it doesn't.  Even refreshing browser/clearing cache does not really work.   I disabled a few other things to see but still erratic.

I'm assuming this is some issue with my specific set up and interaction with my other mods.  But just in case, its specific to the Chess mod, I'd appreciate any help.

Also wondering if its possible to have a list of users to pick from rather than using the search feature?  Would this be difficult to do and if possible,  how would one go about creating such a list?



peace.
Title: Re: SMFChess
Post by: fecu2008 on April 18, 2008, 02:11:35 AM
feeble how where do I change the name of the name "news" to something else. I tried editing the languate file but im getting  error.
Title: Re: SMFChess Mod
Post by: Chopper on April 18, 2008, 06:22:41 AM
Hi, although not a major issue i have a problem with the chat function. If i go to another point on my forum and then come back to the chess game i was playing the chat doesnt work and where it list the players that are watching it just constanly says loading??
Title: Re: SMFChess
Post by: Ryan on April 18, 2008, 07:52:01 AM
Love this chess :)
Are you ever gonna make another game?
If so
Yatzy would be fun too
Title: Re: SMFChess
Post by: DWillis on April 18, 2008, 06:16:55 PM
bty, Feeble, thanks for this.  It is the single most active item on my site.  I'm hoping that it's ready for 2.0 sometime soon :)
Title: Re: SMFChess Mod
Post by: Trinny on April 18, 2008, 07:27:28 PM
will this mod be updated to work with 2.0b3?
Title: Re: SMFChess
Post by: Godsongz on April 18, 2008, 11:07:36 PM
feeble how where do I change the name of the name "news" to something else. I tried editing the languate file but im getting  error.

It's in the chess.english.php on line 181
Title: Re: SMFChess Mod
Post by: mulja on April 19, 2008, 02:08:16 PM
I  found what couse this problem with chellenge game
with other members then you put first letter nothing happen
can see here:
http://www.tv.quuq.org/forum/index.php?action=chess;sa=challenge

I run SMF with MKPORTAL
and then you run smf inside the portal members chellenge stop workng

It`s what i do:

STEP 1: Set Config Option
In MKPortal "Control Panel > Preferences > Forum Page Look & Feel" set the "Show Forum inside MKPortal?" option to "Yes".

STEP 2: Modify Board File(s)
Backup the file(s) before modifying.

Edit the forum file Sources/Subs.php

FIND:
// For session check verfication.... don't switch browsers...
$_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];


ADD BELOW:
//added from MKportal
if ($header !== false && in_array('main', $context['template_layers'])) {
define ( 'IN_MKP', 1 );
require_once "../mkportal/include/SMF/smf_out.php";
mkportal_board_out();
}
//end added


Pelase help how to fix that?????????????


 
Title: Re: SMFChess Mod
Post by: vinod41 on April 20, 2008, 09:28:38 AM
Hi

just installed it... successfully but have language text display problem.

i'm using custom theme back-n-black with other mods also installed.

same problem i got when i installed simple portal today, author supplied utf-8 language files and then it worked.

In this case i guess its the same isse.....

you can see chess here http://consoleplayers.com/index.php?action=chess

also i've modified

Code: [Select]
//Begin SMFChess code if($context['allow_chess']){ echo ($context['current_action'] == 'chess' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , ' <td valign="top" class="maintab_' , $context['current_action'] == 'chess' ? 'active_back' : 'back' , '"> <a href="', $scripturl, '?action=chess">'.$txt['SMFChess'].'', $context['user']['chess_turn'] != 0 ? '[<strong>!</strong>]' : '' , '</a> </td>' , $context['current_action'] == 'chess' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : ''; } //END SMFChess code

to

Code: [Select]
echo '<li', $current_action == 'chess' ? ' id="active"' : '', '><a href="', $scripturl, '?action=chess"><span>'.$txt['SMFChess'].'</span></a></li>';

see images for reference

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fconsoleplayers.com%2Fadmin.jpg&hash=038c76e972c662c503e29a51ca2d0167)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fconsoleplayers.com%2Ffront.jpg&hash=06100ffdcbe19ddb706703971d67d035)


thanks and regards
Title: Re: SMFChess Mod
Post by: vinod41 on April 22, 2008, 11:41:11 AM
can anyone guide me if this mod / author is missing :(
Title: Re: SMFChess
Post by: Chopper on April 22, 2008, 02:37:29 PM
Hi, whilst playeing a member who uses MAC he complains that he cannot see the board therefore making it extremely difficult to play. Is there a way around this?

Thanks
Title: Re: SMFChess Mod
Post by: cellax on April 23, 2008, 08:48:46 AM
hi,

I found that when I invite someone to play chess on my forum, the invitation is sent with my language inside the automatical PM created to notify the game.

so if I use Italian language, and I invite a user with English language, he will see the automatic PM in Italian. How to fix it?

I am translating this mod in Italian, almost done

thx for this mod man
Title: Re: SMFChess
Post by: Ryan on April 25, 2008, 02:32:07 PM
Hmm i noticed same thing in firefox actualy.. cannot see the chess board squares on firefox
Title: Re: SMFChess
Post by: Lord Anubis on April 25, 2008, 07:25:38 PM
Make sure in the color codes you don't have the # included in the hex code, I had the same problem and this fixed it...
Title: Re: SMFChess
Post by: Chopper on April 25, 2008, 07:54:54 PM
Make sure in the color codes you don't have the # included in the hex code, I had the same problem and this fixed it...

Please excuse my ignorance but how exactly did you fix this?
Title: Re: SMFChess
Post by: Lord Anubis on April 25, 2008, 08:42:28 PM
When you go to ?action=chess_admin

where it says Set Chess Board Colours:

Make sure that you DON'T have the # sign in front of the codes for the board colors just the Hex code (http://html-color-codes.com/)
Title: Re: SMFChess Mod
Post by: vinod41 on April 26, 2008, 02:11:43 PM
okay, resolved copied content of Chess.english.php to Chess.english-utf8.php and same for admin language file .. :)

Now need help in setting it up. I can't see board in two colors. rest i think is fine. just need some more testing.
Title: Re: SMFChess Mod
Post by: vinod41 on April 27, 2008, 10:24:01 AM
where is mod admin ??? :(
Title: Re: SMFChess Mod
Post by: Chopper on April 27, 2008, 04:05:04 PM
Why post a mod when there is clearly no support?
Title: Re: SMFChess Mod
Post by: Paracelsus on April 28, 2008, 06:15:29 AM
Feeble was recently in a car crash, and is in critical condition.
So basically he is fighting for his life.

Wish him the best and quick recovery.
Title: Re: SMFChess Mod
Post by: Chopper on April 28, 2008, 08:23:33 AM
Why post a mod when there is clearly no support?

Feeble was recently in a car crash, and is in critical condition.
So basically he is fighting for his life.
I guess he could try and post a reply, but I think him actually living is a little more important yeah??
Does this make your comment a little less valid??
I hope so, cause none of it is true :P
Some people are going through their exams at the moment, so a little patience please :)
If patience is too much, then making your own mod is an option also.

That was in pretty bad taste, sicko!
Title: Re: SMFChess Mod
Post by: Paracelsus on April 28, 2008, 08:39:32 AM
It was just a litlle bit of dark humor... either way, like I said, I wish him the best and that he recovers from the stress of exams to get back on this MOD. ;)
Title: Re: SMFChess Mod
Post by: Sabre™ on April 28, 2008, 05:21:06 PM
After looking at this the next day, I realised it was a little too much, so I have removed my comment. You can still see it in choppers post above if you missed it.
Since most of us converse via msn, and were pointed to this ignorant comment
Why post a mod when there is clearly no support?
So I thought I'd speak at the moron.
I obviously went at it the wrong way, as humour is conveyed different worldwide. Even dark ;)
Ma baad. And I wont nurture ignorance any further...   even my own :P

Anyways, vinod41 what is mean by this comment
I can't see board in two colors.
I just had a look at your chess board, and I can see it fine. Brown and cream checkered board yeah?
Maybe youve already fixed it. Good work if you have.
Title: Re: SMFChess Mod
Post by: Chopper on April 29, 2008, 04:06:02 AM
After looking at this the next day, I realised it was a little too much, so I have removed my comment. You can still see it in choppers post above if you missed it.
Since most of us converse via msn, and were pointed to this ignorant comment
Why post a mod when there is clearly no support?
So I thought I'd speak at the moron.
I obviously went at it the wrong way, as humour is conveyed different worldwide. Even dark ;)
Ma baad. And I wont nurture ignorance any further...   even my own :P

Anyways, vinod41 what is mean by this comment
I can't see board in two colors.
I just had a look at your chess board, and I can see it fine. Brown and cream checkered board yeah?
Maybe youve already fixed it. Good work if you have.

It would appear the only moron is you Sabre with your pathetic and somewhat misguided attempt at humour. Add that to the cowardly act to remove your post stands you in good steed, job well done.
Title: Re: SMFChess Mod
Post by: holly.celeb.fan on April 29, 2008, 04:58:49 AM
Nice Mod..

installed.. :)
Title: Re: SMFChess Mod
Post by: Sabre™ on April 29, 2008, 05:57:55 PM
Chopper.
Grow up! :)

Please stop spammin this thread. If you have an issue, then pm me or contact a staff member.
Title: Re: SMFChess Mod
Post by: H on April 30, 2008, 01:14:13 PM
Cleaned topic a little. Lets keep this on topic!
Title: Re: SMFChess Mod
Post by: vinod41 on May 03, 2008, 02:33:10 AM
i fixed it :)

just one bug :P

in this game http://consoleplayers.com/index.php?action=chess;id=4

starting image here
http://consoleplayers.com/richedit/upload/2k7045640f8a.jpg

see the placement of pawns king queen they are somewhere else LOL
Title: Re: SMFChess Mod
Post by: Godsongz on May 03, 2008, 10:00:27 AM
see the placement of pawns king queen they are somewhere else LOL

That's not a bug, that's a Chess960 (http://en.wikipedia.org/wiki/Chess960) game.  It's also called "Fischer Random Chess".  It's an optional chess "variant" you can pick when challenging someone to a game of SMFChess.
Title: Re: SMFChess Mod
Post by: Spike50 on May 04, 2008, 09:50:36 AM
Would love to install the mod... will it be available for the 2.0 version of SMF soon?
Title: Re: SMFChess Mod
Post by: Paracelsus on May 05, 2008, 06:55:27 AM
see the placement of pawns king queen they are somewhere else LOL

That's not a bug, that's a Chess960 (http://en.wikipedia.org/wiki/Chess960) game.  It's also called "Fischer Random Chess".  It's an optional chess "variant" you can pick when challenging someone to a game of SMFChess.

Actually, there's a huge bug with that variant, since the check equals checkmate, something that feeble already said he would try to fix in the next release.
Title: Re: SMFChess
Post by: WebmistressFL on May 05, 2008, 05:56:46 PM
I made a block code for TinyPortal that incorporates all the SMFChess user functions

Screenshot:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ftinyadminresources.com%2Fextras%2Fimagehost%2Fscript%2Fuploads%2F4533e2cf05.jpg&hash=d67cc9a28cbda4b8480ea8efcd1f6baa)

Demo:
Live Demo (http://nextsite.org) Check out the right block, and click on chess  ;)

Instructions:

1. Download THIS FILE (http://tinyadminresources.com/chessblock.zip), and unzip the package


2. Upload the folder "chessblock" to the root of your forum
3. Insert the code below into a PHP block
4. Enjoy!



I downloaded & installed the chess package from the New Features section and SMF said that it was 'installed successfully'.  Then when I didn't see it anywhere on my forum, I looked at these instructions regarding 'uploading the folder "chessblock" to the "root" of my forum and then 'inserting' the "chessblock" code into a "PHP block". I don't even know what that is or where to find it!? I'm sorry to be a newbie, but I'm doing the best I can...:-(

How can I get this chess game to work on my recently updated 1.1.5? I never realized how hard it would be being a webmaster!!!  ::)









Title: Re: SMFChess
Post by: Godsongz on May 05, 2008, 06:35:48 PM
Webmistress, 1st you should know that SMFChess and the Chess Block by Anubis are two seperate things, so let's not complicate it yet and just stick to SMFChess itself. 

Are you using a special theme (basically anything other than the SMF Default "Core" theme)?  If so, then there are some additional edits that will need to be done.  Those changes can be found here. (http://www.leaderless.net/PackageParser/index.php?show=theme)

Are you running TinyPortal with your SMF?  If so, then getting the Chess Block working will be easy once SMFChess is working.  If not, then the Chess Block is useless to you.  SMFChess will still work fine.

What is your website address?
Title: Re: SMFChess
Post by: HellBent on May 06, 2008, 12:44:44 PM
Could someone please tell me if the issue with not being able to castle has been solved? 
Title: Re: SMFChess
Post by: Godsongz on May 06, 2008, 06:36:06 PM
Could someone please tell me if the issue with not being able to castle has been solved? 

In a normal game or one of the variants?  I think there was an issue with castling in Chess960, but I thought it was taken care of.  In regular games I castle often (and early) and it works every time.
Title: Re: SMFChess
Post by: WebmistressFL on May 07, 2008, 09:39:53 AM
Webmistress, 1st you should know that SMFChess and the Chess Block by Anubis are two seperate things, so let's not complicate it yet and just stick to SMFChess itself. 

Are you using a special theme (basically anything other than the SMF Default "Core" theme)?  If so, then there are some additional edits that will need to be done.  Those changes can be found here. (http://www.leaderless.net/PackageParser/index.php?show=theme)

Are you running TinyPortal with your SMF?  If so, then getting the Chess Block working will be easy once SMFChess is working.  If not, then the Chess Block is useless to you.  SMFChess will still work fine.

What is your website address?



my website address is: http://www.lostorfoundforums.com


I'm using Sleek Black115 as my new theme. I have NO idea if I'm running TinyPortal (what is that?) or not.....wow, I really am in unchartered territory here.....:-(


I also have another question. How do I add a static home page to my site the way that you did to yours? I also would like to have a forum and chess button on the navi bar the way that yours does. I just wish a big book with all the answers on how to do all this stuff would just fall right out of the sky and into my lap! lol



Title: Re: SMFChess
Post by: Godsongz on May 07, 2008, 10:06:41 AM
my website address is: http://www.lostorfoundforums.com


I'm using Sleek Black115 as my new theme. I have NO idea if I'm running TinyPortal (what is that?) or not.....wow, I really am in unchartered territory here.....:-(

You are not running TinyPortal, so don't worry about Anubis' Chess Block :)  It won't do you any good.  The index page for the Sleek Black theme will need to be manually edited.  I can do it for you if you like.  Grab a copy of your /themes/slickblack/index.template.php file and email it to me.  I'll make the changes and send it back.
Title: Re: SMFChess
Post by: WebmistressFL on May 07, 2008, 10:20:20 AM

You are not running TinyPortal, so don't worry about Anubis' Chess Block :)  It won't do you any good.  The index page for the Sleek Black theme will need to be manually edited.  I can do it for you if you like.  Grab a copy of your /themes/slickblack/index.template.php file and email it to me.  I'll make the changes and send it back.

I e-mailed a copy of my index.template.php file for Sleek Black theme. I hope you can make chess work on my site! Omg I would be ecstatic lol!!! Also did you read my other question on my last post to you? About how I can add a static home page to my site? Sorry if I'm bothering you with so many questions! I just feel a little (well, alot) lost.....:-p


Title: Re: SMFChess
Post by: Godsongz on May 07, 2008, 11:05:02 AM
Check your email, I've sent the edited file back to you.

About the static home page you mentioned on my site, that is the TinyPortal I was talking about.  It's actually not static, but dynamically built by TinyPortal from a selection of blocks, articles, and forum posts.  See http://www.tinyportal.net/ for more info on it.
Title: Re: SMFChess
Post by: WebmistressFL on May 07, 2008, 11:22:26 AM
Check your email, I've sent the edited file back to you.

About the static home page you mentioned on my site, that is the TinyPortal I was talking about.  It's actually not static, but dynamically built by TinyPortal from a selection of blocks, articles, and forum posts.  See http://www.tinyportal.net/ for more info on it.


I looked at my profile and the 'Allow members to e-mail you' option was UNchecked. I put a check in that box, so try to e-mail me again. I should get it now (hopefully).  ;)


I checked my inbox and I didn't see your e-mail :-(  (I checked my spam/bulk folder and it's not in there either) Maybe it'll take me a few minutes to receive it. Anyway, thanks for telling me about TinyPortal. I'm going to look into it but I won't install it if it's going to conflict with the chess game. I'll keep on checking my inbox and hopefully I'll receive your e-mail soon. I can't wait to install chess and tell my members about it!!!!!!!!!!!!!!!!!  :-D


Title: Re: SMFChess
Post by: WebmistressFL on May 07, 2008, 11:48:44 AM
I tried your code and it didn't work!  :(  when I replaced the contents of the original index.template.php info with what you sent me, I clicked on SAVE. and when I went back into my site and clicked on HOME, it brought me to a blank white page with the exact same code you sent me!


What did I do wrong????? Aaaaaaaaahhhhhhhhhhhhh   :'(


Title: Re: SMFChess Mod
Post by: Dave123 on May 08, 2008, 10:17:05 AM
In the Dilber Theme the "button" looks weird like it has a extra background pic.
see the screendump:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ftestforum.guzzioot.nl%2Fpics%2FSchermafdruk.jpeg&hash=d900b3d6673c2d3024d6cb2481b910ed)


What can I change in index.template.php (or somewher else)

Code: [Select]
//Begin SMFChess code
if($context['allow_chess']){
echo ($context['current_action'] == 'chess' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $context['current_action'] == 'chess' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=chess">'.$txt['SMFChess'].'', $context['user']['chess_turn'] != 0 ? '[<strong>!</strong>]' : '' , '</a>
</td>' , $context['current_action'] == 'chess' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
}
//END SMFChess code

-------------------------------------

// arcade knop.
  if ($context['user']['is_logged'])

echo'
<td align="center" class="menubg' , $current_action == 'arcade' ? '2' : '' , '">
<a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
</td>';

Title: Re: SMFChess
Post by: HellBent on May 08, 2008, 11:48:17 AM
Could someone please tell me if the issue with not being able to castle has been solved? 

In a normal game or one of the variants?  I think there was an issue with castling in Chess960, but I thought it was taken care of.  In regular games I castle often (and early) and it works every time.

Hi Godsongz :)

My friend and I were playing the classic variant but he was unable to castle. I'll have to get him to practice a few more games with me to see if it happens again I guess.
Title: Re: SMFChess Mod
Post by: texastig on May 10, 2008, 08:38:14 PM
I'm running smf 1.1.5 with tp 1.0.5 beta and I'm trying to install the smf chess module through the TP. I get this error:
'Language files could not be copied to Languages folder.Please check permissions.'

I made sure that my language directory on my site was set to 777. I also set it at 755. But it still won't let me install it.
Please advise and thanks for your help.
Thanks,
TT
Title: Re: SMFChess
Post by: gmvasco on May 12, 2008, 11:35:47 AM
@feeble
I've been watching this mod for over a year now (I'm on the first pages of this topic), and I've been waiting for the language files so I can translate to Portuguese. I know that you do this for free and all, so I ask you pretty please, get the language files done ASAP. I've installed the mod, but I will not make it available to my users untill I have the language done.

Thank you very much for the great mod, and for the (hopefuly) soon to be released language files :)


@Lord Anubis
I followed your intructions on the TP module, but I'm using TP 1.05, so there are some diferences:

1- PHP block is called phpbox  (who cares, right?)
2- On the Panels and Blocks TP admin page, the activate button (red circle) doens't work for this block. I pasted the code, in the phpbox, and I save it. I click on the red circle to activate it and it turns green but when I save thast it turns back to red  (this one I care)!

So, is it something to do with TP 1.05? Or smf 1.1.5? Or the php code?

I've checked the path to the images on your code, and I did upload the stuff to the right place. Besides, that would only give me a missing image error. Not this weird "I will not activate it" error.
Thanks for any help.


Title: Re: SMFChess
Post by: Lord Anubis on May 12, 2008, 01:35:09 PM
@gmvasco

It has to be something wrong with TP, as I am using this on my site with no errors

I have noticed with TP1.05 if you have a bunch of blocks that it has a hard time with the turning on and off of blocks...I had to delete some of the blocks that I was not using to make newer blocks work...
Title: Re: SMFChess
Post by: gmvasco on May 14, 2008, 05:36:51 AM
...I had to delete some of the blocks that I was not using to make newer blocks work...

Yes, that was it. It worked. I had 3 "off" blocks, and I just deleted one of them and then it worked.

Thank you very much.
Title: Re: SMFChess Mod
Post by: gmvasco on May 14, 2008, 02:37:34 PM
@feeble
I've got two problems:

1 - Should the other topic (coding issues) be closed? I posted the next problem there but you didn't reply (it wasn't so long ago). Maybe it would be best to keep things in the new topic only?

2 - Language files. Pretty please, let them out.

Thanks for all the support in one of the best mods to smf ever.
Title: Re: SMFChess Mod
Post by: weightman on May 14, 2008, 05:35:47 PM
I support closing one thread or merging them.
Title: Re: SMFChess Mod
Post by: RustyBarnacle on May 14, 2008, 11:47:49 PM
Hahaha, I love this mod.

I had a failure on subs.php and index.template.php did the edit on them to finish it off.

This fixed a bug I've had for months that has been driving me around the bend.  160 errors a day on subs.php and I couldn't find the cause.  Now its just gone.  :)
Title: Re: SMFChess Mod
Post by: Dave123 on May 15, 2008, 03:46:06 AM
hope feeble back online soon
Title: Re: SMFChess Mod
Post by: webfan on May 20, 2008, 10:48:34 AM
The Challange usersearch function does not work for me.
When I search, the loading icon appears, but no results.
I tried to search in ChessXml.php in memberName instead of realName without a result.
So please can someone help me to repair the search,
or another choice for me would be, to make an own form, without the ajax to enter a username to challange. For that I need to know where to post to (url like action=...&sa=... and the postvars)

EDIT: The mod is working fine in default theme.
I need to integrate ito a bridged (Pragmamx) SMF with mx-port theme.
Pleeease... :'( can anyone help me?
I tried to eliminate some javascript from it, but no success.
Url: http://www.webfan.de/Forum-action-chess.html Maybe someone can see the conflict there?

Thank you!
mfg
Title: Re: SMFChess Mod
Post by: lamont3 on May 21, 2008, 09:17:15 AM
Okay, I can't figure this out.  I installed it and it doesn't appear on the menu.  I know it installed correctly because i can get to the chess admin section.  help please!

Title: Re: SMFChess Mod
Post by: Sabre™ on May 21, 2008, 07:21:08 PM
@ lamont3
More info.
Are you using the default theme or a custom?
What mods do you have installed?
Link to site.
Have you checked that the correct code was added to your index template etc etc

The more info you give, the easier it is for others to assist you.

@ webfan
I went to your site.
Its easier/ faster if people coming to help you, dont have to go through the task of signing up first.
Make a temp account for people to use.  Otherwise they maybe deterred.  Like I was. :)
Is that site even smf??     I saw no indication of it.  No copyright etc etc
Title: Re: SMFChess Mod
Post by: webfan on May 21, 2008, 11:13:36 PM
@lamont3:
I had a similar issue after installing lan guage and theme with
 $txt['SMFChess'] missing. Try to add it to chess.lang.php:
$txt['SMFChess'] = 'Chess';
!?

@Sabre™:
I'm sorry. I deactivated the mod (permissions) due to frustration.
Now I gave guest access to the chess (challange makes no scense, or?).
But to try the chessboard you need an account, true...
It is not possible to me to create a public account for everyone due to several (legal) reasons. If anyone can help me, I maybe can create a temporary test account if you PM me. Unfortunatly I didn't sleep to much last days, now I'm to tired to attend a testers action (if you pm me we can arrange a time).
Unfortunately the webfan site is in german I know, but I will explain short how to register and delete account.
To register http://www.webfan.de/register-me.html#formular you just have to fill out
Benutzername:     *(erforderlich)    - username
E-Mail-Adresse:       *(erforderlich)    - email
accept the Terms of use below (you don't buy anything by it, I assure you) and to confirm the link in the E-Mail (like usually)
To delete your account just visit http://www.webfan.de/Your_Account-op-delete.html
and click "[JA]" below.
If this is to cumbersome(?) for you, I totaly will understand it.
I although don't expect that you do this work happilly for free for me if it is more than a few minutes work or so...! (But unf. I'm not rich)
I just ask if someone (with more skills than me maybe) knows a simple solution.
Code: [Select]
Is that site even smf??     I saw no indication of it.  No copyright etc etcIt is! It is the PMX Bridge ( http://www.pragmamx.org/Downloads-cid-87.html ) using it's theme mx-port (of course I tried this although with default theme without result). I belive it maybe has to do with either JavaScripts the PMX is using or that my PMX sends a html header while the chess uses xml? (I know little php, but xhtml and java is out of my range).
As I wrote I don't expect that someone is doing this work just for me, so as PMX is a great community and chess rules I can imagine there would be a big number of users of this stuff. So you can forgett about my site, if you find a general solution for this mod working in PMX Bridge you will be superhero  :D
I would prefer to go this way, as my PMX maybe is modded although.

mfg
good night
Title: Re: SMFChess Mod
Post by: lamont3 on May 22, 2008, 02:12:43 PM
Oh, sorry.  the link is www.youfad.com  I have the video imbed package installed, as well as the Chocolate Stone theme.
 I will check the code
@ lamont3
More info.
Are you using the default theme or a custom?
What mods do you have installed?
Link to site.
Have you checked that the correct code was added to your index template etc etc

The more info you give, the easier it is for others to assist you.

@ webfan
I went to your site.
Its easier/ faster if people coming to help you, dont have to go through the task of signing up first.
Make a temp account for people to use.  Otherwise they maybe deterred.  Like I was. :)
Is that site even smf??     I saw no indication of it.  No copyright etc etc
Title: Re: SMFChess Mod
Post by: Godsongz on May 22, 2008, 03:20:32 PM
Oh, sorry.  the link is www.youfad.com  I have the video imbed package installed, as well as the Chocolate Stone theme.
 I will check the code

Check your permissions too.  Even after registering for an account, when I go to http://youfad.com/index.php?action=chess I get an error saying "You do not have access to Chess!"
Title: Re: SMFChess Mod
Post by: lamont3 on May 22, 2008, 04:29:32 PM
Is there a certain code that might be missing?  Or do I need to check all of the code.  I started by comparing the code given in the manual instructions with what I have.  Is this the only way to do it?

Thanks!




@ lamont3
More info.
Are you using the default theme or a custom?
What mods do you have installed?
Link to site.
Have you checked that the correct code was added to your index template etc etc

The more info you give, the easier it is for others to assist you.

@ webfan
I went to your site.
Its easier/ faster if people coming to help you, dont have to go through the task of signing up first.
Make a temp account for people to use.  Otherwise they maybe deterred.  Like I was. :)
Is that site even smf??     I saw no indication of it.  No copyright etc etc
Title: Re: SMFChess Mod
Post by: Sabre™ on May 22, 2008, 07:05:23 PM
@ webfan
Your problem seems to be out of my league.
With the information youve provided above, the right person will be able to help you sort it.
Sorry mate..   If I could help, I would without a doubt.
Its the only way I could repay the community, for the assistance I myself have received.
Hopefully it gets sorted for you soon buddy. :)
Good luck.

@ lamont3

Okay I had a look.
Youre missing the chess button.
Is it displaying in your default theme?
Go back to the manual install page.
And see what gets added to  /Themes/default/index.template.php.  Add that code to the index.template of your custom theme(Chocolate Stone).
As you may or may not know, not every mod installs directly into custom themes. You need to manually install the specific codes.
What webfan stated above is a possibility also.
Check that out.
@lamont3:
I had a similar issue after installing lan guage and theme with
 $txt['SMFChess'] missing. Try to add it to chess.lang.php:
$txt['SMFChess'] = 'Chess';
!?
Title: Re: SMFChess Mod
Post by: lamont3 on May 23, 2008, 12:26:02 PM
Okay.  THis is what I did to get it working.  I uninstalled.  Then I copied index.template.php from the "chocolate stone" folder to the default theme folder.  I reinstalled and then copy the index.template.php  from the default folder back to the chocolate them folder.  Everything appears to be working wonderfully.

THanks for the help!


@ webfan
Your problem seems to be out of my league.
With the information youve provided above, the right person will be able to help you sort it.
Sorry mate..   If I could help, I would without a doubt.
Its the only way I could repay the community, for the assistance I myself have received.
Hopefully it gets sorted for you soon buddy. :)
Good luck.

@ lamont3

Okay I had a look.
Youre missing the chess button.
Is it displaying in your default theme?
Go back to the manual install page.
And see what gets added to  /Themes/default/index.template.php.  Add that code to the index.template of your custom theme(Chocolate Stone).
As you may or may not know, not every mod installs directly into custom themes. You need to manually install the specific codes.
What webfan stated above is a possibility also.
Check that out.
@lamont3:
I had a similar issue after installing lan guage and theme with
 $txt['SMFChess'] missing. Try to add it to chess.lang.php:
$txt['SMFChess'] = 'Chess';
!?
Title: Re: SMFChess Mod
Post by: Sic0 on May 23, 2008, 12:41:53 PM
Fabulous mod and many thanks for making it.

It looks like I have the "cannot challenge anybody" bug  ::) It works fine on the default theme but not on my custom theme.

The only thing I can see related to javascript is the Shoutbox but that has been uninstalled now and has made no difference.

Any ideas from you kind people ?
Title: Re: SMFChess Mod
Post by: Sabre™ on May 23, 2008, 05:27:58 PM
Okay.  THis is what I did to get it working.  I uninstalled.  Then I copied index.template.php from the "chocolate stone" folder to the default theme folder.  I reinstalled and then copy the index.template.php  from the default folder back to the chocolate them folder.  Everything appears to be working wonderfully.

THanks for the help!

lol   Brilliant mate.
Congrats on getting it to function properly buddy :)
Title: Re: SMFChess Mod
Post by: Tron420 on May 24, 2008, 03:28:20 AM
The pieces arent lining up right for me. Im using xd-obtuse theme. Can anyone help me get the pieces to line up right please?

Heres what it looks like on my site >

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi63.photobucket.com%2Falbums%2Fh139%2Frogernesbit%2Fchessbug1.jpg&hash=84e55833c82540248443ea9a71cea425)

Title: Re: SMFChess Mod
Post by: _Anthony_ on May 24, 2008, 03:32:00 AM
Very nice I like it alot
Title: Re: SMFChess Mod
Post by: Tron420 on May 25, 2008, 01:22:06 AM
can anyone help with my alignment problem on the previous page please?
Title: Re: SMFChess
Post by: xIronmanx on May 25, 2008, 01:16:51 PM
Hello, nice Mod  (Sry for the bad english) :o
I have install the mod (SMFChess 1.0.zip + SMFChess_L_german.zip) in a german smf 1.1.4 board.

Error: No text in settings or in Chess Admin  :(

Why ???

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg165.imageshack.us%2Fimg165%2F2231%2Fchessia9.jpg&hash=8f44ca7075f3b9687f3c74cb832061e4)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg165.imageshack.us%2Fimg165%2F954%2Fchess01gw7.jpg&hash=1d76d241ded1feae0c11a90d32becf23)

***EDIT*** If i change the language to english, all text and buttons are ok
Title: Re: SMFChess Mod
Post by: Tron420 on May 25, 2008, 06:30:07 PM
BUMP!
Title: NEED HELP WITH SMFChess Mod
Post by: Tron420 on May 25, 2008, 09:22:58 PM
The pieces arent lining up right for me. Im using xd-obtuse theme. Can anyone help me get the pieces to line up right please?

Heres what it looks like on my site >


(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi63.photobucket.com%2Falbums%2Fh139%2Frogernesbit%2Fchessbug1.jpg&hash=84e55833c82540248443ea9a71cea425)
Title: Re: SMFChess Mod
Post by: Dave123 on May 26, 2008, 03:40:42 PM
In the Dilber Theme the "button" looks weird like it has a extra background pic.
see the screendump:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ftestforum.guzzioot.nl%2Fpics%2FSchermafdruk.jpeg&hash=d900b3d6673c2d3024d6cb2481b910ed)


What can I change in index.template.php (or somewher else)

Code: [Select]
//Begin SMFChess code
if($context['allow_chess']){
echo ($context['current_action'] == 'chess' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $context['current_action'] == 'chess' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=chess">'.$txt['SMFChess'].'', $context['user']['chess_turn'] != 0 ? '[<strong>!</strong>]' : '' , '</a>
</td>' , $context['current_action'] == 'chess' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
}
//END SMFChess code

-------------------------------------

// arcade knop.
  if ($context['user']['is_logged'])

echo'
<td align="center" class="menubg' , $current_action == 'arcade' ? '2' : '' , '">
<a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
</td>';



does anyone has a idea?
Title: Re: SMFChess Mod
Post by: Tron420 on May 26, 2008, 06:10:57 PM
I guess no one is supporting this mod or even nice enough to reply.
Title: Re: SMFChess Mod
Post by: Tron420 on May 27, 2008, 02:30:29 AM
plese someone help.
Title: Re: SMFChess Mod
Post by: TaskyZZ on May 27, 2008, 04:56:48 PM
I put this on my site a couple days ago and played through a game of Dark Chess.  When I got my rook in position to capture my opponents king, the game ended and said I had check mated him.  He could easily have moved his king out of the way.  Doesn't Dark Chess end when one of the Kings is actually captured?
Title: Re: SMFChess
Post by: TaskyZZ on May 27, 2008, 05:04:31 PM
When reading the rules of "Dark Chess" I noticed that you have to capture the king but it states nowhere that once a king is in "check" it can't get away from it. I've played a game where I did a check to the opponents king with my queen and the game ended instantly by check-mate. If you look at the picture you see the king could still be moved to a safe location, so I really don't understand it it's supposed to be like this or a flaw in the game variant.
Thanks for this btw, I took another read of the rules that I was using as a guide
http://en.wikipedia.org/wiki/Dark_chess

And that makes more sense when you put it like that.

Ill make some adjustments so that it will be checkmate if for example
"Its blacks turn and the white king is in check"

or am I still reading this wrong?

Ill also add "1 space infront of the pawn is visible"

Anything else?

Can you just make it so the game is won when the king is captured?  No checks or checkmates in the game at all.  If the king is captured, the game is over.  This is in Dark Chess of course...
Title: Re: SMFChess Mod
Post by: Godsongz on May 27, 2008, 07:07:12 PM
I put this on my site a couple days ago and played through a game of Dark Chess.  When I got my rook in position to capture my opponents king, the game ended and said I had check mated him.  He could easily have moved his king out of the way.  Doesn't Dark Chess end when one of the Kings is actually captured?

That is an existing known bug in the Dark Chess variant, the game currently ends at Check, not at Check-Mate.

plese someone help.

Tron, I don't think anyone is intentionally ignoring you, but at the same time I don't know if anyone knows how to help you.  That alignment problem of yours is very odd and I haven't got a clue where to begin troubleshooting it.  Feeble is the author of this mod, and he's been truly excellent at providing support for it up until now, but he's really dropped off the grid lately.  Apparently he did log into this site a couple of weeks ago, so he's still kickin'...  so he's probably just extremely busy offline as of late.  He is still a student.
Title: Re: SMFChess Mod
Post by: Tron420 on May 28, 2008, 11:28:17 AM
I had this same prob last year with my old site.. But I forgot how the OP suggested I fix it. Its really bad because I had to disable the chess because of the bug and I and the members of my site like it as well.
Title: Re: SMFChess Mod
Post by: Tron420 on May 29, 2008, 02:53:18 AM
anyone?
Title: Re: SMFChess Mod
Post by: Sabre™ on May 29, 2008, 04:00:06 AM
I guess when someone has an answer for you, they will leave it here.
Some get put off with the constant bumps etc.
You'd probably have to wait for Feeble to return.

Good luck with that!
Title: Re: SMFChess Mod
Post by: Tron420 on May 29, 2008, 09:41:49 PM
sigh..
Title: Re: SMFChess Mod
Post by: Tron420 on May 30, 2008, 07:03:56 PM
BUMP
Title: Re: SMFChess Mod
Post by: Godsongz on May 30, 2008, 10:27:31 PM
BUMP

Reel it in a bit Tron.  When someone who has a clue how to help you catches up on this thread you will get your answer.  Until then you are just littering the thread.  "Bumps" should be very sparingly used.  Once a week if absolutely necessary, but never once a day or more.  I'm sure you can see that, no?
Title: Re: SMFChess Mod
Post by: H on May 31, 2008, 07:35:45 AM
Tron420, please cease bumping or you'll earn yourself a postban. You need to wait until the author of the mod can provide you with support
Title: Re: SMFChess Mod
Post by: Ni©holąś™ on June 02, 2008, 06:14:02 AM
Great mod. Thanks!
Title: Re: SMFChess Mod
Post by: Shadow1243 on June 05, 2008, 09:48:32 AM
I need SMF Chess SQL checks,pls add here,help
Title: Re: SMFChess
Post by: Shadow1243 on June 05, 2008, 09:51:25 AM
I need SMF Chess SQL Check codes,pls add here :(
Title: Re: SMFChess Mod
Post by: crustybum on June 05, 2008, 11:58:47 AM
How do i install this to the "classic" theme?

Thanks

Chris
Title: Re: SMFChess Mod
Post by: crustybum on June 06, 2008, 05:36:25 AM
Great mod, but have the same problem as many others, the blighted "challenge" dosn't work, no one gets a notification, ive got it running on one forum in the default (1.1.5)  and will put it onanother forum with the classic....if i could just get this "challenge" thing sorted....anyone have any ideas????

Chris
Title: Re: SMFChess Mod
Post by: Hoochie Coochie Man on June 10, 2008, 05:56:24 PM
Thank you for this beautiful mod. it works great.

Maybe you should check on this..
http://www.simplemachines.org/community/index.php?topic=243847.0

Thanks..
Title: Re: SMFChess Mod
Post by: H on June 11, 2008, 03:55:13 PM
I've cleared Tron420's trolling and silenced him so hopefully this topic can now get back on track :)
Title: Re: SMFChess Mod
Post by: Hoochie Coochie Man on June 11, 2008, 06:23:24 PM
Where is "the date" stored?
I have to change its language.
Title: Re: SMFChess
Post by: serovai on June 12, 2008, 08:02:30 AM
Install this mod on russian language smf 1.1.5 forum (cp1251 encoding).
Mode is working pretty fine, but "user search" didnt work on users with russian's nick, only for them, who use latin nick's.
Any thoughts, what string's can help it?
Title: Re: SMFChess Mod
Post by: Smith Online on June 18, 2008, 02:54:21 PM
Hi,
Febble bin a long time i havent been around for a while but i still need to fix one issue with my forum chess it was if you remember admin setting for chess is still show the beta admin settings and not the new smf chess 1.0 admin settings i have narrowed this down its deffernatly something in the database thats causing this if you could provided me with a unistall script to unistall all smf chess database entries from the beta and new smf chess 1.0 so that every chess database entry is gone (past and present versions) i am not bothered about losing scores and current games. Then i will run a complete clean install which should solve the problem.

Thanks in advance feeble

Regards
Smith Online
Title: Re: SMFChess Mod
Post by: gmvasco on June 21, 2008, 04:17:49 PM
Hi
The mod is working great, but I can't get it to work in Portuguese.
I'm willing to make the translation, if someone provides the necessary files.
Thanks for any help
Title: Re: SMFChess
Post by: SpacePT on June 26, 2008, 05:49:46 PM
I have installed the Mod. There's everything ok, but i have this error.

Table 'a8111215_teste.smf_chess' doesn't exist

What i have to do? I can't edit my mysql database, because my host doesn't allow.

Title: Re: SMFChess Mod
Post by: Hoochie Coochie Man on July 10, 2008, 05:35:23 PM
Where is "the date" stored?
I have to change its language.

Anyone?
Title: Re: SMFChess Mod
Post by: Godsongz on July 10, 2008, 10:49:34 PM
Where is "the date" stored?
I have to change its language.

Anyone?

In the database, table 'smf_chess', fields 'created' and 'updated' are both 10 place integers.  I don't know for sure, but that seems like a good starting point anyway. 

Well I'm probably the last to admit it, just because I really wanted to see it thrive, but it seems safe to say now that SMF Chess is now unsupported by it's developer.  Feeble offered fantastic support during the long development time for this mod, but I think the amount of support that the mod was calling for after it was officially released was just too overwhelming.  It was his first major release.
Title: Re: SMFChess Mod
Post by: Hoochie Coochie Man on July 11, 2008, 02:26:29 AM
Thank you for your comment.
But can't we just make it in another way, without database..

For ex: I just want to translate "Jun" to "temmuz (my language)" :-\
Title: Re: SMFChess Mod
Post by: LosCatmanos on July 27, 2008, 01:05:38 PM
Hi,
I have problem with SMF Chess. I installed it manually yesterday and it works perfectly, but today, when I've translated it, the pieces don't load.

I edit only the language files. And now, I copy whole SMF Chess instalation to server again, but nothing happend.

I found out that in the source code is mistake, but I don't know, how can I fix it :-/
Code: [Select]
<img border="0" src="http://www.maxiforum.cz/Themes/default/SMFChess/pieces//black_pawn.gif" height="32" width="32" name="b7" alt="b7"/>
There's screen:
     The work one:
     (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg214.imageshack.us%2Fimg214%2F2148%2Fchess2ag9.th.png&hash=e7725883c072a279b01a3d2b9b676226) (http://img214.imageshack.us/img214/2148/chess2ag9.png)

     Now:
     (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg366.imageshack.us%2Fimg366%2F1245%2Fchesslk9.th.png&hash=4c7f8f83746f71083a6811c4a752f322) (http://img366.imageshack.us/img366/1245/chesslk9.png)

     Settings:
     (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg401.imageshack.us%2Fimg401%2F9715%2Fchess3yx1.th.png&hash=54c076aab12f0fc591cb0358df84009c) (http://img401.imageshack.us/img401/9715/chess3yx1.png)

     Files are where they should be:
     (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg366.imageshack.us%2Fimg366%2F3213%2Fserverwe4.th.png&hash=f998f45a6167ca072c1fc549da7b62d7) (http://img366.imageshack.us/my.php?image=serverwe4.png)


Please, could you help me? :'(
Title: Re: SMFChess Mod
Post by: LosCatmanos on July 29, 2008, 12:48:50 PM
I think there's problem in file "Chess.php" but I can't fix it:

Code: [Select]
// Recursive function to retrieve piece directories, based on the one for avatar files
// Thanks for that SMF
function getPieces($directory)
{
global $txt, $settings, $options;

$piece_dir = $settings['default_theme_dir'].'/SMFChess/pieces';

$result = array();

// Open the directory..
$dir = dir($piece_dir . (!empty($directory) ? '/' : '') . $directory);
$dirs = array();

if (!$dir)
return array();

while ($line = $dir->read())
{
if (in_array($line, array('.', '..', 'blank.gif', 'index.php')))
continue;

if (is_dir($piece_dir . '/' . $directory . (!empty($directory) ? '/' : '') . $line))
$dirs[] = $line;
}
$dir->close();

// Sort the results...
natcasesort($dirs);

if(!isset($options['SMFChess_piece']))
$options['SMFChess_piece'] = '';

$result[] = array(
'filename' => '',
'checked' => empty($options['SMFChess_piece'])? true : false,
'name' => $txt['SMFChess_labels']['forumdefault'],
'is_dir' => true
);

foreach ($dirs as $line)
{
$result[] = array(
'filename' => htmlspecialchars($line),
'checked' => $options['SMFChess_piece'] == htmlspecialchars($line),
'name' => htmlspecialchars(str_replace('_', ' ', $line)),
'is_dir' => true
);
}

return $result;
}

Please, anyone knows?
Title: Re: SMFChess
Post by: WebmistressFL on August 02, 2008, 04:03:23 AM
I just re-created my site and was installing different packages when I decided to install SMF Chess. After I downloaded the package, I clicked on INSTALL. When I did, it brought me back to my site's homepage but with HTML coding displaying all over the top of my homepage!!! Then when I tried to click back to admin, an error message came up about the php script or something!!!!  I CAN'T GET BACK INTO MY SITE!!!  And neither can ANYONE ELSE!!!!! :(   

I just began advertising my site yesterday and now THIS is happening!!! This is my site: http://www.lostorfoundforums.com  . (I had placed a redirect on it a few hours ago and have it currently pointing to http://www.lostorfoundforums.com/intropage/index.html .  I contacted Innerplanet (my host) and they said they couldn't do anything but that someone here could.....


please someone, HEEELLLPPPPPPPPPPPPPP!!!!!!!!!!!!!!!!!!!!!!!!  :'(  :(  :'(

Title: Re: SMFChess
Post by: WebmistressFL on August 02, 2008, 04:13:40 AM
This is the error message that comes up when I try to log back into my site:

Fatal error: Cannot redeclare create_smfchess() (previously declared in /home/soldier/public_html/Sources/Subs.php:3623) in /home/soldier/public_html/Sources/Subs.php on line 3784



How can installing this SMF Chess package make something like this happen????  :'(

Title: My problem is fixed, BUT....
Post by: WebmistressFL on August 02, 2008, 11:30:52 AM
...now when I go into my website, the image icons for new posts/forum stats/etc. are not showing up.

How can I fix it to make the image icons reappear???

Title: Re: SMFChess Mod
Post by: flame baiter on August 03, 2008, 04:59:34 PM
Thanks for this. Great mod!
Title: Re: SMFChess Mod
Post by: Bigguy on August 04, 2008, 11:06:41 AM
This error means there is duplicate code from the chess mod in the Subs.php file. You will have to go through that file and take out the duplicate code.

This is the error message that comes up when I try to log back into my site:

Fatal error: Cannot redeclare create_smfchess() (previously declared in /home/soldier/public_html/Sources/Subs.php:3623) in /home/soldier/public_html/Sources/Subs.php on line 3784



How can installing this SMF Chess package make something like this happen????  :'(


Title: Re: SMFChess Mod
Post by: Kylezz on August 04, 2008, 05:20:12 PM
Very nice!
Title: Re: SMFChess Mod
Post by: NeoMorph on August 06, 2008, 02:05:21 PM
I've been using this mod of a while now but there is a real problem I keep coming up against... When it is my turn for some reason I cannot move my pieces. It says "Yours" in the block that indicates whose move it is but it just wouldn't let me move any piece. I wasn't in check, moving the pieces wouldn't put me in check but it still wouldn't let me move.

Sometimes closing the browser (IE7) and re-opening it fixed it but not for a match of mine tonight. In the end I said sod it and resigned.

Anyone else get this and is there a way around it?
Title: Re: SMFChess Mod
Post by: Godsongz on August 06, 2008, 04:04:32 PM
Anyone else get this and is there a way around it?

Maybe, I've seen something similar before that crops up when I step back through a few of the previous moves.  When you're done examining old moves, don't just click on the latest move, but instead click on the dotted line above them.  That seems to return control of the board correctly.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fcrossfire.org%2Fimages%2Fchesserror1.jpg&hash=88f8d6b6f7228e09f29bc03bb7bf76d3)
Title: Re: SMFChess Mod
Post by: callteg4 on August 16, 2008, 06:38:43 AM
Hi all I am getting this message in my error log

Error message '8: Undefined index: SMFChess_admin
File: /customers/arcadewithme.co.uk/arcadewithme.co.uk/httpd.www/Sources/Subs.php
Line: 2910' (Clear filter)

any help would be great it is ok on my default theme but not on my theme
Title: Re: SMFChess Mod
Post by: improv on August 19, 2008, 11:13:16 AM
Hmm, is there a way to use the chat as a real 'chat' only?

Because I like it.

It is fast, shows an avatar, shows the users in the chat ( watching ) , etc.
Title: Re: SMFChess Mod
Post by: Sickthing on August 20, 2008, 07:41:10 AM
I'm  missing something here.  I don't understand how to install this.  I downloaded the instructions and images.  I upload that to chessblock?

I can't find the package to download.  I see the previews, looks great.  Where do I download?

And where does the code go?  php block?
Title: Re: SMFChess Mod
Post by: brianjw on August 29, 2008, 09:20:41 PM
Hi. I am having problems with my chess board showing correctly. The background isn't showing. View the screenshot that is attached to this message to see what I am talking about. ;) Thank you very much.

- Brian
Title: Re: SMFChess Mod
Post by: Sabre™ on September 11, 2008, 04:27:11 AM
@ Sickthing
Download the mod from here ~~> [CLICK HERE] (http://custom.simplemachines.org/mods/index.php?mod=1102)
Look where it says  "Download this mod"  on the right.
Click on the words  "SMFChess 1.0.zip"  to download the mod.
Use your  "Package Manager"  in your admin panel to install it to your forum.
If you are using a custom theme, I think the only edit needed is to install a button.

The  "chessblock"  is for people that are using "Tiny Portal", so if you do not have that, then do not worry about it :)

That should do it for you mate.
Enjoy :)

Sorry Brian..  you're on your own there mate! lol
I havent had that problem, so cannot offer any advice.

Ive just installed this on a new forum, without any hitch.
Those that have experienced problems with the "Challenge" button not appearing, remember to set your permissions for each group, and that the button doesnt appear, until you have entered the users name.
Title: Re: SMFChess Mod
Post by: Paracelsus on September 11, 2008, 07:38:53 AM
I'd just like a fix on the Dark Chess bug.
Title: Re: SMFChess Mod
Post by: brianjw on September 11, 2008, 04:50:25 PM
I am still having these issues: http://www.simplemachines.org/community/index.php?topic=225742.msg1682157#msg1682157
Hi. I am having problems with my chess board showing correctly. The background isn't showing. View the screenshot that is attached to this message to see what I am talking about. ;) Thank you very much.

- Brian
Title: Re: SMFChess Mod
Post by: Paracelsus on September 11, 2008, 04:58:43 PM
Have you inspected it with Firebug yet? (to see the class or id applied)
Title: Re: SMFChess Mod
Post by: brianjw on September 11, 2008, 08:50:08 PM
I am not sure what you are saying... ???
Title: Re: SMFChess Mod
Post by: Paracelsus on September 12, 2008, 06:51:29 AM
Ok, nevermind. Have you set your chess config (background colors) correctly in Chess Options?
Title: Re: SMFChess Mod
Post by: LOADING... on September 12, 2008, 02:01:29 PM
Will there be chess mod for SMF116?

Title: Re: SMFChess Mod
Post by: Paracelsus on September 12, 2008, 04:02:11 PM
It already works for 1.1.6.
Title: Re: SMFChess Mod
Post by: brianjw on September 12, 2008, 04:33:36 PM
Ok, nevermind. Have you set your chess config (background colors) correctly in Chess Options?
I haven't set anything up. I just installed it. I figured it'd be already pretty much setup.
Title: Re: SMFChess Mod
Post by: Sabre™ on September 12, 2008, 05:35:46 PM
Yes it is Brian.
You should have the default brown and cream checkered board.
Although it may not do anything, try changing the colors in your settings.
The settings when youre inside the chess area, not the AP.
Title: Re: SMFChess Mod
Post by: brianjw on September 12, 2008, 06:07:19 PM
Fixed & Found a bug...

On install the SMFChess mod automatically sets the chess board default colors as hex colors with two of "#"s which makes the color not work. I removed one of the # from each color and now it is working.
Title: Re: SMFChess Mod
Post by: Sabre™ on September 12, 2008, 06:10:37 PM
Good job brian!!

Wonder why it works ok for me?
Which template is this in, so I can have a look mate?
Title: Re: SMFChess Mod
Post by: machmanx on September 13, 2008, 10:36:48 PM
Is this mod available for SMF 2.0 beta 4?  I was wondering why that question hasn't been asked, cause I need it.
Title: Re: SMFChess Mod
Post by: Sabre™ on September 14, 2008, 01:31:21 AM
The mod author hasnt been seen for awhile.
So unless someone takes over this mod, or makes it compatible, then your answer is No.
Title: Re: SMFChess Mod
Post by: brianjw on September 14, 2008, 11:51:03 AM
I have some more similar mod ideas that feeble could possible do if he comes around again:

- AJAX Multiplayer Connect 4 (http://ajaxian.com/archives/multiplayer-connect-4)
- AJAX Multiplayer Checkers (#post_) <-- unknown link
Title: Re: SMFChess Mod
Post by: Sabre™ on September 14, 2008, 05:50:47 PM
Yea, I have checkers up at the mo, but Im testing it, so its not open for members to see just yet.
Another site runs it on their server, and you play people that have it added to their sites.
A pretty good idea, but it as a few things that need sortin out.
I wish I could get a hold of their code, and run it myself! lol
But no, good ole iframe is all I can do atm.
Title: Re: SMFChess Mod
Post by: machmanx on September 14, 2008, 06:47:41 PM
That sucks.  SMF Chess is kinda an important mod to a lot of ppl I talk to.  And if there's not gonna be chess for the future versions of SMF, it could be a big problem for a lot of forums if they want to upgrade.  I know at least 6 sites that use the Chess mod. 

To Everyone: Is anyone willing to take this over?  I would, but I barely know Java .  C++ is my forte :D
Title: Re: SMFChess Mod
Post by: PLAYBOY on September 17, 2008, 06:16:37 AM
Is there somebody gonna make this mod for 1.1.6? and 2.0?

I also think it would be good if you add the translations in mod page.
Title: Re: SMFChess Mod
Post by: Hoochie Coochie Man on September 17, 2008, 06:21:41 AM
I'm using 1.1.6 and I'm using this mod too.
Title: Re: SMFChess Mod
Post by: PLAYBOY on September 17, 2008, 06:34:16 AM
Well same here. but i meant some update and making it ready also for 2.0.
wouldnt it be good?
Title: Re: SMFChess Mod
Post by: Godsongz on September 17, 2008, 09:48:44 AM
For whatever reason, Feeble has gone quiet and it seems he's going to stay that way.  It would be such a shame if this great mod died for want of active development.  I barely know enough to get by in php and mysql, but in java...  I couldn't find my own @$$ with both hands. 

SMFChess is choking now, but it's completely dead when SMF2 comes out of beta.  We need a mod developer to take over this project, with or without Feeble's permission. 
Title: Re: SMFChess Mod
Post by: Bigguy on September 17, 2008, 05:53:36 PM
There must be permission given from the mod author before anyone takes it over.
Title: Re: SMFChess Mod
Post by: brianjw on September 17, 2008, 07:34:06 PM
There must be permission given from the mod author before anyone takes it over.
Well, I would say that would apply for a while. But for mods that the authors haven't been back in years, then I think it doesn't apply.
Title: Re: SMFChess Mod
Post by: Bigguy on September 17, 2008, 08:36:13 PM
Yes there would be some sort of time limit on it of course; but every effort should be put behind trying to contact the mod author first. :)
Title: Re: SMFChess Mod
Post by: brianjw on September 18, 2008, 04:36:07 PM
I emailed him. I am not going to take this mod over because it is complicated over my head. I just contacted him to give me permission to give someone permission to take over the mod lol. :P
Title: Re: SMFChess Mod
Post by: weightman on September 18, 2008, 04:56:40 PM
Feeble has done a fantastic job on this mod and I would hate to see it taken over by anyone. Let's give him some time to take care of life and maybe he will get re-motivated. Perhaps, and I thought this before he got busy, that he should focus less on expanding on it to include more chess variations and instead just defeat bugs and concentrate on regular old chess.

Just my opinion.
Title: Re: SMFChess Mod
Post by: Bigguy on September 18, 2008, 06:08:53 PM
Have you had an answer...is he coming back or. ???

I emailed him. I am not going to take this mod over because it is complicated over my head. I just contacted him to give me permission to give someone permission to take over the mod lol. :P
Title: Re: SMFChess Mod
Post by: brianjw on September 18, 2008, 06:56:33 PM
I got an answer received about a few minutes ago:
Quote
Hey Brian,
Thanks for your email,
I do apologise for how I have left things with the mod.
I've always regretted how I've left it, but it was necessary at the time.

I have some time coming up, where I should be able to spend some time on the mod again, but I can't promise anything as I'm in my last semester for Uni.
If you can give me a couple of days to read through the thread, and get my knees ready to grovel out some apologies to anyone that's still looking at this mod.

But, anyone is welcome to the mod if they can stand my code.

Regards,
feeble

By this, I say that we should wait until he has some time.

I also think that if anyone was to take this mod over after we give feeble some time, it should be someone who is clearly experienced enough to do so. I am not the type of person to take this mod over. ;)
Title: Re: SMFChess Mod
Post by: damnitmike on September 18, 2008, 07:08:54 PM
brian, I got faith in ya bro....

I see no reason for feeble to think he has to apologize.....what happened with him happens to us all....each and everyone of us...

And no sense wasting time with apologies....I think we're all thrilled to see him back in the saddle again....
Title: Re: SMFChess Mod
Post by: Bigguy on September 18, 2008, 08:31:08 PM
I agree; Feeble needs time to come back and check things out and get organized. Lets give him time to do what he needs and decide what the best course of action is.
Title: Re: SMFChess Mod
Post by: Paracelsus on September 19, 2008, 05:29:39 AM
I would say top priorities when feeble comes back are:

1. Fix bugs (ex. Dark Chess checkmate bug)
2. Port to 2.0

If this is done, then I think MOD's perennity is assured.
Title: Re: SMFChess Mod
Post by: NeoMorph on September 23, 2008, 11:40:28 AM
Has anyone come across a bug where peeps move their piece and it moves back... Members using IE are fine but Firefox and Chrome (may be others) find this happens and they have to refresh the page to get the move to show up.

It's strange because IE is normally the one that gets the formatting wrong heh.
Title: Re: SMFChess Mod
Post by: Godsongz on September 23, 2008, 09:41:41 PM
Has anyone come across a bug where peeps move their piece and it moves back... Members using IE are fine but Firefox and Chrome (may be others) find this happens and they have to refresh the page to get the move to show up.

It's strange because IE is normally the one that gets the formatting wrong heh.

Yes, I noticed it when I was testing Chrome.  hehe, funny, now that I think of it, SMF Chess was the 1st thing I looked at in Chrome.
Title: Re: SMFChess Mod
Post by: feeble on September 26, 2008, 05:23:08 AM
Gday Guys, Long time.
First off just wanted to apologies with how I handled the mod. I can't promise it wont happen again as I'm in my final stretch for Uni.
But I'm sorry none the less.

I've cleared my head over the last couple of days redesigning my experimental site (http://www.leaderless.net) (not for ie users) and reading through the past pages....
Whilst updating I accidently deleted the package parser. So some are now broken, but I think SMF site has them in their mod site now, so no biggy.

Im not going to make to many changes to the current mod which is compatible for SMF 1.1.6 unless you request.
I want to turn my attention to updating it for SMF2.

So basically just bug fixes for 1.1.6
and Full Changes for SMF2.

Bug fixes for 1.1.6 ie SMFChess
-Dark Chess
Anything else?

for SMF2 ie SMFChess2
-Scrapping Scriptaculous - should make speed improvements, help with different sites but no effects
Anything else? still a big job


Keep in mind this is just words, but i'll try and get it done.
Title: Re: SMFChess Mod
Post by: Sabre™ on September 26, 2008, 05:50:07 AM
wOOt!!
Welcome back champ! :)
As youve read, youve been sorely missed. So its good to see youre still kickin out there ;)
Those two youve stated are all I can think of, but someone may have other input.
Good luck through Uni mate.
If you swing through Sydney, I'll have the beer on ice for ya ;)

regards
Title: Re: SMFChess Mod
Post by: weightman on September 26, 2008, 10:02:54 AM
Welcome back feeble! I agree updating for 2.0 is biggest need!

Thanks very much!
Title: Re: SMFChess Mod
Post by: Paracelsus on September 26, 2008, 10:10:12 AM
Gday Guys, Long time.
First off just wanted to apologies with how I handled the mod. I can't promise it wont happen again as I'm in my final stretch for Uni.
But I'm sorry none the less.

I've cleared my head over the last couple of days redesigning my experimental site (http://www.leaderless.net) (not for ie users) and reading through the past pages....
Whilst updating I accidently deleted the package parser. So some are now broken, but I think SMF site has them in their mod site now, so no biggy.

Im not going to make to many changes to the current mod which is compatible for SMF 1.1.6 unless you request.
I want to turn my attention to updating it for SMF2.

So basically just bug fixes for 1.1.6
and Full Changes for SMF2.

Bug fixes for 1.1.6 ie SMFChess
-Dark Chess
Anything else?

for SMF2 ie SMFChess2
-Scrapping Scriptaculous - should make speed improvements, help with different sites but no effects
Anything else? still a big job


Keep in mind this is just words, but i'll try and get it done.

Glad to see you back feeble.

I think DarkChess bug is probably the only major bug fix that needs to be done in 1.1.6 version, other than that and you should probaly invest your time in v2.0 conversion.
Title: Re: SMFChess Mod
Post by: machmanx on September 26, 2008, 04:14:57 PM
FEEBLE IS IN DA HOUSE!! WB, Bro.  I'm one of those who are anxiously waiting for the 2.0 compatibility.  I'll be one of the first ppl to implement it :D
Title: Re: SMFChess Mod
Post by: feeble on September 28, 2008, 12:09:18 AM
Uploaded SMFChess to 1.1
Changes:
-Dark Chess fixed
--Pawns are now visible
--Checkmate is initiated when after your turn and you are still in check

To Manually Updated to 1.1:
Just extract the zip file and copy Chess.php, ChessFunctions.php & ChessXml.php to your Sources Directory

http://custom.simplemachines.org/mods/index.php?mod=1102
Title: Re: SMFChess Mod
Post by: PacificWx on September 28, 2008, 12:19:04 AM
I just tried your version 1.1 (fresh install) on my 1.1.6 forum

and got the following:

23.     Execute Modification     ./Themes/default/index.template.php     Test failed

I am using a modified Tropical theme
Title: Re: SMFChess Mod
Post by: feeble on September 28, 2008, 12:58:28 AM
I just tried your version 1.1 (fresh install) on my 1.1.6 forum

and got the following:

23.     Execute Modification     ./Themes/default/index.template.php     Test failed

I am using a modified Tropical theme

I just tested it on a fresh 1.1.6 installation with no issues.
have you installed any other mods?
are you comfortable with checking where the change has occurred?
Title: Re: SMFChess Mod
Post by: PacificWx on September 28, 2008, 01:06:17 AM
i have a few mods

1.     SMF 1.0.11 / 1.1.3 Update      1.1       [ List Files ]  [ Delete ]
2.    SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update    1.0    [ List Files ] [ Delete ]
3.    SMF 1.1.2 Update Package    1.1.2    [ List Files ] [ Delete ]
4.    SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update    1.0    [ List Files ] [ Delete ]
5.    SMF 1.1.1 Update Package    1.1.1    [ List Files ] [ Delete ]
6.    SMFChess    1.1    [ Apply Mod ] [ List Files ] [ Delete ]
7.    SMF Gallery Lite    1.6.9    [ List Files ] [ Delete ]
8.    SMFChess    1.0    [ Apply Mod ] [ List Files ] [ Delete ]
9.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0    [ List Files ] [ Delete ]
10.    Simple ImageShack    2.0.3    [ List Files ] [ Delete ]
11.    SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update    1.0    [ List Files ] [ Delete ]
12.    SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update    1.0    [ List Files ] [ Delete ]
13.    SMF Arcade    2.0.5    [ List Files ] [ Delete ]
14.    SMF 1.0.14 / 1.1.6 Update    1.0    [ Uninstall ] [ List Files ] [ Delete ]
15.    SMF Arcade    2.0.6    [ List Files ] [ Delete ]
16.    Users Online Today Mod    1.4.0b3    [ Uninstall ] [ List Files ] [ Delete ]
17.    No Temp Directory Removal    1.0    [ Uninstall ] [ List Files ] [ Delete ]
Avatar Packages
   Mod Name    Version    
1.    Futurama Avatars    1.0    [ Uninstall ] [ List Files ] [ Delete ]
2.    Sci-Fi Avatars    1.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    Country Flags    1.1.1    [ Uninstall ] [ List Files ] [ Delete ]

I am not too sure as to how to check for changes
Title: Re: SMFChess Mod
Post by: feeble on September 28, 2008, 02:35:08 AM
I am not too sure as to how to check for changes
you can take a look at the changes SMFChess produces here
http://www.leaderless.net/PackageParser/index.php#index.template.php

if you still can't fix it by yourself let me know
Title: Re: SMFChess Mod
Post by: PacificWx on September 28, 2008, 02:39:03 AM
tbh i would not entirely know what it means...

i will try again next weekend (time is aainst me as well)
Title: Re: SMFChess Mod
Post by: Godsongz on September 28, 2008, 03:02:45 PM
Wow, a new version of SMFChess!!  Great to have you back around Feeble!
Title: Re: SMFChess Mod
Post by: Bluben89 on September 28, 2008, 05:42:48 PM
I installed the latest version of this mod on my forum (version 1.1.6) and immediately when i went to go back to the package page I got this error

Fatal error: Cannot redeclare create_smfchess() (previously declared in /home/official/public_html/Sources/Subs.php:3747) in /home/official/public_html/Sources/Subs.php on line 3908

Everywhere else i go on my forum i get that. No one else can get on either.  I uploaded the the .zip file to the packages and then I installed it. the error occured after I installed. I have access to the cpanel still and I deleted the package through there. But i still get the error. Im pretty sure i screwed up really bad. Help would be much appreciated
Title: Re: SMFChess Mod
Post by: Godsongz on September 28, 2008, 06:13:33 PM
Just removing the additional files added by the mod won't remove it completely, as there are edits to several SMF stock files as well.

Check in your subs.php file...  look for the line
Code: [Select]
//Create SMFChess Boardthe function that begins with that line is about 150 lines long, and it sounds like somehow it got inserted twice???  Where there any errors during the install of the mod?  Anyway, see if you can edit out the second instance.
Title: Re: SMFChess Mod
Post by: Bobn on September 28, 2008, 06:56:35 PM
Hi,

Installed the mod using the mod installer. I see the chess button on my admin console but no one else sees it,, do I need permissions set somehow?
Title: Re: SMFChess Mod
Post by: Godsongz on September 28, 2008, 07:19:33 PM
In Admin | Permissions, there are three permissions available "Access to Chess", "Allowed to Challenge", and "Admin Access".  Make sure your Regular Members group (or whoever you want to let play) has access to the first two.
Title: Re: SMFChess Mod
Post by: Bobn on September 28, 2008, 07:27:30 PM
THanks found it
Title: Re: SMFChess Mod
Post by: Bobn on September 28, 2008, 08:00:09 PM
Hi,

It stalled it perfectly on one of my boards, wont go on the other here is the error but I have 777 permissions on the packages folder:

Quote
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

Quote
2: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 10253 is not allowed to access /home/jamestownceilidhband.com/httpdocs/forum/Packages/temp owned by uid 48
File: /home/jamestownceilidhband.com/httpdocs/forum/Sources/Subs-Package.php
Line: 1232
Title: Re: SMFChess Mod
Post by: feeble on September 29, 2008, 07:53:51 AM
Since it worked well last time, I do it again

Straight clone ready for SMF2 can be downloaded here (http://www.leaderless.net/tp-downloads/SMFChess2Beta.zip)
Demo can be seen here (http://www.leaderless.net/index.php?action=chess)(Not the best demo site, since its an experimental theme, works fine in firefox)

There might be still a few issues since I haven't tested it much so I wouldn't use it on a live site. Or use it on a live site and let me know if there are any issues. Up to you.
Title: Re: SMFChess Mod
Post by: Bobn on September 29, 2008, 05:19:06 PM
Getting an error on install:

Quote
Installing this package will perform the following actions:  Type Action Description
1. Execute Code installScript.php 
2. Extract Tree ./Themes/default/SMFChess 
3. Extract File ./Sources/Chess.php 
4. Extract File ./Sources/ChessXml.php 
5. Extract File ./Sources/ChessChat.php 
6. Extract File ./Sources/ChessAdmin.php 
7. Extract File ./Sources/ChessFunctions.php 
8. Extract File ./Themes/default/languages/Chess.english.php 
9. Extract File ./Themes/default/languages/ChessXml.english.php 
10. Extract File ./Themes/default/languages/ChessAdmin.english.php 
11. Extract File ./Themes/default/languages/ChessAdmin.english-utf8.php 
12. Extract File ./Themes/default/languages/ChessXml.english-utf8.php 
13. Extract File ./Themes/default/languages/ChessAdmin.english-utf8.php 
14. Extract File ./Themes/default/ChessAdmin.template.php 
15. Extract File ./Themes/default/Chess.template.php 
16. Extract File ./Themes/default/ChessXml.template.php 
17. Extract File ./Themes/default/ChessChat.template.php 
18. Extract File ./Themes/default/ChessCustom.template.php 
19. Execute Modification install_SMF1-1.xml Modification parse error
20. Execute Modification - Modification parse error
Title: Re: SMFChess Mod
Post by: Bigguy on September 29, 2008, 08:39:09 PM
Glad to see you back around Feeble. :)
Title: Re: SMFChess Mod
Post by: Paracelsus on September 30, 2008, 11:21:48 AM
Uploaded SMFChess to 1.1
Changes:
-Dark Chess fixed
--Pawns are now visible
--Checkmate is initiated when after your turn and you are still in check

To Manually Updated to 1.1:
Just extract the zip file and copy Chess.php, ChessFunctions.php & ChessXml.php to your Sources Directory

http://custom.simplemachines.org/mods/index.php?mod=1102

Installed according to manual updating instructions.

I've already asked people in my forum to try it out. I'll get back to tell you how it went. ;)
Title: Re: SMFChess Mod
Post by: weightman on September 30, 2008, 12:16:42 PM
Feeble, I followed these directions (and overwrote old versions) but the chess mod is till listed in package list as 1.0, not 1.1. Anything to worry about?

Thanks

Quote
To Manually Updated to 1.1:
Just extract the zip file and copy Chess.php, ChessFunctions.php & ChessXml.php to your Sources Directory
Title: Re: SMFChess Mod
Post by: Godsongz on September 30, 2008, 12:23:04 PM
I think we have a new bug in Dark Chess too...  I challenged a friend to a game, he accepted and made a single move, and was awarded a checkmate!?!  Now, he's thrilled with the result as it gave him a very easy boost in his ELO rating...  but I think we do have a problem :)

Here's the game (http://crossfire.org/covenant/index.php?action=chess;id=369)
Title: Re: SMFChess Mod
Post by: vivekm on September 30, 2008, 01:04:09 PM
Hello everybody I downloaded chessblock, but I have no idea where to download Tiny Portal from, can some body help me out. I use Smf 1.1.6, thanks in advance.
Title: Re: SMFChess Mod
Post by: Godsongz on September 30, 2008, 02:15:10 PM
If chessblock is your only reason for wanting TP, don't bother.  Chessblock is not integral to the operation of SMFChess, and TP (while very useful for a lot of things) is a MAJOR change to your forum.

Should you decide to go that way though, TP can be found at http://www.tinyportal.net/
Title: Re: SMFChess Mod
Post by: Bobn on September 30, 2008, 02:38:58 PM
Hi,

we have done all the manual edits and created the tables in the DB yet the chess mod wont show. Any ideas?
Title: Re: SMFChess Mod
Post by: feeble on September 30, 2008, 03:03:14 PM
I think we have a new bug in Dark Chess too...  I challenged a friend to a game, he accepted and made a single move, and was awarded a checkmate!?!  Now, he's thrilled with the result as it gave him a very easy boost in his ELO rating...  but I think we do have a problem :)

Here's the game (http://crossfire.org/covenant/index.php?action=chess;id=369)
Thanks for this Godsongz
Went over it, and realised the mistake
uploaded a new version
http://custom.simplemachines.org/mods/index.php?action=download;mod=1102;id=70432
To Manually Update:
Just extract the zip file and copy ChessFunctions.php & ChessXml.php to your Sources Directory

Went through several games with no issues


Feeble, I followed these directions (and overwrote old versions) but the chess mod is till listed in package list as 1.0, not 1.1. Anything to worry about?
No that's perfectly fine,
I don't know how to make patches for SMF Mods at this point in time(to be honest, I've forgotten how)
The files that you are copying over are just the changed files.

Hi,

we have done all the manual edits and created the tables in the DB yet the chess mod wont show. Any ideas?
trying going to ?action=chess
I apologize for the trouble you've had.
I'm not really to sure why you got the modification parse error. I have a feeling its to do with a php5 limit but can't be certain since no one else has had it.
Title: Re: SMFChess Mod
Post by: Ryan on September 30, 2008, 03:22:37 PM
Thank you feeble for releasing 2.0 version! Been standing by waiting patiently.  :D
Title: Re: SMFChess Mod
Post by: Godsongz on September 30, 2008, 03:52:05 PM
Thanks for this Godsongz
Went over it, and realised the mistake
uploaded a new version

Outstanding, thanks Feeble!
Title: Re: SMFChess Mod
Post by: Paracelsus on September 30, 2008, 04:27:21 PM
I think we have a new bug in Dark Chess too...  I challenged a friend to a game, he accepted and made a single move, and was awarded a checkmate!?!  Now, he's thrilled with the result as it gave him a very easy boost in his ELO rating...  but I think we do have a problem :)

Here's the game (http://crossfire.org/covenant/index.php?action=chess;id=369)
Thanks for this Godsongz
Went over it, and realised the mistake
uploaded a new version
http://custom.simplemachines.org/mods/index.php?action=download;mod=1102;id=70432
To Manually Update:
Just extract the zip file and copy ChessFunctions.php & ChessXml.php to your Sources Directory

Went through several games with no issues

I had the same issue, but already corrected it with the new version. Let's see how it goes this time.
Title: Re: SMFChess Mod
Post by: quiz_modder on September 30, 2008, 04:58:18 PM
This is one very professionally done mod, one of the best around. I don't suppose I can be greedy and ask for more like this, such as a checkers one ;-)

Anyway, thanks for the effort 100/10!
Title: Re: SMFChess Mod
Post by: Bobn on September 30, 2008, 04:59:56 PM
No go on the index.php?action=chess :(
Title: Re: SMFChess Mod
Post by: Bobn on September 30, 2008, 06:07:35 PM
Quote
trying going to ?action=chess
I apologize for the trouble you've had.
I'm not really to sure why you got the modification parse error. I have a feeling its to do with a php5 limit but can't be certain since no one else has had it.

Hi,
I had babjusi install teh mod and he cant get it going either. Any other suggestions?
Title: Re: SMFChess Mod
Post by: feeble on September 30, 2008, 06:41:56 PM
Quote
trying going to ?action=chess
I apologize for the trouble you've had.
I'm not really to sure why you got the modification parse error. I have a feeling its to do with a php5 limit but can't be certain since no one else has had it.

Hi,
I had babjusi install teh mod and he cant get it going either. Any other suggestions?
Are you both just getting that Modification parse error?
Title: Re: SMFChess Mod
Post by: Bobn on September 30, 2008, 08:03:29 PM
Quote
trying going to ?action=chess
I apologize for the trouble you've had.
I'm not really to sure why you got the modification parse error. I have a feeling its to do with a php5 limit but can't be certain since no one else has had it.

Hi,
I had babjusi install teh mod and he cant get it going either. Any other suggestions?
Are you both just getting that Modification parse error?

Got it working, Strangly enough there was two ftp log ins, one worked the other didnt,, Thanks!
Title: Re: SMFChess Mod
Post by: Paracelsus on October 01, 2008, 11:41:59 AM
Feeble,

On Dark Chess, is it supposed that every player now can see both its pawns and the opponents? Because before we could see just our own pawns and now we see everybody's pawns the whole time.
Title: Re: SMFChess Mod
Post by: Paracelsus on October 03, 2008, 12:03:28 PM
Feeble,

On Dark Chess, is it supposed that every player now can see both its pawns and the opponents? Because before we could see just our own pawns and now we see everybody's pawns the whole time.

bumping...

from what I read, in Dark Chess each opponent can olny see opponents pieces if they can be "taken", like this:

White View:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.itsyourturn.com%2Fimages%2Fhelp%2Fcdwhiteview.gif&hash=b41c975118c55e86d17b166f211d2382)

Black View:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.itsyourturn.com%2Fimages%2Fhelp%2Fcdblackview.gif&hash=ffdc898fab14bf35d41dfe413ddf78ae)

What happens after the fix is that all the pawns are visible the whole time to both players. Is is supposed to be this way?
Title: Re: SMFChess Mod
Post by: feeble on October 03, 2008, 04:15:06 PM
What happens after the fix is that all the pawns are visible the whole time to both players. Is is supposed to be this way?
Thanks for catching this,
ill have it fixed soon,
hopefully in patch form
Title: Re: SMFChess Mod
Post by: cafenubia on October 04, 2008, 12:12:40 PM
Hi everyone i just installed this package and it installed successfully and i see the chess admin but i cant find the link to the chess page in my menu,im using a custom theme.
Title: Re: SMFChess Mod
Post by: ladyshanae on October 07, 2008, 12:23:50 PM
Cafenubia - you need to add the link yourself to the top bar since you are using a custom theme.  You can access the page by going here:

http://yourboardURL/index.php?action=chess

As for me, I'm getting a TON of Undefined index errors.  I am not that familiar with what the error itself means, though I know it's coming up pretty much every time I access any part of the chess mod.  Any ideas on how I can fix this?  I've tried to do searches here, but I'm coming up empty handed.

Thanks :D
Title: Re: SMFChess Mod
Post by: Godsongz on October 07, 2008, 12:46:40 PM
As for me, I'm getting a TON of Undefined index errors. 

Would you copy and paste the actual error into a post here?
Title: Re: SMFChess Mod
Post by: ladyshanae on October 07, 2008, 12:59:53 PM
One of them looks like this:

Quote
8: Undefined index: SMFChess_admin
File: /home/.leucorhinos/ladyshanae/hprpg.net/Sources/Subs.php
Line: 2904

The code on the line is:

Code: [Select]
    'title' => $txt['SMFChess_admin'],
Another error looks like this:

Quote
8: Undefined index: SMFChess
File: /home/.leucorhinos/ladyshanae/hprpg.net/Sources/Chess.php
Line: 53

The code on the line is:

Code: [Select]
'name' => $txt['SMFChess'],
These are just some of the errors I'm getting.  I'm not familiar enough with PHP to understand exactly what 'undefined index' means, so help there would be super because I really don't mind troubleshooting - but when I'm not sure what things mean, it makes it a little hard!  :)

Do I have something missing from a language file maybe?
Title: Re: SMFChess Mod
Post by: Godsongz on October 07, 2008, 03:18:29 PM
Do I have something missing from a language file maybe?

Probably...  make sure the following code...
Code: [Select]
//Begin SMFChess
$txt['SMFChess'] = 'Chess';
$txt['SMFChess_admin'] = 'Chess Admin';
$txt['SMFChess_bbccode'] = array(
'darkchesswarning' => 'Dark Chess gametypes cannot be viewed till finished',
'failed' => 'Failed',
'vs' => 'vs',
'nomatch' => 'No match found under id',
);
//End SMFChess
...is in your index.english.php
Title: Re: SMFChess Mod
Post by: ladyshanae on October 07, 2008, 03:42:12 PM
Ahhh HA!

I forgot I had language files in some of my other layouts that I had edited.... I usually use the default for everything... so once I fixed those - it was all groovy :D

Thanks for your help!!!!
Title: Re: SMFChess Mod
Post by: cafenubia on October 07, 2008, 04:07:36 PM
Cafenubia - you need to add the link yourself to the top bar since you are using a custom theme.  You can access the page by going here:

http://yourboardURL/index.php?action=chess

As for me, I'm getting a TON of Undefined index errors.  I am not that familiar with what the error itself means, though I know it's coming up pretty much every time I access any part of the chess mod.  Any ideas on how I can fix this?  I've tried to do searches here, but I'm coming up empty handed.

Thanks :D

Thanks ladyshanae
Im new to smf so i havent yet figured how to add items to the menu,ive manually added info to the index.template.php of my custom template and the chess option shows in the menu for the admin but not for the members.I followed the instructions from the mod site for that template.

Does anyone know why it doesnt show on the members menu?
Title: Re: SMFChess Mod
Post by: cafenubia on October 07, 2008, 05:21:08 PM
 ;D 8)
Never mind i figured it out my permissions needed to be set........thanks
Title: Re: SMFChess Mod
Post by: Plus on October 08, 2008, 04:37:27 AM
its work for me ;)
Title: Re: SMFChess Mod
Post by: thekid65 on October 09, 2008, 06:18:22 PM
Thank you feeble for releasing 2.0 version! Been standing by waiting patiently.  :D

I'm not sure if this is a real thank you, or a thank you for things to come? We're upgrading to 2.0 this weekend, and are quite bummed about the loss of this fantastic game. Does the version for 2.0 exist yet?
Title: Re: SMFChess Mod
Post by: Godsongz on October 09, 2008, 06:35:10 PM
Does the version for 2.0 exist yet?

It's a few pages back in this thread...  here, check this post...
http://www.simplemachines.org/community/index.php?topic=225742.msg1728146#msg1728146
Title: Re: SMFChess Mod
Post by: thekid65 on October 09, 2008, 06:37:19 PM
Ahhh.. thank you oh-so-much. How's the beta working out for folks so far?
Title: Re: SMFChess Mod
Post by: thekid65 on October 10, 2008, 06:41:56 AM
The install of 2.0 went smoothly, no errors. However no pieces show on the board (SS below), nor are there any options available to select any pieces on the settings page. What did we miss  ???

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg139.imageshack.us%2Fimg139%2F8187%2Fchessne6.th.jpg&hash=f8b0f30e46fa3670d62382a7da13ecc3) (http://img139.imageshack.us/my.php?image=chessne6.jpg)(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg139.imageshack.us%2Fimages%2Fthpix.gif&hash=4a32e682d73517b4dffc585361b1b1a1) (http://g.imageshack.us/thpix.php)
Title: Re: SMFChess Mod
Post by: feeble on October 10, 2008, 07:37:00 AM
The install of 2.0 went smoothly, no errors. However no pieces show on the board (SS below), nor are there any options available to select any pieces on the settings page. What did we miss  ???

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg139.imageshack.us%2Fimg139%2F8187%2Fchessne6.th.jpg&hash=f8b0f30e46fa3670d62382a7da13ecc3) (http://img139.imageshack.us/my.php?image=chessne6.jpg)(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg139.imageshack.us%2Fimages%2Fthpix.gif&hash=4a32e682d73517b4dffc585361b1b1a1) (http://g.imageshack.us/thpix.php)

Its having trouble finding the images used in SMFChess

check the location of the broken images

it should be Themes/default/SMFChess/pieces/

then make sure the images are there

if not, you will have to upload the SMFChess folder manually to your default folder
Title: Re: SMFChess Mod
Post by: thekid65 on October 11, 2008, 06:54:59 AM
Got'er fixed, the img's somehow got lost in the original install. Thanks for your help.
Title: Re: SMFChess Mod
Post by: feeble on October 13, 2008, 04:14:55 PM
Small Update:
Been busy this week, so haven't got much done
Should have an update out hopefully by the end of the week
Title: Re: SMFChess Mod
Post by: thekid65 on October 13, 2008, 04:20:56 PM
One minor issue we've had with both the old version, and this latest one, is the inability to turn off the pm function notifying you that it's your move. Even though the personal preference option box is unchecked, the pm's keep coming through, which can be a bit annoying when one has multiple games going on. Any thoughts?
Title: Re: SMFChess Mod
Post by: Godsongz on October 13, 2008, 11:29:53 PM
hmm..  there's still a bug (or two) in Dark Chess.  I placed my friend in check earlier tonight, but he didn't know it.  Status never changed from "In Progress" to "Check", and he couldn't see my bishop attacking his king.  The only reason he knew something was up was that to him everything was an illegal move (he didn't know he had to protect his king).

Also, I've noticed that if I log out, or log in as an account not involved in a Dark Chess game, then I can see a lot more than I should.  I think perhaps Dark Chess games should be invisible to everyone but the players until the game is completed.
Title: Re: SMFChess Mod
Post by: Paracelsus on October 14, 2008, 08:30:23 AM
I've already reported that. Anyone can see everybody's pawns, which shouldn't be allowed, according to my understanding of Dark Chess. I think feeble already reckon that.

However, the "Check" status should be impossible in Dark Chess, since the goal is to be sharp when your king is attacked and not make your life easier... however, perhaps we should take a closer look on the illegal moves when in check (I really think there shouldn't be any illegal moves actually).

Take a look at wikipedia on this:
Dark chess is a chess variant with incomplete information, similar to Kriegspiel. It was invented by Jens Bæk Nielsen and Torben Osted in 1989. A player doesn't see the entire board, only their own pieces (including pawns), and squares where these pieces could move.

Rules
The goal of this chess variant is not to checkmate the king, but to capture it. A player isn't told if their king is in check. Failing to move out of check, or moving into check, are both legal, and can obviously result in a capture and loss of the game.
Title: Re: SMFChess Mod
Post by: Godsongz on October 14, 2008, 03:18:09 PM
However, the "Check" status should be impossible in Dark Chess, since the goal is to be sharp when your king is attacked and not make your life easier... however, perhaps we should take a closer look on the illegal moves when in check (I really think there shouldn't be any illegal moves actually).

Ah ha, I asked my friend exactly what he was trying to do while he was in check (and didn't know it), and he said he was attempting to Castle.  So, Dark Chess is calling it illegal because he was trying to castle out of a check..  even though in Dark Chess there isn't supposed to be a check?
Title: Re: SMFChess Mod
Post by: Paracelsus on October 14, 2008, 03:49:43 PM
In Dark Chess there shouldn't be any illegal moves, so if you move your king into check, then you're dead meat... that's the strategy of Dark Chess - to protect the king and not doing foolish moves.
Title: Re: SMFChess Mod
Post by: feeble on October 14, 2008, 07:20:34 PM
I do realise this,
Dark Chess is a pain to implement.

The chess functions have alot of checks to make sure the move is legal, and its counter intuitive to break these checks.
Ill have it fixed soon, ill check the castling calls.
Title: Re: SMFChess Mod
Post by: weightman on October 14, 2008, 07:24:29 PM
I vote for dumping dark chess and focusing on classic, can't be improved, chess.
Title: Re: SMFChess Mod
Post by: Paracelsus on October 14, 2008, 07:46:54 PM
I vote for dumping dark chess and focusing on classic, can't be improved, chess.

No no no... Dark Chess is an excellent option for those who don't usually play chess and don't want to risk playing against more experienced players. It's much more of a psychological game than a strategy game, which makes it very addictive for certain audiences (specially "poker-like" players).
Title: Re: SMFChess Mod
Post by: weightman on October 14, 2008, 08:35:19 PM
Perhaps we should have a poll to see how many people care about Dark Chess so we have a better idea of whether its worth feeble's time. I'd still like to see some information on current games/players/rankings in the stats page and/or who's online list, adding SSI, making sure it works with 2.0 through the betas, RC's, and final release, etc.,  and I am sure feeble only has so much time.
Title: Re: SMFChess Mod
Post by: Paracelsus on October 15, 2008, 02:46:27 AM
Perhaps we should have a poll to see how many people care about Dark Chess so we have a better idea of whether its worth feeble's time. I'd still like to see some information on current games/players/rankings in the stats page and/or who's online list, adding SSI, making sure it works with 2.0 through the betas, RC's, and final release, etc.,  and I am sure feeble only has so much time.

I don't see things that way. Dark Chess is almost fixed, it has nothing to do with features, just to improve the game-engine that has the problem with pawns and the illegal moves, otherwise it's perfect and doesn't need to be touched again.
Title: Re: SMFChess Mod
Post by: 0000000 on October 15, 2008, 03:14:25 PM
I installed it, but only can access it through admin, regular members cannot see it. when i tried to go to it as a regular member by pasting the link in my browser, i get this:

Quote
An Error Has Occurred!
You do not have access to Chess!

Please forgive my incompetence, but how do I make it accessible to the members? I hunted for a setting but found none in the Chess Settings section of admin...

Thanks
Title: Re: SMFChess Mod
Post by: Bigguy on October 15, 2008, 03:24:48 PM
Set membergroup permissions for each membergroup in the admin panel.
Title: Re: SMFChess Mod
Post by: machmanx on October 15, 2008, 05:22:28 PM
Hey guys.  Feeble, thank you for porting the Chess Mod to SMF 2.0 . Really, I cannot say enough thanks to you because a lot of my members, especially my G mod, really love this :D  Thank you :)

I do get an error in my server saying I'm missing the sound.js file:-

File missing: (url)/forum/Themes/default/SMFChess/scriptaculous/src/sound.js

what does this do and can you fix this?


Is there a way to put the chat on the top, above the board?


I have installed nneonneo's Shoutbox in my forum, but it fails to refresh when playing chess.  Also, when a smiley that's bigger than the text gets posted, all the pieces get shifted on the board.  Is there a way to prevent the shifting of pieces like that?
Title: Re: SMFChess Mod
Post by: 0000000 on October 16, 2008, 03:05:16 PM
Set membergroup permissions for each membergroup in the admin panel.

Ah, Thank you, sir!! It is working now..
Title: Re: SMFChess Mod
Post by: asmith on October 19, 2008, 05:03:04 PM
I have installed nneonneo's Shoutbox too. my chess is acting weird.

When I enter a chess board it stays as "loading...". It won't show chess chat or which people are viewing it, it just stucks at "Loading..." . until I click on show all or show chat and it will show.

When someone moves I can not see him moving. I gotta refresh my page.

Anyone can solve this conflict between chess and shoutbox?
Title: Re: SMFChess Mod
Post by: feeble on October 19, 2008, 05:09:53 PM
Both these issues should disappear for the SMF2 version eventually when I take out a few things.

Other then that, there is not much I can do as the only solution is to disable neonneos chat when you are in a chess game.

also the sound.js is from nneonneos mod.
Title: Re: SMFChess Mod
Post by: asmith on October 20, 2008, 01:41:30 AM
I'm using 1.1.6. and do not want to upgrade to 2.

will it work backward  ? I mean if you can't do much about it,  maybe nneonneo could solve it by upgrading his mod?
Title: Re: SMFChess Mod
Post by: nneonneo on October 20, 2008, 11:21:13 AM
The conflict is due to SMFChess and nneonneo's Shoutbox both using an onload handler. The onload handlers conflict with each other, causing one of them to be disabled.

The solution is to use onload chaining, which is probably implemented in Prototype (included in Scriptaculous) or to use addEventListener (Mozilla/Opera/Safari) or attachEvent (IE). Unfortunately, the latter solution isn't cross-browser and doesn't work in older browsers, and the former solution is only available with a significant bit of code (or Prototype, which at 72KB minified is not small either).

This is the reason why the shoutbox shows ...loading..., because its onload handler has been overridden. It is also the reason why the chat might do the same -- it all depends on which onload is set last.
Title: Re: SMFChess Mod
Post by: asmith on October 24, 2008, 02:27:02 AM
hi,

I changed my site server.
CHess is working fine, just when I enter a board, Under "watching" it doesn't show which members are watching, the chat, the game all works fine, but just the usernames are not shown, what the problem might me ?
Title: Re: SMFChess Mod
Post by: LOADING... on October 25, 2008, 04:35:11 AM
yah  :D
Title: Re: SMFChess Mod
Post by: PLAYBOY on October 28, 2008, 02:39:54 AM
Is this good for 2.0 beta for?

If not. Then when is it gonna be available for 2.0?
Title: Re: SMFChess Mod
Post by: thekid65 on November 01, 2008, 07:53:33 AM
It's working fine with SMF 2.0 beta 4 on our forum.
Title: Re: SMFChess Mod
Post by: Sabre™ on November 06, 2008, 02:50:20 PM
I changed my site server.
CHess is working fine, just when I enter a board, Under "watching" it doesn't show which members are watching, the chat, the game all works fine, but just the usernames are not shown, what the problem might me ?

Yeah, I noticed this when I installed it into a new site.
Sooo.... ditto :D
Title: Re: SMFChess Mod
Post by: edi67 on November 07, 2008, 07:29:49 AM
It's working fine with SMF 2.0 beta 4 on our forum.

you can link me your forum ? i cannot make it work in my forum smf 2.0 beta 4
Title: Re: SMFChess Mod
Post by: thekid65 on November 08, 2008, 10:16:28 AM
It's working fine with SMF 2.0 beta 4 on our forum.

you can link me your forum ? i cannot make it work in my forum smf 2.0 beta 4

http://caged-rage.com/index.php  (18+ only please)

Mind you, you will have to register to check it out. Our forum settings dont allow guests access to chess. It does have a couple of glitches. The aforementioned "who's watching" (which is no big deal to us), and the inability to turn off the "it's your move" pm function (I just used a rule in my pm's as a work-around to this issue)
Title: Re: SMFChess Mod
Post by: steve in houston on November 08, 2008, 10:03:59 PM
im running this mod on 1.1.7.
it is a huge hit.  thanks!!!

any chance you can port a poker game too?
Title: Re: SMFChess Mod
Post by: LOADING... on November 09, 2008, 06:55:30 PM
Cool...  :D
Thank u all
Title: Re: SMFChess Mod
Post by: thegiftedhands on November 14, 2008, 02:01:41 PM
i tried installing the Mod and all i get now is Not unique table/alias: 'chess'

I know am to download from my last back-up but the silly problem am having is unzipping the package on my pc. I have tried uploading the fileZilla and it not working.
Pls, i desperately need a step-by-step procedure.

Pls. thanks alot
Title: Re: SMFChess Mod
Post by: brianjw on November 18, 2008, 04:21:44 PM
Where do I control what the PM messages say in them on request challenge, your turn to make a move, etc.
Title: Re: SMFChess Mod
Post by: Godsongz on November 18, 2008, 10:15:54 PM
Where do I control what the PM messages say in them on request challenge, your turn to make a move, etc.

This array is set up in the ChessXml.english.php:

$txt['SMFChess_pm'] = array(
   'move_sub' => 'Your move',
   'move_msg' => 'I have made my move.',
   'admin_move_sub' => 'I have moved in your game',
   'admin_move_msg' => 'As an admin, I have forced a move in your game.',
   'undo_sub' => 'Request Undo',
   'undo_msg' => 'I would like to Undo my last move.',
   'draw_sub' => 'Request Draw',
   'draw_msg' => 'I would like to request a Draw.',
   'resign_sub' => 'Resigned from Chess Match',
   'resign_msg' => 'I have Resigned from our Chess Match.',
   'followlink' => '


and this array is in Chess.english.php

$txt['SMFChess_pm'] = array(
   'challenge_sub' => 'Would you like a game of Chess?',
   'QuickmatchJoined_sub' => 'Challenged by Quickmatch',
   'remind_sub' => 'Chess Reminder!',
   'remind_msg' => 'I just wanted to remind you that we have a game to finish.',
   'followlink' => '

Title: Re: SMFChess Mod
Post by: brianjw on November 18, 2008, 10:26:10 PM
Thanks Godsongz, but what I really want to do is change the form of the BBC Urls in the PM's to an [iurl ] (no space) instead of what it currently is a [url ] which opens new browser windows when clicked.
Title: Re: SMFChess Mod
Post by: Sabre™ on November 19, 2008, 02:50:04 AM
Can use [THIS] (http://custom.simplemachines.org/mods/index.php?mod=980) if you'd like that for all internal links etc...

wdm did an update on this somewhere, but it still works fine for me. :)
Title: Re: SMFChess Mod
Post by: HistoryHunter on November 21, 2008, 04:16:15 AM
This mod is so good I can hardly believe it. A forum running chess... brilliant. I use it on 1.1.7 with TP and custom theme, and all the defaults are perfect.

I think I will now find a java chess game (for playing against the engine) and make a page or board for chess, giving members more opportunities to enjoy the game/subject.
Title: Re: SMFChess Mod
Post by: marciano on November 22, 2008, 03:12:59 PM
traduccion spanish made by my:


Chess.spanish.php
Code: [Select]
<?php

//SMFChess Language File
//Chess.spanish.php

//Global
$txt['SMFChess_g'] = array(
'seconds' => 'segundos',
'minutes' => 'minutos',
'hours' => 'horas',
'day' => 'dia',
'days' => 'dias',
's' => 's',
'm' => 'm',
'h' => 'h',
'd' => 'd',
'loading' => 'cargando...',
);

//Labels
$txt['SMFChess_labels'] = array(
'board' => 'tablero',
'challenge' => 'desafio',
'mypage' => 'mi pagina',
'current' => 'actual',
'finished' => 'terminado',
'leaderboard' => 'tabla de posiciones',
'settings' => 'configuración',
'game' => 'partido',
'status' => 'estado',
'move' => 'movimiento',
'moves' => 'movimientos',
'turn' => 'turno',
'created' => 'creado',
'updated' => 'actualizado',
'winner' => 'ganador',
'finished' => 'terminado',
'setdefault' => '[seleccionar default]',
'preview' => 'previsualizar',
'rank' => 'Ranking#',
'name' => 'nombre',
'elo' => 'elo (grositud)',
'wins' => 'ganados',
'draws' => 'empatados',
'losses' => 'perdidos',
'opponent' => 'oponente',
'moveclock' => 'tiempo',
'result' => 'resultado',
'wdl' => 'G/E/P',
'w' => 'G',
'd' => 'E',
'l' => 'P',
'delete' => 'eliminar partido',
'won' => 'ganó',
'vs' => 'Vs',
'credits' => 'creditos',
'yours' => 'te toca!',
'cUser' => '[C]',
'findingusers' => 'buscando usuarios ...',
'forumdefault' => 'default',
'remind' => 'recordar',
'accept' => 'aceptar',
'reject' => 'rechazar',
'none' => 'ninguno',
'variation' => 'Variante'
);

$txt['SMFChess_javascript'] = array(
'delete' => 'estas seguro de querer eliminar?',
'yousure' => 'estas seguro?',
'reenable' => 'volver a habilitar',
'timeout_board' => 'partido terminado por inactividad.',
'timeout_chat' => 'chat del ajedrez terminado por inactividad.',
'promotion' => 'seleccionar promocion',
'wouldcastle' => 'te gustaria castillo?',
'yes' => 'si',
'no' => 'no',
'addmove' => 'eg:c2-c3, h7-h5',
);

$txt['SMFChess_Settings'] = array(
'settingstitle' => 'configuración personal',
'quickplay' => 'habilitar "partido rápido"',
'quickplay_i' => 'los movimientos son enviados rapidamente cuando sueltas la pieza',
'receivepm' => 'recibir avisos del Ajedrez por MPs',
'receivepm_i' => 'permitir que el Ajedrez te avise por MPs de los movimientos y desafios nuevos',
'boardcolours' => 'seleccionar color de fondo',
'boardcolours_i' => 'seleccionar colores de fondo',
'useforumdefaults' => 'usar default',
'lightsquare' => 'cuadros claros',
'darksquare' => 'cuadros oscuros',
'border' => 'borde',
'text' => 'borde texto',
'highlight' => 'destacar',
'chesspiece' => 'seleccionar pieza',
'chesspiece_i' => 'seleccionar piezas con las que te gustaria jugar',
'size' => 'seleccionar medidas del tablero',
'size_i' => 'seleccionar medidas del tablero.<br/>para personas con problemas visuales',
'effect' => 'elejir efecto',
'effect_i' => 'el efecto se usa cuando se mueve una pieza.',
);

$txt['SMFChess_sizes'] = array(
'10' => 'Large',
'20' => 'X-Large',
'30' => 'XX-Large',
'40' => 'XXX-Large',
);

$txt['SMFChess_effects'] = array(
'0' => 'ninguno',
'1' => 'destacado',
'2' => 'agitado',
'3' => 'pulso',
);

$txt['SMFChess_errors'] = array(
'noranked' => 'nadie en el ranking',
'is_not_guest' => 'solamente para usuarios registrados de foringa',
'nofinished' => 'partidos no finalizados',
'nocurrent' => 'sin partidos',
'reminder' => 'recordatorio enviado',
'challengecancel' => 'desafio cancelado',
'challengesuccess' => 'desafio enviado',
'challengeself' => 'no podes desafiarte a vos mismo',
'challengenouser' => 'usuario no encontrado .... buscar otro',
'quickmatchnotfound' => 'problema al intentar un "partido rápido", fijarse si existe',
'joinoneperday' => 'solamente %s por dia',
'quickmatchcreated' => 'partido rápido creado. se te avisará cuando aparezca un oponente',
'createoneperday' => 'solamente se puede crear %s pordia',
'nomatch' => 'no se encuentra',
);

$txt['SMFChess_control'] = array(
'moveexpired' => 'tu oponente aun no movió.',
'undo1' => '%s te pregunta si puede deshacer su último movimiento',
'undo2' => '%s petición de deshacer aun no respondida',
'notstarted1' => 'por favor, mover para empezar el partido',
'notstarted2' => 'el partido aun no ha empezado',
'draw1' => '%s quiere dar por empatado este partido',
'draw2' => '%s petición de empate aun no respondida',
'resign1' => '%s quiere dar por perdido este partido',
'resign2' => '%s petición de dar por perdido aun no respondida',
'unk' => 'desconocido',
'accept' => 'aceptar',
'reject' => 'rechazar',
'or' => 'o',
'click' => 'click',
'here' => 'aqui',
'acceptwin' => 'aceptar ser ganador',
);

$txt['SMFChess_status'] = array(
=> 'no empezado',
=> 'en progreso',
=> 'comprobar',
=> 'jaque mate',
=> 'estancado',
=> 'jaque mate*',
'UNK' => 'desconocido',
);

$txt['SMFChess_pm'] = array(
'challenge_sub' => 'querés jugar un partido de ajedrez?',
'QuickmatchJoined_sub' => 'desafio por un "partido rápido"',
'remind_sub' => 'recodatorio del Ajedrez!',
'remind_msg' => 'te recuerdo que tenemos un partido de Ajedrez que terminar.',
'followlink' => '

para mas info, seguir el siguiente link ...
'
,
);

$txt['SMFChess_MyPage'] = array(
'mystats' => 'mis estadisticas',
'myresults' => 'mis resultados',
'noresults' => 'no hay resultados',
'mymatches' => 'mis partidos',
'nocurrent' => 'no hay partidos',
'listall' => 'listar todo',
'news' => 'novedades',
'topplayers' => 'Jugadores Top',
);

$txt['SMFChess_Board'] = array(
'details' => 'detalles',
'flipboard' => 'girar tablero',
'infomove' => 'mover',
'infodragdrop' => 'arrastrar y soltar para mover pieza',
'buttonsend' => 'enviar',
'whitetitle' => 'blanca',
'blacktitle' => 'negra',
'castlequeen' => 'reina',
'castleking' => 'rey',
'cancastle' => 'castillo?',
'export' => 'exportar',
'gamestatus' => 'estado del partido',
'history' => 'historial',
'lastmove' => 'último movimiento',
'controlpanel' => 'panel de control',
'undo' => 'deshacer último movimiento',
'draw' => 'pedir empate',
'resign' => 'abandonar',
'adminpanel' => 'Admin Panel',
'addmove' => 'agregar movimiento',
'deletegame' => 'eliminar partido',
'clearchat' => 'limpiar chat',
'declarewin' => 'declarar ganador',
'request' => 'solicitar',
'chatbutton' => 'chat',
'chat_show' => 'mostrar chat',
'chat_all' => 'todo',
'chat_both' => 'ambos',
'chat_log' => 'chat log',
'chat_notepad' => 'bloc de notas',
'chat_save' => 'guardar',
'chat_send' => 'enviando...',
'captured' => 'capturado',
);

$txt['SMFChess_Challenge'] = array(
'request' => 'pedir un desafio',
'part1' => 'Parte 1',
'part2' => 'Parte 2',
'searchlabel' => 'escribe el nick del usuario a quien querés pedir un desafio',
'createquickmatch' => 'crear un "partido rápido" ',
'createquickmatch_i' => 'crear un "partido rápido"<br/>o elejir alguno',
'goback' => 'atras',
'tochallenge' => 'a',
'c_msg' => 'mensaje del desafio',
'c_msg_i' => 'enviar un mensaje junto con el desafio',
'c_msg_limit' => 'Max 100; caracteres restantes',
'moreinfo' => '[mas info]',
'c_moveclock_i' => 'jugar con limite de tiempo<br />si es menos de 1 hora, los 2 jugadores deben estar en linea para comenzar',
'joinquickmatch' => 'unirse al "partido rápido" ',
'clickjoin' => 'click para unirse',
'c_variation' => 'usar variantes',
'c_variation_i' => 'jugar al ajedrez con diferentes reglas',
'variant' => 'variante',
'cancel' => 'cancelar desafio',
);

$txt['SMFChess_moveclock'] = array(
'0' => 'sin temporizador',
'60' => '1 minuto',
'300' => '5 minutos',
'86400' => '1 dia',
'259200' => '3 dias',
);

$txt['SMFChess_variation'] = array(
'0' => 'clasico',
'1' => 'dark chess',
'2' => 'extinction',
'3' => 'chess960',
);

$txt['SMFChess_variation_i'] = array(
'0' => '',
'1' => 'Dark Chess is a devious and interesting variant of chess, in which the battlefield is covered by fog of war.<br />All of your opponent\'s pieces are invisible unless when threatened by one of your own.<br />The goal in Dark Chess is simply to capture the enemy king.<br /><br />There is no check or checkmate, so be sure to keep your king safe since he can be captured at any time.<br /><br /><a href=\"http://en.wikipedia.org/wiki/Dark_Chess\" target=\"_blank\">[Wikipedia]</a>',
'2' => 'In Extinction, players have to capture all of their opponent\'s pieces of one particular type.<br />Losing your King, Queen, both Rooks, Both Bishops, Both Knights or all eight pawns will result in defeat.<br />Check and checkmate do not apply.<br />The King can be captured at any time.<br /><br /><a href=\"http://en.wikipedia.org/wiki/Extinction_chess\" target=\"_blank\">[Wikipedia]</a>',
'3' => 'Chess960, or Fischer Random Chess is a chess variant where their are 960 different initial chess positions avaliable.<br /><br /><a href=\"http://en.wikipedia.org/wiki/Chess960\" target=\"blank\">[Wikipedia]</a>',
);

$txt['SMFChess_variation_w'] = array(
'0' => '',
'1' => 'Due to variant "Dark Chess"; Export, Move History and Chat log have partially disabled till end of game',
'2' => '',
'3' => '',
);
?>




ChessXml.spanish.php

Code: [Select]
<?php

//SMFChessXml Language File
//ChessXml.spanish.php

$txt['SMFChessXml'] = array(
'turnheader_w' => 'ganadorr',
'turnheader_t' => 'turno',
'boarddeleted' => 'tablero borrado',
'chatcleared' => 'chat limpiado',
'vs' => 'Vs',
'coloursuggest' => 'click para sugerencia',
'yours' => 'Yours',
'elo' => 'elo (grositud)',
'close' => '[cerrado]',
'notfound' => 'no existe',
);

$txt['SMFChess_status'] = array(
=> 'sin empezar',
=> 'en progreso',
=> 'comprobar',
=> 'jaque mate',
=> 'pausado',
=> 'jaque mate*',
'UNK' => 'desconocido',
);

$txt['SMFChess_control'] = array(
'moveexpired' => 'error en el movimiento de tu oponente.',
'undo1' => '%s te pregunta si puede deshacer su último movimiento',
'undo2' => '%s no ha respondido a la solicitud de deshacer',
'notstarted1' => 'por favor, hacé tu movimiento para que el partido comience',
'notstarted2' => 'el partido no ha comenzado aun',
'draw1' => '%s quiere dar por empatado este partido',
'draw2' => '%s no ha respondido al pedido de empate',
'resign1' => '%s quiere abandonar este partido',
'resign2' => '%s no ha respondido al pedido de abandono',
'unk' => 'desconocido',
'accept' => 'aceptar',
'reject' => 'rechazar',
'or' => 'o',
'yousure' => 'estás seguro?',
'click' => 'click',
'here' => 'aqui',
'acceptwin' => 'para aceptar ganar',
);

$txt['SMFChess_pm'] = array(
'move_sub' => 'te toca jugar!',
'move_msg' => 'ya hice mi movimiento del ajedrez.',
'admin_move_sub' => 'ya moví en nuestro partido de ajedrez',
'admin_move_msg' => 'como admin, me obligaron a participar en tu partido.',
'undo_sub' => 'solicitud de deshacer',
'undo_msg' => 'quiero deshacer mi último movimiento.',
'draw_sub' => 'solicitud de empate',
'draw_msg' => 'pido un empate.',
'resign_sub' => 'renuncio a nuestro partido de ajedrez',
'resign_msg' => 'acabo de renunciar a nuestro pasrtido.',
'followlink' => '

para mas info, seguir el siguiente link ..
'
,
);

$txt['SMFChessXml_errors'] = array(
'nousers' => 'usuarios no encontrados',
'notfound' => 'no encontrado',
'illegalmove' => ' movimiento no permitido',
'notyourmove' => 'no es tu movimiento',
'noaccess' => 'no tenés acceso a algunos comandos',
'failed' => 'error',
'bothplayers' => 'no se puede comenzar hasta que tu oponente esté en linea y viendo el tablero',
);

$txt['SMFChessXml_log'] = array(
'stalemate' => 'partido finalizado por estancamiento',
'checkmate' => 'partido finalizado por jaque mate : %s es el ganador',
'moved' => '%s ha movido : %s',
'undo_r' => 'deshacer pedido de %s',
'undo_a' => 'deshacer aceptado! : turno de %s ',
'undo_f' => 'no deshacer!, es tu turno',
'draw_r' => 'pedido de empate por %s',
'resign' => 'partido finalizado por abandono : %s es el ganador',
'timeout' => 'partido finalizado por Timeout : %s es el ganador',
'a_moveadd' => 'Admin %s : Move added : %s',
'a_checkmate' => 'Admin %s : partido finalizado por jaque mate : %s es el ganador',
'a_stalemate' => 'Admin %s : partido finalizado por estancamiento',
);

$txt['SMFChessChat'] = array(
'disabled' => 'chat de ajedrez deshabilitado.',
'reenable' => 'habilitar',
'nothingsaid' => 'sin mensajes',
);

?>
Title: Re: SMFChess Mod
Post by: psynx on November 24, 2008, 03:40:01 AM
hello,

this is really such a great mod! but i have some suggestions.

i have smf shop mod and this chess mod in my forum, could you make it possible that if someone win a challenge, he/she gains credits too? or a players can put a bet on their game using his/her credits?


Title: Re: SMFChess Mod
Post by: quiz_modder on November 25, 2008, 06:42:47 PM
I have the beta of this installed on SMF 2b4. The leaderboard doesn't seem to be working and when I tried to force it to recreate I ended up with a blank leaderboard. Any updates to the beta yet?

Thanks
Title: Re: SMFChess Mod
Post by: psynx on November 26, 2008, 04:01:55 AM
hello,

i hope someone can help me. just a few suggestion.

is there a way we can stop the "Your Move" Private Message sent to a player when he/she is online? because i have active players in my forum complaining if they can get rid of this Private Message? i mean the 'your move' private msg be only sent to players who are not online.
Title: Re: SMFChess Mod
Post by: pucola001 on November 27, 2008, 12:39:23 PM
please help me i have a problem!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

when i wanth to play chess on my forum
http://euroblic.info/forumi/index.php?action=chess;id=308

i have a problem with entering in the game i see this
Method Not Implemented

GET to /forum/index.php not supported.


and i dontknow what is that meen
Title: Re: SMFChess Mod
Post by: pucola001 on November 28, 2008, 04:17:29 AM
please help me i have a problem
Title: Re: SMFChess Mod
Post by: Sabre™ on December 19, 2008, 10:14:57 PM
Hi pucola001,
There is no need to enlarge your text like in your previous post, as noone here is blind. :)
Some may take it the wrong way, and think that you think your problem is more needing than the other few hundred that post here everyday.
Someone that knows how to assist you, may do so if they choose.
Until then, it would help if you read [THIS] (http://docs.simplemachines.org/index.php?topic=494), and follow its simple instructions.

Good luck :)


i have smf shop mod and this chess mod in my forum, could you make it possible that if someone win a challenge, he/she gains credits too? or a players can put a bet on their game using his/her credits?

I like that idea too psynx.
When feeble has time to offer once again, then be sure to bring it back up :)
Title: Re: SMFChess Mod
Post by: BipSmith on December 27, 2008, 06:02:37 PM
I LOVE THE NEW CHESS FOR BETA 4! Thank you!
Title: Re: SMFChess Mod
Post by: quiz_modder on December 27, 2008, 06:57:14 PM
I LOVE THE NEW CHESS FOR BETA 4! Thank you!

Does the leaderboard work on yours? Mine doesn't work.
Title: Re: SMFChess Mod
Post by: thekid65 on December 28, 2008, 07:46:31 AM
I have the beta of this installed on SMF 2b4. The leaderboard doesn't seem to be working and when I tried to force it to recreate I ended up with a blank leaderboard. Any updates to the beta yet?

Thanks




Same problem here, as far as I know, no new updates. Edit: Actually, my leaderboard works OK for some members, but not all. I cant pinpoint why.

hello,

i hope someone can help me. just a few suggestion.

is there a way we can stop the "Your Move" Private Message sent to a player when he/she is online? because i have active players in my forum complaining if they can get rid of this Private Message? i mean the 'your move' private msg be only sent to players who are not online.

Ticking the box in chess preferences to not send pm's didnt work for me either (I assume you've tried that) so what I did was to make a "rule" in my pm preferences to automatically delete messages with "your move" in the subject line. Problem solved. It got quite annoying when I had 4-5 games going on at once, and couldnt stop those pm's.
Title: Re: SMFChess Mod
Post by: hofdiggity on December 28, 2008, 06:12:55 PM
Hats off to Feeble on such a great addition to a web community.  We, ss-hof.com, are also running the demo on beta 4.  It is a big hit in our community.  Though you will not see many matches played, it is because we recently upgraded from scratch to 2.0 beta 4.

Though not a big deal, our leaderboard is not working as well.

Awesome job on a fine product!
Title: Re: SMFChess Mod
Post by: BipSmith on December 30, 2008, 01:34:09 PM
I LOVE THE NEW CHESS FOR BETA 4! Thank you!

Does the leaderboard work on yours? Mine doesn't work.

Mine works. I upgraded my forum, installed the new chess, and it worked with my old database.
Title: Re: SMFChess Mod
Post by: HellBent on December 30, 2008, 01:48:34 PM
Hi,

I installed this on our forum many months ago and it works absolutely fine. However, one day, the challenge feature just stopped working.

I have since installed the new package on two freshly installed forums and have the same problem.

The challenge feature doesn't work on those forums either.

Has anyone found a fix for this particular problem?
Title: Re: SMFChess Mod
Post by: ctl_dog on January 05, 2009, 05:58:07 PM
Does the version for 2.0 exist yet?

It's a few pages back in this thread...  here, check this post...
http://www.simplemachines.org/community/index.php?topic=225742.msg1728146#msg1728146

Thanks!!!! I hadn't found it, this was a real time saver. Install had one "test failed" line in subs.php, I just added it manually and it seems to be working.
Title: Re: SMFChess Mod
Post by: edi67 on January 06, 2009, 11:02:11 AM
everything work ok in my smf 2 beta 4 but GAME when i try to make my move remain always LOADING.

Some solution ?
Title: Re: SMFChess Mod
Post by: GMCbris on January 13, 2009, 08:23:00 AM
trying this one now - thanks
Title: Re: SMFChess Mod
Post by: weightman on January 21, 2009, 07:58:47 PM
I get this error every once and a while:

8: Undefined index: seeChat
File: /home/xxxxxx/public_html/smf/Sources/Chess.php
Line: 602
Title: Re: SMFChess Mod
Post by: 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.
Title: Re: SMFChess Mod
Post by: busterone on January 31, 2009, 10:57:13 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 ?
Title: Re: SMFChess Mod
Post by: Looking on January 31, 2009, 11:01:15 PM
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.
Title: Re: SMFChess Mod
Post by: busterone on January 31, 2009, 11:12:41 PM
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.
Title: Re: SMFChess Mod
Post by: machmanx on February 09, 2009, 06:14:46 PM
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 ;)
Title: Re: SMFChess Mod
Post by: Looking on February 09, 2009, 08:50:21 PM
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.
Title: Re: SMFChess Mod
Post by: FreakingOut on February 15, 2009, 09:31:31 AM
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:

Quote
ezBlock 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? (http://sweetsensationshome.com/forum/index.php?action=chess)

Help!!!  I'm...

FreakingOut!  :)



What am I doing wrong?!?
Title: Re: SMFChess Mod
Post by: Morrell on February 15, 2009, 04:35:34 PM
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
Title: Re: SMFChess Mod
Post by: Godsongz on February 17, 2009, 11:19:37 AM
You have to grant permissions for it.  ACP | Permissions | Regular Members - Modify | Chess
Title: Re: SMFChess Mod
Post by: EclecticHoobajoo on February 18, 2009, 08:17:04 PM
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:

Code: [Select]
// 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.
Title: Re: SMFChess Mod
Post by: EclecticHoobajoo on February 18, 2009, 10:51:58 PM
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

Code: [Select]
   // 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:

Code: [Select]
// 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.
Title: Re: SMFChess Mod
Post by: 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'])

Title: Re: SMFChess Mod
Post by: John_B on February 19, 2009, 11:49:31 AM
Just gave your SMFChess a try on 1.1.8 and it worked great  :D
Thanks
Title: Re: SMFChess Mod
Post by: EclecticHoobajoo on February 20, 2009, 01:38:17 PM
Thanks!   Looks like that's doing the trick.  :)



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

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


Title: Re: SMFChess Mod
Post by: busterone on February 20, 2009, 04:48:39 PM
Quite welcome.   :)
Title: Re: SMFChess Mod
Post by: thecampaign on February 22, 2009, 03:09:27 PM
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!
Title: Re: SMFChess Mod
Post by: Immortalk on March 19, 2009, 11:25:52 AM
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.
Title: Re: SMFChess Mod
Post by: manixless on March 21, 2009, 02:35:23 AM
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:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg27.imageshack.us%2Fimg27%2F5992%2Ftablero.png&hash=b223fccc21aeaba1caa064b1a4980625)

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
Title: Re: SMFChess Mod
Post by: gfa-skyranger on April 03, 2009, 06:04:36 PM
Is this Mod multiplayer ?
Does it work for SMF 2.0 RC1 ?
Does it work with any point- / Cashsystem for SMF ?
Title: Re: SMFChess Mod
Post by: N3RVE on April 13, 2009, 06:43:28 AM
You can install it to find out ;)

-[n3rve]
Title: Re: SMFChess Mod
Post by: GPTvn on April 13, 2009, 08:01:40 AM
Waiting for 2.0rc1 version support
Title: Re: SMFChess Mod
Post by: Godsongz on April 19, 2009, 03:45:51 PM
Is this Mod multiplayer ?
Does it work for SMF 2.0 RC1 ?
Does it work with any point- / Cashsystem for SMF ?


Yes
Yes
No
Title: Re: SMFChess Mod
Post by: kota069 on April 21, 2009, 09:17:05 PM
Is 1.0 still the latest version as indicated at the dwnld point?

It would like "1.1" would be later than 1.0 - and 1.1 is 6K larger.

Which one is ACTUALLY the latest?
Title: Re: SMFChess Mod
Post by: alexandervba on April 22, 2009, 06:21:47 PM
I tried to install this and no errors were found. But I cant seem to accept a match? I challenged someone. He clicked Join this game. But when I refresh the page, it sais game status: not started.

How do I start?
Title: Re: SMFChess Mod
Post by: Italian81 on April 26, 2009, 09:19:08 AM
Great mod!!  Just one MAJOR problem, when you lose your elo doesn't change.  Anyway to fix this?
Title: Re: SMFChess Mod
Post by: andy40 on April 30, 2009, 05:06:03 AM
hi i tried to install this and got this message below does anyone no why

Execute Modification ./Themes/default/index.template.php Test failed

i am using default theme core
Title: Re: SMFChess Mod
Post by: tfs on April 30, 2009, 11:07:57 AM
Is this Mod multiplayer ?
Does it work for SMF 2.0 RC1 ?
Does it work with any point- / Cashsystem for SMF ?


Yes
Yes
No

Do you have an example of this working on 2.0 RC1?
Title: Re: SMFChess Mod
Post by: tfs on May 01, 2009, 11:28:45 PM
Anyone?!?  <crickets>

I'm dying to get this mod working on 2.0.  Willing to pay...
Title: Re: SMFChess Mod
Post by: divecall on May 02, 2009, 01:34:49 PM
Here is a possible way, that this Mod will work with dilberMC (well, it works for me...)

You need to install the mod. Than you need to edit manually the "index.template.php" what is in the DilberMC-Theme.

This are the changes:
Find:

Quote
'admin', 'ban', 'boardrecount'



Add after:

Quote
, 'chess_admin'




Find:

 
   
Quote
if ($context['current_action'] == 'theme')
      $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';




Add after:

 
   
Quote
// Begin SMFChess code
   if ($context['current_action'] == 'chess')
      $current_action = 'chess';
   // End SMFChess code





Find:

 
            
Quote
   <a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>

Add after:

 
Quote
//Begin SMFChess code
   if ($context['user']['is_logged'] && $context['allow_chess'])      
   echo'
            <td align="center" class="menubg' , $current_action == 'chess' ? '2' : '' , '">
               <a href="', $scripturl, '?action=chess">' , $txt['SMFChess'] , ' ', $context['user']['chess_turn'] != 0 ? '[<strong>!</strong>]' : '' , '</a>            
            </td>';
   //END SMFChess code

I hope, this will help...
Title: Re: SMFChess Mod
Post by: tfs on May 02, 2009, 08:39:44 PM
It's tempting to try, except that I'm using Core theme only.

It looks like the author of this mod hasn't posted here in six months.  Does anyone know if it's still supported or in development?
Title: Re: SMFChess Mod
Post by: andy40 on May 02, 2009, 08:41:13 PM
i am still waiting for a reply :(
Title: Re: SMFChess Mod
Post by: busterone on May 03, 2009, 01:26:56 AM
i am still waiting for a reply :(
What SMF version are you using?
Title: Re: SMFChess Mod
Post by: andy40 on May 03, 2009, 07:03:26 AM
hi version: SMF 1.1.8  but when i try to install it says  template failed
Title: Re: SMFChess Mod
Post by: N3RVE on May 03, 2009, 07:46:04 AM
If the test fails on any file, you need to make manual modification to that file.
See: How do I modify files? (http://www.simplemachines.org/community/index.php?topic=24110.0)

-[n3rve]
Title: Re: SMFChess Mod
Post by: andy40 on May 03, 2009, 07:47:46 AM
hi i know how to change them but what is it i need to change and what to?
Title: Re: SMFChess Mod
Post by: N3RVE on May 03, 2009, 07:51:11 AM
On the page of the mod (bottom right), they'd be a section where you can select ur version of SMF and submit it to the package parser for manual (un)install instructions.

-[n3rve]
Title: Re: SMFChess Mod
Post by: andy40 on May 03, 2009, 08:13:26 AM
ok thanks
Title: Re: SMFChess Mod
Post by: LLandL on May 03, 2009, 09:41:41 AM
Glad to see you finally got the go ahead mate :)
Its a great add to any site.

I got this error.

Execute Modification     ./Themes/default/index.template.php     Test failed

Can I still install the mod, and manually install the changes to only the index.template?

Or a complete manual install is needed?

EDIT:
I installed it anyway, and its working fine, without any errors..  So far.
I noticed that the users can see and access the settings button.
Is this standard?
How can I change this so only the admin can see and change this?

I get the same 'Test Failed' message. Did you just go ahead and click install and everything worked fine or did you also manually edit the index.template.php after the install?
Title: Re: SMFChess Mod
Post by: Italian81 on May 10, 2009, 10:39:24 AM
Great mod!!  Just one MAJOR problem, when you lose your elo doesn't change.  Anyway to fix this?

Hey Guys I asked this question weeks ago and still NO answer.  Can anyone tell me why ones "elo" is not affected when they lose?  When you win a game it goes up, however when you lose a game it stays the same.  This is a serious problem.  I would appreciate any help!!  Thanks guys.
Title: Re: SMFChess Mod
Post by: andy40 on May 10, 2009, 10:41:42 AM
can you make the writing a bit bigger i am having problems reading it :D
Title: Re: SMFChess Mod
Post by: Joe N on May 11, 2009, 10:42:54 AM
smf 2x?
Title: Re: SMFChess Mod
Post by: tfs on May 11, 2009, 10:57:04 AM
smf 2x?

Doesn't work with 2.0.  It appears to be abandonware.
Title: Re: SMFChess Mod
Post by: Joe N on May 11, 2009, 11:03:33 AM
doh
Title: Re: SMFChess Mod
Post by: andy40 on May 11, 2009, 12:20:06 PM
hi i asked this 11 days ago still no reply yet the questionis below i use 1.1.8

hi i tried to install this and got this message below does anyone no why

Execute Modification ./Themes/default/index.template.php Test failed

i am using default theme 
Title: Re: SMFChess Mod
Post by: Joe N on May 11, 2009, 12:31:02 PM
Install it then make parce the mod and add the code in  ;)
Title: Re: SMFChess Mod
Post by: andy40 on May 11, 2009, 12:35:00 PM
hi just looked at the parse files but there loads do i have to do them all it only fails on template?
Title: Re: SMFChess Mod
Post by: Joe N on May 11, 2009, 12:35:53 PM
hi just looked at the parse files but there loads do i have to do them all it only fails on template?

What over mods do you have?
Title: Re: SMFChess Mod
Post by: andy40 on May 11, 2009, 12:37:53 PM
hi got 24 other mods installed and dont want to install this and mess my site up
Title: Re: SMFChess Mod
Post by: Joe N on May 11, 2009, 12:39:53 PM
If you really want the mod, you will have to install it and add the extra coding in
Title: Re: SMFChess Mod
Post by: andy40 on May 11, 2009, 12:41:01 PM
do you mean just add the code for the but that fails the template and also if i install this when its failed on template will my site still work until i add the code?
Title: Re: SMFChess Mod
Post by: Joe N on May 11, 2009, 12:42:02 PM
yeah

But, do a backup before you install it as it has an error  ;)
Title: Re: SMFChess Mod
Post by: andy40 on May 11, 2009, 12:46:23 PM
ok thanks
Title: Re: SMFChess Mod
Post by: Joe N on May 11, 2009, 12:51:38 PM
Good Luck
Title: Re: SMFChess Mod
Post by: Italian81 on May 12, 2009, 05:36:23 PM
Great mod!!  Just one MAJOR problem, when you lose your elo doesn't change.  Anyway to fix this?

Hey Guys I asked this question weeks ago and still NO answer.  Can anyone tell me why ones "elo" is not affected when they lose?  When you win a game it goes up, however when you lose a game it stays the same.  This is a serious problem.  I would appreciate any help!!  Thanks guys.

This is for version 1.1.8

Is anyone else experiencing this problem.  Is there any resolution?  Thanks
Title: Re: SMFChess Mod
Post by: Sabre™ on May 14, 2009, 05:09:35 AM
I get the same 'Test Failed' message. Did you just go ahead and click install and everything worked fine or did you also manually edit the index.template.php after the install?

I manually edited the template mate
Attach your index.template.php if you require assistance with it :)
Title: Re: SMFChess Mod
Post by: andy40 on May 22, 2009, 08:33:07 PM
been trying to get this mod working for a while now and tonight i tried again after my update to 1.1.9 and installed first time
Title: Re: SMFChess Mod
Post by: andy40 on May 23, 2009, 09:58:28 AM
hi when someone trys to play a game it goes to a blank page does anyone know how to fix this?
Title: Re: SMFChess Mod
Post by: Joe N on May 23, 2009, 10:04:46 AM
hi when someone trys to play a game it goes to a blank page does anyone know how to fix this?

Whats your site?
Title: Re: SMFChess Mod
Post by: Joe N on May 23, 2009, 10:12:55 AM
hi when someone trys to play a game it goes to a blank page does anyone know how to fix this?

Whats your site?

can i pm it you ?

yeah
Title: Re: SMFChess Mod
Post by: andy40 on May 23, 2009, 11:19:19 AM
at the top of the page that goes blank it says this below does anyone know a fix

 http501 not implemented/http 505 version not supported
Title: Re: SMFChess Mod
Post by: andy40 on May 23, 2009, 07:17:39 PM
hi i take it no one knows why mine goes to a blank page
Title: Re: SMFChess Mod
Post by: andy40 on May 24, 2009, 06:46:43 PM
looks the support for this mod as gone i might aswell remove it from my forum as i dont know how to sort it
Title: Re: SMFChess Mod
Post by: Sabre™ on May 24, 2009, 09:28:43 PM
Yes, that may be the correct solution for now.
Just a couple questions before you do :)
Have you tried redownloading a fresh copy of the mod, uninstalling what you have now, and uploading the fresh copy?
Are you using a custom or default theme?
I take it youre installing this on an smf 1.x.x board, as it is not designed for smf 2 as of yet?
Are there any errors in your error log?
Im gathering it isnt possible for you to add a link to your site?  It is usually easier for help to be on the page(see the problem)

Sorry if youve already given the above info, I was just passing through and saw your multi posts lol ;)

Cheers :)
Title: Re: SMFChess Mod
Post by: andy40 on May 25, 2009, 03:21:45 AM
hi tried a new copy and yes its default and i get this error below when i click eccept and i can pm you a link to my site if you would like to look

Method Not Implemented

GET to /forum/index.php not supported.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request
Title: Re: SMFChess Mod
Post by: Joe N on May 25, 2009, 04:16:16 AM
Could you attach your index.php?
Title: Re: SMFChess Mod
Post by: Sabre™ on May 25, 2009, 04:31:40 AM
Try changing your file(s) permission to 777, if that doesn't work, ask your host if they have mod_security enabled.
You could try inserting this into your .htaccess file
Code: [Select]
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

You can read a little on mod_security [HERE] (http://www.askapache.com/htaccess/mod_security-htaccess-tricks.html).
Google is your friend also ;)

Hope this helps :)
Title: Re: SMFChess Mod
Post by: andy40 on May 25, 2009, 07:12:38 AM
all sorted not thanks to Sabre™  ;)
Title: Re: SMFChess Mod
Post by: Sabre™ on May 25, 2009, 08:20:12 AM
lmao ;D

Good job mate, glad you got it sorted :)
Title: Re: SMFChess Mod
Post by: machmanx on May 26, 2009, 12:20:42 PM
*sigh* search only gives me one result, so I'll ask my questions, even if they are repeats.  The following haven't been working since 2.0 beta 4 and is still not working as I have RC1-1...any fixes?  :-

-The leaderboard does not work

-Doesn't add up total wins and losses

-Errors occur when using the "undo" button
Title: Re: SMFChess Mod
Post by: tfs on May 26, 2009, 03:07:30 PM
*sigh* search only gives me one result, so I'll ask my questions, even if they are repeats.

I and a few others in here have tried contacting the author of this mod, but as far as I know nobody has succeeded. 
Title: Re: SMFChess Mod
Post by: busterone on May 26, 2009, 09:57:53 PM
The mod author has not been active since October of 2008.  I have had a few minor issues with it myself, but it doesn't get used anymore, so no big deal to me now.
Title: Re: SMFChess Mod
Post by: tfs on May 26, 2009, 10:25:28 PM
The mod author has not been active since October of 2008.  I have had a few minor issues with it myself, but it doesn't get used anymore, so no big deal to me now.

I just started my forum about two months ago, and have people who would LOVE to play some chess online with me, but I'm running SMF 2.0 RC1-1, so no go.  I have a hard time believing that someone who wrote a mod as sophisticated as this one would seemingly abandon it like this.  I wonder if something happened to feeble?

http://www.simplemachines.org/community/index.php?action=profile;u=37052 (http://www.simplemachines.org/community/index.php?action=profile;u=37052)

I actually setup a 1.18 forum UNDER my 2.0 forum where the chess mod will run, and if I could figure out a way to have someone logged into one forum be logged into the other I'd do it.  Then run SMFChess like an old BBS door program inside of SMF 1.1x running under SMF 2.  But eventually one must come to the conclusion that I'm getting a bit absurd about it, and I let it go.
Title: Re: SMFChess Mod
Post by: Antechinus on May 26, 2009, 10:28:55 PM
I want this for 2.0 myself. Hmmmm, unattended mod...........................
Title: Re: SMFChess Mod
Post by: busterone on May 26, 2009, 10:33:35 PM
The mod author has not been active since October of 2008.  I have had a few minor issues with it myself, but it doesn't get used anymore, so no big deal to me now.

I just started my forum about two months ago, and have people who would LOVE to play some chess online with me, but I'm running SMF 2.0 RC1-1, so no go.  I have a hard time believing that someone who wrote a mod as sophisticated as this one would seemingly abandon it like this.  I wonder if something happened to feeble?

http://www.simplemachines.org/community/index.php?action=profile;u=37052 (http://www.simplemachines.org/community/index.php?action=profile;u=37052)

I actually setup a 1.18 forum UNDER my 2.0 forum where the chess mod will run, and if I could figure out a way to have someone logged into one forum be logged into the other I'd do it.  Then run SMFChess like an old BBS door program inside of SMF 1.1x running under SMF 2.  But eventually one must come to the conclusion that I'm getting a bit absurd about it, and I let it go.
For a temp solution, that can be done. There are several topics here on how to make two different forum installations shared the same database. I have seen them, but I have not really read through them since I had no need for that. I have no idea where they are either, but I am sure the search should lead you to them.  That could be a workaround solution for you.   :)
Title: Re: SMFChess Mod
Post by: machmanx on June 01, 2009, 12:50:26 AM
Wow, I just noticed the inactive time. :(

It would've been nice if feeble left this mod in the care of another user, because it's a rule in these forums that other ppl cannot take over this mod unless given permission by the original author.

SMFChess ROCKS!  We need support!
Title: Re: SMFChess Mod
Post by: Bigguy on June 05, 2009, 09:29:15 PM
Give him more time to come back. :)
Title: Re: SMFChess Mod
Post by: Sabre™ on June 06, 2009, 03:27:12 AM
Give him more time to come back. :)

Indeed.
Life ventures often take priority (studies etc..), not always does absence equal abandoned ;)
Title: Re: SMFChess Mod
Post by: drhamza on June 12, 2009, 10:20:49 AM
is there a chance for developing this mod to work at smf 2.0 RC1

if that's already available, please give me a link for that
Title: Re: SMFChess Mod
Post by: Italian81 on June 12, 2009, 02:17:50 PM
The Chess mod is crap it can't even properly track elo....What a joke
Title: Re: SMFChess Mod
Post by: Paracelsus on June 12, 2009, 02:39:10 PM
The Chess mod is crap it can't even properly track elo....What a joke

I had a few members complaining about the Elo not being correctly calculated... do you have a better formula for Elo in PHP?
Title: Re: SMFChess Mod
Post by: Italian81 on June 12, 2009, 03:31:58 PM
Well it works great but you do not lose elo (points) when u lose a game (this needs fixed)......Everything else is perfect!!
Title: Re: SMFChess Mod
Post by: tfs on June 12, 2009, 06:22:02 PM
is there a chance for developing this mod to work at smf 2.0 RC1

if that's already available, please give me a link for that

It appears that this mod may have been abandoned.  The developer has not been heard from for a long time... that I am aware of.
Title: Re: SMFChess Mod
Post by: drhamza on June 13, 2009, 01:27:16 AM
i found this site using smf 2 beta 4 or something, and he's thanking feeble for the chess mod!!
apparently, our friend Paracelsus is one of the developers but he's not answering :)

are there any multiplayer chess scripts that i can connect them with smf?
Title: Re: SMFChess Mod
Post by: Paracelsus on June 13, 2009, 04:03:41 AM
i found this site using smf 2 beta 4 or something, and he's thanking feeble for the chess mod!!
apparently, our friend Paracelsus is one of the developers but he's not answering :)

are there any multiplayer chess scripts that i can connect them with smf?

? I'm not a developer, I can't much on programming, sorry. But yes, Chess MOD works perfect in my SMF 1.1.9. ;)
Title: Re: SMFChess Mod
Post by: drhamza on June 13, 2009, 06:20:05 AM
oh, i see

i tried to install it in a fresh copy of 2 rc1-1
well, it seems the only problem is minor changes in certain expressions, for example (i don't recall the functions) fontSize became font_size... pm => array  became pm_read or pm_write.......

i would really appreciate it if someone can fix these minor differences and upload the new version,  i don't think feeble would be too upset because he's already abandoned chess mod :D

i would've done it myself, but i'm checking php 101 lessons now :D
Title: Re: SMFChess Mod
Post by: akbora on July 04, 2009, 05:57:43 PM
Yes I tried it too by manuel but there are lot of error.

Why no update to 2..x
Title: Re: SMFChess Mod
Post by: Samker on July 05, 2009, 01:53:13 AM
Yes I tried it too by manuel but there are lot of error.

Why no update to 2..x

I also don't know why developer don't want to Upgrade this Mod to v. 2.0?!

IT IS A PITY...
Title: Re: SMFChess Mod
Post by: MATTEK on July 05, 2009, 01:57:03 AM
With all of the writers here I'm sure someone should be able to write a new one.
Title: Re: SMFChess Mod
Post by: Yakon on July 21, 2009, 02:05:03 AM
How install this mod on 1.1.10?
Title: Re: SMFChess Mod
Post by: lurkalot on September 23, 2009, 03:19:28 PM
I've had this mod (version 01) installed for ages now, and now we want to use it it doesn't seem to work properly.  Would this be since I upgraded to SMF 1.1.10?

The problem is, although everything seems to be working my opponents can't move the pieces, but I can as admin.  Again would this be due to using it on 1.1.10?  I notice on the download page using the parser, that neither of these 1.0 OR 1.1 versions are compatible with 1.1.10

Anyone got any ideas how to fix this please.
Title: Re: SMFChess Mod
Post by: drhamza on September 23, 2009, 05:21:28 PM
maybe smf team can have a look at this mod and let another guy be in charge of it
Title: Re: SMFChess Mod
Post by: Antechinus on September 24, 2009, 01:05:57 AM
I have this mod running with 1.1.10 and it seems fine, although I was not running 1.1.10 when it was installed. Are you getting any errors in your admin log?
Title: Re: SMFChess Mod
Post by: lurkalot on September 24, 2009, 02:58:42 AM
I have this mod running with 1.1.10 and it seems fine, although I was not running 1.1.10 when it was installed. Are you getting any errors in your admin log?

Antechinus, thanks I also installed this several versions of SMF ago.  not getting any errors in my error log.  I'll see if I can get some more players, and see if the same thing is happening to all.   
Title: Re: SMFChess Mod
Post by: Joe N on September 24, 2009, 02:40:51 PM
smf 2.0 rc1.2 Please!
Title: Re: SMFChess Mod
Post by: Antechinus on September 25, 2009, 01:17:22 AM
It isn't worth writing anything for RC1 at this stage. Better to wait for RC2.
Title: Re: SMFChess Mod
Post by: drhamza on September 25, 2009, 04:32:12 AM
p.s: feeble (the guy who created the mod) wasn't active since somewhere in 2008
Title: Re: SMFChess Mod
Post by: lurkalot on September 25, 2009, 05:33:19 AM
I have this mod running with 1.1.10 and it seems fine, although I was not running 1.1.10 when it was installed. Are you getting any errors in your admin log?

Antechinus, thanks I also installed this several versions of SMF ago.  not getting any errors in my error log.  I'll see if I can get some more players, and see if the same thing is happening to all.   


Just a quick update to my post.  All seems to be working now.  Must have been a glitch for some reason.  Sorry for wasting anyone's time.  Thanks.
Title: Re: SMFChess Mod
Post by: dand on October 22, 2009, 09:54:17 AM
Won't install on 1.1.10... :-(
Any help? Please...
Title: Re: SMFChess Mod
Post by: magnitude2007 on October 22, 2009, 12:54:25 PM
how to enable this mod i installed and paste the 3 file into source directory now i dont see any thing related to chess in my forum
Title: Re: SMFChess Mod
Post by: busterone on October 22, 2009, 05:33:20 PM
Are you using the default core, or a different theme? This mod will only install on the core. You must make the manual edits to any other theme.
Title: Re: SMFChess Mod
Post by: digger on November 11, 2009, 08:34:29 PM
SMFChess 2.0beta install on SMF2 RC2 without errors, but have some Curve related issues. Can anybody try to fix it?
Title: Re: SMFChess Mod
Post by: busterone on November 11, 2009, 09:40:42 PM
SMFChess 2.0 beta ?   where did you get that?  This mod has not been updated for 2.0.
Title: Re: SMFChess Mod
Post by: digger on November 11, 2009, 09:47:44 PM
SMFChess 2.0 beta ?   where did you get that?  This mod has not been updated for 2.0.

This mod was been updated for SMF2. It was published in this or old tread.

Package attached.
Title: Re: SMFChess Mod
Post by: busterone on November 11, 2009, 09:55:31 PM
Curious. It is not on this mod's download page.
http://custom.simplemachines.org/mods/index.php?mod=1102 (http://custom.simplemachines.org/mods/index.php?mod=1102)
I have been watching for an update.
I haven't tried it so I can't help there, but I will attempt this on rc1.2. I am not going to rc2 until the mods I am using are updated for it.

good luck.
Title: Re: SMFChess Mod
Post by: tfs on November 11, 2009, 11:12:17 PM
Very curious.  Feeble was from Sydney, Australia, but the beta package includes Russian language files, and files with dates from only two days after Feeble's last official release (which did not have Russian language files).

Perhaps there's a Russian chess player/programmer that is updating things and back-dating the files...
Title: Re: SMFChess Mod
Post by: digger on November 12, 2009, 04:42:20 AM
Very curious.  Feeble was from Sydney, Australia, but the beta package includes Russian language files, and files with dates from only two days after Feeble's last official release (which did not have Russian language files).

Perhaps there's a Russian chess player/programmer that is updating things and back-dating the files...

2Beta was published by Feeble over one year ago - http://www.simplemachines.org/community/index.php?topic=225742.msg1728146#msg1728146
I have add Russian lang files into this package.
Title: Re: SMFChess Mod
Post by: drhamza on November 12, 2009, 08:20:44 AM
can it be fixed to work with RC2?
Title: Re: SMFChess Mod
Post by: TurtleKicker on November 12, 2009, 03:01:14 PM
can it be fixed to work with RC2?

Seconded. I love this mod and would like to migrate to SMF2 now that RC2 is out.
Title: Re: SMFChess Mod
Post by: busterone on November 12, 2009, 04:46:41 PM
I can confirm that it works well on RC 1.2.  I will play with it on a test RC2 site, but I am not that good of a coder myself.  Would be nice for Feeble to return and update it himself.  :)
Title: Re: SMFChess Mod
Post by: tfs on November 16, 2009, 02:46:56 AM
I'm running the SmfChess Beta-2 (linked above) under 2.0 RC2 and it's working satisfactorily.  There's a couple of visible glitches, but not much.  I've found it best to turn on the "Set Menu Bar:" to custom in the Chess Admin settings.  Now I just need to figure out how to get rid of the duplicate breadcrumbs line and it won't look bad at all.
Title: Re: SMFChess Mod
Post by: tfs on November 18, 2009, 06:20:22 PM
While it's not OK to use this mod as a base for releasing a different mod, it's OK to modify it for private use, as long as it's not distributed.  That's my understanding of it anyway, and I'd appreciate any feedback on that subject.

The story so far: Feeble released a SMF 2.x version of this mod over a year ago (As a beta), and then he disappeared.  Currently, SMFChess 2.0 Beta1 works on SMF 2.0 RC2 Curve theme, except for some visual glitches.  I don't have the expertise to fix the problems, but I'm desperate for a chess mod.  Currently I'm using it as-is, and it's not bad.

I'd like to know if there's anyone out there who's a chess player, and also a PHP programmer, who'd like to help me to update Feeble's 2.x version of SMFChess to use on our own forums?  NOT for distribution!  For use by me and you only.  My contribution would be as your alpha/beta tester.  Also I'd provide a private forum(s)/server(s) to test on, where you'd have all access EXCEPT for PHPMyAdmin, which I can't give without giving my own admin password.

Title: Re: SMFChess Mod
Post by: Sabre™ on November 18, 2009, 07:41:01 PM
I'm sure someone will update the mod to function as designed with smf2. I also plan to once I've had a good look through RC2.
If nobody has fixed these 'glitches' that are spoken of before I've finished, then I'll post my update here for all until/unless asked to remove it.
This mod was offered free to the public by Feeble, so I'm sure he wouldn't mind it being updated in his absence.
Although I understand your intention to 'not step on anyones feet', asking for assistance with a public/free mod for yourself and nobody else, seems ridiculous, unless you write your own from scratch.
You could always ask for somebody to create you one [PAID], but you're in the wrong section for that, look [HERE] (http://www.simplemachines.org/community/index.php?board=50.0) instead.
Title: Re: SMFChess Mod
Post by: digger on November 19, 2009, 12:52:59 AM
Now I just need to figure out how to get rid of the duplicate breadcrumbs line and it won't look bad at all.

Remove

Code: [Select]
<!-- The Linktree -->
<table width="100%" cellpadding="3" cellspacing="0"><tr><td valign="bottom">', theme_linktree(), '</td></tr></table>

from Chess.template.php
Title: Re: SMFChess Mod
Post by: tfs on November 19, 2009, 01:24:38 AM
Remove

Code: [Select]
<!-- The Linktree -->
<table width="100%" cellpadding="3" cellspacing="0"><tr><td valign="bottom">', theme_linktree(), '</td></tr></table>

from Chess.template.php

Thank you so much!  It would have taken me for ever to find that.  It looks good.  To tell you the truth, this seems to run very well on SMF 2.0 RC2 with Curve.  One other thing it has an issue with is that it no longer puts a number (n) next to the "Chess" menu to indicate how many games you have where it's your move.  But it does still post a message to tell you that, which gets the job done.
Title: Re: SMFChess Mod
Post by: drhamza on November 19, 2009, 01:32:48 AM
you mean if i install the beta version now, and remove the lines digger referred to, it'll work?
thanks guys
Title: Re: SMFChess Mod
Post by: Paracelsus on November 19, 2009, 10:22:18 AM
I'm sure someone will update the mod to function as designed with smf2. I also plan to once I've had a good look through RC2.
If nobody has fixed these 'glitches' that are spoken of before I've finished, then I'll post my update here for all until/unless asked to remove it.
This mod was offered free to the public by Feeble, so I'm sure he wouldn't mind it being updated in his absence.
Although I understand your intention to 'not step on anyones feet', asking for assistance with a public/free mod for yourself and nobody else, seems ridiculous, unless you write your own from scratch.
You could always ask for somebody to create you one [PAID], but you're in the wrong section for that, look [HERE] (http://www.simplemachines.org/community/index.php?board=50.0) instead.

Besides the "glitches", I believe the MOD would need an update on the "Elo rating" (many of our members have reported that it doesn't really work as supposed to)... if you're wondering on new features, I think a tournament ladder would be a nice addition. ;)
Title: Re: SMFChess Mod
Post by: tfs on November 19, 2009, 12:28:53 PM
you mean if i install the beta version now, and remove the lines digger referred to, it'll work?
thanks guys

It'll work as-is.  Removing those lines just removes a duplicate link-tree, which is not a show stopper.

I was unaware of the beta version until a few days ago when Digger mentioned it in a post upthread.  Up until now I have actually installed a 1.x version of SMF in a sub-domain of my 2.0 forum "chess.subdomain.com" so that I could run some chess games.  But I was very desirous to run it on my live forum.

So, since discovering that there is a 2.x beta of SMFChess, I have since installed the chess mod on my live SMF 2.0 RC2 (Curve) forum.  The only two tweaks I've done so far is to set the "Set Menu Bar:" to "custom" in the Chess Admin settings, which makes the chess menus look better, and to remove the duplicate linktree as advised above by Digger.  It seems to be working OK, though Paracelsus indicated that there's a problem with the "Elo rating."

Another thing that doesn't work is when you login to the forum it used to say next to the "Chess" menu how many games required your attention.  Such as "Chess[2]" for a case where you have two games waiting for your move.  That no longer works.

Title: Re: SMFChess Mod
Post by: drhamza on November 22, 2009, 09:44:01 AM
cool, thanks a lot :D  i've installed it and the members have already played a couple of games ;D

as already mentioned, i guess there is a problem in the top players and the "leaderboard"... which i guess paracelsus referred to it as elo, right?
and the other problem is if there were current games running, like the my messages [00] thingy

soooo, i'm not a programmer or i would have helped :(, anyhow, any idea about solving this
Title: Re: SMFChess Mod
Post by: drhamza on November 22, 2009, 10:56:22 AM
aha, another thing, the chat on the bottom, how can i control its location, i would like to have it below the A VS B ...
i know i'm being picky, sorry, and thanks for your help :D
Title: Re: SMFChess Mod
Post by: drhamza on November 26, 2009, 12:07:16 AM
i'm facing this problem in CHALLENGE... it used to view a list of users when you insert a couple of letters... like drh --> views drhamza... now it doesn't, and i can't start a challange, any idea please :(
Title: Re: SMFChess Mod
Post by: MATTEK on November 27, 2009, 11:29:10 AM
I'm unable to install the chessblock correctly. I'm connected with my FTP now. Do I unzip the folder before uploading the images and do I upload them to the chess package?

EDIT: I've uploaded the unzipped package to my forum root. Now the instrcutions tell me to insert a certain code in a PHP block. Where can I find the right PHP block that this needs to be inserted to?
Title: Re: SMFChess Mod
Post by: busterone on November 27, 2009, 04:49:16 PM
Upload the unzipped package to your ./packages folder, not your root. Then install it through your package manager in admin.
Title: Re: SMFChess Mod
Post by: MATTEK on November 27, 2009, 04:55:30 PM
The entire mod or chess block? I need the images installed, not the mod. The mod works fine. Every time I upload the unzipped chessblock to my package directory nothing changes.
Title: Re: SMFChess Mod
Post by: busterone on November 27, 2009, 05:08:04 PM
Sorry. I misread your post. The chess block is for a portal block from what I get out of reading the instructions. The code you insert into a block is what you would insert into a custom PHP block in any of the portal mods (the mod page says Tiny Portal, but probably will work with the others as well). I have not ever used it myself. Sorry about the misunderstanding. :)
Title: Re: SMFChess Mod
Post by: MATTEK on November 27, 2009, 05:10:39 PM
Back to the original question: Where can I find the custom php block? Modify Themes or through my FTP?
Title: Re: SMFChess Mod
Post by: busterone on November 27, 2009, 05:16:44 PM
It is part of the portal admin IF you have a portal installed. It will be in the admin control panel. Do you have Tiny Portal installed? The mod was written for it specifically. It may be made to work with Simple Portal as well, I have not tried.
Title: Re: SMFChess Mod
Post by: MATTEK on November 27, 2009, 05:34:07 PM
Wow. I'm starting to hate running a website. This does not work. I added a custom php block, entered the code and nothing happens.
Title: Re: SMFChess Mod
Post by: busterone on November 27, 2009, 09:46:30 PM
That block code was written for 1.1.x.
I got an error on RC1.2 when I attempted it.

Here is an alternate block code that will work for either 1.1.x or 2.0
create a custom html block instead of php- insert the code below, changing yourdomaingoeshere to your domain.

Code: [Select]
<img src="/chessblock/main.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess">My Chess Stats</a><br />
<img src="/chessblock/challenge.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=challenge">Challenge</a><br />
<img src="/chessblock/current.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=current">Current Matches</a><br />
<img src="/chessblock/finished.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=finished">Finished Matches</a><br />
<img src="/chessblock/leaderboard.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=leaderboard">Leaderboard</a><br />
Title: Re: SMFChess Mod
Post by: mghome59 on November 29, 2009, 08:11:51 PM
Hi ,


When I try to make any change on "Chess Settings" I got this error :

An Error Has Occurred!
The database value you're trying to insert does not exist: value

SMF 2.0 RC2 fresh install.

Any ideea ?
Thanks
Title: Re: SMFChess Mod
Post by: MATTEK on November 29, 2009, 08:40:10 PM
That block code was written for 1.1.x.
I got an error on RC1.2 when I attempted it.

Here is an alternate block code that will work for either 1.1.x or 2.0
create a custom html block instead of php- insert the code below, changing yourdomaingoeshere to your domain.

Code: [Select]
<img src="/chessblock/main.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess">My Chess Stats</a><br />
<img src="/chessblock/challenge.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=challenge">Challenge</a><br />
<img src="/chessblock/current.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=current">Current Matches</a><br />
<img src="/chessblock/finished.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=finished">Finished Matches</a><br />
<img src="/chessblock/leaderboard.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=leaderboard">Leaderboard</a><br />

Hey man, I got this error with that code.
Title: Re: SMFChess Mod
Post by: mghome59 on November 29, 2009, 09:02:53 PM
create custom html block ;) 
Title: Re: SMFChess Mod
Post by: busterone on November 29, 2009, 09:17:19 PM
Yep, your image shows that you inserted that code into a custom php block. The code I posted is straight html. Insert it into a custom html block, and it will work.   :)
Title: Re: SMFChess Mod
Post by: mghome59 on November 29, 2009, 09:21:27 PM
Yes but on 2.0 RC2 only the first link its ok. (?action=chess). The nexts redirect me to login page. :)
Title: Re: SMFChess Mod
Post by: MATTEK on November 29, 2009, 09:26:57 PM
Did not work. I see no images on my chess page.
Title: Re: SMFChess Mod
Post by: busterone on November 29, 2009, 09:35:36 PM
Did not work. I see no images on my chess page.
? I am not sure what you mean by images on your chess page. This will only create a small block that you can place anywhere in your portal, it will not place anything in the actual chess game itself. If the chessblock folder was uploaded to your forum root, this will work. I have tried this on 3 different installations. 1 RC1.2, 1 clean install RC2, and an upgraded RC2.
Title: Re: SMFChess Mod
Post by: busterone on November 29, 2009, 09:38:12 PM
Yes but on 2.0 RC2 only the first link its ok. (?action=chess). The nexts redirect me to login page. :)
You mod is not installed correctly. See above post. I have it working on 3 diff smf installs. Your previous post gives the indication, although I can't say what went wrong.
Hi ,


When I try to make any change on "Chess Settings" I got this error :

An Error Has Occurred!
The database value you're trying to insert does not exist: value

SMF 2.0 RC2 fresh install.

Any ideea ?
Thanks
Title: Re: SMFChess Mod
Post by: MATTEK on November 29, 2009, 09:46:41 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1102)

Drag-Drop PHP Chess for your forums

Preview Here (http://crossfire.org/covenant/index.php?action=chess) or Here (http://weightliftingexchange.com/index.php?option=com_smf&Itemid=39&action=chess) - Thanks to David and weightman
Manual Theme Changes (http://www.leaderless.net/PackageParser/index.php?show=theme)

Have TP Installed?
A SMFChess Block has been put together by Lord Anubis (http://www.simplemachines.org/community/index.php?action=profile;u=66788)
Download Images and Instructions (http://www.leaderless.net/tp-downloads/chessblock.zip)
Original Post can be found here (http://www.simplemachines.org/community/index.php?topic=129749.msg1373650#msg1373650)
Preview:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.leaderless.net%2Ftp-downloads%2Fpreview%2Fchessblockprev.jpg&hash=2c50e945c540eb56062d8466c60e2e43)

He has images in his chess block.
Title: Re: SMFChess Mod
Post by: busterone on November 29, 2009, 09:53:45 PM
Ok, I understand you now. Did you upload the entire chessblock folder to your forum root? Those images are in that folder and are referenced in the block code as this- <img src="/chessblock/main.png"/> etc. . .
Title: Re: SMFChess Mod
Post by: mghome59 on November 29, 2009, 09:59:03 PM
Yes but on 2.0 RC2 only the first link its ok. (?action=chess). The nexts redirect me to login page. :)
You mod is not installed correctly. See above post. I have it working on 3 diff smf installs. Your previous post gives the indication, although I can't say what went wrong.
Hi ,


When I try to make any change on "Chess Settings" I got this error :

An Error Has Occurred!
The database value you're trying to insert does not exist: value

SMF 2.0 RC2 fresh install.

Any ideea ?
Thanks

I solved that database error just using installScript.php from the original mod. I find my problem and everything it`s  ok now.

@MATTEK  make sure you have chessblock folder in your root directory
Title: Re: SMFChess Mod
Post by: busterone on November 29, 2009, 10:06:31 PM
mghome59 - Glad you got it sorted. :)
Title: Re: SMFChess Mod
Post by: MATTEK on November 29, 2009, 10:29:36 PM
Ok, I understand you now. Did you upload the entire chessblock folder to your forum root? Those images are in that folder and are referenced in the block code as this- <img src="/chessblock/main.png"/> etc. . .

I did upload it to my root. However, I'm not sure if I should have unzipped the chessblock folder before uploading.
Title: Re: SMFChess Mod
Post by: busterone on November 29, 2009, 10:38:13 PM
Yes, unzip it on your computer, and then upload the unzipped folder.
Title: Re: SMFChess Mod
Post by: MATTEK on November 29, 2009, 10:46:19 PM
That is what I have done.  >:( Crap. I'm going to delete everything related to SMF Chess and start over.
Title: Re: SMFChess Mod
Post by: busterone on November 29, 2009, 10:50:59 PM
That isn't necessary. Just find the zipped file you uploaded and delete it. Then upload the unzipped folder to your forum root.  As long as your actual chess game installation is working, that is all you need to do.
Title: Re: SMFChess Mod
Post by: MATTEK on November 29, 2009, 10:55:54 PM
That isn't necessary. Just find the zipped file you uploaded and delete it. Then upload the unzipped folder to your forum root.  As long as your actual chess game installation is working, that is all you need to do.
The folder is currently uploaded and unzipped. It has always been unzipped. I have never uploaded a zipped file/folder to my forum root.
Title: Re: SMFChess Mod
Post by: busterone on November 29, 2009, 11:00:43 PM
OK. Is your forum installed in the root of your webspace, or is it installed in a folder with a name like "forum" ? I am just trying to verify where your index.php is.  I know I may sound like I am grasping at straws here, but I am simply trying to understand why it does not work for you.
Title: Re: SMFChess Mod
Post by: MATTEK on November 29, 2009, 11:07:19 PM
OK. Is your forum installed in the root of your webspace, or is it installed in a folder with a name like "forum" ? I am just trying to verify where your index.php is.  I know I may sound like I am grasping at straws here, but I am simply trying to understand why it does not work for you.
I've got it working. I reinstalled everything in order, properly. Thanks for the help man.
Title: Re: SMFChess Mod
Post by: busterone on November 29, 2009, 11:10:57 PM
No problem. Glad it is working.  :)
Title: Re: SMFChess Mod
Post by: drhamza on November 30, 2009, 09:10:23 AM
can someone help me in letting the chatbox and log below the player VS player area please?
Title: Re: SMFChess Mod
Post by: stipchaser on December 01, 2009, 03:22:58 AM
Code: [Select]
Unknown column 'chess_elo' in 'field list'
File: /usr/www/ugzdedi1/public/Forums/Sources/ChessAdmin.php
Line: 175

Moved my site to a new host and cannot get the Mod to work? Missing this column that I cannot recreate for some reason?

SMF 1.1.10
TinyPortal v1.0 beta 4
SMF Arcade
Heliosmulti theme
Title: Re: SMFChess Mod
Post by: NaWaR on December 03, 2009, 10:08:54 AM
thank you so much man ..  i installed this mod.. :)  but it's not working :(
please where it will appear..? do i have to turn on something to make it appear on the forum ??

please help step by step  thank you
Title: Re: SMFChess Mod
Post by: busterone on December 03, 2009, 06:36:08 PM
Code: [Select]
Unknown column 'chess_elo' in 'field list'
File: /usr/www/ugzdedi1/public/Forums/Sources/ChessAdmin.php
Line: 175

Moved my site to a new host and cannot get the Mod to work? Missing this column that I cannot recreate for some reason?

SMF 1.1.10
TinyPortal v1.0 beta 4
SMF Arcade
Heliosmulti theme
Have you tried to uninstall the chess mod, then reinstall it to see if the new install will rectify the error? You will not lose any player or game data. All that info remains in the database even after an uninstall. The new install will use that same db info.

thank you so much man ..  i installed this mod.. :)  but it's not working :(
please where it will appear..? do i have to turn on something to make it appear on the forum ??

please help step by step  thank you
What version of SMF are you using? If 1.1.x, are you using a custom theme? The 1.1.x version only installs to the default core theme. Any part of this mod that relates to theme must be manually edited on any other themes besides the core. If you are on 1.1.x, revert to the default to see if there is a chess menu button.
Title: Re: SMFChess Mod
Post by: stipchaser on December 08, 2009, 11:24:19 AM
Quote
Have you tried to uninstall the chess mod, then reinstall it to see if the new install will rectify the error? You will not lose any player or game data. All that info remains in the database even after an uninstall. The new install will use that same db info.

Yes thank you for the response,

I got it finally, I had to run the setup for the tables again and it all fell right into place. I do however have a new issue and I think it is from another mod that I am running. I made some adjustments to my Ajax ShoutBox, mostly cosmetic to match the theme of my forums? I edited the shoutbox.css file and it worked out great but now every time I open chess I have to maximize the window and then restore it to get the pieces to line up again?

1. AjaxChat Integration 3.2.1      
2. Users Active 24 Hours1.0           
3. SMFChess       1.1    
4. SMF Arcade       2.0.18    
5. Member Awards    1.1.1    
6. SMFShop       3.1.1    
7. Custom Copyright 1.2    
8. TinyPortal       1.083    
9. SMF1.0.19/1.1.11Update 1.0
10.Member Awards    2.1.7       
                                                       (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi219.photobucket.com%2Falbums%2Fcc164%2FBlueLeader32%2Fchessissue.png&hash=1880de21bc28adca6f6b33ff70fb9245)

Title: Re: SMFChess Mod
Post by: tfs on December 08, 2009, 03:51:59 PM
...now every time I open chess I have to maximize the window and then restore it to get the pieces to line up again?

Mine has been that way since the first time I used the mod, both V1 and V2.
Title: Re: SMFChess Mod
Post by: busterone on December 08, 2009, 06:11:51 PM
 stipchaser - look at the shoutbox css and the chess css to see if there is an element with the exact same name in both. Just a wild guess, but it is possible. if one element is defined differently in two places, there may be a conflict.

























Title: Re: SMFChess Mod
Post by: Paracelsus on December 10, 2009, 05:36:59 AM
Quote
Have you tried to uninstall the chess mod, then reinstall it to see if the new install will rectify the error? You will not lose any player or game data. All that info remains in the database even after an uninstall. The new install will use that same db info.

Yes thank you for the response,

I got it finally, I had to run the setup for the tables again and it all fell right into place. I do however have a new issue and I think it is from another mod that I am running. I made some adjustments to my Ajax ShoutBox, mostly cosmetic to match the theme of my forums? I edited the shoutbox.css file and it worked out great but now every time I open chess I have to maximize the window and then restore it to get the pieces to line up again?

1. AjaxChat Integration 3.2.1      
2. Users Active 24 Hours1.0           
3. SMFChess       1.1    
4. SMF Arcade       2.0.18    
5. Member Awards    1.1.1    
6. SMFShop       3.1.1    
7. Custom Copyright 1.2    
8. TinyPortal       1.083    
9. SMF1.0.19/1.1.11Update 1.0
10.Member Awards    2.1.7       
                                                       (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi219.photobucket.com%2Falbums%2Fcc164%2FBlueLeader32%2Fchessissue.png&hash=1880de21bc28adca6f6b33ff70fb9245)



Try to turn off some scripts when you're using the chess action, because there are sometimes a few conflicts between visualization scripts. I did this by adding the code below in index.template.php right before the script I wanted to avoid when in the chess pages:

Code: [Select]
   if($context['current_action'] != 'chess')
Title: Re: SMFChess Mod
Post by: stipchaser on December 10, 2009, 06:28:50 PM
stipchaser - look at the shoutbox css and the chess css to see if there is an element with the exact same name in both. Just a wild guess, but it is possible. if one element is defined differently in two places, there may be a conflict.

Thanks I looked but could not find any. . .

Quote
Have you tried to uninstall the chess mod, then reinstall it to see if the new install will rectify the error? You will not lose any player or game data. All that info remains in the database even after an uninstall. The new install will use that same db info.
Try to turn off some scripts when you're using the chess action, because there are sometimes a few conflicts between visualization scripts. I did this by adding the code below in index.template.php right before the script I wanted to avoid when in the chess pages:

Code: [Select]
   if($context['current_action'] != 'chess')[/quote]

OK I'll give it a go, this mod is a big hit on my site and it also took me a long time to install it properly. It has actually taken down my site more then once lol! But I love this mod and I really appreciate the assistance.
Title: Re: SMFChess Mod
Post by: Paracelsus on December 11, 2009, 08:56:11 AM
The Chess MOD has itself a chat that works quite ok, so you won't actually need the shoutbox there. ;)
Title: Re: SMFChess Mod
Post by: tfs on December 11, 2009, 10:57:08 AM
The Chess MOD has itself a chat that works quite ok, so you won't actually need the shoutbox there. ;)

I've switched over to the shoutbox in SimplePortal, and have a "Chess Only" shoutbox (top block) on the chess page by using "~action|chess" in the Custom Display Options of the block.  It looks nice.
Title: Re: SMFChess Mod
Post by: peps1 on December 18, 2009, 12:35:16 PM
Is there a way to have this MOD on a Forum version: SMF 1.1.11?
Title: Re: SMFChess Mod
Post by: akbora on December 18, 2009, 07:35:22 PM
I installed for RC1.2 without problems. Only trouble we can not see chess button?
My forum is turkish utf8.
Title: Re: SMFChess Mod
Post by: edi67 on December 19, 2009, 01:23:10 PM
may be somebody can help me, i installed in smf 2 rc1 and all is gone ok but there is one problem when i start one new game, and i begin.
The first move remain always mine, i can move the chess where i want, but the move dont pass to my challenge, and the turn is always mine.
In some words the game remain always at the first move without pass to the challenge somebody have some problem ? or some solution ?
Title: Re: SMFChess Mod
Post by: busterone on January 24, 2010, 02:25:43 PM
Just curious- Has anyone found out why the leaderboard does not update for SMFChess2Beta yet?
I have checked my database and all the correct tables and columns exist. The games all work as expected, but when a game is finished, the info is not updated to the won/loss/draw columns. No errors in the error log either.  :)
I know I am overlooking it, but can't seem to track down what file that code is in. I have found the code to load the leaderboard, but not the update database code. I am probably looking right over it.  : ;D
Title: Re: SMFChess Mod
Post by: drhamza on January 24, 2010, 02:59:01 PM
this mod has been an "orphan" for a long time now, if i knew the code, i would create a new one myself :( c'mon people, would someone take care of this mod!
Title: Re: SMFChess Mod
Post by: busterone on February 04, 2010, 01:58:41 PM
No ideas huh?  :) 
It has to be something really simple, but I can't find it myself. Everything works except recording of win/loss/draw in the member table, and the rankings. The elo is updated. Very odd.
The leaderboard is empty simply because there is no info in the SMF_members tables for it to display.
I have manually added wins and losses to the database to test it. As soon as a game is finished, it wipes out the info that I had previously added. All three go back to zero. Very odd.
Title: Re: SMFChess Mod chessblock.chessblock.
Post by: stog on February 19, 2010, 08:31:53 PM
hi could someone kindly up the chessblock.zip for TP -- the original link is broke ..thx
also is there any backgammon.php?
cheers
Title: Re: SMFChess Mod
Post by: drhamza on February 19, 2010, 09:59:36 PM
chess block... ;)
Title: Re: SMFChess Mod
Post by: stog on February 20, 2010, 07:03:31 AM
thx mate -- may your saturday be sunshine and smiles!
Title: Re: SMFChess Mod
Post by: stog on February 20, 2010, 09:07:09 AM
doing a manual install on 1.1.11
but getting an error from load.php -- i suspect from around line 390
Code: [Select]
SELECT mem.*, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH, a.filename, a.attachmentType, IFNULL(chess.ID_CHESS, 0) AS chess_turn
FROM {$db_prefix}members AS mem
LEFT JOIN {$db_prefix}attachments AS a ON (a.ID_MEMBER = $ID_MEMBER)LEFT JOIN {$db_prefix}chess AS chess ON ((chess.status BETWEEN 0 AND 2) AND chess.extra =
WHERE mem.ID_MEMBER = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);
can anyone spot anything? thx
Title: Re: SMFChess Mod
Post by: drhamza on February 20, 2010, 10:38:15 AM
thx mate -- may your saturday be sunshine and smiles!
anytime
actually i had an exam today (yes we take exams on saturday) and it was a massacre  :P, but thanks  ;D
Title: Re: SMFChess Mod
Post by: Bugo on February 26, 2010, 09:43:25 AM
Is there a way to have this MOD on a Forum version: SMF 1.1.11?
Try this attachment => http://www.simplemachines.org/community/index.php?topic=225742.msg2664727#msg2664727. Perfect work in 1.1.11 and 2.0 RC2-RC3
Title: Re: SMFChess Mod
Post by: stog on February 26, 2010, 07:31:22 PM
great thx - installed perfectly - even after my previous manual mess ups!

one problem someone might be able to help me with --- concerning the javascript clash mentioned in pages 4 and 5 of this board, that affects the challenge area.. i have ad mod installed, with a random script for info/ads that appears in the welcome area - it messes with the chess challenge (works if disabled). i wonder if s'one could suggest a snippet i could add to the html to ensure it doesn't load when in action=chess - i saw a php snippet mentioned but the ad mod area is html.

i could disable info/ads for chess players but i'd rather not- is there somewhere else i maybe should be looking to stop the welcome area ad block loading when in chess perhaps?

any ideas would be appreciated

could i add this
Code: [Select]
';
   
   if($context['current_action'] != 'chess')
    echo '


somewhere before here

//Display ads on the top of the page
   $ads = show_topofpageAds();   
   if(!empty($ads))
      if($ads['type']==0)
         echo $ads['content'];
      else
         eval($ads['content']);   
   unset($ads);


in index template?
and hats off to feeble for a superb mod and hats off to you all for smf!

is feeble ok - perhaps living on a remote isle with a gal and no computer ;)


fixed thx see http://www.simplemachines.org/community/index.php?topic=68632.msg2518073#msg2518073
Title: Re: SMFChess Mod
Post by: asmith on February 28, 2010, 12:35:19 AM
I have 1.1.11 and I'm thinking to move to SMF 2, is it possible to have my chess history (games, scores and stuff) move to the new forum?
Title: Re: SMFChess Mod
Post by: Bugo on February 28, 2010, 12:53:02 AM
I have 1.1.11 and I'm thinking to move to SMF 2, is it possible to have my chess history (games, scores and stuff) move to the new forum?
If only manually move the appropriate values from the old database to the new ... Try it.
Title: Re: SMFChess Mod
Post by: busterone on February 28, 2010, 01:14:19 AM
The old values will remain in the db after an upgrade to 2.0  You will have to reinstall the chess mod after the upgrade, and it will update the db to be used for 2.0. Use the one that is attached 4 posts above. However, I have had no success in getting the chess mod to save any wins/losses/draws on 2.0. The elo updates correctly, but new scores and the leaderboard will not update. The old scores continue to stay in the leaderboard unless they are deleted.
The game plays as it should though.
Title: Re: SMFChess Mod
Post by: .Crazy.Face. on February 28, 2010, 02:16:02 AM
Great mod! Haven't downloaded it yet, because I'm not sure what exactly I want to add, arcade, this, or both!
Thanks for your contribution, looks like a lot of people dig it!
Title: Re: SMFChess Mod
Post by: Valodim on March 01, 2010, 04:19:18 PM
works with SMF2.0 RC2, thanks a lot Bugo!
Title: Re: SMFChess Mod
Post by: Andy1122 on March 11, 2010, 11:54:36 PM
Is there a way to have this MOD on a Forum version: SMF 1.1.11?
Try this attachment. Perfect work in 1.1.11 and 2.0 RC2-RC3

Great mod, works in 1.1.11.
However I do not see any text on the chess board and the admin section. The text section is blank. How can I fix this.
Title: Re: SMFChess Mod
Post by: Bugo on March 12, 2010, 12:47:46 AM
Great mod, works in 1.1.11.
However I do not see any text on the chess board and the admin section. The text section is blank. How can I fix this.
Are use English or English-utf8?
Title: Re: SMFChess Mod
Post by: Andy1122 on March 12, 2010, 11:45:59 AM
Great mod, works in 1.1.11.
However I do not see any text on the chess board and the admin section. The text section is blank. How can I fix this.
Are use English or English-utf8?

Thanks Bugo ...  I just realized I was using English-utf8 as my language. I changed to English and the text is showing now. 

... another happy user of this mod.  :)
Title: Re: SMFChess Mod
Post by: TurtleKicker on March 18, 2010, 10:51:03 AM
I'm confused:

Does this mod work in SMF2 RC3 or doesn't it?

I see conflicting reports, with some people saying it works "perfect" but then you have other people saying stuff like this:

I have had no success in getting the chess mod to save any wins/losses/draws on 2.0. The elo updates correctly, but new scores and the leaderboard will not update. The old scores continue to stay in the leaderboard unless they are deleted.

That's far from "perfect".

Anyway, if anyone ever decides to take over this mod, one nice thing would be to have proper alpha-blended chess pieces.
Title: Re: SMFChess Mod
Post by: busterone on March 18, 2010, 05:33:28 PM
^  It installs with no issues, and the game plays with no issues for me. The scores do not update correctly though. 
Title: Re: SMFChess Mod
Post by: Paracelsus on March 18, 2010, 06:10:36 PM
^  It installs with no issues, and the game plays with no issues for me. The scores do not update correctly though. 

Even if you run the maintenance script? (to recount scores and/or Elo)
Title: Re: SMFChess Mod
Post by: busterone on March 18, 2010, 08:50:05 PM
Yep, All the older scores and the leaderboard info was saved over from 1.1.x. When I upgraded to 2.0 some time ago, the scores remained as they should, but would not update. When I ran the maintenance option, it wiped out all the old scores. Now, no scores will save. I have tried this on 3 different forums, and it is the same on all.
Title: Re: SMFChess Mod
Post by: anakmacan on March 18, 2010, 10:28:02 PM
Oh Cool. id like to have one for 1 child-board :D
Title: Re: SMFChess Mod
Post by: anakmacan on March 18, 2010, 10:29:18 PM
but is it compatible with 2.0RC2 ?
Title: Re: SMFChess Mod
Post by: Nibogo on March 18, 2010, 11:40:27 PM
but is it compatible with 2.0RC2 ?

As you can see SMFChess is only compatible with the SMF 1.1.1 branch
Title: Re: SMFChess Mod
Post by: anakmacan on March 19, 2010, 07:29:08 AM
Too bad.. this would be awesome...
Title: Re: SMFChess Mod
Post by: Julian2010 on March 25, 2010, 11:02:36 AM
Hi Every one
I tried the latest Chess mod , SMFChess+1.1 with SMF 1.1.11 and I got error message :
Quote
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

any Idea how to fix it?
thanks
Title: Re: SMFChess Mod
Post by: Julian2010 on March 25, 2010, 11:18:09 AM
Is there a way to have this MOD on a Forum version: SMF 1.1.11?
Try this attachment. Perfect work in 1.1.11 and 2.0 RC2-RC3
after installation now the home page :
Quote
Fatal error: Cannot redeclare create_smfchess() (previously declared in /home/content/s/t/r/test/html/chessforum/Sources/Subs.php:3713) in /home/content/s/t/r/test/html/chessforum/Sources/Subs.php on line 4031
Title: Re: SMFChess Mod
Post by: Dave123 on April 03, 2010, 09:59:34 AM
Is there a way to have this MOD on a Forum version: SMF 1.1.11?
Try this attachment. Perfect work in 1.1.11 and 2.0 RC2-RC3


works oke in rc2 but now in rc3 the peaces are not centered

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fforum.reallin.nl%2Fpics%2Fchess2.2.1-rc3.png&hash=e59330a9fbf5ce906c174981e49626b4)
Title: Re: SMFChess Mod
Post by: Dave123 on April 03, 2010, 09:59:54 AM
sorry double post
Title: Re: SMFChess Mod
Post by: Bugo on April 03, 2010, 02:38:21 PM
Is there a way to have this MOD on a Forum version: SMF 1.1.11?
Try this attachment. Perfect work in 1.1.11 and 2.0 RC2-RC3


works oke in rc2 but now in rc3 the peaces are not centered

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fforum.reallin.nl%2Fpics%2Fchess2.2.1-rc3.png&hash=e59330a9fbf5ce906c174981e49626b4)
Theme? Browser?

I have it works fine — see screenshot
Title: Re: SMFChess Mod
Post by: Dave123 on April 06, 2010, 08:05:39 AM
default theme
Firefox 3.5.8
Chromium 5.***

tried today Opera en there it looks oke.

just for testing, our forum is working whit 1.1.11
chess is there still working.


Title: Re: SMFChess Mod
Post by: Bugo on April 06, 2010, 08:09:33 AM
default theme
Firefox 3.5.8
Chromium 5.***

tried today Opera en there it looks oke.

just for testing, our forum is working whit 1.1.11
chess is there still working.



Update your browsers :)
Title: Re: SMFChess Mod
Post by: tfs on April 06, 2010, 12:33:00 PM
If by chance there's anyone working on this mod, who'd like feedback, I have some log errors that I can post.
Title: Re: SMFChess Mod
Post by: Dave123 on April 12, 2010, 02:50:06 AM
default theme
Firefox 3.5.8
Chromium 5.***

tried today Opera en there it looks oke.

just for testing, our forum is working whit 1.1.11
chess is there still working.



Update your browsers :)

I get updates automatic in Ubuntu
in our other testforum (rc2) its works oke.

I wonder how things work out by the final version of smf 2
Title: I dont have a Chess Button
Post by: ProfDrDenis on April 12, 2010, 10:51:18 AM
Hallo,

I use an other theme in 2.0RC3 and I dont have a button. Is there a way to put any there? Please see my attach than you understand what I mean. I dont found the place in the source code

thanks for looking
Title: Re: SMFChess Mod
Post by: Arantor on April 12, 2010, 11:01:59 AM
Same base problem as you had with the SimpleDesk installation not leaving you a button - don't modify Subs.php so much...
Title: Re: SMFChess Mod
Post by: ProfDrDenis on April 12, 2010, 03:07:43 PM
nice to see you.

ok, better I wait for your respond in the simple desk forum. But I dont modify much... only a little...  ;)

I hope you help me.
Title: Re: SMFChess Mod
Post by: Arantor on April 12, 2010, 03:12:20 PM
I did respond to you in the SimpleDesk forum about the issues with SimpleDesk. It's the same basic cause; modifying the code without understanding really how it worked and then it breaks stuff.
Title: Re: SMFChess Mod
Post by: ProfDrDenis on April 12, 2010, 04:22:47 PM
so what can I do?

I install few mods with the manager, change the menu thats all  :'( its helping when you explain... so I learn or?
Title: Re: SMFChess Mod
Post by: Arantor on April 12, 2010, 04:24:37 PM
First step, uninstall mods and put the menu back as it was. Messing with the menu the way it was messed with is what broke SimpleDesk and is mostly the cause of this mod breaking too.
Title: Re: SMFChess Mod
Post by: ProfDrDenis on April 12, 2010, 05:22:46 PM
Its my test forum so I have no problem I do it and than I (we) see. thanks
Title: Re: SMFChess Mod
Post by: Gwydion Frost on April 20, 2010, 11:35:21 PM
Try this attachment. Perfect work in 1.1.11 and 2.0 RC2-RC3

BLESS YOU!!!
Title: Re: SMFChess Mod
Post by: hitsquaduk on May 04, 2010, 02:57:16 AM
Hi,

This is one of the best mods for SMF it is truely a master piece thank you so much for this
Title: Re: SMFChess Mod
Post by: Dermot on May 05, 2010, 12:18:07 AM

First off (bugo) version installs without errors on RC3

Looks brilliant, but has issues with sending a move to the server

Errors noted below

On IE 8
Code: [Select]
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; .NET4.0C; .NET4.0E)
Timestamp: Wed, 5 May 2010 04:06:39 UTC


Message: Object required
Line: 127
Char: 3
Code: 0
URI: http://www.irish-gaming.net/Themes/default/SMFChess/SMFChess.js

The file in question here is were it says it isn't, the message after i take a move just sits at "Sending..."

Error logs produce the following..
Code: [Select]
Type of error: Database
http://www.irish-gaming.net/index.php?action=chessXml;sa=save;sesc;id=1;xml
Database Error: Unknown column 'mem.showOnline' in 'field list'

SELECT
lo.id_member, lo.log_time, mem.real_name, mem.member_name, mem.showOnline,
mg.online_color, mg.id_group
FROM smf2_log_online AS lo
LEFT JOIN smf2_members AS mem ON (mem.id_member = lo.id_member)
LEFT JOIN smf2_membergroups AS mg ON (mg.id_group = IF(mem.id_group = 0, mem.id_post_group, mem.id_group))
WHERE lo.url LIKE '%chess%' AND lo.url LIKE '%"id";s:%:"1"%' AND (UNIX_TIMESTAMP(lo.log_time) > 1273031948) AND lo.id_member = '1'
ORDER BY mem.member_name

File: /xxxxxxx/homexxx/subxxx/xxx-BSGM/www/Sources/ChessXml.php
Line: 307

Code: [Select]
Type of error: Undefined
http://www.irish-gaming.net/index.php?action=chess;id=1
8: Undefined offset: 515

File: /xxxxxxx/homexxx/subxxx/xxx-BSGM/www/Themes/default/Chess.template.php
Line: 457

And..

Code: [Select]
Type of error: Undefined
http://www.irish-gaming.net/index.php?action=chess;id=1
8: Undefined index: SMFChessXml

File: /xxxxxxx/homexxx/subxxx/xxx-BSGM/www/Themes/default/Chess.template.php
Line: 479

As noted this is directed to the new version bugo posted and any input on these errors is appreciated.
Title: Re: SMFChess Mod
Post by: Bugo on May 05, 2010, 03:23:43 AM
http://www.simplemachines.org/community/index.php?topic=225742.msg2664727#msg2664727
Title: Re: SMFChess Mod
Post by: Sledgie on May 05, 2010, 10:02:15 AM
Crap. Bugo, I installed the previous version (before the above post) but can't uninstall it now (error in installation warning). Can I edit in your fixes manually? What did you change to get the moves to send to the server without error?
Title: Re: SMFChess Mod
Post by: Bugo on May 05, 2010, 11:29:16 AM
You can not delete it, because other mods installed after that. That's the problem. What server do you mean?
Title: Re: SMFChess Mod
Post by: Sledgie on May 05, 2010, 11:36:29 AM
Sorry. I was referring to Dermot's error (above your previous post: http://www.simplemachines.org/community/index.php?topic=225742.msg2614007#msg2614007).
Title: Re: SMFChess Mod
Post by: Dermot on May 05, 2010, 11:43:18 AM

Thanks bugo, sends fine to the server now

one last error remains in the log below

Code: [Select]
Type of error: Undefined
http://www.irish-gaming.net/index.php?action=chess;id=3
8: Undefined offset: 515

File: /xxxxxxx/homexxx/subxxx/xxx-BSGM/www/Themes/default/Chess.template.php
Line: 424

The pieces align fine in IE 8 but have a slight offset in firefox 3.6.4 below

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fj.imagehost.org%2F0191%2FChess_offset.png&hash=a21497ce71cb9530f1215a6dfbbdca17)
Title: Re: SMFChess Mod
Post by: Bugo on May 05, 2010, 01:26:51 PM
1) Open Chess.template.php and change $txt[515] to $txt['www'] (in line 424)

2) Troubles with CSS? May be in IE 9 will fix it :)
I use Google Chrome.
Title: Re: SMFChess Mod
Post by: Arantor on May 05, 2010, 01:27:25 PM
Errm... IE 8 is fine - it's FF 3.6.4 that's wrong ;)
Title: Re: SMFChess Mod
Post by: Dermot on May 10, 2010, 05:02:51 PM

It's just a slight offset, still playable though

One question though, does the leaderboard work?

We've had two games played so far and leaderboard is blank

It shows the 2 games in "finished" section done and winners

Title: Re: SMFChess Mod
Post by: busterone on May 10, 2010, 09:40:54 PM
No, The leaderboard doesn't work on SMF2. I have had this issue since RC1.2. The wins/losses will not record in the individual players' profiles either. The game plays perfect though.
Title: Re: SMFChess Mod
Post by: drhamza on May 10, 2010, 11:48:07 PM
can the leader board issue be solved? thanks a lot for your work
Title: Re: SMFChess Mod
Post by: Sakae on May 15, 2010, 09:23:05 AM
Feeble, that's a awesome MOD I always wanted to install on my forum, and I finally did few weeks ago.

But I'm experiecing an annoying bug. I'm not sure if there is an answer for it already, since I haven't read all this 30 pages.

Red: The BUG
Blue: My question... How can I center the board?

How can I fix/do?

Thanks in advance and keep up the great work!
Title: Re: SMFChess Mod
Post by: anakmacan on June 09, 2010, 01:04:05 PM
Im using RC2, and the "Challenge Request" part doesnt work. There's no form whatsoever to click, when i press "enter" on my keyboard but nothing happen. Anyone here can help me out ?
Title: Re: SMFChess Mod
Post by: Bugo on June 09, 2010, 11:14:18 PM
Any screenshot?
Title: Re: SMFChess Mod
Post by: anakmacan on June 10, 2010, 01:34:59 AM
I cant "Challenge Request" any member, the only way to challenge is by creating "Quickmatch".

Here it is.

Title: Re: SMFChess Mod
Post by: Bugo on June 10, 2010, 03:05:33 AM
No, The leaderboard doesn't work on SMF2. I have had this issue since RC1.2. The wins/losses will not record in the individual players' profiles either. The game plays perfect though.
can the leader board issue be solved? thanks a lot for your work
Update mod.


@anakmacan: are you using english language default?
Title: Re: SMFChess Mod
Post by: anakmacan on June 10, 2010, 03:41:03 AM
Yup, english language, and it's the only language i use for my forum.
Title: Re: SMFChess Mod
Post by: Bugo on June 10, 2010, 04:57:57 AM
Try clean cache in your browser... Don't block any javascripts?
Title: Re: SMFChess Mod
Post by: anakmacan on June 10, 2010, 10:29:10 AM
Ive done that either ;) i always clear cache after installing new mod, also my browser isnt blocking js. well, you can test it in my forum, ive created a username for it.
http://www.loners-club.com/index.php?action=chess;sa=challenge

username : maverick
pass : tester
Title: Re: SMFChess Mod
Post by: Bugo on June 10, 2010, 10:55:33 AM
If you switch to a Curve theme, the Challenge works?

Admin => Permissions => ... group => Chess => Allowed to Challenge => enabled?
Title: Re: SMFChess Mod
Post by: anakmacan on June 10, 2010, 06:34:03 PM
Nope, still only "Quickmatch" that only works but cant challenge specific member. Maybe it's because my other mods ?

Code: [Select]
1.  Registered Links  2.0.2    [ Uninstall ]  [ List Files ]  [ Delete ]
2. SSI Topics and Replies 1.3 [ Uninstall ] [ List Files ] [ Delete ]
3. SimplePortal 2.3.2 [ Uninstall ] [ List Files ] [ Delete ]
4. Info Center Permissions 1.0 [ Uninstall ] [ List Files ] [ Delete ]
5. Hide Last Active 1.0 [ Uninstall ] [ List Files ] [ Delete ]
6. AvatarSelect 1.2.1 [ Uninstall ] [ List Files ] [ Delete ]
7. Board Viewers Mod 1.2.1.1 [ Uninstall ] [ List Files ] [ Delete ]
8. Member Awards 2.2 [ List Files ] [ Delete ]
9. SA FBConnect 0.2 [ Uninstall ] [ List Files ] [ Delete ]
10. Off-Topic_BBC_Tag 1.1.1.2 [ List Files ] [ Delete ]
11. SMF Chess 2.1.2 [ Uninstall ] [ List Files ] [ Delete ]
12. Profile Comments 2.0 [ Uninstall ] [ List Files ] [ Delete ]
13. SMFBlog 2.0 [ Uninstall ] [ List Files ] [ Delete ]
14. AutoKeywords 1.1 [ Uninstall ] [ List Files ] [ Delete ]
15. Countdown BBCode 1.3 [ Uninstall ] [ List Files ] [ Delete ]
16. DisableTemplateEval 1.2 [ Uninstall ] [ List Files ] [ Delete ]
17. Buy me A drink 1.1 [ Install Mod ] [ List Files ] [ Delete ]
18. Tinypic Plugin 1.0.0 [ Uninstall ] [ List Files ] [ Delete ]
19. Pretty URLs 1.0RC [ Uninstall ] [ List Files ] [ Delete ]
20. [user] BBC Tag 1.0.1 [ Uninstall ] [ List Files ] [ Delete ]
21. Activity_Bar 1.0.1.2 [ Uninstall ] [ List Files ] [ Delete ]
22. Board and Topic BBC 1.0 [ Install Mod ] [ List Files ] [ Delete ]
23. BBC [you] 1.3 [ Uninstall ] [ List Files ] [ Delete ]
24. Ultimate Profile 0.9.1 [ Uninstall ] [ List Files ] [ Delete ]
25. InfoBox 0.3 [ Uninstall ] [ List Files ] [ Delete ]
26. Google Tagged 1.5 [ Uninstall ] [ List Files ] [ Delete ]
27. Fake Online Time | S-Ace 1.2 [ Uninstall ] [ List Files ] [ Delete ]
28. Related Topics 1.4 RC1 [ List Files ] [ Delete ]
29. xQuote 0.2 [ Uninstall ] [ List Files ] [ Delete ]
30. Facebook_Like v.1.2 1.2 [ List Files ] [ Delete ]
31. Ad Managment 2.3.6.1 [ Uninstall ] [ List Files ] [ Delete ]
32. PayPal BBCode 0.1 [ Uninstall ] [ List Files ] [ Delete ]
33. Aeva Media 1.1b [ Uninstall ] [ List Files ] [ Delete ]
34. Google Translator Flags 1.0 [ Uninstall ] [ List Files ] [ Delete ]
35. Ignore User Button 1.0 [ Uninstall ] [ List Files ] [ Delete ]
36. SA FBConnect 0.1 RC1-2 [ List Files ] [ Delete ]
37. Tapatalk SMF Plugin 0.9.11 [ Uninstall ] [ List Files ] [ Delete ]
38. GrooveShark BBC 1.1 [ Uninstall ] [ List Files ] [ Delete ]
39. Sitemap 2.1.0 [ Uninstall ] [ List Files ] [ Delete ]
40. BackGround Tag 1.0 [ Uninstall ] [ List Files ] [ Delete ]
41. RSS Feed Icon 1.1 [ Uninstall ] [ List Files ] [ Delete ]
42. Seo image tag[ 1 [ Uninstall ] [ List Files ] [ Delete ]
43. Footnotes 1.05 [ Uninstall ] [ List Files ] [ Delete ]
44. [BBCode] Blink 1.0 [ Uninstall ] [ List Files ] [ Delete ]
45. Foxy! for Aeva Media 1.26
Title: Re: SMFChess Mod
Post by: Bugo on June 12, 2010, 01:33:33 PM
Mod updated to version 2.1.5 (unofficial).

Changelog:
fixed templates for SMF 2.x (menubar & other)
fixed leaderboard (now it works in SMF 2.x)
fixed install on SMF 1.x
Title: Re: SMFChess Mod
Post by: busterone on June 12, 2010, 02:05:39 PM
Thanks for the edit Bugo. I will try it out later today.  :)
Title: Re: SMFChess Mod
Post by: searchgr on June 12, 2010, 02:31:16 PM
Thank you Bugo!
Title: Re: SMFChess Mod
Post by: searchgr on June 12, 2010, 02:57:54 PM
Any ideas about this error?


8: Undefined index: watching
Apply Filter: Only show the errors from this file
File: /home/*****/public_html/Themes/default/Chess.template.php (board sub template - eval?)
Line: 665
Title: Re: SMFChess Mod
Post by: anakmacan on June 12, 2010, 08:57:32 PM
Thx bugo, ill try editing later ;)
Title: Re: SMFChess Mod
Post by: Bugo on June 12, 2010, 11:10:24 PM
Any ideas about this error?


8: Undefined index: watching
Apply Filter: Only show the errors from this file
File: /home/*****/public_html/Themes/default/Chess.template.php (board sub template - eval?)
Line: 665
Update mod. I fixed it by this morning.
Title: Re: SMFChess Mod
Post by: searchgr on June 13, 2010, 03:13:40 PM
ok, thanks.
Is it only this fix or any other additional fixes?
Title: Re: SMFChess Mod
Post by: searchgr on June 13, 2010, 07:36:35 PM
New 'small' error...

http://www.******.net/index.php?action=chessXml;sa=save;sesc;id=7;xml
8: Undefined index: addMoveFile: /home/******/public_html/Sources/ChessXml.php
Line: 296
Title: Re: SMFChess Mod
Post by: Bugo on June 17, 2010, 05:30:56 AM
@anakmacan, can you attach your index.template.php?
Title: Re: SMFChess Mod
Post by: anakmacan on June 17, 2010, 08:13:02 AM
Sure, the first one's default index.template, and the second one's my theme index.template.
Title: Re: SMFChess Mod
Post by: Bugo on June 17, 2010, 09:01:14 AM
My opinion, you have too many scripts — it's big problem.

Try find «echo $context['html_headers'];», cut it and paste it BEFORE </head> and AFTER all other scripts.
Example:
Code: [Select]
// All other scripts;
    <script>bla bla bla</script>
    <script>bla bla bla</script>
    <script>bla bla bla</script>
    <script>bla bla bla</script>';

// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'];

echo '
</head>
Title: Re: SMFChess Mod
Post by: searchgr on June 17, 2010, 02:24:02 PM
thanks
Title: Re: SMFChess Mod
Post by: anakmacan on June 18, 2010, 08:17:20 AM
My opinion, you have too many scripts — it's big problem.

Try find «echo $context['html_headers'];», cut it and paste it BEFORE </head> and AFTER all other scripts.
Example:
Code: [Select]
// All other scripts;
    <script>bla bla bla</script>
    <script>bla bla bla</script>
    <script>bla bla bla</script>
    <script>bla bla bla</script>';

// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'];

echo '
</head>

Aha, i get that, im editing right now, ill tell about it later. Thx bugo :D
Title: Re: SMFChess Mod
Post by: anakmacan on June 18, 2010, 10:09:18 AM
Yup, this is all, but still cant "challenge request" anyone :-/

Code: [Select]
<?php
// Version: 2.0 RC1; index

/* This template is, perhaps, the most important template in the theme. It
contains the main template layer that displays the header and footer of
the forum, namely with main_above and main_below. It also contains the
menu sub template, which appropriately displays the menu; the init sub
template, which is there to set the theme up; (init can be missing.) and
the linktree sub template, which sorts out the link tree.

The init sub template should load any data and set any hardcoded options.

The main_above sub template is what is shown above the main content, and
should contain anything that should be shown up there.

The main_below sub template, conversely, is shown after the main content.
It should probably contain the copyright statement and some other things.

The linktree sub template should display the link tree, using the data
in the $context['linktree'] variable.

The menu sub template should display all the relevant buttons the user
wants and or needs.

For more information on the templating system, please see the site at:
http://www.simplemachines.org/
*/

// Initialize the template... mainly little settings.
function template_init()
{
global $context$settings$options$txt;

/* Use images from default theme when using templates from the default theme?
if this is 'always', images from the default theme will be used.
if this is 'defaults', images from the default theme will only be used with default templates.
if this is 'never' or isn't set at all, images from the default theme will not be used. */
$settings['use_default_images'] = 'never';

/* What document type definition is being used? (for font size and other issues.)
'xhtml' for an XHTML 1.0 document type definition.
'html' for an HTML 4.01 document type definition. */
$settings['doctype'] = 'xhtml';

/* The version this template/theme is for.
This should probably be the version of SMF it was created for. */
$settings['theme_version'] = '2.0 RC1';

/* Set a setting that tells the theme that it can render the tabs. */
$settings['use_tabs'] = true;

/* Use plain buttons - as oppossed to text buttons? */
$settings['use_buttons'] = true;

/* Show sticky and lock status separate from topic icons? */
$settings['separate_sticky_lock'] = true;

/* Does this theme use the strict doctype? */
$settings['strict_doctype'] = false;

/* Does this theme use post previews on the message index? */
$settings['message_index_preview'] = false;

/* Set the following variable to true if this theme requires the optional theme strings file to be loaded. */
$settings['require_theme_strings'] = false;
}

// The main sub template above the content.
function template_html_above()
{
global $context$settings$options$scripturl$txt$modSettings$boardurl;

// Show right to left and the character set for ease of translating.
echo ' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" '
$context['right_to_left'] ? ' dir="rtl"' '''><head>
<meta http-equiv="Content-Type" content="text/html; charset='
$context['character_set'], '" />
<meta name="description" content="'
$context['page_title_html_safe'], '" />
<meta name="keywords" content="'
$context['meta_keywords'], '" />
<title>'
$context['page_title_html_safe'], '</title>';

// Please don't index these Mr Robot.
if (!empty($context['robot_no_index']))
echo '
<meta name="robots" content="noindex" />'
;

// The ?rc1 part of this link is just here to make sure browsers don't cache it wrongly.
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/style'$context['theme_variant'], '.css?rc1" />';

echo '
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/css/print.css?rc1" media="print" />';

// IE7 needs some fixes for styles.
if ($context['browser']['is_ie7'])
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/css/ie7.css" />';
// ..and IE6!
elseif ($context['browser']['is_ie6'])
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/css/ie6.css" />';
// Firefox - all versions - too!
elseif ($context['browser']['is_firefox'])
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/css/ff.css" />';

// RTL languages require an additional stylesheet.
if ($context['right_to_left'])
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/css/rtl.css" />';

// Show all the relative links, such as help, search, contents, and the like.
echo '
<link rel="help" href="'
$scripturl'?action=help" />
<link rel="search" href="' 
$scripturl '?action=search" />
<link rel="contents" href="'
$scripturl'" />';

// If RSS feeds are enabled, advertise the presence of one.
if (!empty($modSettings['xmlnews_enable']))
echo '
<link rel="alternate" type="application/rss+xml" title="'
$context['forum_name_html_safe'], ' - RSS" href="'$scripturl'?type=rss;action=.xml" />';

// If we're viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context['current_topic']))
echo '
<link rel="prev" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=prev" />
<link rel="next" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=next" />';

// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
<link rel="index" href="'
$scripturl'?board='$context['current_board'], '.0" />';

// We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
{
$options['collapse_header'] = !empty($_COOKIE['upshrink']);
$options['collapse_header_ic'] = !empty($_COOKIE['upshrinkIC']);
}

// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'], '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
// Create the main header object.
var mainHeader = new smfToggle("upshrink", '
, empty($options['collapse_header']) ? 'false' 'true'');
mainHeader.useCookie('
$context['user']['is_guest'] ? 0');
mainHeader.setOptions("collapse_header", "'
$context['session_id'], '");
mainHeader.addToggleImage("upshrink", "/upshrink.gif", "/upshrink2.gif");
mainHeader.addTogglePanel("user_section");
mainHeader.addTogglePanel("news_section");
// ]]></script>
<script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/scripts/script.js?rc1"></script>
<script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/scripts/theme.js?rc1"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "'
$settings['theme_url'], '";
var smf_default_theme_url = "'
$settings['default_theme_url'], '";
var smf_images_url = "'
$settings['images_url'], '";
var smf_scripturl = "'
$scripturl'";
var smf_iso_case_folding = '
$context['server']['iso_case_folding'] ? 'true' 'false'';
var smf_charset = "'
$context['character_set'], '";'$context['show_pm_popup'] ? '
if (confirm("' 
$txt['show_personal_messages'] . '"))
window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");' 
'''
var ajax_notification_text = "'
$txt['ajax_in_progress'], '";
var ajax_notification_cancel_text = "'
$txt['modify_cancel'], '";
// ]]></script>
<script src="'
.$boardurl.'/fbc/fbconnect.js" type="text/javascript"></script>
<script type="text/javascript">
var mod_settings_fb_app_pageid = "'
,$modSettings['fb_app_pageid'],'";
var mod_settings_fb_app_stream = "'
,$modSettings['fb_app_stream'],'";
var mod_settings_fb_app_connection = "'
,$modSettings['fb_app_connection'],'";
var mod_settings_fb_app_width = "'
,$modSettings['fb_app_width'],'";
var mod_settings_fb_com_xid = "'
,$modSettings['fb_app_comments_boxid'],'";
var mod_settings_fb_com_show = "'
,$modSettings['fb_admin_commets_post'],'";
</script>
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/scripts/sha1.js"></script>
<script type="text/javascript">
FB.init("'
.$modSettings['fb_app_key'].'", 
"'
.$boardurl.'/fbc/xd_receiver.htm", 
{"doNotUseCachedConnectState":true });
function doLoggedOutFacebookUser(){
FB.Connect.logout(function(){location.href = "'
.$scripturl.'?action=logout;sesc='.$sc.'";});
}
</script>
<script type="text/javascript">
window.onload = function() 

callPublish(\'\',{\'name\':\''
.$name.' '.$txt['fb_haslogged'].' '.$context['forum_name'].' '.$txt['fb_haslogged2'].'\',\'href\':\''.$scripturl.'\',\'description\':\''.$name.' '.$txt['fb_haslogged'].' '.$context['forum_name'].' '.$txt['fb_haslogged2'].'\'},null); 
facebook_onload(true); 
};
</script>'
;
// Output any remaining HTML headers. (from mods, maybe?)
   
echo $context['html_headers'];

   echo 
'
</head>
<body>'
;
}
function 
show_facebook()
{
global 
$boardurl$settings$context$txt$modSettings$scripturl;
if(
$modSettings['fb_enable'])
{

if (
$context['user']['is_logged'])
   
if(isset(
$context['user']['fb'])) {
echo 
'<img src="' $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" />
 <a href="#" onclick="javascript:fbLogincheck(); return false;">'
.$txt['fb_title'].'</a>';
}
else {
echo 
' <img src="' $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> 
<a href="#" onclick="javascript:fbLoginsync(); return false;">'
.$txt['fb_integrate'].'</a>';
}
echo
'<br /><br />';
}
else
{
echo
'
<a href="#" onclick="javascript:fbLogin(); return false;"><img src="http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif" alt="" /></a>'
;
}
}
}
 
function 
template_body_above()
{
global $context$settings$options$scripturl$txt$modSettings;

echo 
'
 <div id="navi">
  <div id="navi-l">
<div id="navi-r">
  <div id="nav">'
,template_menu(),'</div>
  </div>  
  </div>
</div>
 <div id="header">
  <div id="head-l">
<div id="head-r">
<div id="userarea">'
;
//Below the menu ads
if (function_exists("show_indexAds"))
{
$ads show_indexAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
if ($context['user']['is_guest'])
         echo 
'
    <center><img src="'
$settings['images_url'], '/login.png" alt="*" title="*" border="0" /></center>';

// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{
echo '
                   <center><img src="'
$settings['images_url'], '/userpanel.png" alt="*" title="*" border="0" /></center>
 <a href="'
$scripturl'?action=unread">'$txt['unread_since_visit'], '</a> <br />
 <a href="'
$scripturl'?action=unreadreplies">'$txt['show_unread_replies'], '</a><br />';

}

// Otherwise they're a guest - send them a lovely greeting...
else
echo sprintf($txt['welcome_guest'], $txt['guest_title']);


// Now, onto our second set of info, are they logged in again?
if ($context['user']['is_logged'])
{
// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '
<b>'
$txt['maintain_mode_on'], '</b><br />';

// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
'
$context['unapproved_members'] == $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="'$scripturl'?action=admin;area=viewmembers;sa=browse;type=approve">'$context['unapproved_members'] == $txt['approve_member'] : $context['unapproved_members'] . ' ' $txt['approve_members'], '</a> '$txt['approve_members_waiting'], '<br />';

// Show the total time logged in?
show_facebook();

if (!empty($context['user']['total_time_logged_in']))
{
echo '
'
$txt['totalTimeLogged1'], '<br />';

// If days is just zero, don't bother to show it.
if ($context['user']['total_time_logged_in']['days'] > 0)
echo $context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2'];

// Same with hours - only show it if it's above zero.
if ($context['user']['total_time_logged_in']['hours'] > 0)
echo $context['user']['total_time_logged_in']['hours'] . $txt['totalTimeLogged3'];

// But, let's always show minutes - Time wasted here: 0 minutes ;).
echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4'], '<br />';
}

if (!empty($context['open_mod_reports']) && $context['show_open_reports'])
echo '
<a href="'
$scripturl'?action=moderate;area=reports">'sprintf($txt['mod_reports_waiting'], $context['open_mod_reports']), '</a><br />';
}
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo '

<form action="'
$scripturl'?action=login2" method="post" accept-charset="'$context['character_set'], '" class="middletext" style="margin: 3px 1ex 1px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' $context['session_id'] . '\');"' '''>
<input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />
<select name="cookielength">
<option value="60">'
$txt['one_hour'], '</option>
<option value="1440">'
$txt['one_day'], '</option>
<option value="10080">'
$txt['one_week'], '</option>
<option value="43200">'
$txt['one_month'], '</option>
<option value="-1" selected="selected">'
$txt['forever'], '</option>
</select>
<input type="submit" value="'
$txt['login'], '" /><br />
<span class="middletext">'
$txt['quick_login_dec'], '</span>';
 if (!empty($modSettings['enableOpenID']))
echo'<br />
<input type="text" name="openid_url" id="openid_url" size="25" class="openid_login" />'
;

echo '
<input type="hidden" name="hash_passwrd" value="" />
</form>'
;
show_facebook();

}
            echo 
'
            <center><img src="'
$settings['images_url'], '/time.png" alt="*" title="*" border="0" /></center>
                   ' 
$context['current_time'], ' ';
                        echo 
'
                              </div>
 <a href="'
.$scripturl.'?action=forum" title=""><span id="logo"> </span></a>';
echo '
  </div>  
  </div>
</div>
 <div id="bot-nav">
  <div id="bot-nav-l">
<div id="bot-nav-r">
   '
theme_linktree2(), '
</div>
  </div>
 </div>'
;
  echo 
'

 <div id="mainarea">'
;
if (
function_exists("show_towerleftAds") && function_exists("show_towerrightAds"))
{
//Tower left Ads
$ads show_towerleftAds();
if(!empty($ads))
echo '<table><tr><td valign="top">'$ads['type']==$ads['content'] : eval($ads['content']) ,'</td><td width="100%" valign="top">';

unset($ads);

}

}

function 
template_body_below()
{
global $context$settings$options$scripturl$txt;

echo '
 </div>
'
;

// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '
  <div id="footer">
    <div id="footer-l">
 <div id="footer-r">
          <div id="footerarea">
<br /><br />'
theme_copyright(), '<br /><font color="#888888">Theme </font><font color="#888888"><b>World2</b></font> <a href="http://www.fussilet.com" target="_blank">by Fussilet</a>
                       </div>'
;
//Show ads on the bottom
if (function_exists("show_bottomAds"))
{

//Show ads on the bottom of the page
$ads show_bottomAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
// Show the load time?
if ($context['show_load_time'])
echo '<br />'$txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</span>';

echo '
                </div>
</div>
</div>'
;
}

function 
template_html_below()
{
global $context$settings$options$scripturl$txt$sc$modSettings$boarddir$boardurl;
 
if(isset(
$_GET['fb_feed']))
{
include_once 
$boarddir.'/fbc/facebook/php/facebook.php';
$api_key ''.$modSettings['fb_app_key'].'';
$secret  ''.$modSettings['fb_app_secret'].'';
$fb = new Facebook($api_key,$secret);
$fb_user $fb->get_loggedin_user();
$user_id $fb->require_login(); 
$user_details $fb->api_client->users_getInfo($fb_user, array('first_name','last_name'));  
$firstName $user_details[0]['first_name']; 
$lastName $user_details[0]['last_name'];
$name ''.$firstName.' '.$lastName.'';
}

 

echo 
'
</body></html>'
;
}

// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..

function theme_linktree()

{

global $context$settings$options;



}

// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..

function theme_linktree2()

{

global $context$settings$options;



echo '<span class="pathway">&nbsp;';

// Each tree item has a URL and name. Some may have extra_before and extra_after.

foreach ($context['linktree'] as $link_num => $tree)

{

// Show something before the link?

if (isset($tree['extra_before']))

echo $tree['extra_before'];



// Don't show a separator for the last one.

if ($link_num != count($context['linktree']) - 1)

// Show the link, including a URL if it should have one.

echo $settings['linktree_link'] && isset($tree['url']) ? '<a href="' $tree['url'] . '" class="pathway">' $tree['name'] . '</a>' $tree['name'] , '<img src="'.$settings['images_url'].'/linktree.png" style="margin: 0 10px 0 10px" alt="" />';

else

echo $tree['name'];



// Show something after the link...?

if (isset($tree['extra_after']))

echo $tree['extra_after'];



}



echo '</span>';

}


// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context$settings$options$scripturl$txt;

echo '
<ul>'
;
foreach ($context['menu_buttons'] as $act => $button)
echo '<li><a '$button['active_button'] ? ' class="current"' '' ' href="'$button['href'], '"><span>'$button['title'], '</span></a></li>';

echo '
</ul>'
;

}

// Generate a strip of buttons.
function template_button_strip($button_strip$direction 'top'$force_reset false$custom_td '')
{
global $settings$context$txt$scripturl;

// Create the buttons...
$buttons = array();
foreach ($button_strip as $key => $value)
{
if (!isset($value['test']) || !empty($context[$value['test']]))
$buttons[] = '<a href="' $value['url'] . '" ' . (isset($value['custom']) ? $value['custom'] : '') . '><span>' $txt[$value['text']] . '</span></a>';
}

if (empty($buttons))
return '';

// Make the last one, as easy as possible.
$buttons[count($buttons) - 1] = str_replace('<span>''<span class="last">'$buttons[count($buttons) - 1]);

echo '
<div class="buttonlist'
$direction != 'top' '_bottom' '''">
<ul class="clearfix">
<li>'
implode('</li><li>'$buttons), '</li>
</ul>
</div>'
;



}

?>
Title: Re: SMFChess Mod
Post by: Bugo on June 18, 2010, 11:43:59 AM
Try delete all other scripts and check Challenge request.
Title: Re: SMFChess Mod
Post by: divecall on June 18, 2010, 02:25:53 PM
I installed the mod for my forum SMF2 RC2. In english language i have a chess button. when i switch my language back to "german" i have no button.

Where can i change the name ? modification.english.php is "chess-word-free" ???
Title: Re: SMFChess Mod
Post by: Bugo on June 18, 2010, 08:53:25 PM
You can translate Errors.english.php, ManagePermissions.english.php, Who.english.php, index.english.php, Chess.english.php, ChessAdmin.english.php, ChessXml.english.php. Or you can try install this mod (http://custom.simplemachines.org/mods/index.php?mod=615).
Title: Re: SMFChess Mod
Post by: divecall on June 19, 2010, 06:25:40 AM
Thank you for you answer.

The chess-button is in the file index.english.php

If you are missing this button in your language, put the Chess-part (from index.english.php) in your index.my-language.php and translate this first.

 ;)
Title: Re: SMFChess Mod
Post by: divecall on June 19, 2010, 10:43:21 AM
I have the same problem like @anakmacan. My challenge request not working....I can type different user names, press return - nothing happend.
My permissions are OK, and my index.template.php looks well, too.
I am using SMF2 RC2.

 ???
Title: Re: SMFChess Mod
Post by: Bugo on June 19, 2010, 10:48:56 AM
http://www.simplemachines.org/community/index.php?topic=225742.msg2670085#msg2670085
Title: Re: SMFChess Mod
Post by: divecall on June 19, 2010, 10:53:02 AM
Thank you. I was doing this....
Title: Re: SMFChess Mod
Post by: divecall on June 19, 2010, 10:55:11 AM
And there is a small grafix-error in the chess admin area (standard curve theme), but is no problem with the functionality.

Great Mod, i like it...
Title: Re: SMFChess Mod
Post by: divecall on June 19, 2010, 11:13:15 AM
I was deleting my scripts (from other mods) in the index.template.php but the "challenge Request" is not possible.
Title: Re: SMFChess Mod
Post by: Bugo on June 19, 2010, 11:55:58 AM
I don't have these bugs. I don't know what to advise you...


Well, try replace <body onload="PreloadFlag = true;"> to <body> :)
Title: Re: SMFChess Mod
Post by: divecall on June 19, 2010, 12:34:09 PM
Wow !

Thats working for me. Maybe for @anakmacan, too ?

But what i am deleting with this line ? Are the other functions well, is my forum safe ?

Sorry for this questions, but i dont know nothing about PHP and HTML... :-[
Title: Re: SMFChess Mod
Post by: Bugo on June 19, 2010, 01:26:50 PM
But what i am deleting with this line ? Are the other functions well, is my forum safe ?
We'll wait and see :)

Or you can write this small fix:
Code: [Select]
echo '
    <script type="text/javascript">
        window.onload = "PreloadFlag = true;"
    </script>';

// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'];

echo '
</head>
<body>

P.S. What is your list of installed mods?
Title: Re: SMFChess Mod
Post by: divecall on June 19, 2010, 01:33:23 PM
Thank you for your fast reply. I send you a list with my Mods with PN.

In what file i need to put this small piece of code ?
Title: Re: SMFChess Mod
Post by: Bugo on June 19, 2010, 01:45:07 PM
index.template.php
Title: Re: SMFChess Mod
Post by: searchgr on June 19, 2010, 02:27:26 PM
Remove any game thats last move was over 30 Days

How do i change the number of the days? There is no 'Save' button.
Title: Re: SMFChess Mod
Post by: divecall on June 19, 2010, 03:37:58 PM
@Bugo: Thank you, these Lines of your code (for the index.template.php) works well.

Title: Re: SMFChess Mod
Post by: anakmacan on June 19, 2010, 09:20:31 PM
mannn, its not working again on my new theme.  :-\
oh well i give up.
Title: Re: SMFChess Mod
Post by: divecall on June 20, 2010, 04:43:56 PM
What files exactly i need to translate, for to have this Mod in my language ?

Only the files what is in the SMF2 RC2 package (inside "language") ?

Or something more ?

Because all my PM about SMF chess are empty....Sending well, but no text.
Title: Re: SMFChess Mod
Post by: shaitanfr on June 24, 2010, 02:13:19 PM
Very strange thing with this Mod. If you deactivate template eval, all javascript hang. Tested with a fresh SMF 1.1.11 Install.

Title: Re: SMFChess Mod
Post by: divecall on June 26, 2010, 11:38:04 AM
I have another error, after upgrading my forum to RC3

I never see some picture, it is always "working" and searching....(look at my attached picture, it is not easy for me to explain this error ...)

(when i put my language in "german". in "english" is all OK)
Title: Re: SMFChess Mod
Post by: tfs on August 15, 2010, 10:40:17 PM
It seems like this just started after updating to 2.1.4, where if I uninstall and reinstall, which I occasionally must do to allow the uninstall of another conflicting mod, SMF Chess forgets the "Receive PM updates from SMF Chess:" setting.
Title: Re: SMFChess Mod
Post by: petesky on September 11, 2010, 05:46:22 AM
Hello ! Is this chess mod running on 2.0 RC3 ? I'M looking for such a chess tournament script - any ideas ?
Title: Re: SMFChess Mod
Post by: Vichuu on September 11, 2010, 12:03:29 PM
Dear is it for 2.0rc3?
Title: Re: SMFChess Mod
Post by: petesky on September 13, 2010, 02:50:45 AM
Dear Vichuu - no, it isn't for 2.0 but maybe someone (maybe the author) has one for this version ?!
Title: Re: SMFChess Mod
Post by: tfs on September 13, 2010, 05:41:37 PM
Latest version HERE. (http://www.simplemachines.org/community/index.php?topic=225742.msg2664727#msg2664727)
Title: Re: SMFChess Mod
Post by: petesky on September 14, 2010, 02:22:26 AM
Seems to be removed on monday or am i blind :-) ?
Title: Re: SMFChess Mod
Post by: divecall on September 18, 2010, 05:08:07 PM
Hello !

I am using SMF 2 RC2 with SimplePortal 2.3.1

It is possible to make a PHP-block, who show the challenger into a block ?

e.g
"[Member Name] is waiting for an opponent / competitior in the chess-area"

it must be nice, when the word "chess-area" is the link to the chess-page.

thank you.
Title: Re: SMFChess Mod
Post by: ElaineG on September 20, 2010, 07:03:00 AM
I have just upgraded to smf 2 rc3 and I'm looking for a version of chess which works on smf 2
I've seen some people here pointing at a post where there should be an attachment, but apparently it isn't there any more. Is there a way I can get that version?
Thanks
Title: Re: SMFChess Mod
Post by: petesky on September 20, 2010, 07:47:34 AM
@ElaineG

Thank you for better explanation :-)
Title: Re: SMFChess Mod
Post by: petesky on September 22, 2010, 07:26:14 AM
@All

Can anybody give me a copy of 2.1.5 ?! Thx.
Title: Re: SMFChess Mod
Post by: petesky on September 29, 2010, 07:58:57 AM
Hello again, any news about 2.1.5 Version ?! Can someone provide this version for download ?
Title: Re: SMFChess Mod
Post by: petesky on October 08, 2010, 06:52:28 AM
And again and again and again :-) Does anyone has a copy of 2.1.5 ?
This mod would be great having for the kids in our school.
Title: Re: SMFChess Mod
Post by: Bugo on October 08, 2010, 07:16:55 AM
I am waiting for an answer from SMF Customization Team. I would take over SMF Chess Mod.
Title: Re: SMFChess Mod
Post by: petesky on October 08, 2010, 09:07:42 AM
All right - because the chess season begins and i didn't want to use joomla along with my board may you can send me pm ?!
Title: Re: SMFChess Mod
Post by: Bugo on October 08, 2010, 10:09:33 AM
Unfortunately, I don't.

We have rules for a reason.
Title: Re: SMFChess Mod
Post by: petesky on October 08, 2010, 10:43:44 AM
Sure - rules are rules.... *grml*
Title: Re: SMFChess Mod
Post by: tfs on October 08, 2010, 02:30:17 PM
Bugo, I hope they allow you to take it over, of course with the stipulation that if Feeble ever returned he'd have some say in the process of what happens.  AFAIK it would be unprecedented to give away "ownership" of a mod, but it would be such a tragedy if this mod was lost to the SMF community.  I've been asking for a long time for SMF to assign "Stewardship" of this mod to someone who would keep it working.  In the case of SMF Chess, where a significant and important mod was apparently abandoned, it would be the right thing to do.

If anyone's wondering, the original author of SMF Chess "feeble (http://www.simplemachines.org/community/index.php?action=profile;u=37052)" has not been heard from for two years.  Some of us have been lobbying the powers that be to allow the mod to be at least updated by someone to keep it viable and working with SMF 2+.  The two year anniversary of feeble's last visit to www.simplemachines.org will be 12 days from today.  Hopefully we'll hear by then if something can be done.

Regardless of what happens, many thanks and kudos to Bugo for supporting the SMF Chess community.
Title: Re: SMFChess Mod
Post by: Bugo on October 08, 2010, 02:42:46 PM
Bugo, I hope they allow you to take it over, of course with the stipulation that if Feeble ever returned he'd have some say in the process of what happens.
It stands to reason. I just want to support and update mod.
Title: Re: SMFChess Mod
Post by: tfs on October 08, 2010, 03:39:02 PM
It stands to reason. I just want to support and update mod.

And a thousand times thanks for your support!   ;D
Title: Re: SMFChess Mod
Post by: busterone on October 08, 2010, 05:24:49 PM
Agreed. It stands to reason that feeble has abandoned this mod after two years of absence. Hopefully they will use some reason and let you update it.  :)
Title: Re: SMFChess Mod
Post by: Sabre™ on October 08, 2010, 05:37:44 PM
Bugo, did somebody say you cannot attach your updated version in this thread?
Title: Re: SMFChess Mod
Post by: Bugo on October 08, 2010, 06:29:14 PM
No one (in this thread). But can say.
Title: Re: SMFChess Mod
Post by: Sabre™ on October 08, 2010, 10:17:14 PM
Interesting.
I've never seen a 'member submitted update' refused in a thread, unless the mod Owner states they do not want anyone to do so.

Well, thanks for your update and time anyway mate :)
Title: Re: SMFChess Mod
Post by: Oya on October 08, 2010, 10:20:12 PM
i have - ive seen the moderators actually even remove them if the author's permisison wasn't given
Title: Re: SMFChess Mod
Post by: Sabre™ on October 08, 2010, 10:25:53 PM
Really?
That's strange.
It used to be how members could contribute and help the community. I myself have updated a fair few in the past, without any issue such as that.
Although a couple times the author(s) have contacted me before they left, but most often, it's just a user submitted update.
Must be a new thing ....
Title: Re: SMFChess Mod
Post by: busterone on October 08, 2010, 10:37:19 PM
This is news to me as well. I have seen user contributed updates several times. If that is a rule, then it is a rule though.
My compliments to you Bugo, The last one you submitted works on RC3 for me, with the exception of the wins/losses not updating in the database. The elo is changed, but the wins and losses always remain at 0 for every member that plays. It doesn't get played very often anymore, but maybe once it is fully updated and working, I may get more to play it again.
Title: Re: SMFChess Mod
Post by: Bugo on October 09, 2010, 12:03:50 AM
version 2.1.5 (unofficial).

Changelog:
fixed templates for SMF 2.x (menubar & other)
fixed leaderboard (now it works in SMF 2.x)
fixed install on SMF 1.x
Title: Re: SMFChess Mod
Post by: petesky on October 13, 2010, 10:17:51 AM
Any news about the 2.1.5 status right now ?
Title: Re: SMFChess Mod
Post by: petesky on October 19, 2010, 09:33:36 AM
Hello again :-)
Title: Re: SMFChess Mod
Post by: parvaz on October 26, 2010, 10:34:23 AM
Hi,
any news about the updated version?
Title: Re: SMFChess Mod
Post by: busterone on October 26, 2010, 05:32:35 PM
version 2.1.5 (unofficial).

Changelog:
fixed templates for SMF 2.x (menubar & other)
fixed leaderboard (now it works in SMF 2.x)
fixed install on SMF 1.x
PM sent.
Title: Re: SMFChess Mod
Post by: petesky on November 03, 2010, 07:15:15 AM
Question: Whenever i join a quickmatch the system will not recognize, that user is joined and chess can begin. Has anyone noticed this issue or is there a slight problem ?!
Title: Re: SMFChess Mod
Post by: petesky on November 05, 2010, 05:35:44 AM
Hello SMFChess Users - can someone tell me how the Quickmatch works. How can i start such a game ?! Whenever both players are online the game cannot start because chess tells me that not all player are joined and ready ?!

Title: Re: SMFChess Mod
Post by: petesky on November 05, 2010, 08:51:17 AM
OK guys - for all people who have troubles starting a game under 1 hour, there seems to be a small problem finding the right players:

Change chessXML.php LINE 307 to:

Code: [Select]
AND (UNIX_TIMESTAMP(lo.log_time) < " . (time() - 20) . ") AND lo.id_member = '{$context['SMFChessXml']['oppId']}'
Now game starts when both players are online.
Title: Re: SMFChess Mod
Post by: petesky on November 05, 2010, 09:44:29 AM
And for the correct update whenever player forget to move in an quick match, you should add the following in ChessXML around line 221 (don't know why this wont work without this modification):

Code: [Select]
if(($context['SMFChessXml']['moveTimeleft'] == 0) && (!empty($context['SMFChessXml']['side'])) && (!$context['SMFChessXml']['yours']) && (!$context['SMFChessXml']['control'])){
$context['SMFChessXml']['message'] = '<b>'.$txt['SMFChess_control']['moveexpired'].' '.$txt['SMFChess_control']['click'].' <a href="javascript:void(0)" onclick="if(confirm(\''.$txt['SMFChess_control']['yousure'].'\')){chessCommand(\'clock_accept_win\');}"><u>'.$txt['SMFChess_control']['here'].'</u></a> '.$txt['SMFChess_control']['acceptwin'].'</b>';

$smcFunc['db_query']('', "UPDATE {db_prefix}chess
SET status='5', updated='".time()."', movetime='".time()."', control='0', extra='{$context['user']['id']}'
WHERE id_chess='{$context['SMFChessXml']['id_chess']}'
AND status < '5'
LIMIT 1");

}

Title: Re: SMFChess Mod
Post by: busterone on November 05, 2010, 05:11:31 PM
I haven't heard any reports of that issue on my forum, but I will keep this in mind if I do. Thanks for the heads up petesky.
Title: Re: SMFChess Mod
Post by: PLAYBOY on December 11, 2010, 09:48:28 PM
We need updates for this mod. Please somebody take over if the writer is not responding.
Title: Re: SMFChess Mod
Post by: petesky on December 13, 2010, 02:40:45 AM
The mod runs fine so far - what's your problem ?
Title: Re: SMFChess Mod
Post by: PLAYBOY on December 13, 2010, 09:47:55 AM
1- It keeps freezing sometimes. both the chat and the chess.
2- We need more options.
3- You cant drag and drop on iphone. So you cant play it on your phone.
4- You cant integrate it with portals. Well actually this one is more like portals problem.

Plus we would like to see some updates and more features and stuff you know.
Title: Re: SMFChess Mod
Post by: PLAYBOY on December 13, 2010, 10:24:07 AM
Plus there is no more language files.  We need language files for this mod.
Title: Re: SMFChess Mod
Post by: tfs on December 13, 2010, 10:42:34 AM
The mod runs fine so far - what's your problem ?

When you uninstall and reinstall, it looses the setting of whether or not people want a PM/email sent when it's their turn.
Title: Re: SMFChess Mod
Post by: PLAYBOY on December 13, 2010, 02:01:58 PM
Thas good to know... but too late :)
Title: Re: SMFChess Mod
Post by: GJSchaller on December 20, 2010, 04:57:57 PM
Is there a way to get a hold of v2.1.5, since it is not linked in this thread, or on the official mod site?

Thank you!
Title: Re: SMFChess Mod
Post by: asmith on December 26, 2010, 01:36:15 PM
I viewed all 35 pages, and found links like this: http://www.simplemachines.org/community/index.php?topic=225742.msg2664727#msg2664727

They have attachment sign next to them, but the attachment is removed?
Can someone PLEASE attach the Bugo 2.1.5 unofficial version?
Title: Re: SMFChess Mod
Post by: busterone on December 26, 2010, 02:10:57 PM
The attachments were removed because it violates SM policy of distributing without the mod authors's permission. The mod author has been absent for over 2 years though, so it maybe should be allowed. I have serious doubts that feeble will ever return myself.

Title: Re: SMFChess Mod
Post by: asmith on December 26, 2010, 02:23:02 PM
Hopefully someone pm me then :/
Title: Re: SMFChess Mod
Post by: Bigguy on December 26, 2010, 04:08:46 PM
I tried to get a hold of Feeble via my website as he is/was a member there (SMFH) but no reply. Maybe someone else could try and see if they can get a hold of him through his website.
Title: Re: SMFChess Mod
Post by: PLAYBOY on December 26, 2010, 05:32:50 PM
Is there a particular reason he has been gone for 2 years?

What is SMFH?
Title: Re: SMFChess Mod
Post by: Bigguy on December 26, 2010, 06:38:47 PM
SMFH = www.smfhelper.info   It was a site I had running for support for SMF. I have closed it now and moved on to my current site. You would have to ask him why he has been gone so long. I have no idea.
Title: Re: SMFChess Mod
Post by: Arantor on January 07, 2011, 07:24:19 PM
*shrug* I'd love to see an updated, authorised version of this, but I guess he either got fed up maintaining it, or more likely real life got in the way. Happens to even the best-tempered of people.
Title: Re: SMFChess Mod
Post by: Bigguy on January 08, 2011, 12:31:47 AM
I'd like to see it updated as well. I'm not exactly surer what the procedure is for taking over a mod but I think it would have to go in front of the BoD or team here or something...a vote taken maybe. ???
Title: Re: SMFChess Mod
Post by: searchgr on January 09, 2011, 07:18:46 AM
The forum is full with abandoned mods. This is the reality ..... Up to day the smf team has done nothing except of deleting any updates that appear from time to time.
If the author is missing for more than 6 months it should be allowed to publish updates unless the topic is locked by the author.
Otherwise..... welcome to the dead mods zone.
Title: Re: SMFChess Mod
Post by: Arantor on January 09, 2011, 09:30:22 AM
Quote
If the author is missing for more than 6 months it should be allowed to publish updates unless the topic is locked by the author.

Only if the author grants permission to do so. The law grants mod authors their copyright, it is not permissible for SMF to override that, unless mods are published under a licence that allows them to be updated (e.g. BSD, LGPL), or unless the author specifically says to the team that mods can be passed on.

Alternatively, if the team amends the SMF licence with respect to mods that if a mod is left abandoned for more than a given amount of time, it can be claimed by another - but that's treading on murky ground.

The team is doing the only thing they can: enforcing the laws that sit in place. It may suck, but that's life.
Title: Re: SMFChess Mod
Post by: Bigguy on January 09, 2011, 10:46:16 AM
I have registered on his site and sent him an email from there so we will see what happens after this.
Title: Re: SMFChess Mod
Post by: tfs on January 09, 2011, 10:49:22 AM
The loss of this mod is tragic.  It's a good mod, and no small project.  Sooner or later an SMF update will break even the patches that someone upthread released, and this mod will go away, and the SMF using chess lovers will go away with it.  The powers that be would have better served the SMF community by continuing to pretend to ignore this thread.
Title: Re: SMFChess Mod
Post by: Arantor on January 09, 2011, 10:53:46 AM
The powers that be have a duty to protect the legal interests of the mod author, too. If it were ever the case that the team stopped listening to the legal requirements, it would actually damage SMF much more than mods disappearing, and you'd get even fewer modders writing for it.
Title: Re: SMFChess Mod
Post by: tfs on January 09, 2011, 11:24:29 AM
The powers that be have a duty to protect the legal interests of the mod author, too. If it were ever the case that the team stopped listening to the legal requirements, it would actually damage SMF much more than mods disappearing, and you'd get even fewer modders writing for it.

Very true, but I still say that ignoring the thread was serving the community, and Feeble.  Nobody was intent on stealing from Feeble, or taking credit for his work.  That was the last thing on anyone's mind.  Several people have tried in vain to contact him, in order to get his permission to simply keep his work from dying.  I understand that once the organization officially recognized that there was "illegal" activity going on, then it was compelled to act.  That's very clear and legally binding, and in this case... unfortunate.
Title: Re: SMFChess Mod
Post by: Arantor on January 09, 2011, 11:27:45 AM
You see, though, if they were to actively ignore a thread but police others, they would be accused of having double standards (god knows I've called the team out on that enough).

In an ideal world this would never have happened, if the submission guidelines insisted on clarifying licence terms from a mod author ahead of time, and/or asked what a mod author should do if the mod goes abandoned.

When I was part of the team, this debate came up at least once, but there is unfortunately no good solution right now, at least not one that can be carried out retroactively without asking all the original mod authors about it. Measures can be put in place to deal with this for new mod authors, of course, and mods that are larger can deal with this themselves by ensuring there is an adequately liberal licence (which is why I was quite keen that SimpleDesk should have the BSD licence it does, amongst other things)
Title: Re: SMFChess Mod
Post by: THE BRA1N on January 18, 2011, 04:22:38 PM
Technically speaking, this mod is outdated and obsolete. It no longer functions or is compatible with the latest version of SMF. What is wrong with someone else drawing the previous work to develop a new functioning version of the chess mod? Or maybe independently developing a new one?

Does the fact the someone originally made a mod for SMF and at some point ceases to support it or maybe passed away mean that everyone else in the future is precluded into perpetuity from further developing a functioning, compatible version with the current SMF version? Considering how dynamic SMF is and the frequency of changes, this doesn't seem like a good policy if indeed that is the case.

It seems to me that a fair balance should be arrived at to protect mod authors and also further the development of SMF instead of stymieing it by precluding others to develop new versions of obsolete, non-functioning mods.

Title: Re: SMFChess Mod
Post by: Arantor on January 18, 2011, 04:25:24 PM
Quote
It seems to me that a fair balance should be arrived at to protect mod authors and also further the development of SMF instead of stymieing it by precluding others to develop new versions of obsolete, non-functioning mods.

There's a little thing called copyright law in the way. Unless a mod author explicitly assigns a licence to a mod's code to allow for onward development/forking, such as I did with SimpleDesk, or as SlammedDime did with his mods, copyright law trumps that, since a software licence is the only thing that allows any redistribution other than the rights explicitly granted in law.

No licence is given here, so the actual law states that no derivative work or similar can be produced. Either a completely new work has to be created, or the original author provides permission, those are the only options. Never mind what you or I might think is reasonable, and under other circumstances I'd completely agree with you - but unfortunately law transcends what our opinions might have to say.
Title: Re: SMFChess Mod
Post by: busterone on January 18, 2011, 04:52:08 PM
So are you saying that if someones writes a completely new Chess mod from complete scratch, then it would be legal and accepted.?
Title: Re: SMFChess Mod
Post by: Arantor on January 18, 2011, 04:53:11 PM
I don't think I ever said that was an issue...

Sure it's fine to do, provided that *any* code used is original, or has appropriate use rights (e.g. a suitable licence providing use, or appropriate permission from author has been secured)

This would be true for ANY mod, not just this one.
Title: Re: SMFChess Mod
Post by: busterone on January 18, 2011, 04:56:45 PM
That is what I had thought all along myself. It is beyond my ability, but I am sure there is someone who plays the game and does have that ability around here.  :)
Title: Re: SMFChess Mod
Post by: Arantor on January 18, 2011, 04:58:46 PM
Well, I probably have the ability but sadly nowhere near the time to implement it properly :( too busy with other much more time consuming projects, though the result will be worth it when it's done.
Title: Re: SMFChess Mod
Post by: RustyBarnacle on January 18, 2011, 09:46:23 PM
With all that said, I'm curious about something.  db writes and reads will have to be extremely similar if not copy/paste in order to  make something compatible will they not?  Does that mean that existing data of previous games needs to be ignored and new tables created?

Just curious, not looking to start anything.
Title: Re: SMFChess Mod
Post by: busterone on January 18, 2011, 09:49:41 PM
Well, I probably have the ability but sadly nowhere near the time to implement it properly :( too busy with other much more time consuming projects, though the result will be worth it when it's done.
I hope you didn't think I was insinuating that you do it, even though I am positive it is within your ability to do so. I understand time constraints all too well myself these days.  :)
It would be great if someone would create a new one for 2.0 though.
Title: Re: SMFChess Mod
Post by: Arantor on January 19, 2011, 02:16:38 AM
Quote
Does that mean that existing data of previous games needs to be ignored and new tables created?

Using the exact same *tables* is fine... provided there's a new install script to produce them. Alternatively create new tables, new install script and have a converter.

Quote
I hope you didn't think I was insinuating that you do it, even though I am positive it is within your ability to do so. I understand time constraints all too well myself these days.

No, not at all. :) It's something I once thought about doing then more recently I really just haven't had the time due to other commitments. But when they are at a stage they can be left alone for a bit, maybe a new chess mod will materialise (but I'm positive it won't be for SMF 2.0 by then)
Title: Re: SMFChess Mod
Post by: Bigguy on January 19, 2011, 06:44:28 PM
I have sent a few emails and PM's Feebles way, but to date no answer at all. I have been doing this for a month now I think or maybe a bit more. I don't think he is coming back.
Title: Re: SMFChess Mod
Post by: searchgr on January 22, 2011, 01:41:34 AM
This is an abandoned mod. Over.
Title: Re: SMFChess Mod
Post by: PLAYBOY on January 28, 2011, 07:12:10 AM
I started getting this in my error report.

8: Undefined index: SMFChess_admin
Dosya: /home/site/public_html/forum/Sources/Subs.php
Satır: 2999

and here are the lines from subs.php

Code: [Select]
// Make sure the administrator has a valid session...
// Begin SMFChess code
if (allowedTo('chess_admin'))
{
$context['admin_areas']['SMFChess'] = array (
    'title' => $txt['SMFChess_admin'],
    'areas' => array()
    );

$context['admin_areas']['SMFChess']['areas']['chess_admin'] =  '<a href="' . $scripturl . '?action=chess_admin">' . $txt['settings'] . '</a>';
$context['admin_areas']['SMFChess']['areas']['chess_admin_maint'] =  '<a href="' . $scripturl . '?action=chess_admin_maint">' . $txt[501] . '</a>';
}
// End SMFChess code

Any ideas?

1.1.12
Title: Re: SMFChess Mod
Post by: Doppler12 on February 06, 2011, 01:04:24 AM
I started getting this in my error report.

8: Undefined index: SMFChess_admin
Dosya: /home/site/public_html/forum/Sources/Subs.php
Satır: 2999

and here are the lines from subs.php

Code: [Select]
// Make sure the administrator has a valid session...
// Begin SMFChess code
if (allowedTo('chess_admin'))
{
$context['admin_areas']['SMFChess'] = array (
    'title' => $txt['SMFChess_admin'],
    'areas' => array()
    );

$context['admin_areas']['SMFChess']['areas']['chess_admin'] =  '<a href="' . $scripturl . '?action=chess_admin">' . $txt['settings'] . '</a>';
$context['admin_areas']['SMFChess']['areas']['chess_admin_maint'] =  '<a href="' . $scripturl . '?action=chess_admin_maint">' . $txt[501] . '</a>';
}
// End SMFChess code

Any ideas?

1.1.12

Yes actually, the error is caused by the fact there is no chess.english-utf8.php all you need to do is dulicate your chess.english.php and rename the copy chess.english-utf8.php
Title: Re: SMFChess Mod
Post by: PLAYBOY on February 06, 2011, 01:34:53 PM
I just did. But still the same. I still get the same error.
I copied and renamed the english and turkish files as you said and put them in default.
Problem continuous.
Title: Re: SMFChess Mod
Post by: Doppler12 on February 07, 2011, 02:01:15 PM
Looking through the installer, there's a couple of files that have been changed to .english-utf8 files that you probably didn't update yourself

Here's a updater attached you can either look through and do manually or use it as a package.
Title: Re: SMFChess Mod
Post by: eyo on February 07, 2011, 07:30:25 PM
ugh nothing tilts me more than seeing great abandoned mods get bumped only to see no updated versions
Title: Re: SMFChess Mod
Post by: PLAYBOY on February 07, 2011, 08:51:48 PM
Looking through the installer, there's a couple of files that have been changed to .english-utf8 files that you probably didn't update yourself

Here's a updater attached you can either look through and do manually or use it as a package.

I still get the same error report.

ugh nothing tilts me more than seeing great abandoned mods get bumped only to see no updated versions

Same here man. Same here.
Title: Re: SMFChess Mod
Post by: Arantor on February 08, 2011, 04:58:42 AM
ugh nothing tilts me more than seeing great abandoned mods get bumped only to see no updated versions

Here's the thing. Authors write something, they move on. Nowhere does it say they're expected to continue developing it past the point at which it works for them satisfactorily.

People tend to forget that mod authors do so out of their free time, and that it's a hobby for them - and no-one has the right to demand or expect them to pursue their hobby in any way other than how they want. I don't know what hobbies you have, but imagine that you made something as a hobby, then you have others asking you to keep working on it for their benefit, even though you made it and you're happy with it how it is.
Title: Re: SMFChess Mod
Post by: WhiteEagle on February 17, 2011, 09:25:28 PM
I would like to see this mod updated for 2.0 RC5 please.
Title: Re: SMFChess Mod
Post by: fk59 on February 18, 2011, 03:54:48 AM
me too!  :D
Title: Re: SMFChess Mod
Post by: ben sisko on February 18, 2011, 06:05:39 AM
P. S. This mod very well works on SMF 2.0. For example => http://forum.dragomano.ru/index.php?action=chess;id=4

without errors?
Title: Re: SMFChess Mod
Post by: Paracelsus on February 18, 2011, 09:59:51 AM
ugh nothing tilts me more than seeing great abandoned mods get bumped only to see no updated versions

Here's the thing. Authors write something, they move on. Nowhere does it say they're expected to continue developing it past the point at which it works for them satisfactorily.

People tend to forget that mod authors do so out of their free time, and that it's a hobby for them - and no-one has the right to demand or expect them to pursue their hobby in any way other than how they want. I don't know what hobbies you have, but imagine that you made something as a hobby, then you have others asking you to keep working on it for their benefit, even though you made it and you're happy with it how it is.

Wouldn't it be possible for SMF to review the agreement made at the time the MOD was produced introducing the possibility of being developed by someone else in case of abandonment, send the new text by email to the author and establish a time limit for it to reply and reject the new agreement (that would otherwise replace the old one)?
Title: Re: SMFChess Mod
Post by: Arantor on February 18, 2011, 10:01:31 AM
Speaking as a former member of the Customization Team, no agreement is actually made of mod authors. Any mods published through this site are assumed (somewhat dangerously, IMHO) to be under the same licence as SMF itself - that they're only available through the mod site and nowhere else, not even here, and that without contact from the original author to validate/verify what can happen, NOTHING can happen.

Mod authors do not have to sign anything, even electronically, regarding their works.
Title: Re: SMFChess Mod
Post by: Godsongz on February 19, 2011, 06:47:31 PM
I have sent a few emails and PM's Feebles way, but to date no answer at all. I have been doing this for a month now I think or maybe a bit more. I don't think he is coming back.

Feeble hasn't even logged into his own website since December 22, 2008.  It's completely abandoned also and is just a honeypot for spambots.  He's just...  gone.  Though, I guess somebody is still paying for his domain name.  Odd.
Title: Re: SMFChess Mod
Post by: Arantor on February 19, 2011, 06:52:01 PM
If the registrar is nice, it's probably set to auto-renew.
Title: Re: SMFChess Mod
Post by: tfs on February 20, 2011, 02:47:15 AM
I've renewed a domain for 10 years before, but have never seen a web hosting company that accepts payment for more than a year at a time.
Title: Re: SMFChess Mod
Post by: Arantor on February 20, 2011, 07:23:45 AM
Again, it might be set to auto renew. And my old webhost did run a program for a while of 'hosting for life'.
Title: Re: SMFChess Mod
Post by: mu271828 on February 22, 2011, 12:57:52 AM
Does the fact that SMFChess is distributed with LGPL libraries (wz_tooltip, wz_dragdrop) have any relevance here?

I don't know much about that license; sorry if it does not.
Title: Re: SMFChess Mod
Post by: Arantor on February 22, 2011, 02:50:29 AM
Well, those libraries themselves, can be updated without needing permission (it's a necessary condition of the licence that you can implicitly fork it), but the core code does not indicate its own licence as far as I can see, and it certainly doesn't indicate its licence as being something that can be forked (i.e. someone can branch off and do their own release)
Title: Re: SMFChess Mod
Post by: WhiteEagle on February 22, 2011, 03:37:05 PM
So if someone coded a new chess mod from scratch they could release it here?
Title: Re: SMFChess Mod
Post by: Arantor on February 22, 2011, 04:01:45 PM
So if someone coded a new chess mod from scratch they could release it here?

Yes, assuming the only code reused is suitably licensed (LGPL is allowed)
Title: Re: SMFChess Mod
Post by: mu271828 on February 23, 2011, 04:10:34 AM
Well, those libraries themselves, can be updated without needing permission (it's a necessary condition of the licence that you can implicitly fork it), but the core code does not indicate its own licence as far as I can see, and it certainly doesn't indicate its licence as being something that can be forked (i.e. someone can branch off and do their own release)
Thank you, Arantor.
Title: Re: SMFChess Mod
Post by: WhiteEagle on February 23, 2011, 05:46:50 PM
Good enough. Anyone interested in coding Chess for SMF 2.0 (for lack of a better name)?
Title: Re: SMFChess Mod
Post by: GJSchaller on March 10, 2011, 05:05:54 PM
A possible, simple solution - just make a bridge to this:

http://www.phpchess.com/

This is an off-the-cuff answer - I don't know how the licensing would work between SMF & phpChess (I can't find any Licensing info on their site, although it was a quick search).

A new project, with a simple bridge, might be worthwhile - let them handle the Chess side, and we just make the login calls.  They claim to have bridging functionality built into the app specifically for this purpose.
Title: Re: SMFChess Mod
Post by: WhiteEagle on March 11, 2011, 02:26:54 PM
A possible, simple solution - just make a bridge to this:

http://www.phpchess.com/

This is an off-the-cuff answer - I don't know how the licensing would work between SMF & phpChess (I can't find any Licensing info on their site, although it was a quick search).

A new project, with a simple bridge, might be worthwhile - let them handle the Chess side, and we just make the login calls.  They claim to have bridging functionality built into the app specifically for this purpose.

That actually makes sense!
Title: Re: SMFChess Mod
Post by: Yağız... on March 11, 2011, 02:50:26 PM
This is an off-the-cuff answer - I don't know how the licensing would work between SMF & phpChess (I can't find any Licensing info on their site, although it was a quick search).
"GNU LESSER GENERAL PUBLIC LICENSE - Version 3, 29 June 2007"
Title: Re: SMFChess Mod
Post by: Arantor on March 11, 2011, 03:43:27 PM
LGPLv3 isn't a licensing issue for working with SMF.
Title: Re: SMFChess Mod
Post by: busterone on March 11, 2011, 05:36:03 PM
I downloaded and installed it to play with it. It is not bad. It allows head to head play, tournaments, and multiple types of gameplay- fast game, clocked moves, etc.
I haven't looked under the hood much yet though, so if nothing else, it could probably be easily connected to SMF via SSI in the least. So far, all I have done with it is peek into the skins to get a glimpse at how it is themed.

I really have no need for it, I have this version working on RC4 and 5 though.
Title: Re: SMFChess Mod
Post by: WhiteEagle on March 12, 2011, 03:23:00 PM
Cool, now we just need someone to code a bridge and write a how-to.
Update: I'm going to contact phpChess and see if they will create a bridge/mod for the latest version of SMF. Worth a try at least!
Title: Re: SMFChess Mod
Post by: jack001 on March 24, 2011, 05:02:12 PM
please can anyone mod it for RC5. It will be nice if anyone mod it.
Title: Re: SMFChess Mod
Post by: WhiteEagle on March 25, 2011, 12:36:13 PM
please can anyone mod it for RC5. It will be nice if anyone mod it.

I'll second this request.
Title: Re: SMFChess Mod
Post by: Arantor on March 25, 2011, 12:53:23 PM
Please have a read of the preceding posts to learn why this might not happen, thanks.
Title: Re: SMFChess Mod
Post by: jack001 on March 25, 2011, 03:49:47 PM
ok.. So is there any another game like poker or betting(bets). It will be awesome if there any game like this.
Title: Re: SMFChess Mod
Post by: Arantor on March 25, 2011, 03:51:19 PM
No, there aren't at present.
Title: Re: SMFChess Mod
Post by: jack001 on March 25, 2011, 04:24:26 PM
thank you for your reply. And one more thing thank-o-matic is not getting installed in rc5. I have requested but still no reply there.
Title: Re: SMFChess Mod
Post by: Arantor on March 25, 2011, 04:26:04 PM
Probably because the author of the Thank o Matic hasn't been around since the end of January...
Title: Re: SMFChess Mod
Post by: jack001 on March 25, 2011, 10:11:26 PM
so can any one of you do change it for rc5. It is my request friend. I am in need like hell..

This forum rocks and the people here too. SMF rocks in short. But somewhere people find it difficult to fulfil their wish so if smf would make a team of moders who helps to do so then it would rock the world. I have seen this coordination in one of the best forum in this world.
Its just an advise dude.
But must say that you all shines like stars.
Thank you:)
Title: Re: SMFChess Mod
Post by: Arantor on March 25, 2011, 10:27:27 PM
Quote
so can any one of you do change it for rc5. It is my request friend. I am in need like hell..

For the second time, no. Unless the mod author agrees to release the mod to someone else or gives it a suitable licence that someone else can develop it, or someone else writes it from scratch, it is actually in breach of copyright law for someone to update this mod and give it to you.
Title: Re: SMFChess Mod
Post by: jack001 on March 26, 2011, 02:24:57 AM
ok.. So finally have to wait till mod modifies. Is there any other way? I mean can't anyone request him to do or to give the authority?
Title: Re: SMFChess Mod
Post by: searchgr on March 26, 2011, 07:49:30 AM
jack001, send me a pm.
Title: Re: SMFChess Mod
Post by: searchgr on March 28, 2011, 10:30:10 AM
Any ideas about this error?


8: Undefined index: watching
Apply Filter: Only show the errors from this file
File: /home/*****/public_html/Themes/default/Chess.template.php (board sub template - eval?)
Line: 665

bugo, can you please help me with this error?
Title: Re: SMFChess Mod
Post by: Kimor on March 29, 2011, 01:49:55 AM
Hello!  I've installed this mod, and I'm having a few issues....

1) I can't seem to figure out how to challenge other players without the block added in TP.
2) TP doesn't seem to work quite right with this - is there another modification which would allow me to include the PHP block?
3) Several times, when I've installed mods on the forum, I've gotten screens without any text labels for the various options in the admin box.  Is there any way to stop this from happening?

Edit: It appears as if the text for the link to the chess game at the top of the forum isn't appearing.  By creating a game with a fake user, I can make an exclamation mark appear there, but otherwise, there is no text.  The resulting page gives me an error message whenever I click on the new game, and there is no text aside from the single link.  If it would be helpful, I can post an image.
Title: Re: SMFChess Mod
Post by: Lord Anubis on March 30, 2011, 09:58:36 PM
ok.. So finally have to wait till mod modifies. Is there any other way? I mean can't anyone request him to do or to give the authority?

Mainly at this time your on your own, Feeble (the mod author) hasn't been around... And you must remember SMF and most mods are freely done on someone's free time so "requesting someone" to do things is out of the question... not to mention RUDE

ok.. So is there any another game like poker or betting(bets). It will be awesome if there any game like this.
I have been dreaming of this same thing for years lol... Risk, Battleship, even checkers .... and lots of other old time board games would be fun to have

The hard part is having someone code them and give to the community, this was definitely a great addition (I still use it)

I just hope Feeble is ok, he just kinda disappeared...
Title: Re: SMFChess Mod
Post by: WhiteEagle on March 31, 2011, 05:42:11 PM
I too hope Feeble is okay.

I would love seeing Battleship or any other old board game (I love Aggravation myself) being created as a mod!
Title: Re: SMFChess Mod
Post by: TurtleKicker on June 13, 2011, 04:01:17 PM
I understand it's not legal to distribute a mod based upon Feeble's code.

Would it be legal however to distribute a "diff" file that contained the new changes necessary for one to make to SMFChess as long as one didn't distribute the final modified product? The new changes would not be covered by Feeble's copyright.
Title: Re: SMFChess Mod
Post by: searchgr on June 14, 2011, 02:19:05 PM
feeble is not active since 2008. If u want to contact him, i can give him the new code for chess that is compatible to smf 2.0. It's a pity so many users not to be able to use this mod.
Title: Re: SMFChess Mod
Post by: TurtleKicker on June 14, 2011, 04:04:04 PM
feeble is not active since 2008. If u want to contact him, i can give him the new code for chess that is compatible to smf 2.0. It's a pity so many users not to be able to use this mod.

He might not be active here, but he's alive as of April of 2010. I tracked him down elsewhere and also obtained his Gmail address.

I've tried contacting him via Gmail as well as through another forum I found him active on still, asking him if he'd either be interested in updating this mod, or otherwise formally releasing the code to the public domain. I'll be sure to let you know if I hear from him.
Title: Re: SMFChess Mod
Post by: politirant on June 18, 2011, 12:36:32 AM
I've read through every page of this thread, so I understand why we're not seeing a Chess Mod for SMF 2, but it sure is a shame.

I just wanted to add my name to the list of people who appreciated this great mod (thank you Feeble) and who are sad to no longer be able to use it.

I hope some day in the future our forums can play again.

Title: Re: SMFChess Mod
Post by: PLAYBOY on June 19, 2011, 12:21:31 PM
So?
Will it be updated for 2.0 or not?

I cant believe im seeing this mod getting wasted. What a shame.
Title: Re: SMFChess Mod
Post by: politirant on June 19, 2011, 03:52:06 PM
So?
Will it be updated for 2.0 or not?

I cant believe im seeing this mod getting wasted. What a shame.

As it stands now, it will not, apparently due to legal issues (read the older posts in this thread if you're interested in the legal details).

It is a shame indeed.
Title: Re: SMFChess Mod
Post by: PLAYBOY on June 19, 2011, 05:30:17 PM
Is there a way to install it manually to 2.0?
Title: Re: SMFChess Mod
Post by: xious on July 25, 2011, 08:34:10 AM
I can see that many people want this for SMF2.0... My case is a bit different: I'm wondering if this will run, or will break on the latest 1.1x build (1.1.14), or even (1.1.13) and if it breaks; and if so, has anyone (e.g. Bugo) has patched it? I would love to run this, but I think I should create a duplicate test-site first, before I do anything silly. I'm also curious if this is actual, live-chess, or play-by-play via posting.

Anyhow, 'm not sure if anyone has tried it, but if someone out there does have an answer to my question(s), I would very-much-a-lot appreciate a reply.

Feel free to PM any of those non-existing updates to me.  ;D

Thanks!
Title: Re: SMFChess Mod
Post by: PLAYBOY on October 23, 2011, 01:21:18 AM
I already got the version which fits to 2.0 but my members are having troubles with it the last few weeks. The moves are so slow. Pieces slide down off the bottom border of the board. Chat doesnt work.

I uninstalled and installed it again but its still the same. I have so many other mods in my forum. Maybe one of them is preventing chess to work properly. Can somebody help me please???
Title: Re: SMFChess Mod
Post by: Lord Anubis on October 23, 2011, 09:11:31 PM
playboy, mod author wont be round it seems (he was a great guy, hope he is ok), but I can tell you from experience its something AJAX related with the chat not working... TBH I found it was additional white space in my scripts at the bottom... I did have same problem though, fixed it with a tool here, if I remember it I will post it, (it showed where white space was on your scripts, so you could delete it)

Title: Re: SMFChess Mod
Post by: PLAYBOY on October 23, 2011, 10:29:46 PM
That would be very very good. I ll be waiting for the solution Thank you very much.
Title: Re: SMFChess Mod
Post by: Lord Anubis on October 24, 2011, 04:35:18 PM
Found it!

http://www.simplemachines.org/community/index.php?topic=329069.0

Give that a shot and let me know if it works for you
Title: Re: SMFChess Mod
Post by: Godsongz on October 29, 2011, 02:59:37 PM
Hey all!  Haven't been around here for a long time, but I'm setting up a new SMF installation (2.0.1) and I'd love to get SMFChess working on it.  I'm very familiar with the code (was one of Feeble's alpha-testers a few years back) but haven't touched it in quite a while.  Does anyone have a working method for installing the mod on a 2.0.1 installation that they can share?

Thanks!
Title: Re: SMFChess Mod
Post by: PLAYBOY on October 29, 2011, 09:47:14 PM
Hey all!  Haven't been around here for a long time, but I'm setting up a new SMF installation (2.0.1) and I'd love to get SMFChess working on it.  I'm very familiar with the code (was one of Feeble's alpha-testers a few years back) but haven't touched it in quite a while.  Does anyone have a working method for installing the mod on a 2.0.1 installation that they can share?

Thanks!

Attached is the current version i use in my 2.0.1
I believe this version is the most recent one.

It works. But it definitely needs a nice upgrade.

I appreciate you stepping up on this and am very excited to see the new version.

Found it!

http://www.simplemachines.org/community/index.php?topic=329069.0

Give that a shot and let me know if it works for you

FYI, im still waiting for a confirmation from my members. I will let you know.
Title: Re: SMFChess Mod
Post by: PLAYBOY on October 29, 2011, 10:16:12 PM
Well my chess is working now, thx to Lord Anubis`s solution. But now i have these problems...

1- Mouse icon doesnt hold the pieces unless the icon is 2-3 square away from the piece. However if you setup the zoom to %80 , while it creates a scroll bar the mouse holds the pieces correct.

2- It would be nice to have the chat section to fit in the same screen (like move next to the chess board or something) We have to scroll down and scroll back up all the time to see if there is a message or piece has been moved yet.
Title: Re: SMFChess Mod
Post by: Godsongz on November 02, 2011, 11:34:28 PM
My chess board is elongated.  Only problem with my installation that I know of so far, and if it's the worst I get I'll count myself very lucky.  Anyone know a quick fix?

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fcrossfire.org%2Fknights%2Fstretched.jpg&hash=b26b44368b95dd52e8cd11bd79f3d7ba)
Title: Re: SMFChess Mod
Post by: whatsadollartoya on November 07, 2011, 03:49:31 AM
I am also interested in getting this to work on 2.0.1. Any suggestions to what part of this post has directions?
Title: Re: SMFChess Mod
Post by: saks on December 01, 2011, 11:02:32 PM
I am install this mod from this post (http://www.simplemachines.org/community/index.php?topic=225742.msg3197256#msg3197256), in my forum 2.0.1 and it work fine, but have small bugs...
1. If I am write user name in Challenge Request , it not Requested, only Create Quickmatch is working
2. In game figures dubles after my next course, and show right after refresh page...
Title: Re: SMFChess Mod
Post by: busterone on December 01, 2011, 11:13:50 PM
The version you are referring to is an unofficial upgraded version that was done long before 2.0 or 2.0.1.  I think it was for 2.0 RC3 or 4.  The original mod author has been absent for several years, and it is highly doubtful that he will return or give permission to anyone to update his mod.  I use that version as well, so we are pretty much stuck with the bugs unless something changes in the near future.


Title: Re: SMFChess Mod
Post by: Godsongz on December 14, 2011, 04:04:27 PM
Does anybody remember the chess bbcode and its syntax?  I used to use it all the time for posting static chess puzzles in the forums, but I can't get to those old posts now to see how I laid them out.
Title: Re: SMFChess Mod
Post by: Lord Anubis on December 18, 2011, 09:25:07 AM
Here u go Godsongz, (I think this is what you were talking about)

http://www.simplemachines.org/community/index.php?topic=129749.msg1350737#msg1350737
Title: Re: SMFChess Mod
Post by: Godsongz on December 18, 2011, 04:55:25 PM
That's the one, thanks LA!
Title: Re: SMFChess Mod
Post by: anakmacan on December 20, 2011, 07:44:26 AM
I want this so bad :(..
Title: Re: SMFChess Mod
Post by: Bozforroz on March 20, 2012, 08:22:53 PM
hello,

i would like this on my smf 1.1.16 site but im not sure how to get it to work as i am not great with codes etc

Can i just install the package using my package downloader/emulator or do i have to upload it to the FTP.

I tried both but once on the site, i didnt know where to find the chess mod and how i access it.

Would appreciate any help. Thankyou
Title: Re: SMFChess Mod
Post by: THE BRA1N on March 25, 2012, 01:59:02 AM
How would one go about editing the colors and size of the chess board on a custom theme without disturbing the default theme (which displays good)? I have tried all kinds of edits with a chess.template.php in the custom theme directory to no avail. I can't seem to find the code for the chess board.


(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FEG7nN.jpg&hash=ad062de819add0582a622bf68f9a5257)
Title: Re: SMFChess Mod
Post by: PLAYBOY on May 07, 2012, 01:03:28 AM
My pieces are going off below the table a little bit. How can i fix that?
Its like all pieces skipped a square.
I uninstalled and reinstalled but nothing has changed.
Please help!
Title: Re: SMFChess Mod
Post by: Godsongz on May 17, 2012, 10:49:34 PM
Sorry, I don't know how to fix it, but I can tell you that like the problem "THE BRAIN" is having in the post before yours, it's a theme problem.  Try playing chess in a different theme and it might work better.

I have SMFChess working on two of my sites (both 2.0.2), but I just got lucky I think.  The board is a little vertically stretched in one theme though, as you see...
Title: Re: SMFChess Mod
Post by: FrizzleFried on May 17, 2012, 10:59:53 PM
Sorry, I don't know how to fix it, but I can tell you that like the problem "THE BRAIN" is having in the post before yours, it's a theme problem.  Try playing chess in a different theme and it might work better.

I have SMFChess working on two of my sites (both 2.0.2), but I just got lucky I think.  The board is a little vertically stretched in one theme though, as you see...

What program did you use to install in to 2.0.2?  The linked download is for 1.1.6?

Title: Re: SMFChess Mod
Post by: PLAYBOY on May 19, 2012, 01:33:22 AM
I think my pieces are being pushed down because of some of the things loads up on the top of the page like a chat box smileys etc. Because when i refresh the page, it loads up very well but right before the page completes loading it pushes the pieces down.
Title: Re: SMFChess Mod
Post by: FrizzleFried on May 20, 2012, 08:34:53 PM
My error log is filling up with Unidentified Index errors from Chess...

Code: [Select]
http://www.aha-forums.com/index.php?action=chess;id=3;switch
8: Undefined index: watching
File: /home/ahaforum/public_html/Themes/default/Chess.template.php
Line: 666

Any suggestion on how to identify said index so I don't get the error?
Title: Re: SMFChess Mod
Post by: FrizzleFried on May 30, 2012, 02:30:43 PM
Question:  On the CHALLENGE screen... I see where I can enter a username to challenge someone... but there is no button or anything to actually engage the process... below it is the CREATE QUICKMATCH option... but when you click that it goes to the quickmatch screen rather than challenging the user you put up?  I assume there should be a button to click to send a challenge to the member you input?

Title: Re: SMFChess Mod
Post by: Godsongz on May 31, 2012, 10:44:54 PM
There is a Challenge button on that screen, but you don't see it right away.  Look at my attached images...  in image #1 you see the Challenge screen when you first enter it, in image #2 you see that SMFChess recognizes a username after you have typed one in and it waits for you to click on the user you want to challenge, and in image #3 you see that now that it knows who you want to challenge it then lets you set up some options before submitting the challenge...  and there's the Challenge button.
Title: Re: SMFChess Mod
Post by: FrizzleFried on May 31, 2012, 11:15:06 PM
...unfortunately that isn't working as intended for me.  I type a known name in... nothing...

:(
Title: Re: SMFChess Mod
Post by: Study Force on July 09, 2012, 06:56:56 PM
For some reason, links in the control panel (i.e. draw, resign, etc.) are not working when clicked. What controls these functions?
Title: Re: SMFChess Mod
Post by: Study Force on July 21, 2012, 12:43:41 PM
This mod doesn't work with internet explorer 9. :( Chess pieces don't move correctly.
Title: Re: SMFChess Mod
Post by: busterone on July 21, 2012, 04:01:00 PM
Unfortunately, this mod has not been updated in years, and probably never will be considering that feeble has been MIA since October 20, 2008.   

It has been discussed numerous times about someone else updating it, but not without the author's permission.  I am waiting for a new mod author to write a new one, but so far, none have done so.
Title: Re: SMFChess Mod
Post by: FrizzleFried on July 21, 2012, 05:58:55 PM
There are a number of issues.  Phantom pieces.  Challenge not working for some.  Etc... but overall they can all be overcome.  I'd love to see an update because even with the problems my forum has a number of games running at any given time.
Title: Re: SMFChess Mod
Post by: Study Force on July 22, 2012, 12:11:16 AM
There are a number of issues.  Phantom pieces.  Challenge not working for some.  Etc... but overall they can all be overcome.  I'd love to see an update because even with the problems my forum has a number of games running at any given time.

It's funny because all the functions work on my test forum, but not on my actual forum. I've tried replacing all the files and such, but no deal.
Title: Re: SMFChess Mod
Post by: busterone on July 22, 2012, 12:19:10 AM
I have had some of the same problems with not only this one, but a few others also. It is odd and has no explanation.  I make an exact copy of the existing forum files in a subdomain of the actual site, and connect it to an exact copy of the database, of course use repair_settings to get the urls and paths correct for the subdomain test site. I can install the mod on the test site and it works as it should, but on the live site, there are issues. Go figure.   :-\
Title: Re: SMFChess Mod
Post by: Study Force on July 23, 2012, 01:58:03 AM
I have had some of the same problems with not only this one, but a few others also. It is odd and has no explanation.  I make an exact copy of the existing forum files in a subdomain of the actual site, and connect it to an exact copy of the database, of course use repair_settings to get the urls and paths correct for the subdomain test site. I can install the mod on the test site and it works as it should, but on the live site, there are issues. Go figure.   :-\

It has to be something with our index.template.php file because some scripts might be interfering.
Title: Re: SMFChess Mod
Post by: Lord Anubis on July 25, 2012, 10:27:27 PM
I had posted a solution 1 page back about this...  mostly AJAX problems similar to quick reply.... this will help

Found it!

http://www.simplemachines.org/community/index.php?topic=329069.0

Give that a shot and let me know if it works for you

This is due to M$ thinking they are king of the jungle and want things to work their way...its a browser problem in my opionion
For some reason, links in the control panel (i.e. draw, resign, etc.) are not working when clicked. What controls these functions?

No I didn't code this sweet mod either, so don't get that idea...  I have just had to make it work as well!
Title: Re: SMFChess Mod
Post by: Study Force on July 26, 2012, 10:56:13 AM
I had posted a solution 1 page back about this...  mostly AJAX problems similar to quick reply.... this will help

Found it!

http://www.simplemachines.org/community/index.php?topic=329069.0

Give that a shot and let me know if it works for you

This is due to M$ thinking they are king of the jungle and want things to work their way...its a browser problem in my opionion
For some reason, links in the control panel (i.e. draw, resign, etc.) are not working when clicked. What controls these functions?

No I didn't code this sweet mod either, so don't get that idea...  I have just had to make it work as well!

It works now, I had change the txt file to include a comma. Javascripts and commas don't go hand-in-hand. However, the IE problem is still not solved.
Title: Re: SMFChess Mod
Post by: HD10180 on November 14, 2012, 01:49:21 PM
ok.. So is there any another game like poker or betting(bets). It will be awesome if there any game like this.
I have been dreaming of this same thing for years lol... Risk, Battleship, even checkers .... and lots of other old time board games would be fun to have

The hard part is having someone code them and give to the community, this was definitely a great addition (I still use it)

I just hope Feeble is ok, he just kinda disappeared...

Preview of Texas Hold'em Poker game under work : youtube.com/watch?v=mFTJEGwzFaI&feature=youtu.be
Title: Re: SMFChess Mod
Post by: Dave123 on March 15, 2013, 07:09:05 AM
still works great, now with smf 2.04
Title: Re: SMFChess Mod
Post by: Study Force on March 15, 2013, 12:22:45 PM
still works great, now with smf 2.04

Mine doesn't move properly with IE :(
Title: Re: SMFChess Mod
Post by: PLAYBOY on March 15, 2013, 12:29:03 PM
still works great, now with smf 2.04

Mine doesn't move properly with IE :(

Who support/uses IE anymore? :)
Title: Re: SMFChess Mod
Post by: Arantor on March 15, 2013, 12:33:42 PM
It's still the second most popular browser.
Title: Re: SMFChess Mod
Post by: FrizzleFried on March 15, 2013, 12:35:04 PM
Yeah... refreshes are common with Firefox for me as well. 
Title: Re: SMFChess Mod
Post by: PLAYBOY on March 15, 2013, 12:42:18 PM
It's still the second most popular browser.

I dont think so. http://www.w3schools.com/browsers/browsers_stats.asp
If it didnt come with windows as default browser, it wouldnt even make it to top 5. What a shame, its still in top 3
Title: Re: SMFChess Mod
Post by: Arantor on March 15, 2013, 12:44:44 PM
That's for people visiting w3schools.com, most of whom are web developers or aspiring web developers and who are usually on other browsers for testing.

More globally it is different.
Title: Re: SMFChess Mod
Post by: Study Force on March 15, 2013, 02:18:39 PM
It's still the second most popular browser.

I dont think so. http://www.w3schools.com/browsers/browsers_stats.asp
If it didnt come with windows as default browser, it wouldnt even make it to top 5. What a shame, its still in top 3

Regardless, it still comes preloaded with Windows 7 and 8, so it will be used time and time again. Picking up the chess pieces doesn't work on IE, unfortunately.
Title: Re: SMFChess Mod
Post by: tfs on February 12, 2014, 12:29:13 PM
I noticed today that some images are showing as broken links on the chess page of my forum.  When inspecting the properties of the images it shows a path that doesn't exist.

http://www.x.com/chessblock/challenge.png

I'm not sure where this "chessblock" path came from.  I wonder if the update to SMF 2.07 might not have caused a problem?  Anyone else seeing this?
Title: Re: SMFChess Mod
Post by: Burt on February 12, 2014, 09:01:41 PM
still works great, now with smf 2.04

What about your log. Is your log filling up with the "Undefined index: watching" ?

Before I forget. I would like to keep the chat option ON. I'm aware that by turning the chat off the error goes away.

Burt
Title: Re: SMFChess Mod
Post by: brokep on July 08, 2014, 05:38:04 PM
I sent a challenge. But my opponent can not accept it. Message: "You do not have access to Chess!"
What I do?
Title: Re: SMFChess Mod
Post by: PLAYBOY on July 09, 2014, 04:44:36 AM
What`s the latest version of this and where can we download it?
Title: Re: SMFChess Mod
Post by: brokep on July 09, 2014, 05:53:02 PM
What`s the latest version of this and where can we download it?

I download this mod here: http://www.simplemachines.org/community/index.php?topic=225742.msg3197256#msg3197256
Title: Re: SMFChess
Post by: tfs on November 01, 2018, 08:37:05 AM
Does anyone know where I can find "CHESSBLOCK.ZIP" referenced in the first post on this thread?
Title: Re: SMFChess
Post by: chaos40 on November 05, 2018, 02:34:12 PM
I was able to successfully install the mod which was attached to this thread on my site

thanks

I'm just wondering how my users can challenge each other by name. there doesn't seem to be anywhere that a submit or go or save button is present to send a directed user a challenge. The only thing that seems to work is setting up a quick challenge

Any ideas?

thanks

Edited to aid a screen shot for a visual. As can be seen, when attempting to challenge user "test" there is no button to complete the action

https://screenshots.firefox.com/kXsMDGpnO5QJy8f3/stomping-groundz.com

thanks
Title: Re: SMFChess
Post by: efk on November 05, 2018, 08:48:15 PM
chaos40, when you challenge someone, or someone challenge you, you should see on My Page in My Matches - Opponent - user name of forum member, click on it and it will work. What is problematic is first movement. For some reason I had problems with starting point. You can back to game anytime you want especially if its without time limit.
Title: Re: SMFChess
Post by: chaos40 on November 05, 2018, 09:25:22 PM
chaos40, when you challenge someone, or someone challenge you, you should see on My Page in My Matches - Opponent - user name of forum member, click on it and it will work. What is problematic is first movement. For some reason I had problems with starting point. You can back to game anytime you want especially if its without time limit.
Hi.. it's not letting me challenge another player at all
Title: Re: SMFChess
Post by: tfs on November 07, 2018, 04:22:14 PM
Hi.. it's not letting me challenge another player at all

Could it be that you are blocking Javascript with NoScript or something like that?
Title: Re: SMFChess
Post by: chaos40 on November 07, 2018, 09:01:22 PM
Hi.. it's not letting me challenge another player at all

Could it be that you are blocking Javascript with NoScript or something like that?
how can I check this?
Title: Re: SMFChess
Post by: tfs on November 08, 2018, 07:45:09 PM
Hi.. it's not letting me challenge another player at all
Could it be that you are blocking Javascript with NoScript or something like that?
how can I check this?

Hmm... well, in FireFox you can browse to about:addons and it'll show what add-ons you are using. If you're using NoScript it would show up there. I'm not sure how to tell in a generic way if you are able to run JavaScript at a website.

Perhaps you could try a different browser?
Title: Re: SMFChess
Post by: tfs on November 08, 2018, 07:46:03 PM
Does anyone know where I can find "CHESSBLOCK.ZIP" referenced in the first post on this thread?

PING one more time re: CHESSBLOCK.ZIP. Has anyone got that lying around?
Title: Re: SMFChess
Post by: chaos40 on November 08, 2018, 08:30:14 PM
Hi.. it's not letting me challenge another player at all
Could it be that you are blocking Javascript with NoScript or something like that?
how can I check this?

Hmm... well, in FireFox you can browse to about:addons and it'll show what add-ons you are using. If you're using NoScript it would show up there. I'm not sure how to tell in a generic way if you are able to run JavaScript at a website.

Perhaps you could try a different browser?
yes. I tried in IE as well with the site as a trusted site and still no luck
Title: Re: SMFChess
Post by: efk on November 08, 2018, 08:37:29 PM
Only problematic part for me is 1st move in the game. Its really hard to make first move, not sure why.
Title: Re: SMFChess
Post by: chaos40 on November 17, 2018, 10:43:19 PM
Does anyone know where I can find "CHESSBLOCK.ZIP" referenced in the first post on this thread?

PING one more time re: CHESSBLOCK.ZIP. Has anyone got that lying around?
Title: Re: SMFChess
Post by: tfs on November 19, 2018, 08:47:37 PM
Thank you for the file, Chaos! I appreciate it!
Title: Re: SMFChess
Post by: addlife on February 16, 2019, 10:20:11 PM
I tried playing this on a mobile device. I cant move any pieces since dragging will just scroll the page up or down. Any way to make it clickable instead of having to drag the pieces around?

Or is there a way to drag something on chrome browser on android?
Title: Re: SMFChess
Post by: tfs on February 18, 2019, 03:27:43 PM
I play this on my iPhone fairly often. To do that I have taken to typing the move into the "Move:" field and tapping send.

Note that the format of the move MUST be lowercase, and by default my iPhone will uppercase the first letter.

e2-e4 is OK, but E2-e4 is not.
Title: Re: SMFChess
Post by: addlife on February 20, 2019, 02:35:20 AM
I play this on my iPhone fairly often. To do that I have taken to typing the move into the "Move:" field and tapping send.

Note that the format of the move MUST be lowercase, and by default my iPhone will uppercase the first letter.

e2-e4 is OK, but E2-e4 is not.
I don't see a "move" field on my phone
Title: Re: SMFChess
Post by: tfs on February 20, 2019, 02:54:17 PM
I don't see a "move" field on my phone

Do you see one when using a computer and browser? If it's visible on the computer and not on the phone then perhaps the phone browser is blocking javascript or something like that? I have FireFox and Safari on my iPhone. The MOVE field appears for both of them, just as it does in a PC based web browser.
Title: Re: SMFChess
Post by: addlife on February 21, 2019, 03:31:19 AM
I don't see a "move" field on my phone

Do you see one when using a computer and browser? If it's visible on the computer and not on the phone then perhaps the phone browser is blocking javascript or something like that? I have FireFox and Safari on my iPhone. The MOVE field appears for both of them, just as it does in a PC based web browser.
I don't think its visible on my pc either. heres a screenshot
Title: Re: SMFChess
Post by: tfs on February 22, 2019, 01:34:18 PM
Here's now it looks on mine. Perhaps it's your theme's problem?
Title: Re: SMFChess
Post by: addlife on February 22, 2019, 04:31:51 PM
Here's now it looks on mine. Perhaps it's your theme's problem?

I just figured it out. It was because I had the option "enable quickplay" checked in the settings.