[AP] Style Suite

[AP] Style Suite [Paid] 2.16.10

No permission to buy (€15.00)
apathy updated [AP] Style Suite with a new update entry:

2.11.11

  • Gracefully reject incorrectly formatted default bbcodes
  • Fix issue where removing permissions would only restrict the user from accessing the settings page, when it should also stop the style from applying
  • Remove "Sparkle width" style property as its no longer necessary
  • Remove "Postbit display type" style property as its no longer necessary
  • Fix Attempt to read property "post_style" on null
  • Re-enable previews

Read the rest of this update entry...
 
Still no XF2.3 compatible update, I had hoped the JS I wrote would work on 2.2 but it wont unless I place a bunch of dumb checks to see if jQuery is being used or not.

I'll just continue to support XF2.2 with bugfixes until 2.3 is out and then I'll release the other build (its still not quite done anyways)
 
Still no XF2.3 compatible update, I had hoped the JS I wrote would work on 2.2 but it wont unless I place a bunch of dumb checks to see if jQuery is being used or not.

I'll just continue to support XF2.2 with bugfixes until 2.3 is out and then I'll release the other build (its still not quite done anyways)
The new update is awesome! Previews worked perfectly, and many bugs were squashed. I'm not worried about 2.3. A lot of my main plugins are still 2.2.x. No worries.

Thanks for your effort!!
 
I have a pretty big site with many active users. As more and more people have begun to use their styles, I've been getting more reports of my site overheating devices, experiencing lag and draining batteries. I've asked those users to disable styles and it's been reported that disabling the styles resolves this.

Is there anything I can do to optimize this addon all it doesn't overload devices? Maybe cloudflare caching could help? Just trying to brainstorm.

BTW My users are seriously obsessed with this feature and consider it a core part of the site. It makes them feel like they're on the old school internet which is really cool. Thank you for this awesome addon. It's transformed our community.
 
I have a pretty big site with many active users. As more and more people have begun to use their styles, I've been getting more reports of my site overheating devices, experiencing lag and draining batteries. I've asked those users to disable styles and it's been reported that disabling the styles resolves this.

Is there anything I can do to optimize this addon all it doesn't overload devices? Maybe cloudflare caching could help? Just trying to brainstorm.

BTW My users are seriously obsessed with this feature and consider it a core part of the site. It makes them feel like they're on the old school internet which is really cool. Thank you for this awesome addon. It's transformed our community.
its probably the animated glows thats doing it, I see my machines CPU usage going up when i have my sites tab open and my username appears somewhere

Unfortunately theres not a whole lot I can do about optimizing the animations, its a CSS bottleneck, text-shadow animations cause constant recalculations to the page which in turn consume CPU cycles

The best thing I can do is include a user preference checkbox so users can choose to disable just the animated glows.
 
its probably the animated glows thats doing it, I see my machines CPU usage going up when i have my sites tab open and my username appears somewhere

Unfortunately theres not a whole lot I can do about optimizing the animations, its a CSS bottleneck, text-shadow animations cause constant recalculations to the page which in turn consume CPU cycles

The best thing I can do is include a user preference checkbox so users can choose to disable just the animated glows.
Having you explain what's causing it is really helpful and makes a lot of sense and actually gives me some ideas. At the very least I could limit who is allowed to add the glow. Or turn it off entirely in theory, but I think that the option to disable the glow for performance would be super helpful, as my devices seem to be performing just fine. Thank you for taking the time to explain!
 
I want to say that yesterday I bought this addon and I'm already loving it, it's everything my community always asked me about it, and now I can finally get rid of the Dragonbyte Shop and go all in with this addon. I would like to leave some suggestions,

the first one is to allow to split by categories the

Avatars frames
Fonts
Sparkles
Postbit Presets

something like the thread prefixes, and that you could assign permissions in a simpler way, because honestly I plan to add hundreds of frames and it would only be possible with a more powerful permissions system, could I commission this feature?


Another thing, when I try to upload a custom icon I get an error, I will copy it here:


