Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Quick Editor Improver - Support Attachment Details »»
Quick Editor Improver - Support Attachment
Version: 3.0, by sunrise2006 sunrise2006 is offline
Developer Last Online: Jan 2018 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.x Rating:
Released: 01-16-2009 Last Update: 02-02-2009 Installs: 521
DB Changes Uses Plugins Auto-Templates
Translations  
No support by the author.

Quick Editor Improver 3.0
Customize Quick Editor and Quick Reply [Support Attachment]

With this hack you may improve the buttons on quick editors include Quick Reply, Quick Edit Post, Visitor Message Editor, Private Message Quick Reply, Social Group Discussion Quick Edit, vB Blog Quick Comments, vB Project Tools Issue Quick Reply and etc...

Now you may easily and fast quick attachment without need to refresh the page even for post quick edit!

Hereinafter you may easily turn on or off buttons on quick editors only via vBulletin Options. For example you may add a smiley box to Quick Reply or Visitor Message Editor and so on.

I hope this hack will useful for you.

Features
  • Turn on/off buttons on Quick Editors via vBulletin Options -> Quick Editor Improver
  • Easily add custom BB Codes to Quick Editors without need to make any changes on templates
  • Display buttons on Quick Editor based on BB Codes permissions which defined for particular section
  • Support Thread Quick Reply, Quick Edit Post, Visitor Message Editor, Quick Edit VM, Private Message Quick Reply, Social Group Discussion Quick Edit, vB Blog Quick Comments, vB Project Tools Issue Quick Reply and etc.
  • Enable/Disable improvement of Quick Editor for particular section by whom you wish
  • Display BB Code posting rules below Quick Editor
  • Add Thread Close/Open option to Quick Reply box on Thread Display
  • Display Post Icons on Quick Reply box
  • Customize Quick Editor/Quick Reply via User Control Panel
  • Works based on usergroup permissions
  • Conform any Quick Editor everywhere
  • Compatibility with 'Advanced BBCode Permissions' hack
  • Enable Quick Attachment
  • Excludes of improvement for certain Usergroups and Styles
New Installation Guide
Import the 'quickeditor_improver_3.0.xml' via Product Manager system.
Congratulation, you are successfully installed Quick Editor Improver on your board.

Upgrade from 1.0 to 3.0
Import the 'quickeditor_improver_3.0.xml' via Product Manager system with check 'Allow Overwrite'.
- It is highly recommended to delete /includes/xml/bitfield_quickeditor_improver.xml

Upgrade from 2.x to 3.0
Import the 'quickeditor_improver_3.0.xml' via Product Manager system with check 'Allow Overwrite'.

If you are use Icons for UserCP Navbar hack, you may upload contents of extra folder to /images/misc/ directory on root.

Change Log
Version 1.0 released on 18 January, 2009
It was first release of this product.
This version works with vBulletin 3.6.x, 3.7.x and 3.8.x
Version 2.0 released on 23 January, 2009
Fixed up the function declare problem of 'button_visibility' function and cache templates
Fixed up the on the fly configuration
Optimized sever load time of improved quick editor
Obviated of upload new files
Added variety options to more customizing

Support vBulletin Blog and vBulletin Project Tools
New Options:

- Usergroups to be excluded: Allows you to disable Quick Editor Improver functions for some usergroups
-
Show BB Code Rules on Quick Editor Box: Display BB Code rules on quick editor box instead of on 'Posting Rules' area
- Apply To:
Allows you to set improvement only for particular sections
-
Quick Reply - Form Width: If buttons over quick reply are outside of the box, you may use this option to specify fit form width

- vBulletin Blog - Set Automatic Form Width:Automatically adjustment of quick comment box on vBulletin Blog
- Thread Display - Show Close/Open Thread on Quick Reply:
This option allows you to display quick close/open thread on quick reply box
- Thread Display - Show Post Icons on Quick Reply: This option allows you to show post icons on quick reply box
Version 2.0.1 released on 23 January, 2009
Fixed up the uncached templates problem
More optimized server load time

Version 2.5.0 released on 25 January, 2009
Fixed up trivial bugs
Compatibility with Advanced BBCode Permissions Hack
Apply configuration based on usergroup that group by 'Quick Editor Permissions'
Customize quick editor by users from their User Control Panel's
New Option:
- User CP Quick Editor Settings: When enabled, Quick Editor Settings item will shown on User Control Panel which allow to users to customize quick editor/reply settings as their wish.
Version 3.0 released on 3 February, 2009
Works fine with vBulletin 3.8.1
Fixed up small bug that was for options
Fixed up uncached problem for User CP state
Fixed up empty smilies menu problem when quick reply was off
Quick Attachment possibility (Quick Reply / Post Quick Edit)
Support 'Icons for UserCP Navbar' hack for User CP
Optimized server load time

New Options
- Style ids to be excluded: Allows you to disable Quick Editor Improver functions for certain styles
- Enable Attachment: This setting contains options to be channeling of attachment on quick editor


*** It's highly recommended to upgrade from old versions to 3.0 ***

Important: Please don't forget if you have installed this modification, click Mark as Installed to aid me for more support this modification in the next releases.

If you installed this hack, please give your rate to it. :up:

Please tell me your thoughts or suggestions about this hack.

Do you love this modification, so you may Norminate for MOTM it.

Thank You,
Hamed Haddadian

Download Now

File Type: zip quickeditor_improver_3.0.zip (54.3 KB, 2847 views)

Screenshots

File Type: gif pm_quickreply_view.gif (39.8 KB, 0 views)
File Type: gif blog_post_comment.gif (19.5 KB, 0 views)
File Type: gif projecttools_issue_qr.gif (28.0 KB, 0 views)
File Type: gif quick_editor_improver_ugp.gif (17.8 KB, 0 views)
File Type: gif quick_editor_improver_options.gif (162.8 KB, 0 views)
File Type: gif thread_quickreply_view.gif (57.7 KB, 0 views)
File Type: gif quickedit.gif (50.1 KB, 0 views)
File Type: gif usercp_quickeditor_settings.gif (105.6 KB, 0 views)
File Type: gif vm_editor_view.gif (14.5 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #232  
Old 06-01-2009, 10:41 AM
W!cKeD W!cKeD is offline
 
Join Date: May 2009
Location: Hamburg
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

* Thanks & Installed * :up:
Reply With Quote
  #233  
Old 06-01-2009, 04:55 PM
sunrise2006's Avatar
sunrise2006 sunrise2006 is offline
 
Join Date: Feb 2006
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mohammadxxx View Post
hi

your hack very nice but the quick edit don't show my toolbar like quick replay !!??
pic attached .

thanks again
Please check for vBulletin Options -> Quick Editor Improver, and please sure for exists of templates that start with imp_ prefix.

However I checked your board and I saw that Quick Editor Improver for Quick Reply works perfect.
Reply With Quote
  #234  
Old 06-02-2009, 06:10 AM
sunrise2006's Avatar
sunrise2006 sunrise2006 is offline
 
Join Date: Feb 2006
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alexsinev View Post
Sunrise2006, I guess, that attachments in vBBlog comments are uavailable also. What about such a possibility? Do you intend to add it?
As default of vBulletin vB Blog does not support attachments, because of I not spot it.
Reply With Quote
  #235  
Old 06-02-2009, 08:06 PM
thedagnu thedagnu is offline
 
Join Date: May 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #236  
Old 06-11-2009, 09:09 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to disable this Quick Editor Reply for certain forums? I know I'd have to edit the SHOWTHREAD template. I'm just not sure where...and what code to use.

Thank you in advance...
Reply With Quote
  #237  
Old 06-12-2009, 02:49 AM
sunrise2006's Avatar
sunrise2006 sunrise2006 is offline
 
Join Date: Feb 2006
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Saviour View Post
Is there any way to disable this Quick Editor Reply for certain forums? I know I'd have to edit the SHOWTHREAD template. I'm just not sure where...and what code to use.

Thank you in advance...
For current version you may limit it based on usergroup and style, but for specified forums this is not possible, sorry.

However this is not meant you may not have that, because of if you know about vBulletin and plug-ins system, you may add new option to Quick Editor Improver as you will need to create a new plug-in for this capability.

Another way for this issue that I think it's better and easy follow:

Quote:
Admincp -> Plugins & Products -> Plugin Manager
Edit Button Visibility Bitfields plug-in same as this:
PHP Code:
                    if ($vbulletin->options['qeimp_enabled'])
                    {
                        
$qei_apply false;
                        if (
$vbulletin->options['qei_excluded_usergroups'])
                        {
                            
$qei_exclusergroups explode(','$vbulletin->options['qei_excluded_usergroups']);
                        }
                        if (
$vbulletin->options['qei_excluded_styles'])
                        {
                            
$qei_exclstyles explode(','$vbulletin->options['qei_excluded_styles']);
                        }
                        
$exclforums '1,2,3,4,5,6,7';
                        if (
$exclforums)
                        {
                            
$qei_exclforums explode(','$exclforums);
                        }
                        
                        if (!
$qei_exclforums OR (isset($qei_exclforums) AND !in_array($forumid$qei_exclforums)))
                        {                        
                            
//if (!isset($qei_exclusergroups) OR (isset($qei_exclusergroups) AND !in_array($vbulletin->userinfo['usergroupid'], $qei_exclusergroups)))
                            
if ((!isset($qei_exclusergroups) AND !isset($qei_exclstyles)) OR !((isset($qei_exclusergroups) AND in_array($vbulletin->userinfo['usergroupid'], $qei_exclusergroups)) OR (isset($qei_exclstyles) AND in_array($vbulletin->userinfo['styleid'], $qei_exclstyles))))
                            {                    
                                switch (
THIS_SCRIPT)
                                {
                                    case 
'showthread':
                                        
$qei_apply = ($vbulletin->options['qei_applyto']) ? true false;
                                    break;
                                    case 
'member':
                                        
$qei_apply = ($vbulletin->options['qei_applyto']) ? true false;
                                    break;
                                    case 
'group':
                                        
$qei_apply = ($vbulletin->options['qei_applyto']) ? true false;
                                    break;
                                    case 
'blog':
                                        
$qei_apply = ($vbulletin->options['qei_applyto']) ? true false;
                                    break;
                                    case 
'project':
                                        
$qei_apply = (16 $vbulletin->options['qei_applyto']) ? true false;
                                    break;
                                    default:
                                        
$qei_apply true;
                                    break;
                                }
                            }
                            if (
$qei_apply AND intval($vbulletin->options['qei_visiblebuttons']) > 0)
                            {
                                
$bv_bitfield = array(
                                    
'qr_visible_smilies'    =>    1,
                                    
'qr_visible_size'        =>    2,
                                    
'qr_visible_font'        =>    4,
                                    
'qr_visible_align'        =>    8,
                                    
'qr_visible_list'        =>    16,
                                    
'qr_visible_code'        =>    32,
                                    
'qr_visible_php'        =>    64,
                                    
'qr_visible_html'        =>    128,
                                    
'qr_visible_custom'        =>    256,
                                    
'qe_visible_smilies'    =>    512,
                                    
'qe_visible_size'        =>    1024,
                                    
'qe_visible_font'        =>    2048,
                                    
'qe_visible_align'        =>    4096,
                                    
'qe_visible_list'        =>    8192,
                                    
'qe_visible_code'        =>    16384,
                                    
'qe_visible_php'        =>    32768,
                                    
'qe_visible_html'        =>    65536,
                                    
'qe_visible_custom'        =>    131072,
                                    
'pmqr_visible_smilies'    =>    262144,
                                    
'pmqr_visible_size'        =>    524288,
                                    
'pmqr_visible_font'        =>    1048576,
                                    
'pmqr_visible_align'    =>    2097152,
                                    
'pmqr_visible_list'        =>    4194304,
                                    
'pmqr_visible_code'        =>    8388608,
                                    
'pmqr_visible_php'        =>    16777216,
                                    
'pmqr_visible_html'        =>    33554432,
                                    
'pmqr_visible_custom'    =>    67108864
                                
);
                            }
                        }
                    } 
Please remember that $exclforums = '1,2,3,4,5,6,7' will specified forumids to be excluded, thus you may spot a simple option on vBulletin options for it.

Good Luck
Reply With Quote
  #238  
Old 06-12-2009, 03:01 AM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry...ya lost me there...

Though it says "Coder" under my username...I'm not that good.

Can't a simple if condition with an array in the SHOWTHREAD template accomplish what I want to do?
Reply With Quote
  #239  
Old 06-12-2009, 12:33 PM
sunrise2006's Avatar
sunrise2006 sunrise2006 is offline
 
Join Date: Feb 2006
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Saviour View Post
Sorry...ya lost me there...

Though it says "Coder" under my username...I'm not that good.

Can't a simple if condition with an array in the SHOWTHREAD template accomplish what I want to do?
I think this is the best method for this issue, because of if the condition check on the top level it's very better to decision about processing of that, so extra queries will not affect. I will post a new attachment that applied this for easy of you.

Thank you.
Reply With Quote
  #240  
Old 06-12-2009, 11:12 PM
insanegrunt.com insanegrunt.com is offline
 
Join Date: Nov 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I having a problem i install it and it works fine on the admin account but when i loggin to my own account i cant see it. its like only admin can see it?
Reply With Quote
  #241  
Old 06-12-2009, 11:33 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstalled...Unsubscribed...

Doesn't work with Post Templates hack...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:12 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08972 seconds
  • Memory Usage 2,436KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete