Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Moderate New Registrations Based On IP Geographical Origin Details »»
Moderate New Registrations Based On IP Geographical Origin
Version: 3.00, by Jafo232 Jafo232 is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.7.5 Rating:
Released: 12-08-2008 Last Update: 02-10-2009 Installs: 92
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 works with 4.0.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
To upgrade, READ THE README, and re-install product (select overwrite).

Don't forget to:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 12-23-2008, 03:23 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, let me know how it works out for you in a while. I am considering expanding this to something more. Would be real interested in your feedback..
Reply With Quote
  #23  
Old 12-30-2008, 01:30 PM
Jim O's Avatar
Jim O Jim O is offline
 
Join Date: Mar 2006
Location: my house
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jafo232 View Post
Great, let me know how it works out for you in a while. I am considering expanding this to something more. Would be real interested in your feedback..
Unfortunately it does not seem to be working. For non-ARIN related IP's it defaults to the location of the Regional Internet registry such as RIPE or APNIC. So China IP's appear to come from Australia. I had a registration from China today from IP 58.244.50.212 which localizes to Changchun, Jilin, China but the mod (and test.php) saw it as Australia (APNIC headquarters) and let it through.

Not sure why that would be. Maybe a limitation of the whois function.
Reply With Quote
  #24  
Old 01-01-2009, 04:13 AM
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Location: CyberSpace
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

APNIC is Asia Pacific, not just Australia, FYI
Reply With Quote
  #25  
Old 01-01-2009, 05:01 AM
Jim O's Avatar
Jim O Jim O is offline
 
Join Date: Mar 2006
Location: my house
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jim O View Post
Unfortunately it does not seem to be working. For non-ARIN related IP's it defaults to the location of the Regional Internet registry such as RIPE or APNIC. So China IP's appear to come from Australia. I had a registration from China today from IP 58.244.50.212 which localizes to Changchun, Jilin, China but the mod (and test.php) saw it as Australia (APNIC headquarters) and let it through.

Not sure why that would be. Maybe a limitation of the whois function.
Quote:
Originally Posted by vbplusme View Post
APNIC is Asia Pacific, not just Australia, FYI
Your point????

FYI, please read my post slowly, it's quoted here in its entirety for your convenience, and then please show me where I said any such thing.

When I went to school I was taught that China was in fact in Asia, not in Australia, so give me just a bit of credit for knowing that APNIC does not refer to Australia alone.

What I said was: "For non-ARIN related IP's it defaults to the location of the Regional Internet registry."

Now just where is APNIC located? I'm not talking about the region it serves but where it is actually located (I even used the word "headquarters" in my post). Uhmm... hmmm... let's see. A quick look at http://www.apnic.net/info/contact/index.html will show they are pysically located in Milton, Brisbane, QLD, AUSTRALIA So Chinese IP's, and in fact all APNIC related IP's appear to be from Australia.

For the same reason, all RIPE related IP's appear to come from the Netherlands. Yes, I know there are many countries served by RIPE beside the Netherlands, but it is located in Amsterdam. So if I wanted to exclude Belarus the adaptation of this modification that I wrote would fail because Belarussian IP's appear, to this modification, to be from the Netherlands, just as Chinese IP's appear to be from Australia. I tested this with multiple IP's from multiple countries for both RIPE and APNIC and the results were 100% consistent.

Now have I made myself clear enough so you won't feel the need to make another drive by off topic comment?
Reply With Quote
  #26  
Old 01-17-2009, 12:09 PM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anybody tried this on 3.8?

Sorry, just saw in the first post that this should work on 3.8. I've installed so should know soon. If it works as described, this is a FANTASTIC hack. Thanks much.
Reply With Quote
  #27  
Old 01-18-2009, 11:14 AM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK....I had previously not moderated new members. I installed this yesterday and this morning found my first member in the moderation que. I have the US and Canada whitelisted. I ran this IP Address through Whois and it shows to be in Texas. Why was this registrant placed into moderation? 76.210.32.55
Reply With Quote
  #28  
Old 01-18-2009, 02:56 PM
kfiasche81 kfiasche81 is offline
 
Join Date: Sep 2004
Location: iTALY
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have write in the valid country : US,CA,IT
IT= italian
but a new user whit this ip 213.140.16.183 was made on moderation park.
Reply With Quote
  #29  
Old 01-20-2009, 03:08 PM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love what this mod is SUPPOSED to do but it's just not working for me. It is not correctly identifying the location of the IP addresses. It works for some but I have it set to not moderate users from the USA and Canada but it still puts some of them into moderation. Maybe the one that used the external whois would work better...I'm not sure but think I'll try it.
Reply With Quote
  #30  
Old 01-21-2009, 08:41 PM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've uninstalled it. Love the concept but it simply doesn't work. It keeps putting people into moderation who are within the countries that I have white listed. Will continue looking for a solution.
Reply With Quote
  #31  
Old 01-26-2009, 11:44 AM
kfiasche81 kfiasche81 is offline
 
Join Date: Sep 2004
Location: iTALY
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dknelson View Post
I love what this mod is SUPPOSED to do but it's just not working for me. It is not correctly identifying the location of the IP addresses. It works for some but I have it set to not moderate users from the USA and Canada but it still puts some of them into moderation. Maybe the one that used the external whois would work better...I'm not sure but think I'll try it.
Quote:
Originally Posted by dknelson View Post
I've uninstalled it. Love the concept but it simply doesn't work. It keeps putting people into moderation who are within the countries that I have white listed. Will continue looking for a solution.
me too
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 07:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05465 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete