How do I block specific e-mail addresses ?
-
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.
-
For some reason I thought multisite had that built in… Dang, I may have to revisit BanHammer…
https://www.ads-software.com/extend/plugins/sitewide-comment-control/ can stop them from commenting.
Try this: https://buddydev.com/plugins/wordpress-ban-registration-domain/
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 https://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.
??
I tried Ban Hammer, doesn’t work with WPMS ??
I’d forgotten that I’d installed https://www.ads-software.com/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. ??
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!
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.
I’m digging around to parse it. I got about halfway through the code last night.
Sorry for the double post. I think I have a working version. If you want to test the dev version: https://downloads.www.ads-software.com/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.
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 403So 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 https://www.ads-software.com/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,
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.
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, https://www.ads-software.com/extend/plugins/buddypress/
Buddypress activity plus, https://www.ads-software.com/extend/plugins/buddypress-activity-plus/
Buddypress humanity, https://www.ads-software.com/extend/plugins/buddypress-humanity/
Buddypress media component, https://www.ads-software.com/extend/plugins/buddypress-media/
Buddypress sitewide featured posts, https://www.ads-software.com/extend/plugins/buddypress-sitewide-featured-posts/
Countdown timer, https://www.ads-software.com/extend/plugins/countdown-timer/
Easy fancybox, https://www.ads-software.com/extend/plugins/easy-fancybox/
Ephemeris, https://www.joeswebtools.com/wordpress-plugins/ephemeris/ (funny, but I could have sworn I dl’d this from the WP plugin directory)
Exclude pages, https://www.ads-software.com/extend/plugins/exclude-pages/
Floating admin menu,https://www.ads-software.com/extend/plugins/floating-admin-menu/
Picatcha, https://www.ads-software.com/extend/plugins/picatcha/
TinyMCE advanced, https://www.ads-software.com/extend/plugins/tinymce-advanced/
WP photo album plus, https://www.ads-software.com/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.
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 https://www.ads-software.com/extend/plugins/allow-multiple-accounts/ (only available to me ‘superadmin’ + ‘crashtestdummy’ my testing account)
April’s Super Functions Pack https://www.ads-software.com/extend/plugins/aprils-super-functions-pack/
BP Profile as Homepage https://www.ads-software.com/extend/plugins/bp-profile-as-homepage/
BuddyPress Automatic Friends, https://www.ads-software.com/extend/plugins/bp-automatic-friends/
BP Friends https://www.ads-software.com/extend/plugins/buddypress-friends/
Community Blogs https://www.ads-software.com/extend/plugins/bp-community-blogs/
Custom Profile Filters for BuddyPress https://www.ads-software.com/extend/plugins/custom-profile-filters-for-buddypress/
Custom Shortcode Sidebars https://www.ads-software.com/extend/plugins/custom-shortcode-sidebars/
Dynamic Widgets https://www.ads-software.com/extend/plugins/dynamic-widgets/
Erocks Dashboard Lockdown https://www.ads-software.com/extend/plugins/erocks-dashboard-lockdown/
Limit Blogs per User https://www.ads-software.com/extend/plugins/limit-blogs-per-user/
Member Access https://www.ads-software.com/extend/plugins/member-access/
Multisite Widgets https://www.ads-software.com/extend/plugins/mu-widgets/
Network Latest Posts https://www.ads-software.com/extend/plugins/network-latest-posts/
Special Recent Posts https://www.ads-software.com/extend/plugins/special-recent-posts/
Visitor Maps and Who’s Online https://www.ads-software.com/extend/plugins/visitor-maps/
WP CleanFix https://www.ads-software.com/extend/plugins/wp-cleanfix/
WPMS Sidebar Login Widget https://www.ads-software.com/extend/plugins/wpms-sidebar-login-widget/Once again, thanks for your time and effort.
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.
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.
This works: https://downloads.www.ads-software.com/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)
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 ??
- The topic ‘How do I block specific e-mail addresses ?’ is closed to new replies.