مرجع پارسی MyBB

نسخه‌ی کامل: پلاگین پاسخ سریع پیشرفته Advanced Quick Reply 1.0
شما درحال مشاهده‌ی نسخه‌ی متنی این صفحه می‌باشید. مشاهده‌ی نسخه‌ی کامل با قالب‌بندی مناسب.
صفحه‌ها: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
(۱۳۹۰/۸/۶، ۰۲:۲۳:۴۶ صبح)Farhoodi نوشته است: [ -> ]دوستان متغیر ضمیمه کردن اتچمنت چیه و تو کدام تمپلت هست چون میخواستم به پاسخ سریع پیشرفته هم اضافش کنم

مانند پاسخ سريع پيشرفته نياز به پلاگين داره.

متغييرش براي پاسخ سريع تعريف نشده.



پلاگينش رو نوشتم . به زودي قرار ميدم.
کد:
<br />
<form method="post" action="newreply.php?tid={$tid}&amp;processed=1" name="quick_reply_form" id="quick_reply_form">
    <input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
    <input type="hidden" name="subject" value="RE: {$thread['subject']}" />
    <input type="hidden" name="action" value="do_newreply" />
    <input type="hidden" name="posthash" value="{$posthash}" id="posthash" />
    <input type="hidden" name="quoted_ids" value="" id="quoted_ids" />
    <input type="hidden" name="lastpid" id="lastpid" value="{$last_pid}" />
    <input type="hidden" name="from_page" value="{$page}" />
    <input type="hidden" name="tid" value="{$tid}" />
    <input type="hidden" name="method" value="quickreply" />

    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
        <thead>
            <tr>
                <td class="thead" colspan="2">
                    <div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['quickreply']}.gif" id="quickreply_img" class="expander" alt="[-]" title="[-]" /></div>
                    <div><strong>{$lang->quick_reply}</strong></div>
                </td>
            </tr>
        </thead>
        <tbody style="{$collapsed['quickreply_e']}" id="quickreply_e">
            <tr>
                <td class="trow1" valign="top" width="22%">
                    <strong>{$lang->message}</strong><br />
                    <span class="smalltext">{$lang->message_note}<br /><br />
                    <label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" {$postoptionschecked['signature']} />&nbsp;<strong>{$lang->signature}</strong></label><br />
                    <label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" />&nbsp;<strong>{$lang->disable_smilies}</strong></label>{$closeoption}</span><br />{$clickablesmilies}
                </td>
                <td class="trow1">
                    <div style="width: 95%">
                        <textarea style="width: 100%; padding: 4px; margin: 0;" rows="18" cols="80" name="message" id="message" tabindex="1"></textarea>
{$codebuttons}
                    </div>
                    <div class="editor_control_bar" style="width: 95%; padding: 4px; margin-top: 3px; display: none;" id="quickreply_multiquote">
                        <span class="smalltext">
                            {$lang->quickreply_multiquote_selected} <a href="./newreply.php?tid={$tid}&amp;load_all_quotes=1" onclick="return Thread.loadMultiQuoted();">{$lang->quickreply_multiquote_now}</a> {$lang->or} <a href="javascript:Thread.clearMultiQuoted();">{$lang->quickreply_multiquote_deselect}</a>.
                        </span>
                    </div>
                </td>
            </tr>
            {$captcha}
            <tr>
                <td colspan="2" align="center" class="tfoot"><input type="submit" class="button" value="{$lang->post_reply}" tabindex="2" accesskey="s" id="quick_reply_submit" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="3" /></td>
            </tr>
        </tbody>
    </table>
