View Full Version : Mini Mods - Quick Quote
ragtek
09-23-2007, 10:00 PM
This Add-On adds an "insert selected text" link into your editor, with witch you can insert it :)
Screenshot is in german, the part is: "markierten text einf?gen", when you select something in a post and click on it, it will be included in the textarea.
Updates/Changelog:
29.09.2007 Version 1.1:
WYSIWYG editor is now supported
Versioncheck url is now existing ;)
07.10.2007 Version 1.2:
username and postid are also now taken(that means if you quote the text it will now be quoted as by the normal vb function
13.10.2007 Version 1.3:
names are now "right" using username instead of musername
works now also if the "quick reply box"no "direct answer" now needed also available in the other mode
14.10.2007 Version 1.3.1:
now using phrases
one little bugfix
i replaced by me the quick quote button with this function=> http://www.ragtek.org/tutorials/quickquote.htm
If you wanna support me/my add-ons pls press the donate button :) 70 cent's are 70 cents and better then nothing :)
PoetJA-1975
09-24-2007, 08:07 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=149441" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=149441</a>
skrazydogz
09-24-2007, 09:08 AM
Wenns damit noch Probleme gibt warum wird es dann veröffentlicht ? Oder sollen wir Betatester spielen? Hauptsache mit Bugs glänzen oder?
ragtek
09-24-2007, 09:32 AM
https://vborg.vbsupport.ru/showthread.php?t=149441
thx haven't seen this befor.
Looks better than my, because of the onmouse event*g*
ragtek
09-24-2007, 09:33 AM
Wenns damit noch Probleme gibt warum wird es dann ver?ffentlicht ? Oder sollen wir Betatester spielen? Hauptsache mit Bugs gl?nzen oder?
learn english ;)
and who sais that it doesn't work?
Snake
09-24-2007, 11:41 AM
Thanks!
PoetJA-1975
09-24-2007, 10:06 PM
thx haven't seen this befor.
Looks better than my, because of the onmouse event*g*
Thing is that neither works with the WYSIWYG editor
Your modification would be AWESOME = But I think most Forum Admins have the WYSIWYG editor set as default for Members....
Anyway - I wonder how difficult (or easy :P ) it will be to have the mod work for the WYSIWYG editor?
At anyrate - Thanx for the sharing ;)
Jacquii.
ragtek
09-25-2007, 05:01 AM
i'm looking for a solution :)
but until now i havent found anything
PoetJA-1975
09-25-2007, 09:41 PM
hmmmm - Well I wish ya luck LOL - And will be subscribing to this thread, as it really is a nice modification - just have to get it to work with the WYSIWYG editor ;)
Jacquii.
ragtek
09-26-2007, 06:15 AM
I have found a way, that seems to work.
I'll try to implement it in the next week, because at moment i have no time for this.
PoetJA-1975
09-26-2007, 09:29 AM
AWESOME - I'll be looking forward to it!
Thanx,
Jacquii.
ragtek
09-29-2007, 08:35 AM
phu
after many many hours coding and trying in the morning i can present you version 1.1
PoetJA-1975
09-29-2007, 09:25 AM
Oh My! Exciting stuff! will give it a go a little later after getting over a treacherous hangover :/
Thanx for the share DUDE ;)
Jacquii.
ragtek
09-29-2007, 09:29 AM
no prob :)
FleXy
09-30-2007, 12:37 PM
unfortunately, this mod does not mark username in quote (who post quoted text).
ragtek
09-30-2007, 12:46 PM
no it doesn't
i didn't need this feature
FleXy
09-30-2007, 04:20 PM
sounds bad, because RedTyger can, but thay can not work with "WYSIWYG editor"
how users will know who wrote quoted text... and for who message was pointed.
need option to choose need username in quote or not...
thanks for so quick answer.
2all: any ideas how to edit javascript or templates to add feature "who wrote quoted text"? I mean merge this mod features and RedTyger mod features.
ragtek
09-30-2007, 04:52 PM
i don't want to make it with the onmouseup method, because this can make sometimes trouble in my eyes
i like my method with the link more
and here i cant get the username
sorry
but you are welcome to make this
https://vborg.vbsupport.ru/showpost.php?p=1350277&postcount=17
FleXy
09-30-2007, 06:51 PM
sorry, how can i define postUsername at quote_ragtek.js ?
will this work?
vB_Editor[QR_EditorID].insert_text("[quote' + postUsername + ']"+ str +"[ / quote]", false);
I think this possibility need to add like an option in 1.2 version of this mod (method choose in administrator options menu)
ragtek
09-30-2007, 07:09 PM
no
i mean: change the code in the other add-on
not mine
there stands: fetch_object('vB_Editor_QR_textarea').value += newlines + '' + newQuickQuote + '';
and instead of .value + i use the vbullet method
PoetJA-1975
10-01-2007, 12:40 AM
Oh WOW! This is a fabulous fabulous modification RAGTEK
The thing is - I like to have the "quoted by..." text as well...
So a small donation ($10 maybe more) if you can make version 1.2 to included the quoted by text!
At anyrate - a lovely share - Thanx so much ;)
Jacquii.
PoetJA-1975
10-01-2007, 02:01 AM
So I edited the showthread_quickreply edit just a little bit to include a clickable image instead of the text...
Looks like:
http://img237.imageshack.us/img237/1825/43296751ct3.gif
showthread_quickreply
<a href="javascript:sel('$editorid')"><IMG SRC="....../quotedtext-button.gif" title="Add Selected Text To Post As Quoted" width="230" height="22" border="0"></a><br />
I included a "default" black & white image if anyone wants it...
I'll be happy to make default colors of your board - Let me know via PM if interested.
ALSO - just realized this modification works with the PM System as well = Very nice!
Jacquii.
ragtek
10-01-2007, 07:51 AM
yes, the part with the img i also want to make, but with an small image*g*
i have to look how i can make the part with the username without an onmouseover event
PoetJA-1975
10-01-2007, 11:48 AM
LOL - Ok RAGTEK - thanx!
But of course I'm a bit of a size queen so LARGE image :P
Jacquii.
FleXy
10-03-2007, 05:53 PM
i have to look how i can make the part with the username without an onmouseover event
this will be nice
many thanks
ragtek
10-07-2007, 10:57 AM
*update*
FleXy
10-07-2007, 06:58 PM
THANK YOU!
great news, now will test !
PoetJA-1975
10-07-2007, 10:37 PM
http://img222.imageshack.us/img222/9143/94926637ym2.gif
I couldn't find the $template_hook[postbit_controls] in either of my postbit templates - so I added in another place:
<a href="javascript:sel('$post[postid]','$post[musername]')">Markierten Text einf?gen</a>
The image below is the result and it doesn't work at all :(
Help please!
ALSO thanx for working on the modification - I'll be sending a donation soon!
Jacquii.
FleXy
10-07-2007, 11:26 PM
does not work for me at vb 3.6.8 after reinstall plugin and upload javascript.
i receive: [ qxxuote =undefined;vB_Editor_QR ]text
Caligatio
10-10-2007, 01:36 PM
I suggest changing '$post[musername]' to simply '$post[username]' as musername also includes the bold and italic tags, making the quote dysfunction.
Other than that, works wonderfully on 3.6.4! Even though there is no template hook in postbit, adding it simply made no difference! :)
And of course, let us not forget the required worshiping *worships*. I had been dreaming of finding something exactly like this for a while now (and I am a WYSIWYG lover)! :D
Illustrious
10-12-2007, 10:40 PM
Yes, please do implement the fix for the no-markup username.
Illustrious
10-13-2007, 04:31 AM
Also, I seem to notice that it doesn't add in line breaks for WYSIWYG. It also fails to add in any relevant BBCode for the quoted text either.
PoetJA-1975
10-13-2007, 08:13 AM
Hey RAGTEK - I fixed the issue by simply adding the template hook text!
So it works perfectly now - I really appreciate you taking the time to make the modification compatible with WYSIWYG editor AND so that it quotes the name!
I just made a small donation - Another donation if you can fix the above issue...
Thanx,
Jacquii.
ragtek
10-13-2007, 08:17 AM
hi
sorry for long nothing hearing of me
now i see what i make wrong with musername
i don't use this "future" in my board(all heve the same "syntax" so i havent seen that
will fix it soon
thx 4 reporting
ragtek
10-13-2007, 08:31 AM
Also, I seem to notice that it doesn't add in line breaks for WYSIWYG. It also fails to add in any relevant BBCode for the quoted text either.
hi
linebreaks: i don't wanted them, but could implement it if liked or post how it could be enabled
bbcode: yes, thats true, thats not working and it can't work with my method
ldwebtech
10-13-2007, 06:57 PM
As the same way i need quick refresh button. it just refreshes the posts only not the full site page. Can u try to code for me plz . I need it badly.
Regards
ldwebtech
ragtek
10-13-2007, 08:32 PM
As the same way i need quick refresh button. it just refreshes the posts only not the full site page. Can u try to code for me plz . I need it badly.
Regards
ldwebtech
what do you mean with this?
sorry i don't undertand your request
ldwebtech
10-14-2007, 09:31 AM
what do you mean with this?
sorry i don't undertand your request
Check this screenshot u will get an idea
http://imagehost.torrentsgalaxy.com/files/mzywgdjdjhjyzgnmzkyl.jpg (http://imagehost.torrentsgalaxy.com/)
If i click quick refresh button it refreshes the posts only.not the full page.
Ex : i repled to this thread now. With out rerfresh the page u just click quick refrsh button to view new replies.If u do it for me i will be very thanq full to u .
Thanks in advance .
Caligatio
10-14-2007, 11:27 AM
Hm, I find that very rude, but *shrugs*.
Just wanted to point out that not only does it not include the BBcode as mentioned before, it doesn't include smilies either. And even though you updated, the posbit_legacy still doesn't have that template_hook (frankly it would be quite odd for a template to have a hook, but maybe 3.6.8 is odd like that).
And also, it would be best if you made the instructions and the text for clicking to get quoted in quick reply in English, or at least offer the same thing in English for those who are not so familiar with modifications and how they work, or German.
ragtek
10-14-2007, 11:32 AM
ups f**k sorry,
it seems that i have uploaded the german version
ok with the hooks you have right
that's why i wrote add in postbit/postbit_legacy template....where you like
and because of bbcode & smilies: i wrote in post nr 35 (https://vborg.vbsupport.ru/showpost.php?p=1358837&postcount=35) that that can't work with my method, sorry
hfr-Neil
03-14-2008, 10:20 AM
thanks for the good mods :up:
Work fine in vb 3.7 ;)
Megareus Rex
03-31-2008, 05:56 AM
Problems:
1: Clicking the "quote selected text" link causes it to register that post itself for "quick reply quote." We have the "quote message in reply" box checked by default, so the end result is the entire post is quoted as well.
2: It can only quote one post at a time, rendering it rather useless...
I'd use it if the following improvements were made (especially if they were added as options in the admin CP!):
1: Doesn't actually mark the quoted post as "being replied to," thus leaving the normal quick reply button for that task.
2: Allowing quoting of multiple posts.
3: Don't have it automatically take you to the quick reply box when you hit the "quote selected text" link (this may be a side effect of #1 though).
Right now, this:
https://vborg.vbsupport.ru/showthread.php?t=149441
is MUCH more what I'm looking for (especially with the posted modification to tie the quoting selected text to the QR button), but the only thing holding me back from it is that the QR button no longer works normally.
Back in 3.0, there was a hack like this that, if there was selected text, pressing the QR button quoted it. If none was selected, it functioned like normal (flagging the message as "being replied to.")
PoetJA-1975
07-26-2008, 03:08 AM
Hey RAGTEK - Any chance for a 3.7 version of this modification?
I'm sure a few would like it,
Thanx,
Jacquii.
ragtek
07-26-2008, 05:50 AM
isn't it working?
hmm i'll take a look
ejbreeze
11-17-2008, 01:38 AM
Did a 3.7 version ever happen? Has anyone found a mod like this that will work with 3.7?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.