I wrote this plugin for my Wordpress MU site and am releasing it as GPL with the hope that some might find it useful. It allows your users to customise any theme on your site, changing images and colours in the CSS. It's still pretty raw but I do have plans to make it much prettier in the future.
Downloads:
Installation:
- Download and unzip package, copy Jason_Customciser.php into your plugins directory (/wp-inst/wp-content/plugins).
Requirements:
- Plugins need to be enabled for your site.
Screenshot:
Notes:
- If you are able to install Pear's HTML_CSS 1.0.0RC2 package, you can look for the line that says
//Everything below this line may be deleted if you are able to install PEAR's HTML_CSSand delete everything below it.
Q&A
Q: If someone customises a theme, will everyone else using the theme be affected?
A: No. Each user’s customisation will affect only his/her own theme. In future versions, we might allow users to ‘share’ their customisations.
Q: How does it work?
A: Briefly: When the plugin is run, it scans through the currently used theme and parses the CSS. It identifies images and colours and stores them as options that the user can change. It then injects these changes back into the theme.

I have this error:
URL file-access is disabled in the server configuration
How can I change the code to bypass the URL file-access restrictions ?
Thanks
Updated it, should work now.
I receive this error:
Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/**/public_html/**/wp-inst/wp-content/plugins/Jason_Customciser.php on line 39
I don’t have shell access to make sure I have the HTML_CSS - do you think that is the problem?
I have more errors:
Line 235:
URL file-access is disabled in the server configuration
and
ailed to open stream: no suitable wrapper could be found
Line 257:
failed to open stream: No such file or directory
and
Failed opening required ‘HTML/CSS.php’ (include_path=’.:/usr/local/php5/lib/php’)
ok, updated it again, hopefully you guys will be able to get it to work now
OK. Now work fine. Thanks for all.
Why that don’t works for me?
Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home2/uz2507/public_html/wp-inst/wp-content/plugins/Jason_Customciser.php on line 39
I still get the same error.
I think it may be because I don’t have shell access to activate the HTML_CSS. Oh well - it’s a cool concept regardless!
is there a way to bypass this html_css or some alternatives to this for who don’t have shell access?
HTML_CSS is no longer required.
It seems it might be because you guys are not using PHP5. However, it is unlikely I will be modifying the plugin to work with PHP4.
You are correct. I don’t have php5. Well, hopefully I will get upgraded soon.
I’ll keep an eye on this!
Any luck getting this to work with a lower version of PHP?
yes, i receive the same error and i use php4 too ….you can update the plugin for php4? thanks bye Ste
Yes please make this compatible with PHP4!!
PHP4 compatible version: http://mu.wordpress.org/forums/topic.php?id=819&replies=22#post-7099
Wooooow this is a great plugin, works as a charm on my MU
Also have some wishes/requests;
1. Can it detect and display the picture dimensions …x… pixels?
2. Can you write “colors” instead of “colours” (I looked strange first then i got it, its French)
3. Is there a cheatcheet , sort of map where the colors are used?
(I know some themes use different places)
4. Can you make the entry box using a color picker / sheet aswell as color code?
5. Can you make a preview button. (Thats a difficult one I know)
Keep up the great work this plugin is going to be great.!!
You may be interested in this!!
http://mu.wordpress.org/forums/topic.php?id=819&page=2&replies=45#post-8916
wow! this’s great!
if i put in the mu-plugins it will work too? (i want to make this activated for all users)
hiya the download url isnt’ working :((
where is the download url for php4 compatible version?
hello,
the php4 download link ist dead, can somebody put it up again please?
hello,
can you tell me which is the last line to be cut out? I installed HTML_CSS but I am not sure exactly what to cut out, maybe you can tell me which is the last line to cut out?
thx
I just noticed, that if my theme loads a style.css and later on a plugin loads another style.ccs your plugin only parses the second style.css, meaning I am actually unable to change any style belonging to my theme, just those styles belonging to my plugins… any fix for this?
Hi Jason,
I am glad to come across your informative blog.
By the way, I am the author of a Rocky book and I am currently lauching my website at http://www.therealrockychallenge.com. (please take a look)
My objective is to get as many inspiring real life Rocky stories as possible from around the world and the only way to do that is by installing Wordpress MU. However I have no experience whatsoever in installing it, and with so many reported bugs i am afraid my project would be delayed. Can I request your help to set up a WPMU blogsite for me, so I can continue with real rocky campaign - to serve a noble deed in inspiring people from around the world. And i would like to invite you to post your inspiring story as well.
Greatly appreciate your help.
To the real rocky in all of us,
Thank you.
Gerald (my e-mail is gchuah@gmail.com)
HI. Great plugin but i have a few concerns about the possibilities to parse javascript. How secure is the plugin and does it strip out javascript from any input boxes ?
Also do you plan on updating to add a color picker ?
I guess the plugin is no longer supported ? What a real shame :9 Its not compatible with 2.1 either ..
Excuse me, I heard about this more and more …so plsss provide new informations in this category…
Don Lapre Jeffery
webmaster@nanoosenativeplants.org
http://www.nanoosenativeplants.org
Hi Jason.
Customsicer is not working with my theme. It seems that the code is in the header, but does not surround anything. Can you tell me if there are known problems with the Tranquility White theme?
THANKS!
When i try to enable Plugin in wordpress MU version 2.2.1 i get the error: “could not be activated because it triggered a fatal error.”
Please help, I would really like to use this plugin.
Hi, I just installed wordpress mu, installed your plugin in mu-plugins directory, but I cannot find where I can activate it in the admin panel. Please help, the plugin is great, but I cannot use it!!
thanks, irina
Is there a way to make a visual panel not to impose CSS manually and choose colors from the table, like header color changing? I think it will be more useful.
hi jason,
please email me… I need a very big favour regarding one of my blogs at lah.cc. Will appreciate it immensely!! (please don’t reveal this comment)
I’m quite bad at googling la. I couldn’t find your email address. So had to come to this. =)
Hi Jason,
I don’t see this plugin not at all in my Plugins menu or at Presentations.
I run PHP5 and use the PHP5 version.
Any idea ?
There should be some way to only show certain veriables
There should be some way to only show certain options.
so things like
input#author, input#email, input#url, textarea#comment: color
can be removed
Have HTML_CSS installed, now getting this error when I try and activate it:
Fatal error: Cannot redeclare class Jason_Customciser in /home/xxx/public_html/blogs/wp-content/plugins/Jason_Customciser.php on line 38
Link 38 is:
class Jason_Customciser {
Any suggestions?
Thanks
Absolutely Imperative! This was a #1 Problem… your program/plugin is essential since we who are hosted can’t get into the code! I do hope some of these people get there heads out of their ‘codes’ and start thanking you a bit!
This area should just be about thanking you!
Again, Well Done!