News:

Join the Facebook Fan Page.

Main Menu

SMFChess

Started by feeble, November 26, 2006, 07:36:17 PM

Previous topic - Next topic

feeble

#400
Quote from: Godsongz on October 29, 2007, 10:12:24 PM
I found one more minor bug, VERY minor really.  Feeble's chess boards don't print.  The grid of the chessboard drops out completely.  I assume that the chessboard is basically an HTML table, with the cell colors forming the checkerboard pattern.  Therein lies the bug, cell background colors don't print, by design.  I can't imagine how it could be written to work otherwise.

Now, the real question is, does anybody care?  Do any of you ever see yourself printing out chess tables for any reason?

Just took a quick look, and yes the cells aren't coloured as you say and also I found the chess pieces misaligned(off to the right and up a bit)

The cell coloring is actually an option that you need to toggle in your printing options.

Whilst the misalignment of the pieces is a little more tricky, as that is an issue with the drag-drop script.

To things come to mind to fix this
1. having a "Print" button, which opens the board into a new window with the javascript disabled, so you can print is easily

or
(this will have to wait till after release as its a little more extreme)
2. creating a gd script, that will create a jpeg of the chess board.


you can decide with one you want, either one or the other or both, I'm not fussed.


Quote from: rumfa on October 27, 2007, 11:13:28 PM
How do you install chess in other themes other than the default one?
I installed it and it was working great, a really nice thing that chess. But when i switched to my custom theme the chess pieces in control panel weren't showing and the navigation button wasn't available..
Can somebody put a small manual for cusotm installation, or just the file names witch need to be editied...
I copied the images and everything to the custom theme folder but it didn't help..:S.
Tut is made, its very simple
http://www.smfhelper.info/forum/index.php?topic=1849.0

flame baiter

No update for such a long time? No no no, this thread can't die!!  o.O

Long live SMFChess!   8)

jossanaijr

#402
I just installed it in my forum and now it is broken...

The message:
Not unique table/alias: 'chess'

opens when I try to enter in my forum.
Any help?

EDIT: http://www.simplemachines.org/community/index.php?topic=203936.0

jossanaijr

Feeble, it is solved.  I think I will have to wait the public release to play chess...

But also I know what had happened.  Sometime ago I started to install your mod but then I gave up.  Probably the script was not deleted from one or all files.  Today the installation was without any error but when I tried to enter the game the first error was about duplicates.  I fix it by myself deleting the duplicate in php (I cannot remember where it was).  Then when I tried the CHESS button again it took me to that error.

Now I just would like to know where should I look for some chess script in my php files.

jasonwatkins

don't know if anyone is interested, but i figured out how to integrate this mod into the Bloc's "Blue Skies" theme.

It's a bit of a workaround and could probably be done better, but if you're using this theme, simply enable the "Shop" mod facility, then edit the index.template.php file and find the flag that checks for the mod, and change it to this ..

if (!empty($settings['use_shop']))
echo '<li><a' , $current_action=='chess' ? ' class="chosen"' : '' , ' href="', $scripturl, '?action=shop">Chess</a></li>';


That way, it integrates perfectly into the menu and into the css as well.

obviously if you're using the shop then you'll have some problems :D

jasonwatkins

although having said that, it appears that this doesn't work with 1.1.4 yet

i have a board and pieces but they're all out of alignment and you can't drag and drop anything ..

and the challenge system seems a bit screwed as well

nice mod, but i'll probably come back to it when it works with 1.1.4 ..

Godsongz

Quote from: jasonwatkins on November 04, 2007, 08:45:22 AM
although having said that, it appears that this doesn't work with 1.1.4 yet

i have a board and pieces but they're all out of alignment and you can't drag and drop anything ..

and the challenge system seems a bit screwed as well

nice mod, but i'll probably come back to it when it works with 1.1.4 ..

It's your install jason.  SMFChess if working fine on 1.1.4 on my site.

