PDA

View Full Version : QuickReply - FullToolBar


TrucLinh
08 Oct 2006, 20:51
Quickreply - FullToolBar

vb3.5.x - vb3.6.0 to vb3.6.4 | Author DavidNg & TrucLinh | VietOnLine | www.++++++.org (http://www.++++++.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:
<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 (http://www.vbulletin.org/forum/showpost.php?p=1096547&postcount=14)

Thats all!

. Enjoy!

Update note:

Requested by itsatonline (http://www.vbulletin.org/forum/member.php?u=160165) #11 (http://www.vbulletin.org/forum/showpost.php?p=1095129&postcount=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
08 Oct 2006, 22:49
I'm confused. What does this add, beside smilies?

tazB.ca
08 Oct 2006, 23:20
I'm confused. What does this add, beside smilies?

FONT CHOICE AND ALLIGNMENT

Veer
09 Oct 2006, 01:04
Thanks for this.

shadowevil
09 Oct 2006, 02:08
good job ... I like it .. *installed*

xtremeteam
09 Oct 2006, 14:21
the smilies are not shwoing for me any way to fix this im using custom smilies

TrucLinh
09 Oct 2006, 16:44
. Open vbulletin_smilies_qreply.js file, replace the exiting dir with your custom smilies dir and smilies on it...

snowlion
11 Oct 2006, 11:44
. 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
11 Oct 2006, 11:55
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
12 Oct 2006, 04:19
thanks :)

itsatonline
12 Oct 2006, 04:23
no active tag size ?
please help me for actived tag size in quick reply

TrucLinh
12 Oct 2006, 20:31
no active tag size ?
please help me for actived tag size in quick reply

Here you go...

. Download update-01.zip (http://www.vbulletin.org/forum/attachment.php?attachmentid=54614)
. Open showthread_quickreply template, replace the exiting template with this template [ showthread_quickreply.txt ]
. Enjoy!

tekstylez
13 Oct 2006, 21:44
having a problem editing the smilies_qreply.js

'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
13 Oct 2006, 22:25
Forum Home > Post New Thread > view-source

Find: var smilieoptions = new Array();

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

Ekshi
15 Oct 2006, 22:31
Thank you im install page http://frm.ekshi.net

htdesignz
18 Oct 2006, 03:40
I like it

iran.gs
27 Oct 2006, 13:21
Installed Very nice just get rid of the ur code and use the update...........

Th3_Ch@H@N^
28 Oct 2006, 19:43
excellent performance great work!!!!

apiasto
09 Nov 2006, 03:49
very help full with alot of smilies thnx

aquariumpros
11 Nov 2006, 09:07
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
25 Jan 2007, 21:29
hi
please added in QuickReply - FullToolBar
viwed images and edit code and added
for updtae

TheFrienzNet
25 Jan 2007, 21:52
Thanks, it works perfectly.

Roxie
24 Feb 2007, 04:17
Anyway to randomize the smilies in the dropdown?

mgurain
17 Mar 2007, 12:00
How about "Font SIZE" ?

darkman
18 Mar 2007, 03:23
Thanks

Lizbaby4
19 Mar 2007, 02:36
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
21 Apr 2007, 21:21
help me for actived FullToolBar in quick edit ?
plz help

PinkDaisy
22 Apr 2007, 17:08
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
04 May 2007, 18:00
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
11 May 2007, 15:32
cool idea I love it ;)