Additional Info
Package ID
First Created
May 02, 2007, 10:45:49 AM
Last Updated
May 02, 2007, 10:46:47 AM

vQuoteSelection v0.90

Allows a user to only quote the highlighted text of a post in thread view..
Compatible With 1.1.2
Latest version v0.90
Downloads 29,435
Reviews 0
Rating 0/5
Subscribers 3
License (View License)
This mod allows the user to quote only one part of a post, by selecting (highlighting) the desired text prior to clicking the quote button.

Important: You have to click on the quote button for selection quoting, clicking the text link will, at least in some browsers, count as selection (just like if you single click anywhere, the selection is cleared), so the script won't be able to know what was selected prior to the click.

However, the functionality provided by javascript is rather limited, the script is (especially in bbc-heavy parts) at times inaccurate, in these cases it will usually just fall back to just quoting the whole post.

Technically, the first and last 5 characters of the selected text are used to determine what parts of the quote to use, plus surrounding bbc tags are always preserved.

The important changes only affect xml_topic.js and Post.php, the changes in Display.template.php are merely a minor fix for users who don't have quick reply activated, since the template skips the doQuote function call here.

Tested with Opera, Firefox and IE6, with SMF 1.1 RC3 and 1.1.2 (meaning 1.1 and 1.1.1 should work just fine, too)

Props to shapeshifter, who gave me the original idea
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization