This addon allows users to customize the appearance of the username, custom title, profile, and postbit, by adding 4 new pages to the Account Details section. It also expands upon Account Details by adding a new drop-down field that allows users to add a frame to their avatar.
As of v1.5.0 , the addon also extends [tl] Social Groups , and allows groups owners to theme their groups however they choose!
As of v1.9.2 , the addon adds additional tasks to the [NF] User Onboarding addon!
The abilities are all controllable with permissions so you can restrict certain user(groups) from accessing the functionality - ideal for user upgrades etc.
Compatible themes (refer to the Wiki on how to apply them)
Version 1.9.4:
Create admin options for controller username image icon size
Replace username image icon URL text field with a file uploader (users will have to replace their linked image icons)
Use listeners for adding columns to UserProfile and UserGroup entities instead of class extensions
Add preview of fonts in the Admin controller
Version 2.4.0:
Optimize method for checking if the visitor is ignoring a users styles
Fix
Use ternary operator for determining
Stop using template filters to clean up asset names since they can be renamed now
Always use
Use PHP to handle profile styles instead of requiring different templates for different themes
Version 2.9.6:
As of v1.5.0 , the addon also extends [tl] Social Groups , and allows groups owners to theme their groups however they choose!
As of v1.9.2 , the addon adds additional tasks to the [NF] User Onboarding addon!
The abilities are all controllable with permissions so you can restrict certain user(groups) from accessing the functionality - ideal for user upgrades etc.
Compatible themes (refer to the Wiki on how to apply them)
- CSCN Anniversary
- FlatTheme - PigmentGreen
- IPBee
- Mocah
- MX Dark
- Pach
- Pro Black
- PurpleFreak
- Royal
- Shades of Blue
- Shades of Grey
- StyleFactory Rain ( Additional instructions )
- ThemeHouse iO / iO Dark (Profile styles)
- ThemeHouse UI.X 2
- Xenforo default
Version 1.9.1:
Stop using Regex to determine font-awesome icons in Templater
Image icon is not pre-loaded in the preview
Overwrite existing <style> tag for animated glow previews instead of creating new ones for each input
Removewidth: max-content;
from sparkle CSS
Redirect to the last used tab pane after saving in the Style controller
Improve general profile styling slightly
Fix broken phrase in group controller: "ap_change_pr_css"
Fix broken phrase in admin profile controller: "ap_ss_pr_css"
Remove deleted phrase " ap_un_icon_clr_explain " from admin username controller
Use and loadtimes Version 1.9.2: Use to search for fonts, sparkles & frames instead of $_SERVER['DOCUMENT_ROOT'] Remove some useless declarations in the Styles repository Create user criteria for Tooltip settings Fix missing user criteria phrases Create tasks to be used with [NF] User Onboarding Fix Undefined Index error when trying to delete avatar frames from the admin panel Migrate avatar frame dropdown out of Account Details and into the Style Settings controller Version 1.9.3: Remove redundant str_replace in findFrames() and findSparkles() Remove useless admin option explanations Ensure each controller is reading from the correct source Remove ap_frame_dir admin option - now all frames MUST be stored in /data/apathy/StyleSuite/frames Profile styles: Stop brightening links on hover Fix Profile styles: Hovering over an avatar makes the frame disappear (all supported themes affected - grab your template from the Wiki) Remove duplicated UserOnboarding tasks Correctly determine path to /data folder if Xenforo is installed in a sub-folder
Code:You must log in to view (2 lines)
Version 1.9.4:
Create admin options for controller username image icon size
Replace username image icon URL text field with a file uploader (users will have to replace their linked image icons)
Use listeners for adding columns to UserProfile and UserGroup entities instead of class extensions
Add preview of fonts in the Admin controller
Version 1.9.3:
Remove redundant str_replace in findFrames() and findSparkles()
Remove useless admin option explanations
Ensure each controller is reading from the correct source
Remove ap_frame_dir admin option - now all frames MUST be stored in /data/apathy/StyleSuite/frames
Profile styles: Stop brightening links on hover
Fix Profile styles: Hovering over an avatar makes the frame disappear (all supported themes affected - grab your template from the Wiki)
Remove duplicated UserOnboarding tasks
Correctly determine path to /data folder if Xenforo is installed in a sub-folder
Version 1.9.4:
Create admin options for controller username image icon size
Replace username image icon URL text field with a file uploader (users will have to replace their linked image icons)
Use listeners for adding columns to UserProfile and UserGroup entities instead of class extensions
Add preview of fonts in the Admin controller
Version 1.9.5:
Trigger rebuilding of caches post upgrade - this will help admins who haven't upgraded in a while.
use hasAdminPermission to check for permissions in admin controllers
Create admin options "Max postbit background height/width"
Resize uploaded username icon images if necessary
Create jobs for rebuilding caches
Support ThemeHouse UI.X 2 (Follow the steps on the Wiki!)
Create job to convert linked postbit background images into locally-served images
Create admin option "Allow linking of postbit backgrounds"
Create uploader for Postbit backgrounds
Move "pointer-events:none" into frame CSS
Remove "position: absolute" from frame img tag
Fix admin usergroup controller still reading from filelist instead of cache
Fix admin user controller is still reading from filelist instead of cache
Simplify frame HTML output
Fix unknown column "ap_group_style" if TL Social groups is installed after Style Suite
Version 2.0.0:
Begin work on "Postbit presets" (still WIP and wont be worth using until the next update)
Fix post-install/post-upgrade cache rebuild job
Extend user entity & create functions for permission checking
Allow positioning of username icon
Create style properties for disabling CSS of unused sections
Remove data registry columns on uninstall
Rework avatar frame code to simply inject class names rather than HTML
Optimize handling of username classes slightly
Rework tooltip styles to work much more consistently
Version 2.0.1 (HOTFIX): Fix
Version 2.1.0:
Create Postbit presets dropdown and admin panel page - only 3 to choose from for now, more will be added in the future
Delete old & unused admin template "ap_ss_avatar_frame_ad.less"
Don't show a tab if the relevant section is disabled
Fix "undefined index: special"
Fix broken avatar frame preview
Remove Onboarding Tasks since User Onboarding 2.0 supports Xenforo criteria
ACTUALLY unset registry entries during uninstall
Fix typo in uninstaller: "ap_frame_style" -> "ap_frame"
Version 2.1.1:
Fall back to "repeat" background-repeat option if user neglected to specify an option
Fix FontAwesome Icon JS not loading in certain instances
Fix postbit preset admin controller uploader
Fix username preview not reflecting changes to icon position
Version 2.1.2:
Create "Disable user styles" user preference for accessibility (Account -> Preferences -> "Disable user styles")
Undefined variable $postbitCachein Pub/Controller/Styles
Improve postbit logic if "Allow linking URL images for Postbits" is set
Version 2.1.3:
(Hopefully) fix
Validate glow CSS during save process
Validate colors during save process
Fix an issue where a users tooltip style would still apply after they had their permission revoked
Fix typo in custom title permission check
Migrate some checks into User entity to help simplify condition checks in templates
Fix postbits not respecting a users "Disable user styles" preference
Version 2.1.4:
Create macros for style setting templates to ensure Public & Admin controllers stay in sync
Rebase postbit settings admin controller
Create template helper for handling postbits
Auto-select "no-repeat" postbit option in templates
Remove old postbit gradient strength admin options
Create style properties for handling postbit gradients
Version 2.2.0 :
Create Custom Title/Tooltip/Username style cache rebuild jobs
Remove old Font/Frame/Sparkle cache rebuild jobs (since we added buttons to their admin controllers)
Use
Validate Postbit Image and Profile Header URLs
Proxy postbit URL images
Convert "Animated Flames" frame to WebP so it works correctly
Temporary workaround: Hide "delete" buttons from addon-shipped assets to prevent file health checks. The delete buttons will still work for assets you upload yourself.
Add "Rebuild caches" button to each admin controller
Create avatar frame setting macro
Check the visitors properties for "Disable postbit" value instead of the post author
Improve reliability of "Disable postbit" options preview
Fix postbit styles no longer applying to conversations
Fix postbit presets not saving correctly in the admin controller
Add ability to control
Verify colors / css during admin controller save processes
Add "Hidden/Special" options to postbit presets
Version 2.2.1:
Improve compatibility between inner-text animations and sparkles (custom titles can still show invisible text in when both effects are used together, but usernames should be fine)
Sticky style previews
Create "Sticky previews" style property
Create "Sticky preview offset" style property - useful if your theme has a sticky navbar and the preview is fighting for the same space as it
Fix template error in User Group editor
Don't proxy images if the URL is from the same server
Allow ignoring of a specific users styles without disabling styles for all users
Rebuild user group frame cache and not just user frame cache when clicking the "Rebuild frame cache " button
Fix Call to undefined method apathy\StyleSuite\Repository\Styles::service()
Version 2.3.0:
Small code cleanups for consistency
Officially support PHP 8.1
Remove deprecated
Assign class names to username icons so they can be styled with CSS (
Allow renaming of Avatar Frames , Fonts, Postbit Presets, and Sparkles
Remove redundant str_replace in findFrames() and findSparkles()
Remove useless admin option explanations
Ensure each controller is reading from the correct source
Remove ap_frame_dir admin option - now all frames MUST be stored in /data/apathy/StyleSuite/frames
Profile styles: Stop brightening links on hover
Fix Profile styles: Hovering over an avatar makes the frame disappear (all supported themes affected - grab your template from the Wiki)
Remove duplicated UserOnboarding tasks
Correctly determine path to /data folder if Xenforo is installed in a sub-folder
Version 1.9.4:
Create admin options for controller username image icon size
Replace username image icon URL text field with a file uploader (users will have to replace their linked image icons)
Use listeners for adding columns to UserProfile and UserGroup entities instead of class extensions
Add preview of fonts in the Admin controller
Version 1.9.5:
Trigger rebuilding of caches post upgrade - this will help admins who haven't upgraded in a while.
use hasAdminPermission to check for permissions in admin controllers
Create admin options "Max postbit background height/width"
Resize uploaded username icon images if necessary
Create jobs for rebuilding caches
Support ThemeHouse UI.X 2 (Follow the steps on the Wiki!)
Create job to convert linked postbit background images into locally-served images
Create admin option "Allow linking of postbit backgrounds"
Create uploader for Postbit backgrounds
Move "pointer-events:none" into frame CSS
Remove "position: absolute" from frame img tag
Fix admin usergroup controller still reading from filelist instead of cache
Fix admin user controller is still reading from filelist instead of cache
Simplify frame HTML output
Fix unknown column "ap_group_style" if TL Social groups is installed after Style Suite
Version 2.0.0:
Begin work on "Postbit presets" (still WIP and wont be worth using until the next update)
Fix post-install/post-upgrade cache rebuild job
Extend user entity & create functions for permission checking
Allow positioning of username icon
Create style properties for disabling CSS of unused sections
Remove data registry columns on uninstall
Rework avatar frame code to simply inject class names rather than HTML
Optimize handling of username classes slightly
Rework tooltip styles to work much more consistently
Version 2.0.1 (HOTFIX): Fix
Job apathy\StyleSuite:FontCache: [E_WARNING] Invalid argument supplied for foreach()
Version 2.1.0:
Create Postbit presets dropdown and admin panel page - only 3 to choose from for now, more will be added in the future
Delete old & unused admin template "ap_ss_avatar_frame_ad.less"
Don't show a tab if the relevant section is disabled
Fix "undefined index: special"
Fix broken avatar frame preview
Remove Onboarding Tasks since User Onboarding 2.0 supports Xenforo criteria
ACTUALLY unset registry entries during uninstall
Fix typo in uninstaller: "ap_frame_style" -> "ap_frame"
Version 2.1.1:
Fall back to "repeat" background-repeat option if user neglected to specify an option
Fix FontAwesome Icon JS not loading in certain instances
Fix postbit preset admin controller uploader
Fix username preview not reflecting changes to icon position
Version 2.1.2:
Create "Disable user styles" user preference for accessibility (Account -> Preferences -> "Disable user styles")
Undefined variable $postbitCachein Pub/Controller/Styles
Improve postbit logic if "Allow linking URL images for Postbits" is set
Version 2.1.3:
(Hopefully) fix
fopen(1.jpeg): failed to open stream: No such file or directory
Validate glow CSS during save process
Validate colors during save process
Fix an issue where a users tooltip style would still apply after they had their permission revoked
Fix typo in custom title permission check
Migrate some checks into User entity to help simplify condition checks in templates
Fix postbits not respecting a users "Disable user styles" preference
Version 2.1.4:
Create macros for style setting templates to ensure Public & Admin controllers stay in sync
Rebase postbit settings admin controller
Create template helper for handling postbits
Auto-select "no-repeat" postbit option in templates
Remove old postbit gradient strength admin options
Create style properties for handling postbit gradients
Version 2.2.0 :
Create Custom Title/Tooltip/Username style cache rebuild jobs
Remove old Font/Frame/Sparkle cache rebuild jobs (since we added buttons to their admin controllers)
Use
strtr()
instead of str_replace()
in various instancesValidate Postbit Image and Profile Header URLs
Proxy postbit URL images
Convert "Animated Flames" frame to WebP so it works correctly
Temporary workaround: Hide "delete" buttons from addon-shipped assets to prevent file health checks. The delete buttons will still work for assets you upload yourself.
Add "Rebuild caches" button to each admin controller
Create avatar frame setting macro
Check the visitors properties for "Disable postbit" value instead of the post author
Improve reliability of "Disable postbit" options preview
Fix postbit styles no longer applying to conversations
Fix postbit presets not saving correctly in the admin controller
Add ability to control
background-size
& background-position
CSSVerify colors / css during admin controller save processes
Add "Hidden/Special" options to postbit presets
Version 2.2.1:
Improve compatibility between inner-text animations and sparkles (custom titles can still show invisible text in when both effects are used together, but usernames should be fine)
Sticky style previews
Create "Sticky previews" style property
Create "Sticky preview offset" style property - useful if your theme has a sticky navbar and the preview is fighting for the same space as it
Fix template error in User Group editor
Don't proxy images if the URL is from the same server
Allow ignoring of a specific users styles without disabling styles for all users
Rebuild user group frame cache and not just user frame cache when clicking the "Rebuild frame cache " button
Fix Call to undefined method apathy\StyleSuite\Repository\Styles::service()
Version 2.3.0:
Small code cleanups for consistency
Officially support PHP 8.1
Remove deprecated
UserProfile
class extensionAssign class names to username icons so they can be styled with CSS (
ap_ss_username_styles.less
)Allow renaming of Avatar Frames , Fonts, Postbit Presets, and Sparkles
Optimize method for checking if the visitor is ignoring a users styles
Fix
Uncaught Syntax Error: missing : after property id
javascript errorUse ternary operator for determining
checked="checked"
values in templatesStop using template filters to clean up asset names since they can be renamed now
Always use
xf:select
and xf:option
instead of generic HTML in templatesUse PHP to handle profile styles instead of requiring different templates for different themes
Version 2.9.6:
- [Cleanup] Combine some template modifications and apply them to more suitable templates
- [Fix]
ap-ss-postbitFilter
class doesn't 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
Attachments