Light Switch and Style Chooser

xF2 Add-on Light Switch and Style Chooser 1.0.7

No permission to download
Compatible XF Versions
2.1
Visible Branding
No
This add-on only supports Xenforo 2.1.x due to font awesome

This is another free add-on I've decided to contribute to the community. It's a Light Switch and a Style Chooser based on style ids.

Simply put the light switch is a light bulb you can configure in a couple different areas of the navigation bar. When you click it the color of the light bulb will change to "on" and the light style will change to the dark style. If you click it again the style will change back to light and the color of the light bulb will change back. It's a neat little addition to my own site and I want to share it with you all.

It comes with a image that changes colors but you can also opt. for a font awesome light bulb and use that in as easy as a click. You can also change the color of the font awesome light bulb when on and when off in style properties.

There's also a style chooser. In order to set these styles up you simply go to your sites style chooser and view the URL of the style. The number that's inside the URL is your style ID. You then go to options and add in the corresponding light and dark style IDs or the style chooser IDs to appear in the style chooser. It's as simple as that. You set the option to cut it on, you put in your style IDs and you have a ready-to-go style chooser and light switch at your disposal.

Feature List:

Option to place light switch to the left of the forum username in the navigation
Option to place the light switch to the right of search in the navigation
Option to remove style chooser title
Style Property to use font awesome light bulb icon
Style Property to change "on" and "off" colors of font awesome icon
Style Property to change the preview colors of each style's preview box
Fully Permissioned
Fully phrased
5 configurable light switch styles for each light and dark style
Up to 10 styles can be added to the chooser

In order to use this add-on properly I wanted to note that while options are global, style properties are based on the style alone. The portion of the add-on that includes editing style properties will need to be edited in the parent style so that the children will also have the property enabled.

If you have never installed an add-on before or need help installing Xenforo 2 add-ons, please view this page.
  • Untitled.png
    Untitled.png
    89 KB · Views: 322
  • Untitled2.png
    Untitled2.png
    102.5 KB · Views: 320
  • Untitled3.png
    Untitled3.png
    93.7 KB · Views: 318
  • Untitled4.png
    Untitled4.png
    95.7 KB · Views: 286
  • Untitled5.png
    Untitled5.png
    85.8 KB · Views: 305
  • Untitled6.png
    Untitled6.png
    80.4 KB · Views: 284
  • Untitled7.png
    Untitled7.png
    61.7 KB · Views: 288
Author
ENXF NET
Downloads
39
Views
670
Last update
Rating
0.00 star(s) 0 ratings

More resources from ENXF NET

Latest updates

  1. UI.X 2 styles compatibility and a couple additions

    This add-on is now compatible with UI.X 2 except for the footer position of the style chooser...
  2. UI.X 2 styles compatibility and a couple additions

    This add-on is now compatible with UI.X 2 except for the footer position of the style chooser...
  3. UI.X 2 styles compatibility and a couple additions

    This add-on is now compatible with UI.X 2 except for the footer position of the style chooser...
Top