Directing users to send a PM


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!



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.


Amazing! Thank you so much!


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