Coder Social home page Coder Social logo

smf-mods's Issues

Color changer mod - enhancement request - #FFFs

I think this mod is outstanding. One thing that would help creating "dark mode" themes is controls over text backgrounds.

There are a lot of #FFF values throughout the .css. Bright hot white... They hit you like a searchlight coming out of your smartphone in the dark...

I think we would need a cc_text_background, and a cc_focus_text_background (for the ones that normally change color when given focus).

They would look something like the following. This is definitely incomplete, but it's a start:

		// These ones added by sjrb - get rid of glaring white backgrounds, helpful for dark mode...
		'txt_background' => array(
			array(
				'elements' => 'input, button, select, textarea',
				'properties' => array('background')
			),
		),
		'focus_txt_bkg' => array(
			array(
				'elements' => 'input:focus, textarea:focus, button:focus, select:focus',
				'properties' => array('background')
			),
		),

With the corresponding changes to the language file:

$txt['cc_txt_background'] = 'Text Background';
$txt['cc_focus_txt_bkg'] = 'Focus Text Background';

Color changer mod - issue when doing an export

As reported here:
https://www.simplemachines.org/community/index.php?msg=4122295

/var/www/html/forum/Sources/Class-ColorChanger.php (Line 264)
Type of error: Cron
Error messageSelect
8: Undefined index: theme_id

I've narrowed it down to when a user does an export of their profile.

If the option to include posts or PMs is not checked, it seems to just do it once. If they tick either of those options, it seems to do it repeatedly (maybe once per message?)

I've seen this also.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.