Dołącz do zespołu ekspertów! Backend lub Frontend Developer?

Sprawdź najnowsze oferty pracy naszego partnera - 8lines.io!

Długie lądowanie się odpowiedzi

Założony przez  Polish.

Wersja skryptu MyBB:1.6.12
Adres forum: cs-pasjonaci.pl
Opis: Tak jak w opisie mam problem z odpowiedziami na forum jak nacisnę przycisk odpowiedz to długo się ląduje niczym odpowiedz się pokaże, muszę aż odświeżyć forum.


Załączone pliki Miniatury
   
Spróbuj odinstalować plugin na zaawansowaną szybką odpowiedz.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
Snake_, zrobiłem jak napisałeś nadal nie działa ;/
Zrób kopię szablonu postbit i przywróć go do oryginału + pokaż headerinclude.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
headerinclude:

<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 rel="shortcut icon" href='http://cs-pasjonaci.pl/images/favicon.ico' />
<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/jquery.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tiptip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/yetii.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>


<script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/login.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/panel.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/tiptip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/cookies.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/easing.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/fancycollapses.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/script.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/sidebar_2.0.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/member.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/member.js"></script>


<script type="text/javascript">jQuery.noConflict();</script>
{$stylesheets}<!-- UNREADPOSTS_CSS -->






<script>
jQuery.noConflict();
jQuery(document).ready(function(){
    jQuery(function () {
        // scroll body to 0px on click
        jQuery('#back-top').click(function () {
            jQuery('body,html').animate({
                scrollTop: 0
            }, 800);
            return false;
        });
    });
        jQuery(".loginbutton").click(function(e) {
            e.preventDefault();
            jQuery(".loginbutton_menu").slideToggle("fast");
            jQuery(".loginbutton").toggleClass("loginbutton_menu_open");
        });
        jQuery(".loginbutton_menu").mouseup(function() {
            return false
        });
        jQuery(document).mouseup(function(e) {
            if(jQuery(e.target).parent("a.loginbutton").length==0) {
                jQuery(".loginbutton").removeClass("loginbutton_menu_open");
                jQuery(".loginbutton_menu").slideUp("fast",  function() {display: 'toggle'});;
            }
            
        });
jQuery(function(){
jQuery(".pmpopup").tipTip({defaultPosition: "top", fadeIn: 300});
});
});
</script>
<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>
jQuery.noConflict();
jQuery(document).ready(function() {    
    //select all the a tag with name equal to modal
    jQuery('a[name=modal]').click(function(e) {
        //Cancel the link behavior
        e.preventDefault();
        //Get the A tag
        var id = jQuery(this).attr('href');
    
        //Get the screen height and width
        var maskHeight = jQuery(document).height();
        var maskWidth = jQuery(window).width();
    
        //Set height and width to mask to fill up the whole screen
        jQuery('#mask').css({'width':maskWidth,'height':maskHeight});
        
        //transition effect        
        jQuery('#mask').fadeIn("fast");
        jQuery('#mask').fadeTo("slow",0.5);    
    
        //Get the window height and width
        var winH = jQuery(window).height();
        var winW = jQuery(window).width();
              
    
        //transition effect
        jQuery(id).fadeIn("slow");
    
    });
    
    //if close button is clicked
    jQuery('.window .close').click(function (e) {
        //Cancel the link behavior
        e.preventDefault();
        jQuery('#mask, .window, #loginbox').fadeOut("slow");
    });        
    
    //if mask is clicked
    jQuery('#mask').click(function () {
        jQuery(this).fadeOut("slow");
        jQuery('.window').fadeOut("slow");
    });            
    
} );
</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 rel="shortcut icon" href='http://cs-pasjonaci.pl/images/favicon.ico' />
<
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/jquery.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tiptip.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/yetii.js"></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" src="{$mybb->settings['bburl']}/images/newdark/js/login.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/panel.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/tiptip.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/cookies.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/easing.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/fancycollapses.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/script.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/sidebar_2.0.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/member.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/member.js"></script>
<
script type="text/javascript">jQuery.noConflict();</script
{
$stylesheets}<!-- UNREADPOSTS_CSS -->
<
script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function(){
    
jQuery(function () {
        
// scroll body to 0px on click
        
jQuery('#back-top').click(function () {
            
jQuery('body,html').animate({
                
scrollTop0
            
}, 800);
            return 
false;
        });
    });
        
jQuery(".loginbutton").click(function(e) {
            
e.preventDefault();
            
jQuery(".loginbutton_menu").slideToggle("fast");
            
jQuery(".loginbutton").toggleClass("loginbutton_menu_open");
        });
        
jQuery(".loginbutton_menu").mouseup(function() {
            return 
false
        
});
        
jQuery(document).mouseup(function(e) {
            if(
jQuery(e.target).parent("a.loginbutton").length==0) {
                
jQuery(".loginbutton").removeClass("loginbutton_menu_open");
                
jQuery(".loginbutton_menu").slideUp("fast",  function() {display'toggle'});;
            }
            
        });
jQuery(function(){
jQuery(".pmpopup").tipTip({defaultPosition"top"fadeIn300});
});
});
</
script>
<
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">
jQuery.noConflict();
jQuery(document).ready(function() {    
    
//select all the a tag with name equal to modal
    
jQuery('a[name=modal]').click(function(e) {
        
//Cancel the link behavior
        
e.preventDefault();
        
//Get the A tag
        
var id jQuery(this).attr('href');
    
        
//Get the screen height and width
        
var maskHeight jQuery(document).height();
        var 
maskWidth jQuery(window).width();
    
        
//Set height and width to mask to fill up the whole screen
        
jQuery('#mask').css({'width':maskWidth,'heigh​t':maskHeight});
        
        
//transition effect        
        
jQuery('#mask').fadeIn("fast");
        
jQuery('#mask').fadeTo("slow",0.5);    
    
        
//Get the window height and width
        
var winH jQuery(window).height();
        var 
winW jQuery(window).width();
              
    
        
//transition effect
        
jQuery(id).fadeIn("slow"); 
    
    });
    
    
//if close button is clicked
    
jQuery('.window .close').click(function (e) {
        
//Cancel the link behavior
        
e.preventDefault();
        
jQuery('#mask, .window, #loginbox').fadeOut("slow");
    });        
    
    
//if mask is clicked
    
jQuery('#mask').click(function () {
        
jQuery(this).fadeOut("slow");
        
jQuery('.window').fadeOut("slow");
    });            
    
} );
</
script>
{
$newpmmsg
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
Nadal to samo ;/
Usuń jedno:
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/newdark/js/member.js"></script

Jeśli nie pomoże to bierz się do porównywania obecnego szablonu postbit, a oryginalnego MyBB.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
@Snake_, usunąłem mu to, bo przez pewien czas robiłem mu forum. Zmieniłem również wersję jQuery na 1.9.2, ponieważ na 1.9.0 NIE DZIAŁA mu edytor tekstowy.

Dodam jeszcze, że na jego stronie nie mam problemu z długim ładowaniem się odpowiedzi. Mi post dodaje się normalnie. Nie wiem w czym on ma problem.
Pomoc poza forum - odpłatnie.
Mojemu koledze tez nie działa wiec to nie może być wina z mojej strony, mozliwe ze tobie dziala bo używasz linuxa ;/

//Edit


Postbit z Default Templates

{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
    <tbody>
        <tr>
            <td class="tcat">
                <div class="float_left smalltext">
                    {$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
                </div>
                {$post['posturl']}
            </td>
        </tr>

        <tr>
            <td class="trow1 {$unapproved_shade}">
                <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
                    <tr>
                        <td class="post_avatar" width="1" style="{$post['avatar_padding']}">
                            {$post['useravatar']}
                        </td>
                        <td class="post_author">
                            <strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
                            <span class="smalltext">
                                {$post['usertitle']}<br />
                                {$post['userstars']}
                                {$post['groupimage']}
                            </span>
                        </td>
                        <td class="smalltext post_author_info" width="165">
                            {$post['user_details']}
                        </td>
                    </tr>
                </table>
            </td>
        </tr>

        <tr>
            <td class="trow2 post_content {$unapproved_shade}">
                <span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>

                <div class="post_body" id="pid_{$post['pid']}">
                    {$post['message']}
                </div>
                {$post['attachments']}
                {$post['signature']}

                <div class="post_meta" id="post_meta_{$post['pid']}">
                {$post['iplogged']}
                </div>
            </td>
        </tr>

        <tr>
            <td class="trow1 post_buttons {$unapproved_shade}">
                <div class="author_buttons float_left">
                    {$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
                </div>
                <div class="post_management_buttons float_right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
                </div>
            </td>
        </tr>
    </tbody>
</table>


Postbit z mojego szablonu

{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>


<table border="0" class="showthread_postmain" style="{$post_extra_style} {$post_visibility}margin-top:0px;" id="post_{$post['pid']}">
<tr>
<td class="tcatleft"><center><span class="showthread_authorname">{$post['profilelink']}</span></center>
</td><td class="tcatright">
                <div class="left">Napisano {$post['postdate']}, {$post['posttime']}
                
                </div>{$post['posturl']}</td></tr>
<tr><td class="showthread_postauthorinfo">

<div>
    

<div>

<span class="smalltext">{$post['usertitle']}</span><br />

                <div id="userprofile-maininfo">
<span class="showthread_useravatar">{$post['useravatar']}</span>
            

</div></div>
            <div>
                <span class="smalltext">
                

    <div style="font-size:13px;">        

{$post['groupimage']}


</div>


{$post['onlinestatus']}


    <div class="post_field">
<span class="posty_lewo">

<img src="images/post.png" style="vertical-align: middle;">
Posty:</span>
<div style="margin-top: 2px;">{$post['postnum']} Postów</div>

</div>



    <div class="post_field">
<span class="posty_lewo">
<img src="images/dom.png" style="vertical-align: middle;">
Skąd:</span>
{$post['fid1']}

</div>



<div class="post_field">
<span class="posty_lewo">
<img src="images/kiedy.png" style="vertical-align: middle;">
Dołaczył:</span>
{$post['userregdate']}

</div>


<div class="post_field"><center>Online:
<?
$opcje = array(
'short' => TRUE);
echo '' . nice_time($post['timeonline'],$opcje) . '<br />';
?>
</center>
</div>

<if $mybb->user['usergroup'] == 4 then><div class="post_field"><center>
Poziom ostrzeżeń: {$post['warninglevel']}
</center></div></if>


<?
if ($post['reputation'] >= '1')
$tlo = 'rgb(104, 126, 48);';
else if ($post['reputation'] <= '-1')
$tlo = '#d91313;';
else if ($post['reputation'] == '0')
$tlo = '#696969;';
?>




<br>
<center>
<div align="center" class="repstyle_tlo" style="width: 120px;background: $tlo">
<div class="repstyle_up" style="color: white;">
{$post['rep_bars']}
</center></div></div>


</div>



</span>
            




</div>
            <div><div style="padding-top: 5px;">
            {$post['user_details']}<br />{$post['myawards']}</div>
            </div>
            </div> </td>
<td valign="top" class="showthread_postcontent">

<div class="showthread_postcontentwrapper">
        






<div class="showthread_postbody_message" style="min-height: 300px;" id="pid_{$post['pid']}">
                    {$post['message']}
            
</div>
    <span style="float:right;">

<a href="javascript:MyBB.reputation({$post['uid']},{$post['pid']});">
<img src="images/rep_up.png" style="margin-bottom:-6px;" alt="Brak"></a>

<!--REP_AREA_{$post['pid']}-->   </span><br>
                {$post['attachments']}
            



<span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>

{$post['signature']}

            <div class="post_meta" id="post_meta_{$post['pid']}">
                
</div>
        </div>

</td>
</tr>
<tr><td colspan="2" class="showthread_post_options"><span class="left">
                    




{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['iplogged']}


            </span>

            
            <span class="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}{$post['icon_browser']}{$post['icon_os']}
            </span></td></tr>

</table>





{$post['adsaf']}
Odświeżam
Skoro jednemu działa, drugiemu nie, to może użytkownik X używa postbit_classic, a użytkownik Y postbit. Spróbujcie jeszcze z drugim szablonem zrobić to co z poprzednim.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.



Użytkownicy przeglądający ten wątek:

2 gości