Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Adsense after first post Details »
Adsense after first post
Mod Version: 1.00, by artonex (Member) artonex is offline
Developer Last Online: Jan 2007 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.0 RC3 Rating: (2 votes - 5.00 average) Installs: 236
Released: 14 Sep 2005 Last Update: Never Downloads: 29
Not Supported Template Edits  

Hey guys i think many of you will find this very usefull

With the template edit you can display adsense or banner after every 1st post. i have chosen to use my amazon affilite code.

Add this to the bottom of your postbit template.

Demo


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

Download Now

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

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.
  #16  
Old 14 Sep 2005, 22:46
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
That is odd, I placed the usergroup 1 (admin) in that code and it still shows the adsense?

**edit** disregard, it did remove it, however, completely did something odd with the formatting?? When I get home I will get a screen print.
__________________
CommanderTalk.com --> www.commandertalk.com

Last edited by dieselpowered; 14 Sep 2005 at 22:50.
Reply With Quote
  #17  
Old 14 Sep 2005, 22:47
artonex's Avatar
artonex artonex is offline
 
Join Date: Mar 2005
Originally Posted by KirbyDE
I've posted this often already, but i'll post it once again

<if condition="!is_member_of($bbuserinfo, x, y, z) AND !$GLOBALS['FIRSTPOSTID']">

Thanks kirby works great
Reply With Quote
  #18  
Old 14 Sep 2005, 22:48
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Usergroup 1 is Guest, not Admin?
Reply With Quote
  #19  
Old 14 Sep 2005, 22:51
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Originally Posted by KirbyDE
Usergroup 1 is Guest, not Admin?
I know....I meant 6....sorry about that.

Somehow it messes up the formatting on the page, I will get a screenshot to show. Thanks as always Kirby!
__________________
CommanderTalk.com --> www.commandertalk.com
Reply With Quote
  #20  
Old 14 Sep 2005, 23:13
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Real name: Giovanni Martinez
Originally Posted by jluerken
Hi,

I want to have the adsense stuff for people NOT in specific groups.

For example: Admins, mods, staff etc. should not get the adsense stuff.

Can you give an example how to modify your template to make this possible?

btw. thanks for sharing

try replacing


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

With:


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


Then replace x with the usergroupid that you do NOT want this ad to show for.
Reply With Quote
  #21  
Old 14 Sep 2005, 23:20
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Originally Posted by gio~logist
try replacing


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

With:


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


Then replace x with the usergroupid that you do NOT want this ad to show for.
Thank you...unfortunately, it still shows for admin??
__________________
CommanderTalk.com --> www.commandertalk.com
Reply With Quote
  #22  
Old 14 Sep 2005, 23:22
artonex's Avatar
artonex artonex is offline
 
Join Date: Mar 2005
you must be doing something crazy xtremeoff-road as kirbys code works for me.
Reply With Quote
  #23  
Old 14 Sep 2005, 23:23
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Real name: Giovanni Martinez
Keep adding

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

For every usergroup that you do not want to have to see that.
Reply With Quote
  #24  
Old 14 Sep 2005, 23:23
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
I think this Code won't work, as $vbulletin is not within the Scope of the Postbit Class.
Reply With Quote
  #25  
Old 14 Sep 2005, 23:24
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Real name: Giovanni Martinez
I can be wrong though.
Reply With Quote
  #26  
Old 14 Sep 2005, 23:27
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Originally Posted by artonex
you must be doing something crazy xtremeoff-road as kirbys code works for me.
Don't get me wrong the code does work, however, throws off the formatting.

I will get a screen shot when I get home.
__________________
CommanderTalk.com --> www.commandertalk.com
Reply With Quote
  #27  
Old 23 Sep 2005, 22:53
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Real name: Call me X
I tried a few methods I found at vb.com and vb.org. This one is the only one that would work for me. Just one problem is that after I make a quick reply, the sponsoered link header apears BUT the ads do not show. In other words it hsouldn't show up at all. Oh well it got ads betwen the first and second post so I'm happy!
Reply With Quote
  #28  
Old 24 Sep 2005, 10:27
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Real name: Joey
Originally Posted by amykhar
What's more fun and challenging - because of ajax issues, is adsense in the last post. That really gets the ad right where the reader's eyes are.

http://www.eaforums.com/forums/364919-post1.html



amy - you might want to check with Google. The way you have the ad placed inside the post may violate their TOS. You can email adsense and ask for a review.
__________________
Lincoln vs Cadillac Forums -
Reply With Quote
  #29  
Old 26 Sep 2005, 06:38
Chad F. Chad F. is offline
 
Join Date: Nov 2004
http://img339.imageshack.us/img339/1...problem0cy.gif

^ Does anyone else get this problem after editing a post?..
Reply With Quote
  #30  
Old 26 Sep 2005, 06:47
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
I am not using this hack, but something similar i created myself, and i have the same if using quick reply. Doesn't bother me enough to search for a fix.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
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 00:36.

Layout Options | Width: Wide Color: