-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update for beta 11 and move to FoF namespace
- Loading branch information
1 parent
0ab1128
commit 2a04f81
Showing
14 changed files
with
4,849 additions
and
4,147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
js/node_modules | ||
vendor/ | ||
composer.lock | ||
package-lock.json | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
# Custom HTML Error Pages by  [Flagrow](https://discuss.flarum.org/d/1832-flagrow-extension-developer-group), a project of [Gravure](https://gravure.io/) | ||
# Custom HTML Error Pages by FriendsOfFlarum | ||
|
||
[](https://github.com/flagrow/html-errors/blob/master/LICENSE.md) [](https://packagist.org/packages/flagrow/html-errors) [](https://packagist.org/packages/flagrow/html-errors) [](https://www.patreon.com/flagrow) [](https://flagrow.io/join-discord) | ||
|
||
 [](https://packagist.org/packages/fof/html-errors) [](https://opencollective.com/fof/donate) | ||
|
||
This extension allows you to customize the Flarum error pages. | ||
By default these pages have very boring HTML content with no styling and no link in beta7. | ||
By default these pages have only limited styling in Flarum. | ||
Now you can change them to something that better reflects your website! | ||
|
||
## Installation | ||
|
||
Use [Bazaar](https://discuss.flarum.org/d/5151-flagrow-bazaar-the-extension-marketplace) or install manually: | ||
Use Bazaar or install it with Composer: | ||
|
||
```bash | ||
composer require flagrow/html-errors | ||
``` | ||
composer require fof/html-errors | ||
``` | ||
|
||
## Updating | ||
|
||
```bash | ||
composer update flagrow/html-errors | ||
php flarum migrate | ||
php flarum cache:clear | ||
``` | ||
composer update fof/html-errors | ||
``` | ||
|
||
## Configuration | ||
|
@@ -30,24 +29,16 @@ Leaving a field empty will show the default Flarum error page. | |
The custom error pages are only applied when browsing the forum front-end. | ||
Any error response under /api or /admin is unaffected. | ||
|
||
You can handle additional error codes by entering the values manually in the `settings` table of the database. | ||
|
||
## Support our work | ||
The custom error pages are not shown when debug mode is on. | ||
|
||
We prefer to keep our work available to everyone. | ||
In order to do so we rely on voluntary contributions on [Patreon](https://www.patreon.com/flagrow). | ||
|
||
## Security | ||
|
||
If you discover a security vulnerability within Custom HTML Error Pages, please send an email to the Gravure team at [email protected]. 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. | ||
You can handle additional error codes by entering the values manually in the `settings` table of the database. | ||
|
||
## Links | ||
|
||
- [Flarum Discuss post](https://discuss.flarum.org/d/10784-custom-html-error-pages) | ||
- [Source code on GitHub](https://github.com/flagrow/html-errors) | ||
- [Report an issue](https://github.com/flagrow/html-errors/issues) | ||
- [Download via Packagist](https://packagist.org/packages/flagrow/html-errors) | ||
[](https://opencollective.com/fof/donate) | ||
|
||
- [Flarum Discuss post](https://discuss.flarum.org/d/10784) | ||
- [Packagist](https://packagist.org/packages/fof/html-errors) | ||
- [GitHub](https://github.com/FriendsOfFlarum/html-errors) | ||
|
||
An extension by [Flagrow](https://flagrow.io/), a project of [Gravure](https://gravure.io/). | ||
An extension by [FriendsOfFlarum](https://github.com/FriendsOfFlarum). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.