wersja skryptu MyBB: 1.6.12
adres forum: http://multiplaycraft.cba.pl/index.php
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
Pasek akcesorii się nie pojawia ;p:
Pokaż szablon headerinclude (niezgrupowane szablony).
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 name="google-site-verification" content="6rNX0pUY1xcnPCOArnax1s7mCdSQ-GEWe4MgCR14K8s" />
<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/protoaculous"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/global.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js"></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}
<script type="text/javascript">
Cufon.replace('h1')
</script>
Brakuje tych plików:
Kod:
Failed to load resource: the server responded with a status of 404 (Not Found) http://multiplaycraft.cba.pl/jscripts/global.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://multiplaycraft.cba.pl/jscripts/protoaculous
Gdzie mam umieścić ? Napisz poprawny szablon
Mógł bym prosić o te pliki ? W necie są same wirusy
Razem ze stylem powinny być. Skąd mam je mieć?
Znalazłem, ale gdy wgrałem to i tak nie działa ;(
headerinclude zamień na:
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 name="google-site-verification" content="6rNX0pUY1xcnPCOArnax1s7mCdSQ-GEWe4MgCR14K8s" />
<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/protoaculous"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/global.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js"></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}
<script type="text/javascript">
Cufon.replace('h1')
</script>
Gdy zatwierdzam wyskakuje to zamiast wcześniej napisanego szablonu:
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 name="google-site-verification" content="6rNX0pUY1xcnPCOArnax1s7mCdSQ-GEWe4MgCR14K8s" />
<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/protoaculous"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/global.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js"></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}
<script type="text/javascript">
Cufon.replace('h1')
</script>
Dodają Ci się znaki specjalne HTML.
Podany wcześniej przeze mnie kod wrzuć do notepad++, a następnie do szablonu.
Robię tak jak każesz i nadal nie działa :_:
No to użyj innej przeglądarki.