mchat_ajax_mini.js çakışması

phpBB 3.0.x sürümleri için MODlar hakkında ihtiyacınız olan desteği buradan sorarak alabilirsiniz.
Forum kuralları
- Yeni bir başlık açarken lütfen konu başlığına "Acil yardım", "Acele yardım" tarzlarında içerisinde "yardım" kelimesi geçen cümleler yazmayınız. Bu tip başlıklara kesinlikle cevap verilmeyecektir. Lütfen konu başlığına içeriği en iyi özetleyen anlaşılabilir bir cümle yazınız.

- Ayrıca yeni başlıklarınızı kesinlikle ilgili forumlara açınız. Örneğin, phpBB3 kurulum ve çalıştırması hakkında bir sorununuz varsa "3.0.x Destek Forumu" forumuna başlık açınız; phpBB3 temasından kaynaklı bir sorunuz varsa "3.0.x Stil/Tema Geliştirme & Tartışma & Yardım" forumuna başlık açınız; phpBB3 mod/eklentileriyle ilgili sorununuz varsa "3.0.x MOD Destek" forumuna başlık açınız. Bu kurala uymayan kullanıcıların başlıkları silinebilir ve kullanıcı uyarı alabilir ya da süresiz uzaklaştırılabilir.

- Site kurallarımızı okumadan kesinlikle forumlarımıza herhangi bir katılım yapmayınız.
Kilitli
Kullanıcı avatarı
aligünel
Kayıtlı Kullanıcı
Mesajlar: 150
Kayıt: 07.10.2007, 15:16
Konum: webmaster
İletişim:

mchat_ajax_mini.js çakışması

Mesaj gönderen aligünel »

Merhaba üstadlarım bişiy danışabilirmiyim benim foruma mchat kurdum yanlız mchat_ajax_mini.js çakışması var nasıl düzelteceğimi hiç bilmiyorum .js den hiç anlamıyorum aşağıya yazdığım 2 js bir biriyle çakışıyor birisi olmadan bir birinin işinide yapmıyorlar 2 js yede ihtiyacım var.

http://www.fooruz.com

==================================================================
mchat eklentisi -----------mchat_ajax_mini.js
-----------------------

Kod: Tümünü seç

/**
*
* @package mChat JavaScript Code mini
* @version 1.4.4 of 2013-11-03
* @copyright (c) 2013 By Rich McGirr (RMcGirr83) http://rmcgirr83.org
* @copyright (c) 2009 By Shapoval Andrey Vladimirovich (AllCity) ~ http://allcity.net.ru/
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
**/

