vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Chess (https://vborg.vbsupport.ru/showthread.php?t=153638)

DieselMinded 08-03-2007 10:31 PM

Cool Deal Thanks Any Issues?

Carnage 08-04-2007 12:06 AM

Quote:

Originally Posted by zethon (Post 1309158)
Hrmph, there's no option to label the rows correctly. :(

But I'm excited about teh Ajax functionality! Testing it now!

there is, at least there should be http://www.giveupalready.com/showthr...289#post973289 white are at the bottom as requested... this is an option in the admin cp now.

Tulsa 08-04-2007 12:50 AM

Carnage- Give this a try for the spacing.

Code:

<td width="33%">
<center>
<table id="chessboard" width="100%" border="1px">
<tr>
<td>&nbsp;</td>
<td class="alt1" align="center" width="12.5%">a</td>
<td class="alt1" align="center" width="12.5%">b</td>
<td class="alt1" align="center" width="12.5%">c</td>
<td class="alt1" align="center" width="12.5%">d</td>
<td class="alt1" align="center" width="12.5%">e</td>
<td class="alt1" align="center" width="12.5%">f</td>
<td class="alt1" align="center" width="12.5%">g</td>
<td class="alt1" align="center" width="12.5%">h</td>
</tr>
$output
</table>


ramchip 08-04-2007 11:02 AM

My forum has a fixed width of 1000px but the forum with the chess games seems to be full width. Is there a way to restrict the chess forum to 1000px?

Thanks this is a great mod.

Tulsa 08-07-2007 06:03 PM

Quote:

Originally Posted by Tulsa https://vborg.vbsupport.ru/external/2011/11/11.gif
When you don't have a piece on a particular column, the column collapses. The rows seem to stay intact when no pieces are on a particular row. Is there anyway to maintain the columns so they won't collapse?
Quote:

This is one of the known issues. For some reason browsers seem to ignore the width="40px" on the cols...
For anyone who's experiencing the collapsing columns this change works for me. In the chess template there's a table width of 33% but the table make-up is fixed width values. Changing these to percent values will give you 100% of the 33% table size and then 1/8 widths for the columns.


Replace this:

Code:

<table id="chessboard" width="320px" border="1px">
                                                  <tr>
                                                        <td>&nbsp;</td>
                                                        <td class="alt1" width="40px">a</td>
                                                        <td class="alt1" width="40px">b</td>
                                                        <td class="alt1" width="40px">c</td>
                                                        <td class="alt1" width="40px">d</td>
                                                        <td class="alt1" width="40px">e</td>
                                                        <td class="alt1" width="40px">f</td>
                                                        <td class="alt1" width="40px">g</td>
                                                        <td class="alt1" width="40px">h</td>

With this:

Code:

<table id="chessboard" width="100%" border="1px">
<tr>
<td>&nbsp;</td>
<td class="alt1" align="center" width="12.5%">a</td>
<td class="alt1" align="center" width="12.5%">b</td>
<td class="alt1" align="center" width="12.5%">c</td>
<td class="alt1" align="center" width="12.5%">d</td>
<td class="alt1" align="center" width="12.5%">e</td>
<td class="alt1" align="center" width="12.5%">f</td>
<td class="alt1" align="center" width="12.5%">g</td>
<td class="alt1" align="center" width="12.5%">h</td>

This will also center the letters for a little better display.

rungok 08-07-2007 07:53 PM

The reset Board Routine produces a "Unknown runtime error". I'm getting the error after a move (quick reply) and when i click "Reset". Ajax is on and running on 3.6.5.

rungok 08-07-2007 07:55 PM

I am also getting this "null is null or not an object" sometimes.

dethfire 08-08-2007 02:13 PM

this looks really great, can't wait for a stable release!

Carnage 08-08-2007 08:28 PM

Quote:

Originally Posted by rungok (Post 1312150)
The reset Board Routine produces a "Unknown runtime error". I'm getting the error after a move (quick reply) and when i click "Reset". Ajax is on and running on 3.6.5.

Quote:

Originally Posted by rungok (Post 1312153)
I am also getting this "null is null or not an object" sometimes.

Do you get it with ajax turned off? what browser are you viewing it it? do you have any other mods that add javascript to your pages?

@everyone else:
i'm planning a new release asap however have been busy this week moving my forums to a new server (and managing to loose 2 months worth of posts while doing it...) so its behind the schedual i had wanted for it.

Arrogant-One 08-12-2007 11:25 AM

Quote:

Originally Posted by Carnage- (Post 1309157)
The next thing i want to do once the ajax is working is get something to step moves back and forward to allow revieing games and also add some sort of support for timed games.

I would have thought that creating a pgn chess viewer, or moding this plug in, would be next on the agenda. pgn is short for portable game notation. It is the record of games that are already played. For instance,

1.) e4 e5
2.) Qf3 a6
3.) Bc4 b6
4.) Qxf7 checkmate

If one would type the following into a pgn chess viewer, it would create the game and you could run through the moves.

AO


All times are GMT. The time now is 04:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01655 seconds
  • Memory Usage 1,754KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete