Release 2019.013 was first deployed to Vanilla Cloud on Monday, September 16th 2019
New Subcommunity Chooser
This release brings a brand new subcommunity chooser. This is offered alongside Vanilla's existing subcommunity chooser that many custom themes already integrate with.
Features
- List all subcommunities sorted by language. If only 1 language is used, no language chooser will be displayed.
- Easily drop into existing themes with through a Smarty tag. (automatically available in keystone).
- New responsive design.
- Knowledge base support.
Adding to an Existing Theme
Using Keystone? The new subcommunity chooser will automatically be displayed if subcommunities is enabled. If you are using the Customize Theme plugin, you may need to update your view template to include the new smarty tag.
This new module can be easily added to an existing theme through a new Smarty tag {community_chooser}
. Usage in some custom themes may require additional custom theming work.
Options
buttonType
- Choose the style of the button that triggers the dropdown/modal. Supported values include primary
, standard
, titleBarLink
, and reset
.buttonClass
- Provide a custom CSS class to apply to the button the that triggers the dropdown/modal. This is best used with the reset
buttonType.fullWidth
- Set this option to true
to make the button take up the full width of whatever it's placed in.
Keystone Theming Enhancements
Vanilla has theming system in the works. It's already in use for various new components like Rich Editor, Knowledge Base, and the new Subcommunity Chooser.
Starting in this release Keystone and its 6 theme options now have provide data to the new theming system, improving compatibility with these new components.
More information and documentation on the new theming system will be provided with a future release.
Updated Dashboard UI
Various improvements have been made to the dashboard interface:
- Added new Edit & Delete icons.
- Updated button and form styles to align better with Knowledge Base & Keystone.
Subcommunity APIv2 endpoints
The first 2 subcommunities APIv2 endpoints have been created.
GET /api/v2/subcommunities
- Get a list of all subcommunities.GET /api/v2/subcommunties/:id
- Get information about a single subcommunity.
Vanillicon Changes Incoming
Changes to your Vanillicon are here. You'll see a new avatar after this update. To find out more, checkout "Why Vanillicon Avatars Changed" on what is changing and why.
Bug Fixes
- Fix bug that could cause links in the Knowledge Base mebox not to go anywhere.
- Fix emoji suggestions not displaying. vanilla#9250
- Fix inability to report posts with Reporting2 plugin. internal#1961
- Fix setting a default email address when Plugins.VanillaPop.AugmentFrom is not set. Internal #1967
- Update Vanillicon email hashes. #9244
- Update Twitter addon to use platform's share links. #619
- Fix dashboard category name rendering. #620
Developer Notes
- Addons may now define PHP files in arbitrary namespaces in any subdirectory of the addon. Previously this was only possible with the
Controllers
, Models
, and library
directories. vanilla#9209 - Logging of PHP warnings has been disabled again. After fixing a few common cases, this may be re-enabled in a future release.
- Improve URL handling in API v2 /media/scrape endpoint. vanilla#9277