wersja skryptu MyBB: 1.8.x
adres forum: SlowZ.xaa.pl/forum
na czym polega problem (screen, opis, komunikaty):
Witam mam taki dość typowy problem z szybką odpowiedzią, a mianowicie po napisaniu jej nie odświeża się strona, wydaje mi się że to spowodowane jakimś bałaganem w
headerinclude Aczkolwiek nie wiem, może nie mam jakiegoś kodu bądź skryptu.
Wklejam mój cały styl headerinclude
Kod:
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.cookie.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/sidebar.js"></script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
$("body").addClass($.cookie("BGCHANGER"));
});
</script>
<script type="text/javascript" src="images/duende2/bg/jorgu1.js"></script>
<script type="text/javascript" src="images/duende2/bg/jorgu2.js"></script>
<script type="text/javascript" src="images/duende2/bg/jorgu3.js"></script>
<script type="text/javascript" src="images/duende2/bg/jquery.cookie.js"></script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
$(".tab_content").hide();
$("ul.tabs li:first").addClass("active").show();
$(".tab_content:first").show();
$("ul.tabs li").click(function() {
$("ul.tabs li").removeClass("active");
$(this).addClass("active");
$(".tab_content").hide();
var activeTab = $(this).find("a").attr("href");
$(activeTab).fadeIn();
return false;
});
});
</script>
<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='//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'>
<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->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="images/duende2/jquery-ui.js"></script>
<script type="text/javascript" src="images/duende2/jquery.tipsy.js"></script>
<script type="text/javascript" src="images/duende2/jquery.cookie.js"></script>
<script type='text/javascript'>
jQuery(function() {
jQuery("a").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("title").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("img").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("i").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("span").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("div").tipsy({gravity: jQuery.fn.tipsy.autoNS});
});
</script>
{$stylesheets}
<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>
Proszę o jakąś pomoc, z góry dziękuję
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" />
<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'>
<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->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="images/duende2/jquery-ui.js"></script>
<script type="text/javascript" src="images/duende2/jquery.tipsy.js"></script>
<script type="text/javascript" src="images/duende2/jquery.cookie.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/sidebar.js"></script>
<script type="text/javascript" src="images/duende2/bg/jorgu1.js"></script>
<script type="text/javascript" src="images/duende2/bg/jorgu2.js"></script>
<script type="text/javascript" src="images/duende2/bg/jorgu3.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
$("body").addClass($.cookie("BGCHANGER"));
});
</script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
$(".tab_content").hide();
$("ul.tabs li:first").addClass("active").show();
$(".tab_content:first").show();
$("ul.tabs li").click(function() {
$("ul.tabs li").removeClass("active");
$(this).addClass("active");
$(".tab_content").hide();
var activeTab = $(this).find("a").attr("href");
$(activeTab).fadeIn();
return false;
});
});
</script>
<script type='text/javascript'>
jQuery(function() {
jQuery("a").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("title").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("img").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("i").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("span").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("div").tipsy({gravity: jQuery.fn.tipsy.autoNS});
});
</script>
{$stylesheets}
<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>
Spróbuj tak
Ewentualnie tak:
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" />
<link href='//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,200italic,400italic,600italic' rel='stylesheet' type='text/css'>
<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->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="images/duende2/jquery-ui.js"></script>
<script type="text/javascript" src="images/duende2/jquery.tipsy.js"></script>
<script type="text/javascript" src="images/duende2/jquery.cookie.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.cookie.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sidebar.js"></script>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery("body").addClass(jQuery.cookie("BGCHANGER"));
});
</script>
<script type="text/javascript" src="{$mybb->asset_url}/images/duende2/bg/jorgu1.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/images/duende2/bg/jorgu2.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/images/duende2/bg/jorgu3.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/images/duende2/bg/jquery.cookie.js"></script>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery(".tab_content").hide();
jQuery("ul.tabs li:first").addClass("active").show();
jQuery(".tab_content:first").show();
jQuery("ul.tabs li").click(function(){
jQuery("ul.tabs li").removeClass("active");
jQuery(this).addClass("active");
jQuery(".tab_content").hide();
jQuery(jQuery(this).find("a").attr("href")).fadeIn();
return false;
});
});
</script>
<script type='text/javascript'>
jQuery(function(){
jQuery("a").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("title").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("img").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("i").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("span").tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery("div").tipsy({gravity: jQuery.fn.tipsy.autoNS});
});
</script>
{$stylesheets}
<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>
Gandziu, po zamienieniu kodu znika mi kilka możliwość w poście typu usuwanie go itd.
LikeLoveHate, po włożeniu Twojego kodu mam to samo, nie mogę usuwać postów i go zaznaczać, jak niby zaznaczę odpowiedz i kliknę usuń zaznaczone to wyskakuje mi, że nie zaznaczyłem żadnego posta :/
A teraz?
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" />
<link href='//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,200italic,400italic,600italic' rel='stylesheet' type='text/css'>
<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->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="images/duende2/jquery-ui.js"></script>
<script type="text/javascript" src="images/duende2/jquery.tipsy.js"></script>
<script type="text/javascript" src="images/duende2/jquery.cookie.js"></script>
{$stylesheets}
<script type='text/javascript'>
jQuery(function(){
jQuery('a').tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery('title').tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery('img').tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery('i').tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery('span').tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery('div').tipsy({gravity: jQuery.fn.tipsy.autoNS});
});
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.cookie.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/sidebar.js"></script>
<script type="text/javascript">
jQuery(document).ready(function(jQuery) {
jQuery('body').addClass(jQuery.cookie('BGCHANGER'));
});
</script>
<script type="text/javascript" src="images/duende2/bg/jorgu1.js"></script>
<script type="text/javascript" src="images/duende2/bg/jorgu2.js"></script>
<script type="text/javascript" src="images/duende2/bg/jorgu3.js"></script>
<script type="text/javascript" src="images/duende2/bg/jquery.cookie.js"></script>
<script type="text/javascript">
jQuery(document).ready(function(jQuery) {
jQuery('.tab_content').hide();
jQuery('ul.tabs li:first').addClass('active').show();
jQuery('.tab_content:first').show();
jQuery('ul.tabs li').click(function() {
jQuery('ul.tabs li').removeClass('active');
jQuery(this).addClass("active");
jQuery('.tab_content').hide();
var activeTab = jQuery(this).find('a').attr('href');
jQuery(activeTab).fadeIn();
return false;
});
});
</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>
Pozostaje Ci zmiana stylu na kompatybilny z twoją wersją mybb.
Sądząc po headerinclude ma dobry styl... Jedynie czego nie potrzebuje to zewnętrzne biblioteki jQ, które ładuje aż 3x
no i
Poza tym, troszkę nie w te miejsca co powinny były znaczniki <script>, które ogarnąłem.
LikeLoveHate, znowu to samo po klepaniu tego, wywala mi opcje zaznaczania i usuwania tak jak mówiłem :/ Nie wiem co z tym wyczynić
A tak?
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" />
<link href='//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,200italic,400italic,600italic' rel='stylesheet' type='text/css'>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></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="images/duende2/jquery-ui.js"></script>
<script type="text/javascript" src="images/duende2/jquery.tipsy.js"></script>
<script type="text/javascript" src="images/duende2/jquery.cookie.js"></script>
{$stylesheets}
<script type='text/javascript'>
jQuery(function(){
jQuery('a').tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery('title').tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery('img').tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery('i').tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery('span').tipsy({gravity: jQuery.fn.tipsy.autoNS});
jQuery('div').tipsy({gravity: jQuery.fn.tipsy.autoNS});
});
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.cookie.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/sidebar.js"></script>
<script type="text/javascript">
jQuery(document).ready(function(jQuery) {
jQuery('body').addClass(jQuery.cookie('BGCHANGER'));
});
</script>
<script type="text/javascript" src="images/duende2/bg/jorgu1.js"></script>
<script type="text/javascript" src="images/duende2/bg/jorgu2.js"></script>
<script type="text/javascript" src="images/duende2/bg/jorgu3.js"></script>
<script type="text/javascript" src="images/duende2/bg/jquery.cookie.js"></script>
<script type="text/javascript">
jQuery(document).ready(function(jQuery) {
jQuery('.tab_content').hide();
jQuery('ul.tabs li:first').addClass('active').show();
jQuery('.tab_content:first').show();
jQuery('ul.tabs li').click(function() {
jQuery('ul.tabs li').removeClass('active');
jQuery(this).addClass("active");
jQuery('.tab_content').hide();
var activeTab = jQuery(this).find('a').attr('href');
jQuery(activeTab).fadeIn();
return false;
});
});
</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>
Niestety nie :/ Ale dzieki za pomoc :/
Rzecz jasna daje po plusie
Konto testowe + szablon postbit/postbit_classic.
[L]:tester
[H]:qazwsx123
POSTBIT:
Kod:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr>
<td valign="top" width="18%" class="arrow_box"><br/>
<div class="post_author scaleimages" style="margin-left: 20px; margin-top: 10px;">
{$post['onlinestatus']} <strong><span class="largetext" style="font-size: 18px; padding-top: 10px;">{$post['profilelink']}</span></strong>
<div style="margin-top: 5px;">{$post['useravatar']}</div>
<div class="author_information">
<div style="margin-top: 10px;">
<span class="smalltext">
{$post['fid7']}<br />
{$post['groupimage']}
</span></div>
</div>
<div class="author_statistics">
{$post['user_details']}<br />{$post['thanks_count']}{$post['thanked_count']}{$post['ougc_awards']}
{$post['awards']}
</div>
</div>
<br/><br/><br/>
</td>
<td valign="top">
<div class="post_content">
<div class="post_head">
{$post['posturl']}
{$post['icon']}
<span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
{$post['subject_extra']}
</div><div class="border2">
<div class="post_body scaleimages" id="pid_{$post['pid']}">
<br/><div id="thxpid_{$post['pid']}">{$post['message']}</div><br/>
</div>
<center>{$post['attachments']}
{$post['signature']}{$post['thx_list']}{$post['thx_counter']}{$post['thanks']}</center>
</div>
</div>
<br/><br/><br/>
</td>
</tr>
</table>
<div class="post_controls">
<div class="postbit_buttons author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}{$post['iplogged']}
</div>
<div class="postbit_buttons post_management_buttons float_right">
{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</div>
POSTBIT CLASSIC:
Kod:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr>
<td valign="top" width="25%" class="arrow_box"><br/>
<center>
<div class="post_author scaleimages" style="margin-left: 5px; margin-top: 5px;">
{$post['onlinestatus']} <strong><span class="largetext" style="font-size: 18px; padding-top: 10px;">{$post['profilelink']}</span></strong><br />
{$post['usertitle']}
<div style="margin-top: 5px;" class="brand buzz-out">{$post['useravatar']}</div>
<div class="author_information">
<div style="margin-top: 10px;">
<span class="smalltext">
{$post['groupimage']} <br />
</span></div>
</div>
<div class="author_statistics">
{$post['user_details']}<br />{$post['thanks_count']}{$post['thanked_count']}{$post['ougc_awards']}
</div>
</div></center>
<br/><br/><br/>
</td>
<td valign="top">
<div class="post_content">
<div class="post_head">
{$post['posturl']}
{$post['icon']}
<span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
{$post['subject_extra']}
</div><div class="border2">
<div class="post_body scaleimages" id="pid_{$post['pid']}">
<br/><div id="thxpid_{$post['pid']}">{$post['message']}</div><br/>
</div>
<center>{$post['attachments']}
{$post['signature']}{$post['thx_list']}{$post['thx_counter']}{$post['thanks']}</center>
</div>
</div>
<br/><br/><br/>
</td>
</tr>
</table>
<div class="post_controls">
<div class="postbit_buttons author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}{$post['iplogged']}
</div>
<div class="postbit_buttons post_management_buttons float_right">
{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</div>
Brakuje skryptu forum/jscripts/thx.js.
A skąd go mam wziąć?
thx.js nie używam, bo był potrzebny do pluginu szybkiego dawania plusów a ten plugin odinstalowałem
Chyba
Albo odinstalowałeś, albo chyba odinstalowałeś. Jest różnica. Na moje oko chyba tylko usunąłeś pliki.