Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Ad Management 4 Details »»
vB Ad Management 4
Version: 5.00, by RedTyger RedTyger is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.8 Rating:
Released: 11-08-2006 Last Update: 12-12-2007 Installs: 1791
DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files  
No support by the author.


What does it do?

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.

You can read in more detail about these and other features in the manual, which also contains some helpful notes and instructions, as well as the installation and upgrade instructions



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 &nbsp; 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.

Comments
  #1892  
Old 12-04-2007, 02:55 PM
aztecboi2003 aztecboi2003 is offline
 
Join Date: Apr 2007
Location: Marysville,Wa
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedTyger View Post
First reply is of interest to anyone having problems with the same advertisement showing up multiple times!



Depends which template its in. Open that template and look for multiple instances of $x_advertisement in the template. That should be included only once, unless you're using automatic template edits in which case it shouldn't be included at all.

Am I actually searching for $x_advertisement because I can't seem to find that phrase anywhere. And I have looked through all the templates.
Reply With Quote
  #1893  
Old 12-04-2007, 02:58 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aztecboi2003 View Post
Am I actually searching for $x_advertisement because I can't seem to find that phrase anywhere. And I have looked through all the templates.
Hi sorry, that's $x_advertisement where x is the name of the template. So if its the header, search for $header_advertisement, etc.
Reply With Quote
  #1894  
Old 12-04-2007, 02:59 PM
tekguru tekguru is offline
 
Join Date: May 2007
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedTyger View Post
Edit the footer template and paste your analytics code at the bottom. Simple as that.
So this is the main footer template within each style of the footer template within the AdManagement system, adn if within the Ads system should one use a | deliminator between the last banner and the Analytics code?

Last Q, if one wished to remove completely the $vbphrase[adintegrate_remove_ads] phrase should one delete the phrase or just enter a null translation value?
Reply With Quote
  #1895  
Old 12-04-2007, 03:03 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tekguru View Post
So this is the main footer template within each style of the footer template within the AdManagement system, adn if within the Ads system should one use a | deliminator between the last banner and the Analytics code?

Last Q, if one wished to remove completely the $vbphrase[adintegrate_remove_ads] phrase should one delete the phrase or just enter a null translation value?
1) No, it's the standard vBulletin footer template, nothing to do with the modification. It has...

Code:
<script type="text/javascript">
<!--
	// Main vBulletin Javascript Initialization
	vBulletin_init();
//-->
</script>
... at the bottom if you're not sure you're in the right place. Just paste the Analytics code at the bottom and save.

2) Translate it to a single space.
Reply With Quote
  #1896  
Old 12-04-2007, 03:10 PM
aztecboi2003 aztecboi2003 is offline
 
Join Date: Apr 2007
Location: Marysville,Wa
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay I looked in my big red style, in the advertisement_header. This is the code there
PHP Code:
<div>
            <
div id="header_adcode">
                
$header_adcode
            
</div>
            <if 
condition="$header_adcode != ''">
                <
div class="smallfont">
                                    </
div>
            </if>
        </
div
Is that correct? Am I in the right place? Or should I be in the advertisement_leftcolumn as it shows up on the left hand side of this style?
Reply With Quote
  #1897  
Old 12-04-2007, 03:20 PM
tekguru tekguru is offline
 
Join Date: May 2007
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers RT got you - makes sense.

Another query, on the conditionals is it possible to set it so that one ad in a rotating sequence only displays for certain months?

I have an advertiser that only has his banners running every other even numbered month, i.e Feb, Apr, Jun, Aug, Oct, Dec.....
Reply With Quote
  #1898  
Old 12-04-2007, 03:41 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tekguru View Post
Cheers RT got you - makes sense.

Another query, on the conditionals is it possible to set it so that one ad in a rotating sequence only displays for certain months?

I have an advertiser that only has his banners running every other even numbered month, i.e Feb, Apr, Jun, Aug, Oct, Dec.....

AdminCP > Plugins & Products > Add new plugin


Product: vB Ad Management
Hook location: global_start
Title: Month conditional
Execution order: 5
Plugin PHP Code:
Code:
$adintegrate_month = date('F', TIMENOW);
Plugin is active? Yes

Save the plugin. Now you can use this conditional in your adcode:

Code:
<if condition="in_array($GLOBALS[adintegrate_month], array(February, April, June, August, October, December))">
Ad stuff goes here
</if>

You can change the list of valid months as you wish, of course.
Reply With Quote
  #1899  
Old 12-04-2007, 04:36 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedTyger View Post
Because adding AdminCP options - especially more complex ones - is not efficient. I'm sorry you do not like the new method but it will not be changed back. You must use template conditionals for the link if you only want some usergroups to see it.
Sorry, this is backwards. Remember the Times where the PlugIn Function to vBulletin was new and why ?
Reply With Quote
  #1900  
Old 12-04-2007, 04:37 PM
aztecboi2003 aztecboi2003 is offline
 
Join Date: Apr 2007
Location: Marysville,Wa
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's a screenshot of the problem. Perhaps it's a conflict with the nav bar? As it's above and below my nav bar.
Reply With Quote
  #1901  
Old 12-04-2007, 05:15 PM
neverstop neverstop is offline
 
Join Date: Jan 2007
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by neverstop View Post
Hi,

I am having trouble with the ajax rotator. I have an iframe adcode from an advertiser. When the ad roatates it is adding a slash to the iframe src url. For example:

Code:
<div class="alt2"><iframe src="http://www.domain.com/aff.html" background="#F5F5FF" align="middle" frameborder="0" height="625" scrolling="no" width="125"></iframe></div>|<div class="alt2"><iframe src="http://www.domain.com/aff.html" background="#F5F5FF" align="middle" frameborder="0" height="625" scrolling="no" width="125"></iframe></div>
When the ajax refreshes the block I get a 404 in the iframe as the url is now "/http://www.domain.com/aff.html" (notice the slash before http).

Any way to solve this?

Cheers,
Ian
Quote:
Originally Posted by neverstop View Post
Hi,

That is the exact code (except I am editting out the domain name). I get a 404 message that says exactly:
The requested URL /"http://www.domain.com/aff.html" was not found on this server.

(FYI in the admincp: The requested URL /admincp/"http://www.domain.com/aff.html" was not found on this server.)

This is in a custom adcode block. On the initial pageload it works fine, but when the ajax refreshes the block I get the 404.

Cheers,
Ian


Have you had a chance to look into this one (the leading slash on an iframe url when the ajax refreshes)?
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 02:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08238 seconds
  • Memory Usage 2,336KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_code
  • (1)bbcode_php
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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