Discourse Gifs

Thanks @Falco , is it possible to hide the gif button while previewing the message?


1 Like

I’m not that familiar with theme components, is it possible to enable this on only one category?

We have a random / off topic / fun category where this would be a brilliant addition, but if I add it to all categories then all hell will let loose :rofl:


You could try with css but since the composer stays open when we navigate on the forum, I’m not sure it would work 100%

It would be something like this

:not(.category-your_category_id) .d-icon-discourse-gifs-gif-icon {
    display: none

Good idea. Added it in last version, please update!


This is awesome! Nice job, just got this added to my forum!


6 posts were merged into an existing topic: Gifs Icon not displaying

Hey @Falco

is there any way to limit it to users with a specific trust level?


Limit the button in the composer visibility to some trust levels? Not at the moment but it should be a relatively simple change if you want to work on it.


Would it be too difficult to support Tenor for the gif format as default, and optionally Giphy for webp?

Love this TC, but want to avoid Facebook as much as possible. :frowning:


Limiting per trust level would be nice. Otherwise gifs only adds low level noise, but perhaps those who knows meaning of forum, aka. higher trust levels, may use gifs as should. Maybe.


If that is something you are keen working on, I’d accept it as a pull request.


23 posts were split to a new topic: Gif icon not displaying and showing error

Running into an issue with this - not sure source of problem:

No button in native app. Is there some cache that needs clearing? Some users say the button is there, others not.

1 Like

By native you mean the PWA or the DiscourseHub app from the Google Play Store?

1 Like

The play store app, afaik.

1 Like

So those users are in the ‘Desktop View’ in Discourse. They can click on the hamburguer menu and select ‘Mobile View’ in the last option there.


Hey y’all, thanks to sponsorship by @PaulinaMX :heart:, and PR review by @pmusaraj & @Falco :pray: Discourse Gifs component now has the choice of Provider between Giphy and now Tenor :tada:

There are several new settings that relate to Tenor, not least a separate API key!

As ever get that key at the official Tenor site: GIF API - Better, Faster & Free | Get Your GIFs with Tenor

NB due to the necessity to keep this compatible with existing installs, one of the settings names is slightly misleading: giphy locale is the locale used for either provider!


On the contrary, @merefield thank you very much for your help, now we are happy in my forum to be able to use Tenor gifs in a lighter format.


I was super excited to see this, as I’ve been hesitant to add Facebook gifs (giphy) into my forums, not knowing what type of tracking they can achieve…and then I looked up Tenor and realized it’s owned by Google :man_facepalming:

Regardless, I’m grateful that you all added a non-FB option. Thank you!


One of the great advantages of Tenor is that you can upload your own gifs to your channel to insert them in the forum without having a verified account such as Giphy, we now have our channel with Tenor, we upload our gifs there and insert them into our forum.

Happy So Excited GIF