feeble

Quote from: jasonwatkins on November 04, 2007, 08:45:22 AM
although having said that, it appears that this doesn't work with 1.1.4 yet

i have a board and pieces but they're all out of alignment and you can't drag and drop anything ..

and the challenge system seems a bit screwed as well

nice mod, but i'll probably come back to it when it works with 1.1.4 ..

hmmm, apologies again for this issue you are having.

Would you mind sending me you website address so i can take a look?

This mod is known to have issues in some themes, due to the drag drop javascript being misaligned.

Im been looking into a solution for this for awhile, but the best one yet is to check and fix any errors your theme my have. using http://validator.w3.org/ and then check for errors.
Also, this is worthwhile doing for your care and maintenance of your site, as it will help with loading time and also compatibility between browsers.

Also whats the issue with the clallenge screen?

Smith Online

Hey Feeble hows it going the mod looks great ive been away a while plus had to sort alot of issues on my site but am back and happy to help in anyway if you need the testing forum let me know.  :)

Will let ya know if i find any bugs but so far everyting fine. Looks to me like its ready for release  ;)

Regards
Smith Online


Smith Online

Hi sounds like other people have had this problem its fine in default theme but in my custom theme everything works fine but chess board colours dont work ?

Anything i can to to fix this?

Regards
Smith Online


Bigguy

have you gone through all the edits to make sure they are done in your custom theme ??? Particularly if there are any .css edits to be done. ???

Smith Online

Quotehave you gone through all the edits to make sure they are done in your custom theme  Particularly if there are any .css edits to be done.

Hi Thanks for you reply i have just been double checking but i carnt find anything that needs changing i have used smf package paser to check all edits and the only theme file thats in my custom theme is index.template.php so i have done the edits to that and i copied the folder SMFChess to $themedir the only other thing i can think of is putting the following files in my custom theme directory but i dont think this will work because all mods normally look for the files in the default directory anyway??

ChessAdmin.template.php will be copied to $themedir
Chess.template.php will be copied to $themedir
ChessXml.template.php will be copied to $themedir
ChessChat.template.php will be copied to $themedir
ChessCustom.template.php will be copied to $themedir

Am not sure on any .css edits as none are shown by smf package parser

An ideas any one??

Thanks in advance

Regards
Smith Online


Bigguy

Did copying all that make a difference. ???

feeble

Quote from: Smith Online on November 12, 2007, 07:31:31 AM
Hi sounds like other people have had this problem its fine in default theme but in my custom theme everything works fine but chess board colours dont work ?

Anything i can to to fix this?

Regards
Smith Online

This is the first ive heard of Board Colours not working.

Regarding CSS styles, all used in this mod are all standard css styles so that shouldnt be the issue.

The board colours are stored in the $modsettings variable.

Have you tried saving the SMFChess Admin options yet?

Smith Online

#414
QuoteDid copying all that make a difference.  ???

No dint make a difference  :'(


QuoteThis is the first ive heard of Board Colours not working.
Regarding CSS styles, all used in this mod are all standard css styles so that shouldnt be the issue.


The board colours are stored in the $modsettings variable.

Have you tried saving the SMFChess Admin options yet?

Hi Feeble i have attached photo of the problem i have tried changing settings in admin they all change and work fine including the board colours but the board colours just dont change the board?

Regards
Smith Online


Screen Shot
http://uploadingit.com/view/full/264382_yx2rf

Below is the style.css from my custom theme:-
#MRHeader {
   background-image:  url(images/head_bg.gif);
   margin-top: -15px;
   margin-bottom: 40px;
   background-repeat:repeat-x;
   background-color: #33373d;
   height: 110px;
   width: 100%;
}
/****
   This is what you change to control the width of the entire forum.
****/
#widthControl
{
width: 96%; /** Change to 100% for full fluid **/
}

/* This is the container for the main body of the forums to control width */
#bodyarea
{
   padding: 1ex 0px 2ex 0px;
}
/* Normal, standard links. */
a:link
{
   color: #3f5b7d;
   text-decoration: none;
}
a:visited
{
   color: #3f5b7d;
   text-decoration: none;
}
a:hover
{
   color: #000000;
   text-decoration: underline;
}

/* These are the links in Pages [ 1 ], 2, 3, ... */
a.navPages:link, a.navPages:visited, a.navPages:active
{
   color: #000000;
   text-decoration: none;
}
a.navPages:hover
{
   color: #ff4e00;
   text-decoration: underline;
}

/* This is the news fader text color */
#smfFadeScroller
{
color: #000000;
}

/* Navigation links - for the link tree. */
.nav-box
{
width: 100%;
padding: 4px 0 4px 0;
font-size: 11px;
}
span.nav-tree
{
   margin-top: 5px;
}
.nav-tree a:link, .nav-tree a:visited, .nav-tree a:active
{
   color: #000000;
   text-decoration: underline;
}
.nav-tree a:hover
{
   text-decoration: none;
}

a.nav-tree:link, a.nav-tree:visited, a.nav-tree:active
{
   color: #000000;
   text-decoration: none;
   border: 0;
   padding: 0 4px 0 4px;
   font-size: 11px;
}
a.nav-tree:hover
{
   color: #cc3333;
   text-decoration: underline;
}
.nav a:link, .nav a:visited, .nav a:active
{
   color: #ffffff;
   text-decoration: none;
}
.nav a:hover
{
   color: #ffffff;
   text-decoration: underline;
}

/* This is the copyright links at the bottom of the page */
.copyright-links, .copyright-links a:link, .copyright-links a:visited, .copyright-links a:active
{
   color: #000000;
   text-decoration: none;
}
.copyright-links a:hover
{
   color: #000000;
   text-decoration: underline;
}

/* This is the topic author's name on the message index */
.topic-author a:link, .topic-author a:visited, .topic-author a:active
{
   font-size: 10px;
   font-weight: normal;
   text-decoration: none;
   color: #000000;
}
.topic-author a:hover
{
   text-decoration: underline;
}

/* Tables should show empty cells. */
table
{
   empty-cells: show;
}

/* By default (td, body..) use verdana in black. */
body, td, th , tr
{
   color: #000000;
   font-size: small;
   font-family: tahoma, bold;
}

/* The main body of the entire forum. */
body
{
   background-color: #dce2e5;
   margin: 0px;
   padding: 15px 0 4px 0;
}

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
   color: #000000;
   font-family: tahoma, bold;
}
input, button
{
   font-size: 90%;
}

textarea
{
   font-size: 100%;
   color: #000000;
   font-family: tahoma, bold;
}

/* All input elements that are checkboxes or radio buttons. */
input.check
{
}

/* Selects are a bit smaller, because it makes them look even better 8). */
select
{
   font-size: 90%;
   font-weight: normal;
   color: #000000;
   font-family: tahoma, bold;
}

/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor
{

   height: 1px;
   border: 0;
   color: #666666;
   background-color: #666666;
}

/* No image should have a border when linked */
a img{
border: 0;
}

/* This is the main navigation links at the top of the page */
.main-navigation
{
font-size: 11px;
text-align: middle;
vertical-align: middle;
}
.main-navigation a:link, .main-navigation a:visited, .main-navigation a:active
{
color: #ebebeb;
text-decoration: none;
}
.main-navigation a:hover
{
color: #ebebeb;
text-decoration: underline;
}

.main-navigation2
{
font-size: 11px;
}
.main-navigation2 a:link, .main-navigation2 a:visited, .main-navigation2 a:active
{
color: #ebebeb;
text-decoration: none;
}
.main-navigation2 a:hover
{
color: #ebebeb;
text-decoration: underline;
}
/* This is the blank html box for ads or whatever. */
#blank-box
{
   /* Add styles here */
   /* margin: 4px 0 4px 0; /* top right bottom left; hide of no content */
}

/* A quote, perhaps from another post. */
.quote
{
color: #000000;
background-color: #ffffff;
border-top: 0px;
border-left: 4px solid #565962;
border-right: 1px solid #565962;
border-bottom: 1px solid #565962;
font-size: 11px;
margin: 0 auto 1px auto;
padding: 1px;
font-size: x-small;
line-height: 1.4em;
padding-top: 3px;
padding-bottom: 3px;
}
/* A code block - maybe even PHP ;). */
.code
{
color: #000000;
background-color: #ffffff;
font-family: Arial, "courier new", "times new roman", monospace;
font-size: 11px;
line-height: 1.3em;
/* Put a nice border around it. */
border-top: 0px;
border-left: 4px solid #565962;
border-right: 1px solid #565962;
border-bottom: 1px solid #565962;
margin: 0 auto 1px auto;
padding: 1px;
padding-top: 3px;
padding-bottom: 3px;
/* Don't wrap its contents, and show scrollbars. */
white-space: nowrap;
overflow: auto;
/* Stop after about 24 lines, and just show a scrollbar. */
max-height: 24em;
}
/* The "Quote:" and "Code:" header parts... */
.quoteheader
{
color: #000000;
text-decoration: none;
font-weight: bold;
font-size: 11px;
line-height: 16px;
background-image: url("images/quote_img.gif");
background-repeat: no-repeat;
background-position: top right;
background-color: #c2c2c9;
height: 17px;
padding: 1px;
border-top: 1px solid #565962;
border-left: 4px solid #565962;
border-right: 1px solid #565962;
border-bottom: 0px;
vertical-align: middle;
}
.codeheader
{
color: #000000;
text-decoration: none;
font-weight: bold;
font-size: 11px;
line-height: 16px;
background-image: url("images/code_img.gif");
background-repeat: no-repeat;
background-position: top right;
background-color: #c2c2c9;
height: 17px;
padding: 1px;
border-top: 1px solid #565962;
border-left: 4px solid #565962;
border-right: 1px solid #565962;
border-bottom: 0px;
vertical-align: middle;
}

/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help
{
   cursor: help;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction
{
   color: red;
}

/* The main post box - this makes it as wide as possible. */
.editor
{
   width: 96%;
}

/* Highlighted text - such as search results. */
.highlight
{
   background-color: yellow;
   font-weight: bold;
   color: black;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg7
{
   background: #e4e4e4;
   color: #000000;
   border-style: solid none none solid;
   border-width: 1px;
   border-color: #FFFFFF;
}
.windowbg8
{
   background: #f1f1f1;
   color: #000000;
   border-style: solid none none solid;
   border-width: 1px;
   border-color: #FFFFFF;
}
.windowbg, .windowbg td
{
   background: #e4e4e4;
   color: #000000;
   border-style: solid none none solid;
   border-width: 1px;
   border-color: #FFFFFF;
}
.windowbga, .windowbga td
{
   background: #e4e4e4;
}
.windowbg2, .windowbg2 td
{
   background: #f1f1f1;
   color: #000000;
   border-style: solid none none solid;
   border-width: 1px;
   border-color: #FFFFFF;
}
.windowbg3, .windowbg3 td
{
   color: #000000;
   background-color: #d6d8dd;
}
.windowbgpinned, .windowbgpinned td
{
   color: #000000;
   background-color: #bcbcbc;
}
.windowbg2pinned, .windowbg2pinned td
{
   color: #000000;
   background-color: #eeeeee;
}

label
{
   color: #000000;
}

/* This is the colored bar seperating each post */
.postsep
{
   background-color: #babfc5;
   height: 6px;
}

/* the today container in calendar */
.calendar_today
{
   background-color: #FFFFFF;
   color: #000000;
   font-weight: bold;
}
.titleas
{
   color: black;
   font-style: normal;
   background-color: #ffffff;
   background-image: url(images/catbg2.gif);
   border-bottom: solid 1px #9f9f9f;
   border-top: solid 1px #FFFFFF;
   background-repeat: repeat-x;
   padding-left: 10px;
   padding-right: 10px;
}
/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td, .titlebg2 td
{
   color: black;
   font-style: normal;
   background-color: #ffffff;
   background-image: url(images/coltitle_bg.gif);
   border-bottom: solid 1px #9f9f9f;
   border-top: solid 1px #FFFFFF;
   background-repeat: repeat-x;
   padding-left: 10px;
   padding-right: 10px;
}

.titlebg, .titlebg a:link, .titlebg a:visited
{
   font-weight: bold;
   color: black;
   font-style: normal;
}

.titlebg a:hover
{
   color: #404040;
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
   color: black;
   font-style: normal;
   text-decoration: underline;
}

.titlebg2 a:hover
{
   text-decoration: underline;
}
/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/

.catbg, td.catbg , tr.catbg td , .catbg3 , tr.catbg3 td
{
   background-image: url(images/catbg2.gif);
   background-color: #5a5e61;
   color: #FFFFFF;
   padding-left: 10px;
   padding-right: 10px;
}
.catbg2 , tr.catbg2 td
{
   background-image: url(images/catbg2.gif);
   background-color: #5a5e61;
   color: #FFFFFF;
   padding-left: 10px;
   padding-right: 10px;
}
.catbg, .catbg2, .catbg3
{
   border-bottom: solid 1px #375576;
   background-repeat: repeat-x;
}
.catbg, .catbg2
{
   font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited
{
   font-weight: bold;
   font-size: 95%;
   color: #FFFFFF;
   text-decoration: none;
}
.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited
{
   color: #FFFFFF;
   text-decoration: none;
}
.catbg8
{
   background-image: url(images/catbg2.gif);
   background-color: #5a5e61;
   color: #FFFFFF;
}
.catbg8 a:link, .catbg8 a:visited
{
   color: #FFFFFF;
   font-size: 11px
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover
{
   color: #000000;
}
.cat-whiteText
{
   color: #ffffff;
}

/* This is the titles for the columns on the board index */
.column-title
{
text-align: center;
vertical-align: middle;
background: #3f5b7d ;
font-weight: bold;
color: #000000;
font-size: 80%;
border-width: 1px 0 1px 0;
border-style: solid;
border-color: #3c3c3c;
}

/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
  background: #BCBCBC;
   color: #000000;}
.bordercolor2
{
  background: #BCBCBC;
   color: #000000;}
/* This is the border arround the topic posts and quick reply. */
.displayborder
{
   background-color: #000000;
   padding: 0;
}

/* This is used on tables that should just have a border around them. */
.tborder
{
   padding: 0px;
   border: 1px solid #525252;
   background-color: #FFFFFF;
}
.tborder td
{
   color: #000000;
}
.mborder
{
   padding: 0px;
   border: 1px solid #525252;
   background-color: #FFFFFF;
}
.mborder td
{
   color: #000000;
}
/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
   font-size: x-small;
   font-family: tahoma, bold;
}
.middletext
{
   font-size: 90%;
}
.normaltext
{
   font-size: small;
}
.largetext
{
   font-size: large;
}
/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
   width: 100%;
   overflow: auto;
   line-height: 1.3em;
}
/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature
{
   width: 100%;
   overflow: auto;
   padding-bottom: 3px;
   line-height: 1.3em;
}

/* Sometimes there will be an error when you post */
.error{
color: red;
}
/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last
{
   background-position: left bottom;
   color: white;
   text-transform: uppercase;
   vertical-align: middle;

}
.maintab_back, .maintab_active_back
{
   color: white;
   text-decoration: none;
   font-size:  9px;
   vertical-align: middle;
   padding: 6px 2px 10px 2px;
   font-family: tahoma, bold;
}

.maintab_first
{
   /*background-image: url(images/maintab_first.gif);*/
   background-repeat: no-repeat;
   /*width: 10px;*/
}
.maintab_back
{
   /*background-image: url(images/maintab_back.gif);*/
   background-repeat: repeat-x;
}
.maintab_last
{
   /*background-image: url(images/maintab_last.gif);*/
   background-repeat: no-repeat;
   /*width: 8px;*/
}
.maintab_active_first
{
   /*background-image: url(images/maintab_active_first.gif);*/
   background-repeat: no-repeat;
   /*width: 6px;*/
}
.maintab_active_back
{
   /*background-image: url(images/maintab_active_back.gif);*/
   background-repeat: repeat-x;
}
.maintab_active_last
{
   /*background-image: url(images/maintab_active_last.gif);*/
   background-repeat: no-repeat;
   /*width: 8px;*/
}

/* how links behave in main tab. */
.maintab_back a:link , .maintab_back a:visited, .maintab_active_back a:link , .maintab_active_back a:visited
{
   color: #000000;
   text-decoration: none;
   font-weight: bold;
   background: #d8dbe3 url(images/tablink_bg.gif) 0 0 repeat-x;
   padding: 5px 8px 5px 8px;
   margin: 4px 0 4px 0;
   border: 1px solid #7f838c;
}

.maintab_back a:hover, .maintab_active_back a:hover
{
   color: #ffffff;
   text-decoration: none;
   background: #000000 url(images/tablink_bg.gif) 0 -24px repeat-x;
   border: 1px solid #000000;
}
/* definitions for the mirror tab */
.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last
{
   background-position: left top;
   color: white;
   text-transform: uppercase;
   vertical-align: middle;

}
.mirrortab_back, .mirrortab_active_back
{
   color: white;
   text-decoration: none;
   font-size: 9px;
   vertical-align: middle;
   padding: 10px 2px 6px 2px;
   font-family: tahoma, bold;
}

.mirrortab_first
{
   /*background-image: url(images/mirrortab_first.gif);*/
   background-repeat: no-repeat;
   width: 10px;
}
.mirrortab_back
{
   /*background-image: url(images/mirrortab_back.gif);*/
   background-repeat: repeat-x;
}
.mirrortab_last
{
   /*background-image: url(images/mirrortab_last.gif);*/
   background-repeat: no-repeat;
   width: 6px;
}
.mirrortab_active_first
{
   /*background-image: url(images/mirrortab_active_first.gif);*/
   background-repeat: no-repeat;
   width: 6px;
}
.mirrortab_active_back
{
   /*background-image: url(images/mirrortab_active_back.gif);*/
   background-repeat: repeat-x;
}
.mirrortab_active_last
{
   /*background-image: url(images/mirrortab_active_last.gif);*/
   background-repeat: no-repeat;
   width: 8px;
}

/* how links behave in mirror tab. */
.mirrortab_back a:link , .mirrortab_back a:visited, .mirrortab_active_back a:link , .mirrortab_active_back a:visited
{
   color: #000000;
   text-decoration: none;
   font-weight: bold;
   background: #d8dbe3 url(images/tablink_bg.gif) 0 0 repeat-x;
   padding: 5px 8px 5px 8px;
   margin: 4px 0 4px 0;
   border: 1px solid #7f838c;
}

.mirrortab_back a:hover, .mirrortab_active_back a:hover
{
   color: #ffffff;
   text-decoration: none;
   background: #000000 url(images/tablink_bg.gif) 0 -24px repeat-x;
   border: 1px solid #000000;
}
/* TP specific classes */
.sitemap{
   margin: 0;
   padding: 0;
   list-style: none;
}
.sitemap_topheader{
   background: #e4e4e4;
   border-bottom: solid 1px #ffffff;
   padding: 4px;
}

.sitemap_header{
   background: #e4e4e4;
   border-bottom: solid 1px #ffffff;
   padding: 4px;
   display: block;
   font-weight: bold;
}

.sitemap_header_active{
   background: #e4e4e4;
   border-bottom: solid 1px #ffffff;
   padding: 4px;
   display: block;
   font-weight: bold;
}

.sitemap_header:hover , .sitemap_header_active:hover{
   background: #f1f1f1;
   border-bottom: solid 1px #ffffff;
   padding: 4px;
   display: block;
   text-decoration: none;
}
ul#articlelist
{
   margin: 0;
   padding: 0.5ex 0;
   list-style: none;
}
ul#catlist
{
   margin: 0;
   padding: 0;
   list-style: none;
   border-top: solid 1px #d0d0d0;
}

ul#articlelist li
{
   margin: 0;
   display: block;
   padding: 0 0 0 3ex;
   background: url(images/divider.gif) no-repeat 5px 3px;
}
ul#catlist li
{
   display: block;
   padding: 0 0 0 3ex;
   margin: 0;
}
.rss_title{
font-weight: bold;
}

.rss_body{
   margin-bottom: 1ex;
}

.rss_image{
   margin: 4px 0 4px 0;
}
/* The AJAX notifier */
#ajax_in_progress
{
   background: #2f2f2f;
   color: white;
   text-align: center;
   font-weight: bold;
   font-size: 18pt;
   padding: 3px;
   width: 100%;
   position: fixed;
   bottom: 0;
   left: 0;
}


Below are the only editable files in my custom theme: -

BoardIndex.template.php
Display.template.php
index.template.php
MessageIndex.template.php
Profile.template.php
Register.template.php
index.php
style.css


Smith Online

#415
Hi,
sorry for the double posts but i thought it was best to post separately.

I have just found were the problem definitely lies to fix this am just not sure which part is used by smf chess.  :-\

What i have done is copy the style.css from the default theme folder and replaced the one in my custom with the default one i know this would mess my theme up but it was just to see if then the board colours would show and yes they do :). So i am positive that some off the code from the default style.css file is not in the style.css of my custom theme (I have posted my custom theme style.css file in the above post) i just dont know which part is missing.

Thanks in advance

Regards,
Smith Online


feeble

this is the cause of the issue
.windowbg2, .windowbg2 td
{
   background: #f1f1f1;
   color: #000000;
   border-style: solid none none solid;
   border-width: 1px;
   border-color: #FFFFFF;
}


now im not entirely sure if I can make a change without affecting your theme, but here we go anyways

alter the above to
.windowbg2
{
color: #000000;
background-color: #f1f1f1;
    border-style: solid none none solid;
    border-width: 1px;
    border-color: #FFFFFF;
}


see how that goes and get back to me

Smith Online

Quotethis is the cause of the issue

Code:
.windowbg2, .windowbg2 td
{
   background: #f1f1f1;
   color: #000000;
   border-style: solid none none solid;
   border-width: 1px;
   border-color: #FFFFFF;
}

now im not entirely sure if I can make a change without affecting your theme, but here we go anyways

alter the above to

Code:
.windowbg2
{
color: #000000;
background-color: #f1f1f1;
    border-style: solid none none solid;
    border-width: 1px;
    border-color: #FFFFFF;
}

see how that goes and get back to me

Yes that fixed it  :) i have not noticed any problem with the theme at all so far but i will let ya know if i find anything.

Thanks feeble  ;)

Regards
Smith Online


Godsongz

Just out of curiousity...  lets do an SMFChess Roll Call.  I'm wondering how many sites are running Feeble's great chess mod already even though it's still in beta, and how much is it being used on your sites?

My site, the Covenant Coffeehouse, has been running it since mid July.  We have 77 finished games and 31 in-progress.  We've got lots of kids playing, but we have players of all ages and skill levels too.

Sound off!  8)

Bigguy

I have had it since it was made. We have a tournament going on right now. Most of my users play and like it. :)

Advertisement: