Thread: Major Additions - vB Ad Management 4
View Single Post
  #990  
Old 04-29-2007, 10:16 AM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Librarian View Post
Showing my ignorance again but I'll just tell you what I've done for now.

I've got the ads working back the way I had them. One in the header (right) and one under the navbar (center). I'm using the header code for the header ad and the footer code for the navbar ads.

I still would like to put one ad block in the footer. I want to put google down there. Can I just put the google ad code in the footer somewhere without using vb ad Management or do I need something else?

I'm very happy with the way my forum looks now and don't want to mess it up with columns or something extra... but some of my members would like google ads so I thought I'd put them at the bottom.

Thanks again!
If you look at the bottom of the modification post that appears at the top of every page, there is a guide about how to add your own custom adcode blocks. It's very quick and easy to do.


Quote:
Originally Posted by ltjman22 View Post
I am sorry if this has been covered before. The ad management is working great, however, I would like the side ad to appear in the forum, but not my CMS (vbadvanced). Check out myfishsite.com You'll see that the ad makes the homepage awkward! So again, I would like the side ad only in the forums, not vbadvanced! Thanks in advance for the help, great mod btw!
You need to find out what the THIS_SCRIPT definition for vB Advanced is because I can't remember myself, but you just need to add it to the Global Settings and all adverts will be excluded from that page.


Quote:
Originally Posted by vip-q.com View Post
Hi man

I like this hack
it's very helpful

but it doesn't work in my forum
is there are some code that I should add to the templates
thanks
The instructions are in the first post:

Quote:
Instructions

* Upload the product using the Product Manager.
* Upload the folder in the includes folder of the zip file you downloaded to the includes folder of your vBulletin installation.
* Go to Style Manager > Edit Templates and...
* Find <!-- post $post[postid] popup menu --> and paste $postbit_advertisement above it in your postbit & postbit_legacy templates.
* Paste $forumbit_advertisement at the bottom of your forumhome_forumbit_level1_post and forumhome_forumbit_level2_post templates.
* Paste $threadbit_advertisement at the bottom of your threadbit template.
* Paste $footer_advertisement at the top of your footer template.
* Find $spacer_close in your footer template and below it paste $rightcolumn_advertisement.
* Find &nbsp; in your header template and replace it with $header_advertisement.
* Find $spacer_open in your header template and below it paste $leftcolumn_advertisement.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01051 seconds
  • Memory Usage 1,779KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete