vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Change Ads Position on Header (https://vborg.vbsupport.ru/showthread.php?t=231578)

gillaraz 12-28-2009 10:00 PM

Change Ads Position on Header
 
1 Attachment(s)
Some of you may feel like me that I don't want the ads appear under the logo. I need to put ads next to the logo but same line !!

Here is what I did very easy.

Step1
Go to header template

find
HTML Code:

{vb:raw ad_location.global_header1}
Copy and delete it.

Step2
Find

HTML Code:

{vb:raw vboptions.bbtitle}}" /></a>
and then Place this code below.
HTML Code:

<br><br>
<center>
{vb:raw ad_location.global_header1}
</center>

That's all. The Global Header1 Ads will appear on the next of your logo site.

Remark In this mod, I move only Global Header1 Ads. You can move Header2 too but need to arrange the position.

Hopefully, This help :D

I.am 12-29-2009 05:14 PM

Hello, and login, help, register and remember box??

fayax 12-30-2009 12:25 AM

umm...^ what he said. What happens to the login area?

gillaraz 12-30-2009 03:01 AM

Hello, Everything is working fine. Here is the full picture after this mod.

ScreenShot

Dr.osamA 12-30-2009 07:53 AM

thanxxx

installed
________
Sex Tub

meissenation 01-08-2010 12:17 AM

This works especially well if you edit the css file for #ad_global_header1 and change the div width to something smaller than 49% - otherwise your header1 will be put on a separate line if the window isn't wide enough.

ErnestA 02-14-2010 11:34 PM

Quote:

Originally Posted by meissenation (Post 1950030)
This works especially well if you edit the css file for #ad_global_header1 and change the div width to something smaller than 49% - otherwise your header1 will be put on a separate line if the window isn't wide enough.

How exactly do you edit the css file for ad_global_header1? Can you give steps please?

Thanks

Switch3130 02-16-2010 04:35 PM

Thanks for this.


All times are GMT. The time now is 05:02 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,726KB
  • 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_html_printable
  • (1)bbcode_quote_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