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

Reply
 
Thread Tools
Innovative Buy Sell Ads - Asynchronous Version Details »»
Innovative Buy Sell Ads - Asynchronous Version
Version: 1.00, by TheLastSuperman (Senior Member) TheLastSuperman is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 4.x.x Rating:
Released: 06-11-2011 Last Update: Never Installs: 12
Supported Uses Plugins Auto-Templates
 

This modification will insert the required Asynchrous Ad Code from Buy Sell ads into all styles after the opening <body> tag as specified on the Buy Sell Ads Blog by Todd Garland. The benefits are also listed on the blog along with more in-depth instructions for review here:
http://blog.buysellads.com/2010/02/n...onous-ad-code/ and this modification can be easily disabled or enabled at any time thus showing and respectively hiding the ad codes if required.

What is Buy Sell Ads?
http://buysellads.com/
http://buysellads.com/sell/overview

*This modification is auto-template therefor if enabled the asynch google code will always be there, no need for manual template edits in one or multiple styles as it's handled automatically via a plugin and rendered in all styles!
  • Import the product.
  • AdminCP > Settings > Options > Buy Sell Ads
  • Enable the modification and save.
  • Utilize the Ad Manager to insert your ads throughout vBulletin where desired.
  • Enjoy!

This modification ads the initialization script per say for Buy Sell Ads into each style after the opening <body> tag:

Example:
Code:
<!-- BuySellAds.com Ad Code -->
<script type="text/javascript">
(function(){
  var bsa = document.createElement('script');
     bsa.type = 'text/javascript';
     bsa.async = true;
     bsa.src = '//s3.buysellads.com/ac/bsa.js';
  (document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa);
})();
</script>
<!-- End BuySellAds.com Ad Code -->
Now the above code is contained within the plugin your going to install, the only thing you'll need from Buy Sell Ads is the corresponding ad codes for each zone of your site.

Example:
Code:
<!-- BuySellAds.com Zone Code -->
<div id="bsap_1234567" class="bsarocks bsap_1a23456789b10"></div>
<!-- End BuySellAds.com Zone Code -->
Where 1234567 is the Zone
&
Where 1a23456789b10 is the Site Key

Each of these will be provided by Buy Sell Ads, please refer to their example here using [zone] and [site key] if my initial example is not sufficient, that information is also on the blog by Todd Garland that I linked to above.

Now the only thing your required to do is utilize the "Ad Manager" in vBulletin which is located at:

AdminCP > Advertising > Manage Ads > Add New Ad

Now insert the corresponding Buy Sell Ad code with the Zone and Site Key, once you save and refresh the forum page check for your ad , if for some reason it does not display remember to disable any anti-ad blocking scripts or programs you have running in your browser if any.

*Please note on Buy Sell Ads you label each area per say so if your selling a ad assumed to be at the top of your site please try to insert it at the top of your site in the header or at least navbar area this way the ad being sold is represented accurately and sold as such.

Demo: http://www.gamegavel.com/forum/forum.php

Download Now

File Type: xml product-innovative_buysellads_vb4.xml (2.2 KB, 40 views)

Show Your Support

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

Comments
  #2  
Old 06-12-2011, 06:49 PM
lapiervb lapiervb is offline
 
Join Date: Mar 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have a demo??
Reply With Quote
  #3  
Old 06-12-2011, 06:55 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lapiervb View Post
Do you have a demo??
Demo: http://www.gamegavel.com/forum/forum.php
Reply With Quote
  #4  
Old 06-12-2011, 09:30 PM
Pionex Pionex is offline
 
Join Date: Apr 2011
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks very interesting
Im not ready to place ad's on my site as of yet, however, Tagged for future use.
would you recommend this service over other services such as googles?

Thank you,
Pionex
Reply With Quote
  #5  
Old 06-12-2011, 10:01 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pionex View Post
Looks very interesting
Im not ready to place ad's on my site as of yet, however, Tagged for future use.
would you recommend this service over other services such as googles?

Thank you,
Pionex
Well to be honest I find it's a matter of preference for some who prefer certain types of ads etc. I have had many clients use this instead of Google Ads and they preferred this but as the old saying goes "to each their own". I can suggest trying it in one or only two of your current ad locations if you have quite a few and see what comes from it then you can be the judge as it differs on each site in regards to who ends up purchasing the ad location respectively.
Reply With Quote
  #6  
Old 02-28-2013, 11:57 PM
datoneer datoneer is offline
 
Join Date: Jul 2011
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tagged for future use
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 05:14 PM.


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.03957 seconds
  • Memory Usage 2,277KB
  • Queries Executed 22 (?)
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
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (1)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete