The Arcive of vBulletin Modifications Site. |
|
A Neater Google Adsense After First Post Details »»
|
|||||||||||||||||||||||||||
Ok, so i haven't found any google adsence products for vb 4 yet that sit neatly under your first post only, on every page. Credits to Miko and my self for a few tiny edits.
How To Install Step.1: GoTo Postbit Templates>>open postbit_legacy and add at the very bottom: Code:
<vb:if condition="$post['isfirstshown']">
<li class="firstpost_advert_container"><div class="firstpost_advert">
REPLACE THIS WITH YOUR ADSENSE CODE HERE
</div>
</li>
</vb:if>
Step.2: GoTo CSS Templates>>open additional.css and add this code: Code:
.firstpost_advert_container {
clear: both;
display: block;
float: left;
margin-bottom: 12px;
position: relative;
width: 100%;
border: 1px solid #E5E6F4;
}
.firstpost_advert {
with: 100%;
background: #F1F1FA;
border: 1px solid #fff;
min-height: 90px;
margin: 0;
padding: 7px;
text-align: center;
vertical-align: middle;
}
DEMO: Teen Forums Please Note: im not a coder, i just wanted to share this with others, its VERY easy to add to your styles and looks neat. Good Luck. This coding is also different than Mod Version: 1.00, by Allan. You shouldn't have any problems with this and it will do you till a product version comes out. Screenshots
Show Your Support
|
|||||||||||||||||||||||||||
| 5 благодарности(ей) от: | ||
| acmalin927, farru, sodasusu, SolidSnakeLive, StormBreaker | ||
| Comments |
|
#2
|
|||
|
|||
|
Wow this is AMAZING THANK YOU SOOO MUCH!!!
|
|
#3
|
||||
|
||||
|
was very good. Thanks
|
|
#4
|
|||
|
|||
|
Thanks
|
|
#5
|
|||
|
|||
|
Is there a way to limit this to certain groups?
|
|
#6
|
||||
|
||||
|
no, sorry, not until someone releases a product which shouldnt be to far off.
|
|
#7
|
||||
|
||||
|
what's the difference compared to other adsense after first post codes ?
|
|
#8
|
||||
|
||||
|
Is it possible to make only guests and regular members see this ad unit?
|
|
#9
|
||||
|
||||
|
Quote:
as said above, this should be possible when the product is out, im actually surprised one is not released yet. |
|
#10
|
||||
|
||||
|
Any way to exclude a certain group? A have a certain usergroup that does not view ads. I'd use this for sure if it's possible.
|
![]() |
|
|