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:
- Contact Form 7
Plugins that have been Network Activated are:
- Extended Super Admins
- Multisite Plugin Manager
- Networks for WordPress
- Simple Section Navigation Widget
- WordPress.com Custom CSS
- WordPress Hashcash
- WordPress MU Domain Mapping
- WPMS Mobile Edition
- XML Sitemap Feed
Thans for any thoughts :)
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...
Aaron
Member
Plugin Author
Posted 2 years ago #
Are there any errors in your log?
Aaron
Member
Plugin Author
Posted 2 years ago #
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 :(
Aaron
Member
Plugin Author
Posted 2 years ago #
I'll have to look into it when I get some time.
imoullet
Member
Posted 2 years ago #
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.
imoullet
Member
Posted 1 year ago #
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...
Aaron
Member
Plugin Author
Posted 1 year ago #
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.
Aaron
Member
Plugin Author
Posted 1 year ago #