Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Minimum Password Length Details »
Minimum Password Length
Mod Version: 1.0.2, by Eric (Coder/Designer) Eric is offline
Developer Last Online: Jul 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (11 votes - 4.55 average) Installs: 56
Released: 31 May 2011 Last Update: 05 Jul 2011 Downloads: 295
Not Supported Uses Plugins Auto-Template Re-usable Code Translations  

What is this?
This mod will allow you to force user passwords to be at least a certain length.


Features
  • Force minimum length on:
    • Registration
    • Edit Password
    • Reset Password

I've only tested this mod on vB 4.1.4/4.1.5 (alpha). It should work with previous versions, however I am not sure. If it works for you on an older version, let me know.


Installation
1. Download the `product-password_minlength.xml` file. (* may differ in name based on version)
2. Enter your AdminCP and go to Plugins & Products > Manage Products > [Add/Import Product]
3. Import the product using the `product-password_minlength.xml` file. (* may differ in name based on version)
4. Configure the mod in AdminCP -> Settings -> Options -> User Registration Options


Upgrading
In many cases, all you'll need to do to upgrade is follow the installation instructions above, but set "Allow Overwrite" to "Yes".


Changelog
Version 1.0.2, 07/05/2011
  • Changed the "Check Method" choice from a drop down to radio buttons (Boofo )
  • Changed how the "UserId" "Check Method" works - it now is used for escluding User ID's
  • Fixed a bug in the plugin for updating profile - was not checking if a new password had been entered.

Version 1.0.1, 06/07/2011
  • Introduced three new options and one new plugin.
  • The new options are based around a "Check Method". You can choose to enforce the min. password length by userid, usergroup, or 'none' (all).

Version 1.0.0, 05/31/2011
  • Initial release.

Download Now

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

Screenshots

Click image for larger version

Name:	editpassword.png
Views:	358
Size:	12.2 KB
ID:	129628   Click image for larger version

Name:	editpassword_notlongenough.png
Views:	302
Size:	5.2 KB
ID:	129629   Click image for larger version

Name:	register.jpg
Views:	301
Size:	26.1 KB
ID:	129630   Click image for larger version

Name:	register_noglongenough.jpg
Views:	457
Size:	54.2 KB
ID:	129631  

Click image for larger version

Name:	admincp_options.jpg
Views:	252
Size:	83.7 KB
ID:	130732  

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.
  #31  
Old 11 Jun 2011, 00:33
ninjadawg ninjadawg is offline
 
Join Date: Jun 2009
works on

This hack works on VB 4.1.1

Nice work thanks

ND
Reply With Quote
  #32  
Old 04 Jul 2011, 05:55
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
A member tried to change their email address tonight and they got this error:

The password you entered is not long enough. Your password needs to be at least 10 characters in length.

The password they use is 11 characters. They tried it three times and kept getting the error. I have it set to 10.
Reply With Quote
  #33  
Old 05 Jul 2011, 10:42
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Real name: Eric
Originally Posted by Boofo View Post
A member tried to change their email address tonight and they got this error:




The password they use is 11 characters. They tried it three times and kept getting the error. I have it set to 10.
Hmm, I think I see a cause for this - were they even trying to update their password, or just email?
__________________
My modifications

Please do not contact me for support via PM or E-Mail unless I've asked you to do so. Otherwise, your message will be ignored/deleted.
Reply With Quote
  #34  
Old 05 Jul 2011, 11:14
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Real name: Eric
Version 1.0.2, 07/05/2011
  • Changed the "Check Method" choice from a drop down to radio buttons (Boofo )
  • Changed how the "UserId" "Check Method" works - it now is used for escluding User ID's
  • Fixed a bug in the plugin for updating profile - was not checking if a new password had been entered.
__________________
My modifications

Please do not contact me for support via PM or E-Mail unless I've asked you to do so. Otherwise, your message will be ignored/deleted.
Reply With Quote
  #35  
Old 05 Jul 2011, 17:02
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by Eric View Post
Hmm, I think I see a cause for this - were they even trying to update their password, or just email?
No, I think they were just trying to update their email.
Reply With Quote
  #36  
Old 05 Jul 2011, 17:04
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Real name: Eric
Originally Posted by Boofo View Post
No, I think they were just trying to update their email.
Ah, that is what I assumed. The update should fix that.
__________________
My modifications

Please do not contact me for support via PM or E-Mail unless I've asked you to do so. Otherwise, your message will be ignored/deleted.
Reply With Quote
  #37  
Old 05 Jul 2011, 17:05
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Okay, thanks.
Reply With Quote
  #38  
Old 25 Nov 2011, 14:37
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Real name: Adam H.
Installed and working

4.1.8
Reply With Quote
  #39  
Old 14 Apr 2012, 22:07
cosy cosy is offline
 
Join Date: Jul 2007
this should be default for vbulletin
Reply With Quote
  #40  
Old 22 May 2012, 08:16
pczone pczone is offline
 
Join Date: Nov 2001
4.1.12

Installed and working

Thanks
Reply With Quote
  #41  
Old 22 May 2012, 11:40
LLent LLent is offline
 
Join Date: Aug 2010
nice idea with this mod indeed but when you have vbsecurity i feel there is no need for this i have joined a lot forums some i joined just to give a look arorund cause the forums have been closed to guests if they had this mod in place i sure wouldnt ....

now if you could implement how strong a p/w was i wouldnt mind that but password length is no biggie to me and i am with bop on that
Reply With Quote
  #42  
Old 29 May 2012, 07:09
CubicWebs CubicWebs is offline
 
Join Date: May 2012
Would be great if it checked the strength of the password. So you can set it to 50% strong.
Reply With Quote
  #43  
Old 12 Jun 2012, 03:43
Disco_Stu's Avatar
Disco_Stu Disco_Stu is offline
 
Join Date: Apr 2012
Installed. 4.2 PL 1
Reply With Quote
  #44  
Old 12 Jun 2012, 06:46
MikeF MikeF is offline
 
Join Date: Jan 2006
Originally Posted by CubicWebs View Post
Would be great if it checked the strength of the password. So you can set it to 50% strong.
The problem is that you need code to compute the bit strength of the password. i.e. a password A-Z, a-z, 0-9 of 44 characters would have a bit strength around 256-bit cipher strength password.
Reply With Quote
  #45  
Old 17 May 2013, 15:08
puncol's Avatar
puncol puncol is offline
 
Join Date: May 2013
Doesnt want to work on my 4.2.1. ....
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:26.

Layout Options | Width: Wide Color: