ďťż

Emotikony w oknie Szybkiej Odpowiedzi

Emotikony w oknie Szybkiej Odpowiedzi





MxK - 06-04-2008 06:10 PM
Korzystając z tego artykułu możesz dodać menu emotikon w oknie Szybkiej Odpowiedzi.

Przejdź do:
AdminCP -> Style i Szablony -> Zarządzaj Stylami -> Nazwa Stylu -> Edytuj Szablony

Otwórz szablon showthread_quickreply.

Znajdź:
<if condition="$show['url_bbcode'] OR $show['img_bbcode']">
                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
        </if> Dodaj powyżej:
<!-- wysiwyg smilies -->
<script type="text/javascript" src="clientscript/vbulletin_smilies_qreply.js?v=$vboptions[simpleversion]"></script>
<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><img src="$stylevar[imgdir_editor]/smilie.gif" alt="" width="21" height="20" /></td>
<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
</tr>
</table>
</div></td>
<!-- / wysiwyg smilies --> Zapisz.

Tłumaczenie artykułu z vBulletin.org.
Dla: http://vBHELP.pl





BOŁOZ - 06-04-2008 10:00 PM
A jeżeli mam taki kod w tym szablonie to gdzie mam wstawić to co pisałeś?

<if condition="$show['editor_toolbar']">
<div id="{$editorid}_controls" class="controlbar">
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
                <td><div class="imagebutton" id="{$editorid}_cmd_removeformat"><img src="$stylevar[imgdir_editor]/removeformat.gif" width="21" height="20" alt="$vbphrase[remove_text_formatting]" /></div></td>
                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
        <if condition="$show['basic_bbcode']">
                <td><div class="imagebutton" id="{$editorid}_cmd_bold"><img src="$stylevar[imgdir_editor]/bold.gif" width="21" height="20" alt="$vbphrase[bold]" /></div></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_italic"><img src="$stylevar[imgdir_editor]/italic.gif" width="21" height="20" alt="$vbphrase[italic]" /></div></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td>
                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
        </if>
        <if condition="$show['color_bbcode']">
                <td><div class="imagebutton" id="{$editorid}_popup_forecolor" title="$vbphrase[colors]">
                        <table cellpadding="0" cellspacing="0" border="0">
                        <tr>
                                <td id="{$editorid}_color_out"><img src="$stylevar[imgdir_editor]/color.gif" width="21" height="16" alt="" /><br /><img src="$vboptions[cleargifurl]" id="{$editorid}_color_bar" alt="" style="background-color:black" width="21" height="4" /></td>
                                <td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" alt="" width="11" height="16" /></td>
                        </tr>
                        </table>
                </div></td>
        </if>
                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
        <if condition="$show['url_bbcode']">
                <td><div class="imagebutton" id="{$editorid}_cmd_createlink"><img src="$stylevar[imgdir_editor]/createlink.gif" width="21" height="20" alt="$vbphrase[insert_link]" /></div></td>
        </if>
        <if condition="$show['img_bbcode']">
                <td><div class="imagebutton" id="{$editorid}_cmd_insertimage"><img src="$stylevar[imgdir_editor]/insertimage.gif" width="21" height="20" alt="$vbphrase[insert_image]" /></div></td>
        </if>
                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
        <td width="100%">&nbsp;</td>
        <if condition="is_browser('ie')">
                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
        </if>
                <td>
                        <div class="imagebutton" id="{$editorid}_cmd_resize_0_99"><img src="$stylevar[imgdir_editor]/resize_0.gif" width="21" height="9" alt="$vbphrase[decrease_size]" /></div>
                        <div class="imagebutton" id="{$editorid}_cmd_resize_1_99"><img src="$stylevar[imgdir_editor]/resize_1.gif" width="21" height="9" alt="$vbphrase[increase_size]" /></div>
                </td>
        <if condition="$show['wysiwyg_compatible']">
                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_switchmode"><img src="$stylevar[imgdir_editor]/switchmode.gif" width="21" height="20" alt="$vbphrase[switch_editor_mode]" /></div></td>
        </if>
        </tr>
        </table>
</div>
</if>
<div class="controlbar" style="padding-right:8px">
        <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>
        <!--width:$stylevar[messagewidth]-->
</div>

<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>



BOŁOZ - 06-04-2008 10:39 PM
dodalem w odpowiednie miejsce ale nie mam emotek



araj - 06-04-2008 10:41 PM
spróbuj zaimportowac załącznik,który dałem w twoim temacie





BOŁOZ - 06-04-2008 10:47 PM
dodalem w odpowiednie miejsce ale nie mam emotek



MxK - 06-04-2008 11:37 PM
araj ma na myśli zaimportowanie załącznika, który dodał w tym temacie:
http://vbhelp.pl/pytania-i-problemy-....html#post4537
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • showthemusic.xlx.pl
  • Copyright (c) 2009 iza7845 | Powered by Wordpress. Fresh News Theme by WooThemes - Premium Wordpress Themes.