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)
-   -   New Posting Features - Quick Editor Improver - Support Attachment (https://vborg.vbsupport.ru/showthread.php?t=202160)

sunrise2006 01-16-2009 10:00 PM

Quick Editor Improver - Support Attachment
 
1 Attachment(s)
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

SteamyLightning 01-17-2009 08:05 PM

This should be default. Tremendous job.

RHWiRED 01-17-2009 08:22 PM

Will this work on 3.7.x ?

killerkraft 01-17-2009 08:55 PM

Hope next release, this would be standard.

Till then, this is a great job.

Thank's

Hornstar 01-17-2009 09:20 PM

Thanks, ill give it a go and see how it goes. however will this add any extra queries to the page load?

NGUYENDUCTRUONG 01-17-2009 09:47 PM

thanks for share

Tianuc 01-17-2009 11:52 PM

Thanks~ Very useful! Hope that we can support vB Blog

Alfa1 01-18-2009 12:07 AM

Oh wow! This is great. Please add blog.

lazydesis 01-18-2009 01:16 AM

Quote:

Originally Posted by SteamyLightning (Post 1716111)
This should be default. Tremendous job.

agree 100%

thanks for the nice mod.

Hasann 01-18-2009 02:10 AM

Great Idea

I Like it Very Much

Thank You Installed

Sunka 01-18-2009 02:54 AM

Tagged for now...
How this MOD work with Advanced Quick Edit and Advanced Quick Replay MODs??
Any conflictions?

sunrise2006 01-18-2009 06:34 AM

Quote:

Originally Posted by RHWiRED (Post 1716121)
Will this work on 3.7.x ?

Yes, this hack even work with 3.6.x and 3.7.x

sunrise2006 01-18-2009 07:33 AM

Quote:

Originally Posted by hornstar1337 (Post 1716170)
Thanks, ill give it a go and see how it goes. however will this add any extra queries to the page load?

I replaced original quick editor templates with new templates. No query added to the page and for custom BBCodes I used the cache.

sunrise2006 01-18-2009 07:36 AM

Quote:

Originally Posted by Tianuc (Post 1716305)
Thanks~ Very useful! Hope that we can support vB Blog

Quote:

Originally Posted by Alfa1 (Post 1716319)
Oh wow! This is great. Please add blog.

You're welcome.

I will add features to vB Blog in next version (maybe soon or even tomorrow)

sensimilla 01-18-2009 07:59 AM

Nice work, thanks! :)

sunrise2006 01-18-2009 07:59 AM

Quote:

Originally Posted by Sunka (Post 1716424)
Tagged for now...
How this MOD work with Advanced Quick Edit and Advanced Quick Replay MODs??
Any conflictions?

If you want to use Quick Editor Improver, first you must disable (or uninstall) Advanced Quick Edit and Advanced Quick Reply

eTiKeT? 01-18-2009 09:30 AM

Nice Hack Thanks :)

derrene 01-18-2009 01:16 PM

at my social groups i can not see my own created bbcode buttons as images.
i have checked "visible customs"

what i must to do?

dresus 01-18-2009 01:31 PM

anyone else getting this when loading this product?

Code:

Uncached templates: editor_smilie (15)
Uncached templates: editor_smiliebox (1)
Uncached templates: editor_smiliebox_row (5)

advanced quick reply and edit were removed before import

sunrise2006 01-18-2009 01:51 PM

Quote:

Originally Posted by derrene (Post 1716797)
at my social groups i can not see my own created bbcode buttons as images.
i have checked "visible customs"

what i must to do?

You may check the Visible Custom for Quick Edit , please attention if you want to show only particular custom BBCodes you must enter tag of each BBCode in input box opposite of Visible Custom checkbox and if custom BBCodes are more than one you may split each BBCode with a comma.

Though at Social Group this hack apply changes only on Quick Edit and not apply any changes on Full Editor.

sunrise2006 01-18-2009 01:53 PM

Quote:

Originally Posted by dresus (Post 1716808)
anyone else getting this when loading this product?

Code:

Uncached templates: editor_smilie (15)
Uncached templates: editor_smiliebox (1)
Uncached templates: editor_smiliebox_row (5)

advanced quick reply and edit were removed before import

Please ensure that templates are exists and if there are not exists please inform me to offer a solution.

dresus 01-18-2009 01:58 PM

yes, all 3 templates do exist. if i remove the product the "uncached templates" message goes away

derrene 01-18-2009 02:26 PM

Quote:

Originally Posted by sunrise2006 (Post 1716818)
...
Though at Social Group this hack apply changes only on Quick Edit and not apply any changes on Full Editor.


