Hello! I am running MyBB on website
www.paksiyasat.com. I wants to know that I wants to show adsense ads on the right side of every post content. Please guide me how it will be done?
I am waiting for your reply
Regards
do you mean that if a topic page has 10 posts then adsense should be shown on every post - i.e. 10 advt blocks ?
if so that could be against
adsense placement rules
No, no, I only wants to show adsense on the first post only
you can use
template conditionals plugin & manual coding in the
postbit templates
find
{$post['message']} in the
postbit &
postbit_classic templates , add after it
<if (($postcounter - 1) % $mybb->settings['postsperpage'] == 0) then>
<div class="pbadsense">your AdSense code here</div>
</if>
you can add
required style properties for
class .pbadsense in the
global.css of the theme (like below)
.pbadsense {display: inline-block; float: right; margin-right: 6px;}
.m. if i give the temporary access to my admin panel, then will u help me for placing ads in post?
^ well, it is not a complex set up. yet, you may PM me.