[DD] Core

[DD] Core 1.6.3

No permission to download
New Update also here. Keep an eye on Dice & Dragons to be always up to date.

The Changelogs of the previos version. Update Core first, before you update any other of my AddOns.

Update Core without Updating any related AddOn is possible, no breaking changes known.

Changes in [DD] - Core Library 1.6.3​

Added​

  • SetupTrait Schema & Lifecycle Helpers: Expanded cv6\Core\Setup\SetupTrait with reusable, idempotent helper methods for add-on installation, upgrade, and uninstallation routines across all cv6 extensions.

Changes in [DD] - Core Library 1.6.2​

Added​

  • Centralized Comparison Operators Subsystem: Centralized all comparison operator phrases, symbols, and helpers across cv6 add-ons into cv6/Core to ensure uniform terminology, concise phrases, and cross-addon compatibility.
  • Standardized Operator Phrases: Added concise mathematical symbols (=, !=, >, >=, <, <=) and uppercase keywords (BETWEEN, NOT BETWEEN, IN, NOT IN, CONTAINS, NOT CONTAINS, EMPTY, NOT EMPTY, STARTS WITH, ENDS WITH) in both English (language_id = 0) and German (language_id = 6).
  • PHP Helper (\cv6\Core\Helper\Operator): Provides typed constants (OP_EQUALS, OP_CONTAINS, etc.), category groupings (GROUP_MATH, GROUP_LOGIC), and retrieval/filter methods (getMathematicalOperators(), getLogicalOperators(), getAllOperators(), getGroupedOperators(), getOperators()).
  • Template Functions & AdminCP Macros: Registered {{ cv6_operators() }} and {{ cv6_grouped_operators() }} in XenForo Templater, and added operator_select / operator_select_row macros in cv6_admin_macros.html supporting optgroup groupings and filtering.

Changes in [DD] - Core Library 1.6.0​

Added​

  • Multi-Provider Icon System: Built a modular, provider-based icon subsystem (cv6\Core\Icon\Provider\IconProviderInterface, AbstractIconProvider, FontAwesomeProvider) allowing any custom or third-party icon set (such as Google Material Symbols, Game Icons, or Font Awesome 6/7) to integrate seamlessly into XenForo 2.3. See Icon Interface Downloads here: https://forum.dice-dragons.de/downloads/gallery/icon-interfaces.61/
  • Icon Provider Code Event (cv6_icon_provider): Official code event allowing external add-ons to register custom icon providers without core file modifications.
  • Provider Management Repository & Options: Added cv6\Core\Repository\IconProvider to resolve and cache active providers. Added cv6AllowedIconProviders AdminCP option to enable/disable specific icon providers.
  • Rendering & Fallback Protection: Extended XF\IconRenderer to dynamically delegate rendering to active providers based on prefixes and classes. Features an automatic fallback placeholder with informative tooltips when an icon belongs to an inactive or uninstalled provider to prevent layout breakage.
  • Runtime CSS Mask Generation: Extended XF\CssRenderer to intercept @<prefix>-var-<name> variables in LESS stylesheets and dynamically generate standard data:image/svg+xml;utf8,... CSS masks with fill="black" for non-FA icons used in .m-faIcon() masks.
  • 4-Step Icon Migration Wizard (admin.php?cv6-core/migrate): Comprehensive ACP migration tool to convert existing icons between any two registered providers across Database (options, standard XF tables, and custom tables), Style Properties (@...-var-... variables), Phrases (<xf:fa> tags), and automated cache rebuilds, including an interactive modal override option (cv6-core/migrate-change).
  • Multi-Provider Icon Input & Live Autocomplete: Enhanced cv6_fa_icon::cv6_inputIcon macro and cv6/core/icon.js to support provider switching, style dropdowns, and live SVG autocomplete previews via Ajax.
  • Developer Documentation: Added _docs/icon_providers.md documenting architecture, registration, and implementation guidelines for custom icon providers.

Changed​

  • Option Validation: Updated cv6\Core\Option\Check to dynamically validate icon format and modifier classes against all active providers and styles instead of strictly Font Awesome.
  • Phrase Translation Clean Title: Streamlined title display in Phrase::actionTranslate() to avoid redundant parenthesized titles.

Changes in [DD] - Core Library 1.5.2​

Added​

  • Asset Upload Default Parameter & Reset Subsystem: Enhanced the cv6_assetupload::cv6_assetuploadrow macro with an optional arg-default="" parameter. When non-empty, an integrated compact Reset button (fa-undo) is rendered alongside the file upload button to restore the default image path and update the preview image in a single click.
  • Option Template Default Propagation: Updated cv6_options_template_asset.html to forward arg-default="{$option.default_value}", automatically equipping any ACP option using this template with the reset button if a default value is defined.

Changelog - [DD] Core Library v1.5.0​

Added​

  • Multi-Alphabet Index Provider Repository (cv6\Core\Repository\Alphabet): Extensible repository providing multi-script alphabet index management. Out of the box supports 5 scripts: Latin (latin), Greek (greek with Tonos normalization), Cyrillic (cyrillic with Slavic/regional variant mappings and composite OR-LIKE filtering), Hebrew (hebrew with Nikkud stripping, Sofit final-form mapping, and RTL layout), and Arabic (arabic with Tashkil stripping, letter variant normalization, Eastern/Persian digit support, and RTL layout).
  • Code Event (cv6_core_index_alphabets): Official code event allowing third-party add-ons to easily register or override alphabet providers without touching core files.
  • Inline Phrase Quick-Edit: Added an inline translation modal (fa-language button) to AdminCP text inputs (<xf:textbox>, <xf:textarea>) with phrase="..." or cv6-phrase="...". Allows administrators with language permission to translate dynamic content phrases across all installed languages directly from the edit view without leaving the form.
  • RTL Support for Letter Index: Updated cv6_letterindex.html template and IndexTrait to automatically detect RTL providers ($provider->isRtl()) and apply dir="rtl" to the letter bar.
  • Developer Documentation: Added comprehensive guides (_docs/custom_alphabet.md, custom_alphabet.de.md, and BBCode versions) detailing how to build and register custom alphabet providers.

Changed​

  • IndexTrait Modernization: Updated IndexTrait.php to fetch providers directly from the Alphabet repository ($this->repository(Alphabet::class)->getProvider(...)), use multibyte-safe string manipulation (mb_strtoupper, mb_substr), and prepare for PHP 8.4 compatibility.
Release 1.4.3 (ID 1040370)
  • Template Modernization: Refactored admin templates (cv6_assetupload.html, cv6_fa_icon.html, cv6_style_fa_icon.html) to use native <xf:js> tags resolving directly from the add-on resources.
  • Setup Sync Helper: Added a new helper method syncGroupPhrases to SetupTrait.php to simplify and automate phrase synchronization from group tables during installations or upgrades.
Changelog Overview



Version 1.4.2 (ID 1040270)
  • Format Class Option Validation: Option verifiers in cv6\Core\Option\Check now validate additional CSS classes against the permitted options configured in the cv6Core group (cv6CoreFaStyle, cv6CoreFaRotation, cv6CoreFaAnimation). Clear error messages are thrown if disallowed classes are detected.
  • Filtered Autocomplete Suggestions: cv6\Core\Helper\Icon::searchIcons() now filters icon suggestions based on the allowed styles defined in the settings. For instance, if the Brand style (fab) is disabled, brand icons will no longer appear in suggestions.



Version 1.4.1 (ID 1040170)
  • Automatic Brand Variant Activation: Selecting a brand icon (e.g., fa-facebook, fa-github) automatically switches the layout dropdown to the Brand style (fab).
  • Style Restoration (Memory Function): The previously active non-brand style (fas, fal, far) is remembered and automatically restored when selecting the next non-brand icon.



Version 1.4.0 (ID 1040070)
  • FontAwesome Icon Auto-Completion: Introduced interactive component XF.cv6IconAutoComplete (triggers starting at fa- + 2 characters) featuring SVG mask previews inheriting the current text color (currentColor) and smooth XF.Animate transitions.
  • Icon Helper Service: Added cv6\Core\Helper\Icon service for indexing and registry caching (cv6IconList).
  • Public & Admin Controllers: Added auto-complete controllers hosted on the cv6-core route.
  • Option Verifier: Updated verifyValidIconMandatory and verifyValidIconOptional methods to leverage native XF\Repository\IconRepository constants.
  • Options Integration: Added support for autocomplete=1 inside edit_format_params for ACP options.
  • Some new phrases a little bug fixed whith indexes
  • new Minor Version for all upcoming releases
  • copyright handler
  • renaming from [cv6] to [DD]
Update Core before you update any other of my addons.

Always make a backup before you update!

This Updates are big, please test them upfront in a local copy and then follow the following steps:

  1. Deactivate yout forum in the Settins.
  2. Update Core AddOn
  3. Update any other AddOn
  4. Check if all runs as expected
  5. if Yes, turn on Forum again.

If you encouter Issues, please contact me here or in my forum. In my Forum I am daily and may respond faster.
  • Like
Reactions: Ivan_Sp and dutchbb
Small bug fixes
additional new phrases

You only need to update, if a depending AddOn requires this.
My Core AddOn now as first with 2.3 compatibility, and requires also XF 2.3

Don't update until all my AddOns that you use, have the XF 2.3 compatible version.

Replaces XF Core FontAwesome Input fields with my Preview Version.
Now includes
  • Messages Template for Admin
  • Like
Reactions: La Licorne
Some more shared functions added to the core. (indexale trait and template macros).

No need to upgrade, if no AddOn requires the upgrade of the core. The next upcoming index will need this version.
Back
Top Bottom