[resolved] How do I block specific e-mail addresses ? (16 posts)

  1. Pagan Gwynne
    Posted 3 years ago #

    I'm running a wordpress subdomain multisite with buddypress on the main site, latest versions of all.

    I have one particular splogger who keeps registering and creating spam sites, I delete the site/user and the next day he's back. Same username, same e-mail address different site name.

    I can't block the e-mail domain, gmail, as a number of my registered users use gmail.

    I've looked around here and in the wp plugins directory and all I can find are ways to block by domain, which doesn't work for me.

    Is there a method or plugin that will work with the current versions of WPMS/BP to block by the full e-mail address ?

    Thanks in advance for any responses.

  2. For some reason I thought multisite had that built in... Dang, I may have to revisit BanHammer...

    http://wordpress.org/extend/plugins/sitewide-comment-control/ can stop them from commenting.

    Try this: http://buddydev.com/plugins/wordpress-ban-registration-domain/

  3. Pagan Gwynne
    Posted 3 years ago #

    Hi Mika thanks for the swift reply :)

    If multisite does have that built in I can't find it.

    I'm not worried about comments, the splogger isn't commenting, just setting up bogus sites.

    Thanks for the tip on http://buddydev.com/plugins/wordpress-ban-registration-domain/ to be honest thinking it was a WPMS problem I didn't think to check BP plugins.

    I'll try it sometime today and post the result here.


  4. Pagan Gwynne
    Posted 3 years ago #

    I tried Ban Hammer, doesn't work with WPMS :(

    I'd forgotten that I'd installed http://wordpress.org/extend/plugins/stop-spammer-registrations-plugin/ basically because once installed it didn't look that impressive and I thought I'd deactivated it, but surprise surprise, I login this AM and it's reporting that it had blocked over 20 spam attacks and upon further review, it has a blacklist section that allows you to block full e-mail addresses :)

    I guess I was just too tired (or frustrated) to pay it much attention yesterday. Ooops, hehe my bad. But it does seem to be working, so I'll leave it alone for now.

    Once again thanks for the input. :)

  5. Yeah, I didn't write banhammer to work with MS because you have a built in block, but I didn't know it was domain only! I'll have to work on that one!

  6. Pagan Gwynne
    Posted 3 years ago #

    Please do, the stop-spammer-registrations-plugin looked pretty good, but it doesn't work. It redirects everyone. If the IP number isn't in the whitelist, you get redirected, so it doesn't work 'only' from a blacklist. If your IP isn't specifically listed in the whitelist, you're outta luck. How on earth am I to attract new members to my site, if they can't get to my reg page !!??!!

    So..... back to the drawing board and back to fighting with my splogger. Dang, I thought this was over and I could go play with another part of WPMS.

  7. I'm digging around to parse it. I got about halfway through the code last night.

  8. Sorry for the double post. I think I have a working version. If you want to test the dev version: http://downloads.wordpress.org/plugin/ban-hammer.zip

    Network Activate it and go to Network Admin -> Settings -> Ban Hammer to block users across the whole network.

    I don't think it'll stop someone from inviting a user on the admin side, and I didn't test with BuddyPress yet.

  9. Pagan Gwynne
    Posted 3 years ago #

    Wow, thanks Mika, uploaded the new ban hammer, activated it via network settings, went to the ban hammer options page, added the sploggers e-mail and saved, so far so good.

    Then I went to the dashboard for my main site and saw this:
    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'banhammer_optionsmenu' was given in /pathtoroot/wp-includes/plugin.php on line 403

    So I deactivated it, went to my main site -> plugins and activated it there, same result.

    The above warning does not appear on the network page, just the dashboard of the main domain.

    But, I do have a ton of plugins (some network activated some only on the individual blogs) running across the network and haven't yet checked to see if there is a conflict, I'm also using Custom Community http://wordpress.org/extend/themes/custom-community as my main site theme. If you think it might be a conflict with another plugin let me know and I'll decavtivate them 1 by 1 to see which.

    Thank you very very much for the extremely swift and helpful responses,

  10. You should only be network activating (don't activate per-site, there's a bug in 3.4 that lets you activate network wide on the main site, annoyingly).

    Can you list what plugins your using? I can try and test 'em.

  11. Pagan Gwynne
    Posted 3 years ago #

    I tried both, network and site, just to see if there was a difference, same error on both.

    Here's a list of the plugins I currently have network activated, and I keep them all up to date:
    Buddypress, http://wordpress.org/extend/plugins/buddypress/
    Buddypress activity plus, http://wordpress.org/extend/plugins/buddypress-activity-plus/
    Buddypress humanity, http://wordpress.org/extend/plugins/buddypress-humanity/
    Buddypress media component, http://wordpress.org/extend/plugins/buddypress-media/
    Buddypress sitewide featured posts, http://wordpress.org/extend/plugins/buddypress-sitewide-featured-posts/
    Countdown timer, http://wordpress.org/extend/plugins/countdown-timer/
    Easy fancybox, http://wordpress.org/extend/plugins/easy-fancybox/
    Ephemeris, http://www.joeswebtools.com/wordpress-plugins/ephemeris/ (funny, but I could have sworn I dl'd this from the WP plugin directory)
    Exclude pages, http://wordpress.org/extend/plugins/exclude-pages/
    Floating admin menu,http://wordpress.org/extend/plugins/floating-admin-menu/
    Picatcha, http://wordpress.org/extend/plugins/picatcha/
    TinyMCE advanced, http://wordpress.org/extend/plugins/tinymce-advanced/
    WP photo album plus, http://wordpress.org/extend/plugins/wp-photo-album-plus/

    If you know of any plugins that will do the same job, but better than the above, please let me know, it's been sort of hit and miss as far as deciding which plugins to use as I'm often not sure what I'm looking for until I see it.

  12. Pagan Gwynne
    Posted 3 years ago #

    Ok, that was the network activated plugins, now for the site enabled plugins (said I had a ton of 'em hehe) I'm not necessarily married to any of these, and some are active only as long as I'm still working on the site (makes it easier for me) and will be gone once I'm happy with it.

    Allow multiple accounts http://wordpress.org/extend/plugins/allow-multiple-accounts/ (only available to me 'superadmin' + 'crashtestdummy' my testing account)
    April's Super Functions Pack http://wordpress.org/extend/plugins/aprils-super-functions-pack/
    BP Profile as Homepage http://wordpress.org/extend/plugins/bp-profile-as-homepage/
    BuddyPress Automatic Friends, http://wordpress.org/extend/plugins/bp-automatic-friends/
    BP Friends http://wordpress.org/extend/plugins/buddypress-friends/
    Community Blogs http://wordpress.org/extend/plugins/bp-community-blogs/
    Custom Profile Filters for BuddyPress http://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/
    Custom Shortcode Sidebars http://wordpress.org/extend/plugins/custom-shortcode-sidebars/
    Dynamic Widgets http://wordpress.org/extend/plugins/dynamic-widgets/
    Erocks Dashboard Lockdown http://wordpress.org/extend/plugins/erocks-dashboard-lockdown/
    Limit Blogs per User http://wordpress.org/extend/plugins/limit-blogs-per-user/
    Member Access http://wordpress.org/extend/plugins/member-access/
    Multisite Widgets http://wordpress.org/extend/plugins/mu-widgets/
    Network Latest Posts http://wordpress.org/extend/plugins/network-latest-posts/
    Special Recent Posts http://wordpress.org/extend/plugins/special-recent-posts/
    Visitor Maps and Who's Online http://wordpress.org/extend/plugins/visitor-maps/
    WP CleanFix http://wordpress.org/extend/plugins/wp-cleanfix/
    WPMS Sidebar Login Widget http://wordpress.org/extend/plugins/wpms-sidebar-login-widget/

    Once again, thanks for your time and effort.

  13. Oooh. BuddyPress.

    Okay, found the bug! I'm pushing a patch to the dev version, it's 90% there.

    It errors, but doesn't actually echo the error message. Need to figure out what I did wrong there. I forgot about BuddyPress in my test.

  14. Pagan Gwynne
    Posted 3 years ago #

    Hiya Mika,

    Ok so does that mean that the above link for ban hammer is updated ? should I try it again ?

    For now, I've closed registrations while I work on setting up a default blog. My site is for a niche group so I want the default blog to represent (partially anyways) the group interests. But I'm still going to be working on/looking for a way to stop the frewkin sploggers.

  15. This works: http://downloads.wordpress.org/plugin/ban-hammer.zip

    It's just not pretty ;) (Doesn't give a nice error message on BuddyPress, which I got sidetracked from this week)

  16. Pagan Gwynne
    Posted 3 years ago #

    Thank you once again.

    The couple of days I shut off registrations seems to have done some good too. Haven't had a splogger since I switched it back on. So as soon as one registers, I'll add him to the ban hammer and let you know what happens.

    Toodles for now :D

Topic Closed

This topic has been closed to new replies.

About this Topic