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

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

Nie otwiera się Profil i Ustwienia stylu Candy

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

wersja skryptu MyBB: 1.6.10
adres forum: forum-rastia.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): SS / Gdy klikam na swój nick, bądź Ustawienia powinno wyświetlać się zawartość tego a ja klikam i nic. / Candy Theme

Konto testowe:

Login: MybbTest
Hasło: 12345x
Plik *.js wgrałeś? Pokaż swój headerinclude (ACP -> Style i Szablony -> Szablony -> Twój_Szablon -> Niezgrupowane szablony -> 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=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1400"></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}{$mybb-
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=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1400"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.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}
Ps. Czy Ty masz tam plik *.js albo folder js w plikach stylu??
Kod nie pomógł.

Ps. Mam folder pixelmonkey a w nim candy.js
Próbowałem candy.js wrzucić do głównego folderu, lecz nic.
Spróbuj jeszcze to:
<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=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1400"></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/pixelmonkey/candy.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}

Ps. Podaj DW stylu. :/
(24.06.2013, 08:02)gibonpl napisał(a): Spróbuj jeszcze to:
<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=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1400"></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/pixelmonkey/candy.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}

Ps. Podaj DW stylu. :/


DW? Sorrrki ale nie ogarniam, możesz pełną nazwę?
Zamień swój headerinclude na ten:
<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.7.2/jquery.min.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/pixelmonkey/candy.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}

Testowane, działa. ;)
Dzięki serdeczne! :)
SLAVOO napisał 24.06.2013, 12:55:
[Obrazek: modnotice_thx.png]

Nie pisz już posta jak dziękujesz. Czy tak trudno przeczytać zasady podane wyżej?



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

2 gości