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
QuoteCopyright 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.
Installed SMFChess and the SMFChess Block. Did manual edit for Dilber MC theme.
Everything seems to be working! :)
Awesome mod, thanks!
Awesome Mod Feeble!!!! Thank You!!!
2 Thumbs Up!
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 :)
Installed without problems.
Thanks!
:( Shame........mine is showing test failed on the index.template. Will have to do it manually.
Feeble, I see 1.0 is approved. Congratulations!
That's great Feeble; glad to see it got approved ;)
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. :)
Hey, that's great news! Congrats Feeble! ;D
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.
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.
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?
great mod
in wich file i have to put this :
[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]
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
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 !
Quote from: Sabre™ on March 03, 2008, 02:09:31 AMI 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.
The Best thing that has happened to SMF
he he
Quote from: Godsongz on March 03, 2008, 12:40:34 PMbut 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
Quote from: Sabre™ on March 03, 2008, 01:02:33 PMI 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.
Quote from: Sabre™ on March 03, 2008, 01:02:33 PMI 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.
Quote from: 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.
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.
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...
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".
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)?
Yea, I could be mistaken. Sorry if I posted inaccurate info.
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.
Quote from: 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.
Sorry about this I'll add this to the upcoming patch
In the mean time, I would use Godsongz advice
QuoteIn 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.
Quote from: Sabre™ on March 03, 2008, 01:02:33 PMI 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.
Quote from: 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 !
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.
Quote from: Sabre™ on March 03, 2008, 01:02:33 PMI 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.)
Thanks guys.
Quote from: 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)?
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.
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.
LOVE THE GAME!!! Great Mod!!
Congrats on your mod being accepted (It is definitely a great addition!)
Sabre all you have to do is change the code for the chess block
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 />
';
Thanks. I'll take another look.
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!!
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:
(http://tinyadminresources.com/extras/imagehost/script/uploads/7b5c61f2a9.jpg) (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!
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:
(http://tinyadminresources.com/extras/imagehost/script/uploads/830d7c61e3.jpg) (http://tinyadminresources.com/extras/imagehost/script/uploads/830d7c61e3.jpg)
CLICK PIC FOR LARGER VIEW
Code:
<?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 :)
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.
Quote from: feeble on March 03, 2008, 05:45:53 PMIn 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?
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 = > forums/Themes/default/SMFChess/scriptaculous/src/sound.js
Hi buddy.
Which button is missing for you?
This one
(http://img183.imageshack.us/img183/4160/buttonrk7.png)
or this one
(http://img502.imageshack.us/img502/7036/button1ou1.png)
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 :)
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.
Quotei 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
Quote from: samvirtual on March 04, 2008, 04:57:43 PMyou 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.
Quote from: 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.
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
<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.
Quote from: Sabre™ on March 04, 2008, 04:15:32 PM
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.
Quote from: Godsongz on March 04, 2008, 07:16:34 AM
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.
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
(http://i31.tinypic.com/ip1pg8.jpg)
and opera
(http://i25.tinypic.com/2jfdemu.jpg)
any clue how to fix this and make it aligned??
thanks
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?
PM sent feeble :)
Thanks mate :)
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.
Quote from: 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.
Oh nice one,
can I inquire what the hover mod is? so I can see if I can fix it?
Quote from: 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
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
[email protected]
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
LOL samvirtual
lmao @ "Users active in past 1440 minutes:"
lol thats a looooong azzz time frame mate lol
Nice site btw :)
appreciate your comments, but what is the 1440 about, and i would encourage some criticism.
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
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
thanks for the reply will send in just a moment
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.
:)
Have you set all permissions for all the membergroups so they can play chess. ???
I would also recommend setting "Guest" permissions so they can "View Chess".
I am so sorry. Yes I see that in there now. Many apologies.
I'll get mi coat. :)
Many congrats by the way on getting it approved.
rated best mod of 08
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.
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 ???
Trinny, you hit enter after inputting a name into the Challenge Request
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.
....have you waited for the person to accept the challenge, before it is then displayed on the active games list.
Quote from: 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.
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?
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?
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?
Did you get any error messages from the failed install?
Quote from: 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.
No error messages, it seems to install just fine (from that perspective).
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:
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.
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,
[email protected]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
[email protected] and ill make the theme changes for you.
Quote from: mightygiants on March 11, 2008, 06:48:43 PM
No error messages, it seems to install just fine (from that perspective).
I've replied to your question in the other thread.
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:
';
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!
Is there a way to change the text "news" to something else?
Quote from: fecu2008 on March 13, 2008, 01:55:16 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
My site is in English and I sent you the file. I couldn't find the lines, referenced in the tutorial.
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:
//Begin SMFChess code
if($context['allow_chess']){
echo ($context['current_action'] == 'chess' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
}
//END SMFChess code
And this would be a SMFChess button from my custom theme:
//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'], ' ';
//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)
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
//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'], ' ';
//END SMFChess code
*Fixed as per Paracelsus
It worked after putting an extra dot "." before the PNG in the syntax you mentioned... thanks feeble ;)
Any possibility to include an option to show some stats in Info Center?
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
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.
also language files are not included in MODs page.
Quote from: jossanaijr on March 14, 2008, 09:15:42 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.
Quote from: 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
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.
Quote from: 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.
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)
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?
QuoteI 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.
Quotehas 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
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.
(http://i27.tinypic.com/30lpafq.gif)
Quote from: feeble on March 17, 2008, 06:48:57 AM
Quote from: jossanaijr on March 14, 2008, 09:15:42 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.
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.
Quote from: Paracelsus on March 17, 2008, 02:07:30 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?
I think you are reading it right ;)
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
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
??? ??? ??? 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.
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.
Quote from: 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.
A screen shot would be great.
there you go,
(http://img337.imageshack.us/img337/3790/37760839ai0.jpg)
Quote from: PLAYBOY on March 19, 2008, 10:50:29 AM
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.
Quote from: PLAYBOY on March 19, 2008, 10:50:29 AM
there you go,
(http://img337.imageshack.us/img337/3790/37760839ai0.jpg)
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...
Quote from: jossanaijr on March 19, 2008, 05:52:50 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
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..
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
Can't challenge users with cyrillic names.
Hi feeble,
About that little bug in 'Dark Chess' variant (the check equals to checkmate), when are you planning to release a fix?
Quote from: feeble on March 19, 2008, 07:32:11 PM
Quote from: jossanaijr on March 19, 2008, 05:52:50 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
i havent tried it yet.
i ll let you know about this.
Quote from: jossanaijr on March 19, 2008, 05:52:50 PM
Quote from: PLAYBOY on March 19, 2008, 10:50:29 AM
there you go,
(http://img337.imageshack.us/img337/3790/37760839ai0.jpg)
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>?
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.
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?
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.
Quote from: jusplay77 on March 20, 2008, 07:50:20 AM
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.
Quote from: digger on March 21, 2008, 12:37:40 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?
Quote from: Paracelsus on March 25, 2008, 05:23:37 AM
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
Quote from: Paracelsus on March 26, 2008, 06:14:14 PM
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
has it been improved to work with 2.0?
Quote from: 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?
http://en.wikipedia.org/wiki/Chess_variant
http://en.wikipedia.org/wiki/Category:Chess_variants
If you find one you like let me know
No problem, feeble... no need to apologise, take your time, life is more than just SMF ;)
Quote from: feeble on April 03, 2008, 07:43:37 PM
Quote from: digger on March 21, 2008, 12:37:40 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
Quote from: norhe on April 03, 2008, 07:46:24 PM
has it been improved to work with 2.0?
Not yet no sorry.
Quote from: digger on April 03, 2008, 07:59:17 PM
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.
ok ty pm when it is.
Quote from: PLAYBOY on March 26, 2008, 03:07:42 AM
Quote from: feeble on March 19, 2008, 07:32:11 PM
Quote from: jossanaijr on March 19, 2008, 05:52:50 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
i havent tried it yet.
i ll let you know about this.
Quote from: jossanaijr on March 19, 2008, 05:52:50 PM
Quote from: PLAYBOY on March 19, 2008, 10:50:29 AM
there you go,
(http://img337.imageshack.us/img337/3790/37760839ai0.jpg)
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.
Just wanted to tell you, this is one fine mod. Great interface. Good job man :)
How about weak, peasant and Dunsany's variants?
Quote from: fecu2008 on April 07, 2008, 01:41:32 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.
thank you feeble :)
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.
Quote from: 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.
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
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.
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? :)
Quote from: HellBent on April 10, 2008, 04:30:35 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?
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 :)
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)
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. :)
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
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.
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....
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
}
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.
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.
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??
Love this chess :)
Are you ever gonna make another game?
If so
Yatzy would be fun too
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 :)
will this mod be updated to work with 2.0b3?
Quote from: 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.
It's in the chess.english.php on line 181
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?????????????
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
//Begin SMFChess code if($context['allow_chess']){ echo ($context['current_action'] == 'chess' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : ''; } //END SMFChess code
to
echo '<li', $current_action == 'chess' ? ' id="active"' : '', '><a href="', $scripturl, '?action=chess"><span>'.$txt['SMFChess'].'</span></a></li>';
see images for reference
(http://consoleplayers.com/admin.jpg)
(http://consoleplayers.com/front.jpg)
thanks and regards
can anyone guide me if this mod / author is missing :(
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
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
Hmm i noticed same thing in firefox actualy.. cannot see the chess board squares on firefox
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...
Quote from: 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...
Please excuse my ignorance but how exactly did you fix this?
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/)
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.
where is mod admin ??? :(
Why post a mod when there is clearly no support?
Quote from: Sabre™ on April 27, 2008, 08:38:55 PM
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.
Quote from: Sabre™ on April 27, 2008, 08:38:55 PM
Quote from: Chopper on April 27, 2008, 04:05:04 PM
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!
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. ;)
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
Quote from: Chopper on April 27, 2008, 04:05:04 PM
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
Quote from: vinod41 on April 26, 2008, 02:11:43 PM
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.
Quote from: 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
Quote from: Chopper on April 27, 2008, 04:05:04 PM
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
Quote from: vinod41 on April 26, 2008, 02:11:43 PM
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.
Nice Mod..
installed.. :)
Chopper.
Grow up! :)
Please stop spammin this thread. If you have an issue, then pm me or contact a staff member.
Cleaned topic a little. Lets keep this on topic!
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
Quote from: vinod41 on May 03, 2008, 02:33:10 AMsee 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.
Would love to install the mod... will it be available for the 2.0 version of SMF soon?
Quote from: Godsongz on May 03, 2008, 10:00:27 AM
Quote from: vinod41 on May 03, 2008, 02:33:10 AMsee 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.
Quote from: Lord Anubis on January 08, 2008, 02:22:00 PM
I made a block code for TinyPortal that incorporates all the SMFChess user functions
Screenshot:
(http://tinyadminresources.com/extras/imagehost/script/uploads/4533e2cf05.jpg)
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!!! ::)
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?
Could someone please tell me if the issue with not being able to castle has been solved?
Quote from: 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?
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.
Quote from: 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?
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
Quote from: WebmistressFL on May 07, 2008, 09:39:53 AMmy 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.
Quote from: Godsongz on May 07, 2008, 10:06:41 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
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.
Quote from: 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.
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
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 :'(
In the Dilber Theme the "button" looks weird like it has a extra background pic.
see the screendump:
(http://testforum.guzzioot.nl/pics/Schermafdruk.jpeg)
What can I change in index.template.php (or somewher else)
//Begin SMFChess code
if($context['allow_chess']){
echo ($context['current_action'] == 'chess' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </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>';
Quote from: Godsongz on May 06, 2008, 06:36:06 PM
Quote from: 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?
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.
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
@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.
@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...
Quote from: Lord Anubis on May 12, 2008, 01:35:09 PM
...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.
@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.
I support closing one thread or merging them.
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. :)
hope feeble back online soon
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
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!
@ 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
@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.
Is that site even smf?? I saw no indication of it. No copyright etc etc
It 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
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
Quote from: 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
Quote from: 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
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!"
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!
Quote from: 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
@ 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.
Quote from: 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';
!?
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!
Quote from: 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.
Quote from: 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';
!?
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 ?
Quote from: 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!
lol Brilliant mate.
Congrats on getting it to function properly buddy :)
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 >
(http://i63.photobucket.com/albums/h139/rogernesbit/chessbug1.jpg)
Very nice I like it alot
can anyone help with my alignment problem on the previous page please?
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 ???
(http://img165.imageshack.us/img165/2231/chessia9.jpg)
(http://img165.imageshack.us/img165/954/chess01gw7.jpg)
***EDIT*** If i change the language to english, all text and buttons are ok
BUMP!
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 >
(http://i63.photobucket.com/albums/h139/rogernesbit/chessbug1.jpg)
Quote from: 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:
(http://testforum.guzzioot.nl/pics/Schermafdruk.jpeg)
What can I change in index.template.php (or somewher else)
//Begin SMFChess code
if($context['allow_chess']){
echo ($context['current_action'] == 'chess' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </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?
I guess no one is supporting this mod or even nice enough to reply.
plese someone help.
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?
Quote from: feeble on March 17, 2008, 04:46:23 PM
Quote from: Paracelsus on March 17, 2008, 02:07:30 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...
Quote from: 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?
That is an existing known bug in the Dark Chess variant, the game currently ends at Check, not at Check-Mate.
Quote from: Tron420 on May 27, 2008, 02:30:29 AM
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.
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.
anyone?
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!
sigh..
BUMP
Quote from: Tron420 on May 30, 2008, 07:03:56 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?
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
Great mod. Thanks!
I need SMF Chess SQL checks,pls add here,help
I need SMF Chess SQL Check codes,pls add here :(
How do i install this to the "classic" theme?
Thanks
Chris
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
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..
I've cleared Tron420's trolling and silenced him so hopefully this topic can now get back on track :)
Where is "the date" stored?
I have to change its language.
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?
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
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
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.
Quote from: Hoochie Coochie Man on June 11, 2008, 06:23:24 PM
Where is "the date" stored?
I have to change its language.
Anyone?
Quote from: Hoochie Coochie Man on July 10, 2008, 05:35:23 PM
Quote from: Hoochie Coochie Man on June 11, 2008, 06:23:24 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.
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)" :-\
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 :-/
<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:
(http://img214.imageshack.us/img214/2148/chess2ag9.th.png) (http://img214.imageshack.us/img214/2148/chess2ag9.png)
Now:
(http://img366.imageshack.us/img366/1245/chesslk9.th.png) (http://img366.imageshack.us/img366/1245/chesslk9.png)
Settings:
(http://img401.imageshack.us/img401/9715/chess3yx1.th.png) (http://img401.imageshack.us/img401/9715/chess3yx1.png)
Files are where they should be:
(http://img366.imageshack.us/img366/3213/serverwe4.th.png) (http://img366.imageshack.us/my.php?image=serverwe4.png)
Please, could you help me? :'(
I think there's problem in file "Chess.php" but I can't fix it:
// 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?
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!!!!!!!!!!!!!!!!!!!!!!!! :'( :( :'(
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???? :'(
...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???
Thanks for this. Great mod!
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.
Quote from: 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???? :'(
Very nice!
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?
Quote from: NeoMorph on August 06, 2008, 02:05:21 PMAnyone 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.
(http://crossfire.org/images/chesserror1.jpg)
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
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.
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?
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
@ 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.
I'd just like a fix on the Dark Chess bug.
I am still having these issues: http://www.simplemachines.org/community/index.php?topic=225742.msg1682157#msg1682157
Quote from: 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
Have you inspected it with Firebug yet? (to see the class or id applied)
I am not sure what you are saying... ???
Ok, nevermind. Have you set your chess config (background colors) correctly in Chess Options?
Will there be chess mod for SMF116?
It already works for 1.1.6.
Quote from: Paracelsus on September 12, 2008, 06:51:29 AM
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.
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.
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.
Good job brian!!
Wonder why it works ok for me?
Which template is this in, so I can have a look mate?
Is this mod available for SMF 2.0 beta 4? I was wondering why that question hasn't been asked, cause I need it.
The mod author hasnt been seen for awhile.
So unless someone takes over this mod, or makes it compatible, then your answer is No.
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
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.
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
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.
I'm using 1.1.6 and I'm using this mod too.
Well same here. but i meant some update and making it ready also for 2.0.
wouldnt it be good?
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.
There must be permission given from the mod author before anyone takes it over.
Quote from: Bigguy on September 17, 2008, 05:53:36 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.
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. :)
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
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.
Have you had an answer...is he coming back or. ???
Quote from: 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
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. ;)
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....
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.
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.
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.
Quote from: 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.
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.
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.
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
Welcome back feeble! I agree updating for 2.0 is biggest need!
Thanks very much!
Quote from: 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.
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.
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
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
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
Quote from: 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
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?
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
Quote from: PacificWx on September 28, 2008, 01:06:17 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
tbh i would not entirely know what it means...
i will try again next weekend (time is aainst me as well)
Wow, a new version of SMFChess!! Great to have you back around Feeble!
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
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
//Create SMFChess Board
the 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.
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?
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.
THanks found it
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:
QuoteYou cannot download or install new packages because the Packages directory or one of the files in it are not writable!
Quote2: 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
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.
Getting an error on install:
QuoteInstalling 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
Glad to see you back around Feeble. :)
Quote from: 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
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. ;)
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
QuoteTo Manually Updated to 1.1:
Just extract the zip file and copy Chess.php, ChessFunctions.php & ChessXml.php to your Sources Directory
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)
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.
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/
Hi,
we have done all the manual edits and created the tables in the DB yet the chess mod wont show. Any ideas?
Quote from: 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)
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
Quote from: 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?
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.
Quote from: 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?
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.
Thank you feeble for releasing 2.0 version! Been standing by waiting patiently. :D
Quote from: feeble on September 30, 2008, 03:03:14 PMThanks for this Godsongz
Went over it, and realised the mistake
uploaded a new version
Outstanding, thanks Feeble!
Quote from: feeble on September 30, 2008, 03:03:14 PM
Quote from: 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)
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.
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!
No go on the index.php?action=chess :(
Quotetrying 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?
Quote from: Bobn on September 30, 2008, 06:07:35 PM
Quotetrying 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?
Quote from: feeble on September 30, 2008, 06:41:56 PM
Quote from: Bobn on September 30, 2008, 06:07:35 PM
Quotetrying 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!
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.
Quote from: 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.
bumping...
from what I read, in Dark Chess each opponent can olny see opponents pieces if they can be "taken", like this:
White View:
(http://www.itsyourturn.com/images/help/cdwhiteview.gif)
Black View:
(http://www.itsyourturn.com/images/help/cdblackview.gif)
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?
Quote from: Paracelsus on October 03, 2008, 12:03:28 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
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.
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
Quote from: ladyshanae on October 07, 2008, 12:23:50 PMAs for me, I'm getting a TON of Undefined index errors.
Would you copy and paste the actual error into a post here?
One of them looks like this:
Quote8: Undefined index: SMFChess_admin
File: /home/.leucorhinos/ladyshanae/hprpg.net/Sources/Subs.php
Line: 2904
The code on the line is:
'title' => $txt['SMFChess_admin'],
Another error looks like this:
Quote8: Undefined index: SMFChess
File: /home/.leucorhinos/ladyshanae/hprpg.net/Sources/Chess.php
Line: 53
The code on the line is:
'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?
Quote from: ladyshanae on October 07, 2008, 12:59:53 PMDo I have something missing from a language file maybe?
Probably... make sure the following code...
//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
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!!!!
Quote from: 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
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?
;D 8)
Never mind i figured it out my permissions needed to be set........thanks
its work for me ;)
Quote from: M3THOD on September 30, 2008, 03:22:37 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?
Quote from: thekid65 on October 09, 2008, 06:18:22 PMDoes 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
Ahhh.. thank you oh-so-much. How's the beta working out for folks so far?
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 ???
(http://img139.imageshack.us/img139/8187/chessne6.th.jpg) (http://img139.imageshack.us/my.php?image=chessne6.jpg)(http://img139.imageshack.us/images/thpix.gif) (http://g.imageshack.us/thpix.php)
Quote from: 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 ???
(http://img139.imageshack.us/img139/8187/chessne6.th.jpg) (http://img139.imageshack.us/my.php?image=chessne6.jpg)(http://img139.imageshack.us/images/thpix.gif) (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
Got'er fixed, the img's somehow got lost in the original install. Thanks for your help.
Small Update:
Been busy this week, so haven't got much done
Should have an update out hopefully by the end of the week
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?
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.
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:
Quote from: http://en.wikipedia.org/wiki/Dark_chess
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.
Quote from: Paracelsus on October 14, 2008, 08:30:23 AMHowever, 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?
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.
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.
I vote for dumping dark chess and focusing on classic, can't be improved, chess.
Quote from: weightman on October 14, 2008, 07:24:29 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).
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.
Quote from: 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.
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.
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:
QuoteAn 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
Set membergroup permissions for each membergroup in the admin panel.
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?
Quote from: Bigguy on October 15, 2008, 03:24:48 PM
Set membergroup permissions for each membergroup in the admin panel.
Ah, Thank you, sir!! It is working now..
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?
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.
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?
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.
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 ?
yah :D
Is this good for 2.0 beta for?
If not. Then when is it gonna be available for 2.0?
It's working fine with SMF 2.0 beta 4 on our forum.
Quote from: asmith on October 24, 2008, 02:27:02 AM
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
Quote from: thekid65 on November 01, 2008, 07:53:33 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
Quote from: edi67 on November 07, 2008, 07:29:49 AM
Quote from: thekid65 on November 01, 2008, 07:53:33 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)
im running this mod on 1.1.7.
it is a huge hit. thanks!!!
any chance you can port a poker game too?
Cool... :D
Thank u all
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
Where do I control what the PM messages say in them on request challenge, your turn to make a move, etc.
Quote from: 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.
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' => '
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.
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. :)
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.
traduccion spanish made by my:
Chess.spanish.php
<?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(
0 => 'no empezado',
1 => 'en progreso',
2 => 'comprobar',
3 => 'jaque mate',
4 => 'estancado',
5 => '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
<?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(
0 => 'sin empezar',
1 => 'en progreso',
2 => 'comprobar',
3 => 'jaque mate',
4 => 'pausado',
5 => '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',
);
?>
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?
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
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.
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
please help me i have a problem
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 :)
Quote from: psynx on November 24, 2008, 03:40:01 AMi 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 :)
I LOVE THE NEW CHESS FOR BETA 4! Thank you!
Quote from: BipSmith on December 27, 2008, 06:02:37 PM
I LOVE THE NEW CHESS FOR BETA 4! Thank you!
Does the leaderboard work on yours? Mine doesn't work.
Quote from: m4tthall 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
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.
Quote from: 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.
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.
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!
Quote from: m4tthall on December 27, 2008, 06:57:14 PM
Quote from: BipSmith on December 27, 2008, 06:02:37 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.
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?
Quote from: Godsongz on October 09, 2008, 06:35:10 PM
Quote from: thekid65 on October 09, 2008, 06:18:22 PMDoes 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.
everything work ok in my smf 2 beta 4 but GAME when i try to make my move remain always LOADING.
Some solution ?
trying this one now - thanks
I get this error every once and a while:
8: Undefined index: seeChat
File: /home/xxxxxx/public_html/smf/Sources/Chess.php
Line: 602
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.
Quote from: Looking on January 23, 2009, 06:25:27 PM
Tried to install on many versions of SMF 1.7 (one with mods and one without) and in all cases wafter pressing "Apply Mod" link the page just reloaded and did not install. Yes, chmod good, temp file available in /Packages.
I had a similar problem. I was running version 1.0 on 1.1.7 with no problems until a few days ago. The game stopped working. I uninstalled and attempted to install 1.1. I had the same issue as above. I manually installed it. The game is working flawlessly, but now I have an intermittent problem with the chat. About 50 % of the time, the chat stops working in the middle of a game. The game continues with no problem, but no chat. I have no errors in the log whatsoever when this happens. Any ideas ?
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.
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.
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 ;)
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.
I'm sorry for posting this without fully looking to see if the answer is already here, but with 30 pages in this thread...that's a bit much. So here goes...
I tried to install this but am running into problems - basically I can't figure out how to install the mod!!! I download the package and upload it using the SMF uploader...no error messages, no problems. But also no game.
So, I unzipped and uploaded the chessblock and added a PHP block with the code (copied/pasted, not typed). Nothing. Well, nothing but an error message:
QuoteezBlock unable to run PHP syntax error!
I enter the URL (/index.php?action=chess) and a page comes up but pretty much nothing is there. See? (http://sweetsensationshome.com/forum/index.php?action=chess)
Help!!! I'm...
FreakingOut! :)
What am I doing wrong?!?
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
You have to grant permissions for it. ACP | Permissions | Regular Members - Modify | Chess
I love this mod, but I am getting my error logged slammed with all kinds of errors. I use SMF 1.1.8, Classic Theme, and here's what is in my error log:
Undefined index: chess
File: /Themes/default/Admin.template.php (eval?)
Line: 345
The File line shows every page anyone looks at - BoardIndex.template.php, ChessCustom.template.php, Display.template.php, Errors.template.php, ec etc etc.
I've seen others asking about installing it in a Classic theme, but no definitive answers. The Package Parser linked to earlier didn't work, as none of that code is in the index.template.php of the classic theme.
I put this code in the classic theme's index file for the chess icon:
// How about the [chess] button?
if ($context['allow_chess'])
echo '
<a href="', $scripturl, '?action=chess;sa=current">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chess.gif" alt="' . $txt['chess'] . '" border="0" />' : $txt['chess']), '</a>', $context['menu_separator'];
What can I do to fix this? The game seems to work fine, it just pumps out all kinds of errors to the log.
Well, I found a workaround at least. I was hoping to make it where the Chess link would only show up for people signed in, but I had to get rid of all that code, because it was messed up somewhere.
In the Classic theme's index.template.php file, I replaced
// How about the [chess] button?
if ($context['allow_chess'])
echo '
<a href="', $scripturl, '?action=chess;sa=current">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chess.gif" alt="' . $txt['chess'] . '" border="0" />' : $txt['chess']), '</a>', $context['menu_separator'];
With this:
// How about the [chess] button?
echo '
<a href="index.php?action=chess;sa=current"><img src="Themes/classic/images/english/chess.gif" border="0" /></a>', $context['menu_separator'];
and it wiped out all the errors.
You can add this to make it visible only to logged in users-
if ($context['user']['is_logged'])
Just gave your SMFChess a try on 1.1.8 and it worked great :D
Thanks
Thanks! Looks like that's doing the trick. :)
Quote from: busterone on February 19, 2009, 12:13:51 AM
You can add this to make it visible only to logged in users-
if ($context['user']['is_logged'])
Quite welcome. :)
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!
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.
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:
(http://img27.imageshack.us/img27/5992/tablero.png)
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
Is this Mod multiplayer ?
Does it work for SMF 2.0 RC1 ?
Does it work with any point- / Cashsystem for SMF ?
You can install it to find out ;)
-[n3rve]
Waiting for 2.0rc1 version support
Quote from: 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 ?
Yes
Yes
No
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?
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?
Great mod!! Just one MAJOR problem, when you lose your elo doesn't change. Anyway to fix this?
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
Quote from: Godsongz on April 19, 2009, 03:45:51 PM
Quote from: 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 ?
Yes
Yes
No
Do you have an example of this working on 2.0 RC1?
Anyone?!? <crickets>
I'm dying to get this mod working on 2.0. Willing to pay...
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: Quoteif ($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...
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?
i am still waiting for a reply :(
Quote from: andy40 on May 02, 2009, 08:41:13 PM
i am still waiting for a reply :(
What SMF version are you using?
hi version: SMF 1.1.8 but when i try to install it says template failed
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]
hi i know how to change them but what is it i need to change and what to?
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]
ok thanks
Quote from: 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?
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?
Quote from: 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?
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.
can you make the writing a bit bigger i am having problems reading it :D
smf 2x?
Quote from: Joe N on May 11, 2009, 10:42:54 AM
smf 2x?
Doesn't work with 2.0. It appears to be abandonware.
doh
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
Install it then make parce the mod and add the code in ;)
hi just looked at the parse files but there loads do i have to do them all it only fails on template?
Quote from: 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?
What over mods do you have?
hi got 24 other mods installed and dont want to install this and mess my site up
If you really want the mod, you will have to install it and add the extra coding in
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?
yeah
But, do a backup before you install it as it has an error ;)
ok thanks
Good Luck
Quote from: Italian81 on May 10, 2009, 10:39:24 AM
Quote from: 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?
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
Quote from: LLandL on May 03, 2009, 09:41:41 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 :)
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
hi when someone trys to play a game it goes to a blank page does anyone know how to fix this?
Quote from: 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?
Whats your site?
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
hi i take it no one knows why mine goes to a blank page
looks the support for this mod as gone i might aswell remove it from my forum as i dont know how to sort it
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 :)
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
Could you attach your index.php?
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
<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 :)
all sorted not thanks to Sabre™ ;)
lmao ;D
Good job mate, glad you got it sorted :)
*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
Quote from: 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.
I and a few others in here have tried contacting the author of this mod, but as far as I know nobody has succeeded.
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.
Quote from: 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.
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.
I want this for 2.0 myself. Hmmmm, unattended mod...........................
Quote from: tfs on May 26, 2009, 10:25:28 PM
Quote from: 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.
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. :)
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!
Give him more time to come back. :)
Quote from: Bigguy on June 05, 2009, 09:29:15 PM
Give him more time to come back. :)
Indeed.
Life ventures often take priority (studies etc..), not always does absence equal abandoned ;)
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
The Chess mod is crap it can't even properly track elo....What a joke
Quote from: Italian81 on June 12, 2009, 02:17:50 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?
Well it works great but you do not lose elo (points) when u lose a game (this needs fixed)......Everything else is perfect!!
Quote from: 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
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.
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?
Quote from: 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?
? I'm not a developer, I can't much on programming, sorry. But yes, Chess MOD works perfect in my SMF 1.1.9. ;)
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
Yes I tried it too by manuel but there are lot of error.
Why no update to 2..x
Quote from: 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
I also don't know why developer don't want to Upgrade this Mod to v. 2.0?!
IT IS A PITY...
With all of the writers here I'm sure someone should be able to write a new one.
How install this mod on 1.1.10?
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.
maybe smf team can have a look at this mod and let another guy be in charge of it
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?
Quote from: 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?
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.
smf 2.0 rc1.2 Please!
It isn't worth writing anything for RC1 at this stage. Better to wait for RC2.
p.s: feeble (the guy who created the mod) wasn't active since somewhere in 2008
Quote from: lurkalot on September 24, 2009, 02:58:42 AM
Quote from: 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?
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.
Won't install on 1.1.10... :-(
Any help? Please...
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
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.
SMFChess 2.0beta install on SMF2 RC2 without errors, but have some Curve related issues. Can anybody try to fix it?
SMFChess 2.0 beta ? where did you get that? This mod has not been updated for 2.0.
Quote from: 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.
This mod was been updated for SMF2. It was published in this or old tread.
Package attached.
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.
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...
Quote from: 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...
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.
can it be fixed to work with RC2?
Quote from: drhamza on November 12, 2009, 08:20:44 AM
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.
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. :)
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.
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.
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.
Quote from: tfs on November 16, 2009, 02:46:56 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
<!-- The Linktree -->
<table width="100%" cellpadding="3" cellspacing="0"><tr><td valign="bottom">', theme_linktree(), '</td></tr></table>
from Chess.template.php
Quote from: digger on November 19, 2009, 12:52:59 AM
Remove
<!-- 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.
you mean if i install the beta version now, and remove the lines digger referred to, it'll work?
thanks guys
Quote from: 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.
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. ;)
Quote from: 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
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.
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
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
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 :(
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?
Upload the unzipped package to your ./packages folder, not your root. Then install it through your package manager in admin.
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.
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. :)
Back to the original question: Where can I find the custom php block? Modify Themes or through my FTP?
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.
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.
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.
<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 />
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
Quote from: 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.
<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.
create custom html block ;)
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. :)
Yes but on 2.0 RC2 only the first link its ok. (?action=chess). The nexts redirect me to login page. :)
Did not work. I see no images on my chess page.
Quote from: MATTEK on November 29, 2009, 09:26:57 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.
Quote from: 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. :)
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.
Quote from: 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
Quote from: feeble on February 29, 2008, 11:51:29 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:
(http://www.leaderless.net/tp-downloads/preview/chessblockprev.jpg)
He has images in his chess block.
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. . .
Quote from: busterone on November 29, 2009, 09:38:12 PM
Quote from: 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. :)
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.
Quote from: 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
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
mghome59 - Glad you got it sorted. :)
Quote from: 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. . .
I did upload it to my root. However, I'm not sure if I should have unzipped the chessblock folder before uploading.
Yes, unzip it on your computer, and then upload the unzipped folder.
That is what I have done. >:( Crap. I'm going to delete everything related to SMF Chess and start over.
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.
Quote from: 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.
The folder is currently uploaded and unzipped. It has always been unzipped. I have never uploaded a zipped file/folder to my forum root.
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.
Quote from: 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.
I've got it working. I reinstalled everything in order, properly. Thanks for the help man.
No problem. Glad it is working. :)
can someone help me in letting the chatbox and log below the player VS player area please?
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
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
Quote from: stipchaser on December 01, 2009, 03:22:58 AM
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.
Quote from: 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
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.
QuoteHave 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
(http://i219.photobucket.com/albums/cc164/BlueLeader32/chessissue.png)
Quote from: stipchaser on December 08, 2009, 11:24:19 AM
...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.
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.
Quote from: stipchaser on December 08, 2009, 11:24:19 AM
QuoteHave 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
(http://i219.photobucket.com/albums/cc164/BlueLeader32/chessissue.png)
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:
if($context['current_action'] != 'chess')
Quote from: 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.
Thanks I looked but could not find any. . .
Quote from: Paracelsus on December 10, 2009, 05:36:59 AM
QuoteHave 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:
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.
The Chess MOD has itself a chat that works quite ok, so you won't actually need the shoutbox there. ;)
Quote from: 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. ;)
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.
Is there a way to have this MOD on a Forum version: SMF 1.1.11?
I installed for RC1.2 without problems. Only trouble we can not see chess button?
My forum is turkish utf8.
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 ?
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
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!
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.
hi could someone kindly up the chessblock.zip for TP -- the original link is broke ..thx
also is there any backgammon.php?
cheers
chess block... ;)
thx mate -- may your saturday be sunshine and smiles!
doing a manual install on 1.1.11
but getting an error from load.php -- i suspect from around line 390
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
Quote from: stog on February 20, 2010, 07:03:31 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
Quote from: 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?
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
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 ';
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
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?
Quote from: 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?
If only manually move the appropriate values from the old database to the new ... Try it.
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.
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!
works with SMF2.0 RC2, thanks a lot Bugo!
Quote from: Bugo on February 26, 2010, 09:43:25 AM
Quote from: 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?
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.
Quote from: Andy1122 on March 11, 2010, 11:54:36 PM
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?
Quote from: Bugo on March 12, 2010, 12:47:46 AM
Quote from: Andy1122 on March 11, 2010, 11:54:36 PM
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. :)
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:
Quote from: busterone on February 28, 2010, 01:14:19 AM
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.
^ It installs with no issues, and the game plays with no issues for me. The scores do not update correctly though.
Quote from: 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.
Even if you run the maintenance script? (to recount scores and/or Elo)
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.
Oh Cool. id like to have one for 1 child-board :D
but is it compatible with 2.0RC2 ?
Quote from: anakmacan on March 18, 2010, 10:29:18 PM
but is it compatible with 2.0RC2 ?
As you can see SMFChess is only compatible with the SMF 1.1.1 branch
Too bad.. this would be awesome...
Hi Every one
I tried the latest Chess mod , SMFChess+1.1 with SMF 1.1.11 and I got error message :
QuoteThe 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
Quote from: Bugo on February 26, 2010, 09:43:25 AM
Quote from: 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?
Try this attachment. Perfect work in 1.1.11 and 2.0 RC2-RC3
after installation now the home page :
QuoteFatal 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
Quote from: Bugo on February 26, 2010, 09:43:25 AM
Quote from: 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?
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
(http://forum.reallin.nl/pics/chess2.2.1-rc3.png)
sorry double post
Quote from: Dave123 on April 03, 2010, 09:59:34 AM
Quote from: Bugo on February 26, 2010, 09:43:25 AM
Quote from: 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?
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
(http://forum.reallin.nl/pics/chess2.2.1-rc3.png)
Theme? Browser?
I have it works fine — see screenshot
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.
Quote from: 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.
Update your browsers :)
If by chance there's anyone working on this mod, who'd like feedback, I have some log errors that I can post.
Quote from: Bugo on April 06, 2010, 08:09:33 AM
Quote from: 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.
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
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
Same base problem as you had with the SimpleDesk installation not leaving you a button - don't modify Subs.php so much...
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.
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.
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?
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.
Its my test forum so I have no problem I do it and than I (we) see. thanks
Quote from: Bugo on February 26, 2010, 09:43:25 AM
Try this attachment. Perfect work in 1.1.11 and 2.0 RC2-RC3
BLESS YOU!!!
Hi,
This is one of the best mods for SMF it is truely a master piece thank you so much for this
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
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..
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
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..
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.
http://www.simplemachines.org/community/index.php?topic=225742.msg2664727#msg2664727
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?
You can not delete it, because other mods installed after that. That's the problem. What server do you mean?
Sorry. I was referring to Dermot's error (above your previous post: http://www.simplemachines.org/community/index.php?topic=225742.msg2614007#msg2614007).
Thanks bugo, sends fine to the server now
one last error remains in the log below
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
(http://j.imagehost.org/0191/Chess_offset.png)
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.
Errm... IE 8 is fine - it's FF 3.6.4 that's wrong ;)
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
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
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!
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 ?
Any screenshot?
I cant "Challenge Request" any member, the only way to challenge is by creating "Quickmatch".
Here it is.
Quote from: 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.
Quote from: drhamza on May 10, 2010, 11:48:07 PM
can the leader board issue be solved? thanks a lot for your work
Update mod.
@anakmacan: are you using english language default?
Yup, english language, and it's the only language i use for my forum.
Try clean cache in your browser... Don't block any javascripts?
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
If you switch to a Curve theme, the Challenge works?
Admin => Permissions => ... group => Chess => Allowed to Challenge => enabled?
Nope, still only "Quickmatch" that only works but cant challenge specific member. Maybe it's because my other mods ?
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
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
Thanks for the edit Bugo. I will try it out later today. :)
Thank you Bugo!
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
Thx bugo, ill try editing later ;)
Quote from: 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
Update mod. I fixed it by this morning.
ok, thanks.
Is it only this fix or any other additional fixes?
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
@anakmacan, can you attach your index.template.php?
Sure, the first one's default index.template, and the second one's my theme index.template.
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:
// 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>
thanks
Quote from: 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:
// 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
Yup, this is all, but still cant "challenge request" anyone :-/
<?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'] ? 1 : 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'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=admin;area=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $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']==0 ? $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"> ';
// 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>';
}
?>
Try delete all other scripts and check Challenge request.
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" ???
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).
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.
;)
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.
???
http://www.simplemachines.org/community/index.php?topic=225742.msg2670085#msg2670085
Thank you. I was doing this....
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...
I was deleting my scripts (from other mods) in the index.template.php but the "challenge Request" is not possible.
I don't have these bugs. I don't know what to advise you...
Well, try replace <body onload="PreloadFlag = true;"> to <body> :)
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... :-[
Quote from: divecall on June 19, 2010, 12:34:09 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:
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?
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 ?
index.template.php
Remove any game thats last move was over 30 Days
How do i change the number of the days? There is no 'Save' button.
@Bugo: Thank you, these Lines of your code (for the index.template.php) works well.
mannn, its not working again on my new theme. :-\
oh well i give up.
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.
Very strange thing with this Mod. If you deactivate template eval, all javascript hang. Tested with a fresh SMF 1.1.11 Install.
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)
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.
Hello ! Is this chess mod running on 2.0 RC3 ? I'M looking for such a chess tournament script - any ideas ?
Dear is it for 2.0rc3?
Dear Vichuu - no, it isn't for 2.0 but maybe someone (maybe the author) has one for this version ?!
Latest version HERE. (http://www.simplemachines.org/community/index.php?topic=225742.msg2664727#msg2664727)
Seems to be removed on monday or am i blind :-) ?
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.
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
@ElaineG
Thank you for better explanation :-)
@All
Can anybody give me a copy of 2.1.5 ?! Thx.
Hello again, any news about 2.1.5 Version ?! Can someone provide this version for download ?
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.
I am waiting for an answer from SMF Customization Team. I would take over SMF Chess Mod.
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 ?!
Sure - rules are rules.... *grml*
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.
Quote from: 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.
It stands to reason. I just want to support and update mod.
Quote from: Bugo on October 08, 2010, 02:42:46 PM
It stands to reason. I just want to support and update mod.
And a thousand times thanks for your support! ;D
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. :)
Bugo, did somebody say you cannot attach your updated version in this thread?
No one (in this thread). But can say.
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 :)
i have - ive seen the moderators actually even remove them if the author's permisison wasn't given
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 ....
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.
Quote from: Bugo on June 12, 2010, 01:33:33 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
Any news about the 2.1.5 status right now ?
Hello again :-)
Hi,
any news about the updated version?
Quote from: Bugo on October 09, 2010, 12:03:50 AM
Quote from: Bugo on June 12, 2010, 01:33:33 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.
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 ?!
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 ?!
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:
AND (UNIX_TIMESTAMP(lo.log_time) < " . (time() - 20) . ") AND lo.id_member = '{$context['SMFChessXml']['oppId']}'
Now game starts when both players are online.
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):
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");
}
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.
We need updates for this mod. Please somebody take over if the writer is not responding.
The mod runs fine so far - what's your problem ?
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.
Plus there is no more language files. We need language files for this mod.
Quote from: petesky on December 13, 2010, 02:40:45 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.
Thas good to know... but too late :)
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!
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?
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.
Hopefully someone pm me then :/
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.
Is there a particular reason he has been gone for 2 years?
What is SMFH?
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.
*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.
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. ???
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.
QuoteIf 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.
I have registered on his site and sent him an email from there so we will see what happens after this.
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.
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.
Quote from: IncognitoMuse 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.
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.
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)
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.
QuoteIt 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.
So are you saying that if someones writes a completely new Chess mod from complete scratch, then it would be legal and accepted.?
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.
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. :)
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.
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.
Quote from: 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.
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.
QuoteDoes 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.
QuoteI 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)
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.
This is an abandoned mod. Over.
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
// 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
Quote from: 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
// 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
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.
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.
ugh nothing tilts me more than seeing great abandoned mods get bumped only to see no updated versions
Quote from: 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.
I still get the same error report.
Quote from: 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
Same here man. Same here.
Quote from: 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
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.
I would like to see this mod updated for 2.0 RC5 please.
me too! :D
Quote from: Bugo on February 18, 2011, 05:09:19 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?
Quote from: Arantor on February 08, 2011, 04:58:42 AM
Quote from: 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
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)?
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.
Quote from: 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.
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.
If the registrar is nice, it's probably set to auto-renew.
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.
Again, it might be set to auto renew. And my old webhost did run a program for a while of 'hosting for life'.
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.
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)
So if someone coded a new chess mod from scratch they could release it here?
Quote from: WhiteEagle on February 22, 2011, 03:37:05 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)
Quote from: 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)
Thank you, Arantor.
Good enough. Anyone interested in coding Chess for SMF 2.0 (for lack of a better name)?
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.
Quote from: 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.
That actually makes sense!
Quote from: GJSchaller on March 10, 2011, 05:05:54 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"
LGPLv3 isn't a licensing issue for working with SMF.
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.
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!
please can anyone mod it for RC5. It will be nice if anyone mod it.
Quote from: jack001 on March 24, 2011, 05:02:12 PM
please can anyone mod it for RC5. It will be nice if anyone mod it.
I'll second this request.
Please have a read of the preceding posts to learn why this might not happen, thanks.
ok.. So is there any another game like poker or betting(bets). It will be awesome if there any game like this.
No, there aren't at present.
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.
Probably because the author of the Thank o Matic hasn't been around since the end of January...
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:)
Quoteso 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.
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?
jack001, send me a pm.
Quote from: 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
bugo, can you please help me with this error?
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.
Quote from: 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?
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
Quote from: 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.
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...
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!
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.
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.
Quote from: 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.
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.
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.
So?
Will it be updated for 2.0 or not?
I cant believe im seeing this mod getting wasted. What a shame.
Quote from: 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.
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.
Is there a way to install it manually to 2.0?
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!
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???
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)
That would be very very good. I ll be waiting for the solution Thank you very much.
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
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!
Quote from: 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!
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.
Quote from: 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
FYI, im still waiting for a confirmation from my members. I will let you know.
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.
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?
(http://crossfire.org/knights/stretched.jpg)
I am also interested in getting this to work on 2.0.1. Any suggestions to what part of this post has directions?
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...
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.
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.
Here u go Godsongz, (I think this is what you were talking about)
http://www.simplemachines.org/community/index.php?topic=129749.msg1350737#msg1350737
That's the one, thanks LA!
I want this so bad :(..
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
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.
(http://i.imgur.com/EG7nN.jpg)
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!
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...
Quote from: 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...
What program did you use to install in to 2.0.2? The linked download is for 1.1.6?
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.
My error log is filling up with Unidentified Index errors from Chess...
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?
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?
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.
...unfortunately that isn't working as intended for me. I type a known name in... nothing...
:(
For some reason, links in the control panel (i.e. draw, resign, etc.) are not working when clicked. What controls these functions?
This mod doesn't work with internet explorer 9. :( Chess pieces don't move correctly.
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.
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.
Quote from: 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.
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.
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. :-\
Quote from: 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. :-\
It has to be something with our index.template.php file because some scripts might be interfering.
I had posted a solution 1 page back about this... mostly AJAX problems similar to quick reply.... this will help
Quote from: 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
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
Quote from: Liam_michael 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?
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!
Quote from: 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
Quote from: 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
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
Quote from: Liam_michael 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?
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.
Quote from: Lord Anubis on March 30, 2011, 09:58:36 PM
Quote from: 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.
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
still works great, now with smf 2.04
Quote from: Dave123 on March 15, 2013, 07:09:05 AM
still works great, now with smf 2.04
Mine doesn't move properly with IE :(
It's still the second most popular browser.
Yeah... refreshes are common with Firefox for me as well.
Quote from: Arantor on March 15, 2013, 12:33:42 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
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.
Quote from: PLAYBOY on March 15, 2013, 12:42:18 PM
Quote from: Arantor on March 15, 2013, 12:33:42 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.
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?
Quote from: Dave123 on March 15, 2013, 07:09:05 AM
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
I sent a challenge. But my opponent can not accept it. Message: "You do not have access to Chess!"
What I do?
What`s the latest version of this and where can we download it?
Quote from: PLAYBOY on July 09, 2014, 04:44:36 AM
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
Does anyone know where I can find "CHESSBLOCK.ZIP" referenced in the first post on this thread?
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
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.
Quote from: 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.
Hi.. it's not letting me challenge another player at all
Quote from: chaos40 on November 05, 2018, 09:25: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?
Quote from: tfs on November 07, 2018, 04:22:14 PM
Quote from: chaos40 on November 05, 2018, 09:25: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?
Quote from: chaos40 on November 07, 2018, 09:01:22 PM
Quote from: tfs on November 07, 2018, 04:22:14 PM
Quote from: chaos40 on November 05, 2018, 09:25: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?
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?
Quote from: 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?
PING one more time re: CHESSBLOCK.ZIP. Has anyone got that lying around?
Quote from: tfs on November 08, 2018, 07:45:09 PM
Quote from: chaos40 on November 07, 2018, 09:01:22 PM
Quote from: tfs on November 07, 2018, 04:22:14 PM
Quote from: chaos40 on November 05, 2018, 09:25: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?
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
Only problematic part for me is 1st move in the game. Its really hard to make first move, not sure why.
Quote from: tfs on November 08, 2018, 07:46:03 PM
Quote from: 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?
PING one more time re: CHESSBLOCK.ZIP. Has anyone got that lying around?
Thank you for the file, Chaos! I appreciate it!
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?
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.
Quote from: 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.
I don't see a "move" field on my phone
Quote from: yajerusalem on February 20, 2019, 02:35:20 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.
Quote from: tfs on February 20, 2019, 02:54:17 PM
Quote from: yajerusalem on February 20, 2019, 02:35:20 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
Here's now it looks on mine. Perhaps it's your theme's problem?
Quote from: tfs on February 22, 2019, 01:34:18 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.