Quote:
Originally Posted by Boofo
Try commenting out the $result line at the bottom. I don't know if that will work in that hook.
|
I don't really know what did u expect but of course this code with $result = commented, do nothing :
Code:
global $show;
if ($show['member'] == TRUE)
{
$userid = vB::$vbulletin->userinfo['userid'];
$lien_messujets = array(
'name' => 'rescue_messujets',
'navtype' => 'link',
'url' => '{options.toppath}search.php?do=finduser&userid='.$userid.'&starteronly=1&contenttype=vBForum_Thread',
'active' => 1,
'productid' => 'rescue',
'text' => 'Mes sujets',
);
//$result['vbtab_forum']['links']['vbmenu_qlinks']['links']['rescue_messujets'] = $lien_messujets;
unset($userid);
}
(tested in build_navigation_array and navigation_tab_complete, with and without the comment)