Webboard

Pełna wersja: Pisanie postów
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
Stron: 1 2
Witam! Otóż zainstalowałem na forum styl skill game i po napisaniu postu robi mi się coś takiego (link : http://i65.tinypic.com/wvbzx3.png )
Próbowałem dojść do tego po ścieżce która wyświetliła mi się na górze ale nic. Miał ktoś taki problem? Prosiłbym o szybką pomoc.
Pokaż szablon showtread
Kod:
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    var quickdelete_confirm = "{$lang->quickdelete_confirm}";
    var quickrestore_confirm = "{$lang->quickrestore_confirm}";
    var allowEditReason = "{$mybb->settings['alloweditreason']}";
    lang.save_changes = "{$lang->save_changes}";
    lang.cancel_edit = "{$lang->cancel_edit}";
    lang.quick_edit_update_error = "{$lang->quick_edit_update_error}";
    lang.quick_reply_post_error = "{$lang->quick_reply_post_error}";
    lang.quick_delete_error = "{$lang->quick_delete_error}";
    lang.quick_delete_success = "{$lang->quick_delete_success}";
    lang.quick_delete_thread_success = "{$lang->quick_delete_thread_success}";
    lang.quick_restore_error = "{$lang->quick_restore_error}";
    lang.quick_restore_success = "{$lang->quick_restore_success}";
    lang.editreason = "{$lang->postbit_editreason}";
// -->
</script>
<!-- jeditable (jquery) -->
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1800"></script>
<script src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/thread.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/notemoderator.js"></script>
<script type="text/javascript">
<!--
    lang.notemoderator_delete_error = "{$lang->notemoderator_delete_error}";
    lang.notemoderator_delete_confirm = "{$lang->notemoderator_delete_confirm}";
    lang.notemoderator_has_been_deleted = "{$lang->notemoderator_has_been_deleted}";
// -->
</script>
</head>
<body>
    {$header}
<div class="info_o_temacie">
<span class="info_o_temacie-avatar">
{$thread['avatar_started']}
</span>
  <span style="float: right;">
    {$ratethread}</span>
<span class="informacje_o_autorze">
<h1>{$thread['threadprefix']}{$thread['subject']}</h1>
<font style="color: #646464;font-size:11px">Napisany przez {$thread['username_started']}, {$thread['datethread']} </font>
</span>
</div>
    {$threadnotesbox}
    {$pollbox}
    <div class="float_left">
        {$multipage}
    </div>
    <div class="float_right">
        {$newreply}
    </div>

    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed clear">
        <tr>
            <td class="thead">
                <div class="float_right">
                    <span class="smalltext"><strong><a href="javascript:;" id="thread_modes">{$lang->thread_modes}</a>{$threadnoteslink}</strong></span>
                </div>
                <div>
                    <strong>{$thread['threadprefix']}{$thread['subject']}</strong>
                </div>
            </td>
        </tr>
<tr><td id="posts_container">
    <div id="posts">
        {$posts}
    </div>
</td></tr>
        <tr style="display: none;">
            <td class="tfoot">
                {$search_thread}
                <div>
                    <strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
                </div>
            </td>
        </tr>
    </table>
    <div class="float_left">
        {$multipage}
    </div>
    <div style="padding-top: 4px;" class="float_right">
        {$newreply}
    </div>
    <br class="clear" />
    {$quickreply}
    {$threadexbox}
    {$similarthreads}
    <br />
    <div class="float_left">
        <ul class="thread_tools">
            <li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
            {$sendthread}
            <li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
            {$addpoll}
        </ul>
    </div>

    <div class="float_right" style="text-align: right;">
        {$moderationoptions}
        {$forumjump}
    </div>
    <br class="clear" />
    {$usersbrowsing}<br />
    {$footer}
    <div id="thread_modes_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}" class="popup_item">{$lang->linear}</a></div><div class="popup_item_container"><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}" class="popup_item">{$lang->threaded}</a></div></div>
    <script type="text/javascript">
    // <!--
        if(use_xmlhttprequest == "1")
        {
            $("#thread_modes").popupMenu();
        }
    // -->
    </script>
    <script type="text/javascript">
        $(".author_avatar img").error(function () {
            $(this).unbind("error").closest('.author_avatar').remove();
        });
    </script>
</body>
</html>
Trzymaj
Możesz wrzucić screena na inny hosting? Ponieważ mi nie działa
No dobra, to jeszcze postbit i postbit_classic, z tego co pamiętam, podobny błąd już był spowodowany obecnością kodu PHP w szablonie lub czegoś podobnego.

(02.10.2016, 15:14)Conors napisał(a): [ -> ]Możesz wrzucić screena na inny hosting? Ponieważ mi nie działa
http://iv.pl/viewer.php?file=20296139211746228540.png Trzymaj
Przywróć plik w oryginalnej paczki.
(02.10.2016, 15:22)Conors napisał(a): [ -> ]Przywróć plik w oryginalnej paczki.

Nie rozumiem . Mógłbyś trochę bardziej mnie nakierować (ps. jestem trochę zielony w tych sprawach)
(02.10.2016, 15:24)logyn napisał(a): [ -> ]
(02.10.2016, 15:22)Conors napisał(a): [ -> ]Przywróć plik w oryginalnej paczki.

Nie rozumiem . Mógłbyś trochę bardziej mnie nakierować (ps. jestem trochę zielony w tych sprawach)
Tego pliki: /public_html/inc/functions_post.php
Stopka została poprawiona a co do tego pliku to mogę go bezpośrednio pobrać a nie całą paczkę ?
Wrzuciłem to i pisze coś takiego :
Kod:
Parse error: syntax error, unexpected 'function' (T_FUNCTION) in /home/p482154/public_html/inc/functions_post.php on line 20
Postbit :
Kod:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
  <h3>
                  <div class="post_username">
                      <strong> {$post['onlinestatus']}<span class="largetext">{$post['profilelink']}</span></strong>
                </div>
                        
            </h3>
<div class="post_author scaleimages">
    {$post['useravatar']}
    
    <div class="author_statistics">
        {$post['user_details']}
    </div>
</div>
<div class="post_content">
    <div class="post_head">                
    {$post['subject_extra']}
  <span class="post_checkandid">
                        {$post['posturl']}
                        {$post['icon']}
                </span>
    </div>
    <div class="post_body scaleimages" id="pid_{$post['pid']}">
        {$post['message']}
      <div class="post_meta" id="post_meta_{$post['pid']}">
      <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
        {$post['iplogged']}
    </div>
    </div>
    {$post['attachments']}
    {$post['signature']}
{$post['button_rep']}
    
</div></div>
<div class="post_controls">
    <div class="postbit_buttons author_buttons float_left">
        <a href="#top" class="przycisk_post"><img src="images/skillgame/totop.png" alt=""> Do góry</a> {$post['button_report']}
    </div>
    <div class="postbit_buttons post_management_buttons float_right">
        {$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_warn']}
    </div>
</div>
Postbit_classic :
Kod:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
  <h3>
                  <div class="post_username">
                      <strong> {$post['onlinestatus']}<span class="largetext">{$post['profilelink']}</span></strong>
                </div>
                <div class="post_date2">
                      {$post['postdate']}
                </div>                
            </h3>
<div class="post_author scaleimages">
    {$post['useravatar']}
    














    <div class="author_statistics">
        {$post['user_details']}
    </div>
</div>
<div class="post_content">
    <div class="post_head">                
    {$post['subject_extra']}
  <span class="post_checkandid">
                        {$post['posturl']}
                        {$post['icon']}
                </span>
    </div>
    <div class="post_body scaleimages" id="pid_{$post['pid']}">
        {$post['message']}
      <div class="post_meta" id="post_meta_{$post['pid']}">
      <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
        {$post['iplogged']}
    </div>
    </div>
    {$post['attachments']}
    {$post['signature']}
{$post['button_rep']}
    
</div></div>
<div class="post_controls">
    <div class="postbit_buttons author_buttons float_left">
        <a href="#top" class="przycisk_post"><img src="images/skillgame/totop.png" alt=""> Do góry</a> {$post['button_report']}
    </div>
    <div class="postbit_buttons post_management_buttons float_right">
        {$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_warn']}
    </div>
</div>
Hm.. skąd pobrałeś ten szablon?
Stron: 1 2