You will love this script, even though it's a hackish port of my SMF quick quote script, which in turn is a never properly dusted off port from a once much better UserJS. The Quick Quote button allows you to select just some text in a reaction for quoting, as opposed to having to bother with editing your quotes later on. Detection of BBC is imperfect, especially at this early stage. Perhaps an entirely different approach is warranted, but carpe diem. Release early, release often, as the kids say.
You can always find the latest version on GitHub.
https://github.com/Frenzie/elk-quick-quote/releases
Nice add on.
I fixed it up a bunch this afternoon so that more BB codes are properly detected.
Addon don't work with wysiwyg quick reply. Please help, how can to fix it.
Download the version at:
https://github.com/Frenzie/elk-quick-quote/archive/master.zip
Maybe, download it to your computer and then change its name to elk-quick-quote-dev.zip and finally upload it.
ETA: and don't forget o uninstall and delete the previous version. ;)
Works! Thank you very much, for helping me! ;D
I added a v0.3 tag to include that fix. I meant to add more fixes first but I guess I never got around to it. :)
Edit: oh drat, I forgot to update the version in the XML file though. Meh, later. xD
lol
/me knows the feeling. O:-)
How are you
@Frenzie ? Not seen much these days. I love you plugin ideas, you know ? :D
I'm good,
@meetdilip thanks. How about you? I'm busy with several things, including Important Life Decisions™ and summer. :) Bought a new mattress and some new curtains today.
I am fine
@Frenzie . Enjoy life :)
I forgot to mention I installed this addon a few months ago and I really love it, and also my users have appreciated this addon.
Congrats
@Frenzie and thanks for sharing this nice addon!
You're welcome! :)
I installed this addon version 0.3 using compatibility mode on 1.1 RC2 version, it installs without errors, but there is no Quick quote button.
I ran into a hiccup while trying to upgrade from 1.1 RC1 to RC2.
And continue is unclickable. Probably no surprise with the 0 of nothing. It's probably/hopefully just something messed up about my testing install, although I think that except installing beta 4 and upgrading it to rc1 while porting Stop Spammer to Elk I didn't really do much with it.
Anyway, the problem is about the hackish way the username is detected atm, which might also break across themes. I suppose I could patch that up quickly and say the new version is only compatible with 1.1.
No problem having two versions, one of 1.0 and one for 1.1
I think only two changes should suffice (and they might still work on 1.0, too):
var username = (quotebuttons[i].parentNode.parentNode.parentNode.parentNode.previousElementSibling.querySelector('.name').textContent).trim();
var time_unix = quotebutton.parentNode.parentNode.parentNode.parentNode.querySelector('time').getAttribute('data-timestamp');
(That is, an extra .parentNode.)
Could you give it a go?
Thank you
@Frenzie , that seems to work fine. (only needs a CTRL+F5) 8)
Thank you for the addon.
Added Russian localization.
If the "Quick Reply" form is disabled, Quick Quote does not work.
Thanks! Sorry, I've been busy. :)
Will there be an update of this addon for the version ElkArte 1.1.7
A bit late to reply, but the version 0.4 works fine with Elkarte 1.1.7 and 1.1.8
It works fine on Elkarte 1.1.8 : thank you for this addon, and thank you @radu81 to have made me know this addon.
The french translation for the button : Citer la sélection that means Quote selection (i find it's more understandable than Quick quote).
Hope this will be added in 2.0 as a new feature.
/me makes a note