Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-26-2009, 03:24 PM
brianpauljaus brianpauljaus is offline
 
Join Date: Dec 2009
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Need Help With Custom Header And Footer

I am new to Vbulletin and this product is not simple for beginners. I wish to have a custom header and footer for my site:

http://www.immae.tv/crp

I have created html/css files for both the header and the footer as shown here

http://www.immae.tv/crp/test/header
http://www.immae.tv/crp/test/footer

A link to a zip of the files is here......

http://www.immae.tv/crp/test/header_...oter_files.zip

Is this as simple as going to the Template Editor and editing the header and footer files ? Do I delete all code there or is some of it necessary to keep ? Where do I put the style sheets so I can reference them ? Any help would be appreciated.
Reply With Quote
  #2  
Old 12-26-2009, 03:46 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Read Don's blog entries and download the StyleVar Dictionary and the Skinning guide: vB4: Skinning Your Forum in 10 Easy Steps and StyleVar Visual Dictionary for Forum, Blog, and CMS (PDF Documents)
Reply With Quote
  #3  
Old 12-26-2009, 06:11 PM
brianpauljaus brianpauljaus is offline
 
Join Date: Dec 2009
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne,

How cool I have been reading your posts for a day now as I have been doing my research. So glad a heavy like you responded.

Ok I will read those things, but is it really that complex to change the header ? I bought this product to make it easier and abstract me from raw programming and just to change a navbar menu button takes serious editing and knowledge of the product.

If I have more questions after reading I will respond back on this thread. Thanks for the help.
Reply With Quote
  #4  
Old 12-26-2009, 06:17 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, it's not that complex to change the header. But, Don has outlined all these things in his blog, so there is no reason for me to just repeat what he has already written (which is more detailed than what I would write).
Reply With Quote
  #5  
Old 12-26-2009, 06:23 PM
brianpauljaus brianpauljaus is offline
 
Join Date: Dec 2009
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne,

I am not out of the woods yet. I am a speed reader and I read both papers already. They did not answer my question... but I am a rookie and maybe I am trying to do something that should be done to begin with. Here is then where I need the help of a pro.

The 10 step guide is mis leading. It does not show you how to change the header file or header code. It shows you how to swap the background image use the stylevar editor. I am trying to do something different. I wish to replace the whole header block with my custom code.

Is it unatural or a bad idea to do this ? My code has my own css, my own layout.. etc. You can see in the links above. So changing the stylevar doc_background is not enough for me. So is it easier to take this route and accept the limitations or can I actually use a custom header and footer ? Thanks Lynne, you rock !

--------------- Added [DATE]1261859060[/DATE] at [TIME]1261859060[/TIME] ---------------

Forgive my ignorance. Who is Don and how to I get to his blog ? Do you have a link ?

Sorry I know I am a total newb but I learn quickly ! :-)
Reply With Quote
  #6  
Old 12-26-2009, 06:33 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don is the vB Product lead - http://www.vbulletin.com/forum/membe...4-Don-Kuramura He's written a bunch of articles on the CMS and on styling.

As for your method of doing it, I have no idea if it's a good idea or not. I find it easier to use the default way of doing it, but I suppose if you want to do it your way, then you may. You'll probably have to edit the header template though. And then add your css either at the bottom of the vbulletin.css file or using some other method to add css.
Reply With Quote
  #7  
Old 12-26-2009, 07:01 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is your header fluid or contains 3 parts to make it? If so I have a CSS code you can use well some else made it and it works.
Reply With Quote
  #8  
Old 12-26-2009, 07:33 PM
brianpauljaus brianpauljaus is offline
 
Join Date: Dec 2009
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Charlie98902 View Post
Is your header fluid or contains 3 parts to make it? If so I have a CSS code you can use well some else made it and it works.
Actually after reading the papers and looking at the tools avaible I am going to follow them. It is only slight less as robust as what I wanted and way way less work. That is the main reason I bought this is to make things easier. The Skin whitepaper is really good, and since it is only 16 pages but so valuable I recommend they embed it in the admin console so you dont have to reference. THAT would be awesome.

--------------- Added [DATE]1261863370[/DATE] at [TIME]1261863370[/TIME] ---------------

Quote:
Originally Posted by Lynne View Post
Don is the vB Product lead - http://www.vbulletin.com/forum/membe...4-Don-Kuramura He's written a bunch of articles on the CMS and on styling.

As for your method of doing it, I have no idea if it's a good idea or not. I find it easier to use the default way of doing it, but I suppose if you want to do it your way, then you may. You'll probably have to edit the header template though. And then add your css either at the bottom of the vbulletin.css file or using some other method to add css.

I decided to follow the white paper on skin creation. Between that and the stylevar dictionary I am good to go. Lot less work then trying to do custom stuff. The custom stuff is not hard in itself, but tweaking such a complex platform to insert it is not worth it.

Quick question, I have the full 4.0 CMS publishing suite. In the admin console there is only one section for styles... but when I follow the white paper it only affects forums and blogs. Is there a seprate place to do the CMS layout as well ?
Reply With Quote
  #9  
Old 12-26-2009, 08:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure you set the style for your CMS in the Section Manager (Home > hover over section title > click on Pencil > Style)
Reply With Quote
  #10  
Old 12-26-2009, 08:41 PM
brianpauljaus brianpauljaus is offline
 
Join Date: Dec 2009
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Make sure you set the style for your CMS in the Section Manager (Home > hover over section title > click on Pencil > Style)
Ok I did that but nothing happened. I went to Section manager within the CMS Admin panel. I went to that section and picked pencil then I got a white box with all the sections and asked me to pick one but nothing happens when I click on the links. I would be happy to PM you the login so you can see. We are still in development and it is not a live system.
Reply With Quote
Reply


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 05:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04307 seconds
  • Memory Usage 2,257KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete