vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Javascript Pop Under HTML code Not Working In Ad Location Templates (https://vborg.vbsupport.ru/showthread.php?t=271215)

HipHopStan.com 09-30-2011 10:26 PM

Javascript Pop Under HTML code Not Working In Ad Location Templates
 
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.

Code:

<!-- 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

Lynne 09-30-2011 10: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

PHP Code:

define('DISABLE_HOOKS'true); 


HipHopStan.com 10-01-2011 12: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

Code:

<!-- 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 01:29 AM

Then the problem is because of one of your modifications.

HipHopStan.com 10-02-2011 06: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 01:01 AM

Quote:

Originally Posted by HipHopStan.com (Post 2252455)
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.


All times are GMT. The time now is 04:19 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.01744 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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