View Full Version : Removing thread title from $navbar
LanciaStratos
11-17-2001, 12:17 AM
I want to take the thread title out of the navbar in showthread.php. But, of course, I took a look at the navbar template and soon found that wouldn't help me much... :) So, how can I do this?
Admin
11-17-2001, 05:47 AM
Find the makenav() function in functions.php, and comment out these lines:
if ($highlightlast) {
$templatename="nav_linkon";
} else {
$templatename="nav_linkoff";
}
if (strlen($code)>0) {
$code.=gettemplate("nav_joiner",0);
}
$threadinfo=getthreadinfo($id);
$nav_url="showthread.php?s=$session[sessionhash]&threadid=$id";
$nav_title=$threadinfo[title];
eval("\$code .= \"".gettemplate("$templatename")."\";");
this should do the trick.
LanciaStratos
11-17-2001, 01:57 PM
Perfect! Thanks FireFly! :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.