</form>
حالا درسته؟ممنون میشم پیدا کنید
(۱۳۹۰/۸/۶، ۱۴:۴۴:۰۸ عصر)shooshoo نوشته است: [ -> ]
کد:
<br />
<form method="post" action="newreply.php?tid={$tid}&amp;processed=1" name="quick_reply_form" id="quick_reply_form">
    <input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
    <input type="hidden" name="subject" value="RE: {$thread['subject']}" />
    <input type="hidden" name="action" value="do_newreply" />
    <input type="hidden" name="posthash" value="{$posthash}" id="posthash" />
    <input type="hidden" name="quoted_ids" value="" id="quoted_ids" />
    <input type="hidden" name="lastpid" id="lastpid" value="{$last_pid}" />
    <input type="hidden" name="from_page" value="{$page}" />
    <input type="hidden" name="tid" value="{$tid}" />
    <input type="hidden" name="method" value="quickreply" />

    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
        <thead>
            <tr>
                <td class="thead" colspan="2">
                    <div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['quickreply']}.gif" id="quickreply_img" class="expander" alt="[-]" title="[-]" /></div>
                    <div><strong>{$lang->quick_reply}</strong></div>
                </td>
            </tr>
        </thead>
        <tbody style="{$collapsed['quickreply_e']}" id="quickreply_e">
            <tr>
                <td class="trow1" valign="top" width="22%">
                    <strong>{$lang->message}</strong><br />
                    <span class="smalltext">{$lang->message_note}<br /><br />
                    <label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" {$postoptionschecked['signature']} />&nbsp;<strong>{$lang->signature}</strong></label><br />
                    <label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" />&nbsp;<strong>{$lang->disable_smilies}</strong></label>{$closeoption}</span><br />{$clickablesmilies}
                </td>
                <td class="trow1">
                    <div style="width: 95%">
                        <textarea style="width: 100%; padding: 4px; margin: 0;" rows="18" cols="80" name="message" id="message" tabindex="1"></textarea>
{$codebuttons}
                    </div>
                    <div class="editor_control_bar" style="width: 95%; padding: 4px; margin-top: 3px; display: none;" id="quickreply_multiquote">
                        <span class="smalltext">
                            {$lang->quickreply_multiquote_selected} <a href="./newreply.php?tid={$tid}&amp;load_all_quotes=1" onclick="return Thread.loadMultiQuoted();">{$lang->quickreply_multiquote_now}</a> {$lang->or} <a href="javascript:Thread.clearMultiQuoted();">{$lang->quickreply_multiquote_deselect}</a>.
                        </span>
                    </div>
                </td>
            </tr>
            {$captcha}
            <tr>
                <td colspan="2" align="center" class="tfoot"><input type="submit" class="button" value="{$lang->post_reply}" tabindex="2" accesskey="s" id="quick_reply_submit" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="3" /></td>
            </tr>
        </tbody>
    </table>
</form>
حالا درسته؟ممنون میشم پیدا کنید

خب اين الان كاملاً درسته و مشكلي نداره .
الان مشكل چيه ؟
فکر میکنم ایشون دنبال

متغير :

کد php:
{$clickablesmilies

در كنترل پنل مديريت » قالب ها » قالب مورد نظر » Show Thread Templates » قالب showthread_quickreply همانطور که شما گفتین هستن

که ظاهرا یک بار هم تکرار شده فکر نمیکنم مشکلی داشته باشه

احتمالا مشکل شما از جای دیگریست
باید چه کار کنم؟
ممنون درست شدBig Grin
با سلام دوستان
شاید سوالم ساده باشه ولی من این editor_themes رو باید کجا up کنم یعنی تو کدوم پوشه
ممنونم
از حالت فشرده خارج کن و بعد هر فایل رو در جای مر بوط در هاست خود آپ کن مثلا فایل های درون پوشه inc فولدر پلاگین را در همان پو شه inc هاست خود و به همین صورت بقیه فایل ها را هم آپ کن Wink
با سلام
من اینایی که گفتین میدونم ولی پوشه ایی بنام editor_themes که تو هاستم نیست من بقیه فایلها رو ریختم ولی این پوشه رو نمیدونم کجا بریزمHuh
اگه وجود نداره داخل همون روت بریز دیگه عزیزHeartSmile
صفحه‌ها: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17