Chess for vbulletin.
This mod turns an existing forum into a forum for playing chess in. Members can then play games against each other as easilly as posting a new post in a regular forum.
NB: the beta version of this dosn't enforce the rules of chess so illegal moves are possible - this does have the advantage of allowing handicap matches and variations on standard chess rules.
beta
This mod is a beta mod, this means that i have all the functions working on my board however there may be unforseen problems and conflicts on different vb setups. I'm 95% confidant that there are no major isseus left in the core code, the only issues that may arrise are from the new ajax features. If this is a problem for you, you can disable the ajax features in the admin cp.
Demo
A live demo can be seen here:
Chess Board - GiveUpAlready.com
Screenshots
Coming soon
Version History
1.0.1b (beta): current version
- fixed a couple of misisng TABLE_PREFIX's
- fixed table spacing issue
1.0b (beta):
- forced quick reply to be enabled.
- added reset board link + javascript to reset the board without reloading.
- ajax posting of moves.
- board updates itself every 10 secs via ajax.
- added option to flip layout of board.
0.2b (beta):
- added some javascript to update piece replacments instantly.
- templates are now fully phrased.
0.1b (beta):
- added faq entries to product file
- (hopefully) improved compatablity with vbseo
- modified instal instructions to avoid potential javascript problems.
- changed version numbering scheme.
beta:
- re-exported product file to contain all the settings fields.
alpha:
- changed image paths to allow for customised images.
Known Issues
- Table sizes are inconsistant
- If min post length is greater than 7 moves wont post without a comment.
Compatability
This mod was written on vb 3.6.0 and has been tested on 3.6.7 compatablity with other versions is unknown. Reported working on 3.6.8
Instalation
Backup your Database
Upload images into your images directory.
new for v1.0b Upload Chess.php to your main forum directory.
Turn your board off.
Create a new forum, browse to it and make a note of its forum id.
Disable Html, bb code,smilies, code and post icons in this new forum
Import the chess product
In the vbulletin settings change the forumid to the new forum you created. You can also change the piece colour to better match your forums style.
(Optional) Create a link forum to point to the chess faq which explains how to play.
Turn your board back on
Click installed.
Upgrade from < 1.0b
Backup your Database
Upload Chess.php to your main forum directory.
Import the chess product (allow overwrite must be set to yes)
Check the new settings are set to your liking.
Upgrade from 1.0b
Import the chess product (allow overwrite must be set to yes)
Support
I don't check vborg very often but will answer support requests in here when i do. If you are in need of more urgant assistance contact me (Carnage) on my personal forums. (live demo link)
Liscense
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
You may modify this software to suit your own purposes but may only distribute said modifications within this thread and with my approval.
Credits
Images were modified from icon files downloaded from [url=http://www.enpassant.dk/chess/grafeng.htm]Chess Graphics[/url]
Checkers
Untill i get arround to coding and releasing a checkers game you can play checkers using this mod using the following instructions provided by one of my forum members:
Code:
(b8,b8)(d8,d8)(f8,f8)(h8,h8)(a7,a7)(c7,c7)(e7,e7)(g7,g7)(a1,a1)(c1,c1)(e1,e1)(g1,g1)(b2,b2)(d2,d2)(f2,f2)(h2,h2)(c8,bR)(e8,bR)(g8,bR)(b7,bR)(d7,bR)(f7,bR)(h7,bR)(a6,bR)(c6,bR)(e6,bR)(g6,bR)(b1,wR)(d1,wR)(f1,wR)(a2,wR)(c2,wR)(e2,wR)(g2,wR)(b3,wR)(d3,wR)(f3,wR)(h3,wR)Just copy the code when you are making the first post. Simple as that.
Notes:
1. When you jump a piece, you must also double-click on the piece that you jump to get rid of it. If you write out the code manually, just write the code twice. [ex: (f4,f4)]
2. To get a king piece, use the same code as you would to promote a pawn.
[ex: (a1,bK)]
3. If you double jump, please put in the full syntax and not just the finishing move. This will help your opponent see all the jumps that you made.
Custom Images
You can add image sets by uploading a gfx for each piece identified by its initial into a new directory within the /images/chess/ directory and then changing the image settings in the admincp.
If anyone has any custom image sets that they can legally distribute pm me a link and i'll link to them in this post.
Feature requests
- Leader board
- Other games (checkers, monopoly,risk, go)
Code:
[CODE](b8,b8)(d8,d8)(f8,f8)(h8,h8)(a7,a7)(c7,c7)(e7,e7)(g7,g7)(a1,a1)(c1,c1)(e1,e1)(g1,g1)(b2,b2)(d2,d2)(f2,f2)(h2,h2)(c8,bR)(e8,bR)(g8,bR)(b7,bR)(d7,bR)(f7,bR)(h7,bR)(a6,bR)(c6,bR)(e6,bR)(g6,bR)(b1,wR)(d1,wR)(f1,wR)(a2,wR)(c2,wR)(e2,wR)(g2,wR)(b3,wR)(d3,wR)(f3,wR)(h3,wR)[/CODE]
Just copy the code when you are making the first post. Simple as that.
Notes:
1. When you jump a piece, you must also double-click on the piece that you jump to get rid of it. If you write out the code manually, just write the code twice. [ex: (f4,f4)]
2. To get a king piece, use the same code as you would to promote a pawn.
[ex: (a1,bK)]
3. If you double jump, please put in the full syntax and not just the finishing move. This will help your opponent see all the jumps that you made.