Mam problem, który wystąpił nagle.
otóż przycisk rejestruj działa, ale zaloguj nie. ( przy zaloguj się rozsuwało)
i jeszczze większym problemem jest to, że gdy chciałem wejść w mój profil, no to wiadomo nacisnąłem mój nick i się nie rozsuwało, chciałem lognąć no i wyszedłem, wejść już nie mogę XDDD
Wklej tutaj szablon headerinclude (grupa szablonów niezgrupowane)
(15.04.2017, 23:02)Ardex napisał(a): [ -> ]Wklej tutaj szablon headerinclude (grupa szablonów niezgrupowane)
Problem jest jeden.
Nie mogę się zalogować XD
Mogę zrobić oczywiście reinstall, najwyżżej eksportuje styl i go wgram
Cały szablon
headerinclude masz pomieszany.
Kod:
<script type="text/javascript">
<!--
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
lang.no_new_posts = "Dział nie zawiera nowych postów";
lang.click_mark_read = "Kliknij, aby zaznaczyć ten dział jako przeczytany";
// -->
</script>
Co robi tutaj odnośnik do css?
Kod:
<script type="text/javascript">
jQuery(document) .ready(function() {
$('.user-menu').on('click', function(){
$('.user-menu-list').slideToggle('100');
return false;
});
$('html, body').on('click',function(){
$('.user-menu-list').slideUp('100');
});
$(".user-menu-list").click(function(e){
e.stopPropagation();
});
});
<script type="text/javascript" src="http://skycraft.xaa.pl/jscripts/general.js?ver=1806"></script>
<script type="text/javascript">
$(document).ready(function()
{
$(".expcolimage .expander").each(function()
{
if($(this).data('src'))
{
$(this).addClass($(this).data('src').replace('.png', ''));
}
});
expandables.expandCollapse = function(e, controls)
{
element = $(e);
if(!element || controls == false)
{
return false;
}
var expandedItem = $("#"+controls+"_e");
var collapsedItem = $("#"+controls+"_c");
if(expandedItem.length && collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls, 1);
}
}
else if(expandedItem.length && !collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
element.removeClass("collapse_collapsed").addClass("collapse")
.attr("alt", "[-]")
.attr("title", "[-]");
element.parent().parent('td').removeClass('tcat_collapse_collapsed');
element.parent().parent('.thead').removeClass('thead_collapsed');
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
element.removeClass("collapse").addClass("collapse_collapsed")
.attr("alt", "[+]")
.attr("title", "[+]");
element.parent().parent('td').addClass('tcat_collapse_collapsed');
element.parent().parent('.thead').addClass('thead_collapsed');
this.saveCollapsed(controls, 1);
}
}
return true;
};
});
</script>
Nie zamykasz tagu </script>, a zaczynasz już kolejny. Poza tym
general.js już jest dołączony wyżej.
Konsola sypie błędami jak obecnie śnieg za oknem w kieleckim..
(18.04.2017, 15:50)Divir napisał(a): [ -> ]Cały szablon headerinclude masz pomieszany.
Kod:
<script type="text/javascript">
<!--
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
lang.no_new_posts = "Dział nie zawiera nowych postów";
lang.click_mark_read = "Kliknij, aby zaznaczyć ten dział jako przeczytany";
// -->
</script>
Co robi tutaj odnośnik do css?
Kod:
<script type="text/javascript">
jQuery(document) .ready(function() {
$('.user-menu').on('click', function(){
$('.user-menu-list').slideToggle('100');
return false;
});
$('html, body').on('click',function(){
$('.user-menu-list').slideUp('100');
});
$(".user-menu-list").click(function(e){
e.stopPropagation();
});
});
<script type="text/javascript" src="http://skycraft.xaa.pl/jscripts/general.js?ver=1806"></script>
<script type="text/javascript">
$(document).ready(function()
{
$(".expcolimage .expander").each(function()
{
if($(this).data('src'))
{
$(this).addClass($(this).data('src').replace('.png', ''));
}
});
expandables.expandCollapse = function(e, controls)
{
element = $(e);
if(!element || controls == false)
{
return false;
}
var expandedItem = $("#"+controls+"_e");
var collapsedItem = $("#"+controls+"_c");
if(expandedItem.length && collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls, 1);
}
}
else if(expandedItem.length && !collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
element.removeClass("collapse_collapsed").addClass("collapse")
.attr("alt", "[-]")
.attr("title", "[-]");
element.parent().parent('td').removeClass('tcat_collapse_collapsed');
element.parent().parent('.thead').removeClass('thead_collapsed');
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
element.removeClass("collapse").addClass("collapse_collapsed")
.attr("alt", "[+]")
.attr("title", "[+]");
element.parent().parent('td').addClass('tcat_collapse_collapsed');
element.parent().parent('.thead').addClass('thead_collapsed');
this.saveCollapsed(controls, 1);
}
}
return true;
};
});
</script>
Nie zamykasz tagu </script>, a zaczynasz już kolejny. Poza tym general.js już jest dołączony wyżej.
Konsola sypie błędami jak obecnie śnieg za oknem w kieleckim..
To jak ja mam to naprawić? ;v
W sumie nic tam takiego nie zmieniałem, tylko jedynie dodałem (z tego co pamiętam, tylko.) dodałem linijkę, aby nicki z font awesome były widoczne w profilu.
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->asset_url}/jscripts/jquery.js?ver=1811"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1811"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1811"></script>
<script type="text/javascript" src="https://use.fontawesome.com/bfa562be3c.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
{$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 cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
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='' />";
var modal_zindex = 9999;
// -->
</script>
<script type="text/javascript">
$(document).ready(function()
{
$(".expcolimage .expander").each(function()
{
if($(this).data('src'))
{
$(this).addClass($(this).data('src').replace('.png', ''));
}
});
expandables.expandCollapse = function(e, controls)
{
element = $(e);
if(!element || controls == false)
{
return false;
}
var expandedItem = $("#"+controls+"_e");
var collapsedItem = $("#"+controls+"_c");
if(expandedItem.length && collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls, 1);
}
}
else if(expandedItem.length && !collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
element.removeClass("collapse_collapsed").addClass("collapse")
.attr("alt", "[-]")
.attr("title", "[-]");
element.parent().parent('td').removeClass('tcat_collapse_collapsed');
element.parent().parent('.thead').removeClass('thead_collapsed');
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
element.removeClass("collapse").addClass("collapse_collapsed")
.attr("alt", "[+]")
.attr("title", "[+]");
element.parent().parent('td').addClass('tcat_collapse_collapsed');
element.parent().parent('.thead').addClass('thead_collapsed');
this.saveCollapsed(controls, 1);
}
}
return true;
};
});
</script>
<script type="text/javascript">
jQuery(document) .ready(function() {
$('.user-menu').on('click', function(){
$('.user-menu-list').slideToggle('100');
return false;
});
$('html, body').on('click',function(){
$('.user-menu-list').slideUp('100');
});
$(".user-menu-list").click(function(e){
e.stopPropagation();
});
});
</script>
<script type="text/javascript">
$(document).ready(function()
{
$(".expcolimage .expander").each(function()
{
if($(this).data('src'))
{
$(this).addClass($(this).data('src').replace('.png', ''));
}
});
expandables.expandCollapse = function(e, controls)
{
element = $(e);
if(!element || controls == false)
{
return false;
}
var expandedItem = $("#"+controls+"_e");
var collapsedItem = $("#"+controls+"_c");
if(expandedItem.length && collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls, 1);
}
}
else if(expandedItem.length && !collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
element.removeClass("collapse_collapsed").addClass("collapse")
.attr("alt", "[-]")
.attr("title", "[-]");
element.parent().parent('td').removeClass('tcat_collapse_collapsed');
element.parent().parent('.thead').removeClass('thead_collapsed');
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
element.removeClass("collapse").addClass("collapse_collapsed")
.attr("alt", "[+]")
.attr("title", "[+]");
element.parent().parent('td').addClass('tcat_collapse_collapsed');
element.parent().parent('.thead').addClass('thead_collapsed');
this.saveCollapsed(controls, 1);
}
}
return true;
};
});
</script>
(18.04.2017, 20:24)Ardex napisał(a): [ -> ]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->asset_url}/jscripts/jquery.js?ver=1811"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1811"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1811"></script>
<script type="text/javascript" src="https://use.fontawesome.com/bfa562be3c.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
{$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 cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
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='' />";
var modal_zindex = 9999;
// -->
</script>
<script type="text/javascript">
$(document).ready(function()
{
$(".expcolimage .expander").each(function()
{
if($(this).data('src'))
{
$(this).addClass($(this).data('src').replace('.png', ''));
}
});
expandables.expandCollapse = function(e, controls)
{
element = $(e);
if(!element || controls == false)
{
return false;
}
var expandedItem = $("#"+controls+"_e");
var collapsedItem = $("#"+controls+"_c");
if(expandedItem.length && collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls, 1);
}
}
else if(expandedItem.length && !collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
element.removeClass("collapse_collapsed").addClass("collapse")
.attr("alt", "[-]")
.attr("title", "[-]");
element.parent().parent('td').removeClass('tcat_collapse_collapsed');
element.parent().parent('.thead').removeClass('thead_collapsed');
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
element.removeClass("collapse").addClass("collapse_collapsed")
.attr("alt", "[+]")
.attr("title", "[+]");
element.parent().parent('td').addClass('tcat_collapse_collapsed');
element.parent().parent('.thead').addClass('thead_collapsed');
this.saveCollapsed(controls, 1);
}
}
return true;
};
});
</script>
<script type="text/javascript">
jQuery(document) .ready(function() {
$('.user-menu').on('click', function(){
$('.user-menu-list').slideToggle('100');
return false;
});
$('html, body').on('click',function(){
$('.user-menu-list').slideUp('100');
});
$(".user-menu-list").click(function(e){
e.stopPropagation();
});
});
</script>
<script type="text/javascript">
$(document).ready(function()
{
$(".expcolimage .expander").each(function()
{
if($(this).data('src'))
{
$(this).addClass($(this).data('src').replace('.png', ''));
}
});
expandables.expandCollapse = function(e, controls)
{
element = $(e);
if(!element || controls == false)
{
return false;
}
var expandedItem = $("#"+controls+"_e");
var collapsedItem = $("#"+controls+"_c");
if(expandedItem.length && collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls, 1);
}
}
else if(expandedItem.length && !collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
element.removeClass("collapse_collapsed").addClass("collapse")
.attr("alt", "[-]")
.attr("title", "[-]");
element.parent().parent('td').removeClass('tcat_collapse_collapsed');
element.parent().parent('.thead').removeClass('thead_collapsed');
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
element.removeClass("collapse").addClass("collapse_collapsed")
.attr("alt", "[+]")
.attr("title", "[+]");
element.parent().parent('td').addClass('tcat_collapse_collapsed');
element.parent().parent('.thead').addClass('thead_collapsed');
this.saveCollapsed(controls, 1);
}
}
return true;
};
});
</script>
E, e.
Nadal nie mogę rozsunąć tego :c
(19.04.2017, 22:20)ByczekTV napisał(a): [ -> ] (18.04.2017, 20:24)Ardex napisał(a): [ -> ]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->asset_url}/jscripts/jquery.js?ver=1811"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1811"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1811"></script>
<script type="text/javascript" src="https://use.fontawesome.com/bfa562be3c.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
{$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 cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
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='' />";
var modal_zindex = 9999;
// -->
</script>
<script type="text/javascript">
$(document).ready(function()
{
$(".expcolimage .expander").each(function()
{
if($(this).data('src'))
{
$(this).addClass($(this).data('src').replace('.png', ''));
}
});
expandables.expandCollapse = function(e, controls)
{
element = $(e);
if(!element || controls == false)
{
return false;
}
var expandedItem = $("#"+controls+"_e");
var collapsedItem = $("#"+controls+"_c");
if(expandedItem.length && collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls, 1);
}
}
else if(expandedItem.length && !collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
element.removeClass("collapse_collapsed").addClass("collapse")
.attr("alt", "[-]")
.attr("title", "[-]");
element.parent().parent('td').removeClass('tcat_collapse_collapsed');
element.parent().parent('.thead').removeClass('thead_collapsed');
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
element.removeClass("collapse").addClass("collapse_collapsed")
.attr("alt", "[+]")
.attr("title", "[+]");
element.parent().parent('td').addClass('tcat_collapse_collapsed');
element.parent().parent('.thead').addClass('thead_collapsed');
this.saveCollapsed(controls, 1);
}
}
return true;
};
});
</script>
<script type="text/javascript">
jQuery(document) .ready(function() {
$('.user-menu').on('click', function(){
$('.user-menu-list').slideToggle('100');
return false;
});
$('html, body').on('click',function(){
$('.user-menu-list').slideUp('100');
});
$(".user-menu-list").click(function(e){
e.stopPropagation();
});
});
</script>
<script type="text/javascript">
$(document).ready(function()
{
$(".expcolimage .expander").each(function()
{
if($(this).data('src'))
{
$(this).addClass($(this).data('src').replace('.png', ''));
}
});
expandables.expandCollapse = function(e, controls)
{
element = $(e);
if(!element || controls == false)
{
return false;
}
var expandedItem = $("#"+controls+"_e");
var collapsedItem = $("#"+controls+"_c");
if(expandedItem.length && collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls, 1);
}
}
else if(expandedItem.length && !collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
element.removeClass("collapse_collapsed").addClass("collapse")
.attr("alt", "[-]")
.attr("title", "[-]");
element.parent().parent('td').removeClass('tcat_collapse_collapsed');
element.parent().parent('.thead').removeClass('thead_collapsed');
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
element.removeClass("collapse").addClass("collapse_collapsed")
.attr("alt", "[+]")
.attr("title", "[+]");
element.parent().parent('td').addClass('tcat_collapse_collapsed');
element.parent().parent('.thead').addClass('thead_collapsed');
this.saveCollapsed(controls, 1);
}
}
return true;
};
});
</script>
E, e.
Nadal nie mogę rozsunąć tego :c
Przywróć domyślny szablon
headerinclude.
(19.04.2017, 22:48)Fyeem napisał(a): [ -> ][attachment=11809 napisał(a):ByczekTV pid='305566' dateline='1492638340'] (19.04.2017, 22:23)Fyeem napisał(a): [ -> ] (19.04.2017, 22:20)ByczekTV napisał(a): [ -> ] (18.04.2017, 20:24)Ardex napisał(a): [ -> ]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->asset_url}/jscripts/jquery.js?ver=1811"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1811"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1811"></script>
<script type="text/javascript" src="https://use.fontawesome.com/bfa562be3c.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
{$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 cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
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='' />";
var modal_zindex = 9999;
// -->
</script>
<script type="text/javascript">
$(document).ready(function()
{
$(".expcolimage .expander").each(function()
{
if($(this).data('src'))
{
$(this).addClass($(this).data('src').replace('.png', ''));
}
});
expandables.expandCollapse = function(e, controls)
{
element = $(e);
if(!element || controls == false)
{
return false;
}
var expandedItem = $("#"+controls+"_e");
var collapsedItem = $("#"+controls+"_c");
if(expandedItem.length && collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls, 1);
}
}
else if(expandedItem.length && !collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
element.removeClass("collapse_collapsed").addClass("collapse")
.attr("alt", "[-]")
.attr("title", "[-]");
element.parent().parent('td').removeClass('tcat_collapse_collapsed');
element.parent().parent('.thead').removeClass('thead_collapsed');
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
element.removeClass("collapse").addClass("collapse_collapsed")
.attr("alt", "[+]")
.attr("title", "[+]");
element.parent().parent('td').addClass('tcat_collapse_collapsed');
element.parent().parent('.thead').addClass('thead_collapsed');
this.saveCollapsed(controls, 1);
}
}
return true;
};
});
</script>
<script type="text/javascript">
jQuery(document) .ready(function() {
$('.user-menu').on('click', function(){
$('.user-menu-list').slideToggle('100');
return false;
});
$('html, body').on('click',function(){
$('.user-menu-list').slideUp('100');
});
$(".user-menu-list").click(function(e){
e.stopPropagation();
});
});
</script>
<script type="text/javascript">
$(document).ready(function()
{
$(".expcolimage .expander").each(function()
{
if($(this).data('src'))
{
$(this).addClass($(this).data('src').replace('.png', ''));
}
});
expandables.expandCollapse = function(e, controls)
{
element = $(e);
if(!element || controls == false)
{
return false;
}
var expandedItem = $("#"+controls+"_e");
var collapsedItem = $("#"+controls+"_c");
if(expandedItem.length && collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
collapsedItem.toggle("fast");
this.saveCollapsed(controls, 1);
}
}
else if(expandedItem.length && !collapsedItem.length)
{
if(expandedItem.is(":hidden"))
{
expandedItem.toggle("fast");
element.removeClass("collapse_collapsed").addClass("collapse")
.attr("alt", "[-]")
.attr("title", "[-]");
element.parent().parent('td').removeClass('tcat_collapse_collapsed');
element.parent().parent('.thead').removeClass('thead_collapsed');
this.saveCollapsed(controls);
}
else
{
expandedItem.toggle("fast");
element.removeClass("collapse").addClass("collapse_collapsed")
.attr("alt", "[+]")
.attr("title", "[+]");
element.parent().parent('td').addClass('tcat_collapse_collapsed');
element.parent().parent('.thead').addClass('thead_collapsed');
this.saveCollapsed(controls, 1);
}
}
return true;
};
});
</script>
E, e.
Nadal nie mogę rozsunąć tego :c
Przywróć domyślny szablon headerinclude.
A jak ja to zrobię? ;v
[attachment=11809]
Teraz to Ci się udało ;v
-----
Nie dość, że nie mogę rozsunąć tego, to jeszcze mi znikły ikonki acp i mcp ._.
Na górze w postach masz swoja starą wersję, wklej co potrzeba. Ogarnij w podobny sposób szablon nagłówka dla gości.
(20.04.2017, 00:19)Fyeem napisał(a): [ -> ]Na górze w postach masz swoja starą wersję, wklej co potrzeba. Ogarnij w podobny sposób szablon nagłówka dla gości.
Wgrałem oryginalną wersję szablonu headerinclude , ale to oryginał ze stylu (SkillShot)
Działa, dziękuję za pomoc !