Ladder Description:
Users or teams can also join ladders and challenge other players or teams in the ladder. Elo rating system is used which calculates the difficultly of a match according to the players' ranks and this is taken into account when the ranks are updated after the match is finished.
Feature List:
Tournament Features
Hall of Fame (Top 10 Tournament Players)
Permissions can be set per usergroup
(AdminCP -> Usergroups -> Usergroup Manager -> {Select Usergroup} -> Tournament Permissions)
Tournaments start automatically when no slots are left
Tournaments have proper Date/ Time converted to users timezone and DST
2 Tournament Modes: Last Man Standing and Single Elimination
Filter Tournaments Displayed according to Tournament Status
Tournament User Stats Page
'Start Tournament' for Single Elimination adds bye players and creates brackets
Tournament options
Turn on/off tournament
Create Thread on Tournament Creation
Tournament Stats in Member Profile
Tournament Stats in Postbit (Can be turned on/off in Tournament Options)
Comments per page
Tournament description length shown in tournament List
Tournament Display
LMS realtime ranking shows if players are equal positions
Tournament View Counter
Tournament creator and last edited by notes at bottom of tournament
separate page for accepting/rejecting challenges and submitting score (have to be accepted by other user)
Tournament Announcements
Tournament Moderators can create/edit announcements
Uses forum last visit for announcement read marking
Shows last user to edit announcement
Categories
Share categories for tournaments/ ladders
Category displays in navbar when viewing ladder/ tournament
Installation:
Follow instructions included in .zip
If you are using v3.6.x you will need to download this product file and import it
(It contains memberinfo css which is used in profile comments in v3.7.x and is in used in Tournaments Comments and Team Profiles)
Click Install
Future Features:
Add more Different Tournament Types (Double Elimination and Round Robin)
Allowing a player to only join one team per ladder
Use 3.7/3.8 notification system
My Teams page
Easy way to Re-arrange users in tournament
Limit number of challenges per week/day
Ladder match finder
Custom message included in challenge pm sent to user
Donations:
If you want to donate please click 'Support Developer'
Everything in installcode execs on product install and everything in uninstall execs on product uninstall
Code:
<code version="2.4.2.1">
<installcode><![CDATA[
$vbulletin->db->query_write("
CREATE TABLE IF NOT EXISTS `". TABLE_PREFIX ."tmnt_ladders` (
`id` int(11) NOT NULL auto_increment,
`title` varchar(50) NOT NULL,
`description` text NOT NULL,
`noplayers` int(3) NOT NULL,
`status` int(3) NOT NULL,
`cr_userid` int(10) NOT NULL,
`cr_username` varchar(100) NOT NULL,
`cr_time` int(10) NOT NULL,
`cr_ip` varchar(100) NOT NULL,
`ed_userid` int(10) NOT NULL,
`ed_username` varchar(100) NOT NULL,
`ed_time` int(10) NOT NULL,
`ed_ip` varchar(50) NOT NULL,
`threadid` int(10) NOT NULL,
`views` int(10) NOT NULL default '0',
`winpoints` int(10) NOT NULL default '2',
`drawpoints` int(10) NOT NULL default '1',
`losepoints` int(10) NOT NULL default '0',
PRIMARY KEY (`id`)
) TYPE=MyISAM");
$vbulletin->db->query_write("
CREATE TABLE IF NOT EXISTS `". TABLE_PREFIX ."tmnt_ladder_games` (
`id` int(11) NOT NULL auto_increment,
`u` int(10) NOT NULL,
`u2` int(10) NOT NULL,
`time` int(10) NOT NULL,
`accepted` int(10) NOT NULL,
`lid` int(11) NOT NULL,
`score_u` int(20) NOT NULL,
`score_u2` int(20) NOT NULL,
`agree_u` int(10) NOT NULL,
`agree_u2` int(10) NOT NULL,
`finished` int(10) NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM");
$vbulletin->db->query_write("
CREATE TABLE IF NOT EXISTS `". TABLE_PREFIX ."tmnt_ladder_players` (
`id` int(11) NOT NULL auto_increment,
`userid` int(10) NOT NULL,
`username` varchar(100) NOT NULL,
`lid` int(11) NOT NULL,
`time` int(10) NOT NULL,
`ip` varchar(100) NOT NULL,
`wins` int(10) NOT NULL,
`draws` int(10) NOT NULL,
`loses` int(10) NOT NULL,
`challenges` int(10) NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM");
]]></installcode><uninstallcode><![CDATA[
$vbulletin->db->query_write("
DROP TABLE IF EXISTS ". TABLE_PREFIX ."tmnt_ladders;
");
$vbulletin->db->query_write("
DROP TABLE IF EXISTS ". TABLE_PREFIX ."tmnt_ladder_games;
");
$vbulletin->db->query_write("
DROP TABLE IF EXISTS ". TABLE_PREFIX ."tmnt_ladder_players;
");
$vbulletin->db->query_write("ALTER TABLE ". TABLE_PREFIX ."usergroup DROP COLUMN ladderpermissions;");
]]></uninstallcode>
</code>
Database error in vBulletin 3.7.3:
Invalid SQL:
ALTER TABLE vbuser ADD tmnt_joins INT(10) NOT NULL DEFAULT '0' ;;
MySQL Error : Duplicate column name 'tmnt_joins'
Error Number : 1060
Database error in vBulletin 3.7.3:
Invalid SQL:
ALTER TABLE vbuser ADD tmnt_joins INT(10) NOT NULL DEFAULT '0' ;;
MySQL Error : Duplicate column name 'tmnt_joins'
Error Number : 1060
and thanks for reply
Re-import Attachment 88261 (this is modified version just for you) and then try installing product-tournament2008.xml
Database error in vBulletin 3.7.3:
Invalid SQL:
SELECT userid, id, time, title FROM vb_tmnt_announcements ORDER BY id DESC LIMIT 0, 2;
MySQL Error : Table 'xxx.vb_tmnt_announcements' doesn't exist
Error Number : 1146
Request Date : Saturday, October 18th 2008 @ 07:18:31 PM
Error Date : Saturday, October 18th 2008 @ 07:18:32 PM
Script : http://xxx/tournament.php
Referrer : xxx/
IP Address : xxx
Username : xxx
Classname : vB_Database
MySQL Version : 5.0.37-standard