![]() |
Google Adsense After first post (with scrolling option)
1 Attachment(s)
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 : Code:
<vb:if condition="$post['isfirstshown']"> GoTo Styles & Templates>Search in Templates>your style then search for additional.css and anywhere add : Code:
.firstpost_advert_container { Code:
<vb:if condition="$post['isfirstshown']"> 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 |
Works perfect. Marked as installed, nominated, and rated 5 stars.
Thank you for this nice and clean modification. :) |
Quote:
|
works great thanks for the modification
|
Np! Enjoy it.
|
Works fine, how to exempt usergroup?
|
Is that similar to what they have over at the DP forum, the AD pulls up right on the first post?
|
Quote:
X,Y,A being usergroup ID's Quote:
|
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 |
Is it possible to use this under third post?
Many thanks |
All times are GMT. The time now is 03:48 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|