• A valid XenForo Licence validation token will be required to complete signup and purchasing.
    This may retrieve this from the XenForo Customer Area.
  • All XenForo 2.3+ add-ons require at least php 8.0, recommend php 8.2+
    All XenForo 2.2+ add-ons require at least php 7.2, recommend php 8.x
    All XenForo 2.0-2.1 add-ons require at least php 5.6, recommend php 7.x.
    The Standard Library add-on is also required.
    Older php versions are not supported, and add-ons will either refuse to install or fail to function.
  • Automatic discounts are applied for orders above $100 USD (10%) or for early renewals (5%)

Standard Library 1.13.0

Change log

  • Add is_toggle_set template function and toggle-storage-ex backend for the XF toggle JS.
    The stock is_toggled does not allow setting the default value, while is_toggle_set does.
  • 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
Back
Top