OnceWas
(Christopher Heald)
November 4, 2015, 6:38pm
1
Thanks to Vairix , we have developed a plugin that triggers a private message from an outside URL.
After installing this plugin, if you append ?pm=true
to a Discourse user’s profile URL, it will trigger the private message composer with a message addressed to that user.
https://bitbucket.org/twobyfore/discourse-pmlink
8 Likes
sam
(Sam Saffron)
November 4, 2015, 8:13pm
2
Pretty sure we are comfortable having this kind of feature in core @techAPJ already built it for standard topics
7 Likes
techAPJ
(Arpit Jalan)
November 24, 2015, 2:02pm
6
This feature is now available in core Discourse:
Discourse now supports composing a new (pre-filled) personal message via URL!
To compose a new pre-filled message, modify URL params like this:
https://discourse.example.com/new-message?username=techapj&title=message%20title&body=message%20body
This will open a composer window pre-filled with username, title and body.
Breaking down the link / URL to show the available options, we have:
the base URL / link: https://discourse.example.com/new-message
the ? URL operator to add the dif…
8 Likes