Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Remove thread title in navbits if you have large thread title installed Details »
Remove thread title in navbits if you have large thread title installed
Mod Version: 1.00, by VietSoil (Member) VietSoil is offline
Developer Last Online: Jan 2004 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 3
Released: 04 Sep 2002 Last Update: Never Downloads: 0
Not Supported  

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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	vs-screenshot.gif
Views:	174
Size:	48.3 KB
ID:	7448  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 04 Sep 2002, 05:38
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
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.

Reply With Quote
  #3  
Old 04 Sep 2002, 06:08
VietSoil VietSoil is offline
 
Join Date: Apr 2002
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.
Reply With Quote
  #4  
Old 04 Sep 2002, 06:12
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
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.
Reply With Quote
  #5  
Old 04 Sep 2002, 21:21
traekwon traekwon is offline
 
Join Date: Mar 2002
Awesome, works perfectly.
Reply With Quote
  #6  
Old 04 Sep 2002, 21:36
bitbender's Avatar
bitbender bitbender is offline
 
Join Date: Jan 2002
Real name: Philip
Thanki, thanki...Also perfecto mundo, on my 2.2.6 !
__________________

www.bitbenderforums.com Vb 4.1.3
www.jamgoodbluegrass.com vb 4.1.10
Reply With Quote
  #7  
Old 05 Sep 2002, 00:21
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Real name: Austin ;)
Used Boofo's, good work ;D.
Reply With Quote
  #8  
Old 05 Sep 2002, 02:35
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Cool hack - working on 2.2.7. Cheers.
__________________
AndroidETC.com :: Android, and other stuff.
Reply With Quote
  #9  
Old 14 Sep 2002, 11:59
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
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.
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog
Reply With Quote
  #10  
Old 14 Sep 2002, 13:29
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
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.

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.
Reply With Quote
  #11  
Old 14 Sep 2002, 13:34
blackice912's Avatar
blackice912 blackice912 is offline
 
Join Date: Jun 2002
Real name: Brad
Ah, very nice little hack

/me installs
Reply With Quote
  #12  
Old 14 Sep 2002, 13:56
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
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.
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog
Reply With Quote
  #13  
Old 29 Oct 2002, 21:54
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Installed on 2.2.8.
__________________
AndroidETC.com :: Android, and other stuff.
Reply With Quote
  #14  
Old 29 Oct 2002, 23:11
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Gamer - http://www.vbulletin.org/forum/showt...&postid=316171

Satan
Reply With Quote
  #15  
Old 29 Oct 2002, 23:25
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
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!
__________________
AndroidETC.com :: Android, and other stuff.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:28.

Layout Options | Width: Wide Color: