MyBB Community Forums

Full Version: MyBB DarkMode Switch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
[Image: MyBB-Darkmode-Switch_Banner.png]

MyBB Darkmode Switch
MyBB 1.8 plugin to add options to toggle between light and dark mode in forum view.

Selectable options in UserCP or on registration are:
  • Never use Dark Mode
  • Always use Dark Mode
  • Automatic selection by browser/OS settings



Plugins contains:
  • Main plugin functions
  • Dark CSS definitions for the default MyBB theme
  • Dark SCEditor modification files

This plugin is for free but it would be nice if you support my work with a little donation.



Installation:
  • unzip package
  • copy content from "UPLOAD" folder to the forum root on server
  • install & activate the plugn from ACP
  • edit your theme darkmode.css file as you like
Full Update:
  • uninstall plugin from ACP
  • unzip new package
  • copy content from "UPLOAD" folder to the forum root on server
  • install & activate the plugn from ACP
  • edit your theme darkmode.css file as you like
Simple Update:
  • unzip new package
  • copy content from "UPLOAD" folder to the forum root on server



Screenshots:
[attachment=45018] [attachment=45019] [attachment=45022] [attachment=45023] [attachment=45021] [attachment=45027]



Download: https://community.mybb.com/mods.php?acti...w&pid=1505


This plugin offers full language support.
The basic package contains english and german language files.


Licensed under the GNU GPL, version 3.

**Enjoy!**
Thanks for creating this
Thanks you for this plugin.
after installation...

what should i do?
(2023-10-19, 06:56 PM)MISTER Wrote: [ -> ]after installation...

what should i do?

Upp
@Mister
Plugin only work with default mybb editor
(2023-10-23, 09:28 PM)SvePu Wrote: [ -> ]@Mister
Plugin only work with default mybb editor

yes and its default editor.
(2023-10-23, 09:28 PM)SvePu Wrote: [ -> ]@Mister
Plugin only work with default mybb editor

You should add that the DarkMode Switch Plugin only works in the MyBB Default Theme in the Project Details here.
(2023-10-19, 06:56 PM)MISTER Wrote: [ -> ]after installation...

what should i do?

uppppp
Hi, thanks for your contribution !

From a quick look to the source code, I think it is feasible for admins to adapt the style sheets for their custom themes directly from the Themes module in the ACP, is this conclusion correct ? If so it could be helpful to document it somehow.
Pages: 1 2