Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Hostname or Useragent Registration Ban Details »»
Hostname or Useragent Registration Ban
Mod Version: 1.0.3, by nhawk (Coder) nhawk is offline
Developer Last Online: Nov 2014 I like it Show Printable Version Email this Page

vB Version: 4.1.5 Rating: (7 votes - 5.00 average) Installs: 55
Released: 24 Feb 2012 Last Update: 12 Dec 2013 Downloads: 224
Supported Uses Plugins Additional Files External Content  

This is an add-on that is designed with vBulletin 4.1.5. It may not work on earlier versions of vBulletin. It is known to be working on vB versions 3.8.7, 4.0.7 and 4.1.5 through 4.2.0. I don't know if it is compatable with all versions of vB or not.

On my site, I receive quite a few PMs asking me how I prevent spam from being posted there. While I can't release everything I use because some of it is server based (external from vBulletin), I can release one of the lines of defense that I use.

This mod allows you to ban Hostnames and Useragents from registering on your site.

If a hostname or useragent contains any of the words you specify and they are trying to register, they are presented with an error telling them they are forbidden from registering on your site. And no registration screen ever appears.

In the event the hostname is blank, a WHOIS can be performed to establish the identity of the system being used to register.

The 'External Content' pulled by this mod is only the WHOIS information when that is enabled.

WARNING: This mod has the potential of banning humans from registering. Choose what words you use carefully.

Personally, I am not very concerned about banning an occasional human from registering. So, from time to time my system may ban a human that uses an anonymous proxy.

NOTE: This mod has a 'Don't Ask, Don't Tell' clause. Please don't post telling people what words to ban. We don't need spammers getting around this mod by reading posts telling them what is being filtered.

REQUIREMENTS: In order for the WHOIS function used in this mod to work properly, your server must have OPENSSL installed.


* INSTALLATION *
---------------------
1) Upload the contents of the 'upload' folder to your forum's root.
(If your forum's location is http://www.example.com/forums/, the root is /forums/)

2) Import the product XML file (product-hostusercheck.xml) into the Product Manager in AdminCP.

3) Take some time to set the options in ACP->Settings->Options->Prevent Hostname or Useragent from Registering.

4) Be sure to turn on the mod when setting options in ACP->Settings->Options->Prevent Hostname or Useragent from Registering.



* History (Changelog) *
-----------------------------
1.0.3 (December 12, 2013)
- Fix hostname not being checked under certain circumstances.

1.0.2 (March 1, 2012)
- Fix error on registration page when Useragent or Hostname to ban is blank.

1.0.1 (February 24, 2012)
- Wrong hook being used for one of the plugins.

1.0.0 (January 22, 2012)
- Public Release

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	adminsettings.jpg
Views:	542
Size:	374.3 KB
ID:	136657Click image for larger version

Name:	banpm.jpg
Views:	700
Size:	107.4 KB
ID:	136658

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
IP ban from registration only Hoth vBulletin 3.0 Full Releases 8 16 Sep 2005 23:42

Comments
  #2  
Old 24 Feb 2012, 15:33
voglermc's Avatar
voglermc voglermc is offline
 
Join Date: Oct 2006
Real name: Mark V
Love it! nominated and rated!
__________________
Reply With Quote
  #3  
Old 24 Feb 2012, 15:38
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Real name: Md Tajirul Islam
Working on 4.1.10
Reply With Quote
  #4  
Old 24 Feb 2012, 16:54
tareqbd tareqbd is offline
 
Join Date: May 2011
I am using 4.1.3, is it possible for me?
Reply With Quote
  #5  
Old 24 Feb 2012, 16:58
nhawk nhawk is offline
 
Join Date: Jan 2011
Originally Posted by tareqbd View Post
I am using 4.1.3, is it possible for me?
It hasn't been tested with 4.1.3 so I can't answer that.

If you could try it and let us know, I'd appreciate it.

EDIT: I was just able to test it on vB 4.0.7 and it worked, so I would imagine it works on 4.1.3.

Also, when I tested it on 4.0.7 I discovered a wrong hook was in the install file. So, version 1.0.1 has now been uploaded. Please update to that version if you've already downloaded it.

Last edited by nhawk : 24 Feb 2012 at 17:14.
Reply With Quote
  #6  
Old 24 Feb 2012, 17:27
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Aug 2010
Real name: Jerry
I do no see a pre-defined list of hostnames or useragents provided? It would be helpful to us noobs if you could provide a list to start us off?

I tagged this - looks promising.
Reply With Quote
  #7  
Old 24 Feb 2012, 17:29
nhawk nhawk is offline
 
Join Date: Jan 2011
Originally Posted by Krusty1231 View Post
I do no see a pre-defined list of hostnames or useragents provided? It would be helpful to us noobs if you could provide a list to start us off?

I tagged this - looks promising.
There is a reason for that and I state it in the initial post..

NOTE: This mod has a 'Don't Ask, Don't Tell' clause. Please don't post telling people what words to ban. We don't need spammers getting around this mod by reading posts telling them what is being filtered.
But as a hint, two of the more important words are given in the option descriptions.

Also, every site will be different. Not every site will have problems from the same hostname or useragent. If you don't know which hostnames or useragents are giving your site problems, then this add-on is not for you.

Last edited by nhawk : 24 Feb 2012 at 17:36.
Reply With Quote
  #8  
Old 24 Feb 2012, 17:43
tareqbd tareqbd is offline
 
Join Date: May 2011
Thumbs up

Originally Posted by nhawk View Post
It hasn't been tested with 4.1.3 so I can't answer that.

If you could try it and let us know, I'd appreciate it.

EDIT: I was just able to test it on vB 4.0.7 and it worked, so I would imagine it works on 4.1.3.

Also, when I tested it on 4.0.7 I discovered a wrong hook was in the install file. So, version 1.0.1 has now been uploaded. Please update to that version if you've already downloaded it.
after installing it i found this error.

Warning: stristr() [function.stristr]: Empty delimiter in [path]/showthread.php(123) : eval()'d code on line 35

Warning: stristr() [function.stristr]: Empty delimiter in [path]/showthread.php(123) : eval()'d code on line 46

Warning: stristr() [function.stristr]: Empty delimiter in [path]/showthread.php(123) : eval()'d code on line 46
Reply With Quote
  #9  
Old 24 Feb 2012, 17:47
nhawk nhawk is offline
 
Join Date: Jan 2011
Originally Posted by tareqbd View Post
after installing it i found this error.

Warning: stristr() [function.stristr]: Empty delimiter in [path]/showthread.php(123) : eval()'d code on line 35

Warning: stristr() [function.stristr]: Empty delimiter in [path]/showthread.php(123) : eval()'d code on line 46

Warning: stristr() [function.stristr]: Empty delimiter in [path]/showthread.php(123) : eval()'d code on line 46
See my post above..

Also, when I tested it on 4.0.7 I discovered a wrong hook was in the install file. So, version 1.0.1 has now been uploaded. Please update to that version if you've already downloaded it.
Also, I tested this on vB 3.8.7 and it works there too.
Reply With Quote
  #10  
Old 24 Feb 2012, 17:52
tareqbd tareqbd is offline
 
Join Date: May 2011
Also, when I tested it on 4.0.7 I discovered a wrong hook was in the install file. So, version 1.0.1 has now been uploaded. Please update to that version if you've already downloaded it.
which version. and is it for vbulletin version or this mod version. for a clear info let me tell you, i don't want to upgrade vb to higher than 4.1.3 thinking many of the mod will stop working. Please clear your solution. Thanks.
Reply With Quote
  #11  
Old 24 Feb 2012, 17:54
nhawk nhawk is offline
 
Join Date: Jan 2011
Originally Posted by tareqbd View Post
which version. and is it for vbulletin version or this mod version. for a clear info let me tell you, i don't want to upgrade vb to higher than 4.1.3 thinking many of the mod will stop working. Please clear your solution. Thanks.
The add-on version. You have version 1.0.0. I uploaded version 1.0.1

Download the file again, and re-install the XML file. Be sure to set the 'Allow Overwrite' to yes when you update.
Reply With Quote
  #12  
Old 24 Feb 2012, 18:08
tareqbd tareqbd is offline
 
Join Date: May 2011
Originally Posted by nhawk View Post
The add-on version. You have version 1.0.0. I uploaded version 1.0.1

Download the file again, and re-install the XML file. Be sure to set the 'Allow Overwrite' to yes when you update.
many thanks.
Reply With Quote
  #13  
Old 01 Mar 2012, 16:07
DirtRider DirtRider is offline
 
Join Date: Feb 2011
I had to uninstall this mod due to this issue Registration Page a mess
Reply With Quote
  #14  
Old 01 Mar 2012, 19:40
nhawk nhawk is offline
 
Join Date: Jan 2011
Originally Posted by DirtBanger View Post
I had to uninstall this mod due to this issue Registration Page a mess
All you had to do was put something to ban in both the Useragent field and the Hostname field.

The error was because one of those fields was blank.

I'll see about a fix for that soon.

EDIT: Fix released today (version 1.0.2)
__________________

vB 4 Modification System

Last edited by nhawk : 01 Mar 2012 at 20:30.
Reply With Quote
  #15  
Old 02 Mar 2012, 05:43
DirtRider DirtRider is offline
 
Join Date: Feb 2011
Thanks I did not know about that but I have installed the fix now and it works
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 06:45.

Layout Options | Width: Wide Color: