MyBB Community Forums

Full Version: Infinite loading
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Good evening,
When the prompt responses are used and that one validates in order to poster his message there is a writing “Loading. Wait” and that infinitely.
I think it comes from the themes, but I do not know where and I know of failure ...

(To afflict my English I use a translator, I am French)

Screen:
[Image: 3dDPi.png]

Thank you.
Probably jQuery <-> Prototype conflict issue.
Read this: http://community.mybb.com/thread-135747.html
(2013-06-11, 10:45 PM)Destroy666 Wrote: [ -> ]Probably jQuery <-> Prototype conflict issue.
Read this: http://community.mybb.com/thread-135747.html

Thank you, but I understand where don't I do have measure the codes?
(2013-03-07, 07:00 AM)EGman Wrote: [ -> ]To do so, head over to your theme's templates, open UNGROUPED templates -> headerinclude

http://docs.mybb.com/Admin_CP_Templates.html
(2013-06-11, 10:56 PM)Destroy666 Wrote: [ -> ]
(2013-03-07, 07:00 AM)EGman Wrote: [ -> ]To do so, head over to your theme's templates, open UNGROUPED templates -> headerinclude

http://docs.mybb.com/Admin_CP_Templates.html

Sight that I am French I have much difficulty has to understand the subject.
Could you quote me the stages has to follow so that I can translate them via a translator?

I am really to afflict disturbance which I import.

But before its functioned but for one week that has not functioned any more.
Have you added any plugins recently? Do those plugins use jQuery? In that case, you must resolve the conflict between jQuery and Prototype. This conflict is usually in the headerinclude template.

You must find the headerinclude template in the Admin Control Panel templates.
Then look to see if you are using jQuery.
If so, you must use jQuery no conflict.
Here contents of HeaderInclude.
I find anything strange.

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<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']}/images/intoxfusion/popup_menu.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/intoxfusion/fixedmenu.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.1.1.min.js"></script>
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>

{$stylesheets}
<script type="text/javascript">

jQuery.noConflict($);

jQuery(document).ready(function()
{
    // Make the jQuery modal login redirect you back to the page you're currently on //
    $('#loginModal input[name="url"]').attr("value", window.location);
    // /Login redirect //

    // Modal Boxes //
    $('a[name="modal"]').on('click', function(event)
    {
        event.preventDefault();
        
        var target = $(this).attr('rel');
        
        // Set up the shadowing
        var maskHeight = $(document).height();
        var maskWidth = $(window).width();
        $('#mask').css({'width': maskWidth, 'height': maskHeight});
        $('#mask').fadeIn(1000);    
        $('#mask').fadeTo("slow", 0.8);  
        
        // Position the actual modal
        var winH = $(window).height();
        var winW = $(window).width();
        $(target).css('top',  (winH / 2) - ($(target).height() / 2));
        $(target).css('left', (winW / 2) - ($(target).width() / 2));
        $(target).fadeIn(2000); 
    });
    
    $('.modalBox a[rel="closeModal"]').on('click', function(event)
    {
        event.preventDefault();
        $('#mask, .modalBox').hide();
    }); 
    
    $('#mask').on('click', function ()
    {
        $(this).hide();
        $('.modalBox').hide();
    }); 
    // /Modal Boxes //
});
</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>
{$newpmmsg}

<meta name="identifier-url" content="http://devcommunity.net" />
<meta name="title" content="DevCommunity" />
<meta name="description" content="DevCommunity, en plus d'être une communauté vous offre diverses aides dans le domaine du développement, qu'il soit web, technique ou encore graphique, ce, dans multiples domaines, tous aussi variés les uns que les autres. Avec sa large palette d'assistance et de ressources, DevCommunity ne pourra que vous surprendre." />
<meta name="abstract" content="DevCommunity, en plus d'être une communauté vous offre diverses aides dans le domaine du développement, qu'il soit web, technique ou encore graphique, ce, dans multiples domaines, tous aussi variés les uns que les autres. Avec sa large palette d'assistance et de ressources, DevCommunity ne pourra que vous surprendre." />
<meta name="keywords" content="dev,community,admin,traxmix,zeatlan,windows,mac,linux,site,webmaster,ressources,tutoriel,jeux" />
<meta name="author" content="Traxmix" />
<meta name="language" content="FR" />
<meta name="revisit-after" content="15" />
<meta name="copyright" content="DevCommunity" />
<meta name="owner" content="[email protected]" />
<meta name="robots" content="All" />


I also put his whole at the top of headerinclude
Try this in the header include:

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']}/images/intoxfusion/popup_menu.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/intoxfusion/fixedmenu.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script src="http://code.jquery.com/jquery-migrate-1.1.1.min.js"></script>
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>

{$stylesheets}
<script type="text/javascript">

jQuery.noConflict();

jQuery(document).ready(function()
{
    // Make the jQuery modal login redirect you back to the page you're currently on //
    $('#loginModal input[name="url"]').attr("value", window.location);
    // /Login redirect //

    // Modal Boxes //
    $('a[name="modal"]').on('click', function(event)
    {
        event.preventDefault();
        
        var target = $(this).attr('rel');
        
        // Set up the shadowing
        var maskHeight = $(document).height();
        var maskWidth = $(window).width();
        $('#mask').css({'width': maskWidth, 'height': maskHeight});
        $('#mask').fadeIn(1000);    
        $('#mask').fadeTo("slow", 0.8);  
        
        // Position the actual modal
        var winH = $(window).height();
        var winW = $(window).width();
        $(target).css('top',  (winH / 2) - ($(target).height() / 2));
        $(target).css('left', (winW / 2) - ($(target).width() / 2));
        $(target).fadeIn(2000); 
    });
    
    $('.modalBox a[rel="closeModal"]').on('click', function(event)
    {
        event.preventDefault();
        $('#mask, .modalBox').hide();
    }); 
    
    $('#mask').on('click', function ()
    {
        $(this).hide();
        $('.modalBox').hide();
    }); 
    // /Modal Boxes //
});
</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>
{$newpmmsg} 
(2013-06-12, 08:30 AM)Leefish Wrote: [ -> ]Try this in the header include:

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']}/images/intoxfusion/popup_menu.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/intoxfusion/fixedmenu.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script src="http://code.jquery.com/jquery-migrate-1.1.1.min.js"></script>
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>

{$stylesheets}
<script type="text/javascript">

jQuery.noConflict();

jQuery(document).ready(function()
{
    // Make the jQuery modal login redirect you back to the page you're currently on //
    $('#loginModal input[name="url"]').attr("value", window.location);
    // /Login redirect //

    // Modal Boxes //
    $('a[name="modal"]').on('click', function(event)
    {
        event.preventDefault();
        
        var target = $(this).attr('rel');
        
        // Set up the shadowing
        var maskHeight = $(document).height();
        var maskWidth = $(window).width();
        $('#mask').css({'width': maskWidth, 'height': maskHeight});
        $('#mask').fadeIn(1000);    
        $('#mask').fadeTo("slow", 0.8);  
        
        // Position the actual modal
        var winH = $(window).height();
        var winW = $(window).width();
        $(target).css('top',  (winH / 2) - ($(target).height() / 2));
        $(target).css('left', (winW / 2) - ($(target).width() / 2));
        $(target).fadeIn(2000); 
    });
    
    $('.modalBox a[rel="closeModal"]').on('click', function(event)
    {
        event.preventDefault();
        $('#mask, .modalBox').hide();
    }); 
    
    $('#mask').on('click', function ()
    {
        $(this).hide();
        $('.modalBox').hide();
    }); 
    // /Modal Boxes //
});
</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>
{$newpmmsg} 


Not that still does not function.
Please can you provide an ACP user and logon and a link to your forum? I am pretty sure that the problem is the jQuery - this started to happen AFTER you added the modal login, is that correct?

Post in the private inquiries forum or PM me.
Pages: 1 2