[AP] Style Suite

xF2 Add-on [AP] Style Suite 2.11.9

No permission to download
  • Fix Class apathy\StyleSuite\Service\Admin\Image does not exist when deleting an asset
  • Fix Argument #1 ($color) must be type of string, array given when choosing selectable usergroup colors
  • Fix Class apathy\StyleSuite\Service\Admin\AvatarFrame does not exist during a fresh install
  • Like
Reactions: BattleKing
  • Fix Undefined array key: apSsDisableAvatarFrameStyles
2.11.7
  • Fix undefined index error during a rebuild of the asset cache
2.11.6
This update was originally planned to be a port of the jQuery code to vanilla Javascript in preparation for XF2.3, but it's been postponed until the next version to address some bug reports and perform some cleanups.
  • Improve overall abstraction
  • Improve overall reliability when upgrading from versions as old as 2.7.1
  • Fix Call to undefined method apathy\StyleSuite\Setup::hasAddonInstalled() during the upgrade process
  • Improve Siropu Chat 2 user tagging fix as it could cause the chat to stop working in certain instances
2.11.5
  • Fix custom title gradient colors not applying
  • Drop support for [tl] Social Group styling (it might return once XF 2.3 is out)
  • Remove Onboarding handlers and rely on XF User Criteria instead
  • Correct the URL used for loading Postbit preset images in the live-previews
  • Fix issue where the default Post style font size could prevent editing a user
  • Rename style property & permission IDs for consistency (all consistency cleanups are now complete)
    • You may need to reconfigure your user groups permissions for the addon post-upgrade
  • Add notice to Font asset page if fileinfo PHP extension is not enabled / soft-require fileinfo
  • Stop needlessly loading Tooltip JS if the "Disable tooltip CSS" style property is active
  • Templates are still looking for un-minified Util JS
  • Fix Cannot call method getIconUrl on a non-object (array)
  • Rename phrase IDs and option IDs for consistency
  • Set all assets to "enabled" by default during install
  • Generate animated glow stylesheets from regular style caches and deprecate glow caches
  • Fix unknown template ap_ss_profile_style.less
  • Stop filter from appearing if a postbit style exists but has no background image set
  • Fix separator not being styled by Tooltip border color
  • Fix padding of image uploader in certain instances
  • Some internal consistency cleanups
  • Convert post style font size admin options into style properties
  • Change default value of Post style font size column from 0 -> 12
  • Simplify various permission checks in the User entity
  • Fix Cannot call method hasPostStyle on a non-object (NULL) when trying to load the Post style of a deleted user
  • Delete rows from style/profile block tables when a user deletes their account
  • Improve compatibility between handling of Postbit Filter layer and XF 2.2.13
  • Fix issue where "Postbit background filter" sliders were not checking the Postbit background permission
  • Improve compatibility with [AddonFlare] XF2 Awards System
  • Stop hardcoding "border-radius" property in Avatar Frame settings preview - it should now respect the "Avatar frame type" admin option
  • Allow limiting a user groups color selection
  • Remove "Maximum postbit background height (px)" admin option - it was only enforced in CSS and was causing unintended behavior with large messages
  • Fix issue where Post style font selection stopped working
  • Add position / size / repeat options to Profile BG images
  • Fix errors related to Postbit background position
2.10.1
  • Fix Attempted to convert NULL to string/binary [icon] when uploading an username icon image
  • Drop old user style blob columns from user table
  • Rework user style ignoring to reduce query count by 1
  • Create TikTok video Profile Block
  • Allow stickying of Profile page background
  • Like
Reactions: BattleKing
  • Setup the "user style ignored" table with the correct prefix during a fresh install
2.10.0 Beta 3
  • Fix regression where Post styles failed to apply
  • Rebase User Onboarding tasks off new entities
  • Correctly check for Custom Title permissions
2.10.0 Beta 2
  • Fix gradient appearing in Postbit preview when no background is set
  • Fix strpos(): Empty needle when saving an empty Postbit Image URL
  • Verify that Inner-Text Animation input is a URL
  • Add section contexts to admin navigation
  • Hide style tabs when creating a new user
  • Fix various Attempt to read property on null errors
2.10.0 Beta 1
  • Fix Call to undefined method apathy\StyleSuite\Repository\Style::uploadPostbitImage() when running the "Convert Postbit BG URLs to locally-served images" job
  • Fix Call to undefined method apathy\StyleSuite\Repository\Style::rebuildTooltipStyles() when running the "Rebuild Tooltip Cache" job
  • Fix various TypeErrors when viewing the post of a deleted user
