View Full Version : Javascript Pop Under HTML code Not Working In Ad Location Templates
HipHopStan.com
09-30-2011, 11:26 PM
One of my new advertiser's javascript pop-under html code isn't working in any of our ad location templates. Something is altering the code when i look at it in page source.
<!-- MGID Pop-under Start --><script type="text/javascript"> var MGCD = new Date(); document.write('<scr' +'ipt type="text/javascript"' +' src=".............'" charset="utf-8"></scr'+'ipt>'); </script><!-- MGID Pop-under End -->
I tried turning off virtual html but that isn't the problem.
website (http://www.hiphopstan.com/forum)
Lynne
09-30-2011, 11:31 PM
You said something is altering it.... so what is it supposed to look like and what does it look like?
And, try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
HipHopStan.com
10-01-2011, 01:26 AM
the code appeared when I placed define('DISABLE_HOOKS', true); underneath <?php
when I take off define('DISABLE_HOOKS', true); I can't find the code in my page source
the code is suppose to appear like this
<!-- MGID Pop-under Start --><script type="text/javascript"> var MGCD = new Date(); document.write('<scr' +'ipt type="text/javascript"' +' src="http://jsu.dt07.net/h/i/hiphopstan.com.3695.js?t=' +MGCD.getYear() +MGCD.getMonth() +MGCD.getDate() +MGCD.getHours() +'" charset="utf-8"></scr'+'ipt>'); </script><!-- MGID Pop-under End -->
Lynne
10-01-2011, 02:29 AM
Then the problem is because of one of your modifications.
HipHopStan.com
10-02-2011, 07:25 PM
Is there a fix for this? It's vbseo causing it. When i disable vbseo -- the issue doesn't occur.
Lynne
10-03-2011, 02:01 AM
Is there a fix for this? It's vbseo causing it. When i disable vbseo -- the issue doesn't occur.
Then ask for the fix over on the vbseo forums.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.