The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Innovative Ads After First Post (Or any post!) Details »» | |||||||||||||||||||||||||||||||||
Innovative Ads After First Post (Or any post!)
Developer Last Online: Oct 2023
Innovative Ads After First Post By: I decided to make this while creating another modification as I have seen this requested many times, I Google'd it finding details on what template to edit plus I searched here on vbulletin.org and only found old "modifications" which were actually just tutorials and none were actual products that did most of the work for you . Description: Ad after first post on very page or as some describe it, Ad after first post in a thread - This modification places two ads in a post like container below the first post on every page in a thread. Fully customizable to allow all sorts of ad codes such as Google Adsense, OpenX Ads, and various others along with the possibility for the user to design his own images and link them to the appropriate content. Users can also customize CSS or remove the DIV codes to use show only one ad or any sort of advertisement and display any form of content other than ads! Quote:
Required Changes: (Manual i.e. "To Do")
(Automatic)
Difficulty: Easy, Time to install: Around 1 Minute - Installer is included simply import the product; AdminCP > Plugins & Products > Manage Products > *Now click the [ADD/IMPORT PRODUCT] link to import from your computer (download below). Adding in your own codes and customizing if you see fit takes a few more minutes. History: 8.24.2010: Version 1.0 Created IMPORTANT: In the postbit_legacy_ads_after_firstpost template please find: Code:
<div id="innovativeadleft"> <vb:comment> Left Ad Code Below this Commented out line </vb:comment> Left Ad Image/Code 1 needs to be placed here, no larger than 260 pixels in height. <vb:comment> Left Ad Code Above this Commented out line </vb:comment> </div> <div id="innovativeadright"> <vb:comment> Right Ad Code Below this Commented out line </vb:comment> Right Ad Image/Code 2 needs to be placed here, no larger than 260 pixels in height. <vb:comment> Right Ad Code Above this Commented out line </vb:comment> </div> *Remember to enable the mod after installing otherwise it won't show! AdminCP > Settings > Options > Innovative Ads After First Post and set to Yes. *Attention- Please view the first page as the 2nd and 3rd (Added: Post #'s 6 & 7 also contain info on how to customize!) posts were reserved and contain additional information to help you customize this in various ways. What can you expect in the next version?
TheLastSuperman http://www.innovationbyinstinct.com Download Now
Screenshots
Show Your Support
|
3 благодарности(ей) от: | ||
mapleleaffans, ramesh_umk3, Sage Knight |
Comments |
#62
|
||||
|
||||
Quote:
Quote:
Here is the template: Code:
<vb:comment>Start of Innovative Ads After First Post</vb:comment> <vb:if condition="$show['guest'] OR $show['member']"> <vb:if condition="!$GLOBALS['FIRSTPOSTID']"> <li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}"> <div class="posthead" style="height:15px;"><span class="innovativetitle"><a href="register.php">Register to remove these Ads!</a></span> </div> <div class="postdetails" style="height:320px;"> <div style="margin-top:20px;"></div> <div id="innovativeadspan"> <div id="innovativeadleft"> <vb:comment> Left Ad Code Below this Commented out line </vb:comment> Left Ad Image/Code 1 needs to be placed here, no larger than 260 pixels in height. <vb:comment> Left Ad Code Above this Commented out line </vb:comment> </div> <div id="innovativeadright"> <vb:comment> Right Ad Code Below this Commented out line </vb:comment> Right Ad Image/Code 2 needs to be placed here, no larger than 260 pixels in height. <vb:comment> Right Ad Code Above this Commented out line </vb:comment> </div> </div> </div> </li> </vb:if> </vb:if> <vb:comment>End of Ads After First Post</vb:comment> Code:
<vb:if condition="$show['guest'] OR $show['member']"> Code:
<vb:if condition="$show['guest']"> |
#63
|
||||
|
||||
Getting ready to set up a vB site again. Would be great if this would only show if there was more than 2 posts in a thread..
I use to know how to do this... Guess I am going to have to learn all over again. |
#64
|
|||
|
|||
for now you can refer this reply https://vborg.vbsupport.ru/showpost....8&postcount=74
|
Благодарность от: | ||
TheLastSuperman |
#65
|
||||
|
||||
Thanks!
|
#66
|
||||
|
||||
Hi,
How do I change the background color? |
#67
|
|||
|
|||
Hi SuperMan can you make a great thing for us all???
Superman never say no especially the last one. If you make a graphic interface to integrate the use of this plugin from the Admincp and add the possibility to decide where to add the banners, after the first post, after the second or the third, or each 3 posts more better... I think you make one of the best mod on vb.org Know that be making this, will be a really great mod. Thanks for reading and blesses for you, others more if you do these implementations for us. |
#68
|
|||
|
|||
Interesting mods
but I'm having problems when using on my site |
#69
|
|||
|
|||
Is there a possibility to count clicks and impressions?
|
#70
|
|||
|
|||
Hi there, please how can I add only one banner of 728x90 in the box?
Thanks in advance. |
#71
|
|||
|
|||
Quote:
I have found the answer in this thread. Only one thing... I add this code like was explained: <vb:comment>Start of Innovative Ads After First Post</vb:comment> <vb:if condition="$post[postcount] == 1 OR $post[postcount] % 11 == 0"> <div class="postbit"> <h3 style="color: rgb(189, 189, 189); font-weight: bold;" class="posthead"> Sponsored Links</h3> <div align="center" style="padding:3px;" class="postbody"> <!-- Begin CigClick Network Code --> <div style="text-align:center"> <script language="javascript"><!--// var server_client_id = 1189; var server_ad_channel = 1; var server_publisher_channels = ""; var server_media_types = "hybrid"; var server_integrate_media_types = 0; var server_ad_width = 728; var server_ad_height = 90; var server_ad_style = "728x90_as"; var server_code_version = "4"; var server_ad_color_border = "7E8AA2"; var server_ad_color_background = "F7FAE0"; var server_ad_color_headline = "7E8AA2"; var server_ad_color_body = "000000"; var server_ad_color_url = "666EBA"; var server_ad_random = 1; //--></script> <script type="text/javascript" src="http://adsby.cigclick.com/ads/display_ads.php"> </script> <!-- End CigClick Network Code --> </div> </vb:if> <vb:comment>End of Ads After First Post</vb:comment> but in this way all the posts after the first are all visualized in a wrong way, so I think that I make wrong something in the code. Can someone help me please? Thanks in advance. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|