Style Variation Default

Style Variation Default 1.1.0 Patch 1

No permission to download
i installed this plugin because I wanted to show the bright theme to the guests, but it didn't work. It still looks dark mode to visitors.

Screenshot_1.webp
 

Attachments

  • Screenshot_2.webp
    Screenshot_2.webp
    54.9 KB · Views: 13
do you have any suggestions on this, I wonder @Kirby
Create a new style without osrent, set this as default, disable all other Add-ons and test in a fresh browser.

Does it work?

If it does there most likely is some kind of conflict with your style or Add-ons.
 
@Kirby I have the add on installed and I set the default variation to Light mode. But I login and it is defaulting to dark mode. I have my settings to use the system default so unsure what is going on.
 
Does this only affect visitors to the site and not those that have logged in?
Strictly speaking: No (as a logged in user is still a visitor, so your statement "Does this only affect visitors to the site" is wrong).

This Add-on sets a default for those visitors that have not yet made their own choice (=guests without cookie).
A logged in user has already made a choice that is stored in his profile in the database.
It wouldn't make sense (or even work) to apply the default for logged in users.

Think about this scenario:
  1. Someone visits your forum for the first time.
    His system is configured to prefer light but you have configured dark as default so he gets dark (without the Add-on he would get light)
  2. The visitor doesn't like dark and switches to light
  3. The visitor registers
  4. The visitor closes this browser (which is configured to delete all cookies on close)
  5. A few days later he comes back and again gets dark (as there are no cookies and you've configured dark as default)
  6. The user is already somewhat annoyed about getting dark agai and logs in immediately, expecting to get his preference (light)
Would you still want your default applied in this case?
If this was done, the user would never be able to set their own preference.

What you could do (though I'd strongly advise not to do this as it might annoy users) is to update their preference:

Or via batch user update.
 
Last edited:
Back
Top Bottom