Code:
Server error log
Error: Undefined constant "apathy\StyleSuite\ControllerPlugin\test" src/addons/apathy/StyleSuite/ControllerPlugin/UserStyle.php:303
Generated by: Lucien Jul 5, 2024 at 1:12 PM
Stack trace
#0 src/addons/apathy/StyleSuite/ControllerPlugin/UserStyle.php(158): apathy\StyleSuite\ControllerPlugin\UserStyle->parseUsernameStyle(Object(Andrew\ModeratorPanel\XF\Entity\User), Object(XF\Mvc\FormAction), Array, Object(apathy\StyleSuite\Entity\Username))
#1 src/addons/apathy/StyleSuite/Pub/Controller/Style.php(59): apathy\StyleSuite\ControllerPlugin\UserStyle->userStyleSaveProcess('username')
#2 src/XF/Mvc/Dispatcher.php(352): apathy\StyleSuite\Pub\Controller\Style->actionIndex(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('apathy\\StyleSui...', 'Index', Object(XF\Mvc\RouteMatch), Object(apathy\StyleSuite\Pub\Controller\Style), NULL)
#4 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(apathy\StyleSuite\Pub\Controller\Style), NULL)
#5 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#7 src/XF.php(524): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}
Request state
array(4) {
  ["url"] => string(23) "/cuenta/style-settings/"
  ["referrer"] => string(43) "https://90millas.net/cuenta/style-settings/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(6) {
    ["_xfToken"] => string(8) "********"
    ["username"] => array(10) {
      ["color_type"] => string(1) "0"
      ["color"] => string(5) "black"
      ["font"] => string(2) "64"
      ["glow"] => string(5) "white"
      ["glow_strength"] => string(1) "3"
      ["icon_type"] => string(1) "1"
      ["icon_position"] => string(1) "0"
      ["icon_color"] => string(16) "rgb(250, 114, 2)"
      ["inner_text_animation"] => string(0) ""
      ["sparkle"] => string(0) ""
    }
    ["username_style"] => string(1) "1"
    ["_xfRequestUri"] => string(23) "/cuenta/style-settings/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}


thank you very much for this addon, it's great!
 
I noticed a bug. I had set my username with a weak glow, two colors for a gradient, and a red sparkle. But now the glow doesn't work (when viewed throughout the site). The gradient and sparkle are fine, but if I return to the Style Settings, the glow in the preview doesn't display. If I select "None" for no glow, the gradient colors disappear (they turn all white) from the preview. Same thing if I select any other glow option except custom. However, if I select other glow options, the glow does work (but are still all white). If I come back to weak, the preview then works, and the colors are correct. But it won't save. Very strange! I didn't notice this before the upgrade.

Oh, and there were no server errors...

Edit: I saw a bunch of these in my browser console:

Code:
The resource https://schismsouls.com/styles/uix_dark/fonts/icons/material-icons/fonts/materialdesignicons-webfont.woff2?v=6.9.96 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
 
Don't want to add to your plate, but I was thinking of Jerry rigging it myself but figured I could ask - -

It would be cool if people who want to disable others post styles could still see their own. Let them be the main character of the forum, from their pov. Some members turn off this feature entirely because it's too overwhelming (many love it though, myself included) but still would like to have their own cool style, and I think would be a good option for folks with performance issues as well.
 
I want to say that yesterday I bought this addon and I'm already loving it, it's everything my community always asked me about it, and now I can finally get rid of the Dragonbyte Shop and go all in with this addon. I would like to leave some suggestions,

the first one is to allow to split by categories the

Avatars frames
Fonts
Sparkles
Postbit Presets

something like the thread prefixes, and that you could assign permissions in a simpler way, because honestly I plan to add hundreds of frames and it would only be possible with a more powerful permissions system, could I commission this feature?


Another thing, when I try to upload a custom icon I get an error, I will copy it here:


thank you very much for this addon, it's great!
Happy to hear you like the addon. Unfortunately I'm trying to spend less time on the computer so I'm not going to be adding any big features anytime soon, but at some point definitely I can look into improving permission / usability control.

As for the error you reported, I have it fixed for the next hotfix update.

I noticed a bug. I had set my username with a weak glow, two colors for a gradient, and a red sparkle. But now the glow doesn't work (when viewed throughout the site). The gradient and sparkle are fine, but if I return to the Style Settings, the glow in the preview doesn't display. If I select "None" for no glow, the gradient colors disappear (they turn all white) from the preview. Same thing if I select any other glow option except custom. However, if I select other glow options, the glow does work (but are still all white). If I come back to weak, the preview then works, and the colors are correct. But it won't save. Very strange! I didn't notice this before the upgrade.

Oh, and there were no server errors...

Edit: I saw a bunch of these in my browser console:

Code:
The resource https://schismsouls.com/styles/uix_dark/fonts/icons/material-icons/fonts/materialdesignicons-webfont.woff2?v=6.9.96 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
I can't seem to reproduce this at all, the previews / glows are behaving for me as expected, and when looking at them being applied throughout the site too.

The message youre seeing in the console appears to be related to ThemeHouse UIX2 btw

Don't want to add to your plate, but I was thinking of Jerry rigging it myself but figured I could ask - -

It would be cool if people who want to disable others post styles could still see their own. Let them be the main character of the forum, from their pov. Some members turn off this feature entirely because it's too overwhelming (many love it though, myself included) but still would like to have their own cool style, and I think would be a good option for folks with performance issues as well.
This should be easy to do but it won't be in the next hotfix update (which should be out in a few days now).
However, the user preference toggle we discussed before for disabling the animated glows will be included (and to clarify it exists in the Preferences section, not Style Settings, since this is where the "Disable user styles" (global) option is)
 
I can't seem to reproduce this at all, the previews / glows are behaving for me as expected, and when looking at them being applied throughout the site too.

The message youre seeing in the console appears to be related to ThemeHouse UIX2 btw
Okay, no problem. I'll check it with my other style (which I like better anyway). :)
 
I tried a different style, and had the same issue (also after upgrading to 2.11.12). But if I change the username color to solid, then back to gradient, the issue disappears (at least with the preview). But if I change the glow, and then save, it doesn't save it. lol

Didn't notice anything unusual in the console.....
 
Back
Top Bottom