The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
![]() |
|||||||||||||||||||||||||||||||
Earnmoneyworld.com Adsense Optimization | Get More Clicks With Google AdSense
![]() Developer Last Online: Feb 2017 ![]() ![]()
This is only adsense placement i am using in my forum and this is working great
i am getting more clicks and more revenue with this simple optimization. Demo Earn Money world Installation instructions: In Default Templates In the template postbit templates > postbit find: Code:
<vb:if condition="$show['attachments']"> Code:
<vb:if condition="$post[postcount] == 1"> <script type="text/javascript"><!-- google_ad_client = "pub-"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text"; google_ad_channel = "forum"; google_color_border = "E1E1E1"; google_color_bg = "E1E1E1"; google_color_link = "FFFFFF"; google_color_text = "FFFFFF"; google_color_url = "FFFFFF"; google_ui_features = "rc:0"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </vb:if> Code is different in My Template In the template postbit templates > postbit find: Code:
</div><vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')"> <div class="body"> <div style="width: 100%"> Code:
<script type="text/javascript"><!-- google_ad_client = "pub-"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text"; google_ad_channel = "forum"; google_color_border = "E1E1E1"; google_color_bg = "E1E1E1"; google_color_link = "FFFFFF"; google_color_text = "FFFFFF"; google_color_url = "FFFFFF"; google_ui_features = "rc:0"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> you can also use this condition before google adsense code (adsense only for guest) Code:
<vb:if condition="$show['guest']">Show this to guest only</vb:if> Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
SaN-DeeP |
Comments |
#12
|
|||
|
|||
![]()
what to search for in postbit_legacy ?
|
#13
|
|||
|
|||
![]()
Supported ???????
|
#14
|
|||
|
|||
![]()
I just wondered, what are you using on your site to only allow an unregistered user a certain number of views before it makes you register?
|
#15
|
|||
|
|||
![]()
Ya, I can't find the that code to paste after either.
|
#16
|
||||
|
||||
![]() Quote:
Quote:
find in postbit Code:
<vb:if condition="$show['attachments']"> Code:
<vb:if condition="$post[postcount] == 1"> <script type="text/javascript"><!-- google_ad_client = "pub-"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text"; google_ad_channel = "forum"; google_color_border = "E1E1E1"; google_color_bg = "E1E1E1"; google_color_link = "FFFFFF"; google_color_text = "FFFFFF"; google_color_url = "FFFFFF"; google_ui_features = "rc:0"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </vb:if> Quote:
Code:
<vb:if condition="$show['guest']">Show this to guest only</vb:if> |
#17
|
|||
|
|||
![]()
Thanks for that......... Two questions I have:
1 - by posting the code just above the attachments, how will that know to only post on the first post (or am I not understanding the way this works!)??? 2 - Code:
<vb:if condition="$show['guest']">Show this to guest only</vb:if> Thanks in advance.... |
#18
|
|||
|
|||
![]()
I agree with bandare, whether this can be seen only on the first post? or if you have any ideas so that adsense can be seen in the posting number two not first post?
Thank You |
#19
|
|||
|
|||
![]()
I got it working on my forum but it doesn't just do the first post, it has added it to every post.
|
#20
|
|||
|
|||
![]()
maybe this code you can use, because I use on my forum and can work well.
bellow : Quote:
Quote:
|
#21
|
|||
|
|||
![]()
Thanks, I'll go try that.. I clicked an add to say thanks on your demo site too
![]() Okay, I tried that and got the following error. If I take out your top line the error goes away. The error is: Code:
The following error occurred when attempting to evaluate this template: Unclosed Tag This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. Code:
<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1"> <vb:if condition="$post[postcount] % $vboptions[maxposts] == 1"/> However, it still ads an ad on the 2nd, 3rd posts too.... |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|