![]() |
Moderate New Registrations Based On IP Geographical Origin
1 Attachment(s)
Original 3.7 mod here.
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. You MUST download the zone files from this site: http://www.ipdeny.com/ipblocks/ (download the "all files" file) The free license does not allow me to include them with the product, plus it is better to download the latest files anyway. No real screenshots to show here, sorry. Changelog: 12/20/2008
Don't forget to: |
Reserved..
|
Sweet exactly what i needed. Installed.
|
Great, let me know how it works out for you. :)
|
Great Jafo good work..
Now how to block just Russian and Chinna :) how to use |
Oh this might be a blesing, Damn .ru spammers are a real headache.
Thanks. |
Quote:
Code:
if (!in_array($country, $valid_countries)) { $userdata->set('usergroupid', 4); } Code:
if (in_array($country, $valid_countries)) { $userdata->set('usergroupid', 4); } |
a much needed mod. .ru has been bothering me as well for a long time. and .cn as well.
|
OK..I am trying this one again. I get this in my VBulletin options:
You need to download zone files If you see an error below, then you did not upload the zone files yet (see readme). I have the zone files downloaded, unzipped and uploaded to the zones folder. This is ALL it says, no error. |
Quote:
Good, but I installed the entire members becoming Administrator shit :@ my usergroup id 4 is Administrator .. Having lost the posts etc. |
Quote:
thought 4 was coopa or waiting confirmation admin 6, supmod 5, mod 7. "by default" |
Quote:
|
Quote:
Never heard of anyone changing usergroup 4 to admin, but I guess that is just me. :) |
Quote:
|
Quote:
|
Quote:
What would the error say? Is that the "You need to download the zone file"? Is that the error? It seems to be working OK so far. |
Quote:
|
Thanks...I thought that was probably the case. So far, this seems to be working well. VERY GOOD.
|
1. You need to update the URL in the product file to point to this thread instead of the old 3.7 version thread.
2. I found a Leeds, Manchester, England registration in the moderation queue this morning although "GB" was in the approved countries list. I had the latest zone files but on checking discovered that the IP address (84.66.124.21) was not included in the gb.zone file. Added it manually with a text editor and notified the IP Deny site. Question: What messages if any are displayed/sent to a new registrant who is placed in the moderation queue as a result of this add-on? |
Quote:
IPDeny updates their zones daily so it is good practice to download them periodically. If someone has an IP with no country associated with it, it will default them to moderation. They are shown the standard message all users receive who are moderated. |
Quote:
|
Just do a test registration with moderation on, you will see all the phrases you need.
|
Quote:
I should have thought of this myself. Thank you! :o |
I think this is a great idea, and if it works, could help me prevent the hacking I've had for the past year from foreign IP users. Most are proxy users anyway.
Thanks! :up: |
My sincere thanks to Jafo232. This is really working well with the new Zone method. GREAT mod.
|
Quote:
|
Thanks for the tweak. Makes more sense to black list than to white list. Easier to manage.
Combine this hack with Human Verification and Forbid Users from Posting Links or Images if They Have Fewer than xx Posts, and every board should be SPAM free and confirmed registrations should be SPAMmer free. At least, that's what I'm hoping. :) Quote:
|
This hack alone has basically eliminated SPAM on my forums. Of course most of mine are English speaking so white listing is easier than black listing.
|
Quote:
|
Quote:
|
Thanks for the mod. I reversed it so the list would be a black list instead of a white list and seems to do whats required. Thanks again.
|
I have installed the app and get the following message after trying to register. This comes up after entering all of the information on the registration screen. Any ideas?
"Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 52 bytes) in ...whois.php on line 35" |
Sounds like the IP lists are too much for the small setting you have for max memory size in your PHP.ini file.
|
I need help to upload the folder inside the upload directory to my forum root. Can anyone help me with this?
|
This looks like a fantastic mod! This cold be the key to cutting my htaccess file down by 75% or more.
However, there's one issue. On my board, there's a few countries where a small majority, but not all new registrants, are spammers; India, the Philippines, and China. (Yes, I get legit users from China, but about 80% are spammers.) Right now, using .htaccess, I direct the bulk of IP blocks from those countries into a page like this: http://www.cyburbia.org/notice/forum_registration_india Quote:
It would be nice to have something where some countries are blocked from registering entirely (Former Soviet republics, Nigeria, Pakistan, Satellite IPs, Nigeria, Nigeria, Nigeria, Nigeria and Nigeria), while others can register, but they have to complete a few sentences about why they want to register. If they look legit, approve and send a form email. If not, deny. |
^^^ That's a fine idea.
Quote:
|
This is a nice mod, I've been getting a lot of crap users from Russia mostly. So this will probably help out alot. Just a couple questions though:
1. For this mod to take effect what settings do I need to have on in vB? 2. For a future version, could you put in the option to make it a white/blacklist? 3. Instead of having to type in the text string for country codes, could you have the mod parse the zones and display a list of them with check boxes? Thanks. |
Quote:
Quote:
|
i really hate russia for historical reasons but to say that every russian that comes to your site is a spammer that is really hazardous
there are many us spammers, actually usa is the "best" in the world when it comes to spam anyway a mod for blocking spammers by ip is a very good 10x i fear that the database from http://www.ipdeny.com/ipblocks could be somehow false - positive in some cases because for one bad user you could block 100 good ones if they use the same ip |
Quote:
And a checkbox list would be a lot easier than having to open up an external text file, search for the country, take down the code, go back to the ACP, put in the code, go back to the text file, etc... At the very least, having a link in the ACP to an alphabetical list of the countries and codes would make that easier. In case you're wondering, my area of expertise is usability and accessibility, it's what I do a lot of work on. |
All times are GMT. The time now is 06:18 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|