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
Digital Point Ad Positioning Details »»
Digital Point Ad Positioning
Version: 1.00a, by digitalpoint digitalpoint is offline
Developer Last Online: May 2016 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.x.x Rating:
Released: 11-26-2010 Last Update: 11-27-2010 Installs: 272
Uses Plugins
 
No support by the author.

About
This allows you to insert an ad into a random location within the post currently being viewed and/or insert an ad after the currently viewed post.

I made this a couple years ago for internal use and decided to release it because a few people have been requesting it.

Installation
  • Install the product-dp_positionads.xml product under AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product
  • Go to AdminCP -> Settings -> Options -> Digital Point Position Ads for all your settings/options.

Notes
  • You can control which usergroups see ads.
  • You can control which forums the ads are inserted for.
  • This addon works just fine with vBulletin 3 as well as vBulletin 4.
  • The ads are inserted relative to the currently viewed post, not necessarily the first/last, etc. post in a thread.
  • Requires no template edits.
  • Our ad revenue more than doubled when we implemented this (and we opted to only use it for non-registered members).

Download Now

File Type: xml product-dp_positionads.xml (7.3 KB, 1771 views)

Show Your Support

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

Comments
  #82  
Old 03-29-2011, 02:51 PM
Valerio Valerio is offline
 
Join Date: Feb 2010
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Shawn

is not possible to make it to reconize the

#post1234

instead of the p parameter? at the end is the same value!
Reply With Quote
  #83  
Old 03-29-2011, 04:21 PM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, the hash portion of the URL isn't seen by the server/PHP.
Reply With Quote
  #84  
Old 03-29-2011, 08:46 PM
Valerio Valerio is offline
 
Join Date: Feb 2010
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
Reply With Quote
  #85  
Old 03-30-2011, 08:07 AM
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Shawn,
Is there a way to include a simple plugin code $second[$banners] inside your plugin

I have this plugin which pulls random image banners and places them on "bottom of second" and "second from bottom" posts.

My plugin uses the mt_rand function. Inside your plugin, I tried replacing $vbulletin->options[ 'dppa_insidepost_html' ] with my code $second[$banners], but nothing showed up.Is vBSEO a cause for this as well.

Thank you.
Reply With Quote
  #86  
Old 03-30-2011, 08:29 AM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, sorry... it's designed to output literally what you enter. It's HTML, not PHP code, so... you could of course make a random banner disable based on JavaScript you put into the ad HTML, but you would still need to write the JS code of course.
Reply With Quote
  #87  
Old 04-04-2011, 09:59 PM
Mycologist Mycologist is offline
 
Join Date: Oct 2009
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to stop "Ad After Post" in private messages?
Reply With Quote
  #88  
Old 04-04-2011, 10:43 PM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No... it's intentional. Although, I suppose you could add some logic to the plug-in that doesn't do it if THIS_SCRIPT == 'private'...
Reply With Quote
  #89  
Old 04-04-2011, 11:14 PM
IndigoSociety IndigoSociety is offline
 
Join Date: Nov 2008
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to create a condition so it only shows a leaderboard if it's a guest (after the post) otherwise show a link unit (after the post).

This is how Digitalpoint does it...
Reply With Quote
  #90  
Old 04-05-2011, 12:17 AM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, just set the setting that controls which usergroups see it.
Reply With Quote
  #91  
Old 04-05-2011, 12:54 AM
IndigoSociety IndigoSociety is offline
 
Join Date: Nov 2008
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalpoint View Post
Yeah, just set the setting that controls which usergroups see it.
No my point is show something different for one usergroup vs another. Leaderboard for unregistered, link ads for registered. All i see in plugin is just show to x,y,z usergroup...
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 12:33 AM.


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.04973 seconds
  • Memory Usage 2,343KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (13)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete