Features include global settings, advertisements allowing template conditionals, ad sharing and ad revenue sharing, timed advertisements, preset popular ad locations and functions such as sponsors, additional custom ad locations, random and static advertisements and its all very easy to use. You can use it for ordinary ads like adsense, banner rotations, or any content at all as well as using it to manage ads outside your forum too.
If you are using autoinsertion and were using vB Ad Management before version 4.00, you will need to remove your old template edits or advertisements will appear multiple times. Just reverse the old instructions below.
Quote:
* 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 in your header template and replace it with $header_advertisement.
* Find $spacer_open in your header template and below it paste $leftcolumn_advertisement.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
The method for adding a column was changed in this version to speed it up slightly. Open up global_start.php.
FIND:
Code:
$spacer_open = '<table width="'.$stylevar['outertablewidth'].'" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td valign="top">'.$spacer_open;
// Legacy column insertion. If you're having trouble adding your column in the right place, comment out the line
// above (add // in front of it), uncomment the 2 lines below and change '$spacer_open' to something else in your header template to do a search-and-add on.
// $rc_str_replace = '<table width="'.$stylevar['outertablewidth'].'" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td valign="top">';
// $vbulletin->templatecache['header'] = str_replace('$spacer_open', $vbulletin->db->escape_string($rc_str_replace).'$spacer_open', $vbulletin->templatecache['header']);
REPLACE WITH:
Code:
// $spacer_open = '<table width="'.$stylevar['outertablewidth'].'" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td valign="top">'.$spacer_open;
// Legacy column insertion. If you're having trouble adding your column in the right place, comment out the line
// above (add // in front of it), uncomment the 2 lines below and change '$spacer_open' to something else in your header template to do a search-and-add on.
$rc_str_replace = '<table width="'.$stylevar['outertablewidth'].'" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td valign="top">';
$vbulletin->templatecache['header'] = str_replace('$spacer_open', $vbulletin->db->escape_string($rc_str_replace).'$spacer_open', $vbulletin->templatecache['header']);
That should just put it back the way it was before, I don't recall changing what I replaced.
I've tried to search for the answer to this but i havent really found what I'm looking for, only a way to completely remove the link instead of modifying where it points.
right now when you click on the "remove ads" link it directs you to register.php, how do i change it to direct to payments.php? the way my site is set, buying a premium subscription removes the ads, not simply registering.