Version: 1.00, by Jafo232
Developer Last Online: Oct 2022
Category: Administrative and Maintenance Tools -
Version: 4.0.0
Rating:
Released: 12-26-2009
Last Update: Never
Installs: 211
Uses Plugins
Additional Files
No support by the author.
This mod will put any new registration into moderation so you can either approve or deny based on the physical location of the IP address. If the IP is located in a country that you white list, the registration will go through as normal.
This may be different for everyone else, but on my forums, I have yet to have a Russian IP sign up for anything other than posting SPAM. This plugin has moderated them all!
I hope to have time to eventually expand this to do other things. This also works on 3.8.x.
I run a local website, so only people in my community should be interested. I get tons of spammers trying to register daily, so this would be nice for me. But due to problems with a few locals (mainly one crazy who has registered repeatedly under different ips and names, 100+ times), I have all new registrations moderated anyway. It would be nice if registrations from countries I don't whitelist would just not go through at all. That way when I go through the list in moderation I won't have to sort through them at all. Is this possible? Or is this mod not useful to me since all registrations go into the moderation queue anyway?
I run a local website, so only people in my community should be interested. I get tons of spammers trying to register daily, so this would be nice for me. But due to problems with a few locals (mainly one crazy who has registered repeatedly under different ips and names, 100+ times), I have all new registrations moderated anyway. It would be nice if registrations from countries I don't whitelist would just not go through at all. That way when I go through the list in moderation I won't have to sort through them at all. Is this possible? Or is this mod not useful to me since all registrations go into the moderation queue anyway?
Thanks!
Well you would have to modify the whois.php file a little I would think. I am not testing this at the moment, but this would probably work:
Find this code in whois.php:
Code:
if (!in_array($country, $valid_countries)) { $userdata->set('usergroupid', 4); }
Change to:
Code:
if (!in_array($country, $valid_countries)) { standard_error('Sorry, we are not allowing registrations from your country.'); }
Thanks for the quick answer! I guess another option would be to create another usergroup and just have those not on the whitelist sent there, then I can just go in and delete them all periodically. Would that work?
Yeah, you would have to change the 4 in the same code I referenced above to the user group ID# that you create, but otherwise, you can do that too.. Or you could set it for the banned user group.
Is there a possibility to block the ip adresses in stead of moderating them.
So block the ip adres en moderate the others?
We have a small site and only want our members (about 400) to use the site.
Is there a possibility to block the ip adresses in stead of moderating them.
So block the ip adres en moderate the others?
We have a small site and only want our members (about 400) to use the site.
I'm guessing you didn't take the time to read the previous posts.