denharsh
(Harsh Agrawal)
August 5, 2017, 10:15am
1
Hey Guys
Do you know any solution for Discourse forum Auto linker.
For example:
If in the backend I assign that when ever ShoutMeLoud is mentioned, it should auto link to https://ShoutMeLoud.com
Is there any solution out there??
Thanks in anticipation!
pfaffman
(Jay Pfaffman)
August 5, 2017, 11:28am
2
It would take a fairly simple plugin.
2 Likes
elijah
(Eli the Bearded)
August 5, 2017, 7:43pm
3
Almost seems like it should be part of the new automatic actions thing:
New for 1.9 is the ability to take some actions based on watched words found in a post.
Block the post at the time it is submitted. User sees a message saying they’ve used a word that’s not allowed.
Flag the post as inappropriate, but allow it to be submitted.
Censor the words, which replaces the censored_words site setting being removed by this feature.
Require Approval of the post, hiding it until staff reviews it.
add a Link to a word
Replace words in posts with other words
Tag the po…
(But it is not, at least yet.)
1 Like
denharsh
(Harsh Agrawal)
August 5, 2017, 7:54pm
4
Do you know anyone who can code this?
tophee
(Christoph)
August 5, 2017, 8:00pm
5
I am not a developer but it seems to me that even I might be able to do this by building on existing plugins that do some sort of replacement, like the doi-resolver plugin, the two abbreviations plugins or the amazon affiliate plugin. (Before you ask: no, I won’t to it)
pfaffman
(Jay Pfaffman)
August 5, 2017, 8:32pm
6
You can ask for help in #marketplace
2 Likes
I was looking for the same thing, found this post first, and then found the solution elsewhere. Thought I should link it here for others:
What this does?
Allows you to automatically hyperlink certain words or patterns in your post with desired destination URL.
How to configure?
After importing the theme component, configure the theme settings with the format
WORD, https://destination.url.com
or using regular expressions (in JavaScript implementation ) with the format
/regex/, https://destination.url.com
One item per line
[theme_settings]
Using regular expressions
With regular expressions, you can match a certain pattern …
3 Likes
pfaffman
(Jay Pfaffman)
January 10, 2019, 3:21pm
8
3 Likes