Skip to:
Content
Pages
Categories
Search
Top
Bottom

Plugin Release: Default Blog Options


  • Sven Lehnert
    Participant

    @svenl77

    I couldn’t find a solution for this. so I developed this Plugin. If there is already a better way to do it, please let me know!

    The plugin gives you the possibility to copy default blog options into new blogs automatically.

    It uses one mu blog as a default blog.

    All options you select from the default blog will be used for new blogs on a wpmu installation.

    After a new blog is created, the first time the dashboard is loaded, the options from the default blog will be copied into the new blog option table.

    This is interesting in many situations on a WPMU installation.

    If you want to automatically install some plugins with every new blog, there is already a plugin for free, look here http://wpmudev.org/project/wpmu-plugin-manager.

    With wpmu-plugin-manager you can have control over the plugins, but not over the setup of the plugins.

    So you need to configure all the options and settings every time a blog is created.

    To get rid of this nasty work, I developed this plugin.

    How it works:

    Just create a blog as default blog.

    Install all the plugins on this default blog you like to run on everey new blog.

    After you made all the needed configuration to your plugins and they work as they should work on every new blog, your work for this blog is done.

    Now all you need to do is, go to the main blog to Admin/default-blog-options.

    First you have to enter the blog ID of your default blog.

    When done, you will be able to select the options you’d like to have in every new blog.

    Once you have all the options selected and saved, you are finished.

    Every time a blog is created, the blogoptions are copied from the default blog like you selected before.

    Plugin url: http://wordpress.org/extend/plugins/default-blog-options/

    Please give me some feedback, and let me know about the bugs you find.

    :-Sven

