fkho
Forum Replies Created
-
Nice one! Thanks. I am not able to test it in these days but will let you know when I get to it.
Thank your for your reply. So is there some proposed workaround? Because if my visitors spoke English, I would not bother making multilanguage site… Or should I just exclude the problem site from the network and make it standalone?
Thank you for your reply, it helped. Maybe it would be good to have this advice in general description of your plugin ??
Forum: Plugins
In reply to: [Network Subsite User Registration] Taken To Main Site Registration PageLooks like I was expecting the behavior that @dwolfeman describes… Hoped it can be solved with single plugin.
I have similar problem, just without s2member.
“Registration has been blocked” when I try to access signup on the main page:
https://permakultura.sk/wp-signup.phpWhen I try to access subsite registration, I get redirected to the main page.
https://carpathians.permakultura.sk/wp-signup.phpIn the site setting for carpathians subdomain, there is Users Can Register = 1
In general network setting, I have selected “User accounts may be registered”In your plugin I enabled registration for the subsite and DISABLED for the main site.
When I turn off your plugin, the registration works (obviously only on the main site).
—
Now I figured out, that when I enable registration for the main site, the registration form appears. But with both settings enabled, the behavior is the same, as when there is no plugin installed. User tries to register on subsite, gets redirected to the main site, registers there, logs in and sees all the subsites as if registered without your plugin. Maybe I just do not get it…
Forum: Plugins
In reply to: [Plugin: WordPress Wiki] Call to undefined function array_fill_keys()Maybe it’s late but…
You could add this function on the top of wordpress-wiki.php:
function array_fill_keys($target, $value = '') { if(is_array($target)) { foreach($target as $key => $val) { $filledArray[$val] = is_array($value) ? $value[$key] : $value; } } return $filledArray; }
Copied from php manual and works fine for me.