بک لینک

موضوع بسته شده است 
یه مشکل تو پست بیت انجمن+2
#1
سلام دوستان
من چند روز پیش طبق یه آموزشی خواستم تا پست بیت قالب انجمنم رو تغییر بدم تمام مراحل رو مو به مو انجام دادم اما الان مشکل اینجاست که پست بیت جدید ایجاد و کادربندی شد ولی قسمتی از پست بیت قدیمی همچنان هست و حذف نشده...
در عکس هم کامل توضیح دادم

الان این چطوری باید حذف بشه و از کجا باید اینکار رو بکنم؟؟

ممنون که کمکم می کنید


فایل‌(های) پیوست شده بندانگشتی (ها)
   
#2
کنترل پنل مدیریت => قالب ها و پوسته ها => قالب ها => قالب تون => Post Bit Templates
=> postbit کدش رو بدید درست کنم براتون .
 سپاس شده توسط AmirRezaei
#3
بفرما اینم کد

کد:
{$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_right smalltext">
                    {$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
                </div>
                {$post['posturl']}
            </td>
        </tr>

        <tr>
            <td style="background-color:#f1f1f1; border-right: 1px solid #cccccc; border-left: 1px solid #cccccc; border-bottom: 1px solid #cccccc;">
                <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><br />
                            <span class="smalltext">
                                {$post['usertitle']}<br />
                                {$post['userstars']}
                                {$post['groupimage']}
                            </span>
                        </td>
                        <td class="smalltext post_author_info" width="165">
                                                {$lang->postbit_posts} {$post['postnum']}<br />
                                                {$lang->postbit_joined} {$post['userregdate']}<br />
                                                {$lang->postbit_reputation} {$post['userreputation']}<br />
                                                {$lang->postbit_status}{$post['onlinestatus']} <br />
                                                {$post['warninglevel']}<br />
                            {$post['user_details']}<br />{$post['myawards']}
                        </td>
                    </tr>
                </table>
            </td>
        </tr>

        <tr>
            <td class="post_content" style="border-right: 1px solid #cccccc; border-left: 1px solid #cccccc; background-color:#f9f9f9">
                <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="post_buttons"style="border-right: 1px solid #cccccc; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; background-color:
#e1ddd3" >
                <div class="author_buttons float_left">
                    {$post['button_report']}{$post['button_rep']}{$post['button_warn']}
                </div>
                <div class="post_management_buttons float_right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['thanks']}{$post['button_multiquote']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
                </div>
            </td>
        </tr>{$post['thxdsp_inline']}
    </tbody>
</table>{$post['thxdsp_outline']}
#4
اون جایی هم که کد پست بیت رو برداشتید بدید بی زحمت

اگه دسترسی بدید راحت تر می تونم انجام بدم ولی خب... .
 سپاس شده توسط AmirRezaei
#5
من طبق این اموزش پست بیت رو تغییر دادم

آموزش تغییر پست بیت

اگه باز مشکلی بود بگین
#6
سلام کدهای postbit_classic ، رو در اختیارم بذار !!
 سپاس شده توسط AmirRezaei
#7
بفرما postbit_classic

کد:
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">

<tr>
        <td width="15%" valign="top" style="white-space: nowrap; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; text-align: center; background-color:#f1f1f1"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
               <br />
              
        <div class="postbit-style">
  <div class="postbited" style="line-height:2.5">    
<strong><span class="largetext">{$post['profilelink']}</span></strong>
</div>
</div>
                
        <span class="smalltext">
              
                        {$post['userstars']}<br />
            {$post['groupimage']}<br />
                

<div class="postbit-style">
  <div class="postbited" style="height:auto"> {$post['useravatar']}</div>
</div>



<dl class="userinfo_extra">




                                  
                                  <div class="post_field"><font color="#535353"><b>{$lang->postbit_posts} </b></font> &nbsp {$post['postnum']}</div>
                                  <div class="post_field"><font color="#535353"><b>{$lang->postbit_joined} </b></font> &nbsp {$post['userregdate']}</div>
                                  <div class="post_field"><font color="#535353"><b>{$lang->postbit_reputation} </b></font> &nbsp {$post['userreputation']}</div>
                                  <div class="post_field"><font color="#535353"><b>{$lang->postbit_status} </b></font> &nbsp </div>
                                   {$post['warninglevel']}
                                                                                                          
                   </dl>
                       {$post['user_details']}<br />{$post['myawards']}
        </span>

    </td>


<td class="postbody" valign="top" style="border-right: 1px solid #cccccc; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; background-color:#f9f9f9">
        <table width="100%">
            <tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']} - {$post['postdate']}, {$post['posttime']}</strong><div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div></span>
            <br />
            <div id="pid_{$post['pid']}" class="post_body">
                {$post['message']}
            </div>
            {$post['attachments']}
            {$post['signature']}
            
                    {$post['iplogged']}
        </td></tr>
    </table>
</td>
</tr>
<tr>
           <td align="center" style="vertical-align: middle; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; background-color:#e1ddd3"><span class="smalltext">{$post['button_rep']}{$post['button_report']}{$post['button_warn']}</span></td>
    <td style="vertical-align: middle; border-right: 1px solid #cccccc; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; background-color:#e1ddd3">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr valign="bottom">
                <td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['thanks']}{$post['button_multiquote']}{$post['button_reply_pm']}{$post['button_delete_pm']}</td>
            </tr>
        </table>
    </td>
</tr>{$post['thxdsp_inline']}
</table>{$post['thxdsp_outline']}
#8
اینو جایگزینش کن ببین چطور میشه :

کد:
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">

<tr>
        <td width="15%" valign="top" style="white-space: nowrap; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; text-align: center; background-color:#f1f1f1"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
               <br />
              
        <div class="postbit-style">
  <div class="postbited" style="line-height:2.5">    
<strong><span class="largetext">{$post['profilelink']}</span></strong>
</div>
</div>
                
        <span class="smalltext">
              
                        {$post['userstars']}<br />
            {$post['groupimage']}<br />
                

<div class="postbit-style">
  <div class="postbited" style="height:auto"> {$post['useravatar']}</div>
</div>



                       {$post['user_details']}<br />{$post['myawards']}
        </span>

    </td>


<td class="postbody" valign="top" style="border-right: 1px solid #cccccc; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; background-color:#f9f9f9">
        <table width="100%">
            <tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']} - {$post['postdate']}, {$post['posttime']}</strong><div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div></span>
            <br />
            <div id="pid_{$post['pid']}" class="post_body">
                {$post['message']}
            </div>
            {$post['attachments']}
            {$post['signature']}
            
                    {$post['iplogged']}
        </td></tr>
    </table>
</td>
</tr>
<tr>
           <td align="center" style="vertical-align: middle; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; background-color:#e1ddd3"><span class="smalltext">{$post['button_rep']}{$post['button_report']}{$post['button_warn']}</span></td>
    <td style="vertical-align: middle; border-right: 1px solid #cccccc; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; background-color:#e1ddd3">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr valign="bottom">
                <td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['thanks']}{$post['button_multiquote']}{$post['button_reply_pm']}{$post['button_delete_pm']}</td>
            </tr>
        </table>
    </td>
</tr>{$post['thxdsp_inline']}
</table>{$post['thxdsp_outline']}
 سپاس شده توسط mmsh ، AmirRezaei ، Gh-Moradi
#9
کد آقا محمد درسته ببخشید دیر رسیدم: )
شما یه کدی رو می بایست جایگزین میکردید اما اشتباهی زیر کد فعلی گذاشتید
 سپاس شده توسط AmirRezaei ، MohamadGh
#10
ممنون از شما مشکلم حل شد کد آقا محمد درست بود +2 ناقابل به شما
موضوع بسته شده است 


پرش به انجمن:


کاربرانِ درحال بازدید از این موضوع: 1 مهمان