PDA

View Full Version : vbulletin 4.2.2 mobile ads showing blank pages


coolbreeze86
12-01-2016, 05:26 PM
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
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
Just wrap literal tags around your add code like mentioned above.

{literal}Your Ads{/literal}

except you should use the correct syntax, which is:
<vb:literal>your code here</vb:literal>