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:
- Redirect the user to Academy (https://www.project.com/academy).
- Automatically open the private message modal with the recipient's username pre-filled.
Any suggestions on how to implement this?