Aren Cambre
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Redirect all login attempts to root login page with mod_rewriteI suspect the problem is that wp-login.php passes params on it’s own, and your borking those.
But doesn’t mod_rewrite complete its operations before the PHP executes? If this RewriteRule was working, then seems like there’s no way I could possibly end up at a subsite’s wp-login.
And I wasn’t clear about something. Since I am in subdirectory mode, if I hit the login page for any individual blog except the base blog, the URI stem will be /blogname/wp-login.php. I want to redirect any such hit to /wp-login.php, so that they have to log in to the base blog first.
Forum: Networking WordPress
In reply to: Redirect all login attempts to root login page with mod_rewriteSorry for the slow response. Was out of the office for a while.
They are above all WP ones. Here’s the top few lines of the .htaccess file:
php_value upload_max_filesize 100M php_value post_max_size 200M RewriteEngine On RewriteBase / # take users from an individual blog's login page back to the # root login page RewriteRule ^.+wp-login.php(.*)$ wp-login.php$1 [L,NC]ALL other redirects are after here.
Thank you!
Forum: Fixing WordPress
In reply to: Child themes doesn't show up in MAMPI ran into this, too. I’ve filed a bug report at http://core.trac.wordpress.org/ticket/19854. No warning at all is not a helpful behavior.
Forum: Plugins
In reply to: [Plugin: Active Directory Integration] Single config for multisiteI think you got locked out because the Active Directory Integration module lost all its settings. See what I’m reporting in prior posts here.
Try this–log in and be sure to select Remember Me. Now add Curtiss’s plugin. Now navigate back to the Active Directory Settings module’s settings. Did all your settings disappear? If so, fill them back in.
http://wordpress.org/extend/plugins/google-analytics-multisite-async/ supports multisite.
It turns out that http://wordpress.org/extend/plugins/google-analytics-multisite-async/ does fine with multisite.
Forum: Plugins
In reply to: [Plugin: Active Directory Integration] Single config for multisiteMy ADI plugin loses all its settings every time I network activate a module. Could it be related to the mini-module that Curtiss Grymala above recommended for the mu-plugins folder?
@progresst: Ultimate Google Analytics has not been updated in over 3 years: http://www.oratransplant.nl/uga/#versions. Not sure I’d trust it for production use.
Is there a Google Analytics plugin that would allow me to specify a GA profile once for all blogs?
Would also love to hear an update. I just found the hard way that this doesn’t work on a Network (multisite): http://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-network-activate
There is no reference to Google Analytics under Network Admin > Settings. There is Network Admin > Settings > Settings (/wp-admin/network/settings.php), but that only has generic settings for the entire network like Operational Settings, Registration Settings, etc.
Now do you mean that I should visit Settings > Google Analytics in each blog on the network? If yes, then I may have misstated. I hoped this plugin would allow me to set one Google Analytics Profile for all blogs in my WordPress network. Is that not possible?
Forum: Networking WordPress
In reply to: Can blog admin (not network admin) add new user?Has been reported at http://bt.ecw.de/view.php?id=11.
Ok, just want to confirm that deleting line 455 (
if( !empty($line) )) fixed everything for me. Now line 456 ($line .= "\n";) is executed every time, and paragraphs aren’t munged together.This may add an extraneous
\nto the end of certain variables. This might need to be cleaned elsewhere?Submitted bug report: http://core.trac.wordpress.org/ticket/16147
I think I found it. Lines 455 and 456:
<?php if( !empty($line) ) $line .= "\n"; ?>At this point, the script is processing the inside of a field.
$linewas set in line 340 with$line = trim($line);, which per http://php.net/manual/en/function.trim.php would have stripped off the\n. So a line that was originally nothing other than\nis now blank when it hits line 455, and because ofif( !empty($line) )In a nutshell, if the line was only
\n, that\nwas stripped and is not added back. Hence double vertical spaces are being collapsed into single vertical spaces.