Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
Fluid 3 part header Details »»
Fluid 3 part header
Version: 1.01, by Beermonster Beermonster is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.0.0 Rating:
Released: 11-17-2009 Last Update: Never Installs: 68
Supported Template Edits
 

Not a difficult thing to do but I thought I would post it any way as some people seem to having trouble with getting their header image to have an align image right as you can't do it in stylevar.

This is fluid all you need to do is make 3 images, I named mine left, right and background (See attachment), you can be more creative


In your header template find
Code:
<div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div>
Replace with
Code:
<div id="headerFill"><div id="headerL"></div><div id="headerR"></div></div>
Add to vbulletin.css template
Code:
#headerFill{
background-image: url(images/headerFill.jpg);
background-repeat: repeat-x;
height: 119px;
width: 100%;
margin-right: auto;
margin-left: auto;
}
#headerL{
background-image: url(images/headerL.jpg);
height: 119px;
background-repeat: no-repeat;
width: 348px;
float: left;

}
#headerR {
background-image: url(images/headerR.jpg);
background-repeat: no-repeat;
height: 119px;
width: 332px;
float: right;

}
Change sizes and paths in red to suit your own

Thanks to hoof for the CSS update.

Mark as installed for support

Screenshots

File Type: jpg pics_1.jpg (39.2 KB, 0 views)
File Type: jpg pic_2.jpg (50.9 KB, 0 views)
File Type: jpg sample.jpg (18.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
eTiKeT?

Comments
  #72  
Old 09-23-2010, 10:46 PM
joeman joeman is offline
 
Join Date: May 2010
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A friend and I have a forum using vb 4.0.6 and we are trying to do this mod on our header however the color of the header is off for some reason. Pictures are sized the same and opacity is equal for all 3 images, however the middle image is very dark and we can't figure out why.

I changed the header to one solid color just to make sure the image we were using before didnt have a problem. I included a screen shot so you can see what I mean.

Center image original file size is 2px wide.

Any advice on what to do?






Heres the code we are using:

#headerFill{
background-image: url(images/headercenter.png);
background-repeat: repeat-x;
height: 145px;
width: 100%;
margin-right: auto;
margin-left: auto;
}
#headerL{
background-image: url(images/headerleft.png);
height: 145px;
background-repeat: no-repeat;
width: 800px;
float: left;

}
#headerR {
background-image: url(images/headerright.png);
background-repeat: no-repeat;
height: 145px;
width: 200px;
float: right;

}

We also put this code in place of the header code:

<div id="headerFill"><div id="headerL"></div><div id="headerR"></div></div>
Reply With Quote
  #73  
Old 09-27-2010, 04:23 AM
joeman joeman is offline
 
Join Date: May 2010
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone have a suggestion on how to fix this?

Thanks
Reply With Quote
  #74  
Old 09-27-2010, 10:13 PM
mattyphatty mattyphatty is offline
 
Join Date: Feb 2010
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same problem, anyone know what the problem might be?
Reply With Quote
  #75  
Old 10-04-2010, 09:34 PM
joeman joeman is offline
 
Join Date: May 2010
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mattyphatty View Post
I have the same problem, anyone know what the problem might be?

I guess it looks like I'm not the only one having this issue.

I still didn't hear from anybody on a fix for this yet. Did you ever solve your problem with this?
Reply With Quote
  #76  
Old 10-06-2010, 09:54 PM
mattyphatty mattyphatty is offline
 
Join Date: Feb 2010
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joeman View Post
A friend and I have a forum using vb 4.0.6 and we are trying to do this mod on our header however the color of the header is off for some reason. Pictures are sized the same and opacity is equal for all 3 images, however the middle image is very dark and we can't figure out why.

I changed the header to one solid color just to make sure the image we were using before didnt have a problem. I included a screen shot so you can see what I mean.

Center image original file size is 2px wide.

Any advice on what to do?






Heres the code we are using:

#headerFill{
background-image: url(images/headercenter.png);
background-repeat: repeat-x;
height: 145px;
width: 100%;
margin-right: auto;
margin-left: auto;
}
#headerL{
background-image: url(images/headerleft.png);
height: 145px;
background-repeat: no-repeat;
width: 800px;
float: left;

}
#headerR {
background-image: url(images/headerright.png);
background-repeat: no-repeat;
height: 145px;
width: 200px;
float: right;

}

We also put this code in place of the header code:

<div id="headerFill"><div id="headerL"></div><div id="headerR"></div></div>
Mine is doing this same thing. VB 4.0.6
Reply With Quote
  #77  
Old 10-14-2010, 04:24 PM
joeman joeman is offline
 
Join Date: May 2010
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have any of you that have done this mod had success with getting it work properly?

If so can you post a link of this working on your site.

Any of you that have suggestions what is wrong with the code above to create that darker area for the moving part of the header please chime in and help out if you can.

It would be GREATLY appreciated to get ANY suggestions from ANYONE here at vbulletin.org.
Reply With Quote
  #78  
Old 10-27-2010, 08:19 AM
jeffcoast jeffcoast is offline
 
Join Date: May 2010
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used some of this to add a right image to the site I help out with, but am having an issue I need some help with.

We want the right image to go under the left image if the page size isn't wide enough to not have the images overlap. But no matter what I tried, it wouldn't work right. The right is always on top.

http://www.amusementinsider.com/foru...php?styleid=17

Code:
<div style="position: absolute; top: 0px; right: 0px; padding: 2px; overflow: hidden; width: 1556px;" class="panelsurround">
<a href="http://www.amusementinsider.com" target="_blank">  <img src="images/tztot/towerghosts.gif"  width="1556" height="115"alt="Ghosts" border="0" title="Spooky!"></a></div>
That code is just added to the regular header template, along with the default code.
Reply With Quote
  #79  
Old 10-29-2010, 07:22 AM
Internetcafe Internetcafe is offline
 
Join Date: May 2008
Location: London
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joeman View Post
Have any of you that have done this mod had success with getting it work properly?

If so can you post a link of this working on your site.
Working well on 4.0.8 .. DeereTalk
Reply With Quote
  #80  
Old 11-05-2010, 08:01 PM
orangefive orangefive is offline
 
Join Date: Nov 2009
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ive made it so that it only uses the left one, tried the others but didnt work. How do I make the image display the Website name on hover and if clicked on it goes to forum.php?

http://www.thewoollybacks.co.uk is the site. Thanks
Reply With Quote
  #81  
Old 11-11-2010, 10:18 AM
Baf_Jams Baf_Jams is offline
 
Join Date: Mar 2008
Location: Derby UK
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry to be a complete noob but i cant find vbulletin.css to add the above txt ?

I done everything else but after 2 hrs scratching around the admin cp cant find it ?
been in style manager edit templates

just when i expand vbulletin cms templates theres a list as long as your arm ?
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 02:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07815 seconds
  • Memory Usage 2,337KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete