Ed
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Users issueHow hard would it be to export and import the content to another blog, remove the original one and import it back again to re-create the entire blog?
Forum: Networking WordPress
In reply to: Multisite registration spamIs Akismet not effective for you?
Forum: Networking WordPress
In reply to: Users issueDo the users appear in /wp-admin/network/site-users.php?id=1 replacing the siteid with the correct one for the problem blog? If so, remove them from there and re-add. They’ll be missing some meta information in the DB that will be recreated when they are added again.
Forum: Networking WordPress
In reply to: Large installation, comments timeoutDo you have any third party comment plugins enabled, something could be timing out somewhere or limiting it at least?
Also look at enabling APC opcode caching if you haven’t already, that sped ours up a lot. Definitely do a repair/optimize on the entire DB when it’s quiet if you can.
Finally it would be good to check with something like the debugbar plugin to see what queries are being run, check slow queries log too in mysql.
There was a problem with a previous version last week that broke WPMS when the plugin was network activated, that’s now been rectified though. Not sure if that was the same issue, best to test it and just have ftp open to remove the plugin again if it crashes.
You mentioned you’d like a multisite install to test the plugin with, email me at ed at primaryt.co.uk and I’ll sort you out on ours.
Cool, I’d check if there are any more IP’s available at the moment. They’re adding more each day afaik.
Cool, I’d double check that code though. Think it broke all uploads when I used it, needs tweaking. Will update when I get a chance to test it again.
Forum: Plugins
In reply to: [WP Better Emails] [Plugin: WP Better Emails] Multisite compatibilityAlso doesn’t insert any data into the other blogs unfortunately. Will try hack something out until the developer decides if he wants to support WPMS networks.
Anyone else interested in this can add the following to the plugin, although there are actually plugins out there that do the same. Would be nice to add either another text file to add exclusions to or write an admin page for it.
add_filter('upload_mimes', 'restrict_mime'); function restrict_mime($mimes) { $mimes = array( 'mp3' => 'audio/x-mpeg' ); return $mimes; }
This will block MP3’s being uploaded unless the user has unfiltered uploads on their account.
Could try just modifying the options in wordpress-firewall2.php
add_option('WP_firewall_whitelisted_ip', serialize( array( '0' => $_SERVER['REMOTE_ADDR'], '1' => '204.93.240.0/24', '2' => '204.93.177.0/24', '3' => '199.27.128.0/21' '4' => '173.245.48.0/20' '5' => '103.22.200.0/22' '6' => '141.101.64.0/18' '7' => '108.162.192.0/18' ) ) ); update_option('WP_firewall_whitelisted_ip', serialize( array( '0' => $_SERVER['REMOTE_ADDR'], '1' => '204.93.240.0/24', '2' => '204.93.177.0/24', '3' => '199.27.128.0/21' '4' => '173.245.48.0/20' '5' => '103.22.200.0/22' '6' => '141.101.64.0/18' '7' => '108.162.192.0/18' ) ) );
I’ve done similar but with different IPs and it’s worked on network activation fine.
Tried subnet IPs?
204.93.240.0/24;
204.93.177.0/24;
199.27.128.0/21;
173.245.48.0/20;
103.22.200.0/22;
141.101.64.0/18;
108.162.192.0/18;Not sure if there’s been anymore added, that’s what we use though.
Add your IP to the whitelist. Also Firewall 2 isn’t really Multisite enabled, each site has it’s own settings so if you have a lot of sites you won’t have much fun. I’m looking at hardcoding everything for the time being.
Forum: Plugins
In reply to: [CDN Linker lite] [Plugin: CDN Linker lite] Multisite users files?You can’t link the /files/ directory from another sub domain due to the way redirection works in MultiSite mode. Each files directory is directly linked to a blog ID for security. You’re best off excluding files and wp-content/blogs.dir/ from your CDN rules.
Forum: Networking WordPress
In reply to: Multisite CDNAny update on this Frederick? I’d love to try it too.