vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Insert Banner into Forum Header (https://vborg.vbsupport.ru/showthread.php?t=213176)

Q999 05-08-2009 03:53 PM

Insert Banner into Forum Header
 
hi all

Please help me with Insert Banner into Forum Header , I want it in the top, center of the fourm

<!-- logo -->
<a name="top"></a>

<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]

<else />&nbsp;</if>
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

thanks

abbasbsp 05-08-2009 04:09 PM

you look adminCP >> Style Manager >> choose styleVars >> see link at "Image Paths", look folder "Title Image" images default is "images/misc/vbulletin3_logo_white.gif" then upload new images via cpanel host then replace name new images to "vbulletin3_logo_white.gif"

JamesC70 05-08-2009 04:15 PM

ichal_spy's method may cause a vBulletin upgrade to overwrite the custom logo.

I prefer to upload my own logos under names like bb_logo_theme.png, where bb is the board name and theme is the name of the theme.

Then, edit the particular theme(s) in Style Manager (see ichal_spy's post above for path), replacing "vbulletin3_logo_white.gif" with the path and name of my new logo.

vBulletin's upgrade scripts don't change settings in this area. ;)

Q999 05-08-2009 04:57 PM

thank 4 your quick respond

I want to ansert advertsment banner
<script type='text/javascript' src='http://affiliate.pass4sure.com/ads.php?i=476&d=&t=20'></script><noscript><a href='http://www.pass4sure.com/'> Pass4sure</a></noscript>

please how

abbasbsp 05-09-2009 03:19 AM

find to haeder
PHP Code:

<table border="0" width="$stylevar[outertablewidth]cellpadding="0" cellspacing="0" align="center">
<
tr>
<
td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]border="0" alt="$vboptions[bbtitle]/></a></td>
<
td align="$stylevar[right]id="header_right_cell">
<if 
condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]



<else />&
nbsp;</if>
</
td>
</
tr>
</
table

replace :

PHP Code:

<td align="left"><a href=""><img src="images/misc/vbulletin3_logo_white.gif" border="0" alt="RepairPonsel Forum" /></a></td
<
td align="right" id="header_right_cell"
<
script type='text/javascript' src='http://affiliate.pass4sure.com/ads.php?i=476&d=&t=20'></script>
<
noscript><a href='http://www.pass4sure.com/'Pass4sure</a></noscript


Q999 05-09-2009 02:49 PM

thanks it's work with me

but please how I put it in the center of the top fourm

thanks

abbasbsp 05-09-2009 07:32 PM

this may be you mean :

PHP Code:

<center><td align="left">
               <
table border="1" width="50%" cellpadding="0" cellspacing="0" align="center">
                    <
tr>
                           <
td align="left"><a href="http://forum-repairponsel.com/vbb/"><img src="images/misc/vbulletin3_logo_white.gif" border="0" alt="RepairPonsel Forum" /></a></td>
                           <
td align="left"><script type='text/javascript' src='http://affiliate.pass4sure.com/ads.php?i=476&d=&t=20'></script>
<
noscript><a href='http://www.pass4sure.com/'Pass4sure</a></noscript></td>                 
                    </
tr>
               </
table>
        </
td>
</
center

please copy paste at haeder ....

Q999 05-10-2009 07:41 AM

thanks alot that works with me


All times are GMT. The time now is 06:04 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.01084 seconds
  • Memory Usage 1,748KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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