This mod adds a Google Adsense large rectangle after the first post of each thread.
It is blended to look like a regular post in your thread without violating Google adsense TOS. Make sure you use the same colors you use on your forum to optimize blending!
This mod shows the AD only to GUESTS!
If you want to show it to your members as well remove the ” AND $show[‘guest’]” condition!
Installation instructions
In the template postbit_legacy find:
{vb:raw template_hook.postbit_end}
and add below:
<vb:if condition="$post['isfirstshown'] AND $show['guest']"> <ul> <li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}"> <!-- see bottom of postbit.css for .userinfo .popupmenu styles --> <div class="posthead"> <img title="Alt" src="./images/statusicon/post_old.png" alt="Alt" border="0" /><span class="date"> <a href="https://www.DOMAIN.COM/register.php" style="color:#FFFFFF; text-decoration:underline;">(No Advertising after the first post? Register now for free!)</a></span></div> <div class="postdetails"> <div class="userinfo"> <div class="username_container"> <br /> <span style="font-weight:bold;font-size:14px;margin-left:0px;color:#000000;">Advertising</span><br /><br /> <img src="https://www.DOMAIN.COM/images/logo_ads.png" width="90px" height="90px" alt="advertising" title="advertising" /> <dl class="userinfo_extra"> <dd>Forumname.com</dd> <dd>has no influence</dd> <dd>on advertisings</dd> <dd>that are displayed by</dd> <dd>Google Adsense</dd> </dl> </div> </div> <div class="postbody"> <br /> <!- Your Google Adsense Code for a 336x280px large rectangle --> <div class="cleardiv"></div> </div> </div> <div class="postfoot"> <div class="textcontrols floatcontainer"> <span class="postcontrols"> </span> </div> </div> <hr /> </li> </ul> </vb:if>
Notes
Make sure to check and adapt especially domain to fit your forum.
For better blending I use my Websites Logo as “Avatar” to make it look more like a post.
For the same reason I added the “we have no influence…” part below the “Avatar”.
You can remove the whole “userinfo_extra” part if you don’t like the text.
Of course feedback is welcome and if you have suggestions to further improve CTR please let me know!
Kind regards
admin
some suggestions what I do different.
I use only a 728x90 Ad, to not use too much space for Ads.
But I use a AdSens link Block instead of the message under the Avatar.
And I repeat the Icon and Thread Title.
Greetings Christian
How does it perform?
I use a large rectangle because it performs so much better than the Leaderboard when it comes to CTR. However I never tried it with the new Adsense layout like on your screenshot.
I show Ads only to guests which make up 93% of my visitors on my forum anyways so I don't care if it takes up a little bit more space.
admin
I had that on my vB3 Version.
It is some extra. The main reason was to keep the design, like a normal Post.
In vB4 i change it today. My main intention is to refinance the server and not make as much money as possible.
but if an small change make big differences I am going to change it anyway. And if one Ad perform better one other my go down, as long as Goggle do not permit to open Ads in a new window (They do it only for very big publishers).
Today I also change the Ad on Top with the Welcome Message.
I am going to leave it running for 1 Week an than try to change the format of the one as second post. Than i have enough data to see whats happen with the first Ad. If there is a real plus i will change it, if is only a move form the first Ad to the second i leave it like it is.
Greetings Christian
But even with the new leaderboard layout I doubt it can compete with the large rectangle when it comes to CTR. However this always depends on your site and blending of course ;)
I for myself only monetize guests with ADs, registered users can use my websites without ADs because I want them to produce content to bring in new visitors that I can monetize. ;)
Ive added this code on my site, but for some reason the add wont show up, even tho i followed your steps.
Any suggestions?
Edit; found the problem, i already have 3 displayed ads.
where X,Y,Z are the usergroup IDs
was looking very. :o