The Arcive of vBulletin Modifications Site. |
|
Adsense Inside the Post Details »»
|
|||||||||||||||||||||||||
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 Code:
<!-- message --> <div id="post_message_$post[postid]">$post[message]</div> <!-- / message --> Code:
<!-- 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 -->
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 Code:
<if condition="$post['replylink'] Code:
<if condition="$post['replylink'] AND $show['member']"> Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Nice
instal
|
|
#3
|
||||
|
||||
|
Hi, this looks cool. Will adsense show up only in 1st post (thread start) or in all posts? Because I would not like it to show up in all posts. Also, I think that googles rules say that no more than 3 ads per page.
|
|
#4
|
|||
|
|||
|
Only in the First and Last post and only to guests,if you want in a different way then let me know.
|
|
#5
|
|||
|
|||
|
so this actually shows up in the users posts and not in a post of its own?
|
|
#6
|
|||
|
|||
|
This is a nice modification, but you will run into problems when you or someone at your site uses the "quote" option.
It will screw things up, watch. |
|
#7
|
|||
|
|||
|
Quote:
Ads are shown only to guest,even if ads are shown to members there will be no problem.Ads will not get 'quoted' along with the post. |
|
#8
|
|||
|
|||
|
No, an ad won't get quoted. However, if someone wraps "quotes" around the post they make, then the blending efficiency of the mod will vanish. I used this ad implementation at first, but when it came time to wrap quotes around posts, this modification was inefficient.
|
|
#9
|
|||
|
|||
|
I See...
|
|
#10
|
||||
|
||||
|
Quote:
|
![]() |
|
|