Author Topic: [SMF 1.1.3]: SMFChess  (Read 12395 times)

0 Members and 1 Guest are viewing this topic.

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: [SMF 1.1.3]: SMFChess
« Reply #15 on: July 12, 2007, 07:48:47 PM »
I might do a search later and see what I can find. :) The tabs I was referring to where the ones I didn't remove from the old install. Because I had moved one of the tabs to the top tabs I had a error in the index.template that left all the tabs so I had to remove a couple. It's good to know though you are putting it to one tab.

Offline feeble

  • Jr. Member
  • *
  • Posts: 125
  • Karma: 14
  • Gender: Male
    • Leaderless
Re: [SMF 1.1.3]: SMFChess
« Reply #16 on: July 12, 2007, 07:57:04 PM »
On like unrelated news.

I've been thinking about how to easily translate this mod, as I think I would really hate doing it for every language thats requested.

So instead I'm making an ajax powered translator(or just straight php) using google translator.

First step is already done in translating a sentence, just need to setup a page and finished the english language files.

I'll finish it after submission, but its pretty sweet that its actually works, i wasn't expecting it to.

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: [SMF 1.1.3]: SMFChess
« Reply #17 on: July 12, 2007, 08:25:21 PM »
If this actually translates right this might be very useful to language co-ordinators or modification developers. ;)

Offline feeble

  • Jr. Member
  • *
  • Posts: 125
  • Karma: 14
  • Gender: Male
    • Leaderless
Re: [SMF 1.1.3]: SMFChess
« Reply #18 on: July 12, 2007, 08:33:42 PM »
If this actually translates right this might be very useful to language co-ordinators or modification developers. ;)
It might, not entirely thou... Do you know if there is anything else like this for SMF language files?

reason i ask, is that to use googles translator like I have, Im using file_get_contents.
Its odd that google hasnt offered an xml api for it yet.

So I don't think is ideal for large usage.
Im looking into webservicex translator, but its seems to be having issues atm.

EDIT: should probably say ive only been playing with this for like 20min. so its early days in that regard
« Last Edit: July 12, 2007, 08:38:12 PM by feeble »

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: [SMF 1.1.3]: SMFChess
« Reply #19 on: July 12, 2007, 09:01:48 PM »
No there is nothing else out there that I know of like this.  Early days for a good idea I think. :)

Offline feeble

  • Jr. Member
  • *
  • Posts: 125
  • Karma: 14
  • Gender: Male
    • Leaderless
Re: [SMF 1.1.3]: SMFChess
« Reply #20 on: July 12, 2007, 09:35:16 PM »
lol, sorry about this, gone off topic a bit

anyways, here is realtime translation or Post.english.php to french

the arrays are split, to keep the requests small.

http://www.leaderless.net/index.php?page=9

Its not perfect...but its actually cuts and saves alot of time.

Offline TrueSatan

  • Guru
  • *
  • Posts: 952
  • Karma: 30
Re: [SMF 1.1.3]: SMFChess
« Reply #21 on: July 12, 2007, 09:42:44 PM »
 The value of that method will depend on the accuracy of the translation and given that the words won't have any contextual help in an automated method that's likely to be fairly poor.

 Generally speaking you, as a mod developer, wouldn't have to do translations of the text. You would be able to point anyone asking for a new translation to the relevant passages in the SMF documentation and to the file(s) needing to be translated then if they did the translation for themeselves offer to include it in a new version of the package. The person requesting the translation is likely to be best placed (better than most developers anyhow) to choose the best words for a new translation so that is a rather good way to do it IMHO.

Offline Jump1979man

  • V.I.P.
  • *
  • Posts: 645
  • Karma: 17
  • Gender: Male
    • Midwest Motorcycles Forum
Re: [SMF 1.1.3]: SMFChess
« Reply #22 on: July 12, 2007, 09:46:58 PM »
The value of that method will depend on the accuracy of the translation and given that the words won't have any contextual help in an automated method that's likely to be fairly poor.

 Generally speaking you, as a mod developer, wouldn't have to do translations of the text. You would be able to point anyone asking for a new translation to the relevant passages in the SMF documentation and to the file(s) needing to be translated then if they did the translation for themeselves offer to include it in a new version of the package. The person requesting the translation is likely to be best placed (better than most developers anyhow) to choose the best words for a new translation so that is a rather good way to do it IMHO.

yep :victory
Midwest Motorcycles Forum
http://www.mwmotorcycles.com

JLM-Media
http://www.jlm-media.com

Riverway Racing
http://www.riverwayracing.com

Click the Banner for AMSOIL!

Offline feeble

  • Jr. Member
  • *
  • Posts: 125
  • Karma: 14
  • Gender: Male
    • Leaderless
Re: [SMF 1.1.3]: SMFChess
« Reply #23 on: July 12, 2007, 10:06:57 PM »
The value of that method will depend on the accuracy of the translation and given that the words won't have any contextual help in an automated method that's likely to be fairly poor.

 Generally speaking you, as a mod developer, wouldn't have to do translations of the text. You would be able to point anyone asking for a new translation to the relevant passages in the SMF documentation and to the file(s) needing to be translated then if they did the translation for themeselves offer to include it in a new version of the package. The person requesting the translation is likely to be best placed (better than most developers anyhow) to choose the best words for a new translation so that is a rather good way to do it IMHO.
Even if I hate to admit it  :pcc
Comparing the output to the actual french translation of Posts, there is a fair amount of discretion between the two.

I'll leave this for now, It was still an interesting thing to look at. :awe

Offline feeble

  • Jr. Member
  • *
  • Posts: 125
  • Karma: 14
  • Gender: Male
    • Leaderless
Re: [SMF 1.1.3]: SMFChess
« Reply #24 on: July 13, 2007, 08:42:53 AM »
Just going to post this build update, as its contain alot of fixes and most of the templates are finished.
I have no idea what im going to do on "My Page" little bit stumped, anyways, if you have any suggestions for the templates, I really would love to hear it.

I know the translator didnt work out exactly, so I'm going to use it for something else in this mod :woohoo


Package is for 1.1.2 and 1.1.3.
If you installed the last package, you will need to uninstall that before going ahead with this version, I've kept the packages the same and version as well, to keep you from doing this.
Download here

Quickchange Log:
13/JUL/07
-Fixed bug, Chess board would still look for updates after end game.
-added, option of who can see chat
-added Chess commands. Basically just /me. Few hidden ones to ;)
-Chess board template is done for V1 and validated
-Current template is done and validated
-Finished Template is done and validated
-Fixed move history bug, storing wrong information

Offline feeble

  • Jr. Member
  • *
  • Posts: 125
  • Karma: 14
  • Gender: Male
    • Leaderless
Re: [SMF 1.1.3]: SMFChess
« Reply #25 on: July 30, 2007, 09:42:37 AM »
Ok new build out,
I keep adding things when I'm just trying to finish this mod off.

Notable Changes
-My Page has finally received a cosmetic upgrade
-Added a better system for checking to see if Opponent requires PM reminder. Now will send if Opponent is not specially looking at the board. Meaning Opponent can still be browsing the forum and receive a PM notification.
-Added "watching" column, completely experimental just mucking about really
-Added "Maintenance", not finished thou
-New and improved "Challenge" system, also a simple "Quickmatch" added

Package is for 1.1.2 and 1.1.3.
If you installed the last package, you will need to uninstall that before going ahead with this version, I've kept the packages the same and version as well, to keep you from doing this.
Download here
Preview Here

Quickchange Log:
30/JUL/07
-fixed a bug in "Watching"
-Finished "Quickmatch"
-Added "Maintence" to admin - Not finished
-Added Piece Packs put together by Godsongz to main package
-Cosmetic changes to "My Page"
29/JUL/07
-added "Watching" column to my page - experimental
-updated is how sendPm checks if users is online, now can check where exactly user is in the forums. Only sends if user is watching that particular board
27/JUL/07
-Fixed some javascript consistency with Chat updates
-Fixed bug with Chat regarding usage of *
26/JUL/07
-Can Castle images now reappear if undo is used after castling
-Moved most Board JavaScript to its own file
-Added the option to set the timeout value in admin area
-Updated Challenge screen, better user search

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: [SMF 1.1.3]: SMFChess
« Reply #26 on: July 30, 2007, 10:47:31 AM »
The chess here on the board has been upgraded now, nice work. :)

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: [SMF 1.1.3]: SMFChess
« Reply #27 on: August 07, 2007, 11:27:43 AM »
In my error logs I get this from the chess:

:
Undefined index: ID_MEMBER
File: /home/****/public_html/smfhelper/forum/Sources/Chess.php
Line: 254

Offline feeble

  • Jr. Member
  • *
  • Posts: 125
  • Karma: 14
  • Gender: Male
    • Leaderless
Re: [SMF 1.1.3]: SMFChess
« Reply #28 on: August 08, 2007, 05:33:17 AM »
In my error logs I get this from the chess:

:
Undefined index: ID_MEMBER
File: /home/****/public_html/smfhelper/forum/Sources/Chess.php
Line: 254

Appreciated,

Fixed

Offline feeble

  • Jr. Member
  • *
  • Posts: 125
  • Karma: 14
  • Gender: Male
    • Leaderless
Re: [SMF 1.1.3]: SMFChess
« Reply #29 on: August 08, 2007, 07:59:48 PM »
I've put out a new build which should fix all those bugs that was found, appreciated. Probably put a few more in for good measure.
Also contains several changes in the backend, namely finished importing the "PGN Import" function from SomeChess(with permission from the author of SomeChess of course) so you can do some really cool stuff like watch Kasparov vs Deepblue going at it.  8)

No language changes so far, haven't gotten around to it yet.
As I still need to finished implementing 2 other things that users have requested.

List of Chat Commands so far:(If you have any other ideas that you would like added, I would like to hear
/me, /french, /italian and /portuguese

No change log, as I was to lazy to keep one

Package is for 1.1.2 and 1.1.3.
Please note: All download links point to the same file, so you cannot download anything but the latest build
If you installed the last package, you will need to uninstall that before going ahead with this version, I've kept the packages the same and version as well, to keep you from doing this.
Download here
Preview Here