Hello.
Nice plugin. Works really well.
I have a request – and if you can make it – I will of cause make a good donation.
When one is logged in, one have access to all sites of the network – even if they are only registered at one of the network sites. It would be awesome if one only had access to his “own” site(s) to where he is registered.
Would it be possible?
That would be awesome. There are so many plugins who claims that they can do it – but they can’t, in the new MultiSite, only in the old Multi Users system.
Have a nice day.
Bw. Athen
https://www.ads-software.com/extend/plugins/force-user-login-multisite/
]]>Hi there,
I have set up a WordPress site in a subfolder of my website (e.g. mysite.com/blog) and after I activated this plugin I got redirected to e.g. mysite.com/wp-login.php. Since that file doesn’t exist I got Error 404.
Fortunately this issue can be resolved by a small change to the code:
On the bottom of force-user-login-multisite/force-login-multisite.php
:
header('Location: /wp-login.php?redirect_to=' . $redirect_to);
has to be changed to:
header('Location: ' . get_site_url() . '/wp-login.php?redirect_to=' . $redirect_to);
And now it works as it should!
Enjoy!
https://www.ads-software.com/extend/plugins/force-user-login-multisite/
]]>After upgrading to 3.3 this plugin didn’t let anyone log in to the site anymore
https://www.ads-software.com/extend/plugins/force-user-login-multisite/
]]>This was working for the site I created using WP 3.2.1; I upgraded to WP 3.3 tonite and instead of being re-directed upon access attempt to the private area of the site, I am re-directed back to the home page, regardless of the fact that I am an admin / super admin for the entire network of sites.
I deactivated the plugin and I can now access the private area as expected.
Just in case this was interference from another plugin I use on the site, I disabled “Peter’s Login Redirect” and re-enabled “Force User Login Multisite”; same behavior, instead of being allowed access to the private area despite being logged in as an admin, I can no longer access that part of the site.
https://www.ads-software.com/extend/plugins/force-user-login-multisite/
]]>I found that the redirect page was putting me in an infinite loop. What worked better for me was to redirect the user to wp-admin/my-sites.php which will simply tell the user what sites they do have access to. This simply involved modifying lines 94 and 106 of version 1.2.1.
Line 094: $redirect_to = 'wp-admin/my-sites.php';
Line 106: header('Location: ' . $redirect_to);
]]>