Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 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.8.1 Rating:
Released: 02-10-2009 Last Update: Never Installs: 168
Uses Plugins
Additional Files  
No support by the author.

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
  • Coded the routine in, instead of using external whois program.
  • Now compatible with Windows
  • (39 download of 1.0) (3.7.x)
2/11/2009
  • 77 downloads at this point (3.7.x)
  • 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:

Download Now

File Type: zip countrymod3.0.zip (5.1 KB, 700 views)

Show Your Support

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

Comments
  #62  
Old 10-12-2010, 01:40 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imported_silkroad View Post
I will not be around in this mod-thread very long.
On behalf of the rest of the thread, thank you.
Reply With Quote
  #63  
Old 10-12-2010, 01:54 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't think any agrees with you, djbaxter.

You are simply a mod cheer leader who does not understand what he is talking about and is not interested to learn more. You have provided no relevant technical information and you reject knowledge, as if knowledge is some kind of distasteful virus, LOL.

Plus, you are also not honest, since you said you were not going to post a reply and not argue, but you prove that (1) you don't understand geo-location, (2) you don't understand anti-spam technology, and (3) you like to argue about things you really have little clue about.

You should try to learn about geo-location and other technologies and contribute v. just being a forum-mod cheer leader (and a dishonest one at that!)

Ask some useful question, if you care about this mod... and try to improve it, if you have the technical ability.
Reply With Quote
  #64  
Old 10-12-2010, 01:58 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imported_silkroad View Post
This is a nice mod, but wouldn't it be both more accurate and more "updated" to simply use use mod_geoip for Apache2 and install the free MaxMind GeoIP database which is (claimed to be) 99.5% accurate at the country level?

Then the code could be much more simple, to simply match the white list (or black list) vB options country code with the country code from a very simple Apache2 mod_geoip function:

Code:
$_SERVER['GEOIP_COUNTRY_CODE']
Sure this would be great.. You would not happen to know how to do this on a shared server would you?
Reply With Quote
  #65  
Old 10-12-2010, 02:05 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imported_silkroad View Post
I don't think any agrees with you, djbaxter.

You are simply a mod cheer leader who does not understand what he is talking about and is not interested to learn more. You have provided no relevant technical information and you reject knowledge, as if knowledge is some kind of distasteful virus, LOL.

Plus, you are also not honest, since you said you were not going to post a reply and not argue, but you prove that (1) you don't understand geo-location, (2) you don't understand anti-spam technology, and (3) you like to argue about things you really have little clue about.

You should try to learn about geo-location and other technologies and contribute v. just being a forum-mod cheer leader (and a dishonest one at that!)

Ask some useful question, if you care about this mod... and try to improve it, if you have the technical ability.
I believe you have me confused with someone else.
Reply With Quote
  #66  
Old 10-12-2010, 02:08 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jafo232 View Post
Sure this would be great.. You would not happen to know how to do this on a shared server would you?
I think most servers in shared environments have mod_geoip, mod_curl, etc. installed already. They can also run geoip as Javascript, etc.

These mods and capabilities are pretty standard these days.

For those small number of forums who don't, they can configure geoip in many other ways too. Please see the MaxMind API documentation. They describe many APIs (Perl, PHP, C, Java, etc).

Did you read the MaxMind GeoIP API docs?
Reply With Quote
  #67  
Old 10-12-2010, 02:10 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is a list of APIs supported from the MaxMind web site:

GeoIP APIs
Reply With Quote
  #68  
Old 10-12-2010, 02:15 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As someone who has a lot of experience with other peoples shared server you are wrong. It is not installed on the vast majority.

As for using the API, sure, that is an option, but then you open up several other issues:
  1. What if their service is down?
  2. What if the shared environment will not allow curl, furl_open etc.? There are quite a few who do not.
Reply With Quote
  #69  
Old 10-12-2010, 02:19 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think you don't understand GeoIP, Jafo !!

Most people run the database on their server and don't make a remote call back to the remote (the MaxMind) web site !

You really have not read the full documentation and you have no experience installing GeoIP.

Do you really think that the only way to use GeoIP is to make a remote call back to their (the MaxMind) server??

Really?
Reply With Quote
  #70  
Old 10-12-2010, 02:24 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imported_silkroad View Post
I think you don't understand GeoIP, Jafo !!

Most people run the database on their server and don't make a remote call back to the their (the MaxMind) web site !

You really have not read the full documentation and you have no experience installing GeoIP.

Do you really think that the only way to use GeoIP is to make a remote call back to their (the MaxMind) server??

Really?
Hey silkroad, I work for multi-million dollar websites, go back to picking your nose..
Reply With Quote
  #71  
Old 10-12-2010, 02:32 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jafo232 View Post
Hey silkroad, I work for multi-million dollar websites, go back to picking your nose..
Hey Jafo,

You might work for multi-million dollar websites; but you don't understand anything about GeoIP.

You have never installed it. You have not read the documentation. You know nothing about it.

PS: Multi-million dollar web sites don't run on shared hosting. Sounds like you work on little tiny web sites, LOL, Since only small web sites run on shared hosting without root access.

You can argue now, and you can hurl all the insults you want; but the bottom line is that you have no idea what you are talking about.

While I am off "picking my nose", why don't you go download the GeoIP API you like and install it and learn something about what you need to learn.

If you are such a great "web guru on multi million dollar sites" you can update your mod to use GeoIP before I get a chance to do "the pickin'"

Your mod is really poorly written. Why not listen and improve it?

Edit: Why do you think OpenX Ad server, which serves more ads that any (free) ad server on the market, uses GeoIP?
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 05:35 AM.


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.04981 seconds
  • Memory Usage 2,353KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (1)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete