2015-07-11, 09:50 PM
(2015-07-11, 09:12 PM)bekircem Wrote: Hi. I am using Square theme. I am added Google Adsense adds after the post with Template Conditionals plugin. Here is the code on postbit:
<if (($postcounter - 1) % $mybb->settings['postsperpage'] == 0) || (($postcounter - 5) % $mybb->settings['postsperpage'] == 0) then> <div align="center"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- ForumPostBit --> <ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-7546617587444289" data-ad-slot="2966195976"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </if>
But when users want to click edit button, popup not seems because of adds. How i fix that problem?
I don't give support for plugins.
To fix that, use z-index and positioning on the adsense class.
I don't give support on PM.