znika przycisk edytuj

Inne  Założony przez  kamil501.

wersja skryptu MyBB: 1.8.6
adres forum: kamil501.cba.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Witam po wciśnięciu przycisku "edytuj post" znikają przyciski do moderowania posta oraz sidebar (boczny panel na stronie głównej)
Pozdrawiam

Doszedłem że wina leży po script z headerinclude, ale jak go nie ma to nie działa mi header w informacją dla uzytkownika który wyświetla
Mój profil
Komunikator
Edytuj profil
Edytuj avatar
Edytuj sygnature


<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/carbon.js"></script
Konto testowe nie działa
Sory od razu poprawiłem już działa

Tutaj macie ten skrypt który robi ten bład potrzebuje go do górnego menu oraz do profilu użytkownika
aby działał sidebar  poprawnie to wystarczy wywalić kod do sidebar ale do przycisku edytuj to nie mam pojęcia

/* jQuery cookie */

jQuery.cookie=function(name,value,options){if(typeof value!='undefined'){options=options||{};if(value===null){value='';options=$.extend({},options);options.expires=-1;}
var 
expires='';if(options.expires&&(typeof options.expires=='number'||options.expires.toUTCString)){var date;if(typeof options.expires=='number'){date=new Date();date.setTime(date.getTime()+(options.expires*24*60*60*1000));}else{date=options.expires;}
expires='; expires='date.toUTCString();}
var 
path=options.path?'; path='+(options.path):'';var domain=options.domain?'; domain='+(options.domain):'';var secure=options.secure?'; secure':'';document.cookie=[name,'=',encodeURIComponent(value),expires,path,domain,secure].join('');}else{var cookieValue=null;if(document.cookie&&document.cookie!=''){var cookies=document.cookie.split(';');for(var i=0;i<cookies.length;i++){var cookie=jQuery.trim(cookies[i]);if(cookie.substring(0,name.length1)==(name+'=')){cookieValue=decodeURIComponent(cookie.substring(name.length1));break;}}}
return 
cookieValue;}};

/* sidebar */

jQuery(function(){
    
jQuery(".clickedbuttons").hide();
    
jQuery(".buttons").click(
        function(){
        
jQuery(".sidebar").animate({
            
height:"hide",opacity:0},500,
        function(){
            
jQuery(".forums").animate({width:"100%"},500);});
            
jQuery(this).hide();jQuery(".clickedbuttons").show();
            
jQuery.cookie("sidebar","collapsed",{expires:365});
        return 
false;});
            
jQuery(".clickedbuttons").click(function(){
            
jQuery(".forums").animate({width:"80%"},500,function(){
            
jQuery(".sidebar").animate({height:"show",opacity:1},500);});
            
jQuery(this).hide();jQuery(".buttons").show();
            
jQuery.cookie("sidebar","expanded",{expires:365});
            return 
false;});
            if(
jQuery.cookie("sidebar")=="collapsed"){
                
jQuery(".buttons").hide();
                
jQuery(".clickedbuttons").show();
                
jQuery(".forums").css("width","100%");
                
jQuery(".sidebar").hide();};});
    
/*menu górne */
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();
 
       }
 
   });
});

/*profil*/
jQuery(document).ready(function() {
 
 
//When page loads...
 
jQuery(".tab_content").hide(); //Hide all content
 
jQuery("ul.tabs li:first").addClass("active").show(); //Activate first tab
 
jQuery(".tab_content:first").show(); //Show first tab content
 
 //On Click Event
 
jQuery("ul.tabs li").click(function() {
 
 
 jQuery("ul.tabs li").removeClass("active"); //Remove any "active" class
 
 jQuery(this).addClass("active"); //Add "active" class to selected tab
 
 jQuery(".tab_content").hide(); //Hide all tab content
 
 
 
 var activeTab jQuery(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
 
 jQuery(activeTab).fadeIn(); //Fade in the active ID content
 
 return false;
 });
 
}); 
Usunąłem to i chyba oba problemy się naprawiły 
/* sidebar */

jQuery(function(){
    
jQuery(".clickedbuttons").hide();
    
jQuery(".buttons").click(
        function(){
        
jQuery(".sidebar").animate({
            
height:"hide",opacity:0},500,
        function(){
            
jQuery(".forums").animate({width:"100%"},500);});
            
jQuery(this).hide();jQuery(".clickedbuttons").show();
            
jQuery.cookie("sidebar","collapsed",{expires:365});
        return 
false;});
            
jQuery(".clickedbuttons").click(function(){
            
jQuery(".forums").animate({width:"80%"},500,function(){
            
jQuery(".sidebar").animate({height:"show",opacity:1},500);});
            
jQuery(this).hide();jQuery(".buttons").show();
            
jQuery.cookie("sidebar","expanded",{expires:365});
            return 
false;});
            if(
jQuery.cookie("sidebar")=="collapsed"){
                
jQuery(".buttons").hide();
                
jQuery(".clickedbuttons").show();
                
jQuery(".forums").css("width","100%");
                
jQuery(".sidebar").hide();};}); 

Wyjaśnione naprawione



Użytkownicy przeglądający ten wątek:

1 gości