Difference between revisions of "Extensions:Dev Logs"

From Lorekeeper Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
m (Update Contact Information)
Tag: 2017 source edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Extensioninfobox|title=Dev Logs|desc=Add a dev logs section|auth=AnimatedCritter|status=stable|github={{Github|user=AnimatedCritter|branch=extension/dev-logs}}|LKVer=2.0.0|migration=yes|package=no}}
+
{{Extensioninfobox|title=Dev Logs|desc=Add a dev logs section|auth=AnimatedCritter|status=stable|github={{Github|user=AnimatedCritter|branch=extension/dev-logs}}|LKVer=2.1.0|migration=yes|package=no}}
 
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.
 
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 ==
 
== Installation ==
Line 13: Line 13:
 
* Please notice that (unless allowed in <code>app/Http/Middleware/CheckForMaintenanceMode.php</code>) the only route/url that works is .../logs
 
* Please notice that (unless allowed in <code>app/Http/Middleware/CheckForMaintenanceMode.php</code>) the only route/url that works is .../logs
 
== Troubleshooting ==
 
== 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)!
+
I am no longer on Discord. Instead, please contact me through CritterCodes (https://crittercodes.neocities.org/). Thank you!
  
 
'''Potential Issues & Solutions:'''
 
'''Potential Issues & Solutions:'''
Line 19: Line 19:
 
Users cannot view their dev log preferences in account settings
 
Users cannot view their dev log preferences in account settings
 
* <code>navbar_news_notif</code> must be enabled to view this setting, as dev-logs' notifications work the same as news posts'.
 
* <code>navbar_news_notif</code> 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
+
* To allow users to access this, despite no navbar notifications being shown, go into <code>resources\views\account\settings.blade.php</code> and delete
 
** <code>@if(Config::get('lorekeeper.extensions.navbar_news_notif'))</code> from line 55
 
** <code>@if(Config::get('lorekeeper.extensions.navbar_news_notif'))</code> from line 55
 
** <code>@endif</code> from line 70
 
** <code>@endif</code> from line 70
 
== Images ==
 
== Images ==
 
[[File:Screenshot 2022-09-29 021153.png|none|thumb]]
 
[[File:Screenshot 2022-09-29 021153.png|none|thumb]]

Latest revision as of 16:00, 28 January 2024

Dev Logs
Description Add a dev logs section
Author(s) AnimatedCritter
Status stable
Github extension/dev-logs
LK Version 2.1.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

I am no longer on Discord. Instead, please contact me through CritterCodes (https://crittercodes.neocities.org/). Thank you!

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, go into resources\views\account\settings.blade.php and delete
    • @if(Config::get('lorekeeper.extensions.navbar_news_notif')) from line 55
    • @endif from line 70

Images

Screenshot 2022-09-29 021153.png