2.10.0 Beta
Please note, since this is a Beta version, it is recommended you run this on testing/staging sites only!
  • Fix Avatar Frame selector not defaulting to the chosen value in the UserGroup editor
  • Fix Unknown column 'bg_blur' in 'field list'
  • Add "None" Username Icon type
  • Fix Profile Image URL field not updating the preview
  • Various cleanups
    • Simplify some template macros
    • Merge various template modifications
    • Delete many unused phrases
    • Cleanup style column names: Strip style type prefixes from column names (ttl_glow -> glow)
  • Create Asset entity & rework Avatar Frame/Font/Postbit Preset/Sparkle admin controllers - these "assets" now behave in a manner much more similar to XF's Profile Banner's or avatars.
    • The "hidden" checkbox has been replaced with an "active" toggle
    • The "special" checkbox has been replaced with a much more granular "Available to the following user groups" checkbox list. Make sure to configure these for your available assets post-upgrade, or none of your members will see any of the assets in the public dropdowns!
    • Deletion of assets is far more reliable, especially in the case of stock assets provided by the addon which previously were only "soft-deleted"
    • Assets all respect a Display Order value, and can be configured to appear in the public dropdowns in whichever order you like
  • Convert remaining blob columns to entities (Custom Title, Post, Tooltip)
    • Fixes Unknown column 'ap_post_style' in 'field list'
  • Adjust length of all "background" type columns to be consistent - they should all allow 200 characters now
  • [Cleanup] Combine some template modifications and apply them to more suitable templates
  • [Fix] ap-ss-postbitFilter class doesnt always fill the entire height of the postbit
  • [Feature] Add "Postbit background blur" option
  • [Fix] Long-standing issue where you couldn't tag users in Siropu Chat 2 if they had certain username effects applied
  • [Cleanup] Add a "Profile block settings" link to the visitor menu
  • [Fix] Addon-provided assets no longer soft-delete correctly
  • [Cleanup] Ignore a users avatar frame if the visitor has ignored that users style
  • [Fix] Profile button color does not update the preview, but the post-save preview works
  • [Cleanup] Migrate inline CSS out of profile preview template and into preview stylesheet
  • [Fix] Postbit background positions, size & repeat do not reflect in the post-save preview
  • [Fix] Certain images can get resized with odd dimensions
  • [Cleanup] Uploaders should have the current image filename as its value
  • [Fix] Uploaded username icon does not appear in post-save preview
  • [Cleanup] Create .less template for handling postbit classes instead of dumping them into the template modification - postbit CSS classes can now be modified without needing to enable development mode
  • [Feature] Create style properties for CSS box colors
  • [Feature] Replace Postbit background position radiorow with sliders
  • [Cleanup] Rebase Postbit URL background conversion job off Postbit entity
  • [Feature] Create style properties for filter slider colors
  • [Cleanup] Perform various validation checks with admin asset uploaders
  • Like
Reactions: chuongit
  • [Cleanup] Use traits for the public controller settings
  • [Cleanup] Create macros for certain style settings (colors, glows, bold/italic/underline)
  • [Cleanup] Massively reduce JS & template code required for the previews to work
  • [Cleanup] Use traits for templater functions
  • [Cleanup/Fix] Revert to old postbit injection method - postbit container is now limited to the width of the user info block, rather than the entirety of the message container
    • Use backdrop-filter() instead of filter() now that it's enabled by default in Firefox
    • [Fix] postbit text color not fully applying in conversations
    • [Fix] Text-shadow postbit option should ignore user banners
    • Should help with images being stretched / misaligned, but not solve it entirely
  • [Fix] Sites CSS can break if a gradient color type was chosen but no colors were inputted
  • [Fix] Glows default to "None" when the user has actually chosen "weak"
  • [Cleanup] Create macro for admin font/sparkle/preset/frame controllers
  • [Cleanup] Set fixed sizes for items in sparkle & postbit preset controllers
  • [Cleanup] Create uploadUsernameIconImage() and uploadUsernameIconImage() instead of duplicating code between public & admin controllers
  • [Fix] "index.html" can appear in frame/sparkle/font/preset dropdowns
  • [Fix] Column "ap_frame" does not have a default value when trying to register an account
  • [Cleanup] Replace blank space item in frame/sparkle/font/preset dropdowns with "None" to be more intuitive
  • [Fix] Sparkles are not defaulting to selected choice in custom title controller
2.9.4

Changelog​

  • Fix "Please enter a valid ID" message when editing a profile block
  • Fix avatar frame list not appearing in the dropdown of the admin user editor
  • Create sizemaps for postbit & username icon upload services
  • Create disable Custom Post Style checkbox (currently ignores default bbcode option until a future update)
  • Hide tabs in admin user editor if relevant style option is disabled
  • Clean up apPostbits registry column during uninstall
  • Fix Call to member function isUpdate() in certain conditions
  • Create style property for handling width of sparkles ("auto"/"max-content")

Known issues​

  • Certain images are resized oddly when using ImageMagick and (possibly) certain versions of PHP
  • Incompatibility with Username styles and Chat 2's tagging feature
  • Incompatibility between "background-image" effects like Inner-Text animations, gradient colors
  • Like
Reactions: BattleKing
Top