![]() |
Google Adsense (or other) in a Block like an Individual Post
1 Attachment(s)
This is for you that don't like how vB standard ad management works as a matter of delivery ads inside the posts in a thread. You know, it may looks disrespectful for someone that posted a great material in a thread but have to share its space with adsenses.
I've tested it only on Postbit Legacy so far but I don't think that's a reason for not working on Postibit as well. It's a pretty simple template edit. Just find your Postbit Legacy or Postbit Template and add the code below, right at the end of the template, click save and it's done. Code:
<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1"> I'm still trying to figure out how vB conditionals work and so far I've did it only to show it after the first post everywhere. I'm sure if you are familiar with that and use different ones on the first line of the code, you can be able to show this on specific forums, different positions, etc. If you know how to do it, please share what you tried with others here. If you like it, mark it as Installed please ! |
Good idea but your template modification creates a lot of xhtml issues...
|
images?
|
I?m using nearly the same code as posted here: http://www.2-wheel-planet.de/ebay/24...post15784.html
|
Nice work.
|
Quote:
Quote:
But you'll have exactly after first post in thread a box with your adsense into it, looking exactly your postbit (or legacy) frame, with same colors you used on your forums. Not a big deal. If some one here using adsenses wants to share a screenshot, I'd please in add it to the first post here. |
|
You got it Khalled: https://vborg.vbsupport.ru/showthread.php?t=237502
|
Screen shot added.
|
Just installed right now! mark as installed and rate 5stars! keep up the good work... peace;)
|
good job leo just install on look great :)
|
Thank you guys, glad you liked it.
|
Thanks Leo, just what i was looking for thank you!
If i have some ideas on the "conditionals" i will let you know. Your right about "for someone that posted a great material in a thread but have to share its space with adsenses", we should not treat contributing members like this. Especially if we want to be responsible for a successful site, however you could also show ads only to User Groups!. |
|
nice mod but better to use with css syling instead editing every template
|
anyway to added it before a thread starts at the top of the thread to just thread pages?
|
All times are GMT. The time now is 05:54 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:
|