A new version of Forum has been released, version 4.1.0. Please download the new tag or view the documentation. If you have any questions, be sure to send me an email or comment on this post. If you run into any problems, report an issue on the GitHub repository.
Version: 4.1.0
Tested On: PHP 5.4.3, CakePHP 2.3.8, Composer
Requires: PHP 5.3, CakePHP 2.3, Composer
Commit Hash: 93d289d69281e1432150fa88d34083a565b1fcab
Changes:
- Added new access setting to
ForumToolbar.verifyAccess()
- Added a new post rating feature which allows for up down scoring of posts
- Added email template support to subscriptions through Forum.settings.subscriptionTemplate
- Added custom image icon support to forums
- Refactored
Forum table so that accessRead, accessPost, accessReply, and accessPoll all point to ARO records
- Removed aro_id column from
Forum (use accessRead instead)
- Renamed certain session variables to be prefixed with Acl instead of Forum
- Replaced
ForumHelper.gravatar() with UtilityHelper.gravatar()
Developer Notes
A new post rating feature has been implemented, which allows logged in users to rate a post up or down. When posts reach a specific negative threshold, the post will be buried and the avatar and signature of the user will be removed. Five new settings have been added for ratings: enablePostRating, showRatingScore, ratingBuryThreshold, rateUpPoints, and rateDownPoints.
The other major change is the refactoring of the forums table. The old columns accessRead, accessPost, accessReply, and accessPoll were pretty much useless after the 4.0.0 migration to ACL. In 4.1.0 I changed them to point to ARO records allowing full control over who sees and does what. With this change the aro_id column has been removed, which is mimicked by accessRead anyways.
Be sure to run the upgrade script from the command line.
Console\cake Forum.upgrade