wersja skryptu MyBB: 1.6.12
adres forum:
http://www.blantstrike.pl
na czym polega problem (screen, opis, komunikaty, nazwa i wersja wtyczki):
Widać wszystko na zdjęciu po prostu zawartość nie chce się schować do odpowiedniego miejsca z niewidomych przyczyn, wgrałem normalnie plugin Ostatnie Wpisy baszara i takie coś mam :/
1. Na stronie jest inny styl niżeli na screenie - tu działa właściwie.
2. Pokaż ACP → Style i szablony → szablony → Twój szablon → Podgląd profilu → member_profile
Kod:
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<div class="podglad">
<h3 class="thead podglad_nazwa_bel"><span class="podglad_nazwa">{$memprofile['username']}</span></h3>
<div class="info_podglad">
<div class="calosc_podglad">
<div class="lewa_podglad">
<div class="avatar_podglad">
<img src="{$memprofile['avatar']}" width="138" height="138" alt="" />
</div>
<ul class="tabs">
<li><a href="#tab1">Przegląd</a></li>
<li><a href="#tab3">Posty</a></li>
<li style="border-bottom: none !important;"><a href="#tab4">Tematy</a></li>
</ul>
</div>
<div class="prawa_podglad">
<div class="tab_container">
<span class="info_top">
<h1 class="nick_usera">{$memprofile['username']}</h1>
<span class="info_o_userze">
<span style="float:right;margin-right: 20px;">
<span style="margin-right:10px;">{$buddy_options}</span>
<div class="post_field1" style="margin-right:10px;">
<a href="search.php?action=finduser&uid={$uid}">
<img alt="Brak" src="/images/page_topic_magnify.png"></img>
Moja zawartość
</a>
</div>
<div class="post_field1" style="margin-right:10px;">
<a href="private.php?action=send&uid={$uid}">
<img alt="Brak" src="/images/email_open.png"></img>
Wyślij wiadomość
</a>
</div></span>
<ul>
<li>Rejestracja: {$memregdate}</li>
<li>{$online_status}</li>
</ul>
</span>
</span>
<div id="tab1" class="tab_content">
<div class="podglad_wrapper">
<div class="lewa_content">
<div class="tabela_podglad">
<h3>O mnie</h3>
<div style="padding: 9px;margin-top: -14px;">
{$osobie}
</div>
</div>
<div class="tabela_podglad">
<h3>Statystyki</h3>
<ul class="staty_podglad">
<li class="clear clearfix">
<span class="row_title">Grupa:</span>
<span class="row_data">{$grupa}</span>
</li>
<li class="clear clearfix">
<span class="row_title">Całość postów:</span>
<span class="row_data">{$memprofile['postnum']}</span>
</li>
<li class="clear clearfix">
<span class="row_title">Czas online:</span>
<span class="row_data">{$timeonline}</span>
</li>
<li class="clear clearfix">
<span class="row_title">Tytuł:</span>
<span class="row_data">{$usertitle}</span>
</li>
<li class="clear clearfix">
<span class="row_title">Wiek:</span>
<span class="row_data">{$membday} {$membdayage}</span>
</li>
<li class="clear clearfix">
<span class="row_title">Płeć:</span>
<span class="row_data">{$plec}</span>
</li>
<li class="clear clearfix">
<span class="row_title">Miejscowość:</span>
<span class="row_data">{$miejscowosc}</span>
</li>
<li class="clear clearfix">
<span class="row_title">Strona:</span>
<span class="row_data">{$website}</span>
</li>
</ul>
</div>
<div class="tabela_podglad">
<h3>Dane Kontaktowe</h3>
<ul class="staty_podglad">
<li class="clear clearfix">
<span class="row_title">{$lang->sr_plims_skype_uid}</span>
<span class="row_data"><script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
<object data="http://mystatus.skype.com/smallicon/{$memprofile['sr_skype']}" type="image/png" width="18" height="18"><object data="./images/sr_plugins/plims/no_skype.png" type="image/png" width="16" height="16"> </object></object>
<a href="skype:{$memprofile['sr_skype']}?chat">{$memprofile['sr_skype']}</a></span>
</li>
<li class="clear clearfix">
<span class="row_title">{$lang->sr_plims_gadu_uid}</span>
<span class="row_data"><object data="http://status.gadu-gadu.pl/users/status.asp?id={$memprofile['sr_gadu']}&styl=0" type="image/png" width="20" height="20"><object data="./images/sr_plugins/plims/no_gadu.png" type="image/png" width="18" height="18"> </object></object>
<a href="gg:{$memprofile['sr_gadu']}">{$memprofile['sr_gadu']}</a></span>
</li>
</ul>
</div>
</div>
<div class="prawa_content">
{$reputacja}
{$buddy_list}
{$last_visit}
</div>
</div>
</div>
<div id="tab3" class="tab_content">
{$ostatnie_posty}
</div>
<div id="tab4" class="tab_content">
{$ostatnie_tematy}
</div>
</div>
</div>
</div>
</div>
</div>
{$footer}
</body>
</html>
http://blantstrike.pl/member.php?action=profile&uid=1
Jak masz bałagan w kodzie...
Co robi na górze forum napis jQuery.noConflict(); ?
Na pewno źle jest kod w headerinclude
EDiT: Snake mnie uprzedził.
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>
<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}
Jest to nieudana kopia szablonu By Baszar.
Pobierz Carbon by baszar - następnie wejdź w Carbon By baszar/images/js - skopiuj folder js do swojego images na serwerze (cały folder, nie jego pliki!), a następnie weź z tamtego szablonu headernciude skopiuj do siebie.
Spróbuj tak:
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 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="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>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/login.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/panel.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/tiptip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/cookies.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/easing.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/fancycollapses.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/script.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/sidebar_2.0.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/member.js"></script>
{$newpmmsg}
tylko zamiast caron ustaw właściwą nazwę / ścieżkę
Znowu sięzrobiło tak jak przedtem ,że są wpisy zlane
Albo tu:
Kod PHP:
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/member.js"></script>
ustaw prawidłową ścieżkę do member.js, albo dodaj to do headerinclude:
Kod PHP:
<script type="text/javascript">
jQuery(document).ready(function() {
//When page loads...
jQuery(".tab_content").hide(); //Hide all content
jQuery("ul.tabs li:first").addClass("active").show(); //Activate first tab
jQuery(".tab_content:first").show(); //Show first tab content
//On Click Event
jQuery("ul.tabs li").click(function() {
jQuery("ul.tabs li").removeClass("active"); //Remove any "active" class
jQuery(this).addClass("active"); //Add "active" class to selected tab
jQuery(".tab_content").hide(); //Hide all tab content
var activeTab = jQuery(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
jQuery(activeTab).fadeIn(); //Fade in the active ID content
return false;
});
});</script>
Dodałem to i dalej nic :p
Ścieżka jest prawidłowa
Poradziłem sobie wystarczyło skopiować z baszara Headerinclude i usunąc linikje
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/script.js"></script>