var $jQ=jQuery.noConflict(true);
$jQ(function(){if(!mChatArchiveMode){var scrH=$jQ('#mChatmain')[0].scrollHeight;$jQ('#mChatmain').animate({scrollTop:scrH},1000,'swing');if(mChatPause){$jQ('#mChatMessage').bind('keypress',function(){clearInterval(interval);$jQ('#mChatLoadIMG,#mChatOkIMG,#mChatErrorIMG').hide();$jQ('#mChatRefreshText').html(mChatRefreshNo).addClass('mchat-alert');$jQ('#mChatPauseIMG').show()})}$jQ.fn.autoGrowInput=function(o){var width=$jQ('.mChatPanel').width();o=$jQ.extend({maxWidth:width-20,minWidth:0,comfortZone:20},o);this.filter('input:text').each(function(){var minWidth=o.minWidth||$jQ(this).width(),val='',input=$jQ(this),testSubject=$jQ('<div/>').css({position:'absolute',top:-9999,left:-9999,width:'auto',fontSize:input.css('fontSize'),fontFamily:input.css('fontFamily'),fontWeight:input.css('fontWeight'),letterSpacing:input.css('letterSpacing'),whiteSpace:'nowrap'}),check=function(){if(val===(val=input.val())){return}var escaped=val.replace(/&/g,'&').replace(/\s/g,' ').replace(/</g,'<').replace(/>/g,'>');testSubject.html(escaped);var testerWidth=testSubject.width(),newWidth=(testerWidth+o.comfortZone)>=minWidth?testerWidth+o.comfortZone:minWidth,currentWidth=input.width(),isValidWidthChange=(newWidth<currentWidth&&newWidth>=minWidth)||(newWidth>minWidth&&newWidth<o.maxWidth);if(isValidWidthChange){input.width(newWidth)}};testSubject.insertAfter(input);$jQ(this).bind('keypress blur change submit focus',check)});return this};$jQ('input.mChatText').autoGrowInput();if(mChatSound&&$jQ.cookie('mChatNoSound')!='yes'){$jQ.cookie('mChatNoSound',null);$jQ('#mChatUseSound').attr('checked','checked')}else{$jQ.cookie('mChatNoSound','yes');$jQ('#mChatUseSound').removeAttr('checked')}if($jQ('#mChatUserList').length&&($jQ.cookie('mChatShowUserList')=='yes'||mChatCustomPage)){$jQ('#mChatUserList').show()}}$jQ.browser={};$jQ.browser.msie=false;if(navigator.userAgent.match(/MSIE ([0-9]+)\./)||navigator.userAgent.match(/Trident\/7.0; rv 11.0/)){$jQ.browser.msie=true;}});var mChat={countDown:function(){if($jQ('#mChatSessMess').hasClass('mchat-alert')){$jQ('#mChatSessMess').removeClass('mchat-alert')}session_time=session_time-1;var sec=Math.floor(session_time);var min=Math.floor(sec/60);var hrs=Math.floor(min/60);sec=(sec%60);if(sec<=9){sec="0"+sec}min=(min%60);if(min<=9){min="0"+min}hrs=(hrs%60);if(hrs<=9){hrs="0"+hrs}var time_left=hrs+":"+min+":"+sec;$jQ('#mChatSessMess').html(mChatSessEnds+' '+time_left);if(session_time<=0){clearInterval(counter);$jQ('#mChatSessMess').html(mChatSessOut).addClass('mchat-alert')}},clear:function(){if($jQ('#mChatMessage').val()==''){return false}var answer=confirm(mChatReset);if(answer){if($jQ('#mChatRefreshText').hasClass('mchat-alert')){$jQ('#mChatRefreshText').removeClass('mchat-alert')}if(mChatPause){interval=setInterval(function(){mChat.refresh()},mChatRefresh)}$jQ('#mChatOkIMG').show();$jQ('#mChatLoadIMG, #mChatErrorIMG, #mChatPauseIMG').hide();$jQ('#mChatRefreshText').html(mChatRefreshYes);$jQ('#mChatMessage').val('').focus()}else{$jQ('#mChatMessage').focus()}},sound:function(file){if($jQ.cookie('mChatNoSound')=='yes'){return}if($jQ.browser.msie){$jQ('#mChatSound').html('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="0" width="0" type="application/x-shockwave-flash"><param name="movie" value="'+file+'"></object>')}else{$jQ('#mChatSound').html('<embed src="'+file+'" width="0" height="0" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>')}},toggle:function(id){$jQ('#mChat'+id).slideToggle('normal',function(){if($jQ('#mChat'+id).is(':visible')){$jQ.cookie('mChatShow'+id,'yes')}if($jQ('#mChat'+id).is(':hidden')){$jQ.cookie('mChatShow'+id,null)}})},add:function(){if($jQ('#mChatMessage').val()==''){return false}var mChatMessChars=$jQ('#mChatMessage').val().replace(/ /g,'');if(mChatMessChars.length>mChatMssgLngth&&mChatMssgLngth){alert(mChatMssgLngthLong);return}$jQ.ajax({url:mChatFile,timeout:10000,type:'POST',data:$jQ('#postform').serialize(),async:false,dataType:'text',beforeSend:function(){$jQ('#submit_button').attr('disabled','disabled');if(mChatUserTimeout){clearInterval(activeinterval);clearInterval(counter)}clearInterval(interval)},success:function(){mChat.refresh()},error:function(XMLHttpRequest){if(XMLHttpRequest.status==400){alert(mChatFlood)}else if(XMLHttpRequest.status==403){alert(mChatNoAccess)}else if(XMLHttpRequest.status==501){alert(mChatNoMessageInput)}},complete:function(){if($jQ('#mChatData').children('#mChatNoMessage :last')){$jQ('#mChatNoMessage').remove()}$jQ('#submit_button').removeAttr('disabled');interval=setInterval(function(){mChat.refresh()},mChatRefresh);if(mChatUserTimeout){session_time=mChatUserTimeout?mChatUserTimeout/1000:false;counter=setInterval(function(){mChat.countDown()},1000);activeinterval=setInterval(function(){mChat.active()},mChatUserTimeout)}$jQ('#mChatMessage').val('').focus()}})},edit:function(id){var message=$jQ('#edit'+id).val();var data=prompt(mChatEditInfo,message);if(data){$jQ.ajax({url:mChatFile,timeout:10000,type:'POST',data:{mode:'edit',message_id:id,message:data},dataType:'text',beforeSend:function(){clearInterval(interval);if(mChatUserTimeout){clearInterval(activeinterval);clearInterval(counter);$jQ('#mChatSessTimer').html(mChatRefreshing)}},success:function(html){$jQ('#mess'+id).fadeOut('slow',function(){$jQ(this).replaceWith(html);$jQ('#mess'+id).css('display','none').fadeIn('slow')})},error:function(XMLHttpRequest){if(XMLHttpRequest.status==403){alert(mChatNoAccess)}else if(XMLHttpRequest.status==501){alert(mChatNoMessageInput)}},complete:function(){interval=setInterval(function(){mChat.refresh()},mChatRefresh);if(mChatUserTimeout){session_time=mChatUserTimeout?mChatUserTimeout/1000:false;counter=setInterval(function(){mChat.countDown()},1000);activeinterval=setInterval(function(){mChat.active()},mChatUserTimeout)}if(!mChatArchiveMode){scrH=$jQ('#mChatmain')[0].scrollHeight;window.setTimeout(function(){$jQ('#mChatmain').animate({scrollTop:scrH},1000,'swing')},1500)}}})}},del:function(id){if(confirm(mChatDelConfirm)){$jQ.ajax({url:mChatFile,timeout:10000,type:'POST',data:{mode:'delete',message_id:id},beforeSend:function(){clearInterval(interval);if(mChatUserTimeout){clearInterval(activeinterval);clearInterval(counter);$jQ('#mChatSessTimer').html(mChatRefreshing)}},success:function(){$jQ('#mess'+id).fadeOut('slow',function(){$jQ(this).remove()});mChat.sound(mChatForumRoot+'mchat/del.swf')},error:function(){alert(mChatNoAccess)},complete:function(){interval=setInterval(function(){mChat.refresh()},mChatRefresh);if(mChatUserTimeout){session_time=mChatUserTimeout?mChatUserTimeout/1000:false;counter=setInterval(function(){mChat.countDown()},1000);activeinterval=setInterval(function(){mChat.active()},mChatUserTimeout)}}})}},refresh:function(){if(mChatArchiveMode){return}var mess_id=0;if($jQ('#mChatData').children().not('#mChatNoMessage').length){if($jQ('#mChatNoMessage')){$jQ('#mChatNoMessage').remove()}mess_id=$jQ('#mChatData').children(':last-child').attr('id').replace('mess','')}var oldScrH=$jQ('#mChatmain')[0].scrollHeight;$jQ.ajax({url:mChatFile,timeout:10000,type:'POST',data:{mode:'read',message_last_id:mess_id},dataType:'html',beforeSend:function(){$jQ('#mChatOkIMG,#mChatErrorIMG,#mChatPauseIMG').hide();$jQ('#mChatLoadIMG').show()},success:function(html){if(html!=''&&html!=0){if($jQ('#mChatRefreshText').hasClass('mchat-alert')){$jQ('#mChatRefreshText').removeClass('mchat-alert')}$jQ('#mChatData').append(html).children(':last').not('#mChatNoMessage');var newInner=$jQ('#mChatData').children().not('#mChatNoMessage').innerHeight();var newH=oldScrH+newInner;$jQ('#mChatmain').animate({scrollTop:newH},'slow');mChat.sound(mChatForumRoot+'mchat/add.swf')}setTimeout(function(){$jQ('#mChatLoadIMG,#mChatErrorIMG,#mChatPauseIMG').hide();$jQ('#mChatOkIMG').show();$jQ('#mChatRefreshText').html(mChatRefreshYes)},500)},error:function(){$jQ('#mChatLoadIMG,#mChatOkIMG,#mChatPauseIMG,#mChatRefreshTextNo,#mChatPauseIMG,').hide();$jQ('#mChatErrorIMG').show();mChat.sound(mChatForumRoot+'mchat/error.swf')},complete:function(){if(!$jQ('#mChatData').children(':last').length){$jQ('#mChatData').append('<div id="mChatNoMessage">'+mChatNoMessage+'</div>').show('slow')}}})},stats:function(){if(!mChatWhois){return}$jQ.ajax({url:mChatFile,timeout:10000,type:'POST',data:{mode:'stats'},dataType:'html',beforeSend:function(){if(mChatCustomPage){$jQ('#mChatRefreshN').show();$jQ('#mChatRefresh').hide()}},success:function(stats){$jQ('#mChatStats').replaceWith(stats);if(mChatCustomPage){setTimeout(function(){$jQ('#mChatRefreshN').hide();$jQ('#mChatRefresh').show()},500)}},error:function(){mChat.sound(mChatForumRoot+'mchat/error.swf')},complete:function(){if($jQ('#mChatUserList').length&&($jQ.cookie('mChatShowUserList')=='yes'||mChatCustomPage)){$jQ('#mChatUserList').css('display','block')}}})},active:function(){if(mChatArchiveMode||!mChatUserTimeout){return}clearInterval(interval);$jQ('#mChatLoadIMG,#mChatOkIMG,#mChatErrorIMG').hide();$jQ('#mChatPauseIMG').show();$jQ('#mChatRefreshText').html(mChatRefreshNo).addClass('mchat-alert');$jQ('#mChatSessMess').html(mChatSessOut).addClass('mchat-alert')}};var interval=setInterval(function(){mChat.refresh()},mChatRefresh);var statsinterval=setInterval(function(){mChat.stats()},mChatWhoisRefresh);var activeinterval=setInterval(function(){mChat.active()},mChatUserTimeout);var session_time=mChatUserTimeout?mChatUserTimeout/1000:false;if(mChatUserTimeout){var counter=setInterval(function(){mChat.countDown()},1000)}if($jQ.cookie('mChatShowSmiles')=='yes'&&$jQ('#mChatSmiles').css('display','none')){$jQ('#mChatSmiles').slideToggle('slow')}if($jQ.cookie('mChatShowBBCodes')=='yes'&&$jQ('#mChatBBCodes').css('display','none')){$jQ('#mChatBBCodes').slideToggle('slow')}if($jQ.cookie('mChatShowUserList')=='yes'&&$jQ('#mChatUserList').length){$jQ('#mChatUserList').slideToggle('slow')}if($jQ.cookie('mChatShowColour')=='yes'&&$jQ('#mChatColour').css('display','none')){$jQ('#mChatColour').slideToggle('slow')}$jQ('#mChatUseSound').change(function(){if($jQ(this).is(':checked')){$jQ.cookie('mChatNoSound',null)}else{$jQ.cookie('mChatNoSound','yes')}});

================================================================================
pbwow2 eklentisi-----------scripts_footer.html
----------------------------

Kod: Tümünü seç

<!-- INCLUDE quick_login.html -->

<script type="text/javascript">
$(document).ready(function(){
	if (typeof jQuery != 'undefined') {
		$(".wow-index .forabg > h2, .wow-recent > h2, .index-extra > h2, .inner-footer > h2, .inner-footer").addClass("toggle")
        $(".wow-index .forabg, .wow-recent, .index-extra, .inner-footer").collapse({
			persist: true,
			open: function() {
				this.stop(true,true);
				this.addClass("open");
				this.slideDown(400);
			},
			close: function() {
				this.stop(true,true);
				this.slideUp(400);
				this.removeClass("open");
			}
		});

		$(".wow-index .subforums-menu").each(function() {
			$(this).html($(this).html().replace(/[\,][\ ]/g,""));
		});

		function subActivate(forum) {
			var menu = $(forum).children(".subforums-menu");
			var button = $(forum).children(".subforums-button");
			menu.stop(true,true);
			menu.css('opacity', 0)
			menu.slideDown(200);
			menu.animate(
				{ opacity: 1 },
				{ queue: false, duration: 300 }
			);
			menu.addClass("active");
			button.addClass("active");
		}

		function subDeactivate(forum) {
			var menu = $(forum).children(".subforums-menu");
			var button = $(forum).children(".subforums-button");
			menu.stop(true,true);
			menu.slideUp(200);
			menu.animate(
				{ opacity: 0 },
				{ queue: false, duration: 200 }
			);
			menu.removeClass("active");
			button.removeClass("active");
		}
		
		function subDetermine(button, force) {
			var menu = $(button).siblings(".subforums-menu");
			if (menu.hasClass("active") && force) {
				return;
			}
			else if (menu.hasClass("active")) {
				subDeactivate($(button).parent());
			} else {
				$(".wow-forum div.active").each(function() {
					subDeactivate($(this).parent());
				});
				subActivate($(button).parent());
			}
		}
		
		$(".subforums-button").click(function (e) {
			subDetermine($(this),false);
			e.stopPropagation();
			e.preventDefault();
			return false;
		}); 

		var timeout;
		$(document).delegate(".subforums-button", "mouseenter", function() {
			subDetermine($(this),true);
			clearTimeout(timeout);
		})
		
		$(document).delegate(".subforums-menu", "mouseenter", function() {
			clearTimeout(timeout);
		})
		
		$(document).delegate(".subforums-button, .subforums-menu", "mouseleave", function() {
			var $this = $(this);
			timeout = setTimeout(function() {
				subDeactivate($this.parent());
			}, 1000)
		})

		<!-- IF S_NAVMENU -->
		function menuActivate(forum) {
			var menu = $(forum).children(".nav-popup");
			var button = $(forum).children("a");
			menu.stop(true,true);
			menu.css('opacity', 0)
			menu.slideDown(200);
			menu.animate(
				{ opacity: 1 },
				{ queue: false, duration: 300 }
			);
			menu.addClass("active");
			button.addClass("active");
		}

		function menuDeactivate(forum) {
			var menu = $(forum).children(".nav-popup");
			var button = $(forum).children("a");
			menu.stop(true,true);
			menu.slideUp(200);
			menu.animate(
				{ opacity: 0 },
				{ queue: false, duration: 200 }
			);
			menu.removeClass("active");
			button.removeClass("active");
		}
		
		function menuDetermine(button, force) {
			var menu = $(button).siblings(".nav-popup");
			if (menu.hasClass("active") && force) {
				return;
			}
			else if (menu.hasClass("active")) {
				menuDeactivate($(button).parent());
			} else {
				$("#breadcrumb .nav-popup").each(function() {
					menuDeactivate($(this).parent());
				});
				menuActivate($(button).parent());
			}
		}

		if(!jQuery.browser.mobile) {
			var timeout2;
			$(document).delegate("#breadcrumb .nav-link > a", "mouseenter", function() {
				menuDetermine($(this),true);
				clearTimeout(timeout2);
			})
			
			$(document).delegate("#breadcrumb .nav-popup", "mouseenter", function() {
				clearTimeout(timeout2);
			})
			
			$(document).delegate("#breadcrumb .nav-link > a, #breadcrumb .nav-popup", "mouseleave", function() {
				var $this = $(this);
				timeout2 = setTimeout(function() {
					menuDeactivate($this.parent());
				}, 700)
			})
		}
		<!-- ENDIF -->

		<!-- IF S_JQUERY_TOPIC_PREVIEW -->
		if(!jQuery.browser.mobile) {
			$("dt[title]").topicPreview({
				"dir"   : "{S_CONTENT_DIRECTION}", // do not change
				"theme" : "", // use "light" or "dark" topic preview theme
				"delay" : 500, // sets the delay before showing topic previews (in milliseconds)
				"width" : 360, // sets the width of topic previews (in pixels)
				"left"  : 35, // sets the position offset from the left (in pixels)
				"drift" : 15, // sets the amount of vertical animation, use negative values to change direction (in pixels)
				"noavatar" : "{T_IMAGESET_PATH}/images/portraits/def.gif"
			});
		}
		<!-- ENDIF -->

		<!-- IF S_TOPBAR_FIXED -->
		var $window = $(window);
		var $pane = $('body');
	
		function checkWidth() {
			var windowsize = $window.width();
			if (windowsize > 670) {
				if (!$pane.hasClass('top-bar-fixed')) {
					$pane.addClass('top-bar-fixed');
				}
			} else {
				if ($pane.hasClass('top-bar-fixed')) {
					$pane.removeClass('top-bar-fixed');
				}
			}
		}
		checkWidth();
		$(window).resize(checkWidth);
		<!-- ENDIF -->
	}
}); 
</script>

<!-- IF S_TOOLTIPS_FOOTER and not S_IS_BOT -->
<!-- IF WOWTIPS_SCRIPT -->{WOWTIPS_SCRIPT}<!-- ENDIF -->
<!-- IF D3TIPS_SCRIPT -->{D3TIPS_SCRIPT}<!-- ENDIF -->
<!-- IF ZAMTIPS_SCRIPT -->{ZAMTIPS_SCRIPT}<!-- ENDIF -->
<!-- ENDIF -->

<!-- IF TRACKING_CODE -->{TRACKING_CODE}<!-- ENDIF -->
En son aligünel tarafından 13.01.2014, 21:48 tarihinde düzenlendi, toplamda 1 kere düzenlendi.
Kullanıcı avatarı
Özcan Akbulut
Kayıtlı Kullanıcı
Mesajlar: 2426
Kayıt: 14.06.2008, 16:52
Konum: Nürnberg
İletişim:

Re: mchat_ajax_mini.js çakışmaı

Mesaj gönderen Özcan Akbulut »

Kodları sadece gerkeli olan sayfaya ekleyerek denediniz mi? Örneğin; mChat sadece index'de kullanılıyorsa ona ait olan Kodu index_body.html'e ekleyebilirsiniz. Diğerini de index'den 'Exclude' bırakabilirsiniz.

İkisi de jquery ile çalıştığı için sürüm uyumsuzluğu olabilir.

Ayrıca gördüğüm kadarıyla

Kod: Tümünü seç

if (typeof jQuery != 'undefined') {
iki kez geliyor, sebeb bu olabilir.
Bu KODu

Kod: Tümünü seç

		
$("a#quick-login").attr("href", "#")
		$("a#quick-login").click(function(){
			$("#quick-login-bg, #quick-login-panel").fadeIn(300);
		})
		$("#quick-login-bg").click(function () { 
			$("#quick-login-bg, #quick-login-panel").fadeOut(300);  
		})
bunun önüne ekleyerek deneyebilirsiniz. Daha sonra üstte ki KODu silmelisiniz.

Kod: Tümünü seç

$(".wow-index .forabg > h2, .wow-recent > h2, .index-extra > h2, .inner-footer > h2, .inner-footer").addClass("toggle")
Silinmesi gereken:

Kod: Tümünü seç

<script type="text/javascript">
$(document).ready(function(){
	if (typeof jQuery != 'undefined') {  
		$("a#quick-login").attr("href", "#")
		$("a#quick-login").click(function(){
			$("#quick-login-bg, #quick-login-panel").fadeIn(300);
		})
		$("#quick-login-bg").click(function () { 
			$("#quick-login-bg, #quick-login-panel").fadeOut(300);  
		})
	}
})  
</script>
akblt.space

Başlangiç Bilgileri phpBB 3.0.x :: 3.1.x
Kullanıcı avatarı
aligünel
Kayıtlı Kullanıcı
Mesajlar: 150
Kayıt: 07.10.2007, 15:16
Konum: webmaster
İletişim:

Re: mchat_ajax_mini.js çakışmaı

Mesaj gönderen aligünel »

Özcan dediklerini yaptım ama olmadı çünkü her ikiside farklı sekmelerde sorunsuz çalışıyorlar ama index.html de ise çakışıyor her ikiside farklı görevleri var kesinlikle mchat için olan mchat_ajax_mini.js kodlarında deşiklik olması gerek onuda nasıl değiştirebilirim onun içinse hiç bilgim yok .js hiç anlamıyorum. yardımcı olabilirmisin.
Kullanıcı avatarı
aligünel
Kayıtlı Kullanıcı
Mesajlar: 150
Kayıt: 07.10.2007, 15:16
Konum: webmaster
İletişim:

Re: mchat_ajax_mini.js çakışması

Mesaj gönderen aligünel »

özcan ben çözdüm olayı mchat_ajax_mini.js bu kodla değiştirdiklerinde sorun kalmayacaktır.

Kod: Tümünü seç

/ ** 
* 
* @ paket mChat JavaScript kodu, mini 
* @ version 2011-01-10 1.4.2 
Zengin McGirr (RMcGirr83) By * @ copyright (c) 2010 http://rmcgirr83.org 
* @ copyright (c) 2009 Shapoval Andrey Vladimirovich (AllCity) tarafından ~ http://allcity.net.ru/ 
* @ lisans http://opensource.org/licenses/gpl-license.php GNU Kamu Lisansı 
* 
** / var $ Jq = jQuery; $ Jq (function () {if (! mChatArchiveMode) {var alreadySubmitted = false;. ({(alreadySubmitted) {return false ise else {alreadySubmitted = true}}}) (fonksiyonu) return $ Jq (this)} göndermek; $ jQ.fn.autoGrowInput = function (o) {var = val.replace (/ & / g, '&') kaçtı. replace ('/ \ s / g'). replace (/ </ g, '<')., (/> / g yerine ' > '); testSubject.html (kaçtı); var bulanıklık değişim) kontrol edin, 'odak submit}); return sn = Math.floor (session_time); var min = Math.floor (sec/60); var time_left = saat + ":" + dakika + ":". + sn; $ Jq ('# mChatSessMess') html (mChatSessEnds + ' false} var # MChatErrorIMG, classid = "CLSID: d27cdb6e-ae6d-11cf-96b8-444553540000" Codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab # version = 6,0,0,0" height = "0" width = "0" type = "application / x-shockwave-flash"> <param name="movie" value="'+file+'"> </)> 'object} else {$ JQ ( '# mChatSound'). html ('<embed src = "' + file + '" width = "0" height = "0" pluginspage = "http://www.macromedia.com/go/getflashplayer" false} var mChatMessChars = $ Jq ('# mChatMessage'). val (). / (değiştirin (XMLHttpRequest.status == 403) {alert (mChatNoAccess)} else if . mesaj = $ Jq ('# edit' + id) val (); var newInner = $ Jq ('# mChatData') çocuk () değil ('# mChatNoMessage') innerHeight ();... var interval = setInterval (function () {mChat.refresh ()}, mChatRefresh); var statsinterval = setInterval (function () {mChat.stats ()}, mChatWhoisRefresh); var activeinterval = setInterval (function () {mChat.active ( )}, mChatUserTimeout); var session_time = mChatUserTimeout mChatUserTimeout/1000: false; if (mChatUserTimeout) {var
Kilitli

“3.0.x MOD Destek” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 4 misafir