vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Need Help With Custom Header And Footer (https://vborg.vbsupport.ru/showthread.php?t=231232)

brianpauljaus 12-26-2009 03:24 PM

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.

Lynne 12-26-2009 03:46 PM

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)

brianpauljaus 12-26-2009 06:11 PM

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.

Lynne 12-26-2009 06:17 PM

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

brianpauljaus 12-26-2009 06:23 PM

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 ! :D

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

Lynne 12-26-2009 06:33 PM

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.

Charlie98902 12-26-2009 07:01 PM

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.

brianpauljaus 12-26-2009 07:33 PM

Quote:

Originally Posted by Charlie98902 (Post 1938847)
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 (Post 1938825)
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 ?

Lynne 12-26-2009 08:27 PM

Make sure you set the style for your CMS in the Section Manager (Home > hover over section title > click on Pencil > Style)

brianpauljaus 12-26-2009 08:41 PM

Quote:

Originally Posted by Lynne (Post 1938915)
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.


All times are GMT. The time now is 01:15 AM.

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.01082 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete