wersja skryptu MyBB:1.6
adres forum:http://polskigoldtruck.xaa.pl/index.php
na czym polega problem (screen, opis, komunikaty):
Witam, mam MyBB w wersji 1.6+styl Gameshark(
http://mods.mybb.com/view/gameshark), i kiedy naciskam przycisk "Zgłoś", "Edytuj", lub próbuję przyznać punk reputacji, nic się nie dzieje. Wyczytałem, że tak się dzieje, jeśli styl z MyBB 1.6 instalujemy na 1.8, ale mam zainstalowane MyBB w wersji 1.6.
Podaj szablon headerinclude (niezgrupowane szablony).
(bez demo ciężko będzie pomóc).
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" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<link href='http://fonts.googleapis.com/css?family=Roboto+Condensed:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/Gameshark/font/css/font-awesome.css"></link>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.cookie.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tipsy.js"></script>
<script type="text/javascript">
jQuery(function() {
var quotes = jQuery(".quotes");
var quoteIndex = -1;
function showNextQuote() {
++quoteIndex;
quotes.eq(quoteIndex % quotes.length)
.fadeIn(1000)
.delay(12000)
.fadeOut(1000, showNextQuote);
}
showNextQuote();
});
</script>
<script type='text/javascript'>
jQuery.noConflict();
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">
jQuery.noConflict();
jQuery(document).ready(function() {
jQuery('a[href=#top]').click(function(){
jQuery('body,html').animate({scrollTop: 0}, 1200);
return false;
});
});
</script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(function($) {
jQuery(".clickedbuttons").hide();
jQuery(".buttons").click(function() {
jQuery(".sidebar").animate({height: "hide", opacity: 0}, 500,
function() {
jQuery(".forums").animate({width: "1024px"}, 500);
});
jQuery(this).hide();
jQuery(".clickedbuttons").show();
jQuery.cookie("sidebar","collapsed", {expires: 365});
return false;
});
jQuery(".clickedbuttons").click(function() {
jQuery(".forums").animate({width: "724px"}, 500,
function() {
jQuery(".sidebar").animate({height: "show", opacity: 1}, 500);
});
jQuery(this).hide();
jQuery(".buttons").show();
jQuery.cookie("sidebar","expanded", {expires: 365});
return false;
});
if($.cookie("sidebar") == "collapsed") {
jQuery(".buttons").hide();
jQuery(".clickedbuttons").show();
jQuery(".forums").css("width","1024px");
jQuery(".sidebar").hide();
};
});
</script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
jQuery(".catdesc").hide();
jQuery(".cattitle").on('mouseover mouseout', function(event) {
var catdesc = $(this).parent().children('.catdesc');
var content = catdesc.text();
if (content !== "") {
if (event.type == 'mouseover') {
catdesc.fadeIn('slow');
} else {
catdesc.stop(true, true).fadeOut('slow');
}
}
});
});
</script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
function DropDown(el) {
this.dd = el;
this.initEvents();
}
DropDown.prototype = {
initEvents : function() {
var obj = this;
obj.dd.on('click', function(event){
$(this).toggleClass('active');
event.stopPropagation();
});
}
}
jQuery(function() {
var dd = new DropDown( $('#dd') );
jQuery(document).click(function() {
jQuery('.wrapper-dropdown-5').removeClass('active');
});
});
});
</script>
<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>
{$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}
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>
<link href='http://fonts.googleapis.com/css?family=Roboto+Condensed:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/Gameshark/font/css/font-awesome.css"></link>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.cookie.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tipsy.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript">
jQuery(function() {
var quotes = jQuery(".quotes");
var quoteIndex = -1;
function showNextQuote() {
++quoteIndex;
quotes.eq(quoteIndex % quotes.length)
.fadeIn(1000)
.delay(12000)
.fadeOut(1000, showNextQuote);
}
showNextQuote();
});
</script>
<script type='text/javascript'>
jQuery.noConflict();
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">
jQuery.noConflict();
jQuery(document).ready(function() {
jQuery('a[href=#top]').click(function(){
jQuery('body,html').animate({scrollTop: 0}, 1200);
return false;
});
});
</script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(function($) {
jQuery(".clickedbuttons").hide();
jQuery(".buttons").click(function() {
jQuery(".sidebar").animate({height: "hide", opacity: 0}, 500,
function() {
jQuery(".forums").animate({width: "1024px"}, 500);
});
jQuery(this).hide();
jQuery(".clickedbuttons").show();
jQuery.cookie("sidebar","collapsed", {expires: 365});
return false;
});
jQuery(".clickedbuttons").click(function() {
jQuery(".forums").animate({width: "724px"}, 500,
function() {
jQuery(".sidebar").animate({height: "show", opacity: 1}, 500);
});
jQuery(this).hide();
jQuery(".buttons").show();
jQuery.cookie("sidebar","expanded", {expires: 365});
return false;
});
if($.cookie("sidebar") == "collapsed") {
jQuery(".buttons").hide();
jQuery(".clickedbuttons").show();
jQuery(".forums").css("width","1024px");
jQuery(".sidebar").hide();
};
});
</script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
jQuery(".catdesc").hide();
jQuery(".cattitle").on('mouseover mouseout', function(event) {
var catdesc = $(this).parent().children('.catdesc');
var content = catdesc.text();
if (content !== "") {
if (event.type == 'mouseover') {
catdesc.fadeIn('slow');
} else {
catdesc.stop(true, true).fadeOut('slow');
}
}
});
});
</script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
function DropDown(el) {
this.dd = el;
this.initEvents();
}
DropDown.prototype = {
initEvents : function() {
var obj = this;
obj.dd.on('click', function(event){
$(this).toggleClass('active');
event.stopPropagation();
});
}
}
jQuery(function() {
var dd = new DropDown( $('#dd') );
jQuery(document).click(function() {
jQuery('.wrapper-dropdown-5').removeClass('active');
});
});
});
</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}
Hmm, skopiowałem, i wciąż to samo.
W takim razie czekamy, aż wrzucisz forum na hosting.