Diễn đàn Trái Tim Yên Bái 2024

 Quên mật khẩu
 Đăng ký
Xem: 1837|Trả lời: 0
Thu gọn cột thông tin

Đưa khung Smiles xuống dưới khung soạn thảo!

[Lấy địa chỉ]
  • Tâm trạng hàng ngày
    Hạnh phúc
    2-7-2025 09:43 PM
  • Đã viết: 13 ngày

    [LV.3]Spam 3

    Đăng lúc 31-5-2008 09:38 AM | Xem tất |Chế độ đọc

    Mời bạn đăng ký để giao lưu kết bạn nhé <3

    Bạn phải đăng nhập để xem được nội dung, nếu bạn chưa có tài khoản? hãy Đăng ký

    x
    Chỉ cần Edit lại Temp xíu là các bạn có khung Smiles (diễn tả) nằm ngay dưới khung soạn thảo. Xem hình Demo

    Mở template: Editor Templates >> editor_toolbar_on
    Tìm
    <tr valign="top">
    <td class="controlbar"><textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea></td>
            <if condition="$smiliebox"><td class="controlbar">$smiliebox</td></if>
        </tr>



    Thay bằng:
    <tr valign="top">
    <td class="controlbar"><textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea></td>
        </tr>
        <if condition="$smiliebox">
        <tr>
            <td class="controlbar">$smiliebox</td></td>
        </tr>
        </if>

    SAVE!

    Mở tiếp Template: editor_smiliebox và thay tất cả bằng đoạn code bên dưới.

    <if condition="$show['smiliebox']">
    <fieldset class="fieldset" id="{$editorid}_smiliebox" title="$vbphrase[smilies]">
        <legend>$vbphrase[smilies]
        <if condition="$show['moresmilieslink']">
    [<a href="#" onclick="vB_Editor['$editorid'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false" title="<phrase 1="$vboptions[smtotal]" 2="$totalsmilies">$vbphrase[showing_x_smilies_of_y_total]</phrase>">$vbphrase[more]</a>]
        </if>
        </legend>
        <table cellpadding="2" cellspacing="0" border="0" align="center">
        $smiliebits
        </table>
    </fieldset>
    <else />
    <div id="smiliebox" style="display:none"></div>
    </if>

    Sau khi làm xong vào

    ACP >> Vb Options >> Message Posting Interface Options >> Smiliebox Smilies Per Row: chỉnh cho nó nhiều ra tí tùy theo skin, tầm 8-10 là được
    Bạn phải đăng nhập mới được đăng bài Đăng nhập | Đăng ký

    Quy tắc điểm

    Đóng

    Thông báoTrước /1 Sau

    Phòng tối|Lưu trữ|Diễn đàn Yên Bái 2024 Community Guidelines |

    GMT+7, 6-12-2026 05:17 AM , Processed in 0.016199 second(s), 18 queries .

    Powered by Discuz! X3.4

    © 2001-2013 Comsenz Inc.

    Trả lời nhanh Lên trên Trở lại danh sách