Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 10-28-2015, 05:28 PM
RKLounge RKLounge is offline
 
Join Date: Oct 2015
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 10-28-2015, 08:22 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 10-28-2015, 08:46 PM
RKLounge RKLounge is offline
 
Join Date: Oct 2015
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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.
Reply With Quote
  #4  
Old 10-29-2015, 01:18 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
MarkFL
  #5  
Old 10-29-2015, 01:27 AM
RKLounge RKLounge is offline
 
Join Date: Oct 2015
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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 !
Reply With Quote
Благодарность от:
Lynne
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04224 seconds
  • Memory Usage 2,206KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (2)post_thanks_box_bit
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete