Page 1 of 1

Please Help! mCHAT

Posted: 12 Jun 2010, 01:34
by nicoh
Hello, I have a serious problem with the following process

Code: Select all

Find

</head>

Add before

<!-- IF S_MCHAT_ENABLE -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_core_mini.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<link rel="stylesheet" href="{ROOT_PATH}mchat/mchat_prosilver.css" type="text/css" />
<!-- ENDIF -->
In doing so, the arrows show the image, they disappear!

[hsimg]http://img813.imageshack.us/img813/8864/dibujoo.png[/hsimg]

It happens with all the codes that go before the / head

OVERALL_HEADER

Code: Select all

<head>
<!-- IF S_MCHAT_ENABLE -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_core_mini.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<link rel="stylesheet" href="{ROOT_PATH}mchat/mchat_prosilver.css" type="text/css" />
<!-- ENDIF -->
<link rel="shortcut icon" href="{T_THEME_PATH}/images/favicon.ico" />

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<!-- INCLUDE ../../../rokbb3.php -->
<!-- INCLUDE refraction.php -->

<!--
	phpBB style name: refraction
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by: RocketTheme, LLC (C) Copyright. All rights reserved.    
	
	NOTE: This page was generated by phpBB, the free open-source bulletin board package.
	      The phpBB Group is not responsible for the content of this page and forum. For more information
	      about phpBB please visit http://www.phpbb.com
-->


<script type="text/javascript">
// <![CDATA[
	var jump_page = '{LA_JUMP_PAGE}:';
	var on_page = '{ON_PAGE}';
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';
	var style_cookie = 'phpBBstyle';
	var style_cookie_settings = '{A_COOKIE_SETTINGS}';
	var onload_functions = new Array();
	var onunload_functions = new Array();

	<!-- IF S_USER_PM_POPUP -->
		if ({S_NEW_PM})
		{
			var url = '{UA_POPUP_PM}';
			window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
		}
	<!-- ENDIF -->

	/**
	* Find a member
	*/
	function find_username(url)
	{
		popup(url, 760, 570, '_usersearch');
		return false;
	}

	/**
	* New function for handling multiple calls to window.onload and window.unload by pentapenguin
	*/
	window.onload = function()
	{
		for (var i = 0; i < onload_functions.length; i++)
		{
			eval(onload_functions[i]);
		}
	}

	window.onunload = function()
	{
		for (var i = 0; i < onunload_functions.length; i++)
		{
			eval(onunload_functions[i]);
		}
	}

// ]]>
</script>

<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>
 <script type="text/javascript" src="{T_TEMPLATE_PATH}/tooltip.js"></script>

<!-- INCLUDE reimg_content.html -->
<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />

<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />

<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
	<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->

<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/mootools-release-1.11.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/rokutils.js"></script>
<!-- IF ENABLE_REF_FONTSPANS -->
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/rokfonts.js"></script>
<!-- ENDIF -->
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/rokmoomenu.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/mootools.bgiframe.js"></script>
<!-- IF ENABLE_REF_INFO -->
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/roknewsflash-packed.js"></script>
<!-- ENDIF -->

                <style type="text/css">
    <!--
	body.iehandle #main-background {background-attachment:<!-- IF REF_BG_FIXED -->{REF_BG_FIXED}<!-- ELSE -->scroll<!-- ENDIF -->;}
	div.wrapper { margin: 0 auto; <!-- IF REF_WIDTH -->width:{REF_WIDTH}px;<!-- ELSE -->width:979px;<!-- ENDIF -->padding:0;}
	#inset-block-left { width:0px;padding:0;}
	#inset-block-right { width:0px;padding:0;}
	#maincontent-block { margin-right:0px;margin-left:0px;}
	#main-body ul.menu li a:hover, ul.roknewspager-numbers li.active, .feature-block .feature-desc, #horiz-menu li.active .link span, #horiz-menu li:hover .link span, #horiz-menu li.sfHover .link span, #horiz-menu li:hover li:hover .link span, #horiz-menu li:hover li:hover li:hover .link span, #horiz-menu li.sfHover li.sfHover .link span, #horiz-menu li.sfHover li.sfHover li.sfHover .link span, #showcase-section, .side-mod h3, #searchmod-surround h3, #main-body ul.menu li a:hover, ul.roknewspager-numbers li.active, a:hover, #featuremodules,#cp-main h2,#tabs .activetab a:hover span,#minitabs li.activetab a, #minitabs li.activetab a:hover {color: <!-- IF REF_SHOWCASE_TEXT -->{REF_SHOWCASE_TEXT}<!-- ELSE -->#dddddd<!-- ENDIF -->;}
	#showcase-section .feature-block .feature-title,li.header dt, li.header dd,li.header dt a:link,li.header dt a:visited,.post:target .content {color:<!-- IF REF_SHOWCASE_TITLE -->{REF_SHOWCASE_TITLE}<!-- ELSE -->#d2de00<!-- ENDIF -->;}
	#showcase-section a,a:hover,a.forumtitle:active,a.forumtitle:hover,a.topictitle:active,a.topictitle:hover,a.left:hover,a.button1:hover, input.button1:hover, input.button3:hover, a.button2:hover, input.button2:hover,.inputbox:focus,.inputbox:hover {color: <!-- IF REF_SHOWCASE_LINK -->{REF_SHOWCASE_LINK}<!-- ELSE -->#A4AD2B<!-- ENDIF -->;}
	.variation-chooser input, #mainbody-overlay, #searchmod-surround .inputbox, form.search_result input.button, form.poll input.button, form.form-login .inputbox, form.form-login input.button, form.log input.button, #bottom, form#emailForm input.button, #copyright, #top-button a, input#search_searchword.inputbox, form.search_result legend, .contact_email .inputbox, .readon-wrap1 input.button, input#email.required, .logo-module, .footer-mod,#message-box textarea,#navigation #active-subsection a {color: <!-- IF REF_BODY_TEXT -->{REF_BODY_TEXT}<!-- ELSE -->#aaaaaa<!-- ENDIF -->;}
	#roktwittie .status .header .nick, .search-results-full span.highlight, #main-background div.articleListingImage img, #main-background div.sbArticleImage img  {background: <!-- IF REF_BODY_LINK -->{REF_BODY_LINK}<!-- ELSE -->#A4AD2B<!-- ENDIF -->;}
	a,a:link,a:visited, .contentheading, #horiz-menu li:hover li .link span, #horiz-menu li:hover li:hover li .link span, #horiz-menu li.sfHover li .link span, #horiz-menu li.sfHover li.sfHover li .link span, .componentheading span, .roktabs-links li.active, .side-mod h3 span, .showcase-panel h3 span, #featuremodules h3,#newsflash ul,.postprofile strong,.pagination span strong,.pagination span a, .pagination span a:link, .pagination span a:visited, .pagination span a:active,.inputbox,#tabs .activetab a span, #navigation #active-subsection a:hover,#navigation a:hover,#cp-main .panel li.header dd, #cp-main .panel li.header dt,dt label,h3   {color: <!-- IF REF_BODY_LINK -->{REF_BODY_LINK}<!-- ELSE -->#A4AD2B<!-- ENDIF -->;}
    -->
    
    <!-- IF REF_MENUPOSITION == left or REF_MENUPOSITION == right -->
#postingbox .autowidth {width: 90% !important; }
	#postingbox .column2 { width: 75%; margin-top:-75px; position: relative;}
	#postingbox .column1 { width: 70%;position: relative; z-index:10000;}
	#postingbox fieldset.fields1 dd { margin-left: 15em;}
	#colour_palette dd { margin-left: 6em !important;}
	<!-- PHP -->if (rok_isIe(7)) {print("#postingbox .column2 { width: 75%; margin-top:0px; position: relative; margin-left: -300px;}");}<!-- ENDPHP -->
	<!-- PHP -->if (rok_isIe(6)) {print("#postingbox .column2 { width: 75%; margin-top:0px; position: relative; margin-left: -300px;} #message-box #message {width: 98%;}");}<!-- ENDPHP -->
	<!-- ENDIF -->
	
	 <!-- IF REF_MENUPOSITION == full -->
	ul.topiclist dt {width:47%;}
	dd.lastpost {width:30%;}
	<!-- ENDIF -->
	
	<!-- IF AVATAR_POSITION == left -->
	.postprofile {float: left; border: 0px; margin-left: -6px;}
	.postbody {float: right;}
	ul.profile-icons {margin-right: 40px;}
	<!-- ENDIF -->
	
  </style>

<!--[if IE 7]>
<link href="{T_THEME_PATH}/template_ie7.css" rel="stylesheet" type="text/css" />	
<![endif]-->	


<!--[if lte IE 6]>
<link href="{T_THEME_PATH}/template_ie6.css" rel="stylesheet" type="text/css" />
<script src="{T_TEMPLATE_PATH}/rt_js/DD_belatedPNG.js"></script>
<script type="text/javascript">
	var pngClasses = ['.png', '.menutop li.active a', '.readon1-l', '.readon1-m', '.readon1-r', '#roktwittie .status .header', '.blog .roknewspager-div', '.control-prev', '.control-next', '.control-prev-hover', '#main-body ul.menu li', '.roknewspager-div', '#main-body ul.menu li a', '.roknewspager-pages', '.roknewspager-prev-disabled', '.roknewspager-prev', '.roknewspager-next-disabled', '.roknewspager-numbers', '.roknewspager-next', '#roktwittie .roktwittie-surround', 'a.sbDisqusCounter', 'div.superBloggerTop', 'div.sbRating', 'div.sbAuthorBlock', '#disqus_thread', 'div.superBloggerTop a', 'div.superBloggerTop img', '.sbAuthorLatestTweets ul li', '.sbAuthorLatest ul li', 'span.ob_commentOut', '#roksearch_results .roksearch_row_btm', '#roksearch_results .roksearch_header', '#roksearch_results', '#roksearch_results .roksearch_odd', '#roksearch_results .roksearch_even', '#roksearch_results .roksearch_even-hover', '#roksearch_results .roksearch_odd-hover', 'pre', 'blockquote', 'th.sectiontableheader', '.roktabs-links ul li span', '.roktabs-links ul li.active', '.roktabs-wrapper .arrow-next', '.roktabs-wrapper .arrow-prev', '.active-arrows', '.icon', '.forabg', '.forumbg', 'ul.forums', 'ul.topics', 'li.row', 'img', 'a', 'li', '#keywords', 'span','input','.post_bg','.panel','.inputbox'];
	
	pngClasses.each(function(fixMePlease) {
		DD_belatedPNG.fix(fixMePlease);
	});
	
</script>
<![endif]-->
   <script type="text/javascript">
		window.templatePath = '{THEME_PATH}';
		window.uri = '{U_INDEX}';
		window.currentStyle = '{REF_PRESET_STYLE}';
		
<!-- IF ENABLE_REF_FONTSPANS -->	
window.addEvent('domready', function() {
		var modules = ['side-mod', 'showcase-panel'];
		var header = ['h3','h1'];
		RokBuildSpans(modules, header);
	});
<!-- ENDIF -->

window.addEvent('domready', function() {
    	new Rokmoomenu($E('ul.menutop '), {
    		bgiframe: false,
    		delay: 500,
    		verhor: true,
    		animate: {
    			props: ['height'],
    			opts: {
    				duration: 500,
    				fps: 100,
    				transition: Fx.Transitions.Quad.easeOut
    			}
    		},
    		bg: {
    			enabled: true,
    			overEffect: {
    				duration: 500,
    				transition: Fx.Transitions.Sine.easeOut
    			},
    			outEffect: {
    				duration: 600,
    				transition: Fx.Transitions.Sine.easeOut
    			}
    		},
    		submenus: {
    			enabled: true,
    			opacity: 0.9,
    			overEffect: {
    				duration: 50,
    				transition: Fx.Transitions.Expo.easeOut
    			},
    			outEffect: {
    				duration: 600,
    				transition: Fx.Transitions.Sine.easeIn
    			},
    			offsets: {
    				top: 3,
    				right: 1,
    				bottom: 0,
    				left: 1
    			}
    		}
    	});
    });
  </script>
		      
		      <!-- IF REF_PRESET_STYLE eq 'style2' or REF_PRESET_STYLE eq 'style10' -->
<script type="text/javascript">
// <![CDATA[
window.addEvent('domready', function() {
  var newImagePath = '{ROOT_PATH}/styles/refraction_light/imageset/'; // remember to add the ending forward slash
  var classToSearch = '.icon';
  
  var els = $$(classToSearch);
  if (els.length) {
    els.each(function(el) {
      var bg = el.getStyle('background-image'), newBg, imgSource;
      bg = bg.replace('")', '').replace(")", '');
      var tmp = bg.split('/');
      imgSource = tmp[tmp.length - 1];
      el.setStyle('background-image', 'url('+newImagePath+imgSource+')');     
    });
  }
});
// ]]>
</script>
	<!-- ENDIF -->

</head>