vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Quote Breaker (https://vborg.vbsupport.ru/showthread.php?t=324274)

MarkFL 01-23-2017 10:00 PM

Quote Breaker
 
1 Attachment(s)
Overview:

This product adds a button to the bottom of your ckeditor (posts/PMs only) that allows for easily breaking quotes. Consider that you have quoted someone's post, and you wish to address multiple points within that post. With this product, you put your cursor at the end of the first point you wish to address, and click the "Quote Break" button, and an ending QUOTE tag is generated, 4 newlines, and a new beginning QUOTE tag that matches the beginning tag of the current quote your cursor is in. Then your cursor is located in between the two generated tags, ready for you to enter your text addressing the first point in the quoted post.

In the settings, you may select which usergroups have access to this product's features. You may also specify users by username that you wish to exclude from the product.

In the "Source Mode" editor, any open text formatting BBCodes are closed in the closed quote, and are reopened in the newly opened quote. You can add any BBCodes you wish to add to the list of tags that are supported. You are given 4 options in the product settings for "WYSIWYG Mode" support, and I highly recommend you choose the option that displays the "Quote Break" button to all users, but alerts users in "WYSIWYG Mode" to switch to "Source Mode" before using the button. I have made an attempt to support the WYSIWYG editor, but the results are inferior compared to the "Source Mode" editor.

Suppose you have quoted a post that contains an unordered list, and you wish to address each point separately. Put your cursor after the first point you wish to address:

https://vborg.vbsupport.ru/attachmen...1&d=1485495525

Now click the "Quote Break" button, and you get:

https://vborg.vbsupport.ru/attachmen...1&d=1485495525

Now you can enter your response to this first point, and then continue with each successive point. :)

Everything is fully phrased. :up:

Updates:

Version 1.1:
  • Resolved potential conflicts between BBCode tags.

Version 1.2:
  • Moved "Quote Break" button to the far left, and the "Restore Auto-Saved Content" button to its right.
  • Added setting to allow control over the position of the "Restore Auto-Saved Content" button in case you change the width of the "Quote Break" by editing the phrase containing its text value.

Version 1.3:
  • If WYSIWYG editor is disabled, or Standard Mode is forced on users, then button tooltip no longer displays message about Standard Mode being recommended/required.

Version 1.3.1:
  • Fixed bug where CSS/Javascript wasn't loaded when quick reply is off, but quick edit is on.

Compatibility:

Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.

Backup/Warning:

This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  1. Download and extract the attached .zip file.
  2. Upload the contents of the "upload" folder packaged in the .zip file to your forum root.
  3. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  4. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  5. Click "Import."
  6. You MUST enable the product in the settings before it will function.
  7. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.

https://vborg.vbsupport.ru/attachmen...1&d=1485495525

Support for this product can be found here:

Snowhog 01-24-2017 04:33 PM

This looks like a very useful addition. I know that I have had to 'fix' to many incorrectly 'hand quoted' posts.

djbaxter 01-25-2017 07:54 PM

Excellent idea, Mark!

And it works perfectly. Installed on 4 forums. :)

MarkFL 01-27-2017 02:46 AM

Update - Version 1.1:
  • Resolved potential conflicts between BBCode tags.

djbaxter 01-27-2017 02:53 AM

One change to suggest: Move the Quote Break button to the far left.

It's a little too much like a Submit button in the bottom middle of the text box at present.

MarkFL 01-27-2017 03:06 AM

Quote:

Originally Posted by djbaxter (Post 2581403)
One change to suggest: Move the Quote Break button to the far left.

It's a little too much like a Submit button in the bottom middle of the text box at present.

I originally had it on the far left, but then it gets in the way of the "Restore Auto-Saved Content" button, so that's why it's where it's at. :o

edit: I can move the "Restore Auto-Saved Content" button...look for an update real soon. :)

MarkFL 01-27-2017 03:43 AM

Update - Version 1.2:
  • Moved "Quote Break" button to the far left, and the "Restore Auto-Saved Content" button to its right.
  • Added setting to allow control over the position of the "Restore Auto-Saved Content" button in case you change the width of the "Quote Break" by editing the phrase containing its text value.

djbaxter 01-27-2017 04:11 AM

Perfect! Thank you. :)

MarkFL 01-27-2017 04:15 AM

Quote:

Originally Posted by djbaxter (Post 2581408)
Perfect! Thank you. :)

Yes, I like that positioning better too...I just needed a nudge to do it...LOL! :D

X-or 02-05-2017 03:46 AM

Few users would figure this out without a guide I'm afraid.

A better system would be to highlight a part of a post with the mouse, press a quote button to quote that specific part in quick reply, then highlight another part press quote button again to add that quote etc...


All times are GMT. The time now is 12:47 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.01149 seconds
  • Memory Usage 1,742KB
  • 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_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
  • (10)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