Viewing 25 replies - 1 through 25 (of 29 total)
  • oh so amazing… thanks!!!

    i’ll test and play with it all week-end!


    Mariusooms
    Participant

    @mariusooms

    If this will work with WPML I’d be so grateful! Will test this soon…


    Andrea Rennick
    Participant

    @andrea_r

    https://wordpress.org/extend/plugins/wpmu-new-blog-defaults/ This is the one most of us have been using.


    D Cartwright
    Participant

    @aekeron

    @Andrea_r

    Yeah, that’s what I’ve been using in the past too. It works well.

    I’ve not had a chance to properly compare this new plugin with it though.


    Andrea Rennick
    Participant

    @andrea_r

    Woot! Found some bugs. on WPMU 2.9.1.1, after picking a blog, I get errors on ever item over on the right side

    ‘Warning: in_array() [function.in-array]: Wrong datatype for second argument in /var/www/html/trunk/wp-content/plugins/default-blog-options/start.inc.php on line 76″


    Sven Wagener
    Participant

    @mahype

    We know this problem and we are now working to fix it. Thank you!


    Sven Lehnert
    Participant

    @svenl77

    hi Andrea_r, I´m also using the plugin wpmu-new-blog-defaults.

    Like I know, it’s not offering the default options I tryed to handle with this plugin.

    My plugin does not have the name blog-defaults. It is just for the options, because I was missing this part in the other plugins.

    I have customers, who needs to have plugins installed on every new blog and this plugin just offer the possibility to setup all options of the plugins in one time only.

    I build this because I have this situation already to often.

    I will have a look into the bug. I can create the bug on a new install.

    Sorry for this and thanks a lot for your feedback.


    peterverkooijen
    Participant

    @peterverkooijen

    So this sets defaults for plugins in WPMU blogs? Including for example Google API keys etc.? That would actually be very useful. As long as it doesn’t clash with cets_blog_defaults. Does it?

    Will try when I have time…


    Sven Lehnert
    Participant

    @svenl77

    0.02-beta is out, I reorder and clean up the code and hopefully fix the bugs from Andrea_r.

    @Peterverkooijen

    I tested it right now with the following plugins and couldn’t get any error with the 0.02-beta version.

    Plugin Management

    Category Defaults

    New Blog Defaults


    Sven Lehnert
    Participant

    @svenl77

    @Peterverkooijen

    So this sets defaults for plugins in WPMU blogs? Including for example Google API keys etc.?

    Exactly like this :-)!


    peterverkooijen
    Participant

    @peterverkooijen

    Excellent Svenl77! Just what I needed. I need to install this asap in my sites. :-)


    peterverkooijen
    Participant

    @peterverkooijen

    This plugin is essential!

    Would it be possible to integrate it with the cets_blog_defaults plugin? Or even better, integrate both into the core? It’s getting hard to keep track of which setting is where in the wp-admin.


    Sven Wagener
    Participant

    @mahype

    The Plugin hav been updated today and is now on version 0.05

    Here is the version history:

    0.03-beta Renamed Plugin to “Default Blog” in consider of developements in future. Cleaned up the code. Plugin will be shown in the Siteadmin menue independent of backend

    0.03.1 Set up correct version of plugin

    0.04 Added links to copy from default blog

    0.05 Added translations to plugin and german language

    Happy creating “default blogs” ;-)


    Sven Wagener
    Participant

    @mahype

    So, I’ve forgotten The next days we will integrate:

    – Setting Default Blog Articles

    – Setting Default Blog Pages

    Let me know if you have annother ideas for this Plugin!


    Bowe
    Participant

    @bowromir

    This is amazing, just what I was looking for! I’ll be installing this tomorrow and let you know if I have any suggestions.. If I understand correctly you can now set:

    – Widgets

    – Plugins (+ Settings)

    – Standard Pages + Articles

    – Permalink settings, Comments settings etc

    That’s already amazing and I think that’s all I need really.. If I think of anything I’ll let you know :D


    Anointed
    Participant

    @anointed

    idea —

    I am using this to setup my default buddypress theme for group blogs. I also use the woo navigation system on my theme (3.0 has it). Would it be possible to import the navigation settings as well?

    I could do some digging around and find the database information if that helps.


    Sven Lehnert
    Participant

    @svenl77

    In the beginning, we started to develope the plugin to solve just the problem of plugin configuration.

    But when we start using it, we found out, its much more useful.

    The plugin management we do not need anymore, because its enough to select the active_plugins option.

    Like this its with all blog management plugins like cets_blog_defaults and so on.

    In the end we deleted all the old plugins and just used the default blog plugin.

    @Anointed

    Actually we just concentrated on the options table.

    Most plugins save there options in there.

    In the moment we are adding (Setting Default Blog Articles and Default Blog Pages), because this is a important missing part.


    Sven Wagener
    Participant

    @mahype

    Today i have launched version 0.1 of the plugin. Today I’ve added:

    – Setting Default Blog Articles

    – Setting Default Blog Pages

    Happy testing!


    jalien
    Participant

    @jalien

    Great plugin. I’ve been waiting for this since wpmu 1.0. Would it be possible to be able to choose the template of the setup you like. That is have more than one blog id for cloning, post setups, page setups, etc. Then for, in my case, older students I could automatically give them more features. Or for paying sites, there could be different plans (ie setups).

    Thanks again for the plugin, the superlatives don’t begin to describe how grateful I am for the time I can now save.


    Sven Wagener
    Participant

    @mahype

    Hi Jalien,

    I have also thought about Blog Default Templates. Maybe in some time this function will be integrated. But at first we have to integrate all behaviours which can be copied for a blog (for example integrating categories).

    After this, we will think about it again.

    Thanks for your ideas!


    Anointed
    Participant

    @anointed

    I’m not sure that default blogs is setup correctly on my site.

    Here is a screenshot: default-blogs .1 bp 1.2.1

    http://shawngaffney.anointed.net/files/2010/03/20100315_defaultblog2.jpg

    I get the impression from the above replies, that I am supposed to see a list of available choices to add to new blogs from the default blog?


    Sven Wagener
    Participant

    @mahype

    Hi Anointed,

    this problem should be solved in the new versin 0.11 – beta.


    Sven Wagener
    Participant

    @mahype

    Hi Anointed,

    this problem should be solved in the new versin 0.11 – beta.


    Sven Wagener
    Participant

    @mahype

    New version is out:

    0.11

    Heavy Bugfix: Content of existing blogs have been deleted, if dashboard was visited and plugin was active. Now plugin won’t run anymore for blogs which have been created before plugin was enabled.

    Bugfix: Warning won’t be shown anymore, if blog dashboard was visited the first time

    New function: Added tabs to the admin area.


    Sven Wagener
    Participant

    @mahype

    New version is out:

    0.11

    Heavy Bugfix: Content of existing blogs have been deleted, if dashboard was visited and plugin was active. Now plugin won’t run anymore for blogs which have been created before plugin was enabled.

    Bugfix: Warning won’t be shown anymore, if blog dashboard was visited the first time

    New function: Added tabs to the admin area.

Viewing 25 replies - 1 through 25 (of 29 total)
  • The topic ‘Plugin Release: Default Blog Options’ is closed to new replies.
Skip to toolbar