WordPress.org

Support

Support » Plugins and Hacks » Multisite Plugin Manager » [Resolved] [Plugin: Multisite Plugin Manager] Auto-Activate not working

[Resolved] [Plugin: Multisite Plugin Manager] Auto-Activate not working

  • Hi,

    Trying Multisite Plugin Manager on a WP3.1 Multi-site install, I notice the plugin I have set to Auto-Activate (as test) is not activated on a freshly created site in the network 🙁

    The plugin I am trying to activate on blog creation is:

    1. Contact Form 7

    Plugins that have been Network Activated are:

    1. Extended Super Admins
    2. Multisite Plugin Manager
    3. Networks for WordPress
    4. Simple Section Navigation Widget
    5. WordPress.com Custom CSS
    6. WordPress Hashcash
    7. WordPress MU Domain Mapping
    8. WPMS Mobile Edition
    9. XML Sitemap Feed

    Thans for any thoughts 🙂

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hiya!

    Are you able to manually activate that plugin on the new site?

    Phil

    Hi Phil, thanks for your support 🙂

    Yes, I can (did) activate the plugin manually. Let me know if you want me to test anything…

    Plugin Author Aaron Edwards

    @uglyrobot

    Are there any errors in your log?

    Plugin Author Aaron Edwards

    @uglyrobot

    If not, try installing the main plugin file in /mu-plugins/ folder (create it) and see if that makes a difference.

    I’ve moved the plugin to /mu-plugins/ but still no dice… and nothing in the error log 🙁

    Plugin Author Aaron Edwards

    @uglyrobot

    I’ll have to look into it when I get some time.

    Any news concerning auto activate?

    I run WP 3.12. and the latest release of multisite plugin manager and have the same problem for auto-activate not working.

    thanks for your help..

    I’m using WP 3.2.1 and I’m having the same issue as well.

    I could finally find the workaround..

    Just comment the if statement line 313 in plugin-manager.php as follows ($supporter_control_auto seems to be undefined)

    //activate on new blog
    function new_blog($blog_id) {
    require_once( ABSPATH.’wp-admin/includes/plugin.php’ );

    $auto_activate = (array)get_site_option(‘pm_auto_activate_list’);
    // if (count($supporter_control_auto)) {
    switch_to_blog($blog_id);
    activate_plugins($auto_activate, ”, false); //silently activate any plugins
    restore_current_blog();
    // }
    }

    Hope that helps..

    Excellent! Thanks for finding and sharing, imoullet 🙂

    Hope it makes it into trunk for the next release…

    Plugin Author Aaron Edwards

    @uglyrobot

    Hey guys, fixed in 3.1, thanks!

    Thanks imoullet, I implemented that earlier today and it works.

    Aaron, does the fix consist of more than just commenting out or deleting that chunk of code? Thanks.

    Plugin Author Aaron Edwards

    @uglyrobot

    Yes.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Resolved] [Plugin: Multisite Plugin Manager] Auto-Activate not working’ is closed to new replies.
Skip to toolbar