Not Solved [How To?] show adsense in right side of every post?
#1
Not Solved
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
Reply
#2
Not Solved
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
Reply
#3
Not Solved
No, no, I only wants to show adsense on the first post only
Reply
#4
Not Solved
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;}
Reply
#5
Not Solved
.m. if i give the temporary access to my admin panel, then will u help me for placing ads in post?
Reply
#6
Not Solved
^ well, it is not a complex set up. yet, you may PM me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)