vBulletin Mods

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

Top Banner for VB 3.x by BOP5
by BirdOPrey5
31 Dec 2010 04:35

4 Attachment(s)
vBulletin 4.x users have a stylevar they can set to easily include a banner in the header that stretches the width of the window and is behind the logo. Now vBulletin 3.x users will have the same option.

This mod will let you specify a banner image to use in the header behind the logo and behind any banner ads you may have. See the screenshots for a better explanation.

In addition you can optionally specify 2 images, one to display during the "Daytime" and one at "Night" as determined by the user's local time zone settings in vBulletin.

In either case the banner auto-resizes to the width of the browser window. I find a banner approximately 1280 pixels wide looks decent in most browser resolutions. The height of the banner is manually set in the mod options.

Full instructions in the text file in the .zip file.

Tested With vBulletin 3.8.6 and should work with earlier versions.

Demo: http://www.juot.net/forums/

Please Mark as Installed if you use this. :)

Two images are included in the zip file, a "Brick Wall" demo banner image you can use to test the mod and a replacement for the default vBulletin 3 logo with a transparent background so if in the unlikely event you still used the default logo this one will work better- as shown in the screenshot with the default logo.

NOTICE: If you use a customized style the auto template edits made by this mod might fail. If that is the case you can manually edit the header template.

Find the first <table> tag in the header template. it will be close to but not exactly this:


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

Right before the closing > ADD the following code:


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

This will give you something like:


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

Remember to change yourbanner.jpg to your banner image, and change 120 to the height, in pixels of the banner image.

BirdOPrey5 31 Dec 2010 04:36

Reserved.

Manoel Júnior 31 Dec 2010 14:07

1 Attachment(s)
Very, very nice!!

Leveraging ... How do I make this menu in my forum?

Attachment 125062

BirdOPrey5 31 Dec 2010 15:39

The top row of images are just small graphics I added to the navbar menu via a template edit...

The original code for example for the calendar was:

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

And I changed it to:

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

I made the same edits for each of the navbar menu options... (FAQ, Community, Search, etc...)

The bottom bar is a bit more complicated, I'm not really sure I could explain it well enough so I never "released" it here but basically it's all an additional table in the navbar template... Since I had already designed individual status icons for each forum category on my forum I manually added the status icon for each forum as a link to each forum in this new table- each icon is in it's own table cell so it resizes correctly when the browser is resized.

Manoel Júnior 01 Jan 2011 11:18

Thanks Bird..

5 stars

Eduardo Leon 01 Jan 2011 18:48

yeah installed and tagged ^^ !

Nirjonadda 27 Dec 2012 21:59

Please can you update this mod? without manual template edit for work on 4.1.10

BirdOPrey5 29 Dec 2012 19:47

You don't need this mod for VB 4.1.10-

On VB 4.1.10 just use the stylevar header_background in the Stylevar Editor in Style Manager.

In the background URL include something like:


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


Nirjonadda 29 Dec 2012 20:28

Quote:

Originally Posted by BirdOPrey5 (Post 2393446)
You don't need this mod for VB 4.1.10-

On VB 4.1.10 just use the stylevar header_background in the Stylevar Editor in Style Manager.

In the background URL include something like:


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

That way not working ? I didnot see any background images.

matrex722 07 Jan 2013 17:17

nice work

BirdOPrey5 12 Jan 2013 14:17

Quote:

Originally Posted by Nirjonadda (Post 2393461)
That way not working ? I didnot see any background images.

Then it must be something wrong with a custom style because that is how it is supposed to work in VB4, indeed it is how I have the custom background on www.qapla.com/mods/

http://www.qapla.com/mods/images/misc/qtop_bk.jpg


All times are GMT. The time now is 03:55.

Powered by vBulletin® Version 3.8.12
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.