The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Forum Tournaments & Ladders Details »» | |||||||||||||||||||||||||||||||||||||||||||||
Tournament Description: Users or teams can join tournaments. Once full the tournament starts. In single elimination tournaments competitors progress through rounds of tournament with the number of rounds depending on the number of players in tournament which is set on tournament creation. Last Man Standing Tournaments also supported. [Screenshot of Single Elimination Tournament (Slightly outdated)] 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:
Download Now
Screenshots
Show Your Support
|
Comments |
#822
|
||||
|
||||
ALTER TABLE vb_tmnt_ladder_players ADD rank INT(10) UNSIGNED DEFAULT '1000' NOT NULL ;;
Quote:
|
#823
|
|||
|
|||
Are you new install or upgrade?
|
#824
|
|||
|
|||
i got this error
Code:
Database error in vBulletin 3.7.3: Invalid SQL: INSERT INTO `vbtmnt_rules` (`id`, `rules`) VALUES (1, 'Your Rules Here'); MySQL Error : Duplicate entry '1' for key 1 Error Number : 1062 Code:
Database error in vBulletin 3.7.3: Invalid SQL: ALTER TABLE vbusergroup DROP COLUMN tournamentpermissions;; MySQL Error : Can't DROP 'tournamentpermissions'; check that column/key exists Error Number : 1091 |
#825
|
||||
|
||||
I had a install...Run the errorfix checked DB removed tables then run install..
|
#826
|
|||
|
|||
Any errors in error-fix.xml doesnt matter.
Find and delete following code from product-tournament2008.xml then re-import. Code:
$vbulletin->db->query_write(" INSERT INTO `". TABLE_PREFIX ."tmnt_rules` (`id`, `rules`) VALUES (1, 'Your Rules Here')"); |
#827
|
||||
|
||||
There is a DROP TABLE IF EXISTS ". TABLE_PREFIX ."tmnt_ladder_players; after it creates it in the xml...
|
#828
|
|||
|
|||
Quote:
PHP Code:
|
#829
|
|||
|
|||
it is enclosed in <uninstallcode> tags so it only execs the query on uninstall of product.
|
#830
|
||||
|
||||
From product-tournament2008.xml
Line 236: $vbulletin->db->query_write(" CREATE TABLE IF NOT EXISTS `". TABLE_PREFIX ."tmnt_ladder_players` ( LINE 256: $vbulletin->db->query_write(" DROP TABLE IF EXISTS ". TABLE_PREFIX ."tmnt_ladder_players; "); |
#831
|
|||
|
|||
Quote:
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> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|