include('js/revisions-js.php'); // wpmu2.6 easter egg, I couldn't resist
Too funny. I have to figure where else I can put this...
include('js/revisions-js.php'); // wpmu2.6 easter egg, I couldn't resist
Too funny. I have to figure where else I can put this...
Previewing themes from two different theme_roots(System themes and User themes) on the same page is the hang up.
I need to rewrite the preview_theme links in Usethemes to use Thickbox, the way themes.php does it. Someday.
Well, I am real happy with how it is turning out. I still need to test turning on userthemes by default. I already keep out users from copying, editing and deleting unless they are a $master_user.
The only 2 things that don't work are:
1. When visible, the 'edit' link does not work. You can only edit the current usertheme from the menu.
2. The preview stuff. Works fine if system theme is currently selected. Popup previews always work.
Any idea on #1?
dsader,
I hope you are watching this thread as i didn't feel comfortable leaving you a message on your site.
I haven't tried your suggestion for tarski mentioned earlier in this thread to help tarski display and save its options. You mentioned that you user tarski and users use Mandigo. Both have option screens. I can't save either when using user themes.
I just downloaded the 3 newest premium themes that also have options. Can't save them either. It seems any theme that has its own options have a hard time with userthemes. I really want to get these to work, but I am unsure where to start.
How did you get mandigo and tarski working? Maybe it will give me a better idea how to fix the others.
Mandigo has a style.css.php that loads
require('../../../wp-blog-header.php');
that when it is a usertheme needs to be
require('../../../../../wp-blog-header.php');
Thanks. I'll make those changes. I don't like how Mandigo handles graphics (I guess it doesn't trust my placement). Really had a hard time getting it to work with my in house ecommerce plugin, but its working and Mandigo has lots of cool options.
I still like how WordPress.com handles its custom css styling and I have finished mine and it works great with or without Userthemes. It creates a login.css that is loads in addition to the standard, so you can easily customize the login, and creates an alternate css with the same name as the theme, stores it in the user directory so you can have a custom stylesheet per theme. My custom Editor only lets you customize these style sheets.
I don't let you save the file if I see an @import or a .php anywhere in the file. Anything else I should look for?
Also, did you notice the two bugs I mentioned a few posts back? Never heard from you.
I will look into the new premium themes and see if the above code is the same. Also, wouldn't it be possible to change the theme so it uses the old path when the theme is currently not being used in the usertheme directory?
i'm also interested for a plugin that allow customize css theme...
the plugin is ready?
where i can download it?
if it is not finish can i give an help?
bye
Zauker
Well, it is still a little raw as only I am able to use it. Still not that confident in it. I still am a little worried about security. dsader knows alot about this since his plugin gives you the option to open up the full editor. My plugin opens up a customized editor that only allows editing of css files and keeps certain things from being saved, but I still really don't know all of the things somebody can but into a css file that might make it a security risk.
While it is not posted yet, you could keep an eye on my wordpress blog, rdgriffin.com/wordpress, though I am getting ready to move that blog onto its own dedicated blog. Some of my plugins, while they might work for me, might not work for others.
dsader,
I am trying to create a button in my Stylesheet editor similar to the Preview button on the Wordpress.com blogs. It lets you preview your them, applying you css file to the theme. My plugin does this normally when viewing the them after you save your changes. What I would really like to have is a way to preview theme (saving it to a temporary file) having the new css file applied to the header in the preview.
Since you have done so much with the preview with Userthemes, I figured you would know the hook I would need to have that would let me temporarily preview it before saving the css to the actual css file the plugin looks for when using the finished theme. Any ideas?
<quote>
Mandigo has a style.css.php that loads
require('../../../wp-blog-header.php');
that when it is a usertheme needs to be
require('../../../../../wp-blog-header.php');
</quote>
What I meant was their Theme Options. I can't save taski theme options. Same goes for Mandigo or probably all themes that assume they are in the theme directory.
I downloaded a new copy of Mandingo (to figure out what I did to make it work with WPMU). It saves settings fine, usertheme or system theme, no more code hacks.
WPMU 2.6.3
Mandingo 1.3.9
Userthemes 2.6.1
Cool. I just downloaded it but haven't tried it yet in userthemes. I will give it a shot.
As far as other themes I run across that aren't so friendly, isn't there a way to code them so they use one path if it is installed in a usertheme directory, and another if it is installed in the standard theme directory?
Better yet, is there a hook that will adjust it without having to hack them?
I am just not sure what to look for to find out if the theme is in the blog directory or the theme directory.
Thanks again.
thank you for this information
Userthemes 2.6.1 ? (yes I've googled for it)
edit: *blush* .. found it at http://wpmudevorg.wordpress.com/project/Userthemes-Revisited
dsader, I wasn't sure how to post the code here as you stated earlier in this post, so I uploaded my Custom Stylesheet editor and plugin to my site, http://rdgriffin.com/wordpress/plugin-rdg-custom-style-sheet-2.html.
If you have a chance, take a look at it. I am still concerned about security, but it adds everything I needed when I don't need to adjust the php files.
Thanks.
do either of you know how to make it so people can't see the pages unless they register/log in? i downloaded this widget and the login is showing on the main page but you can still navigate from page to page without registering or logging in. any help would be great. thanks.
« Previous 1 2