<a href="https://www.google.com/images/adsense/en_us/support/forum_en.jpg" target="_blank">http://www.google.com/images/adsense...t/forum_en.jpg</a>
I would like to add adsense like in the picture, without the one next to the logo. I've founded in your tutorial how to add after the first post and below the last post, but I didn't added before the first post and on left and right. I've used left/right column hack and make myself 2 columns, but I haven't found any script for left and right adsense. |
Quote:
If i am right, you need to have 2 Million Page Impressions daily. |
I've done with those on right and left, it remains the one above the first post ...
|
thnqaks will look at when i get homee
|
This tutorial rocks! Thanks for saving me a bunch of time!
I've got one question I'm wondering if anyone can help me out. http://first-solo.net/forums/forumdisplay.php?f=2 This is my site. I've narrowed the page down to fit the template I liked. I'm having a problem of my adsense kicking the table outside of my dimensions. I've modified the code here a bit to use "colspan" and make one "<td>" for the row that contains my adsense code. However, when I use the 468px ad, it pushes my table wider than normal. I can use 2 234px ads, and the problem doesn't occur. The other funny thing is, with the 468px ad, I can copy the source code directly to a new html page, and the adjusting doesn't happen. Has anyone had any experiences like this in the past? I'm new to vB, but have been experimenting with adsense for a little while, nothing big, just experimenting. |
Amazing tutorial !
thank you :) |
Is it possible to restrict the ads, to not show if a particular user is logged in ?
i.e. based on $bbuserid perhaps |
Sure just place conditional statements before your ad code.
<if condition="is_member_of($bbuserinfo, X, Y, Z)"> YOUR AD CODE </if> What I have found from past experience with this addition is, set them to show for unregistered members only. Members tend to be ad-aware and not click them, and most of my clicks come from non members. This way your existing members don't get overrun with ads, and chances are your ad revenue will stay the same, but of course you know you members best, these are just my opinions. |
Code:
<if condition="(($post[postcount]==1) or ($post[islastshown] and !$GLOBALS['vbulletin']->GPC['ajax']))"> In order to fix that, you will need to use this code: Code:
<if condition="(($post[postcount] % $vboptions[maxposts] == 1) or ($post[islastshown] and !$GLOBALS['vbulletin']->GPC['ajax']))"> |
thanks a million man.
|
All times are GMT. The time now is 06:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|