News:

Join the Facebook Fan Page.

Main Menu

SMFChess

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

Previous topic - Next topic

Arantor

Same base problem as you had with the SimpleDesk installation not leaving you a button - don't modify Subs.php so much...

ProfDrDenis

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.

Arantor

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.

ProfDrDenis

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?

Arantor

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.

ProfDrDenis

Its my test forum so I have no problem I do it and than I (we) see. thanks

Gwydion Frost

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!!!

hitsquaduk

Hi,

This is one of the best mods for SMF it is truely a master piece thank you so much for this

Dermot


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.

Bugo


Sledgie

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?

Bugo

You can not delete it, because other mods installed after that. That's the problem. What server do you mean?

Sledgie


Dermot


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


Bugo

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.

Arantor

Errm... IE 8 is fine - it's FF 3.6.4 that's wrong ;)

Dermot


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


busterone

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.

drhamza

can the leader board issue be solved? thanks a lot for your work

Sakae

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!
http://www.tigrelog.com.br
l: simple p: machines

Advertisement: