![]() |
Innovative Ads After First Post (Or any post!)
1 Attachment(s)
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 :p. 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"> *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 :rolleyes: http://www.innovationbyinstinct.com https://vborg.vbsupport.ru/external/2010/08/17.png |
How to Customize the Template:
I will update this as questions are posted. Currently the mod shows these Ads to Guest and Members, to show this only to Members OR Guest edit the template postbit_legacy_ads_after_firstpost and find: Code:
<vb:if condition="$show['guest'] OR $show['member']"> Remove the OR and the $show['member'] to show this to Guest only. Currently the mod has a link to REGISTER on your site as the post title per say, to change this link if your NOT showing this to Guest Only edit the same template as above and find: Code:
<span class="innovativetitle"><a href="register.php">Register to remove these Ads!</a></span>
AdminCP > Styles & Templates > Style Manager > *Select Edit Templates in the drop-down for your style. While scrolling through the templates some are titles for a group of templates so we have added two new templates by installing this mod and they are located within the CSS Templates and the Posbit Templates "Families". In the Postbit Templates find the template postbit_legacy_ads_after_firstpost to paste your AD codes or well.. anything! In CSS Templates find the template adsafterfirstpost.css to adjust the CSS as desired. Additional Info to add these ads after any post or before the last Quote:
Quote:
Quote:
Quote:
|
How to Customize the CSS:
I will update this as questions are posted. In CSS Templates find the template adsafterfirstpost.css to adjust the CSS as desired. *The Height and Width of the Ad container and the inner Left and Right Ad containers even though it shows in the screenshot and says max height of 260, can all be adjusted in the CSS template ;). *You can fully customize the template to show something other than ads, be creative and post if you have questions! |
Good stuffs, Clark. Can it be set so as you can choose which post # the ads go to? i.e. atm, they're forced after post #1... but What if I wanted it to be on post #9 instead?
|
Oooooor, I might want it so it's always the 'last but one' post..?
|
Quote:
Code:
<vb:if condition="!$GLOBALS['FIRSTPOSTID']"> Code:
<vb:if condition="$post['postcount'] % $vboptions['maxposts'] == ?"> Let me know if that works :D. |
Quote:
AdminCP > settings > Options > Thread Display Options (showthread) > Maximum Displayed Posts Before Page Split Quote:
Example: Code:
<vb:if condition="$post['postcount'] % $vboptions['maxposts'] == 19"> |
and if I wish to have this every 2 posts? so after 2nd, 4th and 6th and so on?
|
Quote:
|
Quote:
Quote:
Quote:
|
Quote:
I don't believe this would work - it would be the last but one on a full page, but it would not show as last but one on a page with 18 replies... I haven't downloaded/installed as yet because I currently do not feel any pressing need, however, I do recognize it's potential and think it's a great assistant for those who may want help. |
Quote:
|
Quote:
Nice mod :) |
Quote:
TY, simple enough ;). |
It's not compatible with vb 4.1 =/
can't proceed with the installation =/ |
What this doesn't work on 4.1.2 at all?
|
Quote:
Quote:
|
Quote:
Quote:
Sincerely, Mike |
Thank you! When I can't a chance I'll get this installed :D
|
Quote:
I edited the adsafterfirstpost.css to read: height: 200px; rather than 260px, because I love the location and placing, however I would like to make it shorter in display. It hasnt reflected any changes tho, and is still displaying the 260px box/container. Am I doing something wrong? thanks again! |
Quote:
Code:
#innovativeadspan { |
Quote:
the section here: Code:
<div class="postdetails" style="height:220px;"> Thank you for this awesome addon, and I will be eagerly awaiting the next version with Admin CP editing of the ads! :DAttachment 127017 |
Hello developer, this is very important and cool mod.
I just want to ask you, why it is not compatible by default with lasts versions? Because we see mods that works with a lot of versions in the future and well looks like each new version break this mod. Thank you for your feedback |
Quote:
|
nice script make it more admin friendly i will wait for next version coz i dnt like to edit templates.
|
Brilliant product man!!! thanks
|
This product is great but it seems is appearing for registered users and me as administrator also. Shouldn't be seen only by visitors /unregistered?
Thank you! |
Very nice!! Thanks a ton, I really like this.
I changed the height as mentioned above, and changed the margin to a 10px 10px 10px 10px instead of just the 20px top and I really think it looks great! :up: |
hello,
if i would like to put the post after the first one of each page and after the sixth message (if present), how i can do? thank you |
would be great if u can insert your own adverts ,and leave google ads out
|
Is it possible to show customized PHP code in AD box instead of ADS?
I mean I want to show related images extracted from remote server in a box. below are some lines of my code Code:
$dbh=mysql_connect("remote_server_ip:3306", "username", "password") or die |
I second the above post... I returned to this thread as I've got another forum I'm setting up and wish to use this (or similar) to extract data either from a text-file or a database..
Once I can do that, I'll be implementing this product on my new site. |
Great product, hope you can implement the mod to integrate more into the Admin CP
|
Hi,
First of all thank you for this nice mod :) its really simple and helpful just one question: Quote:
Thanks again. Maayan |
What would be the code to have several banners (with different links) rotating?
|
Quote:
Scroll to the very bottom and reference the elseif, then adjust using the conditionals we have been discussing in this thread and in the description :cool:. Quote:
Code:
<script type="text/javascript"><!-- |
thanks :)
|
Can anyone suggest how to make a widget show up in this ad space in the forum? I have tried this -
1) putting the widget title in the space for the ad in the postbit_legacy_ads_after_firstpost template. The widget title shows up on the correct area of the page, but not the widget itself. 2) I put in the widget code in the right spot, but it doesn't show up at all. Would love to be able to do this! Thanks! |
how about vb 3.8.2?
|
4.1.11 not kompatibel. (Kompatibel ab 4.0.0 Beta 3
|
All times are GMT. The time now is 05:22 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|