Back to vBulletin 4.x Add-ons

Allow registration only from specified CIDR/IP(s) + include exceptions
Mod Version: 1.2.1, by LordOfWAR_PC

vB Version: 4.x.x Rating: (1 vote - 5.00 average) Installs: 14
Released: 16 Jan 2011 Last Update: 18 Jan 2011 Downloads: 90
Not Supported Uses Plugins Re-usable Code Translations  

Mod was updated to the 1.2.1 version.

With using "Allow registration only from specified CIDR/IP(s)" plugin, you can allow registration on your forum only from specified CIDR(NetMask) region(s), like (192.168.1.0/24) or from specified IP addresses (like 192.168.1.1 and e.t.c.). Also you can allow all subnetworks and make an exception for others (ban them) by entering them into exceptions list (check example in the screenshot).

This modification was created using http://snipplr.com/view/15557/cidr-class-for-ipv4/'s PHP functions.

If you want to allow some subnetwork, but you don't know how to write it in CIDR formatting, then you can use for that simple http://www.subnet-calculator.com/cidr.php.

If you don't know what means CIDR/VLSM, you can read this article on Wiki - https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing.

Product was tested on VB 4.0.1, but it also must works on VB 3.x.x - 4.x.x.

Options screenshot :

As we can see from this screenshot, I am allowed all subnetworks (0.0.0.0/1,128.0.0.0/1) and denied only 192.168.1.0/24 subnetwork. But I also used IP exception list and allowed "192.168.1.3" IP adress, which is in denied subnetwork.


Error message :


Installation :

Just import xml file as usual VB product.

Uninstallation :

Just uninstall this product as any other VB product.

How to update :

Uninstall and then reinstall product (before that, it is recomended to save your old options into some place).

For multilanguage forums :

After installing of "Allow registration only from specified CIDR/IP(s)" product, you will be able to find and edit needed vbphrases :
  • allowregsfromcidr_error
  • setting_allowregsfromcidr_onoff_desc
  • setting_allowregsfromcidr_onoff_title
  • setting_allowregsfromcidr_masks_desc
  • setting_allowregsfromcidr_masks_title
  • setting_allowregsfromcidr_iplist_desc
  • setting_allowregsfromcidr_iplist_title
  • setting_allowregsfromcidr_cidrexceptionlist_desc
  • setting_allowregsfromcidr_cidrexceptionlist_title
  • setting_allowregsfromcidr_ipexceptionlist_desc
  • setting_allowregsfromcidr_ipexceptionlist_title
  • settinggroup_allowregsfromcidr

(English, Arabic (by Dr.osamA) and Russian language included).

Download

File Type: %1$s [3-4.x.x]_Allow_Regs_From_CIDR_1_2.zip (128.7 KB, 88 downloads)

Screenshots

Click image for larger version
Name:	error.jpg
Views:	733
Size:	41.4 KB
ID:	125691   Click image for larger version
Name:	params_en.jpg
Views:	621
Size:	158.9 KB
ID:	125722  


vblts.ru supports vBulletin®, 2022-2024