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 |
#2
|
||||
|
||||
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:
|
#3
|
||||
|
||||
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! |
#4
|
||||
|
||||
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?
|
#5
|
||||
|
||||
Oooooor, I might want it so it's always the 'last but one' post..?
|
#6
|
||||
|
||||
Quote:
Code:
<vb:if condition="!$GLOBALS['FIRSTPOSTID']"> Code:
<vb:if condition="$post['postcount'] % $vboptions['maxposts'] == ?"> Let me know if that works . |
#7
|
||||
|
||||
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"> |
#8
|
|||
|
|||
and if I wish to have this every 2 posts? so after 2nd, 4th and 6th and so on?
|
#9
|
||||
|
||||
You'd get a lot of very annoyed viewers...
|
#10
|
||||
|
||||
Quote:
Quote:
I think you're correct here but to each his own so if anyone wants something custom simply mark as installed! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|