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 Posts and Threads/views columns on the far right side of forum board are displayed with dashes in them when advertisements are placed in a thread. These should be blank as I don't use the Post/Thread/views count columns on my site for the simple reason my board isn't for community posting.
I looked for dashes in php templates for this mod and checked various vb templates trying to see where these dashes come from but, alas I just ended up with sore eyeballs.
Attached is a jpg showing the two columns with the dashes in them, just follow the red arrow.
Any suggestions as to how to get rid of these darn dashes would be appreciated.
wow reading thru the post got a headache...lol but i have one question and did not see posted here.
in my post the first advert shows but the 3 and forth, is showing page can not be found in both ie and firefox.
have any idea why its doing that.
-pb
Google does not allow more than 3 of its advertisements on a page.
Quote:
Originally Posted by goddess_dix
on the 4.0 beta, i was having difficulty with the plugin tossing errors in signature and profile edits, even though i'd set it to not show ads on the profile page globally. it was just when i tried to edit a sig, etc. with this turned on. i was able to hack around it using the following code with my changes commented "dlv", using your conditional from elsewhere so it didn't even check for the autointegrate for these pages. -
Code:
//start hack to drop the error for profile edits dlv
if (THIS_SCRIPT != 'profile' && ($_REQUEST['do'] == 'editoptions' || $_REQUEST['do'] == 'editprofile'))
{
//endstart hack to drop for profile edits dlv
foreach($adintegrate_fields['1'] AS $adintegrate_find)
{
$adintegrate_replace = $global_getshared["$adintegrate_find"];
// This user's custom field is empty or they're banned from sharing, use the admin's default.
if (empty($adintegrate_replace))
{
$adintegrate_replace = 'adintegrate_'.$adintegrate_find;
$adintegrate_replace = $vbulletin->options["$adintegrate_replace"];
}
$adintegrate_preg_find[] = "/<!-- begin ad -->(.*)#$adintegrate_find#(.*)<!-- end ad -->/siU";
$adintegrate_preg_replace[] = "<!-- begin ad -->$1$adintegrate_replace$2<!-- end ad -->";
}
//hack ending_if statment to drop adds for profile edits dlv
}
//endofhack to drop for profile edits dlv
Ok thanks I will look at that. Don't forget to use the bug report tool in future.
The Posts and Threads/views columns on the far right side of forum board are displayed with dashes in them when advertisements are placed in a thread. These should be blank as I don't use the Post/Thread/views count columns on my site for the simple reason my board isn't for community posting.
I looked for dashes in php templates for this mod and checked various vb templates trying to see where these dashes come from but, alas I just ended up with sore eyeballs.
Attached is a jpg showing the two columns with the dashes in them, just follow the red arrow.
Any suggestions as to how to get rid of these darn dashes would be appreciated.
In the appropriate templates (i.e. threadbit_advertisement) you are looking for something like this:
Code:
<td class="alt1Active">
-
</td>
Just delete what looks like that, ensuring that you remove everything from <td to </td>.
In the appropriate templates (i.e. threadbit_advertisement) you are looking for something like this:
Code:
<td class="alt1Active">
-
</td>
Just delete what looks like that, ensuring that you remove everything from <td to </td>.
Thanks, RedTyger. Much appreciated. Removed darn dashes from <td class="alt1Active"> and from <td class="alt2Active"> in forumbit_advertisement and threadbit_advertisement.
I uploaded ad management beta 4 and imported xml, was there anything else I was supposed to do? it looks sorta weird, the dropdown looks weird with a *, which i do not see on the rest of the VB drop down menu.
I have installed your mod, and it's great ,but I have some problems with the right-left columns.
On the main forum the left column looks great, but inside an subforum it has a weird spacing between the forum and the column.Am I doing something worng? How can I remove the weird spacing ?
Attachment #1: Main forum column looks great
Attachment #2: Subforum column is not looking great.