:erm: :( *cry*

saqib_jutt 01-18-2009 02:37 PM

Hi All,
I am using vb 3.8.0, i am having a little prob with my pvt since i have imported this hack.
when i click to open any pvt msg, this error comes....

Fatal error: Cannot redeclare button_visibility() (previously declared in /home/content/j/a/g/jaguarxtype/html/forums/includes/functions_editor.php(521) : eval()'d code:4) in /home/content/j/a/g/jaguarxtype/html/forums/includes/functions_editor.php(521) : eval()'d code on line 4
I dunno what is wrong... please help
Thanks

sunrise2006 01-18-2009 02:43 PM

Quote:

Originally Posted by derrene (Post 1716831)
:erm: :( *cry*

Note that Allow Custom BBCodes for Social Group Discussion must be enabled.

sunrise2006 01-18-2009 02:45 PM

Quote:

Originally Posted by dresus (Post 1716822)
yes, all 3 templates do exist. if i remove the product the "uncached templates" message goes away

You may temporary disable that product and test again, if problem was resistance I will offer a new version to fix this problem whom you have face with it.

sunrise2006 01-18-2009 02:56 PM

Quote:

Originally Posted by saqib_jutt (Post 1716838)
Hi All,
I am using vb 3.8.0, i am having a little prob with my pvt since i have imported this hack.
when i click to open any pvt msg, this error comes....

Fatal error: Cannot redeclare button_visibility() (previously declared in /home/content/j/a/g/jaguarxtype/html/forums/includes/functions_editor.php(521) : eval()'d code:4) in /home/content/j/a/g/jaguarxtype/html/forums/includes/functions_editor.php(521) : eval()'d code on line 4
I dunno what is wrong... please help
Thanks

This hack include a small function with name button_visibility that take a place on construct_edit_toolbar function in file includes/functions_editor.php and only one time defined, I think you are on a page that have 2 Quick Editor, so this problem may a bug for current version and I must fix this problem certainly in next version.

I say thank you to report this problem, but for this time you may make this change on Improve Editor plug-in that took in editor_toolbar_start hook via Plug-Ins Manager which that change is follow:

Find function button_visibility($button) then before this line add if (function_exists('button_visibility')) then save the changes.

NAZIA 01-18-2009 06:04 PM

Installed

Mike-D 01-18-2009 07:07 PM

You did a awesome and great work. I'm really impressed about such nice work. Installed and Nominated :up:
Thank you very much for your effort, Sir ;) German Translataion has been finished and ready for upload if you agree :)

dresus 01-18-2009 07:27 PM

Quote:

Originally Posted by sunrise2006 (Post 1716847)
You may temporary disable that product and test again, if problem was resistance I will offer a new version to fix this problem whom you have face with it.

disabled and re-enabled it several times. still getting the cache errors while it is enabled but not getting them while not enabled. i have even gone as far as shutting down apache and restarting it to see if it refreshes the cache with no luck.

thanks
dre

Mike-D 01-18-2009 07:52 PM

1 Attachment(s)
I noticed right now that you have some options which have not been finished inside your Code and should temporarily Disabled for the time being. So it may not cause any problems but may confuse some members while seeing a gap inside the vB Settings without any contents in it. Just as a side note ;)

HTML Code:

<settinggroup name="quickeditor_improver_onthefly" displayorder="0">
  <setting varname="qr_custombbcode" displayorder="0">
    <datatype>free</datatype>
    <defaultvalue></defaultvalue>
  </setting>
  <setting varname="qe_custombbcode" displayorder="0">
    <datatype>free</datatype>
    <defaultvalue></defaultvalue>
  </setting>
  <setting varname="pmqr_custombbcode" displayorder="0">
    <datatype>free</datatype>
    <defaultvalue></defaultvalue>
</setting>


Shaliza 01-18-2009 09:19 PM

Great hack! Installed. =)

basil2070 01-18-2009 11:46 PM

Hell yeah. I've been looking for something like this. Thanks :)

sunrise2006 01-19-2009 03:52 AM

Quote:

Originally Posted by Mike-D (Post 1717156)
You did a awesome and great work. I'm really impressed about such nice work. Installed and Nominated :up:
Thank you very much for your effort, Sir ;) German Translataion has been finished and ready for upload if you agree :)

Wow, thanks a lot. I hope whom I present a hack that is cause for glee of you and I hope I could present most better release for this hack in the future days.

For German translation I give permission to you for put that by yourself or you may give it to me and I will put it on hack with insert your name as translator :up:

sunrise2006 01-19-2009 03:58 AM

Quote:

Originally Posted by Mike-D (Post 1717191)
I noticed right now that you have some options which have not been finished inside your Code and should temporarily Disabled for the time being. So it may not cause any problems but may confuse some members while seeing a gap inside the vB Settings without any contents in it. Just as a side note ;)

HTML Code:

<settinggroup name="quickeditor_improver_onthefly" displayorder="0">
  <setting varname="qr_custombbcode" displayorder="0">
    <datatype>free</datatype>
    <defaultvalue></defaultvalue>
  </setting>
  <setting varname="qe_custombbcode" displayorder="0">
    <datatype>free</datatype>
    <defaultvalue></defaultvalue>
  </setting>
  <setting varname="pmqr_custombbcode" displayorder="0">
    <datatype>free</datatype>
    <defaultvalue></defaultvalue>
</setting>


I actually this is not a problem, because I think with this viewpoint that setting group will not shown in the vBulletin Options menu because of in my vBulletin this options not shown! Anyway I will fix this problem in next version and I say thank you to report me.

sunrise2006 01-19-2009 04:10 AM

1 Attachment(s)
Quote:

Originally Posted by dresus (Post 1717177)
disabled and re-enabled it several times. still getting the cache errors while it is enabled but not getting them while not enabled. i have even gone as far as shutting down apache and restarting it to see if it refreshes the cache with no luck.

thanks
dre

I think if you install this plug-in that attached to this post, your problem will be solved.

Download 'fix-cacheproblem.xml' and install it via Download / Upload Plug-Ins

Hornstar 01-19-2009 04:15 AM

I've installed it but none of my quick replies have changed. They are still all the same.

sunrise2006 01-19-2009 04:21 AM

Quote:

Originally Posted by hornstar1337 (Post 1717460)
I've installed it but none of my quick replies have changed. They are still all the same.

Are you sure you have set true options for Quick Reply?

Hornstar 01-19-2009 07:21 AM

ic, got it, thanks.

dresus 01-19-2009 09:33 AM

worked..

thanks


All times are GMT. The time now is 05:02 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.01783 seconds
  • Memory Usage 1,854KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (17)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
  • (40)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