Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Innovative Ads After First Post (Or any post!) Details »
Innovative Ads After First Post (Or any post!)
Mod Version: 1.00, by TheLastSuperman (Senior Moderator) TheLastSuperman is offline
Developer Last Online: Dec 2018 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (13 votes - 4.85 average) Installs: 118
Released: 25 Aug 2010 Last Update: 06 Feb 2014 Downloads: 645
Supported Uses Plugins Auto-Template Translations  

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!

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!
  • More information on vB4 Conditionals can be found here: http://www.vbulletin.org/forum/showthread.php?t=231525 Special thanks should go to BBR-APBT for taking the time to write that article.
Features:
  • 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','adsafterfirstpost.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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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.

TheLastSuperman
http://www.innovationbyinstinct.com



Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	adsafterfirstpostmod.png
Views:	338
Size:	178.5 KB
ID:	121261  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Major Additions Innovative Drop Down Panel TheLastSuperman vBulletin 3.8 Add-ons 9 05 Mar 2012 01:24
Major Additions Innovative Ranks System TheLastSuperman vBulletin 3.6 Add-ons 30 24 Mar 2010 23:57
Major Additions Innovative Menu and BB Code 3.7.x TheLastSuperman vBulletin 3.7 Add-ons 1 31 Jan 2009 17:07
Major Additions Innovative Drop Down Panel 3.7.x TheLastSuperman vBulletin 3.7 Add-ons 9 24 Nov 2008 17:14

Comments
  #2  
Old 25 Aug 2010, 04:21
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Remove the $show['guest'] and the OR to show this to Members only.
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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace the <a href="register.php">Register to remove these Ads!</a> with your link OR text.
  • Please see post #'s 6 & 7 for codes to display this after a certain post on each page not simply after the first post!
  • More information on vB4 Conditionals can be found here: http://www.vbulletin.org/forum/showthread.php?t=231525 Special thanks should go to BBR-APBT for taking the time to write that article.
How to locate the templates:

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

Originally Posted by karlm View Post
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?
Originally Posted by TheLastSuperman View Post
Hmm you should be able to, open the template postbit_legacy_ads_after_firstpost and find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace the ? mark with the post number you want the Ads to show after and DO NOT include a trailing </vb:if> as it's already near the bottom .

Let me know if that works .
Originally Posted by karlm View Post
Oooooor, I might want it so it's always the 'last but one' post..?
Originally Posted by TheLastSuperman View Post
Well that depends on your post per page settings:

AdminCP > settings > Options > Thread Display Options (showthread) > Maximum Displayed Posts Before Page Split



So if you have that set to 20 posts per page before the split simply use the code I just posted above and change the ? mark to 19 .

Example:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman - Custom vBulletin Modifications, Styles, and Services.
Need a Host? I recommend URLJet.

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!

Last edited by TheLastSuperman; 28 Aug 2010 at 19:34.
Reply With Quote
  #3  
Old 25 Aug 2010, 04:24
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
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!
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman - Custom vBulletin Modifications, Styles, and Services.
Need a Host? I recommend URLJet.

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!

Last edited by TheLastSuperman; 25 Aug 2010 at 05:31.
Reply With Quote
  #4  
Old 25 Aug 2010, 05:06
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Real name: Karl
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?
Reply With Quote
  #5  
Old 25 Aug 2010, 05:07
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Real name: Karl
Oooooor, I might want it so it's always the 'last but one' post..?
Reply With Quote
  #6  
Old 25 Aug 2010, 05:11
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Cool

Originally Posted by karlm View Post
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?
Hmm you should be able to, open the template postbit_legacy_ads_after_firstpost and find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace the ? mark with the post number you want the Ads to show after and DO NOT include a trailing </vb:if> as it's already near the bottom .

Let me know if that works .
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman - Custom vBulletin Modifications, Styles, and Services.
Need a Host? I recommend URLJet.

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #7  
Old 25 Aug 2010, 05:15
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Cool

Originally Posted by karlm View Post
Oooooor, I might want it so it's always the 'last but one' post..?
Well that depends on your post per page settings:

AdminCP > settings > Options > Thread Display Options (showthread) > Maximum Displayed Posts Before Page Split

Maximum Displayed Posts Before Page Split
The number of posts to display on a thread page in linear or hybrid mode before splitting it over multiple pages.

Note: This number must be at least 1.
So if you have that set to 20 posts per page before the split simply use the code I just posted above and change the ? mark to 19 .

Example:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman - Custom vBulletin Modifications, Styles, and Services.
Need a Host? I recommend URLJet.

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #8  
Old 25 Aug 2010, 11:06
hardfm hardfm is offline
 
Join Date: May 2006
and if I wish to have this every 2 posts? so after 2nd, 4th and 6th and so on?
Reply With Quote
  #9  
Old 25 Aug 2010, 11:54
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Real name: Karl
Originally Posted by hardfm View Post
and if I wish to have this every 2 posts? so after 2nd, 4th and 6th and so on?
You'd get a lot of very annoyed viewers...
Reply With Quote
  #10  
Old 25 Aug 2010, 12:03
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Cool

Originally Posted by hardfm View Post
and if I wish to have this every 2 posts? so after 2nd, 4th and 6th and so on?
Then do the same thing I posted above i.e.

Originally Posted by TheLastSuperman View Post
Hmm you should be able to, open the template postbit_legacy_ads_after_firstpost and find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace the ? mark with the post number you want the Ads to show after and DO NOT include a trailing </vb:if> as it's already near the bottom .

Let me know if that works .
If you meant show the ads after the 2nd, 4th, and 6th then karlm is speaking the truth imo, they will spite you most likely and tbo if I ever go to a site with ads after the post 2, 4, 6, 8, 10, 12 I'll never register in fact I'll run away from that site in the opposite direction as fast as humanly possible . If you MARK AS INSTALLED I'll be happy to provide the code but head our "warnings" per say and make an informed decision .

Originally Posted by karlm View Post
You'd get a lot of very annoyed viewers...
I think you're correct here but to each his own so if anyone wants something custom simply mark as installed!
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman - Custom vBulletin Modifications, Styles, and Services.
Need a Host? I recommend URLJet.

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!

Last edited by TheLastSuperman; 19 Mar 2014 at 12:53. Reason: your > you're
Reply With Quote
  #11  
Old 27 Aug 2010, 04:05
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Real name: Karl
Thumbs up

Originally Posted by TheLastSuperman View Post
So if you have that set to 20 posts per page before the split simply use the code I just posted above and change the ? mark to 19 .

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.
Reply With Quote
  #12  
Old 28 Aug 2010, 19:17
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Cool

Originally Posted by karlm View Post
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.
Well in that case you could simply add in a <vb:elseif condition= to accommodate, remember with the mod you released that's template edits similar to this for vB3, elseif was not available but in vB4 it is .
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman - Custom vBulletin Modifications, Styles, and Services.
Need a Host? I recommend URLJet.

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #13  
Old 30 Aug 2010, 08:53
halkum halkum is offline
 
Join Date: Feb 2006
Originally Posted by karlm View Post
You'd get a lot of very annoyed viewers...
Not to mention a ton of the ad companies do not allow multiple placements on one page, and can even dock your payout, or suspend the account. Others don't even count the click and views.

Nice mod
Reply With Quote
  #14  
Old 30 Aug 2010, 09:10
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Cool

Originally Posted by halkum View Post
Not to mention a ton of the ad companies do not allow multiple placements on one page, and can even dock your payout, or suspend the account. Others don't even count the click and views.

Nice mod
Best bet is to check their TOS or other related information for all the details and make sure your not violating any sort of rule etc.

TY, simple enough .
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman - Custom vBulletin Modifications, Styles, and Services.
Need a Host? I recommend URLJet.

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #15  
Old 08 Feb 2011, 20:04
Aramist Aramist is offline
 
Join Date: Apr 2006
It's not compatible with vb 4.1 =/

can't proceed with the installation =/
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 21:41.

Layout Options | Width: Wide Color: