Watched Words to serve as shortcut command to insert links

sorry for my english, i’m using google translate

I left Wordpress, to enter Discourse and I saw a lot of evolution, I am very satisfied with Discourse. But there’s a feature that my members miss wordpress a lot
it would be great if you could create, everyone at Discourse will love it!

In wordpress, there is a very interesting plugin, this plugin works like this: You go to the text box, click on the word GIF, and it opens a menu, in this menu you insert the link of any GIF with a command that you want used to enter in the text box. For example, I save a link to a crying gif, with the command LOL3, every time I type LOL3 in the text box, the gif I saved will automatically appear, without me having to go after the link and put it in the box of text! To make it easier to find the GIFs, when you save them, a thumbnail appears (So you don’t forget which gif is from that command) I’ll leave a video for you to see better:

Nothing is stored in Discourse, it’s just a link caller with command/phrases

I saw that in Discourse there is a Watched Words option, in which I can replace one sentence with another, but this option can only be used by admins (Should be released for everyone) and when I use a command (Sentence) to replace with a link, this link is not incorporated into the text and also, the gif of the link I saved does not appear, making it difficult to find.

I can save a command (phrase) with a gif link

Would it be possible to release Watched Words for everyone? And is there a way to embed the links that people use in Watched Words and have the gifs of the saved links appear to facilitate the search?

I can save a command (phrase) with a gif link (MAs are not released to all forum users)

When the gif link is saved, a GIF thumbnail does not appear to find it later (Because in wordpress, there are people who had more than 500 gifs saved, so appearing the gif thumbnail would make the search easier)

It would be interesting if the links saved by command/phrases appeared with thumbnails to facilitate the search

When I use the command/phrase “oi” it automatically substitutes for the link I entered in Watched Words, but the link doesn’t embed the gif in the text box, it would be nice if it did

In my country gifs are very cultural, each person uses a different gif or meme, everyone has their own gif and meme folder to use! This feature makes it much easier on the forums and reduces bureaucracy for those who use cell phones, as they just need to type the command and they don’t have to look for gif links

1 Like

I don’t know if you’d is good enough ReplyGif: Adding reaction GIF easily

Hey friend, I’m glad you speak Portuguese, so I don’t need to use Google Translate and make a fool of myself here with bizarre translations lol

So, I switched from WordPress to Discourse, and it was like going from trash to treasure. However, in WordPress, there was a very interesting tool/plugin that my forum members pester me every day to put on it.

It’s nothing more than a menu that stays in the text box. When you click on this menu, you have the option to save the link of your GIFs, assigning a command to call them. For example, I put the Gretchen crying GIF and the command is gretchoro1, so every time I type gretchoro1, the GIF is added to the text box. And to see which GIF I put for each command, I just open the menu and see the GIF thumbnails.

So, they told me about this ReplyGif thing, which is similar, but I couldn’t use it.

I saw that in Discourse, there’s Watched Words. Well, I can replace a word (Example Choro2) with a GIF link, but the problem is that this GIF link doesn’t embed in the text box, and only admins can use it. Also, you can’t see the GIF thumbnails in the menu, only the GIF link.

If I wanted to do something like this, what should I study? Is it programming?

@Falco

No, it is not.

Yes. This requires a plugin of reasonable complexity.

If they really want this feature, the way to go is to create a specific https://apoia.se/ to raise money and pay someone to do it in Marketplace.

Far from being the same thing, but are you already using the theme component that allows you to search for GIFs and insert them when composing a post?

From what I understood about Pandlr’s “GIF Pocket,” it allows for a list of favorite GIFs per user, is that right?

I ask because with a solution similar to Watched Words, only admins could define automatic replacement terms, it wouldn’t be a per-user repository.

I didn’t know about this support site, I’ll see how much it costs to make one first and then I’ll go after it!

I was reading your comment and thought “my god, how well Google Translate translated this” lol
That’s right, this gifpocket is an area within the text box where you favorite your favorite gif links (appearing as thumbnails) and use them with a command, like cry1, goodbye2, laughs4, or any word you want to use!
It’s like the watched words feature that Discourse already has, where you type a word and it replaces it with another word, but in this case, you would type a word that replaces it with the gif link that embeds the gif in the post.
So, the problem with watched words is that only admins can use them, the called links don’t embed, and the gifs don’t appear in the session, only the links (making it difficult to see which gif the user saved).

so my members tried to use this Discourse Gifs, but they didn’t like it, they found it too confusing, some had trouble syncing, and they are very used to using commands, like, crazydog, catmeowing, babycrying

can you do this? how much would you charge? because I can check with my forum members to raise money for this

Even if you do something with word replacement, having a GIF selector seems like a good idea, as it’s not limited to the set defined by admins.

On BCharts, they used discourse-reactions with custom emojis to have reactions with mini-memes, but they are not animated and are quite small.

Hmmm, thinking about it, there’s a theme component that does almost what you want (considering the scope that words are defined only by admins): Auto-Linkify Words

I only changed it to create images instead of links, there isn’t even the pause/resume from Discourse Gifs, the rest of the code is absolutely identical to the original theme component, but you can install it if you want to try it out: GitHub - renato/discourse-imgify-words: theme to auto imgify urls in discourse, almost the same as discourse-linkify-works

Example with

chorolivre, https://media0.giphy.com/media/k61nOBRRBMxva/200.webp
palmas, https://media0.giphy.com/media/26gsspfbt1HfVQ9va/200.webp

in the words to imgify configuration:

Screen_Recording_2022-10-26_at_14_48_26_AdobeExpress

Note that it’s a theme component, not a plugin, so the installation should follow this guide, and also because of this, the replacement is done only in the web interface; in email or anywhere else the original word will appear.

Zero guarantee from my side, okay? It was a quick test and it’s something I might find useful in my community, but unfortunately, I can’t provide support or other customizations at the moment (for that, keep the suggestion to post in Marketplace).

1 Like

Wow, I found this very interesting and very cool, it’s a shame that only administrators can use it, I’m going to see if I can find someone who makes this usable by everyone, but this is very cool, congratulations.

Just to clarify, only administrators can set the word set to be converted automatically, but all users can use it.

yes I had seen it, a shame =(