Webboard

Pełna wersja: Błąd z edycją i buttonami
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 1,8,7
adres forum: exskill.eu
na czym polega problem (screen, opis, komunikaty): Nie działa wysuwane menu edycji posta, zgłaszanie go ale działa wywoływanie nicków w shoutboxie, więc raczej nie javascript. Konsola się pluje, że TypeError: $(...).appendTo(...).modal is not a function

Po wyłączeniu all plugins nadal się błąd utrzymuje.

TypeError: $(...).popupMenu is not a function

headerinclude:
Kod:
<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" />
<link rel="icon" type="image/png" href="http://www.exskill.eu/images/ikony/favicon.png"/>
<link rel="stylesheet" href="{$mybb->asset_url}/images/BlackPlayers/reset.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="{$mybb->asset_url}/images/BlackPlayers/fonts/opensans/stylesheet.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="{$mybb->asset_url}/images/BlackPlayers/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscriptseu/jquery.plugins.min.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1804"></script>
<script src="{$mybb->asset_url}/images/BlackPlayers/jscripts/jquery.cookie.js" type="text/javascript"></script>
<script src="{$mybb->asset_url}/images/BlackPlayers/jscripts/jquery.easing.1.3.js" type="text/javascript"></script>
<script src="{$mybb->asset_url}/images/BlackPlayers/jscripts/BlackPlayers/SuperMenu.js" type="text/javascript"></script>
<script src="{$mybb->asset_url}/images/BlackPlayers/jscripts/BlackPlayers/sidebar.js" type="text/javascript"></script>
<script src="{$mybb->asset_url}/images/BlackPlayers/jscripts/modernizr.custom.js" type="text/javascript"></script>
{$stylesheets}
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/avatarep/avatarep.js"></script>


    <script type="text/javascript">
        jQuery(document).ready(function(){
            jQuery(document).Sidebar();
            jQuery(".user-dd").Wysun({przycisk: "#login-link", efekt : "fade", czas : "0"});
            jQuery(".login-box").hide().css({'top':- jQuery(".login-box").height() + "px"});
            jQuery("#login-close").click(function(){
                jQuery(".login-box").finish().animate({'top':'250px;'}, 300, function(){
                    jQuery(this).animate({'top':- jQuery(".login-box").height() + "px"}, 200, function(){
                        jQuery(this).hide();
                    });
                });
            });
            jQuery("#log-link").click(function(){
                jQuery(".login-box").show().finish().animate({'top':'250px'}, 300, function(){
                    jQuery(this).animate({'top':'121px'}, 200);
                });
            });
        });
    </script>
<script>
    jQuery.fn.Wysun = function(arg){
        var obj = jQuery(this);
        var opcje = jQuery.extend({}, jQuery.fn.Wysun.defaults, arg);
        jQuery.fn.Wysun.defaults = {
            przycisk : jQuery(this),
            efekt : "fade",
            czas : "1000"
        };
        
        switch(opcje.efekt){
            case "fade":
                jQuery(opcje.przycisk).click(function(){
                    obj.css("display") == "none" ?
                        obj.finish().fadeIn(opcje.czas)
                            :
                                obj.finish().fadeOut(opcje.czas);
                    return false;
                });
                
                obj.click(function(event){
                    event.stopImmediatePropagation();
                });
                
                jQuery(document).click(function(event){
                    if(("#" + event.target.id != opcje.przycisk) && ("." + event.target.className != opcje.przycisk) && jQuery(opcje.przycisk).find(event.target).length < 1)
                        obj.finish().fadeOut();    
                });
            break;
            
            default : {
                console.log("Nie ma takiego efektu: "+ opcje.efekt);
            }
        }
    };
</script>
    <script>
        jQuery(document).ready(function(){
            jQuery(".user-panel").SuperMenu();
        });
    </script>
<script type="text/javascript">
    lang.unknown_error = "{$lang->unknown_error}";

    lang.select2_match = "{$lang->select2_match}";
    lang.select2_matches = "{$lang->select2_matches}";
    lang.select2_nomatches = "{$lang->select2_nomatches}";
    lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
    lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
    lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
    lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
    lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
    lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
    lang.select2_loadmore = "{$lang->select2_loadmore}";
    lang.select2_searching = "{$lang->select2_searching}";

    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 rootpath = "{$mybb->settings['bburl']}";
    var imagepath = "{$theme['imgdir']}";
      var yes_confirm = "{$lang->yes}";
    var no_confirm = "{$lang->no}";
    var MyBBEditor = null;
    var spinner_image = "{$theme['imgdir']}/spinner.gif";
    var spinner = "<img src='" + spinner_image +"' alt='' />";
    var modal_zindex = 9999;
</script>

Odkryłem błąd, w headerinclude wpisałem "eu" tam, gdzie nie trzeba :P