fof / direct-links
Adds some direct links and composer auto-fill capabilities.
                                    Fund package maintenance!
                                                                            
                                                                                                                                        Website
                                                                                    
                                                                
Installs: 7 178
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Language:JavaScript
Type:flarum-extension
pkg:composer/fof/direct-links
This package is auto-updated.
Last update: 2025-10-04 11:10:05 UTC
README
This extension adds direct links to various Flarum actions:
- /loginwill redirect to homepage and open the Log In modal
- /signupwill redirect to homepage and open the Sign Up modal
- /forgotwill redirect to homepage and open the Forgot Password modal
- /composerwill redirect to the all discussions page and open the new discussion composer box
Additionally, only for the composer, you may append ?title=, ?content= and/or ?primary_tag=slug parameters to /composer to define the default values in the editor. This is useful for share features or bookmarklets.
Sample url with auto-fill parameters:
/composer?title=test&primary_tag=general&content=this is some content
Installation
composer require fof/direct-links:"*"
Updating
composer update fof/direct-links php flarum cache:clear
Removing
composer remove fof/direct-links
Links
Credits
Original author(s): Clark Winkelmann, Zerosonefun