Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x 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: 1.00, by Jafo232 Jafo232 is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

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.

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

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
alfanexus, Insta-Gator

Comments
  #92  
Old 10-20-2012, 02:45 AM
The_Hawk The_Hawk is offline
 
Join Date: Aug 2009
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I should add that I also have this hack installed which provides a notification like new PM's and allows SuperMods to take action (instead of just admin). The other bonus is that there is a "BAN" button rather than just a deleting the ones you don't want (which means the spammers can just reuse those email addresses again).
https://vborg.vbsupport.ru/showthread.php?p=2015393

Problem is that this mod only works if you turn on moderation for ALL users… What I wanted to do was make the option appear in the ModCP WITHOUT turning on the "Moderate New Members" option.

To fix this problem I found that editing the xml install file and the user_moderation.php file removing the references to $vbulletin->options['moderatenewmembers'] means this little hack doesn't check to see if the moderate new members flag is on, but still checks everything else and still only allows supermods access. (which is exactly what I want).

While I understand this isn't supported by the creator (Mosh), it's only a minor mod and is easy enough to reverse if ever needed.
Reply With Quote
  #93  
Old 10-20-2012, 12:32 PM
chriske chriske is offline
 
Join Date: Oct 2008
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So if I block for instance all users from Russia. Will those ip addresses never change?

Like you block: 117.55.192.0/20
Is there a chance that ip address will be used by an other country in the future?
Reply With Quote
  #94  
Old 10-20-2012, 10:43 PM
The_Hawk The_Hawk is offline
 
Join Date: Aug 2009
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know enough to answer that question for you.... BUT, if you update the zones files every now and again you should be good
Reply With Quote
Благодарность от:
chriske
  #95  
Old 03-11-2013, 04:56 AM
The_Hawk The_Hawk is offline
 
Join Date: Aug 2009
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been having massive issues as it seems that the list on the website:
http://www.ipdeny.com/ipblocks/
doesn't include a bunch of ranges that I know are valid in Australia.

I used to get maybe one or two false positives a week, not it's more like three or four per day... sometimes more.

In any case at the moment I have added a new zone file xx.zone which I grabbed from here (for Australian in my case):
http://ipinfodb.com/ip_country_block.php#blocklist

I have then added the new XX domain to the "IP address exclusions" list in vBulletin which *should* now add those addresses to the exclusion list.

Now I KNOW that there is going to be cross over between my new XX zone and the original au.zone list from ipdeny. Hopefully this doesn't cause any issues... although I suppose we will see soon enough.

Fingers crossed it helps things.
Reply With Quote
  #96  
Old 09-19-2013, 12:12 PM
TheDevil666Damo TheDevil666Damo is offline
 
Join Date: Jan 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any plans to release this for vbulletin 5 connect?
Reply With Quote
  #97  
Old 09-20-2013, 03:33 PM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been running this on my 3.8 board for a LONG time and it has been fantastic. I just started a new site running the latest version of VB4. This installed fine and all the zone files are uploaded. US and CA are excluded but ALL new registrations are going to the moderation que. I've seen other reports of this same problem in this thread but have seen no answers as to why or how to correct it. Anybody know?
Reply With Quote
  #98  
Old 10-27-2013, 07:31 PM
asabet asabet is offline
 
Join Date: Dec 2008
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ipdeny.com doesn't seem to have a working download for "all" zone files. I have tried multiple times yesterday and today to download the GZ file, and it seems to download properly but has a file size of 0 bytes and contains no data. Tried on both Mac and PC with no luck.
Reply With Quote
  #99  
Old 10-30-2013, 03:51 AM
The_Hawk The_Hawk is offline
 
Join Date: Aug 2009
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Even downloading them individually gives 0kb results in many cases. It's had issues for a couple of months now
Reply With Quote
  #100  
Old 10-30-2013, 04:53 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The_Hawk View Post
Even downloading them individually gives 0kb results in many cases. It's had issues for a couple of months now
noticed the files from http://www.ipdeny.com/ipblocks are messed up
Reply With Quote
  #101  
Old 12-07-2013, 11:47 PM
datoneer datoneer is offline
 
Join Date: Jul 2011
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using vbulletin 4.2.2. I can't open this file all-zones.tar.gz, it says archive is damaged, what now?
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:52 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.04983 seconds
  • Memory Usage 2,335KB
  • Queries Executed 28 (?)
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_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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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