The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Editing Template - Unclosed Curly Brace error
Trying to move from OpenX ad serving to Google DFP. The following code I added in is throwing me an error (in headinclude)
Code:
<script type="text/javascript"> var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; (function() { var gads = document.createElement('script'); gads.async = true; gads.type = 'text/javascript'; var useSSL = 'https:' == document.location.protocol; gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js'; var node = document.getElementsByTagName('script')[0]; node.parentNode.insertBefore(gads, node); })(); </script> Well I noticed a closing </script> tag was missing from the preceding Google Analytics tracking code. but for some reason, I'm still not seeing my ads. Also, I tried the vb:literal trick that gets me working, and I only need to wrap the first section with VB Literal to get it to work. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|