Directing users to send a PM

Hi,

I’m using Discourse SSO (and a tiny bit of Discourse API) in order to have members of my community site use the forum. Instead of adding private messaging to my community site, I would like to direct people to send private messages through the forum. Given that I am displaying a user in some context and that I know his Discourse user name, how can I add a “Message user” button? This should be a URL that pops open that user’s forum profile along with a new draft addressed to that user. Or just the message draft without forum profile.

Thank you!

Judith

2 Likes

You can create a URL that will open the Discourse composer with a prefilled PM to a specific user. There are details about that here: Compose a new pre-filled personal message via URL.

8 Likes

Amazing! Thank you so much!

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.