![]() |
Quote:
|
Quote:
|
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) Code:
global $vbulletin; //just globalize no need to test if it exists you don't gain anything |
It's not letting me add the files onto our server, any reason why?
|
Ok I got these messages:
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 |
Quote:
Try changing line 88 in /teams.php $actiontemplates['none'] =& array_merge($actiontemplates['teams'], $actiontemplates['viewteam']); To $actiontemplates['none'] = array_merge($actiontemplates['teams'], $actiontemplates['viewteam']); |
"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.
Plugin disabled until this is fixed.... |
Quote:
|
Hello,
Can anyone help me? When ever I view a tournament I get the following error: Warning: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in ..../includes/functions_tal.php on line 1168 php ver: 5.59 any help? |
Quote:
Original: Code:
$userhtml = preg_replace('|\{([a-zA-Z0-9_-]*)\}|e', ' $userinfo["$1"] ', $vbulletin->options['tmnt_userhtml']); Code:
$userhtml = preg_replace_callback('|\{([a-zA-Z0-9_-]*)\}', function($m){return $userinfo[$m[1]];}, $vbulletin->options['tmnt_userhtml']); |
All times are GMT. The time now is 08:32 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|