Elber
11-01-2010, 09:26 AM
Hi, i install this mod "Change Display Order for Show Groups (Forum Leaders) (https://vborg.vbsupport.ru/showthread.php?t=187300)" mod for vb 3.7 in my vb 4.0.7 and i have warning...
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: showgroups_moderators in [path]/includes/functions.php on line 4007
This problem affects line 119-124:
if ($vbulletin->options['forumleaders'] == 1)
{
eval('$usergroups.= "' . fetch_template('showgroups_moderators') . '";');
// don't use the moderatorbits part in SHOWGROUPS
$moderatorbits = '';
}
How to fix this ?
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: showgroups_moderators in [path]/includes/functions.php on line 4007
This problem affects line 119-124:
if ($vbulletin->options['forumleaders'] == 1)
{
eval('$usergroups.= "' . fetch_template('showgroups_moderators') . '";');
// don't use the moderatorbits part in SHOWGROUPS
$moderatorbits = '';
}
How to fix this ?