![]() |
Remove thread title in navbits if you have large thread title installed
Large thread title template mod is here
If you have that template mod installed, you might want to use this hack. This is the simplest hack ever! (I guess) :cool:. What it does: it will remove the thread title in the navbits so you won't have 2 thread titles displayed. Make sense! OK, to the code modification: In admin/functions.php, find: PHP Code:
Replace that with: PHP Code:
I'm sure there are other ways to do this, but this is the simplest way, I believe. Screenshot: see the attachment Edit: This would work with all 2.2.x as well |
But you still have the arrow at the end of the navbar. To get rid of that also, do this instead:
Code:
========================== |
Thanks Boofo for the code to remove the arrow at the end of the navbar. I haven't tested it though. By the way, I still prefer the little arrow at the end so it will point to the big thread title below. That's my opinion. If you don't like the arrow at the end of navbar, use Boofo's instruction instead of mine.
|
I used to have it with the arrow still there and it just didn't look quite right to me so that is why I removed it. I wish you had been around with this code about 2 weeks ago when I spent an all nighter trying to figure out what to remove and what to keep in the code that wouldn't screw anything else up. :)
|
Awesome, works perfectly.
|
Thanki, thanki...Also perfecto mundo, on my 2.2.6 !
|
Used Boofo's, good work ;D.
|
Cool hack - working on 2.2.7. Cheers. :D
|
i think the best way is to use the strlen() to limit the lenght.
for example... in functions.php, replace: Code:
$nav_title=$threadinfo[title]; Code:
$nav_title=$threadinfo[title]; |
That's only if you still want it there. I removed it because I have the thread title in big letters at the top (like it is here) so you don't need it in the navbar. It's kind of redundant to have it in both places.
Quote:
|
All times are GMT. The time now is 07:33 AM. |
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:
|