Webboard

Pełna wersja: Brak edytora tekstu
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB:1.6.10
adres forum: http://www.gold-shot.xaa.pl/
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Na forum zniknął mi edytor tekstu. Po prostu się nie wyświetla. Nie wiem co jest tego przyczyną.
Theme : Infinity dark.
Wgrywałeś jakiś plugin czy na czysto już nie masz oraz czy na Defaultowym tak samo jest?

ps. https://www.google.pl/search?q=Brak+edyt...e&ie=UTF-8
Mam dzv shoutbox, board messages, oraz statystyki top.
Jak zmienię na defaultowy nadal to samo.
Tym linkiem do wyszukiwania w google mi zbytnio nie pomogłeś. Szukałem wcześniej rozwiązania, ale nie znalazłem, dlatego zwracam się o pomoc do Was na tym forum.
Dezaktywuj Board message / albo wszystkie plugi i zobacz czy dalej to samo. I pokaż headerinclude (ACP -> Style i Szablony -> Szablony -> Twój_Szablon -> Niezgrupowane szablony).
Kod PHP:
<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/editor.js?ver=1610"></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>
<
script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<
script type="text/javascript">jQuery.noConflict();</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({
                
scrollTop0
            
}, 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(".pmpopup").tipTip({defaultPosition"top"fadeIn300});
});
});
</
script>



<
script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/infinity/colorpicker/js/colorpicker.js"></script>
<
link rel="stylesheet" media="screen" type="text/css" href="{$mybb->settings['bburl']}/images/infinity/colorpicker/css/colorpicker.css" />
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/infinity/colorpicker/js/load.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/infinity/functions.js"></script>
<
script type="text/javascript">jQuery.noConflict();</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}
<
script language="javascript" type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/custom_status.js"></script
Zamień na ten:
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/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/editor.js?ver=1610"></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>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/infinity/colorpicker/js/colorpicker.js"></script>
<link rel="stylesheet" media="screen" type="text/css" href="{$mybb->settings['bburl']}/images/infinity/colorpicker/css/colorpicker.css" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/infinity/colorpicker/js/load.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/infinity/functions.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
{$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}

<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':ma​skHeight});

//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>

<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(".pmpopup").tipTip({defaultPosition: "top", fadeIn: 300});
});
});
</script>
Brak zmian, ale żeby się upewnić proszę Cie o rejestrację na forum i sprawdzenie, czy też tak masz. Chcę mieć pewność, że wina nie leży po mojej stronie.
Załóż konto testowe i daj passy.
Zmień headerinclude na:
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/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/editor.js?ver=1610"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></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}
<script language="javascript" type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/custom_status.js"></script>
{$stylesheets}
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</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>
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(".pmpopup").tipTip({defaultPosition: "top", fadeIn: 300});
});
});
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/infinity/colorpicker/js/colorpicker.js"></script>
<link rel="stylesheet" media="screen" type="text/css" href="{$mybb->settings['bburl']}/images/infinity/colorpicker/css/colorpicker.css" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/infinity/colorpicker/js/load.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/infinity/functions.js"></script>
<script>
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,'heigh​t':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>

Jeśli nie będzie coś działać zmień na ten:
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/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/editor.js?ver=1610"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></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}
<script language="javascript" type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/custom_status.js"></script>
{$stylesheets}
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</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>
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(".pmpopup").tipTip({defaultPosition: "top", fadeIn: 300});
});
});
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/infinity/colorpicker/js/colorpicker.js"></script>
<link rel="stylesheet" media="screen" type="text/css" href="{$mybb->settings['bburl']}/images/infinity/colorpicker/css/colorpicker.css" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/infinity/colorpicker/js/load.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/infinity/functions.js"></script>
<script>
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,'heigh​t':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>

Wklej z wyłączonym Codepress w opcjach ACP. No i wgraj z powrotem pliki .js do folderu jscripts, bo jest brak dostępu do nich, np. http://www.gold-shot.xaa.pl/jscripts/yetii.js