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
A bug in your code that prevents access to the member profile pages.
In the file includes/functions_tal.php you have the following code:
Code:
if (!in_array(THIS_SCRIPT, array('ladders', 'competitors', 'tournaments', 'teams')) && !$vbulletin)
{
global $vbulletin;
print_r("<!-- Non-standard page, trying global vbulletin variable -->\r\n");
}
if (!$vbulletin->options['tmnt_active'] && $vbulletin->userinfo['usergroupid'] != 6)
{
print_r("<!-- vBulletin Tournaments & Ladders disabled in AdminCP -->\r\n");
print_no_permission();
}
If the tournament mod isn't active then memberinfo.php is not accessible to non-admins. The code should be changed by having the second if statement nested inside the first, so the tournament mod active check only executes on tournament mod specific pages.
Code:
global $vbulletin; //just globalize no need to test if it exists you don't gain anything
if (in_array(THIS_SCRIPT, array('ladders', 'competitors', 'tournaments', 'teams')))
{
print_r("<!-- Non-standard page, trying global vbulletin variable -->\r\n");
if (!$vbulletin->options['tmnt_active'] && $vbulletin->userinfo['usergroupid'] != 6)
{
print_r("<!-- vBulletin Tournaments & Ladders disabled in AdminCP -->\r\n");
print_no_permission();
}
}
This way if you are on a tournament specific page and the tournament mod is disabled you won't be able to access it unless you are an admin. This also makes sure that the member profile page (since includes/functions_tal.php is included in the User Profile Tab (member_complete hook) plugin is accessible even if the tournament mod is inactive.
Strict Standards: Only variables should be assigned by reference in /public_html/forums/teams.php on line 88
Strict Standards: Only variables should be assigned by reference in /public_html/forums/tournaments.php on line 112
I am aware of the php 5.4/5.5 changes and already have these hidden with the aforementioned hiding code in the inlcude/config.php file. However these errors are still showing any help will be appreciated
Strict Standards: Only variables should be assigned by reference in /public_html/forums/teams.php on line 88
Strict Standards: Only variables should be assigned by reference in /public_html/forums/tournaments.php on line 112
I am aware of the php 5.4/5.5 changes and already have these hidden with the aforementioned hiding code in the inlcude/config.php file. However these errors are still showing any help will be appreciated
Not sure on the second error but the first one is fixed by this:
"Can view Tournaments" option on the usergroup, if set to "No" will lock the usergroup out from accessing any member.php (member profile) page including theirs.
"Can view Tournaments" option on the usergroup, if set to "No" will lock the usergroup out from accessing any member.php (member profile) page including theirs.