Users or teams can 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:
General Features
All pages are XHTML valid
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
3 Tournament Modes: Last Man Standing, Single Elimination, Double Elimination and Round Robin
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
Require check-in before tournaments
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
Still no Notifications on a Challenge / Team Join Request?
One more try, I've added a Notification for Ladders. It will add 1 query per page and it isn't tested extensively but it works for now.
Add New Plugin
Product: Whatever
Hook: notification_list
Title: Whatever
Code:
PHP Code:
$challenges = $vbulletin->db->query_read("SELECT COUNT(*) AS challenges, games.*, games.u AS uid, games.u2 AS u2id, ladders.title AS ltitle, user.teamname AS u, user2.teamname AS u2 FROM vb_tmnt_ladder_games AS games LEFT JOIN vb_tmnt_ladders AS ladders ON (games.lid = ladders.id) LEFT JOIN vb_tmnt_teams AS user ON (games.u = user.teamid) LEFT JOIN vb_tmnt_teams AS user2 ON (games.u2 = user2.teamid) WHERE (games.u IN (1) OR games.u2 IN (1)) AND games.finished = 0 AND games.accepted != -1 AND games.pot = 1 AND user2.userid = ".$vbulletin->userinfo['userid'].""); $challenges = $vbulletin->db->fetch_array($challenges);
Still no Notifications on a Challenge / Team Join Request?
One more try, I've added a Notification for Ladders. It will add 1 query per page and it isn't tested extensively but it works for now.
Add New Plugin
Product: Whatever
Hook: notification_list
Title: Whatever
Code:
PHP Code:
$challenges = $vbulletin->db->query_read("SELECT COUNT(*) AS challenges, games.*, games.u AS uid, games.u2 AS u2id, ladders.title AS ltitle, user.teamname AS u, user2.teamname AS u2
FROM vb_tmnt_ladder_games AS games
LEFT JOIN vb_tmnt_ladders AS ladders
ON (games.lid = ladders.id)
LEFT JOIN vb_tmnt_teams AS user
ON (games.u = user.teamid)
LEFT JOIN vb_tmnt_teams AS user2
ON (games.u2 = user2.teamid)
WHERE (games.u IN (1) OR games.u2 IN (1))
AND games.finished = 0
AND games.accepted != -1
AND games.pot = 1
AND user2.userid = ".$vbulletin->userinfo['userid']."");
$challenges = $vbulletin->db->fetch_array($challenges);