Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Adsense Inside the Post Details »
Adsense Inside the Post
Mod Version: 1.01, by unitedpunjab (Designer) unitedpunjab is offline
Developer Last Online: Dec 2020 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (9 votes - 4.89 average) Installs: 170
Released: 28 Feb 2007 Last Update: 03 Mar 2007 Downloads: 825
Not Supported Template Edits  

This little template modification allows you to put an Ad inside the post with Text wrapped around the Ad.

See Screenshot.

In postbit template replace

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.

  • you will have to replace ADSENSE CODE HERE with the actual code.
  • The code is for 300 * 250 Medium Rectangle Format,Edit width & height parameters if you want to use any other format.
  • Ad is shown on the first and last post (modify if you want)
  • Ad is shown to guests Only ( remove "and ($show['guest'])" to show to all)
Version History:
v 1.0.1 :Ads displayed after the first post on every page (instead of just the first page)

Tip: To remove quote button for guests.
Replace

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.

Download Now

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

Screenshots

Click image for larger version

Name:	adsenseqv5.jpg
Views:	5106
Size:	57.1 KB
ID:	61136  

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
Mini Mods Adsense Inside the Post unitedpunjab vBulletin 3.7 Template Modifications 39 07 Nov 2015 17:09

  #31  
Old 06 Apr 2007, 14:18
kpascal kpascal is offline
 
Join Date: Mar 2007
I understand your directions and have used the following:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I have tested with a user subscribed to the 'Custom Usergroup' 12 and they were able to see the ads. I thought it might be because four group IDs were separated by commas so I tried this:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The user was still able to see the ads. Does the code you have provided only work for 'Default Usergroups'? If so, would it be possible to do this with 'Custom Usergroups'?
Reply With Quote
  #32  
Old 06 Apr 2007, 14:26
kpascal kpascal is offline
 
Join Date: Mar 2007
My baad.. I did not provide clear direction to the user that was testing for me and they were looking at an ad in the header and reporting that it was still visible. The last code I posted is working well and I am now testing the multiple usergroup version. I will report once it is tested.

Very sorry for the confusion an inconvenience.
Reply With Quote
  #33  
Old 06 Apr 2007, 14:30
kpascal kpascal is offline
 
Join Date: Mar 2007
Your posted code suggestions work perfectly. Thank you for your help and again please accept my apologies for the confusion.
Reply With Quote
  #34  
Old 07 Apr 2007, 12:58
ggiersdorf ggiersdorf is offline
 
Join Date: Aug 2005
has a fix for images and quotes been made? I would love to use this but almost all my first posts consist of images being a gaming forum. We heavly use images and quotes
Reply With Quote
  #35  
Old 07 Apr 2007, 13:21
kpascal kpascal is offline
 
Join Date: Mar 2007
I changed the placement of this mod when I applied it. (link to example) With the ad placed under the post, instead of beside it, I have not experienced an [img] or [quote] problem.
__________________
The AES Op Lounge - Airborne Electronic Sensor Operator community
Reply With Quote
  #36  
Old 10 Apr 2007, 03:00
notrious's Avatar
notrious notrious is offline
 
Join Date: Mar 2007
Real name: sunny ch
s.s pha jee


i want to use this mod as adsance in all posts
Reply With Quote
  #37  
Old 10 Apr 2007, 10:24
unitedpunjab's Avatar
unitedpunjab unitedpunjab is offline
 
Join Date: Feb 2006
Real name: Dhillon
Originally Posted by notrious View Post
s.s pha jee


i want to use this mod as adsance in all posts
SSA,
Adsense doesn't allow more than three Ads on a page,So that wont work.
Reply With Quote
  #38  
Old 13 Apr 2007, 22:30
notrious's Avatar
notrious notrious is offline
 
Join Date: Mar 2007
Real name: sunny ch
but still on soem sites i have seen this they have adsance in header like 2 sets and adsance in posts also


may be they are more smarter kid then me
Reply With Quote
  #39  
Old 14 Apr 2007, 01:34
NightShado NightShado is offline
 
Join Date: Jan 2007
nice Thanx man
Reply With Quote
  #40  
Old 15 Apr 2007, 02:06
popowich popowich is offline
 
Join Date: Jun 2004
If this is targeted for guests what about adding text under the ad such as "Register today to remove this ad!" with the Register being a link to the forums registration page?

-Raymond
Reply With Quote
  #41  
Old 15 Apr 2007, 02:34
popowich popowich is offline
 
Join Date: Jun 2004
Originally Posted by kpascal View Post
I changed the placement of this mod when I applied it. (link to example) With the ad placed under the post, instead of beside it, I have not experienced an [img] or [quote] problem.
Hello,

Where do you insert the code for this mod to look like your version?

-Raymond
Reply With Quote
  #42  
Old 15 Apr 2007, 11:12
kpascal kpascal is offline
 
Join Date: Mar 2007
Originally Posted by popowich View Post
Hello,

Where do you insert the code for this mod to look like your version?

-Raymond

Hi Raymond, instead of using the suggested code below:
<!-- message -->
<if condition="(($post[postcount] % $vboptions[maxposts] == 1)) and ($show['guest'])">
<span style="margin: 2px; float: right; width: 301px; height: 251px;">
ADSENSE CODE HERE
</span>
</if>
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

I used his instead:
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>

<if condition="(($post[postcount] % $vboptions[maxposts] == 1)) and !is_member_of($bbuserinfo,10,11,12,14)"><br />
<center><span style="margin: 5px; width: 470px; height: 62px;">

ADSENSE CODE HERE

</span></center>
</if>
<!-- / message -->

The !is_member_of($bbuserinfo,10,11,12,14) part of the <if> statement specifies which usergroups do not see the ads.
__________________
The AES Op Lounge - Airborne Electronic Sensor Operator community
Reply With Quote
  #43  
Old 15 Apr 2007, 19:40
abakus abakus is offline
 
Join Date: Dec 2006
very nice thanks man
__________________
www.fethiyem.org
Reply With Quote
  #44  
Old 16 Apr 2007, 10:27
Digital Girl Digital Girl is offline
 
Join Date: Apr 2007
Great Mod but it does not seem to be working for me?
Reply With Quote
  #45  
Old 18 Apr 2007, 02:45
Mrdby Mrdby is offline
 
Join Date: Apr 2007
Real name: MrDby
anybody?
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 01:09.

Layout Options | Width: Wide Color: