كود vBulletin3.8.0 صندوق الرد السريع كامل مدعم مكتبة الخطوط Font Awesome

admin

عضو إداري
ادارة المنتدى

السلام عليكم ورحمة الله وبركاته
صندوق الرد السريع كامل مدعم مكتبة الخطوط Font Awesome


Screenshot_6.png


طريقة التركيب
1- ادخل لوحة الاداره
2- اضغط على القوالب والاستايلات
3- اختر البحث في القوالب
4- أبحث عن showthread_quickreply
5- خذ نسخة من القالب قبل وضع الحالي
5- امسح كل الموجود بالقالب ثم ضع الكود التالى


كود:
<if condition="$show['editor_toolbar']">  
    <div id="{$editorid}_controls" class="controlbar">  
            <table cellpadding="0" cellspacing="0" border="0">  
                <tr>  
                    <td><div class="imagebutton" id="{$editorid}_cmd_removeformat"><span class="simptip-position-top" data-tooltip="ازالة تنسيق النص"> <div style="font-size: 21px;"><i class="fa fa-language fa-border"style="color:black"></i></div> </span></div></td>  
                    <if condition="$show['font_bbcode'] OR $show['size_bbcode']"><td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td></if>  
                    <if condition="$show['font_bbcode']">  
                        <td>  
                            <div class="imagebutton" id="{$editorid}_popup_fontname" title="$vbphrase[fonts]">  
                                <table cellpadding="0" cellspacing="0" border="0">  
                                    <tr>  
                                        <td class="popup_feedback"><div id="{$editorid}_font_out" style="width:91px">&nbsp;</div></td>  
                                        <td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>  
                                    </tr>  
                                </table>  
                            </div>  
                        </td>  
                    </if>  
                    <if condition="$show['size_bbcode']">  
                        <td>  
                            <div class="imagebutton" id="{$editorid}_popup_fontsize" title="$vbphrase[sizes]">  
                                <table cellpadding="0" cellspacing="0" border="0">  
                                    <tr>  
                                        <td class="popup_feedback"><div id="{$editorid}_size_out" style="width:25px">&nbsp;</div></td>  
                                        <td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>  
                                    </tr>  
                                </table>  
                            </div>  
                        </td>  
                    </if>  
                    <if condition="$show['color_bbcode']">  
                        <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>  
                        <td>  
                            <div class="imagebutton" id="{$editorid}_popup_forecolor" title="$vbphrase[colors]">  
                                <table cellpadding="0" cellspacing="0" border="0">  
                                    <tr>  
                                        <td id="{$editorid}_color_out"><span class="simptip-position-top" data-tooltip="الالوان"> <div style="font-size: 15px;"><i class="fa fa-paint-brush"style="color:black"></i></div></span><br /><img src="$vboptions[cleargifurl]" id="{$editorid}_color_bar" alt="" style="background-color:brown" width="21" height="4" /></td>  
                                        <td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>  
                                    </tr>  
                                </table>  
                            </div>  
                        </td>  
                    </if>  
                    <if condition="$show['wysiwygsmilies']">  
                        <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>  
                        <td>  
                            <div class="imagebutton" id="{$editorid}_popup_smilie" title="$vbphrase[smilies]">  
                                <table cellpadding="0" cellspacing="0" border="0">  
                                    <tr>  
                                        <td><span class="simptip-position-top" data-tooltip="الابتسامات"> <div style="font-size: 21px;"><i class="fa fa-smile-o"style="color:black"></i></div></span>  

</td>  
                                        <td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>  
                                    </tr>  
                                </table>  
                            </div>  
                        </td>  
                    </if>  

                    <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>  

                    <td><div class="imagebutton" id="{$editorid}_cmd_cut"><span class="simptip-position-top" data-tooltip="قص"> <div style="font-size: 15px;"><i class="fa fa-scissors  fa-border"style="color:black"></i></div></span>  
</div></td>  

<td><div class="imagebutton" id="{$editorid}_cmd_copy"><span class="simptip-position-top" data-tooltip="نسخ"> <div style="font-size: 15px;"><i class="fa fa-files-o fa-border"style="color:black"></i></div></span>  
</div></td>  

<td><div class="imagebutton" id="{$editorid}_cmd_paste"><span class="simptip-position-top" data-tooltip="لصق"> <div style="font-size: 15px;"><i class="fa fa-clipboard  fa-border"style="color:black"></i></div></span>  
</div></td>  


                    <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>  

                    <td><div class="imagebutton" id="{$editorid}_cmd_undo"><span class="simptip-position-top" data-tooltip="تراجع"> <div style="font-size: 15px;"><i class="fa fa-undo fa-border"style="color:black"></i></div></span>  
