116 pointsSerious WPMU DEV-sterI'm new here
btray77
Member
—
14th September 2009 (2 years ago)
I've been playing with the user theme's plugin, it's good, but not 100%. Any chance of creating a Premium version of it, that addresses all the issues it has.
I've been playing with the user theme's plugin, it's good, but not 100%. Any chance of creating a Premium version of it, that addresses all the issues it has.
I'd like to be able to allow the user access to upload their own theme. If that were a s3, or slice, that would be ideal - anyplace out in the interwebs without giving them ftp access.
The interface would go:
Enable CDN theme plugin
Enable User theme plugin
3. "use this theme as a default" make a copy of it, ideally that they could write to at a file level, but a web based access would be just fine (for those that want to edit html).
// I'm researching how "sandboxed" each user/theme/blog is in MU, but so far this looks like a dangerous idea. It is however a common request to modify a theme slightly per user.. doesnt seem to be a "subtheme" concept that inherits the overall parent, and only changes the one file that needs a modification (ala Drupal).
4. "upload my own new theme and submit for review" to do just that (zip and submit) - we would test it and then add it to the storage so that that user, and only that user, can enable it.
// can of worms.
Errors have kept me from testing the usertheme plugin thus far, mostly because I've yet to fully appreciate the Wordpress theme arch AND because buddypress 1.1 will change it all again.
My experience so far with ALL themes paid or not, is they need to be edited for use in wordpress mu. I'd say a review period is a must for any user theme, especially if you're doing shared ads, SEO tags, etc..
+1 Would be great to see a way to customize themes, in each of the 4 ways above (most are theme level things you guys dont need to worry about here at wpmudev).
10635 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Sales & Support Lead
—
20th November 2009 (2 years ago)
#
I'm planning on testing the elastic theme editor with wpmu 2.8.6 over the weekend.
+1 for the premium "usertheme" plugin or something similar. The most recent version by dsader doesn't work correctly with wpmu (various errors, if you want, I can describe them).
I'll report back on elastic, but this would be really freakin' sweet.
7026 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Lead Developer
—
20th November 2009 (2 years ago)
#
In 2.9 there will be a new register_theme_directory() function added at the request of buddypress that may be of use.
The only secure way of doing this though is like wp.com does with the custom css editor and sandbox theme. And the main hindrance there is being able to filter the CSS for XSS problems.
What about duplicating themes.php in a plugin called user-themes.php - but making it call the blogs.dir/#/files/themes directory instead of the wp-content/themes directory?
That way under appearance we could just create a new page entitled User Themes - and allow the theme editor to only access user themes found in the blogs.dir directory.
Also - maybe add a auto install theme feature something simple like the one click plugin updater on the User Themes page.
I'm not a coder, and am new at this, but it just seems to me that I could just redirect the get_option action for the themes directory?
(the spelling mistake in the URL is the way it is ;-) )
"This Simpler CSS mu-plugin allows WordPress multisite hosts to enable users to add custom stylesheets to their blogs.
The plugin creates a new menu item under the Appearance menu in WordPress 2.7 that allows users to enter custom CSS code that will be injected into the <head> section of their blog. The CSS is stored in the blog's options table and is filtered through a standard PHP function before being outputted, preventing the user from inserting malicious code into the header."
Responses (13)
Erstwhile founder — 14th September 2009 (2 years ago) #
If there's enough interest we can look into something like that down the line.
What kind of improvements would need to be made?
Thanks,
Andrew
Member — 14th September 2009 (2 years ago) #
There's a list of known issues it has in the plugin header.
There is also the problem of it breaking shorttags... or it broke them on my site.
I'll try to come up with a complete list...
WPMU 2.84a,
-Brad
Member — 21st September 2009 (2 years ago) #
it also seems to not be compatible with several paid themes including the Flexx themes and solostream themes.
-Brad
Keeper of the Dark Chocolate — 21st September 2009 (2 years ago) #
Many paid themes are not compatible with WPMu. Not saying that as an excuse in this case. Just throwing that out there.
Member — 22nd September 2009 (2 years ago) #
I'm looking for a way to offload theme files to a CDN, ex:
http://www.ringofblogs.com/2008/04/12/off-loading-wpmu-theme-files-to-amazon-s3/
I'd like to be able to allow the user access to upload their own theme. If that were a s3, or slice, that would be ideal - anyplace out in the interwebs without giving them ftp access.
The interface would go:
Enable CDN theme plugin
Enable User theme plugin
User could then:
1. "theme options" (standard preset dashboard controls, stored in the database of the blog)
ex
http://wpmututorials.com/how-to/giving-your-users-changeable-custom-headers/
2. "modify the style of this theme (advanced)" (append css files, store the css in a database per blog?)
http://mu.wordpress.org/forums/topic/13539
http://wpmudev.org/project/custom-css-for-wordpress-mu
http://wordpress.org/extend/plugins/custom-user-css/
http://jason.lah.cc/2006/04/08/jasons-customciser-customise-your-themes/
[see also http://www.squarespace.com for a great way to do this]
3. "use this theme as a default" make a copy of it, ideally that they could write to at a file level, but a web based access would be just fine (for those that want to edit html).
// I'm researching how "sandboxed" each user/theme/blog is in MU, but so far this looks like a dangerous idea. It is however a common request to modify a theme slightly per user.. doesnt seem to be a "subtheme" concept that inherits the overall parent, and only changes the one file that needs a modification (ala Drupal).
4. "upload my own new theme and submit for review" to do just that (zip and submit) - we would test it and then add it to the storage so that that user, and only that user, can enable it.
// can of worms.
Errors have kept me from testing the usertheme plugin thus far, mostly because I've yet to fully appreciate the Wordpress theme arch AND because buddypress 1.1 will change it all again.
My experience so far with ALL themes paid or not, is they need to be edited for use in wordpress mu. I'd say a review period is a must for any user theme, especially if you're doing shared ads, SEO tags, etc..
+1 Would be great to see a way to customize themes, in each of the 4 ways above (most are theme level things you guys dont need to worry about here at wpmudev).
Member — 22nd September 2009 (2 years ago) #
http://wordpress.org/extend/plugins/elastic-theme-editor/
Summer of code project to do something like above..
http://codex.wordpress.org/GSoC2009
Founder & CEO — 22nd September 2009 (2 years ago) #
Any feedback on the elastic theme editor? Would be interested in a critical review of it of sorts :)
Sales & Support Lead — 20th November 2009 (2 years ago) #
I'm planning on testing the elastic theme editor with wpmu 2.8.6 over the weekend.
+1 for the premium "usertheme" plugin or something similar. The most recent version by dsader doesn't work correctly with wpmu (various errors, if you want, I can describe them).
I'll report back on elastic, but this would be really freakin' sweet.
-masonjames
Lead Developer — 20th November 2009 (2 years ago) #
In 2.9 there will be a new register_theme_directory() function added at the request of buddypress that may be of use.
The only secure way of doing this though is like wp.com does with the custom css editor and sandbox theme. And the main hindrance there is being able to filter the CSS for XSS problems.
Member — 14th July 2010 (1 year ago) #
Any updates on this? Can't even find the old userthemes or userthemes-revisted plugins?
Member — 15th July 2010 (1 year ago) #
What about duplicating themes.php in a plugin called user-themes.php - but making it call the blogs.dir/#/files/themes directory instead of the wp-content/themes directory?
That way under appearance we could just create a new page entitled User Themes - and allow the theme editor to only access user themes found in the blogs.dir directory.
Also - maybe add a auto install theme feature something simple like the one click plugin updater on the User Themes page.
I'm not a coder, and am new at this, but it just seems to me that I could just redirect the get_option action for the themes directory?
Lead Developer — 15th July 2010 (1 year ago) #
There is a CSS plugin on wp.org now.
Member — 4th November 2011 (6 months ago) #
Hi,
A plug-in that does the trick is: " Improved Simpler CSS"
http://wordpress.org/extend/plugins/imporved-simpler-css/
(the spelling mistake in the URL is the way it is ;-) )
"This Simpler CSS mu-plugin allows WordPress multisite hosts to enable users to add custom stylesheets to their blogs.
The plugin creates a new menu item under the Appearance menu in WordPress 2.7 that allows users to enter custom CSS code that will be injected into the <head> section of their blog. The CSS is stored in the blog's options table and is filtered through a standard PHP function before being outputted, preventing the user from inserting malicious code into the header."
Dave,
Become a member