Webboard

Pełna wersja: Brak edytora w pełen edycji
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 1.8.4
adres forum: rollage.xaa.pl
na czym polega problem (screen, opis, komunikaty): W pełnej edycji posta/podczas jego pisania nie wyświetla się edytor tekstu.
Headerinclude
Kod PHP:
<meta http-equiv="Content-Type" content="text/html; charset={$charset}/>
<
meta http-equiv="Content-Script-Type" content="text/javascript" />
<
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" />
<
link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css' />
<
link href='http://fonts.googleapis.com/css?family=Roboto+Condensed:300italic,400italic,700italic,400,300,700' rel='stylesheet' type='text/css' />
<
link href='http://fonts.googleapis.com/css?family=Oswald:400,300,700' rel='stylesheet' type='text/css' />
<
link href='//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css' rel='stylesheet' type='text/css' />
<
link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,200italic,400italic,600italic' rel='stylesheet' type='text/css' />
{
$stylesheets}<!-- UNREADPOSTS_CSS -->
<
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" src="{$mybb->settings['bburl']}/images/igame/jquery.tipsy.js"></script>
<
script type='text/javascript'
jQuery(function() {
jQuery("a").tipsy({gravityjQuery.fn.tipsy.autoNS});
jQuery("title").tipsy({gravityjQuery.fn.tipsy.autoNS});
jQuery("img").tipsy({gravityjQuery.fn.tipsy.autoNS});
jQuery("i").tipsy({gravityjQuery.fn.tipsy.autoNS});
jQuery("span").tipsy({gravityjQuery.fn.tipsy.autoNS});
jQuery("div").tipsy({gravityjQuery.fn.tipsy.autoNS});
});
</
script>


<
script
if (
navigator.userAgent.toLowerCase().indexOf("chrome") >= 0)
{
    var 
_interval window.setInterval(function ()
    {
        var 
autofills = $('input:-webkit-autofill');
        if (
autofills.length 0)
        {
            
window.clearInterval(_interval); // stop polling
            
autofills.each(function()
            {
                var clone = $(
this).clone(truetrue);
                $(
this).after(clone).remove();
            });
        }
    }, 
20);
}
</
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
Editpost
Kod PHP:
<html>
<
head>
<
title>{$mybb->settings['bbname']} - {$lang->edit_post}</title>
{
$headerinclude}
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/post.js?ver=1800"></script>
</
head>
<
body id="forums">
{
$header}
{
$preview}
{
$post_errors}
{
$attacherror}
{
$moderation_notice}
{
$deletebox}
<
form id="editpost" action="editpost.php?pid={$pid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<
input type="hidden" name="my_post_key" value="{$mybb->post_code}/>
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="thead" colspan="2"><strong>{$lang->edit_post}</strong></td>
</
tr>
{
$loginbox}
<
tr>
<
td class="trow2"><strong>{$lang->subject}</strong></td>
<
td class="trow2">{$prefixselect}<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}tabindex="1" /></td>
</
tr>
{
$posticons}
<
tr>
<
td class="trow2" valign="top"><strong>{$lang->your_message}:</strong><br /><div style="text-align: center;">{$smilieinserter}</div></td>
<
td class="trow2">
<
textarea name="message" id="message" rows="20" cols="70" tabindex="3">{$message}</textarea>
{
$codebuttons}
</
td>
</
tr>
{
$editreason}
<
tr>
<
td class="trow2" valign="top"><strong>{$lang->post_options}</strong></td>
<
td class="trow2"><span class="smalltext">
<
label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="6"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{
$disablesmilies}</span>
</
td>
</
tr>
{
$subscriptionmethod}
{
$pollbox}
</
table>
{
$attachbox}
<
br />
<
div align="center"><input type="submit" class="button" name="submitbutton" value="{$lang->update_post}tabindex="3" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}tabindex="4" /></div>
<
input type="hidden" name="action" value="do_editpost" />
<
input type="hidden" name="attachmentaid" value="" />
<
input type="hidden" name="attachmentact" value="" />
</
form>
{
$footer}
<
script type="text/javascript">
    $(
".author_avatar img").error(function () {
        $(
this).unbind("error").closest('.author_avatar').remove();
    });
</
script>
</
body>
</
html
Sprawdź wyłączając wszystkie pluginy, czy nadal występuje + dodatkowo na "czystym" headerinclude, dla upewnienia się, czy przypadkiem któryś skrypt nie koliduje.