vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   QuickReply - FullToolBar (https://vborg.vbsupport.ru/showthread.php?t=128595)

TrucLinh 10-07-2006 10:00 PM

QuickReply - FullToolBar
 
Quickreply - FullToolBar

vb3.5.x - vb3.6.0 to vb3.6.4 | Author DavidNg & TrucLinh | VietOnLine | www.vbViet.org

Here you go...


DL / Unpacking the attachment:

. UpLoad clientscript\vbulletin_smilies_qreply.js

Installation Instructions:

. Login Admin CP

Modify templates: (1 templates)

. Open showthread_quickreply template, replace the exiting template with this template:
HTML Code:

<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['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>
        <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['align_bbcode']">
                <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>
                <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>
        <!-- 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 -->
        <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">
    <if condition="$show['qr_require_click']">
    <textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; 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:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]"></textarea>
    </if>
</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>

If your forum have custom smilies.

. Open vbulletin_smilies_qreply.js file, replace the exiting dir with your custom smilies dir and smilies on it...
. More info: #14

Thats all!

. Enjoy!

Update note:

Requested by itsatonline #11

. Add tag Font Size in Quick Reply
. update-01.zip
. Open showthread_quickreply template, replace the exiting template with this template
[ showthread_quickreply.txt ]

ronoxQ 10-08-2006 09:49 PM

I'm confused. What does this add, beside smilies?

tazB.ca 10-08-2006 10:20 PM

Quote:

Originally Posted by ronoxQ
I'm confused. What does this add, beside smilies?

FONT CHOICE AND ALLIGNMENT

Veer 10-09-2006 12:04 AM

Thanks for this.

shadowevil 10-09-2006 01:08 AM

good job ... I like it .. *installed*

xtremeteam 10-09-2006 01:21 PM

the smilies are not shwoing for me any way to fix this im using custom smilies

TrucLinh 10-09-2006 03:44 PM

. Open vbulletin_smilies_qreply.js file, replace the exiting dir with your custom smilies dir and smilies on it...

snowlion 10-11-2006 10:44 AM

Quote:

. Open vbulletin_smilies_qreply.js file, replace the exiting dir with your custom smilies dir and smilies on it...
you mean i must manual add dir and smilies into js file ?

mr moose 10-11-2006 10:55 AM

it wouldnt work on my set up (v3.6.2) it wont let me access quick reply and also would cause problems adjusting stuff in my templates any idea's why?

asj 10-12-2006 03:19 AM

thanks :)

itsatonline 10-12-2006 03:23 AM

no active tag size ?
please help me for actived tag size in quick reply

TrucLinh 10-12-2006 07:31 PM

Quote:

Originally Posted by itsatonline
no active tag size ?
please help me for actived tag size in quick reply

Here you go...

. Download update-01.zip
. Open showthread_quickreply template, replace the exiting template with this template [ showthread_quickreply.txt ]
. Enjoy!

tekstylez 10-13-2006 08:44 PM

having a problem editing the smilies_qreply.js

Code:

'10' : new Array('images/smilies/confused.gif', ':confused:', 'Confused'),
                '8' : new Array('images/smilies/mad.gif', ':mad:', 'Mad'),
                '5' : new Array('images/smilies/tongue.gif', ':p', 'Stick Out Tongue'),
                '4' : new Array('images/smilies/wink.gif', ';)', 'Wink'),
                '3' : new Array('images/smilies/biggrin.gif', ':D', 'Big Grin'),
                '2' : new Array('images/smilies/redface.gif', ':o', 'Embarrassment'),
                '1' : new Array('images/smilies/smile.gif', ':)', 'Smile'),
                '11' : new Array('images/smilies/frown.gif', ':(', 'Frown'),
                '7' : new Array('images/smilies/rolleyes.gif', ':rolleyes:', 'Roll Eyes (Sarcastic)'),
                '6' : new Array('images/smilies/cool.gif', ':cool:', 'Cool'),
                '9' : new Array('images/smilies/eek.gif', ':eek:', 'EEK!'),


If I wanted to change these lines 5to match my smilies.... I just edit the location and the :x: and the emotion but what do I do with the numbers?

TrucLinh 10-13-2006 09:25 PM

Forum Home > Post New Thread > view-source

Find:
Quote:

var smilieoptions = new Array();
. Look: view-source.gif
. Copy > Paste // copy and paste all the custom smilies... vbulletin_smilies_qreply.js
. Enjoy!

Ekshi 10-15-2006 09:31 PM

Thank you im install page http://frm.ekshi.net

htdesignz 10-18-2006 02:40 AM

I like it

iran.gs 10-27-2006 12:21 PM

Installed Very nice just get rid of the ur code and use the update...........

Th3_Ch@H@N^ 10-28-2006 06:43 PM

excellent performance great work!!!!

apiasto 11-09-2006 02:49 AM

very help full with alot of smilies thnx

aquariumpros 11-11-2006 08:07 AM

Hmmm - anyone know what would make this hack cause the comments within Photopost Classifieds report the error "Please complete all fields" (despite there only being one field = comment).

Had to remove this hack until this can be figured out.

TIA for any help...

itsatonline 01-25-2007 08:29 PM

hi
please added in QuickReply - FullToolBar
viwed images and edit code and added
for updtae

TheFrienzNet 01-25-2007 08:52 PM

Thanks, it works perfectly.

Roxie 02-24-2007 03:17 AM

Anyway to randomize the smilies in the dropdown?

mgurain 03-17-2007 11:00 AM

How about "Font SIZE" ?

darkman 03-18-2007 02:23 AM

Thanks

Lizbaby4 03-19-2007 01:36 AM

Quote:

Originally Posted by TrucLinh (Post 1096547)
Forum Home > Post New Thread > view-source

Find:
. Look: view-source.gif
. Copy > Paste // copy and paste all the custom smilies... vbulletin_smilies_qreply.js
. Enjoy!


where the heck do you find this???

itsatonline 04-21-2007 08:21 PM

help me for actived FullToolBar in quick edit ?
plz help

PinkDaisy 04-22-2007 04:08 PM

I installed, but had to un-install. For some reason, it didn't let me use any quick reply options and was giving me an error when you submitted message that the message wasn't long enough.

abhimation 05-04-2007 05:00 PM

Hey i installed it. I am not using any custom smilies so i dint edit the .js file.

Still it doesnt show any smilies in the drop down !

Aimee1969 05-11-2007 02:32 PM

cool idea I love it ;)


All times are GMT. The time now is 05:04 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.01266 seconds
  • Memory Usage 1,857KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete