vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=43157

Remove thread title in navbits if you have large thread title installed
by VietSoil
04 Sep 2002 05:49

1 Attachment(s)
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Replace that with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You're done!

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

Boofo 04 Sep 2002 06:38

But you still have the arrow at the end of the navbar. To get rid of that also, do this instead:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


VietSoil 04 Sep 2002 07:08

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.

Boofo 04 Sep 2002 07:12

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. :)

traekwon 04 Sep 2002 22:21

Awesome, works perfectly.

bitbender 04 Sep 2002 22:36

Thanki, thanki...Also perfecto mundo, on my 2.2.6 !

Austin Dea 05 Sep 2002 01:21

Used Boofo's, good work ;D.

FleaBag 05 Sep 2002 03:35

Cool hack - working on 2.2.7. Cheers. :D

TECK 14 Sep 2002 12:59

i think the best way is to use the strlen() to limit the lenght.
for example...
in functions.php, replace:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

now all you have to do is change the the values 25 and 23 to whatever you like your title to be in lenght. value 25 represents the total title lenght and 23 represents the total title lenght - 2 characters, because you add the "..." dots at the end.

Boofo 14 Sep 2002 14:29

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:

Originally posted by TECK
i think the best way is to use the strlen() to limit the lenght.
for example...
in functions.php, replace:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

now all you have to do is change the the values 25 and 23 to whatever you like your title to be in lenght. value 25 represents the total title lenght and 23 represents the total title lenght - 2 characters, because you add the "..." dots at the end.


blackice912 14 Sep 2002 14:34

Ah, very nice little hack

/me installs

TECK 14 Sep 2002 14:56

Quote:

Originally posted by Boofo
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.


it make alot of sense. you are right. :)

FleaBag 29 Oct 2002 22:54

Installed on 2.2.8. :D

Chris M 30 Oct 2002 00:11

Gamer:mad: - http://www.vbulletin.org/forum/showt...&postid=316171

Satan

FleaBag 30 Oct 2002 00:25

Oh what a surprise the same spammed link from Satan once more. Could he have no PM'd it to me? Nah, that'd take common sense!


All times are GMT. The time now is 07:01.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.