Webboard

Pełna wersja: Edytor w stylu DarkIce
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 1.6.x
adres forum: http://wygnancy.tk
na czym polega problem (screen, opis, komunikaty):

Witam.
Mam posiadam styl DarkIce, przy czym mam problem z edytorem, a dokładniej belką MyCode.
Początkowo nie działało, gdzieś poszukałem i trzeba było dopisać
Kod:
<script type="text/javascript" src="jscripts/editor.js?ver=1603"></script>

Przy czym gdy to dopisałem, collapse zaczęły mi nie działać...

Teraz gdy dodaję wyzej wymieniony odnośnik do skryptu, nic się nie dzieje.

Mój headerinclude:

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="jscripts/editor.js?ver=1603"></script>
<
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&nbsp;type="text/javascript"&nbsp;src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.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 type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
<
script type="text/javascript">jQuery.noConflict();</script
<!-- 
Theme Javascript //-->
<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/dark/js/tiptip.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/dark/js/cookies.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/dark/js/easing.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/dark/js/fancycollapses.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/dark/js/script.js"></script>
<!-- 
End Theme Javascript //-->

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

Proszę o pomoc,
Pozdrawiam!
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="jscripts/editor.js?ver=1603"></script>
<
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="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.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>
<!-- 
Theme Javascript //-->
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/dark/js/tiptip.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/dark/js/cookies.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/dark/js/easing.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/dark/js/fancycollapses.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/dark/js/script.js"></script>
<!-- 
End Theme Javascript //-->

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

Tylko dobrze wklej, bo poprzedni kod masz z błędami. np
&nbsp