Announcement

Collapse
No announcement yet.

[VB5.1.3] adsense asynchronous x synchronous

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wayne Luke
    commented on 's reply
    vBulletin 3.8.8 doesn't support the {vb:literal} tag. Please open your thread in the 3.8.X forum for help with your version of vBulletin.

  • popowich
    replied
    Is there a similar fix for vB 3.8.8?

    Leave a comment:


  • -=|zami|=-
    replied
    Originally posted by Glenn Vergara View Post
    Try enclosing the entire Ad code within <vb:literal> </vb:literal> tags.

    Code:
    <vb:literal>
    
    Ad Code here...
    
    </vb:literal>

    Perfect !
    working fine since yesterday .

    Thank you so much !

    Leave a comment:


  • Glenn Vergara
    replied
    Try enclosing the entire Ad code within <vb:literal> </vb:literal> tags.

    Code:
    <vb:literal>
    
       Ad Code here...
    
    </vb:literal>

    Leave a comment:


  • Glenn Vergara
    replied
    How are you adding the ad code? Via Ad Module or HTML Module?

    From your first screenshot, I noticed that the ad code is cut off in the middle of javascript code in a script tag causing javascript error.

    Code:
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr>
    <td align="center">
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- FC-cabeçalho-esquerda -->
    <ins class="adsbygoogle"
         style="display:inline-block;width:336px;height:280px"
         google_ad_region= "FC-cabeçalho-esquerda"
         data-ad-client="ca-pub-5786882074340857"
         data-ad-slot="5336794120"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push(
    
    bunch of HTML tags here...

    Leave a comment:


  • -=|zami|=-
    replied
    Friends, thanks for listening!

    I do not understand well the debugger, but follows the images obtained.
    apparently the error is always the same in both the header and in the footer: "Uncaught SyntaxError unexpected token <"

    Thank you!

    header:

    Click image for larger version

Name:	header1.png
Views:	14
Size:	91.6 KB
ID:	4150775
    Attached Files
    Last edited by -=|zami|=-; Fri 19th Sep '14, 2:27am.

    Leave a comment:


  • Glenn Vergara
    replied
    Is your site live? Can you post a link?

    Leave a comment:


  • Wayne Luke
    replied
    What is the javascript error that is preventing the rest of the page from loading? You should be able to see this in your browser's developer tools or console.

    Leave a comment:


  • -=|zami|=-
    started a topic [VB5.1.3] adsense asynchronous x synchronous

    [VB5.1.3] adsense asynchronous x synchronous

    friends, I have the following problem: when I use asynchronous google adsense script, the page below of the code does not load. but, when I use synchronous script, the page loads normally, but compromises the loading speed.

    1) header with asynchronous

    Click image for larger version

Name:	header.png
Views:	15
Size:	24.1 KB
ID:	4150354

    2) header with synchronous

    Click image for larger version

Name:	header-sync.png
Views:	13
Size:	498.8 KB
ID:	4150355

    3) footer with assynchronous

    Click image for larger version

Name:	footer.png
Views:	13
Size:	23.0 KB
ID:	4150356

    4) footer with synchronous

    Click image for larger version

Name:	footer-sinc.png
Views:	14
Size:	69.3 KB
ID:	4150357


    would be some incompatibility of the VB5 with the adsense asynchronous script?

    someone has gone through this problem? any tips?

    Thank you!
    Attached Files
    Last edited by -=|zami|=-; Fri 19th Sep '14, 2:26am.

Related Topics

Collapse

Working...
X