New user moderation plugin won't work

The website is: http://www.gned.org. We've purchased, installed and configured the BuddyPress Community theme. At this point we've spent more time deleting spam user accts and spam groups and forums than we've spent writing for the blog. It's taking up much of our time.

I've tried resourcing plugins that would add moderation to new user accts. The first one I tried was new-user-approve.1.2.6. I've installed and activated it but new users are not getting moderated. I'm not getting an email about them signing up, nor is their user acct sitting in the area for users waiting for moderation.

Please help. Today we ended up with a slew of new groups, some of which were porn in nature.

Thanks. ~Trish

    Mason

    Hiya,

    Yeah, spam is definitely an on-going issue for any network

    The moderation plugin isn't built for BuddyPress so it won't help in your scenario. You should add our anti-splog plugin:
    https://premium.wpmudev.org/project/anti-splog

    And here's a great user thread on stopping spam signups:
    https://premium.wpmudev.org/forums/topic/how-i-stopped-splogs-and-spam-and-a-suggestion-for-the-wpmu-dev-folks

    Though it's an ongoing problem, hopefully the above links can help make it manageable.

    Thanks!

    GNED

    Thanks for your response Mason. I've tried the plugin that you suggested and ended up with the following message when I tried to activate it:

    Anti-Splog is only compatible with Multisite installs.

    I don't even know what a multi-site install is. Any other suggestions for plugins that will help us curb our spam invasion?

    Thanks Mason.

    Trish
    http://www.GNED.org

    Mason

    Hiya Trish,

    Yeah, I assumed you meant new site and user signups. My fault. You don't need Anti-splog for single-site installs.

    I don't see any updated plugins that provide for BuddyPress user signups. I just tried to look at the site but am getting a database connection error.

    At any rate, there is a way around this that doesn't require a full plugin. If you'd like to instead have all new registrations sent to you for manual approval/activation you could do the following:
    1. Go to wp-content/plugins/bp-custom.php (if the file doesn't exist you can just create one).
    2. Paste the following exactly:

    <?php
    function filter_replace_with_moderator_email($user_email) {
    return get_site_option( "admin_email" );
    }
    add_filter('bp_core_activation_signup_user_notification_to', 'filter_replace_with_moderator_email');
    ?>

    3. Now inside your theme, go to registration/register.php and look for lines 236
    4. Replace the following text:
    You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.
    With whatever you like. They'll no longer be getting the activation email (because you are) so you can just let them know they'll be activated after approval.

    Hope this helps until a proper plugin is released!

    Mason

    Hiya @catech,

    Hmm... this worked 2 months ago... though I suppose a new version of BuddyPress has been released since then so it's possible the code is no longer accurate.

    Try putting this in the bp-custom.php file:

    <?php
    function filter_replace_with_moderator_email($user_email) {
    return get_site_option( "admin_email" );
    }
    add_filter('bp_core_signup_send_validation_email_to', 'filter_replace_with_moderator_email');
    ?>

    Let me know how it goes.

    GNED

    Thanks Mason but can you please tell me what folder to find this file in. I can seem to find it. If I'm supposed to create that file, please tell me what folder to put it in. Thanks.

    Trish

    GNED

    Have done what you suggested masonjames but member is still getting the activation email. I'm going to have to invest in another membership plugin I think.

    Mason

    Hiya GNED,

    Just went back through this thread very carefully. I don't see where the membership plugin has been mentioned here before - just BuddyPress moderation.

    If you're using the membership plugin the above code will not work because Membership overrides the default signup process. Can you verify that you are using membership? If so, you can disable incomplete registrations within Membership>Options, then members will only be activated once they've chosen a subscription option.

    Thanks!

    GNED

    Thanks Masonjames! I just discovered that the code you sent me is working! I just received notice of a new member, then a few minutes later I rec'd the confirmation email that includes the activation link.

    Yeah! Thanks Masonjames!

    Trish at http://www.GNED.org

JOIN 405848 HAPPY MEMBERS

We pride ourselves on our level of customer support and responsiveness to member requests. Your WordPress experience will never be the same


Start free trial


ABOUT SSL CERTIFICATES