MyBB Community Forums
adsense placement - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: adsense placement (/thread-94616.html)



adsense placement - jerielm - 2011-05-18

hi guys,

how do i do this on mybb board.

http://www.rune-server.org/programming/website-development/253696-mybb-adsense-plugin.html

adsense on every first post top right corner



here's my board http://pinoybodybuilding.com/forum


thank you in advance


RE: adsense placement - Yaldaram - 2011-05-18

Go to: ACP > Templates > Your theme's templates > Postbit Templates > postbit > and find;
{$post['message']}
and Add the following code just Before that;
<div class="float_right">ADSENSE_CODE_GOES_HERE</div>

Replace "ADSENSE_CODE_GOES_HERE" with your adsense code.

It'll look like this;
[attachment=22786]


RE: adsense placement - jerielm - 2011-05-18

hi it works but it shows on every post , how can i make it to show only on the first POST.


RE: adsense placement - Yaldaram - 2011-05-18

For only on First post you would need a plugin. I'll create you one shortly. Wink


RE: adsense placement - jerielm - 2011-05-18

tyvm sir!

is it also possible to place it at postbit Last post (current last post)
yaldaram how about this?

http://forums.digitalpoint.com/showthread.php?t=202949

notice the adsense on the first post, it's between the actual post. Can you do that too?
sir yaldaram, how do i add adsense on top of the quick reply ....?