![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||
Google Adsense After first post (with scrolling option)
![]() Developer Last Online: Sep 2020 ![]() ![]() ![]()
![]() How To Install
Step.1: GoTo Styles & Templates>Search in Templates>your style then search for "postbit_legacy" without quotations. at the very bottom before "{vb:raw template_hook.postbit_end}" add :
Step 2: (centering and coloring your adsense) GoTo Styles & Templates>Search in Templates>your style then search for additional.css and anywhere add :
Step 3: (IF YOU WANT SCROLL ONLY)
Only add this if you want your banner to scroll. This can be used for others things other then adsense also. You are finished! you can see a Demo Here Customize the CSS as you wish. Hope this helped. To exempt usergroups : To exempt usergroups just do this Replace : <vb:if condition="$post['isfirstshown'] With : <vb:if condition="$post['isfirstshown'] AND !in_array($bbuserinfo[usergroupid], array(X,Y,A))"> X,Y,A Being Usergroup ID's Download Now Only licensed members can download files, Click Here for more information. Show Your Support
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Show Thread Enhancements Google Adsense after first post (or other advertisements) | Allan | vBulletin 4.x Add-ons | 97 | 23 Aug 2018 23:00 |
Mini Mods A Neater Google Adsense After First Post | ShawneyJ | vBulletin 4.x Template Modifications | 86 | 06 Aug 2015 21:49 |
Forum Display Enhancements Google AdSense (or other) after post... | goranbaxy | vBulletin 3.6 Template Modifications | 46 | 10 Sep 2010 04:04 |
#16
|
|||
|
|||
I use it for showing the ads after each 3th post
<vb:if condition="(THIS_SCRIPT == showthread) AND (($post[postcount] % 3) == 0)"> <li class="firstpost_advert_container"><div class="firstpost_advert"> YOUR AD CODE </li> </vb:if>
__________________
Dutch Pc Helpforum - www.pc-helpforum.be No members have liked this post.
|
#17
|
|||
|
|||
Awesome thank you very much
No members have liked this post.
|
#18
|
|||
|
|||
Thanks for the awesome feedback guys. need any other mods pm me details and I will try at it.
__________________
Want to learn how to program? www.legionrs.com No members have liked this post.
|
#19
|
|||
|
|||
i need an adsense after each 9th post of a page. so if you go the the second page, its still on the 9th post of the page etc.
__________________
Temsamane No members have liked this post.
|
#20
|
|||
|
|||
Works juts great, my only problem is that adsense is showing after second post
Probably it is cause I use mod "first post on every page" http://www.vbulletin.org/forum/showt...=239282&page=9 Any ideas, for now I left it under second post but I would like it under first as it is better like that I think. Maybe to put it above "first post" in my case, lol ? (how to do that) Thanks No members have liked this post.
|
#21
|
|||
|
|||
Originally Posted by goxy63
Try disabling your other mod, it should work then?
![]()
__________________
Want to learn how to program? www.legionrs.com No members have liked this post.
|
#22
|
|||
|
|||
Yes, after disabling mentioned mod its just as it should be, that is GREAT
![]() But my users already got use to this option (first post on every page), even I did...its kinda natural to have first one.... specially on forums where you have 100-200... pages Not a coder just dont know how to fix this ![]() Thanks No members have liked this post.
|
#23
|
|||
|
|||
I cannot see adsense ad. I have vb 4.1.8. Where's the problem?
No members have liked this post.
|
#24
|
|||
|
|||
Can you show me what you see @datoneer?
__________________
Want to learn how to program? www.legionrs.com No members have liked this post.
|
#25
|
||||
|
||||
Working fine with upgrade.
G! No members have liked this post.
|
#26
|
||||
|
||||
I'm going to mark this as installed. I am pretty sure I used your post to help me configure my pages.
I really hate the sites where it looks like they had some postbot insert the ads btw. This is the code I inserted in my forum just in case people want to do something similar.
So after the first post it gives guests and registered members 3 ads. Two adsense and one eBay. For supporting members, it gives them two adsense by default. If they go into their profile and turn off the in post ads (field13), it will remove them. By turning ads back on for my supporting members be default, I have received no complaints, yet have increased my ad revenue. Yes I used depreciated <center> tags. One day when I'm not lazy or this becomes a real issue, I'll put it all in a div.
__________________
Cricket Users - Cricket Wireless Forum No members have liked this post.
|
#27
|
|||
|
|||
Hi,
I'm trying to get this to work and it just doesn't seem to do anything at all with the newer versions of vBulletin. Any help? No members have liked this post.
|
#28
|
|||
|
|||
Originally Posted by chrisngrod
I tried to add this before the last line in postbit, and nothing shows at all. ![]()
What am I doing wrong? No members have liked this post.
|
#29
|
||||
|
||||
thanks alot its working fine on my Forum http://www.naijafinder.com/forum.php
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 03:36.