Style Variation Default

Style Variation Default 1.0.0 Patch 2

No permission to download
You will make people happy...

Happy Pumped Up GIF by Universal Pictures Home Entertainment
 
i'm getting this error.

One or more of the add-ons in this batch failed to install/upgrade. Click or hover over the error icon to view details of the error.

now im getting this in my acp and it wont go away.
 

Attachments

  • Screenshot 2024-07-19 at 11.16.40 PM.webp
    Screenshot 2024-07-19 at 11.16.40 PM.webp
    20.9 KB · Views: 13
Last edited:
Feature request: Default variation option for members too
I want all users (guests & members) to have dark as the default.
 
@rdn
Hmm, how you do envision this to work?

Existing users either have an empty value (=System), default or alternate as their preference in xf_user.style_variation.
If it's an empty value we don't know if it this way because they never changed it or because they intentionally set System after testing Light / Dark.

Guests will have the configured default, when they register their current choice (which might be the admin choosen default if they did not change it) will be used as the initial value for this field.

I could add an option for batch user update, though I am not sure how much sense this would make?
 
  • Love
Reactions: rdn
Guests will have the configured default, when they register their current choice (which might be the admin choosen default if they did not change it) will be used as the initial value for this field.
Never mind my request above :)
This is working great; I just tested now and new members are also using the default I manually set which is dark.

Old members can adjust on their own :).
Thank you.
 
I have tested addon on 2 forums, both get lower page speed score for mobile, I recommend to check that.
native XF light style mobile 96-98 drops to 87-89
 
This is a fantastic addon!

You know what would multiply its awesomeness?
If we could also choose a default background, and a default logo, because background and logo don't present the same on either light or dark.

Is this possible?

Thanks!
 
You know what would multiply its awesomeness?
If we could also choose a default background, and a default logo, because background and logo don't present the same on either light or dark.

Is this possible?
I am sorry, but I don't understand your question :(

Depending on how you designed yout style there are one or two logos (one for light and one for dark or one for both) and one or two backgrounds (one for light and one for dark or one for both).

All this Add-on does is to set a default for the variation so this is always used until the user has made an explicit choice (which might by System, Light or Dark).

So which additional things would you want this Add-on to do?
 
Back
Top Bottom