• SupportSolved
  • How to Open Private Message Modal via URL in Flarum (fof/byobu)?

I'm working on my project, which consists of:

  • Home app - custom app (www.project.com)
  • Academy - Flarum app (www.project.com/academy)

I've implemented SSO between these two apps.

I've installed the fof/byobu extension to allow users to send private messages.

My home app has a user profile page (e.g., https://www.project.com/u/profile/junaid). I want to add a "Send Message" button on this page that will:

  1. Redirect the user to Academy (https://www.project.com/academy).
  2. Automatically open the private message modal with the recipient's username pre-filled.

Any suggestions on how to implement this?

    10 days later