- Add controller plugin 'SV\StandardLib\ControllerPlugin\Delete' a plugin helper for implementing soft/hard/undeleting of content
- Update bundled moment.js library
- php 8.2 compatibility update
- If using the Svg Template addon, update to SVG Template 2.4.5 or rendering SVGs to PNGs will stop working
- Add a work-around for horribly not recommended add-on updating process.
- Deleting an addon's files while the add-on is active will very likely break your site.
- Add
is_toggle_settemplate function andtoggle-storage-exbackend for the XF toggle JS.
The stockis_toggleddoes not allow setting the default value, whileis_toggle_setdoes.- Example of a default collapsed node-list:
PHP:<xf:js src="sv/lib/storage.js" addon="SV/StandardLib" min="1" /> <xf:set var="$isActive" value="{{ is_toggle_set($forum.node_id, false, 'node-toggle') ? ' is-active' : '' }}"/> <div class="block block--collapsible-child-nodes"> <div class="block-container"> <h3 class="block-minorHeader collapseTrigger collapseTrigger--block {$isActive} " data-target=".block--collapsible-child-nodes .block-body" data-xf-click="toggle" data-xf-init="toggle-storage-ex" data-storage-type="cookie" data-storage-container="node-toggle" data-storage-key="{$forum.node_id}" data-default-value="0" >{{ phrase('sub_forums') }}</h3> <div class="block-body toggleTarget {$isActive}"> ... </div
- Avoid duplicate some join expressions multiple times when using optimized list query add-on
- XF2.2.10 compat fix for "view template modifications" link not rendering
- Move quick_filter template/js which dynamically updates body/pagenav in an overlay from SV/WhoReplied into SV/StandardLib
- See Who Replied v2.2.0+ or User Mention Improvements v2.8.0+ for examples of usage
- Fix type-error when a collection is passed to the
removeValuetemplater filter function
- Remove outdated comment in
EarlyJoinFinderTrait- Add
isPermissionInUseinstall helper- Add
SV\StandardLib\Behavior\Cacheablebehavior, to help automate callingrebuildCache(or a defined function) on a repository which matches the entity's name- Use
templater_setupcode event to inject various filters/functions into multiple templater types.
- Adds the extendable class
SV\StandardLib\TemplaterHelperto help add filters/functions to templates without manualy extending every templater type- Add new template filters/functions
parse_less_funcabsarray_diffsv_array_reverse=>array_reverse- Backport
phrase_dynamicfunction to XF2.1
- Fix for using SqlJoinTrait and EarlyJoinFinderTrait together
- Resolves compatibility issue when using
Bump ThreadandOptimized List Queriesadd-ons together
We use essential cookies to make this site work, and optional cookies to enhance your experience.