The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Quick quote change

Go down

Quick quote change  Empty Quick quote change

Post by Guest Sat 10 Dec - 20:49

Hello,

I would like a modification of the quick quote script (from this tutorial) so that if nothing is selected, the quote button works exactly as usual (i.e: quoting all the text and going to full reply), and if any text is selected, it quotes the selection to quick reply.

I am aware I could achieve this by having two different buttons for quote and quick-quote, but I'd prefer it to be as I've explained to make it simpler, especially for new users who might not get what the different buttons are for.

Could anyone help me with this, please?
avatar
Guest
Guest


Back to top Go down

Quick quote change  Empty Re: Quick quote change

Post by Guest Sun 11 Dec - 3:10

Just so you know, I tried to get a answer and did not get one as of yet.

If you use the quick quote to quote whole posts you can run into trouble. Quoting a quote does not work and breaks the quotings code, so that needs to be fixed too then.
avatar
Guest
Guest


Back to top Go down

Quick quote change  Empty Re: Quick quote change

Post by LGforum Tue 13 Dec - 14:20

Hi, this might be to your liking: http://avacweb.forumotion.co.uk/t2579-ajax-quote-in-quick-reply

That tutorial will mean that your quote button uses the quick reply to either quote a full post, or as you say if the user has selected text, quote the selected text.

Hope that helps!
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Quick quote change  Empty Re: Quick quote change

Post by Guest Tue 13 Dec - 14:43

Hello @LGforum , thank you for the suggestion, but this does not add the username and(/or) tagging.
If that is something they wish to have.


Last edited by Meesleepbeest on Wed 14 Dec - 17:48; edited 1 time in total
avatar
Guest
Guest


Back to top Go down

Quick quote change  Empty Re: Quick quote change

Post by Guest Wed 14 Dec - 13:58

Thank you both for answering. Smile

Mmm, I have WYSIWYG mode on by default, does that mean your solution wouldn't work for me, @LGForum?
avatar
Guest
Guest


Back to top Go down

Quick quote change  Empty Re: Quick quote change

Post by Guest Mon 19 Dec - 17:31

So I tried and it worked even in WYSIWYG mode, it's a shame that usernames are not showing as @Meesleepbeest pointed out.
avatar
Guest
Guest


Back to top Go down

Quick quote change  Empty Re: Quick quote change

Post by Guest Sat 24 Dec - 15:23

UP
avatar
Guest
Guest


Back to top Go down

Quick quote change  Empty Re: Quick quote change

Post by Guest Sat 31 Dec - 4:39

UP
avatar
Guest
Guest


Back to top Go down

Quick quote change  Empty Re: Quick quote change

Post by Guest Wed 4 Jan - 22:25

BUMP
avatar
Guest
Guest


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum