Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Google Adsense after first post (or other advertisements) Details »
Google Adsense after first post (or other advertisements)
Mod Version: 1.00, by Allan (Coder/Designer) Allan is offline
Developer Last Online: Mar 2017 I like it Show Printable Version Email this Page

vB Version: 4.0.0 Rating: (18 votes - 4.39 average) Installs: 149
Released: 01 Jan 2010 Last Update: Never Downloads: 0
Not Supported Template Edits  

With this mod, you can add an advertisement as Google Adsence or other advertisements.
  • In the "postbit" or "postbit_legacy", add to the end:

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

  • 2nd method, in the "ad_showthread_firstpost" template, add:

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

PS: I use class "attachments", it's just for the fun ^^

Download Now

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

Screenshots

Click image for larger version

Name:	pub1.jpg
Views:	4825
Size:	80.6 KB
ID:	108770   Click image for larger version

Name:	pub2.jpg
Views:	3730
Size:	72.7 KB
ID:	108771  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
phpAdsNew Banner Ads integration (advertisements, classified ads, Adsense, etc.) The M.I.P. vBulletin 3.5 Add-ons 600 25 Apr 2012 09:45
Forum Display Enhancements Google AdSense (or other) after post... goranbaxy vBulletin 3.6 Template Modifications 46 10 Sep 2010 04:04

Comments
  #2  
Old 02 Jan 2010, 03:14
Cableguy69 Cableguy69 is offline
 
Join Date: Apr 2008
Nice mod thanks.
Reply With Quote
  #3  
Old 02 Jan 2010, 03:14
RDX1 RDX1 is offline
 
Join Date: Apr 2002
Nice work, was hoping it was like the 3.8 mod.

http://www.vbulletin.org/forum/showthread.php?t=194817
Reply With Quote
  #4  
Old 02 Jan 2010, 07:59
Alecsmith's Avatar
Alecsmith Alecsmith is offline
 
Join Date: Sep 2009
Real name: Nick
Tagged for future
__________________

Reply With Quote
  #5  
Old 02 Jan 2010, 08:05
fayax fayax is offline
 
Join Date: Dec 2009
Originally Posted by RDX1 View Post
Nice work, was hoping it was like the 3.8 mod.

http://www.vbulletin.org/forum/showthread.php?t=194817

Yup I could like that too?

will it be made like that eventually?
__________________
fe9.org
Reply With Quote
  #6  
Old 03 Jan 2010, 21:25
ninjashoes's Avatar
ninjashoes ninjashoes is offline
 
Join Date: Jul 2006
How would I exclude this from certain forums and also show to guests only?
__________________
Mixed Martial Arts
Reply With Quote
  #7  
Old 04 Jan 2010, 07:01
fayax fayax is offline
 
Join Date: Dec 2009
hmm.. I mustve done something wrong. Couldnt get it to work. Not voted anyway.
__________________
fe9.org
Reply With Quote
  #8  
Old 05 Jan 2010, 12:12
Krysalid Krysalid is offline
 
Join Date: Sep 2006
Merci Allan ..
Reply With Quote
  #9  
Old 05 Jan 2010, 21:25
KevinGupta KevinGupta is offline
 
Join Date: Dec 2006
ok 2 questions...

1) In "Your Text Here" field do you put in the HTML version for the advertisement? If Yes, how do you do it? (Sorry, I am not good at coding at all)

2) How can I exclude it from certain usergroups? I need this, importantly

Waiting for your reply now
Reply With Quote
  #10  
Old 05 Jan 2010, 21:54
haluk haluk is offline
 
Join Date: Feb 2004
How Can I add an ad after second or third posts ?

Is there a way ?
Reply With Quote
  #11  
Old 08 Jan 2010, 16:01
meissenation meissenation is offline
 
Join Date: Apr 2005
Originally Posted by haluk View Post
How Can I add an ad after second or third posts ?

Is there a way ?
Change:
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')">

to:
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '2')">
-or-
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '3')">

respectively.
Reply With Quote
  #12  
Old 08 Jan 2010, 18:42
albrens albrens is offline
 
Join Date: Jun 2006
Thank you

But there a blank speac

Have look

http://upload.traidnt.net/upfiles/Sg776678.png

Last edited by albrens; 08 Jan 2010 at 18:51.
Reply With Quote
  #13  
Old 08 Jan 2010, 21:46
atgv atgv is offline
 
Join Date: Dec 2007
reserved
Reply With Quote
  #14  
Old 10 Jan 2010, 16:36
Gene Steinberg Gene Steinberg is offline
 
Join Date: Dec 2006
Real name: Gene Steinberg
How about a method to reduce the width to the normal maximum of 728pixels, and then center that object without the gray border? Or just eliminate the gray background?

How is that done?

Also is there a code to have it go after the 1st and 4th posts and perhaps the last post too?

Peace,
Gene
Reply With Quote
  #15  
Old 14 Jan 2010, 18:46
SpongeBob71 SpongeBob71 is offline
 
Join Date: Mar 2008
Does anyone else have the issue of NOT having a space between the end of the first thread and the mods grey box? Mine is stuck together and does not have the space.

I have 4.1.




-SB

Last edited by SpongeBob71; 15 Jan 2010 at 01:35.
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 20:48.

Layout Options | Width: Wide Color: