Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.
/ direct-links Public archive

Adds direct links to various Flarum actions

License

Notifications You must be signed in to change notification settings

flagrow/direct-links

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Direct Links by Flagrow logo Flagrow, a project of Gravure

MIT license Latest Stable Version Total Downloads Support Us Join our Discord server

This extension adds direct links to various Flarum actions:

  • /login will redirect to homepage and open the Log In modal
  • /signup will redirect to homepage and open the Sign Up modal
  • /composer will redirect to homepage and open the new discussion composer box

Additionally, you can pass ?title=, ?content= and ?tag=slug parameters to /composer to define the default values in the editor. Useful for share features or bookmarklets.

If you hit /composer while logged out, you will be prompted for login. If the user does anything else than log in (close the modal or register) it's possible the values in the url get lost. The user will have to load the original /composer url again to get those values back.

Installation

Use Bazaar or install manually:

composer require flagrow/direct-links

Updating

composer update flagrow/direct-links
php flarum migrate
php flarum cache:clear

Support our work

Check out how to support Flagrow extensions at flagrow.io/support-us.

Security

If you discover a security vulnerability within Direct Links, please send an email to the Gravure team at security@gravure.io. All security vulnerabilities will be promptly addressed.

Please include as many details as possible. You can use php flarum info to get the PHP, Flarum and extension versions installed.

Links

An extension by Flagrow, a project of Gravure.

About

Adds direct links to various Flarum actions

Resources

License

Stars

Watchers

Forks

Packages

No packages published