The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Quick quote change

View previous topic View next topic Go down

Quick quote change

Post by Laurabcn on Sat Dec 10, 2016 7:49 pm

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
Laurabcn
New Member

Posts : 7
Reputation : 1
Language : Spanish

http://barriadasim.foroactivo.com

Back to top Go down

Re: Quick quote change

Post by Guest on Sun Dec 11, 2016 2:10 am

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.

Guest
Guest


Back to top Go down

Re: Quick quote change

Post by LGforum on Tue Dec 13, 2016 1:20 pm

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!
avatar
LGforum
Hyperactive

Male Posts : 2262
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Quick quote change

Post by Guest on Tue Dec 13, 2016 1:43 pm

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 Dec 14, 2016 4:48 pm; edited 1 time in total

Guest
Guest


Back to top Go down

Re: Quick quote change

Post by Laurabcn on Wed Dec 14, 2016 12:58 pm

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
Laurabcn
New Member

Posts : 7
Reputation : 1
Language : Spanish

http://barriadasim.foroactivo.com

Back to top Go down

Re: Quick quote change

Post by Laurabcn on Mon Dec 19, 2016 4:31 pm

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

Posts : 7
Reputation : 1
Language : Spanish

http://barriadasim.foroactivo.com

Back to top Go down

Re: Quick quote change

Post by Laurabcn on Sat Dec 24, 2016 2:23 pm

UP
avatar
Laurabcn
New Member

Posts : 7
Reputation : 1
Language : Spanish

http://barriadasim.foroactivo.com

Back to top Go down

Re: Quick quote change

Post by Laurabcn on Sat Dec 31, 2016 3:39 am

UP
avatar
Laurabcn
New Member

Posts : 7
Reputation : 1
Language : Spanish

http://barriadasim.foroactivo.com

Back to top Go down

Re: Quick quote change

Post by Laurabcn on Wed Jan 04, 2017 9:25 pm

BUMP
avatar
Laurabcn
New Member

Posts : 7
Reputation : 1
Language : Spanish

http://barriadasim.foroactivo.com

Back to top Go down

View previous topic View next topic Back to top


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