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
  #12  
Old 02-12-2009, 10:58 AM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bleros View Post

Good, but I installed the entire members becoming Administrator shit :@ my usergroup id 4 is Administrator .. Having lost the posts etc.
ohh gotta be carefull with mods in general then.
thought 4 was coopa or waiting confirmation
admin 6, supmod 5, mod 7. "by default"
Reply With Quote
  #13  
Old 02-12-2009, 11:02 AM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dknelson View Post
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.
You have the zones folder inside the plugins folder?
Reply With Quote
  #14  
Old 02-12-2009, 11:04 AM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bleros View Post

Good, but I installed the entire members becoming Administrator shit :@ my usergroup id 4 is Administrator .. Having lost the posts etc.
You must have really changed up your usergroups in the past. I agree, many plugins rely on 4 being the moderated usergroup. You can change that number to whatever your moderated usergroup is.

Never heard of anyone changing usergroup 4 to admin, but I guess that is just me.
Reply With Quote
  #15  
Old 02-12-2009, 01:21 PM
bleros's Avatar
bleros bleros is offline
 
Join Date: Oct 2008
Location: Macedonia
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vaupell View Post
ohh gotta be carefull with mods in general then.
thought 4 was coopa or waiting confirmation
admin 6, supmod 5, mod 7. "by default"
i know by default
Reply With Quote
  #16  
Old 02-12-2009, 01:28 PM
bleros's Avatar
bleros bleros is offline
 
Join Date: Oct 2008
Location: Macedonia
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jafo232 View Post
You must have really changed up your usergroups in the past. I agree, many plugins rely on 4 being the moderated usergroup. You can change that number to whatever your moderated usergroup is.

Never heard of anyone changing usergroup 4 to admin, but I guess that is just me.
yes mann im changing,, but can a back all group default
Reply With Quote
  #17  
Old 02-12-2009, 11:31 PM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jafo232 View Post
You have the zones folder inside the plugins folder?
Yes I do. I don't know that there is a problem. Like I said, it says on the left side "You need to download the zone file"....on the right it says If you see an error below, then you did not upload the zone files yet (see readme).

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.
Reply With Quote
  #18  
Old 02-12-2009, 11:42 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dknelson View Post
Yes I do. I don't know that there is a problem. Like I said, it says on the left side "You need to download the zone file"....on the right it says If you see an error below, then you did not upload the zone files yet (see readme).

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.
I should have worded that better. No, that is not the error.. You should be good. If you saw a white box BELOW that text with an error message, then the zone files would be missing. You should be all good.
Reply With Quote
  #19  
Old 02-12-2009, 11:54 PM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks...I thought that was probably the case. So far, this seems to be working well. VERY GOOD.
Reply With Quote
  #20  
Old 02-13-2009, 11:57 AM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #21  
Old 02-13-2009, 09:12 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djbaxter View Post
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?
They are the same product. The next version will be updated for only the latest version.

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.
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:40 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
  • Page Generation 0.07620 seconds
  • Memory Usage 2,334KB
  • 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
  • (8)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
  • (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_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
  • 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