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.
Comments
  #2  
Old 14 Sep 2005, 13:26
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
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
__________________
Ciao jluerken
Reply With Quote
  #3  
Old 14 Sep 2005, 14:01
jugo jugo is offline
 
Join Date: Feb 2004
Didn't Kirby post this somewhere??

Thanks anyway.
__________________
NovaWarfare.com - Bringing back the Game - http://www.NovaWarfare.com

Website Hosting - Game Server Hosting - http://www.freaks-network.com
Teamspeak Status Block for vBAdvanced / PHP-Nuke / php Include

PM me if you need hacks installed or simple template modifications...I'm cheap..
Reply With Quote
  #4  
Old 14 Sep 2005, 14:04
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Yup.
http://www.vbulletin.org/forum/showp...10&postcount=2

Mental Note: Tagging the post was a good idea
Reply With Quote
  #5  
Old 14 Sep 2005, 18:00
junkiesnetwork junkiesnetwork is offline
 
Join Date: Dec 2004
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" align="left">Sponsored Links</td>
</tr>
<tr>
<td class="alt1" align="center">
<adsense code here>
</if>
</td>
</tr>
</table>
This idea sounds great but i tried using it on my board but it did not work.
i copied this code and pasted at the end of postbit template as you said and i put all the adsense code in this space u provided , if i am not mistaken. (<adsense code here> )
Could you please tell me where i went wrong??
Thanks
Reply With Quote
  #6  
Old 14 Sep 2005, 19:02
sajjid sajjid is offline
 
Join Date: Jul 2002
try this one

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

change the text what ever you want where its says spinzone sponsered links

Last edited by sajjid : 14 Sep 2005 at 19:04.
Reply With Quote
  #7  
Old 14 Sep 2005, 19:51
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
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

Find:

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

Add above:

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

__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #8  
Old 14 Sep 2005, 20:10
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Hmm, keeping database read marking in mind:
Wouldn't the first unread post be the best place?
Cause the last Post doesn't necessarily get read - the first unread post will.
Reply With Quote
  #9  
Old 14 Sep 2005, 20:22
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
True. But, is there a conditional for it?
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #10  
Old 14 Sep 2005, 20:24
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
There must be as Posts carry Icons for Read/Unread.
So if this Icon changes to Unread for the first time it is the right Post.
Reply With Quote
  #11  
Old 14 Sep 2005, 22:12
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Originally Posted by KirbyDE
Yup.
http://www.vbulletin.org/forum/showp...10&postcount=2

Mental Note: Tagging the post was a good idea
Kirby forgive my ignorance, however, where does this post show how to do a conditional based on the usergroup?

I am going to be adding adsence, however, do not want contributing members or sponsors to see them.

Any help is appreciated!!
__________________
CommanderTalk.com --> www.commandertalk.com
Reply With Quote
  #12  
Old 14 Sep 2005, 22:18
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
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']">
Reply With Quote
  #13  
Old 14 Sep 2005, 22:28
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
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']">
Sorry, you are going to fly out from Germany and kill me, however, I assume I put the usergroup number of the usergroup I do not want to see this in place of the x, y, z??

Thanks
__________________
CommanderTalk.com --> www.commandertalk.com
Reply With Quote
  #14  
Old 14 Sep 2005, 22:29
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Yep (regarding the replacement of x, y and z).
Reply With Quote
  #15  
Old 14 Sep 2005, 22:35
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Originally Posted by KirbyDE
Yep (regarding the replacement of x, y and z).
LOL I thought you were talking about the flying out part

Thanks Kirby!!

Hey I seem to remember a thread one of the vBulletin Devs put out in regards to adding adsense....it had quite a few examples. Do you remember that?
__________________
CommanderTalk.com --> www.commandertalk.com
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 16:11.

Layout Options | Width: Wide Color: