Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Moderate New Registrations Based On IP Geographical Origin Details »
Moderate New Registrations Based On IP Geographical Origin
Mod Version: 1.00, by Jafo232 (Coder) Jafo232 is offline
Developer Last Online: Jan 2020 I like it Show Printable Version Email this Page

vB Version: 4.0.0 Rating: (16 votes - 4.81 average) Installs: 211
Released: 27 Dec 2009 Last Update: Never Downloads: 694
Not Supported Uses Plugins Additional Files  

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.

You MUST download the zone files from this site:

http://www.ipdeny.com/ipblocks/

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
  • Coded the routine in, instead of using external whois program.
  • Now compatible with Windows
  • (39 download of 1.0)
2/11/2009
  • 77 downloads at this point
  • Rewrote application to use zone files rather than relying on Arin
12/27/2009
  • Verified it works for 4.0
To upgrade, READ THE README, and re-install product (select overwrite).

Don't forget to:


Developed by a Lampwright!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Administrative and Maintenance Tools Moderate New Registrations Based On IP Geographical Origin Jafo232 vBulletin 3.8 Add-ons 89 26 Dec 2012 22:35
Administrative and Maintenance Tools Moderate New Registrations Based On IP Geographical Origin Jafo232 vBulletin 3.7 Add-ons 49 27 Aug 2012 16:36
Moderate Registrations From Certain IP Addresses Tigga vBulletin 3.0 Full Releases 16 08 Jun 2005 17:54

  #46  
Old 12 Jul 2010, 01:46
Nickbe Nickbe is offline
 
Join Date: Jul 2007
Wouldn't it be much better to have a field for countries we want to moderate as opposed to a field for countries we don't? (or have both?)

I mean I would like to moderate Russia and China only. So I am not going to spend 3 hours listing the country code for the other 200 countries I want to let through.

I know I can't do a better job and that I shouldn't complain about free stuff but I think it is logical.

Basically we have two fields....

Field 1 : Countries to let through without moderation
Field 2 : Countries to moderate

You leave field 1 blank let through without moderation all countries aside from the ones in field 2.
Reply With Quote
  #47  
Old 12 Jul 2010, 13:51
Jafo232 Jafo232 is offline
 
Join Date: May 2004
There are modifications that do this, read the entire thread..
__________________
Become a Lampwright today at www.lampwrights.com!
Reply With Quote
  #48  
Old 12 Jul 2010, 19:27
Nickbe Nickbe is offline
 
Join Date: Jul 2007
I did read the whole thread and I read it again cannot see anything related to what I suggested.
Reply With Quote
  #49  
Old 12 Jul 2010, 19:32
Jafo232 Jafo232 is offline
 
Join Date: May 2004
It makes no sense to have the two fields you suggest. If you have a field to let users through without moderation that is the same as creating a white list. The second list does the same exact thing.

I guess you did not look hard tho:

http://www.vbulletin.org/forum/showp...1&postcount=24
__________________
Become a Lampwright today at www.lampwrights.com!
Reply With Quote
  #50  
Old 12 Jul 2010, 19:38
Nickbe Nickbe is offline
 
Join Date: Jul 2007
I am not talking about a whitelist. I am talking about a black list.

There are roughly 200 countries in the world. I want to black list 2 of those countries..... Russia and China. Under the current system that requires me to manually whitelist 198 countries. If instead there was was blacklist field I would simply have to blacklist 2 countries.
Reply With Quote
  #51  
Old 12 Jul 2010, 19:43
Jafo232 Jafo232 is offline
 
Join Date: May 2004

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

There, you now have a blacklist..
__________________
Become a Lampwright today at www.lampwrights.com!
Reply With Quote
  #52  
Old 12 Jul 2010, 20:16
Nickbe Nickbe is offline
 
Join Date: Jul 2007
Ok i amde the change and it worked perfectly. Thanks for that.
Reply With Quote
  #53  
Old 23 Jul 2010, 18:07
pjcnlv pjcnlv is offline
 
Join Date: Jul 2007
I am seeing exactly the same with no info why in the logs.

Mod is disabled for now.

Originally Posted by The_Hawk View Post
Seems new registrations aren't happening anymore with users getting a blank screen on this page after filling in all the registration info and hitting OK:

http://www.vwwatercooled.org.au/regi...p?do=addmember

I'm sure this mod WAS working fine with 4.0.2 PL4 but has since given up the ghost.

As first I thought it was a vBulletin problem so I upgraded to 4.0.3, still no working. I then through it was the vbSEO I installed last week (3.0.5 RC3) so I uninstalled that, still no dice. Then I turned off the country mod and BAM, users can register again.

Re-installed vbSEO, still working.
Uninstalled Country Mod (rather than just disabled) - still working.
Re Installed Country Mod - Not working.
I have re-uploaded the zone files, I have re-uploaded the mod files - still not working
Disabled country mod - working again.

Is there a common fault here or is it just something I have done wrong?

(on a side note all of this DID happen on or about when I install vbSEO so I'm still thinking that's the problem, although technically by completely uninstalling it should have solved the problem... but it didn't)
Reply With Quote
  #54  
Old 23 Jul 2010, 19:08
Nickbe Nickbe is offline
 
Join Date: Jul 2007
Mine works fine on 4.0.3
Reply With Quote
  #55  
Old 23 Jul 2010, 23:17
The_Hawk The_Hawk is offline
 
Join Date: Aug 2009
Originally Posted by pjcnlv View Post
I am seeing exactly the same with no info why in the logs.

Mod is disabled for now.
As below, my problem was showing in the logs and was a memory out issue, still seems to be going well, no issues since more RAM was allocated

Originally Posted by Jafo232 View Post
Your memory_limit setting in your php.ini file is rather low (32 Megabytes). If you bump that up and restart apache, the issue will most likely go away. I would try 64M.
Originally Posted by The_Hawk View Post
Many thanks, that did the trick and it all seems to be working under 4.0.3 PL1 here now
Reply With Quote
  #56  
Old 09 Nov 2010, 17:45
amorosso amorosso is offline
 
Join Date: Apr 2010
While uploading I was watching someone from China trying to register. Not anymore, Thank you very much.. Installed and working on 4.0.8
Reply With Quote
  #57  
Old 11 Nov 2010, 06:37
PSimmo PSimmo is offline
 
Join Date: Apr 2010
doesnt work for me on 4.08.
Uploaded the all the zone files into plugins/zones and it still says I need to download the zone files.
Reply With Quote
  #58  
Old 22 Dec 2010, 09:30
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
Will this work in 4.1?

Thanks
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #59  
Old 22 Dec 2010, 20:21
The_Hawk The_Hawk is offline
 
Join Date: Aug 2009
I'm running 4.1.0 PL2 and it's ticking along fine.
Reply With Quote
  #60  
Old 24 Dec 2010, 19:10
deschutes deschutes is offline
 
Join Date: Sep 2008
This mod is exactly what I have been looking for. I made the change shown in post #51 to make it more of a blacklist (CN,RU,PK). If you do any further development it would be cool to provide a switch in the options to make it either a whitelist or blacklist. It appears to work just fine with VB 4.0.8. Hopefully this will eliminate the flood of spam registrations I have been getting from Pakistan lately.

Thanks!

Last edited by deschutes; 24 Dec 2010 at 19:24.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:49.

Layout Options | Width: Wide Color: