# ReplyGif

**URL:** https://meta.discourse.org/t/replygif/33195
**Category:** Plugin
**Tags:** broken
**Created:** [September 13, 2015, 10:50pm UTC](https://meta.discourse.org/t/replygif/33195 "2015-09-13T22:50:58Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [September 13, 2015, 10:50pm UTC](https://meta.discourse.org/t/replygif/33195/1 "2015-09-13T22:50:58Z")

</div>

I have rewritten the [ReplyGIF plugin](https://github.com/ligthyear/discourse-plugin-replygif) by @lightyear so it works with the latest version of Discourse

 ![](https://global.discourse-cdn.com/meta/original/3X/f/f/ff83bc7c6c2f0dd525053b123d06da898fb976fe.png)

With this rewrite there were a few changes, all gifs are paused automatically and can be clicked to start the animation and you can select multiple animations to insert into your post (so long as they are part of the same category/tags).

The GitHub Repo is located at  
[https://github.com/cpradio/discourse-plugin-replygif](https://github.com/cpradio/discourse-plugin-replygif)

I’ve also built in features for future proofing. API Key (in case ReplyGIF starts to monitor their API Keys), and the ReplyGIF URL so you could put it behind a proxy for HTTPS support.

Enjoy!

**Edit:** This is a new repo. It is no longer a fork as the changes were severe and likely wouldn’t merge well.

---

<div class="post-metadata">

### Author: ![charleswalter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/charleswalter/32/116433_2.png) [@charleswalter](https://meta.discourse.org/u/charleswalter)
#### Post date: [September 14, 2015, 12:21am UTC](https://meta.discourse.org/t/replygif/33195/2 "2015-09-14T00:21:26Z")

</div>

This sounds awesome! Have you enabled this at sitepoint? Where can we see this in action?

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [September 14, 2015, 12:41am UTC](https://meta.discourse.org/t/replygif/33195/3 "2015-09-14T00:41:51Z")

</div>

Sitepoint isn’t on latest. I can setup my VM again if you really want to see it live. The gif at the repo is taken using my VM.

---

<div class="post-metadata">

### Author: ![Basanoviat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/basanoviat/32/116720_2.png) [@Basanoviat](https://meta.discourse.org/u/Basanoviat)
#### Post date: [September 18, 2015, 8:43pm UTC](https://meta.discourse.org/t/replygif/33195/4 "2015-09-18T20:43:24Z")

</div>

This is amazing thank you so much @cpradio!!!

I have been looking forward to this for a long time. I know some other people showed interest as well like @h1onE and @mbs

---

<div class="post-metadata">

### Author: ![Pablo\_Macaluso](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pablo_macaluso/32/107601_2.png) [@Pablo\_Macaluso](https://meta.discourse.org/u/Pablo_Macaluso)
#### Post date: [September 18, 2015, 11:11pm UTC](https://meta.discourse.org/t/replygif/33195/5 "2015-09-18T23:11:06Z")

</div>

Amazing, can tell me how install this? Step by step! 🙂

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [September 18, 2015, 11:17pm UTC](https://meta.discourse.org/t/replygif/33195/6 "2015-09-18T23:17:59Z")

</div>

Just follow the following Howto and use `https://github.com/cpradio/discourse-plugin-replygif.git` as repository url:

> [@Install plugins on a self-hosted site](https://meta.discourse.org/t/install-a-plugin/19157):
>
> warning This guide assumes that you have a self-hosted standard installation. We only support the standard method of install here, so these instructions assume you have a [standard install](https://meta.discourse.org/t/142537?silent=true). warning This guide only applies to self-hosted Discourse instances. If you are using a managed hosting service, the available plugins are controlled by your hosting provider. For example, on our hosting [these specific plugins](https://www.discourse.org/plugins) are available by hosting tier. information_source As of mid-2025, [many p…](https://meta.discourse.org/t/373574)

---

<div class="post-metadata">

### Author: ![ruffi0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ruffi0/32/122059_2.png) [@ruffi0](https://meta.discourse.org/u/ruffi0)
#### Post date: [December 31, 2015, 11:14am UTC](https://meta.discourse.org/t/replygif/33195/7 "2015-12-31T11:14:38Z")

</div>

Awesome plugin. Works great on my install. Well… Maybe too great.

Would be cool to have out of the box a limiter. So we can set a limit on how many gifs can be used in one post. So users can’t reply to a thread with 5000 gifs. (which i did in testing lol)

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [December 31, 2015, 12:09pm UTC](https://meta.discourse.org/t/replygif/33195/8 "2015-12-31T12:09:36Z")

</div>

You have to uncheck the other .gif that you have selected before posting.  
But I agree with you. The better solution is that @cpradio add an option in admin panel to set a limit per post (and topic too).

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [December 31, 2015, 12:56pm UTC](https://meta.discourse.org/t/replygif/33195/9 "2015-12-31T12:56:35Z")

</div>

Okay, so I’m not against such an idea, but realize there will be limitations that are beyond my control. I can limit how many you select in the Modal (fairly certain), but I since I’m not tying into the composer, I couldn’t stop someone from opening the model twice to get 10 images (when the limit is 5).

The larger issue I think is Discourse currently has no way to limit the number of images beyond TL 1. It may be worthwhile to see that as a feature versus making that specific to this plugin. As one could simply reference 5000 gifs outside of my plugin and still cause the same pain.

@sam, @zogstrip, what do you think of such a feature? If it is something we could have, maybe 0 (off by default), it might be something I look at contributing and it would only apply to TL1 and higher (staff would be exempt).

---

<div class="post-metadata">

### Author: ![ruffi0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ruffi0/32/122059_2.png) [@ruffi0](https://meta.discourse.org/u/ruffi0)
#### Post date: [January 21, 2016, 7:42pm UTC](https://meta.discourse.org/t/replygif/33195/10 "2016-01-21T19:42:57Z")

</div>

Just to jump in here @cpradio I think to add a feature like this to a community. That there would instantly be some abuse. I would feel terrible for my moderators to have to constantly clean up offending posts or to not use the plugin at all. Which would be shame as it makes the user easily be able to express themselves.

Any the case, I appreciate the effort thus far!

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [January 21, 2016, 7:47pm UTC](https://meta.discourse.org/t/replygif/33195/11 "2016-01-21T19:47:38Z")

</div>

> [@ruffi0](#):
>
> Just to jump in here @cpradio I think to add a feature like this to a community. That there would instantly be some abuse. I would feel terrible for my moderators to have to constantly clean up offending posts or to not use the plugin at all.

But that can be done without the plugin too. The point is, the abuse vector exists regardless of the plugin. The plugin simply makes it a tad bit easier. I’m more than willing to look at creating a site setting in core to limit the number of images that can be embeded in a given post, but I don’t think it should be this plugin’s responsibility, it should be within core.

---

<div class="post-metadata">

### Author: ![ruffi0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ruffi0/32/122059_2.png) [@ruffi0](https://meta.discourse.org/u/ruffi0)
#### Post date: [January 21, 2016, 7:50pm UTC](https://meta.discourse.org/t/replygif/33195/12 "2016-01-21T19:50:57Z")

</div>

I’m sorry I had no idea that the core was lacking such a thing. A simple bot could be made to insert a infinite amount then.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [October 27, 2016, 10:22pm UTC](https://meta.discourse.org/t/replygif/33195/13 "2016-10-27T22:22:23Z")

</div>

Okay recent changes in Discourse have removed `string-buffer` and the use of `rawTemplate`, so to support non-updated versions, there is a tag v0.5.0 that will let you keep operating.

`git clone --branch v0.5.0 https://github.com/cpradio/discourse-plugin-replygif.git`

For those that have upgraded, v1.0.0 is compatible with latest.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [November 25, 2016, 3:51pm UTC](https://meta.discourse.org/t/replygif/33195/14 "2016-11-25T15:51:40Z")

</div>

With the Ember 2.4 upgrade now merged in, there is a release branch to use for older versions of Discourse

`git clone --branch v1.0.0 https://github.com/cpradio/discourse-plugin-replygif.git`

---

<div class="post-metadata">

### Author: ![dani14\_96](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dani14_96/32/121285_2.png) [@dani14\_96](https://meta.discourse.org/u/dani14_96)
#### Post date: [January 4, 2017, 10:58am UTC](https://meta.discourse.org/t/replygif/33195/15 "2017-01-04T10:58:09Z")

</div>

Whenever you write a post and insert a gif, you get a notification indicating that “system” user has edited the post. When you look up to the revision history there is a previous revision without the gif. How can this be avoided?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [January 4, 2017, 2:17pm UTC](https://meta.discourse.org/t/replygif/33195/16 "2017-01-04T14:17:52Z")

</div>

> [@dani14\_96](#):
>
> Whenever you write a post and insert a gif, you get a notification indicating that “system” user has edited the post. When you look up to the revision history there is a previous revision without the gif. How can this be avoided?

Enable the setting `disable edit notifications`.

---

<div class="post-metadata">

### Author: ![Nigel\_Tatschner](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nigel_tatschner/32/68423_2.png) [@Nigel\_Tatschner](https://meta.discourse.org/u/Nigel_Tatschner)
#### Post date: [June 16, 2017, 1:04pm UTC](https://meta.discourse.org/t/replygif/33195/17 "2017-06-16T13:04:20Z")

</div>

This is no longer functioning, any suggestions as to what I could do to fix it?

It just brings up a loading message for the drop down and selections objects.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [June 16, 2017, 1:09pm UTC](https://meta.discourse.org/t/replygif/33195/18 "2017-06-16T13:09:02Z")

</div>

What version of Discourse? I’m currently upgrading my sandbox and test there, but it worked on the 1.9.0, so maybe something just recent changed?

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [June 16, 2017, 1:51pm UTC](https://meta.discourse.org/t/replygif/33195/19 "2017-06-16T13:51:21Z")

</div>

@Nigel_Tatschner, no repro.  
[https://sandbox.cpradio.org/t/moving-to-a-new-topic/400/2?u=cpradio](https://sandbox.cpradio.org/t/moving-to-a-new-topic/400/2?u=cpradio)

Can you provide me with more details? What version of Discourse you are on and the line you have in your app.yml to install the plugin?

---

<div class="post-metadata">

### Author: ![Nigel\_Tatschner](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nigel_tatschner/32/68423_2.png) [@Nigel\_Tatschner](https://meta.discourse.org/u/Nigel_Tatschner)
#### Post date: [June 16, 2017, 2:47pm UTC](https://meta.discourse.org/t/replygif/33195/20 "2017-06-16T14:47:55Z")

</div>

> [@cpradio](#):
>
> @Nigel_Tatschner, no repro.  
> [https://sandbox.cpradio.org/t/moving-to-a-new-topic/400/2?u=cpradio](https://sandbox.cpradio.org/t/moving-to-a-new-topic/400/2?u=cpradio)
> 
> Can you provide me with more details? What version of Discourse you are on and the line you have in your app.yml to install the plugin?

I’m on 1.9.0beta2 +73

[Next page](https://meta.discourse.org/t/replygif/33195.md?page=2)
