And use the url of example.com/new-message?username=<TOPIC_USERNAME>&title=Re:<TOPIC_TITLE>
However, when user click on the button, it jump to the front page immediately, before the Message editor show up. It doesn’t act the same as the “Message” button in user card. If you click on the “Message” button in user card, it show up the message editor immediate without jumping to other page.
Do you think it is possible to make the custom button (new-message url) act the same as the Message button in user card ?
Do you think I can add {{#if this.user.can_send_private_message_to_user}}
to “pm-topic-author.hbs” , so that the button won’t show up if the user is the same as the OP ?
However, it seem after updated, the plugin cause some error for non-login user. When non-login user visit the page, it get a blank post. It only show the title, category, tag, but everything below is empty .