vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Quick Reply / Quick Edit Toolbars (https://vborg.vbsupport.ru/showthread.php?t=201020)

TrucLinh 01-07-2009 10:00 PM

Quick Reply / Quick Edit Toolbars
 
1 Attachment(s)
Quick Reply / Quick Edit Toolbars


Product features


. Show Smilies, Font BB Code, Allignment BB Code, and more...

. Quick Reply \ Quick Edit Control Panel
, easy to change (Show or Hide) options.

. Install quickly and easily with only one template to modify (for now).


Screenshots


http://img134.imageshack.us/img134/6...oolbarstu8.gif

http://img249.imageshack.us/img249/6...oolbarsyc6.gif

http://img301.imageshack.us/img301/7...oolbarsee4.gif

http://img229.imageshack.us/img229/8...oolbarsbn6.gif


Modify templates
(1 template, for Quick Edit)

. Open postbit_quickedit template, (no mod install)
_Open the text-code file, then copy and paste... into your template
Quote:

change.template(postbit_quickedit)with.this.txt

OR...

. Open
postbit_quickedit template, Find: (with mod install)
HTML Code:

$vbphrase[remove_text_formatting]" /></div></td>
. Below add
HTML Code:

            <if condition="$vboptions[quickedit_active]"><!-- quick edit toolbars --><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="$vboptions[qe_font_bbcode]"><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>
            <if condition="$vboptions[qe_size_bbcode]"><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>
            <if condition="$vboptions[qe_align_bbcode]"><if condition="$show['align_bbcode']">
                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
                <if condition="$stylevar['textdirection'] == 'ltr'">
                <td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td>
                <else />
                <td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td>
                </if>
            </if></if>
            <if condition="$vboptions[qe_list_bbcode]"><if condition="$show['align_bbcode'] OR $show['list_bbcode']">
                <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"><img src="$stylevar[imgdir_editor]/insertorderedlist.gif" width="21" height="20" alt="$vbphrase[ordered_list]" /></div></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_insertunorderedlist"><img src="$stylevar[imgdir_editor]/insertunorderedlist.gif" width="21" height="20" alt="$vbphrase[unordered_list]" /></div></td>
            </if></if>
            <if condition="$show['align_bbcode'] OR $show['list_bbcode']">
                <if condition="$vboptions[qe_indent_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"><img src="$stylevar[imgdir_editor]/indent.gif" width="21" height="20" alt="$vbphrase[decrease_indent]" /></div></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_indent"><img src="$stylevar[imgdir_editor]/outdent.gif" width="21" height="20" alt="$vbphrase[increase_indent]" /></div></td>
                </if></if>
            </if><!-- quick edit toolbars --></if>

. Next in the same template, Find:
HTML Code:

$vbphrase[wrap_quote_tags]" /></div></td>
. Below add
HTML Code:

            <if condition="$vboptions[quickedit_active]"><!-- quick edit toolbars --><if condition="$show['code_bbcode'] OR $show['html_bbcode'] OR $show['php_bbcode']">
                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>               
                <if condition="$vboptions[qe_code_bbcode]"><if condition="$show['code_bbcode']">
                    <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_code"><img src="$stylevar[imgdir_editor]/code.gif" width="21" height="20" alt="$vbphrase[wrap_code_tags]" /></div></td>
                </if></if>
                <if condition="$vboptions[qe_html_bbcode]"><if condition="$show['html_bbcode']">
                    <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_html"><img src="$stylevar[imgdir_editor]/html.gif"  width="21" height="20" alt="$vbphrase[wrap_html_tags]" /></div></td>
                </if></if>
                <if condition="$vboptions[qe_php_bbcode]"><if condition="$show['php_bbcode']">
                    <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_php"><img src="$stylevar[imgdir_editor]/php.gif" width="21" height="20" alt="$vbphrase[wrap_php_tags]" /></div></td>
                </if></if>
            </if>
            <if condition="$vboptions[qe_wysiwygsmilies]"><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><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>
            </if></if>
                <if condition="$vboptions[qe_undoredo]"><td><td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_undo"><img src="$stylevar[imgdir_editor]/undo.gif" width="21" height="20" alt="$vbphrase[undo]" /></div></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_redo"><img src="$stylevar[imgdir_editor]/redo.gif" width="21" height="20" alt="$vbphrase[redo]" /></div></td></if>
            <td width="100%">&nbsp;</td>
            <if condition="$vboptions[qe_extrabuttons]"><if condition="$vBeditTemplate['extrabuttons'] != '' ">
                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>   
                $vBeditTemplate[extrabuttons]
            </if></if><!-- quick edit toolbars --></if>



. Save your template.

. Enjoy!

Version [3.7.x] Quick Reply / Quick Edit Toolbars [v1.0.0.jan]


Install Update Notes:
_uninstall, then install new update.
_edit your template, then update new template show about.

Update Notes: (1)

_adds Quick Edit Control Panel
_adds Quick Reply Control Panel

_adds auto-template (3) 'quickreply_disablesmilies, quickreply_a_toolbars, quickreply_b_toolbars'
_adds edit-template (1)
_clean-up code and template
_changes plugin title and phrase name




TrucLinh

TrucLinh 01-08-2009 12:45 AM

notifications

Daniel_HBK 01-08-2009 10:15 PM

Cool , installed ..

God bless u :)

mrcake 01-10-2009 02:17 AM

Wow, this rocks! Thanks so much for building. :)

AnnieZC 01-12-2009 10:20 PM

Looks great :)
Will this work with 3.8.0??

obmob 01-14-2009 12:56 AM

interesting, will keep track of this one :p

yingzhou 01-14-2009 07:27 AM

update for 3.8. Cheers TrucLinh & QNhu.

JorgeX 01-14-2009 07:36 PM

Im kinda lost... need better instructions to install :(

JorgeX 01-14-2009 07:39 PM

invalid file type for style.xml

msu2k 01-15-2009 12:42 PM

I'm getting this error on the bottom of my pages:
Uncached templates: newpost_disablesmiliesoption (1)


All times are GMT. The time now is 02:44 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01348 seconds
  • Memory Usage 1,818KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete