Bruce Caldwell
Forum Replies Created
-
Forum: Reviews
In reply to: [Loglink] so practicalThanks very much for reviewing this plugin! We haven’t been keeping an eye on it in the last month or so, and we apologize for the late response.
Appreciate it! 🙂 Let us know if you have any issues with the latest release.
Thanks very much!
Totally! But you’ll need to remember that there are a bunch of extra
mod_rewriterules in that.htaccessfile, so you might not want to use that file unless it’s for a specific purpose.Alternatively, if you’re just wanting to block all access to a directory try adding a
.htaccessfile with just this in it:deny from allForum: Plugins
In reply to: [Member Approval] Approved Email has a bug in replacing names etcThanks very much! I’ve put this into my development environment. I’ll release this later tonight.
Forum: Plugins
In reply to: [Member Approval] Plugin settings page doesnt saveHi there,
I looked into this. The plugin currently isn’t Multisite compatible due to the way I set up the options variables here. I’m going to work on getting the plugin Multisite compatible in the new few days and I’ll update this thread when that’s possible. Thanks.
Forum: Plugins
In reply to: [Member Approval] Plugin settings page doesnt saveThanks. I’m looking into this now.
Forum: Plugins
In reply to: [Member Approval] plugin not working at inital registrationGreat! Thanks for the info. I’ll add this into the next release (should be out tonight).
Thanks for working through this with me :-). I didn’t forsee this as an issue, but if it happened on your site it could happen for others.
Forum: Plugins
In reply to: [Member Approval] plugin not working at inital registrationHi there,
If your theme is using the
user_registerhook to change the Role, it may be possible for this to be worked around. Try editing Member Approval’s/includes/hooks.phpfile, at line 9, changing this line:add_action('user_register', array('member_approval_restriction', 'maybe_disable_user')); // For adding the Meta Key (if activated)To this:
add_action('user_register', array('member_approval_restriction', 'maybe_disable_user'), 100, 1); // For adding the Meta Key (if activated)You should be able to do this within the WordPress Admin Menu. Click the Edit link on my plugin’s section of the Plugin’s list, and look for the file. Then run your test again.
If that works, let me know and I’ll add this to the next release. Changing this line puts the priority of the plugin’s disabling functionality (on registration) lower, so that hooks such as the one in your theme that change the Role will be fired before this plugin decides whether or not to disable the User based on Role.
Otherwise, changes will have to be made to your theme’s code, and there’s no way I can work around that within the scope of my plugin, sorry.
Forum: Plugins
In reply to: [Member Approval] plugin not working at inital registrationIf I also select subscriber then the approval process works but then all user roles selected or not are also required to be approved
Can you reproduce this within the WordPress Admin Panel’s New User page? I just tried to reproduce this and I wasn’t able to do so. This functionality simply checks to see if the User’s role is one of those selected in the admin panel so I don’t see how this is possible.
It’s possible that the registration form you’re using registers Users at the Subscriber level to start with, and then changes their Role after registration. That would cause this to happen, and there’s nothing I can do about that. If that’s the case then creating Users via the WordPress Dashboard should work correctly.
Forum: Plugins
In reply to: [Member Approval] plugin not working at inital registrationHi there,
I’m unable to reproduce this on my test installation. The restriction is working fine for me in a clean installation of WordPress.
The problem is likely to do with the way the registration form logs in the User after they register, and sends them to the redirection URL you have set up for that form. It may be necessary for my plugin to hook into the
user_registerhook earlier so that plugins such as yours can’t log in immediately after registration if their hook to theuser_registerfunction is given higher precedence.Could you tell me what plugin you’re using for this login/registration form?
Forum: Plugins
In reply to: [Member Approval] plugin not working at inital registrationI updated the plugin to use the already configured options to decide if and where to redirect if the User is logged-in when the plugin deactivates the User. If you’re using an error message, this logout will be silent. If you’ve set up a redirection URL in the admin panel, then the plugin will redirect there.
Forum: Plugins
In reply to: [Member Approval] plugin not working at inital registrationHey there,
Next release I’ll put a section in the Admin Menu for this. It should be possible to both silently log the User out (without redirecting them), where they will be simply logged out whenever they load the next page, or set up a custom redirect URL here. Not aware of any way to display a notice on the login page itself.
I’ll try to have this available in the next couple days.
Forum: Plugins
In reply to: [Member Approval] plugin not working at inital registrationJust updated the plugin to version 131009. This should resolve your issue. Thanks!
Forum: Plugins
In reply to: [Member Approval] plugin not working at inital registrationHi there,
Sorry for the delay in response!
Sounds like the plugin or system you’re using for User signup is automatically signing them in. The plugin doesn’t affect logged in Users currently. I’m going to release a new release that should fix this issue shortly. I’ll update this thread when that’s done. Thanks!
Forum: Plugins
In reply to: [Member Approval] Can this be applied to certain roles only?Hi there,
Sorry for the delay in reply!
Yes, if you take a look at the plugin’s menu under Settings -> Member Approval there’s an Applicable Roles section. This will control what WordPress Roles are affected by Member Approval. You can manually deactivate any User that’s not an Administrator through the Edit User Page regardless of the setting here.