Bug fixes/Feature
Blog posts are now deleted when their respective blog is deleted. Since this was not being handled properly before a new feature in Tools > Rebuild caches has been created "Cleanup blog posts that were not removed on blog deletion". This will go through all blog posts in your database and if it finds one that doesn't have a blog anymore it will delete that blog post. After you run this tool it is required to run the "Rebuild user blog post count totals" cache tool as well to have proper blog post counts displayed.
Bug fix:
- Fixed bug on blog deletion, looking for entity Blogs when one doesn't exist.
Bug Fixes:
- Phrases added for hard coded strings
- Reaction list not showing list of users that reacted
- Blogs not showing up in search on creation
New Features:
Approval Queue - Both blogs and blog posts can now be required to be approved before being visible to the public, until approved they may only be visible to the blog owner and staff. There are two different ways to require blog post approval, either in the addon's settings page or as a user group permission.
Tags - Blog posts can now have tags added to them! Tags will be the main way to handle "categories" for the foreseeable future. Tagging must be enabled for your site and user group permissions must be given for users to be able to tag their blog posts.
Added new page, Your Blogs - A user can now view all of the blogs they own in order of their latest blog post date.
Bug Fixes:
Fixed a bug where a users blog count was not being handled properly on blog deletion, causing issues when a user "reached" the blog limit defined in the addon's settings.
Fixed a bug where a blog would not have its blog post count updated properly on blog post deletion.
Fixed bug where thread would not be created when a blog post was changed from draft to visible ("post now") making it so the blog post could not be viewed.
1.0.0 Gold release is here!
Changes from Release Candidate 2:
New error popup for selecting a date/time in the past when scheduling a post
Blog options and Permissions have been re-ordered to appear at the bottom of their respective pages to follow standards (no longer at the very top of each page).
This will be the last beta release for this add on as I have now implemented all MVP features that I wanted for a gold release. If any bugs are reported after this release they will be fixed in a Release Candidate, otherwise the next release will be the gold version.
New Features
Draft Posts - Blog posts can now be stored as a draft post and can be saved for until they are ready for the public to see.
Blog Limit - Admins can now set a limit to the number of blogs that can be created. Right now this is a global setting but will see changes over time to make it a on basis user group / user permission.
Minimum XF Version - The addon.json file now defines a minimum XenForo version needed for this addon, which is 2.3.
Fixed bug on install/upgrade due to accidentally naming two different table keys the same string
New Features
- Comments! - Blog Posts will now automatically create a thread that will serve as the discussion home of a blog post in any forum specified in the blogs settings.
- All previous blog posts that were created before this release will have threads created for them on upgrade, if this fails I will try to get a hotfix out as soon as possible with a tool added to run this same function from the ACP.
- For this beta release you will initially need to go into your settings and select a forum even though it looks as if one already is, this will be fixed in the next release.
- Cover Images - Blog Posts will now take the first attachment inserted into a blog post and use that as the cover image on the blog view!
- With this new feature the styling for blog posts on the blog page have been changed back to not showing bb code in their snippets to align with how XenForo handles article posts.
- Sharing! - Blog Posts can now be shared same way that regular posts can.
- Scheduled Posts
- Blog Owners now have a separate view for their scheduled posts so that they are not cluttered in with their visible posts.
- Scheduled Posts can now have their scheduled post time changed
This addon is now 2.3 compatible! The addon will remain compatible with XenForo 2.2 until the addition of JavaScript is ever required for this addon.
An abundance of styling changes have been made to bring the UI inline with XenForo standards with 98/99% of that being contributed by @Old Nick !!
New features:
Schedule Posts - Blog owners may now schedule a post to not post until a specified date and time!
Watch a Blog - Users can now watch blogs and receive alerts whenever a new blog post has been made!
Bug fixes:
Fixed a bug where anyone could make a blog post on any blog even if they did not create it.
Fixed a bug where the blog_post_count_total column would be updated on a edit to a blog post causing the number to not stay in sync with the actual amount of blog posts in a blog.
Fixed a permission bug with canEdit when for both blogs and blog posts which allowed anyone to edit a blog post.
Fixed an install bug where a column was not being created properly with the correct type.
Fixed a bug where when editing a blog instance it would just create a brand new blog with the changes and leave the original alone.
Fixed a bug where blog post owners were able to react to their own content
New Features:
- Reactions! Users can now react to blog posts (styling pending)