User CSS
Author Message
Simple plugin which sticks a Custom CSS textbox under UserCP -> Options.
Users can enter their own custom CSS there (somewhat as an alternative to the Stylish Firefox extension).

Note that this isn't applied specifically to themes - that is, the CSS stays the same regardless of the theme selected by the user.
Also note that it is possible for users to break the page layout/display for their account by messing up their CSS - a counter-measure to this is supplied however.

A hidden feature not mentioned in the plugin anywhere is the ability to apply specific rules to pages, for example:

Code:
1
2
3
4
5
6
/*@- showthread.php */
background{color:red}
/*@-*/
/*@- forumdisplay.php, index.php */
background{color:yellow}
/*@-*/

Note that these "conditionals" cannot be nested.

(This post was last modified: 11-23-2014 08:19 PM by ZiNgA BuRgA.)
Find all posts by this user
Quote this message in a reply
Download: usercss.php (3.1 KB)
Plugin Version: 1.1
Last Updated: 11-23-2014, 08:19 PM

Downloads: 457
MyBB Compatibility: 1.4.x, 1.6.x, 1.8.x
Plugin License: WTFPLv2
Uploader: ZiNgA BuRgA
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,338
Joined: Jan 2008
Post: #11
RE: User CSS
That option is unavailable.

My Blog
02-06-2016 09:45 AM
Find all posts by this user Quote this message in a reply


Forum Jump: