Dołącz do zespołu ekspertów! Backend lub Frontend Developer?

Sprawdź najnowsze oferty pracy naszego partnera - 8lines.io!

Brak przycisków formatowania w edytorze

Błąd   Założony przez  Kajek3.

wersja skryptu MyBB:1.8.3
adres forum: http://avernus.pl/forum/
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Problem jest taki, że nie wyświetlają się ikony edycji podczas pisania Nowego Tematu lub Odpowiedzi.

[Obrazek: TLeFgoe.png]
Headerinclude:
<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/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/fd/js/sidebar.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/fd/js/ddes.js"></script>
<script type='text/javascript' src="{$mybb->settings['bburl']}/images/fd/js/colorpicker.js"></script>
<script type='text/javascript' src="{$mybb->settings['bburl']}/images/fd/js/color-picker.js"></script>
<script type="text/javascript">
jQuery.noConflict();

jQuery(document).ready(function($) {
    $('.dropDownHook span').on('click', function() {
        $(this).parents('.dropDownHook').children('.dropDownContent').stop(true, true).slideToggle('fast', function() {

            if ($('.dropDownContent').is(':visible')) {
                //  This alters the content of the "hook" when we open the drop down
                $('.dropDownHook span').html('Welcome {$mybb->user['username']} ▲');
            }
            else {
                //  This alters the content of the "hook" when we close the dropdown
                $('.dropDownHook span').html('Welcome {$mybb->user['username']} ▼');
            }

        });
    });
    
    $('html').on('click', function() {
        $('.dropDownContent:visible').slideToggle('fast');
    });

    $('.dropDownHook > *').on('click', function(event) {
        event.stopPropagation();
    });
});
</script>
<link type="text/css" rel="stylesheet" href="{$mybb->settings['bburl']}/images/fd/js/colorpicker.css" />
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/fd/font/font-awesome.min.css">
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/fd/font/font-awesome-ie7.min.css">
{$stylesheets}
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/avatarep/avatarep.js"></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 type="text/javascript" src="{$mybb->settings['bburl']}/images/fd/js/tipsy.js"></script>
<script type='text/javascript'>
jQuery.noConflict();
jQuery(function() {
jQuery("a").tipsy({gravity: jQuery.fn.tipsy.autoNS, fade: true});
jQuery("img").tipsy({gravity: jQuery.fn.tipsy.autoNS, fade: true});
  });
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tinybox.js"></script>
Proszę o pomoc.[/quote]
Snake_ napisał 06.01.2015, 15:15:
Nie podpinamy się pod czyjeś tematy - wydzielam. [Obrazek: modnotice_howto.png]
Spróbuj tak:
<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/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.2/jquery.min.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/fd/js/sidebar.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/fd/js/ddes.js"></script>
<script type='text/javascript' src="{$mybb->settings['bburl']}/images/fd/js/colorpicker.js"></script>
<script type='text/javascript' src="{$mybb->settings['bburl']}/images/fd/js/color-picker.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript">
jQuery.noConflict();

jQuery(document).ready(function($) {
    $('.dropDownHook span').on('click', function() {
        $(this).parents('.dropDownHook').children('.d​ropDownContent').stop(true, true).slideToggle('fast', function() {

            if ($('.dropDownContent').is(':visible')) {
                //  This alters the content of the "hook" when we open the drop down
                $('.dropDownHook span').html('Welcome {$mybb->user['username']} ▲');
            }
            else {
                //  This alters the content of the "hook" when we close the dropdown
                $('.dropDownHook span').html('Welcome {$mybb->user['username']} ▼');
            }

        });
    });
    
    $('html').on('click', function() {
        $('.dropDownContent:visible').slideToggle('fa​st');
    });

    $('.dropDownHook > *').on('click', function(event) {
        event.stopPropagation();
    });
});
</script>
<link type="text/css" rel="stylesheet" href="{$mybb->settings['bburl']}/images/fd/js/colorpicker.css" />
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/fd/font/font-awesome.min.css">
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/fd/font/font-awesome-ie7.min.css">
{$stylesheets}
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/avatarep/avatarep.js"></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 type="text/javascript" src="{$mybb->settings['bburl']}/images/fd/js/tipsy.js"></script>
<script type='text/javascript'>
jQuery.noConflict();
jQuery(function() {
jQuery("a").tipsy({gravity: jQuery.fn.tipsy.autoNS, fade: true});
jQuery("img").tipsy({gravity: jQuery.fn.tipsy.autoNS, fade: true});
  });
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tinybox.js"></script>
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
Próbowałem, nie działa.
Po przekopiowaniu ze stylu domyślnego szablonu headerinclude do obecnego stylu wszystko jest ok. Tylko brakuje reszty skryptów.
Natomiast po dodaniu tych skryptów znikają znów te przyciski;/

Dodatkowo jak z wersji 1.8.2 zmieniam na 1.9.2
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.2/jquery.min.js"></script>
to przestają działać poprawnie niektóre skrypty, np wysuwane menu na górze strony te wszystkie skrypty;/
W takim razie na czystym szablonie headerinclude dodawaj po kolei skrypty i sprawdzaj, który jest sprawcą takiego błędu.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
Doprowadziłem do tego że działa edytor normalnie ale trzeba wywalić skrypty z wersji mybb 1.6.
<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=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1800"></script>
<script type="text/javascript">
$(function() {
   $('.dropDownHook span').on('click', function() {
       $(this).parents('.dropDownHook').children('.dropDownContent').stop(true, true).slideToggle('fast', function() {

           if ($('.dropDownContent').is(':visible')) {
               //  This alters the content of the "hook" when we open the drop down
               $('.dropDownHook span').html('Witaj {$mybb->user['username']} ^');
           }
           else {
               //  This alters the content of the "hook" when we close the dropdown
               $('.dropDownHook span').html('Witaj {$mybb->user['username']} ˇ');
           }

       });
   });
  
   $('html').on('click', function() {
       $('.dropDownContent:visible').slideToggle('fast');
   });

   $('.dropDownHook > *').on('click', function(event) {
       event.stopPropagation();
   });
});
</script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1800"></script>
<script type="text/javascript" src="images/rush/tipsy.js"></script>
<script type='text/javascript'>
jQuery(function() {
jQuery("a").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("title").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("img").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("i").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("span").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("div").tipsy({gravity: jQuery.fn.tipsy.autoNS});
  });
</script>
<link type="text/css" rel="stylesheet" href="{$mybb->settings['bburl']}/images/fd/js/colorpicker.css" />
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/fd/font/font-awesome.min.css">
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/fd/font/font-awesome-ie7.min.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='' />";
// -->
</script>
Wszystkie problemy z tym rozwiązuje ten plugin: http://mods.mybb.com/view/ckeditor-wysiwyg-editor
Snake_ napisał 07.01.2015, 21:06:
Nie zamykamy tematów. [Obrazek: modnotice_howto.png]



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

2 gości