vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   [HowTo] [3.0.3] Center your logo in the header (https://vborg.vbsupport.ru/showthread.php?t=90109)

Floris 11-23-2004 10:00 PM

[HowTo] [3.0.3] Center your logo in the header
 
[HowTo] [3.0.3] Center your logo in the header

Description: This small template modification will show you how to modify the default header template to get your logo or banner centered in the header on top of your forum.

Installation Instructions:

* Go to the Admin Control Panel and login as an Administrator with permission to modify the styles & templates.

* Go to the (and expand if collapsed) the group "Styles & Templates"

* Click on "Style Manager"

* From the page on the right that loads click on the [<< >>] button behind the style you want to modify to expand the group and show all the templates.

* Select the "header" template and click on the [Customize] button to open it.

* Find this code:
HTML Code:

<td align="$stylevar[left]"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
&nbsp;
<!--
NEW HEADER &amp; NAVBAR
 
Now that the nav buttons are in the
navbar template, you can stick whatever
you like into this space.
This makes it much easier for novice
admins to customize their header
template without affecting important
navigation elements.
-->

</td>

* And replace it with this code:
HTML Code:

<td align="center"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
* Save the "header" template and you are done.

Hornstar 08-18-2005 08:57 PM

Thanks, this worked, about time someone explained it simply, instead of jut refering ppl

laborer75 09-13-2005 04:29 AM

Very helpful for newbies like me :D Thanx

DrewzR/T 09-14-2005 10:34 PM

Thanks and yeah Im a newb lol!!

Chris583 05-04-2008 05:48 AM

thank you!

PenPusher1000 05-12-2008 12:11 AM

Working with 3.7.0?

Thanks!

Jase2 05-12-2008 03:56 PM

Try it. Although I can't see why it shouldn't work....


All times are GMT. The time now is 10:08 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.01042 seconds
  • Memory Usage 1,723KB
  • 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
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete