Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBulletin Wallpaper AD - v2.0 Details »»
vBulletin Wallpaper AD - v2.0
Version: 2.0, by StarBuG StarBuG is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.x Rating:
Released: 04-08-2010 Last Update: Never Installs: 8
Template Edits
 
No support by the author.

Hello

This modification adds a so called Wallpaper AD to your forum.
A Wallpaper AD consists of a Leaderboard Banner (728x90px) and a Skyscraper Banner (160x600px) combined into one AD.

vBulletin Wallpaper AD v2.0 was elusively released on AdSenseExperts.com

vBulletin Wallpaper AD v2.0 is a complete code rewrite and
can now be used on a fluid or a fixed width style.

Don't forget to mark as INSTALLED if you use this!

Ok here it goes:

vBulletin Wallpaper Ad v1.01

I have a forum with a fixed width of 1024px that is centered so this modification
is for this kind of setting. I don't know if it will work on non centered forums or
forums with a fluid style. (if you use a fluid style use vBulletin Wallpaper AD v2.0)

in template header find:

Code:
<div class="above_body"> <!-- closing tag is in template navbar -->
add BEFORE:

Code:
<div class="ads_lb_wp_wrapper">
 <div class="ads_lb_wp">
   LEADERBOARD BANNER CODE HERE 728x90px
 </div>
</div>
<div class="ads_ss_wp_wrapper">
 <div class="ads_ss_wp">
  SKYSCRAPER BANNER CODE HERE 160x600px
 </div>
</div>
in template additional.css add:

Code:
/*------------------------------------------------------------------------------
| #> Wallpaper Advertisment
+-----------------------------------------------------------------------------*/
.ads_lb_wp_wrapper {
        position: relative; 
        width: 1024px;
        height: 95px;
        top: 0px;
}

.ads_lb_wp {
        width: 728px;
        height: 90px;
        margin-left:301px;
        top: 0px;
}

.ads_ss_wp_wrapper {
        position: absolute; 
        width: 1189px;
        height: 600px;
        top: 0px;
}

.ads_ss_wp {
        width: 160px;
        height: 600px;
        margin-right:0px;
        margin-left:1029px;
}
Like I said, my forum has a fixed width of 1024px.
I have positioned the wallpaper with a 5px space to my forum (see screenshot)

You need to change the CSS Settings according to your Forum width:

.ads_lb_wp_wrapper : 1024px <- Forum width

.ads_lb_wp : 301px <- Forum width + 5px (Space) - 728px (width of the Leaderboard)

.ads_ss_wp_wrapper : 1189px <- Forum width + 5px (Space) + 160px (width of the Skyscraper)

.ads_ss_wp : 1029px <- Forum width + 5px (Space)

It then looks like this:



Feedback and optimisation suggestions are very welcome!

If you installed v1.0 remove the four "z-index:xxx;" lines in your additional css entries for the wallpaper ad.
It works without them but with them you can't click buttons in your header!


Version History:
v1.01: Bug fix in CSS definitions that made it impossible to click on buttons in the header.
v1.0: initial release


Greetings

StarBuG



Google isn't paying you enough money! Discover WHY!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-14-2010, 11:39 AM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBulletin Wallpaper AD v2.0 was elusively released on AdSenseExperts.com

vBulletin Wallpaper AD v2.0 is a complete code rewrite!

The beauty of the v2.0 placement in combination with an Ad Server is, that the space
used by the leaderboard at the top of the forum is only filled when an AD is present.
If you don't deliver a Wallpaper then your forum starts at the beginning of the page.
By utilizing an Ad Server you can also use frequency capping which is very often
requested by Advertisers buying Wallpaper Ads because of the high CPM that come
with Wallpapers. Wallpaper prices are very often in the two digit CPM range.

The vBulletin Wallpaper AD v2.0 mod can now be used on a fixed and a fluid style.

I also explained how to set up a wallpaper ad using DFP Small Business as Ad Server.

Enjoy

StarBuG
Reply With Quote
  #13  
Old 03-06-2012, 05:11 PM
Killhunter Killhunter is offline
 
Join Date: Jul 2011
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not able to click at my global ad below the navbar? I just need that 160x600 thing.
Reply With Quote
  #14  
Old 07-02-2012, 04:01 PM
togotutor togotutor is offline
 
Join Date: May 2011
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will try it later.. Reserved.
Reply With Quote
  #15  
Old 01-25-2013, 01:01 PM
Majora Majora is offline
 
Join Date: Jun 2005
Location: Friedrichshafen / Germany
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Killhunter View Post
I am not able to click at my global ad below the navbar? I just need that 160x600 thing.
I have the same problem!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:18 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.05604 seconds
  • Memory Usage 2,272KB
  • Queries Executed 20 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete