22.05.2013, 11:05
wersja skryptu MyBB: 1.6.10
adres forum: http://forum.repvictoria.pl/
na czym polega problem (screen, opis, komunikaty):
Witam! Po wgraniu nowego stylu "Algid" mam problem z paskiem na górze strony. Na stronie głównej działa prawidłowo, jednak gdy próbuję rozwinąć pasek panelu użytkownika będąc w temacie to jest już problem.
Mój szablon headerinclude
Mój szablon header_welcomeblock_member
adres forum: http://forum.repvictoria.pl/
na czym polega problem (screen, opis, komunikaty):
Witam! Po wgraniu nowego stylu "Algid" mam problem z paskiem na górze strony. Na stronie głównej działa prawidłowo, jednak gdy próbuję rozwinąć pasek panelu użytkownika będąc w temacie to jest już problem.
Mój szablon headerinclude
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" />
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<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.7.2/jquery.min.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.leanModal.min.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.idTabs.min.js"></script>
<script type="text/javascript">
jQuery(function() {
jQuery('a[rel*=leanModal]').leanModal({ top : 200, closeButton: ".modal_close" });
});
</script>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('#loged-toggle').click(function() {
jQuery('#loged-content').slideToggle(300, function() {
jQuery("#loged-toggle p").toggle();
});
});
});
</script>
<script type="text/javascript">
jQuery(document).ready(function()
{
jQuery('div.htmltabs div.tabsContent').hide();//tabsContent class is used to hide all the tabs content in the start
jQuery('div.tab1').show(); // It will show the first tab content when page load, you can set any tab content you want - just put the tab content class e.g. tab4
jQuery('div.htmltabs ul.tabs li.tab1 a').addClass('tab-current');// We will add the class to the current open tab to style the active state
//It will add the click event on all the anchor tag under the htmltabs class to show the tab content when clicking to the tab
jQuery('div.htmltabs ul li a').click(function()
{
var thisClass = this.className.slice(0,4);//"this" is the current anchor where user click and it will get the className from the current anchor and slice the first part as we have two class on the anchor
jQuery('div.htmltabs div.tabsContent').hide();// It will hide all the tab content
jQuery('div.' + thisClass).show(); // It will show the current content of the user selected tab
jQuery('div.htmltabs ul.tabs li a').removeClass('tab-current');// It will remove the tab-current class from the previous tab to remove the active style
jQuery(this).addClass('tab-current'); //It will add the tab-current class to the user selected tab
});
});
</script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript" src="http://ciasteczka.eu/cookiesEU-latest.min.js"></script>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery.fn.cookiesEU();
});
</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">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-37944722-1']);
_gaq.push(['_setDomainName', 'repvictoria.pl']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
{$newpmmsg}
Mój szablon header_welcomeblock_member
Kod PHP:
<div id="loged">
<div id="loged-slide">
{$lang->welcome_back}
<div id="loged-content">
<div class="linki">
<p style=" position:relative; border-bottom: 1px solid #333; border-top: 1px solid #333;"><a href="usercp.php?action=avatar"><img src="{$mybb->user['avatar']}" width="30" height="30" style="position:relative; margin-right:15px; margin-bottom: -10px; margin-top:-5px; "><a href="{$mybb->settings['bburl']}/usercp.php"><strong>{$lang->welcome_usercp}</strong></a><br/></p>
<span style="float:left; font-size:11px; margin-right:10px;">
<p><a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 350, 350);">{$lang->welcome_open_buddy_list}</a></p>
<p><a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a></p>
</span>
<span style="font-size:11px;">
<p><a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a></p>
<p><a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}</p>
</span>
<span style="float:left; font-size:11px; margin-right:10px;">
{$modcplink}{$admincplink}
</span>
<span style="font-size:11px;">
<p><a class="logout" href="{$mybb->settings['bburl']}/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a></p>
</span>
</div>
</div>
</div>
<div id="loged-toggle">
<p><img src="{$theme['imgdir']}/login_panelopen.png"/></p>
<p style="display: none;"><img src="{$theme['imgdir']}/login_panelclose.png"/></p>
</div>
</div>