Extensions:Forums

From Lorekeeper Wiki
Jump to navigation Jump to search
Forums
Description Forums for your Lorekeeper site.
Author(s) Preimpression
Status Testing
Github extension/forums
LK Version 2.0.0
Contains a Migration



This extension is NOT currently compatible with develop (lorekeeper v. 3.0.0).

Forums for your site, utilizing the Comments extension by Uri and Newt.

This extension is still in testing and may have bugs. Strongly advise to test on local first.


Installation

  • Pull the branch and merge it into your main branch
  • Run php artisan migrate
  • Run php artisan update-extension-tracker


Configuration

Permissions may be set at the forum level and may overflow to the grandchild level - but to be safe, you should set permissions per forum.

Example of forum.
Example of forum.

Usage

Create Forums in the Admin Panel.

Users' post page from their profile will be visible to logged in users but not guests, due to the permission-checking code.

Forums with no parent forum will be considered Categories and will not show the form to create threads, nor will any threads created in them be visible without the url or in the widget.

Optional: Include this widget in any page (homepage suggested) to include the most recent 5 posts:

@include('widgets._recent_forum_posts')

Note: Deleting a comment that has had direct replies to it will transfer "parentage" of the comment to the the comment's parent. To hinder this, consider adjusting the delete Gate or wrap the delete button in an If statement to check if the user is staff.

Note: Deleting a thread will delete comments within it.

Troubleshooting

Permissions are a bit janky. If anyone has any suggestions, please let me know.


Planned

  •  ??? - Test and perhaps revise permissions.

See Also

Discord: Uri#2154