News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SMFChess

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

Previous topic - Next topic

Paracelsus

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

machmanx

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

feeble

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

PacificWx

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

feeble

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?

PacificWx

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

feeble

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

PacificWx

tbh i would not entirely know what it means...

i will try again next weekend (time is aainst me as well)

Godsongz

#288
Wow, a new version of SMFChess!!  Great to have you back around Feeble!

Bluben89

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

Godsongz

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.

Bobn

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?

Godsongz

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.

Bobn

#293
THanks found it

Bobn

#294
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

feeble

Since it worked well last time, I do it again

Straight clone ready for SMF2 can be downloaded here
Demo can be seen here(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.

Bobn

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

Bigguy

Glad to see you back around Feeble. :)

Paracelsus

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. ;)

weightman

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

Advertisement: