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:
Originally Posted by TheLastSuperman
Please see post #'s 6 & 7 for codes to display this after a certain post on each page not simply after the first post!
Enable or Disable via Settings in vBulletin Options.
Fully Customizable.
Auto-template.
Required Changes: (Manual i.e. "To Do")
Edit the new template postbit_legacy_ads_after_firstpost and simply add in your scripts or codes to show them which is very simple as I included commented out code to show you exactly where to place it. *This shows in Postbit AND Postbit_Legacy depending on what you have enabled.
(Optional i.e. If you need to adjust the css to make it match your style better if using a custom Fixed width etc.)
Edit the new template adsafterfirstpost.css and adjust the css as desired!
(Automatic)
Templates to add: 2 ('postbit_legacy_ads_after_firstpost','adsafterfir stpost.css')
Phrases to add: 3
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>
As you can see I have added in commented code to let you know where your custom ads codes need to be placed, very simple.
*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?
No template edits, Ads codes will be entered into the admin control panel area where the mod is currently enabled/disabled. If you have a custom style CSS changes will still be required if you notice any position issues etc.
Hello! I'm from Italy...
Help me. With a simple banner the mod run perfectly but whith any google advertising I recive this alert: The following error occurred when attempting to evaluate this template:
Unclosed Curly Brace Expression
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
TheLastSuperman please don't forghet what you have promise us some years ago. We are still waiting.
PHP Code:
[B]What can you expect in the next version?[/B]
No template edits, Ads codes will be entered into the admin control panel area where the mod is currently enabled/disabled. If you have a custom style CSS changes will still be required if you notice any position issues etc.