vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   vbulletin 4.2.2 mobile ads showing blank pages (https://vborg.vbsupport.ru/showthread.php?t=323957)

coolbreeze86 12-01-2016 05:26 PM

vbulletin 4.2.2 mobile ads showing blank pages
 
hi all,

I am trying to add google adsense to the pages but it shows well in forum pages and others but in thread pages it is giving white blank screen.

did any only have any ideas.

thank you

Brandon Sheley 12-02-2016 06:18 PM

Check for spaces in the file you're trying to add the ads in.
https://www.vbulletin.com/docs/html/blank_pages

Budget101 12-10-2016 01:57 PM

Quote:

Originally Posted by coolbreeze86 (Post 2578992)
hi all,

I am trying to add google adsense to the pages but it shows well in forum pages and others but in thread pages it is giving white blank screen.

did any only have any ideas.

thank you


if you're using async ads you cannot run both async & sync in the same page- it'll give you a white page.

Async ads have to be wrapped in vb literal tags to work. Sync ads do not and will return a white page if you use them.

You have to put your async code in the header just below the following:
<base href="{vb:raw basepath}" /><!--[if IE]></base><![endif]-->

If you go any lower, the ads wont render & you'll get a white page.

RichieBoy67 12-10-2016 02:52 PM

Just wrap literal tags around your add code like mentioned above.

{literal}Your Ads{/literal}

Budget101 12-10-2016 03:05 PM

Quote:

Originally Posted by RichieBoy67 (Post 2579299)
Just wrap literal tags around your add code like mentioned above.

{literal}Your Ads{/literal}

except you should use the correct syntax, which is:
Code:

<vb:literal>your code here</vb:literal>


All times are GMT. The time now is 02:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01057 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete