MyBB Community Forums

Full Version: Quick reply loading
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
stay in loading ajax
[Image: T7Yr7.png]

The new theme which I have problems like this, and my old friends there are no problems like this

my board : http://chibi-cyber.com
Please provide any testing account logins so anyone could test it themselves.
user : demo
password : demodemo
My guess is either a bad plugin or you have a validation problem. The validation imho is more likely.
(2012-06-26, 03:11 AM)labrocca Wrote: [ -> ]My guess is either a bad plugin or you have a validation problem. The validation imho is more likely.

I've disabled all plugins but the same thing and also but on the other themes do not have a problem, it's just that I use this theme ajax does not work well in the quick reply
Your website seems to be down atm.
(2012-06-26, 05:09 AM)chibi Wrote: [ -> ]
(2012-06-26, 03:11 AM)labrocca Wrote: [ -> ]My guess is either a bad plugin or you have a validation problem. The validation imho is more likely.

I've disabled all plugins but the same thing and also but on the other themes do not have a problem, it's just that I use this theme ajax does not work well in the quick reply

Right - so the theme uses a different template set - which means different HTML. So I agree with labrocca. Check the validation.
saya menemukan sesuatu

this is template headerinclude using
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tiptip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/yetii.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
{$stylesheets}
<script>
jQuery.noConflict();
jQuery(document).ready(function(){
	jQuery(function () {
		// scroll body to 0px on click
		jQuery('#back-top').click(function () {
			jQuery('body,html').animate({
				scrollTop: 0
			}, 800);
			return false;
		});
	});
        jQuery(".loginbutton").click(function(e) {
            e.preventDefault();
            jQuery(".loginbutton_menu").slideToggle("fast");
            jQuery(".loginbutton").toggleClass("loginbutton_menu_open");
        });
        jQuery(".loginbutton_menu").mouseup(function() {
            return false
        });
        jQuery(document).mouseup(function(e) {
            if(jQuery(e.target).parent("a.loginbutton").length==0) {
                jQuery(".loginbutton").removeClass("loginbutton_menu_open");
                jQuery(".loginbutton_menu").slideUp("fast",  function() {display: 'toggle'});;
            }
            
        });
jQuery(function(){
jQuery("a").tipTip({defaultPosition: "top", fadeIn: 300});
});
});
</script>
<script type="text/javascript">
<!--
	var cookieDomain = "{$mybb->settings['cookiedomain']}";
	var cookiePath = "{$mybb->settings['cookiepath']}";
	var cookiePrefix = "{$mybb->settings['cookieprefix']}";
	var deleteevent_confirm = "{$lang->deleteevent_confirm}";
	var removeattach_confirm = "{$lang->removeattach_confirm}";
	var loading_text = '{$lang->ajax_loading}';
	var saving_changes = '{$lang->saving_changes}';
	var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
	var my_post_key = "{$mybb->post_code}";
	var imagepath = "{$theme['imgdir']}";
// -->
</script>
<script>
jQuery.noConflict();
jQuery(document).ready(function() {	
	//select all the a tag with name equal to modal
	jQuery('a[name=modal]').click(function(e) {
		//Cancel the link behavior
		e.preventDefault();
		//Get the A tag
		var id = jQuery(this).attr('href');
	
		//Get the screen height and width
		var maskHeight = jQuery(document).height();
		var maskWidth = jQuery(window).width();
	
		//Set height and width to mask to fill up the whole screen
		jQuery('#mask').css({'width':maskWidth,'height':maskHeight});
		
		//transition effect		
		jQuery('#mask').fadeIn("fast");
		jQuery('#mask').fadeTo("slow",0.5);	
	
		//Get the window height and width
		var winH = jQuery(window).height();
		var winW = jQuery(window).width();
              
	
		//transition effect
		jQuery(id).fadeIn("slow"); 
	
	});
	
	//if close button is clicked
	jQuery('.window .close').click(function (e) {
		//Cancel the link behavior
		e.preventDefault();
		jQuery('#mask, .window, #loginbox').fadeOut("slow");
	});		
	
	//if mask is clicked
	jQuery('#mask').click(function () {
		jQuery(this).fadeOut("slow");
		jQuery('.window').fadeOut("slow");
	});			
	
});
</script>
{$newpmmsg}

then I change use this template ajax quick reply which work
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1400"></script>

<!-- Theme Javascript //-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> 
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/dark/js/tiptip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/dark/js/cookies.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/dark/js/easing.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/dark/js/fancycollapses.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/dark/js/script.js"></script>
<!-- End Theme Javascript //-->

{$stylesheets}


<script type="text/javascript">
<!--
	var cookieDomain = "{$mybb->settings['cookiedomain']}";
	var cookiePath = "{$mybb->settings['cookiepath']}";
	var cookiePrefix = "{$mybb->settings['cookieprefix']}";
	var deleteevent_confirm = "{$lang->deleteevent_confirm}";
	var removeattach_confirm = "{$lang->removeattach_confirm}";
	var loading_text = '{$lang->ajax_loading}';
	var saving_changes = '{$lang->saving_changes}';
	var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
	var my_post_key = "{$mybb->post_code}";
	var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}
Validate your code.
http://validator.w3.org/
check the results

[attachment=26701]