• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug Quick Reply Doesn't Work When ad_message_body Template is full

Chris D

XenForo developer
Staff member
#2
If you include JS content (such as ads) into certain templates which are themselves dynamically loaded using JS (such as messages) then if there's ever a problem with that JS content, it can prevent the rest of our JS code loading, therefore preventing the message from being displayed.

There is likely a solution which might help I think we implemented recently, but otherwise this isn't a bug in our code, but likely a bug or some other issue caused by the ads JS code.
 

Saburov

Active member
#3
Thanks Chris. But I don't understand exactly. Is there a solution for this? Do you think there is a problem with adsense JS content?


Code:
<xen:hook name="ad_message_body" />
<center><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- esnek reklam -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-XXXXXXXXXXXXXX"
     data-ad-slot="8689386314"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></center>
<br />