vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Help me in Adding Banner on the Header! (https://vborg.vbsupport.ru/showthread.php?t=190195)

sdfaheem 09-06-2008 06:09 PM

Help me in Adding Banner on the Header!
 
I am presently using the Kirsch theme in my forum www.webmasters.bz
How do i add a 468*60 banner in the header? I want to add the banner manually, don't wanna use any mods.
The header seems to use 2 images, one with the logo and another is plain.
Any help would be much appreciated!

Thank you in advance!

DieselMinded 09-06-2008 06:15 PM

Put your code in the header advertisement template

sdfaheem 09-06-2008 06:19 PM

Quote:

Originally Posted by DiesellMinded (Post 1616042)
Put your code in the header advertisement template

I am confused what and which code to apply.
Could you please help me after seeing the header file below:
Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" width="100%">
<tr>
        <td align="left"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
        <td align="right" width="100%"><img src="images/kirsch/misc/banner_02.jpg" height="152" width="100%" border="0" /></td>

<td align="$stylevar[right]"><if condition="$ad_headerLogo">$ad_headerLogo<else />&nbsp;</if>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open


DieselMinded 09-06-2008 06:26 PM

Not in the header templete , Add your banner code to the header advertisement template

What version of VB are you using?

sdfaheem 09-06-2008 06:34 PM

Quote:

Originally Posted by DiesellMinded (Post 1616054)
Not in the header templete , Add your banner code to the header advertisement template

What version of VB are you using?

ver 3.7.2

I tried adding the image code in ad_header_logo template but it didn't work.
The code i added is:
Code:

<a href="http://imageshack.us"><img src="http://img160.imageshack.us/img160/6208/webmasters4.gif" border="0" alt="Image Hosted by ImageShack.us"/></a>

Spank 09-06-2008 06:48 PM

what happens when you replace the following code in the header template with your own

Code:

<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>

sdfaheem 09-06-2008 06:54 PM

Quote:

Originally Posted by Spank (Post 1616068)
what happens when you replace the following code in the header template with your own

Code:

<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>

That's replacing the left side image with logo.

Spank 09-06-2008 07:00 PM

remove

Code:

<td align="right" width="100%"><img src="images/kirsch/misc/banner_02.jpg" height="152" width="100%" border="0" /></td>

sdfaheem 09-06-2008 07:02 PM

Quote:

Originally Posted by Spank (Post 1616076)
remove

Code:

<td align="right" width="100%"><img src="images/kirsch/misc/banner_02.jpg" height="152" width="100%" border="0" /></td>

Removing the above code will also remove the right side image completely. I want the banner to come on top of this image.

Spank 09-06-2008 07:07 PM

Oh sorry ^_^

before:
Code:

<tr>
        <td align="left"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

add:
Code:

<tr><td><a href="http://imageshack.us"><img src="http://img160.imageshack.us/img160/6208/webmasters4.gif" border="0" alt="Image Hosted by ImageShack.us"/></a></td></tr>


All times are GMT. The time now is 05:35 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.01132 seconds
  • Memory Usage 1,738KB
  • 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
  • (8)bbcode_code_printable
  • (4)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