Webboard

Pełna wersja: Panel użytkownika nie wysuwa się po kliknięciu
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
Witam.

Mam problem ponieważ od momentu wgrania stylu na forum nie wysuwa się panel użytkownika po kliknięciu na swój nick w menu.

Dodawałem jQuery, noconflict itp.

Zawartość 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" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1610"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1807"></script>
<link rel="Shortcut icon" href="http://5maps.pl/images//favicon.gif" />
<link rel="stylesheet" href="{$theme[imgdir]}/css/font-awesome.min.css">
<link rel="stylesheet" href="{$theme[imgdir]}/css/font-awesome.css">
<script type="text/javascript">jQuery.noConflict();</script>
{$stylesheets}
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/avatarep/avatarep.js"></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>
<!-- Menu Usera -->
<script>
jQuery(function() {
   var button = jQuery('#loginButton');
   var box = jQuery('#loginBox');
   var form = jQuery('#loginForm');
   button.mouseup(function(login) {
       box.toggle();
       button.toggleClass('active');
   });
   form.mouseup(function() {
       return false;
   });
   jQuery(this).mouseup(function(login) {
       if(!(jQuery(login.target).parent('#loginButton').length > 0)) {
           button.removeClass('active');
           box.hide();
       }
   });
});
</script>
<!-- Kategorie Profil -->
 <script>
jQuery(document).ready(function() {


jQuery(".tab_content").hide();
jQuery("ul.tabs li:first").addClass("active").show();
jQuery(".tab_content:first").show();


jQuery("ul.tabs li").click(function() {

 jQuery("ul.tabs li").removeClass("active");
 jQuery(this).addClass("active");
 jQuery(".tab_content").hide();


 var activeTab = jQuery(this).find("a").attr("href");
 jQuery(activeTab).fadeIn();
 return false;
});

});
 </script>
<!-- Wybór Tła -->
<script type="text/javascript">
$(document).ready(function(){    
   if($.cookie('background')){    
       $("body").css("backgroundImage", "url(" + "images/" + $.cookie("background") + ".png)");
   };
   $(".bg_style").click(function () {  
        $(".bg_preview").slideToggle('fast');
        return false;
   });
   $(".bg_preview a").click(function() {
       var bg_id = $(this).attr("id");
         $("body").css("backgroundImage", "url(" + "images/" + bg_id + ".png)");
       $.cookie('background', bg_id, { expires: 365, path: '/' });
   });    
});
</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->asset_url}/jscripts/jquery.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1807"></script>
<link rel="Shortcut icon" href="http://5maps.pl/images//favicon.gif" />
<link rel="stylesheet" href="{$theme[imgdir]}/css/font-awesome.min.css">
<link rel="stylesheet" href="{$theme[imgdir]}/css/font-awesome.css">
{$stylesheets}
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/avatarep/avatarep.js"></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>

<!-- Menu Usera -->
<script>
jQuery(function() {
   var button = jQuery('#loginButton');
   var box = jQuery('#loginBox');
   var form = jQuery('#loginForm');
   button.mouseup(function(login) {
       box.toggle();
       button.toggleClass('active');
   });
   form.mouseup(function() {
       return false;
   });
   jQuery(this).mouseup(function(login) {
       if(!(jQuery(login.target).parent('#loginButton').length > 0)) {
           button.removeClass('active');
           box.hide();
       }
   });
});
</script>
<!-- Kategorie Profil -->
 <script>
jQuery(document).ready(function() {


jQuery(".tab_content").hide();
jQuery("ul.tabs li:first").addClass("active").show();
jQuery(".tab_content:first").show();


jQuery("ul.tabs li").click(function() {

 jQuery("ul.tabs li").removeClass("active");
 jQuery(this).addClass("active");
 jQuery(".tab_content").hide();


 var activeTab = jQuery(this).find("a").attr("href");
 jQuery(activeTab).fadeIn();
 return false;
});

});
 </script>

<!-- Wybór Tła -->
<script type="text/javascript">
$(document).ready(function(){    
   if($.cookie('background')){    
       $("body").css("backgroundImage", "url(" + "images/" + $.cookie("background") + ".png)");
   };
   $(".bg_style").click(function () {  
        $(".bg_preview").slideToggle('fast');
        return false;
   });
   $(".bg_preview a").click(function() {
       var bg_id = $(this).attr("id");
         $("body").css("backgroundImage", "url(" + "images/" + bg_id + ".png)");
       $.cookie('background', bg_id, { expires: 365, path: '/' });
   });    
});
</script>
</head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">

Nie wiem czy potrzebne jest to wszystko x2 ale tak jak było tak daję ;)

Zawartość header_welcomeblock_member:

Kod:
<ul class="user_nawigacja">

<div class="dropdown">
<li id="loginButton">
               <a href="#" id="loginButton"><span><i class="fa fa-user"></i> {$mybb->user['username']}</span> <i class="icon-sort-down"></i></a>
               <div style="clear:both"></div>
               <div id="loginBox">                
                   <div id="loginForm">
<a href="#">
<div class="avatardef"><img src="{$mybb->user['avatar']}" alt="" /></div>
</a>
<div class="menu-panel_form">
<ul>
<li><a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}">Mój profil</a></li>
<li><a href="{$mybb->settings['bburl']}/usercp.php?action=profile">Edytuj profil</a></li>
<li><a href="{$mybb->settings['bburl']}/private.php">Komunikator</a></li>
<li><a href="{$mybb->settings['bburl']}/usercp.php?action=avatar">Edytuj avatar</a></li>
<li><a href="{$mybb->settings['bburl']}/usercp.php?action=editsig">Edytuj sygnature</a></li>
<li><a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a></li>
</ul>
</div>
                   </div>
               </div>

</li>
{$modcplink}
{$admincplink}
</ul>

Z góry dziękuję za pomoc.
Próbowałeś wgrać domyślny dla stylu headerinclude oraz header_welcomeblock_member
Napraw błędy z konsoli, wgraj brakujące pliki.
popup_menu.js nie ma w ogóle na FTP.
(01.02.2017, 18:36)Penny napisał(a): [ -> ]Próbowałeś wgrać domyślny dla stylu headerinclude oraz header_welcomeblock_member
Napraw błędy z konsoli, wgraj brakujące pliki.

Tak, próbowałem - nadal nic :/

(01.02.2017, 18:40)Conors napisał(a): [ -> ]popup_menu.js nie ma w ogóle na FTP.

Wgrałem, lecz nadal brak efektu :/
Kod:
<script type="text/javascript">
$(document).ready(function(){    
   if($.cookie('background')){    
       $("body").css("backgroundImage", "url(" + "images/" + $.cookie("background") + ".png)");
   };
   $(".bg_style").click(function () {  
        $(".bg_preview").slideToggle('fast');
        return false;
   });
   $(".bg_preview a").click(function() {
       var bg_id = $(this).attr("id");
         $("body").css("backgroundImage", "url(" + "images/" + bg_id + ".png)");
       $.cookie('background', bg_id, { expires: 365, path: '/' });
   });    
});
</script>

do poprawy:
http://stackoverflow.com/questions/12343...y-function
albo do usunięcia.
(01.02.2017, 19:00)Penny napisał(a): [ -> ]
Kod:
<script type="text/javascript">
$(document).ready(function(){    
    if($.cookie('background')){    
        $("body").css("backgroundImage", "url(" + "images/" + $.cookie("background") + ".png)");
    };
    $(".bg_style").click(function () {  
         $(".bg_preview").slideToggle('fast');
         return false;
    });
    $(".bg_preview a").click(function() {
        var bg_id = $(this).attr("id");
          $("body").css("backgroundImage", "url(" + "images/" + bg_id + ".png)");
        $.cookie('background', bg_id, { expires: 365, path: '/' });
    });    
});
</script>

do poprawy:
http://stackoverflow.com/questions/12343...y-function
albo do usunięcia.


Kurde wywaliłem i nadal jest to samo :/

A to że są podwójnie te wszystkie wpisy nie jest jakimś błędem?
Wgraj poprawnie wszystkie pliki:
avatarep.js
Nie mogę ich znaleźć na internecie :/
Ten headerinclude jest zupełnie do poprawy. Sprawdź jak on wygląda w domyślnym stylu i porównaj.
Tutaj jest mój 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" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1610"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1807"></script>
<link rel="Shortcut icon" href="http://5maps.pl/images//favicon.gif" />
<link rel="stylesheet" href="{$theme[imgdir]}/css/font-awesome.min.css">
<link rel="stylesheet" href="{$theme[imgdir]}/css/font-awesome.css">
<script type="text/javascript">jQuery.noConflict();</script>
{$stylesheets}
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/avatarep/avatarep.js"></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>
<!-- Menu Usera -->
<script>
jQuery(function() {
   var button = jQuery('#loginButton');
   var box = jQuery('#loginBox');
   var form = jQuery('#loginForm');
   button.mouseup(function(login) {
       box.toggle();
       button.toggleClass('active');
   });
   form.mouseup(function() {
       return false;
   });
   jQuery(this).mouseup(function(login) {
       if(!(jQuery(login.target).parent('#loginButton').length > 0)) {
           button.removeClass('active');
           box.hide();
       }
   });
});
</script>
<!-- Kategorie Profil -->
 <script>
jQuery(document).ready(function() {


jQuery(".tab_content").hide();
jQuery("ul.tabs li:first").addClass("active").show();
jQuery(".tab_content:first").show();


jQuery("ul.tabs li").click(function() {

 jQuery("ul.tabs li").removeClass("active");
 jQuery(this).addClass("active");
 jQuery(".tab_content").hide();


 var activeTab = jQuery(this).find("a").attr("href");
 jQuery(activeTab).fadeIn();
 return false;
});

});
 </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->asset_url}/jscripts/jquery.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1807"></script>
<link rel="Shortcut icon" href="http://5maps.pl/images//favicon.gif" />
<link rel="stylesheet" href="{$theme[imgdir]}/css/font-awesome.min.css">
<link rel="stylesheet" href="{$theme[imgdir]}/css/font-awesome.css">
{$stylesheets}
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/avatarep/avatarep.js"></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>

<!-- Menu Usera -->
<script>
jQuery(function() {
   var button = jQuery('#loginButton');
   var box = jQuery('#loginBox');
   var form = jQuery('#loginForm');
   button.mouseup(function(login) {
       box.toggle();
       button.toggleClass('active');
   });
   form.mouseup(function() {
       return false;
   });
   jQuery(this).mouseup(function(login) {
       if(!(jQuery(login.target).parent('#loginButton').length > 0)) {
           button.removeClass('active');
           box.hide();
       }
   });
});
</script>
<!-- Kategorie Profil -->
 <script>
jQuery(document).ready(function() {


jQuery(".tab_content").hide();
jQuery("ul.tabs li:first").addClass("active").show();
jQuery(".tab_content:first").show();


jQuery("ul.tabs li").click(function() {

 jQuery("ul.tabs li").removeClass("active");
 jQuery(this).addClass("active");
 jQuery(".tab_content").hide();


 var activeTab = jQuery(this).find("a").attr("href");
 jQuery(activeTab).fadeIn();
 return false;
});

});
 </script>

</head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">

A tutaj jest ten domyślny:

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" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1807"></script>

{$stylesheets}
<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>

Nie mam pojęcia co może być tego przyczyną :/
Wiesz może od kiedy błąd występuje?
Spróbuj wgrać domyślny dla mybb headerinclude.
Błąd występuje od początku żywota tego stylu :D

Wgrałem go i od razu miał ten błąd.

P.S Próbowałem już wgrywać domyślny i nadal to samo :/
Próbowałeś pobrać styl z innego źródła?
Na localhoście działało to normalnie, wziąłem więc kod z localhosta i nagle zaczął działać na forum.

Dziękuję wszystkim którzy chcieli mi pomóc :)