Quick Quote Theme Component

here is the code for it

2 Likes

But surely that’s true for every post, not just the first one?

I really am not convinced quoting the very last post, wherever you are in the Topic, makes that much sense in any case? I would definitely set quick quote post location threshold to at least 1 as 0 is definitely wasteful of space.

1 Like

so good!!!

2 Likes

Looks like this component isn’t working as of the latest Discourse update. I had to disable it this morning on one of my instances because all my reply buttons stopped working (core was updated last night). @merefield

2 Likes

Just as an addition

3 Likes

As a free addon this is on my radar but not my first priority.

I will take a look soon.

2 Likes

This should be fixed. Let me know if you have any further issues:

@Festinger @JammyDodger

6 Likes

Thanks for the quick fix Robert :slight_smile:

2 Likes

hmmm I think this component functionality might have broken in a recent update. :thinking:

@pfaffman added this (but didn’t want to add his own post?): Reply Quotes No Longer Appearing Automatically

2 Likes

I can PR, if you want @merefield.

4 Likes

Lovely, thank you!

3 Likes

Here:

Also, it is worth noting that it fixes an issue with replacing links.
The regex was too greedy and would delete any text between two links.

6 Likes

responded.

3 Likes

Great piece of work, thanks @Arkshine, merged! :rocket:

5 Likes

you guys are awesome. thanks Robert and Arkshine for the quick fix :rocket: :star_struck:

6 Likes

I’m guessing I’m doing something silly, but I am not seeing this plugin listed as available in <mysite>/admin/plugins after installing it.

I have added the git repo to my app.yml and rebuilt the app. I also entered the app (launcher enter app) and verified in /var/www/discourse/plugins directory that the discourse-quick-quote folder is there.

Any ideas?

Build: 3.5.0.beta8-dev (64b738bc0a)
Plugin Repo added to app.yml: https://github.com/merefield/discourse-quick-quote.git

Yes. This is a theme component, not a plugin. So you install it as explained in the topic linked in the first post (Installing a theme or theme component), and you can find it at Admin > Customize > Themes & Components.

2 Likes

Thank you again, Moin! You are awesome :slightly_smiling_face:

2 Likes