[L5] v2.2.0
Note: this is a port of features from [L4] 1.1.0. Some of the changes in this release will break your views if you've customised any of them already - if this is the case, just overwrite your current views with the new ones and re-apply your customisations. Please open an issue if you encounter any other problems after upgrading.
This release adds read/unread/updated thread tracking, as well as numerous other minor fixes and improvements (with lots of input and feedback from @nicksnape).
Upgrade steps
- Run
php artisan vendor:publishand run your migrations again to add the newforum_threads_readtable.- (Optional) Refer to the updated views in the package for additions/changes related to read, unread and updated thread statuses. You may wish to copy any new view changes to your app's versions of the views.
- (Optional) Refer to the new
forum.preferences.thread.cutoff_ageconfig parameter. You may wish to copy this to your app's version of the forum.preferences config file and tweak it to your liking.This feature adds a new route relative to your forum root called
new, which will show slightly different content to logged in users versus guest users:
- If logged in, it lists all threads that are completely new/unread or replied to since last read within the time period specified by
forum.preferences.thread.cutoff_age.- If not logged in, it lists all threads that were created/replied to within the time period specified by
forum.preferences.thread.cutoff_age.