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.