Extensions:Dev Logs
Revision as of 05:03, 30 October 2022 by AnimatedCritter (talk | contribs)
Description | Add a dev logs section |
---|---|
Author(s) | AnimatedCritter |
Status | stable |
Github | extension/dev-logs |
LK Version | 2.0.0 |
Contains a Migration | |
This extension adds an additional news section for development logs! The setup is very similar to that of the Lorekeeper's pre-existing news section, but users can enable/disable dev log notifications.
Installation
Pull and merge the branch, making sure to address any merge issues.
Afterwards, run the following commands in your console:
php artisan migrate
php artisan update-extension-tracker
Configuration
This extension adds a 503 error blade. You can edit it in resources/views/errors/503.blade.php
.
- Please notice that (unless allowed in
app/Http/Middleware/CheckForMaintenanceMode.php
) the only route/url that works is .../logs
Troubleshooting
If you are having any other issues (or have suggestions to improve this extension) you can find me over on the Lorekeeper Discord server (AnimatedCritter#7094)!
Potential Issues & Solutions:
Users cannot view their dev log preferences in account settings
navbar_news_notif
must be enabled to view this setting, as dev-logs' notifications work the same as news posts'.- To allow users to access this, despite no navbar notifications being shown, delete
@if(Config::get('lorekeeper.extensions.navbar_news_notif'))
from line 55@endif
from line 70