Release 2019.013 - HL Vanilla Community
<main> <article class="userContent"> <p><em>Release 2019.013 was first deployed to Vanilla Cloud on Monday, September 16th 2019</em></p><h2 data-id="new-subcommunity-chooser">New Subcommunity Chooser</h2><p>This release brings a brand new subcommunity chooser. This is offered alongside Vanilla's existing subcommunity chooser that many custom themes already integrate with.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/085/6D6EDAX4ZOT8.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/085/6D6EDAX4ZOT8.png" alt="image.png" height="486" width="916" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h3 data-id="features">Features</h3><ul><li>List all subcommunities sorted by language. If only 1 language is used, no language chooser will be displayed.</li><li>Easily drop into existing themes with through a Smarty tag. (automatically available in keystone).</li><li>New responsive design.</li><li>Knowledge base support.</li></ul><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/698/E2G3E1MAL7AD.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/698/E2G3E1MAL7AD.png" alt="image.png" height="682" width="746" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h3 data-id="adding-to-an-existing-theme">Adding to an Existing Theme</h3><p><em>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.</em></p><p>This new module can be easily added to an existing theme through a new Smarty tag <code class="code codeInline" spellcheck="false" tabindex="0">{community_chooser}</code>. Usage in some custom themes may require additional custom theming work.</p><p><strong>Options</strong></p><ul><li><code class="code codeInline" spellcheck="false" tabindex="0">buttonType</code> - Choose the style of the button that triggers the dropdown/modal. Supported values include <code class="code codeInline" spellcheck="false" tabindex="0">primary</code>, <code class="code codeInline" spellcheck="false" tabindex="0">standard</code>, <code class="code codeInline" spellcheck="false" tabindex="0">titleBarLink</code>, and <code class="code codeInline" spellcheck="false" tabindex="0">reset</code>.</li><li><code class="code codeInline" spellcheck="false" tabindex="0">buttonClass</code> - Provide a custom CSS class to apply to the button the that triggers the dropdown/modal. This is best used with the <code class="code codeInline" spellcheck="false" tabindex="0">reset</code> buttonType.</li><li><code class="code codeInline" spellcheck="false" tabindex="0">fullWidth</code> - Set this option to <code class="code codeInline" spellcheck="false" tabindex="0">true</code> to make the button take up the full width of whatever it's placed in.</li></ul><h2 data-id="keystone-theming-enhancements">Keystone Theming Enhancements</h2><p>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.</p><p>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.</p><p>More information and documentation on the new theming system will be provided with a future release.</p><h2 data-id="updated-dashboard-ui">Updated Dashboard UI</h2><p>Various improvements have been made to the dashboard interface:</p><ul><li>Added new Edit & Delete icons.</li><li>Updated button and form styles to align better with Knowledge Base & Keystone.</li></ul><h2 data-id="subcommunity-apiv2-endpoints">Subcommunity APIv2 endpoints</h2><p>The first 2 subcommunities APIv2 endpoints have been created.</p><ul><li><code class="code codeInline" spellcheck="false" tabindex="0">GET /api/v2/subcommunities</code> - Get a list of all subcommunities.</li><li><code class="code codeInline" spellcheck="false" tabindex="0">GET /api/v2/subcommunties/:id</code> - Get information about a single subcommunity.</li></ul><h2 data-id="vanillicon-changes-incoming">Vanillicon Changes Incoming</h2><p>Changes to your Vanillicon are here. You'll see a new avatar after this update. To find out more, checkout <a href="https://success.vanillaforums.com/kb/articles/114-why-vanillicon-avatars-changed" rel="nofollow noreferrer ugc">"Why Vanillicon Avatars Changed"</a> on what is changing and why.</p><h2 data-id="bug-fixes">Bug Fixes</h2><ul><li>Fix bug that could cause links in the Knowledge Base mebox not to go anywhere.</li><li>Fix emoji suggestions not displaying. <a href="https://github.com/vanilla/vanilla/pull/9250" rel="nofollow noreferrer ugc">vanilla#9250</a></li><li>Fix inability to report posts with Reporting2 plugin.<a href="https://github.com/vanilla/internal/pull/1961" rel="nofollow noreferrer ugc"> internal#1961</a></li><li>Fix setting a default email address when Plugins.VanillaPop.AugmentFrom is not set. <a href="https://github.com/vanilla/internal/pull/1967" rel="nofollow noreferrer ugc">Internal #1967</a></li><li>Update Vanillicon email hashes. <a href="https://github.com/vanilla/vanilla/pull/9244" rel="nofollow noreferrer ugc">#9244 </a></li><li>Update Twitter addon to use platform's share links. <a href="https://github.com/vanilla/vanilla-patches/pull/619" rel="nofollow noreferrer ugc">#619</a></li><li>Fix dashboard category name rendering. <a href="https://github.com/vanilla/vanilla-patches/pull/620" rel="nofollow noreferrer ugc">#620</a></li></ul><h2 data-id="developer-notes">Developer Notes</h2><ul><li>Addons may now define PHP files in arbitrary namespaces in any subdirectory of the addon. Previously this was only possible with the <code class="code codeInline" spellcheck="false" tabindex="0">Controllers</code>, <code class="code codeInline" spellcheck="false" tabindex="0">Models</code>, and <code class="code codeInline" spellcheck="false" tabindex="0">library</code> directories. <a href="https://github.com/vanilla/vanilla/pull/9209" rel="nofollow noreferrer ugc">vanilla#9209</a></li><li>Logging of PHP warnings has been disabled again. After fixing a few common cases, this may be re-enabled in a future release.</li><li>Improve URL handling in API v2 /media/scrape endpoint. <a href="https://github.com/vanilla/vanilla/pull/9277" rel="nofollow noreferrer ugc">vanilla#9277</a></li></ul><p><br></p> </article> </main>