</div></td>  

                    <td><div class="imagebutton" id="{$editorid}_cmd_redo"><span class="simptip-position-top" data-tooltip="أعادة"> <div style="font-size: 15px;"><i class="fa fa-repeat fa-border"style="color:black"></i></div></span></div></td>  

                    <td width="100%">&nbsp;</td>  
                    <if condition="is_browser('ie') AND !is_browser('mac')"><td><div class="imagebutton" id="{$editorid}_cmd_spelling"><span class="simptip-position-top" data-tooltip="أفحص الاملاء"> <div style="font-size: 15px;"><i class="fa fa-sort-alpha-asc fa-border"style="color:black"></i></div></span></div></td></if>  
                    <td>  
                        <div class="imagebutton" id="{$editorid}_cmd_resize_0_99"><span class="simptip-position-top" data-tooltip="تقليص المساحة"> <div style="font-size: 15px;"><i class="fa fa-angle-double-up"style="color:black"></i></div></span></div>  
                        <div class="imagebutton" id="{$editorid}_cmd_resize_1_99"><span class="simptip-position-top" data-tooltip="توسيع المساحة"> <div style="font-size: 15px;"><i class="fa fa-angle-double-down"style="color:black"></i></div></span></div>  
                    </td>  
                    <if condition="$show['wysiwyg_compatible']"><td><div class="imagebutton" id="{$editorid}_cmd_switchmode"><span class="simptip-position-top" data-tooltip="مفتاح تعديل العرض"> <div style="font-size: 15px;"><i class="fa fa-expand fa-border"style="color:black"></i></div></span>  
</div></td></if>  
                </tr>  
            </table>  

            <table cellpadding="0" cellspacing="0" border="0">  
                <tr>  
                    <if condition="$show['basic_bbcode']">  
                        <td><div class="imagebutton" id="{$editorid}_cmd_bold"><span class="simptip-position-top" data-tooltip="عريض"> <div style="font-size: 15px;"><i class="fa fa-bold fa-border"style="color:black"></i></div></span></div></td>  
                        <td><div class="imagebutton" id="{$editorid}_cmd_italic"><span class="simptip-position-top" data-tooltip="مائل"> <div style="font-size: 15px;"><i class="fa fa-italic fa-border"style="color:black"></i></div></span></div></td>  
                        <td><div class="imagebutton" id="{$editorid}_cmd_underline"><span class="simptip-position-top" data-tooltip="نص تحته خط"> <div style="font-size: 15px;"><i class="fa fa-underline fa-border"style="color:black"></i></div></span></div></td>  
                        <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>  
                    </if>  
                    <if condition="$show['align_bbcode']">  
                        <if condition="$stylevar['textdirection'] == 'ltr'">  
                            <td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><span class="simptip-position-top" data-tooltip="محاذاة الى اليسار"> <div style="font-size: 15px;"><i class="fa fa-align-left fa-border"style="color:black"></i></div></span></div></td>  
                            <td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><span class="simptip-position-top" data-tooltip="توسيط"> <div style="font-size: 15px;"><i class="fa fa-align-center fa-border"style="color:black"></i></div></span></div></td>  
                            <td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><span class="simptip-position-top" data-tooltip="محاذاة الى اليمين"> <div style="font-size: 15px;"><i class="fa fa-align-right fa-border"style="color:black"></i></div></span>  
</div></td>  
                        <else />  
                            <td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><span class="simptip-position-top" data-tooltip="محاذاة الى اليمين"> <div style="font-size: 15px;"><i class="fa fa-align-right fa-border"style="color:black"></i></div></span></div></td>  
                            <td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><span class="simptip-position-top" data-tooltip="توسيط"> <div style="font-size: 15px;"><i class="fa fa-align-center fa-border"style="color:black"></i></div></span></div></td>  
                            <td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><span class="simptip-position-top" data-tooltip="محاذاة الى اليسار"> <div style="font-size: 15px;"><i class="fa fa-align-left fa-border"style="color:black"></i></div></span></div></td>  
                        </if>  
                        <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>  
                    </if>  
                    <if condition="$show['list_bbcode']">  
                        <td><div class="imagebutton" id="{$editorid}_cmd_insertorderedlist"><span class="simptip-position-top" data-tooltip="قائمة بالارقام"> <div style="font-size: 15px;"><i class="fa fa-list-ol fa-border"style="color:black"></i></div></span></div></td>  
                        <td><div class="imagebutton" id="{$editorid}_cmd_insertunorderedlist"><span class="simptip-position-top" data-tooltip="قائمة منقوطة"> <div style="font-size: 15px;"><i class="fa fa-list-ul fa-border"style="color:black"></i></div></span></div></td>  
                    </if>  
                    <if condition="$show['align_bbcode'] OR $show['list_bbcode']">  
                        <if condition="$stylevar['textdirection'] == 'ltr'">  
                            <td><div class="imagebutton" id="{$editorid}_cmd_outdent"><img src="$stylevar[imgdir_editor]/outdent.gif" width="21" height="20" alt="$vbphrase[decrease_indent]" /></div></td>  
                            <td><div class="imagebutton" id="{$editorid}_cmd_indent"><img src="$stylevar[imgdir_editor]/indent.gif" width="21" height="20" alt="$vbphrase[increase_indent]" /></div></td>  
                        <else />  
                            <td><div class="imagebutton" id="{$editorid}_cmd_outdent"><span class="simptip-position-top" data-tooltip="تقليل المسافة لبداية السطر"> <div style="font-size: 15px;"><i class="fa fa-indent fa-border"style="color:black"></i></div></span></div></td>  
                            <td><div class="imagebutton" id="{$editorid}_cmd_indent"><span class="simptip-position-top" data-tooltip="زيادة المسافة لبداية السطر"> <div style="font-size: 15px;"><i class="fa fa-outdent fa-border"style="color:black"></i></div></span></div></td>  
                        </if>  
                        <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>  
                    </if>  
                    <if condition="$show['url_bbcode']">  
                        <td><div class="imagebutton" id="{$editorid}_cmd_createlink"><span class="simptip-position-top" data-tooltip="أدخال رابط"> <div style="font-size: 15px;"><i class="fa fa-link fa-border"style="color:black"></i></div></span></div></td>  
                        <td><div class="imagebutton" id="{$editorid}_cmd_unlink"><span class="simptip-position-top" data-tooltip="حذف الرابط"> <div style="font-size: 15px;"><i class="fa fa-chain-broken fa-border"style="color:black"></i></div></span></div></td>  
                        <td><div class="imagebutton" id="{$editorid}_cmd_email"><span class="simptip-position-top" data-tooltip="ادراج رابط بريد الكتروني"> <div style="font-size: 15px;"><i class="fa fa-at fa-border"style="color:black"></i></div></span></div></td>  
                    </if>  
                    <if condition="$show['img_bbcode']">  
                        <td><div class="imagebutton" id="{$editorid}_cmd_insertimage"><span class="simptip-position-top" data-tooltip="ادراج صورة"> <div style="font-size: 15px;"><i class="fa fa-picture-o fa-border"style="color:black"></i></div></span></div></td>  
                    </if>  
                    <if condition="$show['quote_bbcode']">  
                        <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>  
                        <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><span class="simptip-position-top" data-tooltip="ادراج أقتباس"> <div style="font-size: 15px;"><i class="fa fa-comment-o fa-border"style="color:black"></i></div></span>  
</div></td>  
                        
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>  
                    </if>  
                    <if condition="$show['code_bbcode']">  
                        <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_code"><span class="simptip-position-top" data-tooltip="ادراج{CODE}"> <div style="font-size: 15px;"><i class="fa fa-slack fa-border"style="color:black"></i></div></span></div></td>  
                    </if>  
                </tr>  
            </table>  
        </div>  
        </if>  

        <table cellpadding="0" cellspacing="0" border="0" width="100%">  
            <tr valign="top">  
                <td class="controlbar">  
                     
<fieldset style="border:0px; padding:0px; margin:0px">
<if condition="$show['qr_require_click']">
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]" disabled="disabled">$vbphrase[click_quick_reply_icon]</textarea>
<else />
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]"></textarea>
</if>
</fieldset>
                </td>  
               
            </tr>  
 
        </table>  

<input type="hidden" name="wysiwyg" id="{$editorid}_mode" value="$editortype" />  
<input type="hidden" name="styleid" value="$session[styleid]" />  

<script type="text/javascript">  
<!--  
vB_Editor['$editorid'] = new vB_Text_Editor('$editorid', $editortype, '$forumid', '$parsesmilie');  
var QR_EditorID = '$editorid';  
//-->  
</script>



كيفية تركيب مكتبة الخطوط على المنتدى من هــنا

الكــود مرفق
 

المرفقات

  • الرد السريع بمكتبة الخطوط.txt
    15.7 KB · المشاهدات: 0

عز الدين

عضو نشط
مجموعة الاعضاء
مشكور على الإضافة الجبارة هذه
مشكوووووووور
 

أعلى