Quote:
Originally Posted by penmai.com
Let me know which template i have to edit. i am using vb4.1.5.
|
Sorry I didn't get back to this earlier. Thanksgiving vacation, business, blah blah blah.....
I think this should do it -- Modify the ThreadNav Search plugin as follows:
PHP Code:
if(($vbulletin->options['TN_onoff'] AND $show['member']
AND $vbulletin->userinfo['tn_control'] != 0)
OR (!$show['member'] AND $vbulletin->options['TN_allow_guests']))
{
$threadbits = search();
if($numthreads > 0)
{
$templater = vB_Template::create('threadnav');
$templater->register('threadbits', $threadbits);
//$template_hook['showthread_above_posts'] .= $templater->render();
$templatevalues['threadnav'] = $templater->render();
vB_Template::preRegister('SHOWTHREAD', $templatevalues);
}
}
if($_REQUEST['do'] == search)
{
$threadbits = search();
die($threadbits);
}
Now place {vb:raw threadnav} wherever you wish in the navbar template. If the drop boxes don't show I'll have to find the appropriate division and edit in a z-index. See how it works.