SMFChess

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

Previous topic - Next topic

Hoochie Coochie Man

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..
İnadına SMF 1.1.X

H

I've cleared Tron420's trolling and silenced him so hopefully this topic can now get back on track :)
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Hoochie Coochie Man

Where is "the date" stored?
I have to change its language.
İnadına SMF 1.1.X

serovai

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?

Smith Online

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


gmvasco

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

SpacePT

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.


Hoochie Coochie Man

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?
İnadına SMF 1.1.X

Godsongz

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.

Hoochie Coochie Man

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)" :-\
İnadına SMF 1.1.X

LosCatmanos

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:
     hxxp:img214.imageshack.us/img214/2148/chess2ag9.png [nonactive]

     Now:
     hxxp:img366.imageshack.us/img366/1245/chesslk9.png [nonactive]

     Settings:
     hxxp:img401.imageshack.us/img401/9715/chess3yx1.png [nonactive]

     Files are where they should be:
     hxxp:img366.imageshack.us/my.php?image=serverwe4.png [nonactive]


Please, could you help me? :'(

LosCatmanos

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?

WebmistressFL

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!!!!!!!!!!!!!!!!!!!!!!!!  :'(  :(  :'(

"Some things have to be believed to be seen..."  - Unknown

WebmistressFL

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????  :'(

"Some things have to be believed to be seen..."  - Unknown

WebmistressFL

...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???

"Some things have to be believed to be seen..."  - Unknown

flame baiter

Thanks for this. Great mod!

Bigguy

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????  :'(



Kylezz

Why do i post alot? I am not a leecher.

NeoMorph

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?

Godsongz

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.


Advertisement: