هاست لینوکس

آخرین بسته‌ی MyBB: نسخه‌ی 1.8.27 MyBB منتشر شد


امتیاز موضوع:
  • 0 رأی - میانگین امتیازات: 0
  • 1
  • 2
  • 3
  • 4
  • 5
پلاگین سپاس
#1
من یک مشکل با پلاگین سپاس دارم
وقتی روی سپاس کلیک می کنم این ارور ها را می دهد
عکس 1
بعد از ok کردن
عکس 2

البته با حذف فایل thx.js مشکل برطرف می شود ولی موقع زدن کلید تشکر صفحه ریفرش می شود



تمام انجمن را جستوجو کردم راه حل های گفته شده را انجام دادم ولی درست نشد پس پیشنهاد جستوجو ندهید
پاسخ
#2
باید کدهای مربوط به پست بیت ها رو درست قرار داده باشین.
لطفا کدهای پست بیت و پست بیت کلاسیکتون رو قرار بدین تا بررسی کنم.
پاسخ
#3
پست بیت:
کد php:
{$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']}
                        </
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']}
</
table>{$post['thxdsp_outline']} 

پست بیت کلاسیک:
کد php:
{$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="19%" 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">
                       <
br />
                        {
$post['userstars']}<br />
            {
$post['groupimage']}<br />
                        {
$post['useravatar']}
            <
br />
            <
dl class="userinfo_extra">
                                  
                                 
                                                                                                          
                   </
dl>
                       {
$post['user_details']}
        </
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']}
    </
tbody>
</
table>{$post['thxdsp_outline']} 
پاسخ
#4
باکدهای زیر جایگزین کنین ببینین درست میشه.
پست بیت:
کد php:
{$ignore_bit}
<
a name="pid{$post['pid']}id="pid{$post['pid']}"></a>
<
table border="0" cellspacing="0" cellpadding="4" class="tborder horizontalpb" style="border-radius:0px;" id="post_{$post['pid']}">
    <
tbody>
        <
tr>
            <
td class="tcat">
                <
div class="float_right smalltext">
                    <
img src="images/nam pooshe ghaleb shoma/icons/clock.png" class="posttimeclock" alt="clock" /><span class="tleft posttime">{$post['postdate']}, {$post['posttime']}</span>
                </
div>
                {
$post['posturl']}
                </
td>
        </
tr>

        <
tr>
            <
td class="trow1 ">
                <
table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
                    <
tr>
                        <
td class="post_avatar useravatar" width="1" style="padding-left: 10px;">
                        {
$post['useravatar']}
                        </
td>
                        <
td class="post_author">
                            <
strong><span class="largetext">{$post['profilelink']} {$post['onlinestatus']}</span></strong><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>
            <!--
M.YB.B.S/U/P/P/O/R/-->
    
            <
td class="trow2 post_content {$unapproved_shade}">
<
span id="edited_by_{$post['pid']}">{$post['editedmsg']}</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_right">
                    {
$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
                </
div>
                <
div class="post_management_buttons float_left">{$post['button_spam']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['thanks']}{$post['button_tanks']}{$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>

</
tr>{$post['thxdsp_inline']}
    </
tbody>
</
table>{$post['thxdsp_outline']}{$post['adsaf']} 
پست بیت کلاسیک:
کد php:
{$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 class="{$altbg}width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}id="pid{$post['pid']}"></a>
        <
strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
        <
span class="smalltext">
            {
$post['usertitle']}<br />
            {
$post['userstars']}
            {
$post['groupimage']}
            {
$post['useravatar']}<br />
            {
$post['user_details']}
        </
span>
    </
td>
    <
td class="{$altbg}valign="top">
        <
table width="100%">
            <
tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
            <
br />
            <
div id="pid_{$post['pid']}class="post_body">
                {
$post['message']}
            </
div>
            {
$post['attachments']}
            {
$post['signature']}
            <
div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
                <
div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
                {
$post['iplogged']}
            </
div>
        </
td></tr>
    </
table>
</
td>
</
tr>
<
tr>
    <
td class="{$altbg}style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
    <
td class="{$altbg}style="vertical-align: middle;">
        <
table width="100%" border="0" cellpadding="0" cellspacing="0">
            <
tr valign="bottom">
                <
td align="right" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
                <
td align="left">{$post['button_spam']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['thanks']}{$post['thx']}{$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']}</td>
            </
tr>
        </
table>
    </
td>

</
tr>
</
table>

</
tr>{$post['thxdsp_inline']}
</
table>{$post['thxdsp_outline']}{$post['adsaf']} 
در کد بالا قسمت پست بیت این قسمت رو ویرایش کنین:
img src="images/nam pooshe ghaleb shoma/icons/clock.png
پاسخ
#5
اینی که گفتی ویرایش کنم را چگونه ویرایش کنمHuh

همچین پوشه و فایلی(icons/clock.png)تو پوشه قالب من نیست

بدون توجه به اون ویرایش هم باید بگویم که باز درست نشد
پاسخ
#6
نقل‌قول: مدیریت انجمن:
پوسته هاو قالبها
قالبها
قالب مورد نظر
postbit template
قسمتهای postbit و postbit classic

من چی گفتم شما چی گفتیUndecided
پاسخ
#7
سلام
من پلاگین تشکر رو نصب کردم،اما وقتی میخوام از تشکر کنم میبینم دو تا دکمه ی تشکر توی پست بیت کاربر هست!!
وقتی روش کلیک میکنی یکیش میشه تشکر یکیش میشه حذف تشکر!!!
لطفا کمک کنید
www.uigd.ir
پاسخ
#8
کد پست بیت :

کد:
{$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 class="trow1 {$unapproved_shade}">
                <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
                    <tr>
                        <td class="post_avatar" width="1" style="padding-left: 10px;">
                            {$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_right">
                    {$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
                </div>
                <div class="post_management_buttons float_left">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['thanks']}{$post['thanks']}{$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>{$post['thxdsp_inline']}{$post['thxdsp_inline']}
    </tbody>
</table>{$post['thxdsp_outline']}{$post['thxdsp_outline']}

کد پست بیت کلاسیک :
[/php] {$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 class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<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']}
{$post['groupimage']}
{$post['useravatar']}<br />
{$post['user_details']}
</span>
</td>
<td class="{$altbg}" valign="top">
<table width="100%">
<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
<br />
<div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
{$post['iplogged']}
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
<td class="{$altbg}" style="vertical-align: middle;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="right" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
<td align="left">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['thanks']}{$post['thanks']}{$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']}</td>
</tr>
</table>
</td>
</tr>{$post['thxdsp_inline']}{$post['thxdsp_inline']}
</table>{$post['thxdsp_outline']}{$post['thxdsp_outline']} [php]

چطور ویرایشش کنم متغیر ها رو ؟!

ممنون درستش کردم
پاسخ
#9
سلام..وقتی گزینه ی تشکر رو فعال میکنیم فقط من که مدیر سایتم بدون مشکل میتونم سپاس رو بزنم وقتی بقیه استفاده میکنن ارور میده اما بعد رفرش صفحه میبینی که ثبت شده تشکر..چیکار کنم...
پاسخ
 سپاس شده توسطشماره مجازی (۱۴۰۱/۸/۲۶، ۰۱:۵۶:۳۱ صبح) ، گراف مسنجر (۱۴۰۱/۱۰/۳، ۰۴:۱۸:۱۶ صبح) ، چارتر ۴۲۴ (۱۴۰۲/۹/۱۲، ۱۵:۲۱:۳۵ عصر)


پرش به انجمن:


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