vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Remove code showing at top of page (https://vborg.vbsupport.ru/showthread.php?t=320634)

RKLounge 10-28-2015 05:28 PM

Remove code showing at top of page
 
Website: http://RKLounge.com
Vbulletin 4.2.3 (default theme)

Code showing on homepage (top of page):
I noticed the code goes away when i turn the sidebar off, but i want it on.

');var sidebar_align='right';var content_container_margin=parseInt('290px');var sidebar_width=parseInt('270px');

Code showing on 'My Profile' (top of page):
');} else {document.write('');document.write('');document.wr ite('');document.write('');document.write('');docu ment.write('');document.write('');document.write(' ');} document.write('');


How do i hide this code from showing? Thank you.

Lynne 10-28-2015 08:22 PM

I do not see the problem at all on your site, so it's impossible to tell what is it from and give a fix. Try doing a search for that code in the templates and see if you can find it.

RKLounge 10-28-2015 08:46 PM

Quote:

Originally Posted by Lynne (Post 2557787)
I do not see the problem at all on your site, so it's impossible to tell what is it from and give a fix. Try doing a search for that code in the templates and see if you can find it.

Sorry Lynne, the code showing was ugly so i turned the sidebar off to make it go away. I just turned the sidebar back on so you can see the issue.

I did the search for the code but came up empty, i'll keep looking in the templates for now.

Lynne 10-29-2015 01:18 AM

What are you using on your server that is adding "pagespeed.jm" to all the links:

HTML Code:

')<!--[if lt IE 8]><link rel="stylesheet" type="text/css" href="css.php?styleid=1&amp;langid=1&amp;d=1446084785&amp;td=ltr&amp;sheet=sidebar-ie.css" /><![endif]-->
        <script type="text/javascript">document.write('<script type="text/javascript" src="'+yuipath+'/animation/animation-min.js?v=423"></script>');var sidebar_align='right';var content_container_margin=parseInt('310px');var sidebar_width=parseInt('290px');</script>
        <script type="text/javascript" src="http://rklounge.com/clientscript/vbulletin-sidebar.js,qv=423.pagespeed.jm.bu0Qt2X4x8.js"></script>
       
        <link rel="stylesheet" type="text/css" href="A.css.php,qstyleid=1,alangid=1,ad=1446084785,atd=ltr,asheet=additional.css.pagespeed.cf.Q6a22XscAj.css"/>

Try disabling that. Above is where the code problem is. So, something is putting it there.

RKLounge 10-29-2015 01:27 AM

Quote:

Originally Posted by Lynne (Post 2557811)
What are you using on your server that is adding "pagespeed.jm" to all the links: Try disabling that. Above is where the code problem is. So, something is putting it there.

Thank you Lynne! This was resolved by logging in to my CPanel and loading SuperCacher -- there i disabled Google Page Speed and the code went away.

Issue resolved :):)!


All times are GMT. The time now is 10:10 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.00978 seconds
  • Memory Usage 1,725KB
  • 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_html_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