E-mail aanpassen om externe link te openen

AI-generated summary

The discussion revolves around customizing email notifications in Discourse to redirect users to an external website instead of the default topic URL when they click the “Visit Topic” button. sdiscourse requests this change, explaining that their external site contains the same content as the Discourse topic. BhaelOchon raises concerns about user trust and potential abuse, advising against misleading links and suggesting instead to add a clearly labeled external link in the email template. sdiscourse acknowledges the concern and clarifies that the external site mirrors the topic content. The thread concludes with sdiscourse asking if the default “Visit Topic” button can be customized directly, though no technical solution is provided.

When someone replies on my post I get email notification and it has a button at the bottom “Visit Topic”.
When you click on this button it takes you to exact discourse post.

Now instead is it possible to include an external url may be www.google.com instead of exact discourse post url? so when user clicks on button “Visit Topic” it takes user to google.com

Can you explain your use case? That sounds like it could be easily abused.

1 like

The scenario is when the user receives email communication about new post and when he click on Visit Topic button I dont want the user to go to discourse to see the message that was posted.

Instead when the user click on Visit Topic button I want the user to go to my other website.

I think you need to think about this from your users’ perspective. If I were your user and clicked a link that said Visit Topic, I’d expect to be taken to the topic. If that didn’t happen, I’d think something was broken, or maybe even that I’d been phished. Perhaps you should consider modifying the email template to add a separate, additional link to your main website—one that’s clearly lableled and not likely to be seen as a trick.

1 like

Make sense.. my bad.. the other website has all posts of a topic.

1 like

Thank for your replies..
I know its the email template but is there any way to kind use the visit topic button as it is and just replace the default it has with the one I want.