Webboard

Pełna wersja: Brak edytora tekstu - konflikty z jQuery
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB:
adres forum:micromars.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

brakuje edytora tekstu

o to headerinclude
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/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/login.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/panel.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/tiptip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/cookies.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/easing.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/fancycollapses.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/script.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/sidebar_2.0.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/member.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript">
jQuery(window).load(function(){
jQuery('#wczytywanie').fadeOut('slow',function(){
jQuery(this).remove();
});
});
</script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {

    jQuery('a[href=#top]').click(function(){
        jQuery('html, body').animate({scrollTop:0}, 'slow');
        return false;
    });

});
</script>
<script type="text/javascript">
jQuery(document).ready(function($) {
jQuery(".tipTip").tipTip();
});
</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}
<div class="forums" style="float: left;width: 75%;">
{$forums}
</div>
<br class="clear" />
{$dvz_shoutbox}
<br>
{$boardstats}
<br style="clear: both" />
{$footer}
</body>
</html>

https://webboard.pl/search.php?action=re...order=desc

Dodatkowo zauważyłem, że nie działa Ci slider facebook... zamień:

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="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></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="{$mybb->settings['bburl']}/images/memory_djhehe/js/login.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/panel.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/tiptip.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/cookies.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/easing.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/fancycollapses.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/script.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/sidebar_2.0.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/member.js"></script>

<
script type="text/javascript">jQuery.noConflict();</script>

<
script type="text/javascript">
jQuery(window).load(function(){
jQuery('#wczytywanie').fadeOut('slow',function(){
jQuery(this).remove();
});
});
</
script>
<
script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {

    
jQuery('a[href=#top]').click(function(){
        
jQuery('html, body').animate({scrollTop:0}, 'slow');
        return 
false;
    });

});
</
script>
<
script type="text/javascript">
jQuery(document).ready(function($) {
jQuery(".tipTip").tipTip();
});
</
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

I wywaliłem ten kod, nie wiem co on robił w headerinclude:

Kod PHP:
<div class="forums" style="float: left;width: 75%;">
{
$forums}
</
div>
<
br class="clear" />
{
$dvz_shoutbox}
<
br>
{
$boardstats}
<
br style="clear: both" />
{
$footer}
</
body>
</
html
Wszystko pieknie ale teraz nie działa ten slider facebook

bo nie chce sie wysuwać jak sie klika
Czyli edytor tekstu już działa?

Spróbuj tak:

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/popup_menu.js?ver=1600"></script>
<
script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/login.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/panel.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/tiptip.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/cookies.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/easing.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/fancycollapses.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/script.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/sidebar_2.0.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/memory_djhehe/js/member.js"></script>

<
script type="text/javascript">jQuery.noConflict();</script>

<
script type="text/javascript">
jQuery(window).load(function(){
jQuery('#wczytywanie').fadeOut('slow',function(){
jQuery(this).remove();
});
});
</
script>
<
script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {

    
jQuery('a[href=#top]').click(function(){
        
jQuery('html, body').animate({scrollTop:0}, 'slow');
        return 
false;
    });

});
</
script>
<
script type="text/javascript">
jQuery(document).ready(function($) {
jQuery(".tipTip").tipTip();
});
</
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

Ewentualnie zmień z:

Kod PHP:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script

Na:

Kod PHP:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script

Sprawdź czy na 2.0.3 też działa wszystko poprawnie.
Dalej brak edytora tekstu i nie wysuwa sie ta wtyczka facebook
Mi przed chwilą działał slider i nawet działy się chowały i wysuwały - teraz ta funkcja nie działa. Nie wiem co zrobiłeś że znów nie działa. Niestety, ale musisz tak się pobawić wersjami i miejscami. Spróbuj jquery przesunąć pod prototype, zapisać i sprawdzić. Możesz też po popop_menu przesunąć bo to jest wskazane.

Ja u siebie korzystam z wersji 1.7.2 i wszystko działa jak należy.
Dobra a mogł byś poprawić w tym 1 moim poście tylko to żeby header był na samej górze ?