Looking for more? Go Pro!

Change your limits with an upgrade to our exclusive VIP accounts, direct downloads your favourite premium styles and add-ons with daily basis updates..
It’s easy and fast to join the VIP account upgrades with several payment methods.

SignUp Now!
  • We've added extra Spam Protection. if you get problem with account registration / registration rejected. please contact us

[BP] Light Switch and Style Chooser 1.0.7

Compatible XF 2.x versions
  1. 2.1
Additional Requirements
This add-on only supports Xenforo 2.1.x due to font awesome.
Visible branding
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.
First release
Last update
4.00 star(s) 1 ratings

More resources from Admin

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. added 2 new optional style chooser positions, header and footer

    This update brings 2 new optional positions for the style chooser, the header and footer. The...
  3. simple mismatched colors of light bulb when ending logout sessions for dark style defaults

    There was a simple mismatching of light bulb on/off colors when directly logging out or ending...
  4. This update fixes a couple of small bugs

    There was an issue where upon session logouts the user would not see the bulb/icon even though...
  5. added css classes to chooser preview boxes

    just added css classes for the style chooser preview boxes. Were good now :D