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)
-   -   Add-On Button in QuickEdit Editor's Toolbar (https://vborg.vbsupport.ru/showthread.php?t=136707)

buileminh 01-15-2007 10:00 PM

Add-On Button in QuickEdit Editor's Toolbar
 
Desciprtion: This hack will add more buttons in QuickEdit Editor's Toolbar (See the attachment for a demo)
Template changed: Only 1
Instruction:
Repeat this action for each style if you have more than 1 style:
in postbit_quickedit:
Find:
Quote:

<if condition="!is_browser('opera')">
<td width="100%">&nbsp;</td>
</if>
Add this code before it:
Quote:


<!-- QuickEdit by Bui Le Minh -->
<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['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>
$vBeditTemplate[extrabuttons]
</if>
<!-- / QuickEdit by Bui Le Minh -->

Sorry! Because I am just a newbie in vBB, I do not know how to create a .xml installer. Howerver, I will learn to create one soon. I hope you like this small hack :)

buileminh 01-16-2007 09:42 PM

Reserved for future use! ;)

beduino 01-16-2007 11:48 PM

sorry,
but .... what for is the this? some screenshot?
all the best
beduino

tanyeri24 01-16-2007 11:54 PM

what is this?

buileminh 01-17-2007 12:07 AM

This hack will add more buttons in QuickEdit Editor's Toolbar (See the ScreenShot)

Mudvayne 01-17-2007 06:34 AM

This should be in Template Modification forum.

Veer 01-17-2007 07:28 AM

Yes, Nice work, but should be in Template Modification forum.

Terminatoronly 01-17-2007 07:53 AM

please put your demo or send it to me via pm please :)

buileminh 01-17-2007 08:37 AM

I have uploaded screenshot :)

VaaKo 01-17-2007 09:52 AM

This isn't working, I insert the code into postbit_quickedit and nothing happened!

buileminh 01-17-2007 11:45 AM

How many styles do you have? Do you choose the right style?

VaaKo 01-17-2007 12:27 PM

Yes, I chose the right style and nothing is showing!

AzH 01-20-2007 08:47 AM

This would be really useful for me, if it worked. I use the QR add-on and smiley add on to stop people having to Go Advanced and this would stop people going advanced when editing also.


Quote:

Originally Posted by Pehchaan (Post 1161253)
Yes, Nice work, but should be in Template Modification forum.

Quote:

Originally Posted by Icy (Post 1161228)
This should be in Template Modification forum.

Or, you know, you could just report it and get it moved rather than complaining.

giotmuadong 02-09-2007 02:45 AM

is there anyway i can make these two next to each other

http://img113.imageshack.us/img113/3339/untitledaa0.jpg

buileminh 02-09-2007 02:53 PM

I dont know how could you make it. These two buttons always stay next to each other in my forums.

rjmjr69 02-25-2007 11:23 AM

I have a lot more buttons than what shows after installing this in my advanced reply why arent they all showing up?

Tom_S 02-27-2007 10:16 PM

Nope...nothing after install. Mine looks the same.

mgurain 03-17-2007 11:21 AM

How about Quick Reply ?

anywares 03-17-2007 11:34 AM

Very very nice :D

installs

momo2 06-22-2007 04:23 PM

mine not showing up.. no diffe


All times are GMT. The time now is 05:49 PM.

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.01139 seconds
  • Memory Usage 1,753KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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