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: 298
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:	360
Size:	12.2 KB
ID:	129628   Click image for larger version

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

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

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

Click image for larger version

Name:	admincp_options.jpg
Views:	254
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.
Comments
  #2  
Old 31 May 2011, 19:54
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Real name: Eric
Reserved.
__________________
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
  #3  
Old 31 May 2011, 22:31
Special Pages Special Pages is offline
 
Join Date: Nov 2010
Real name: Edward J.
Thank you Eric!
Reply With Quote
  #4  
Old 01 Jun 2011, 00:14
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Nice idea, Eric!
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #5  
Old 01 Jun 2011, 01:58
just.b.jealous just.b.jealous is offline
 
Join Date: Sep 2009
Works on vB 4.1.3,.. I did notice while importing it- that it gave an error of some sort but it finished importing to quickly before I had a chance to actually read the error. Everyting seems to be working fine though. Thanks, marked "Installed".
Reply With Quote
  #6  
Old 01 Jun 2011, 02:02
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Real name: Eric
Originally Posted by Lynne View Post
Nice idea, Eric!
Thanks Lynne. I've seen a few folks request this several times so I finally decided to give it a go. I also thought it would be something useful given what is happening with passwords etc recently

Originally Posted by just.b.jealous View Post
Works on vB 4.1.3,.. I did notice while importing it- that it gave an error of some sort but it finished importing to quickly before I had a chance to actually read the error. Everyting seems to be working fine though. Thanks, marked "Installed".
That is odd. I will see if I can get my hands on 4.1.3 and see what that error might have been. There is not really anything in the file that should cause an error. :/
__________________
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
  #7  
Old 01 Jun 2011, 02:37
sulasno sulasno is offline
 
Join Date: Feb 2010
tagged and thanks

can the mod dictate that a minimum of 1 Capital letter and I Digit must be used ?
Reply With Quote
  #8  
Old 01 Jun 2011, 05:45
vglobal vglobal is offline
 
Join Date: Oct 2009
Tag for future. It would be great if we have a complex password mod.

Thanks
Reply With Quote
  #9  
Old 01 Jun 2011, 07:49
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Excellent idea, sir.
Reply With Quote
  #10  
Old 01 Jun 2011, 09:54
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
What is a good default setting for the length? I think 14 might be a little too long for some users to accept without whining.

Also, I saw no error on importing the product on 4.1.3. Maybe another mod was not playing nice with the OP setup.
Reply With Quote
  #11  
Old 01 Jun 2011, 11:59
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Real name: Eric
Originally Posted by sulasno View Post
tagged and thanks

can the mod dictate that a minimum of 1 Capital letter and I Digit must be used ?
Originally Posted by vglobal View Post
Tag for future. It would be great if we have a complex password mod.

Thanks
It is not possible to do that with this mod... at least, not yet. I will see what I can do.

Originally Posted by Boofo View Post
Excellent idea, sir.
Thank you
Originally Posted by Boofo View Post
What is a good default setting for the length? I think 14 might be a little too long for some users to accept without whining.

Also, I saw no error on importing the product on 4.1.3. Maybe another mod was not playing nice with the OP setup.
A good, secure, password is typically 12-16 (roughly) characters. But, I can understand some users having difficulty with that. I would say a good compromise would be 8 characters.

As for 4.1.3, that is what I was thinking - that maybe another mod was conflicting with it. Hopefully it is not an error with this mod itself.
__________________
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
  #12  
Old 01 Jun 2011, 17:59
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
I compromised and set it at 10.

I didn't see anything in the code that would cause an error on import. I wouldn't worry about it unless you get anyone else having the same issues.

I would suggest maybe adding a setting for certain userids that could bypass the length check.
Reply With Quote
  #13  
Old 02 Jun 2011, 17:23
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Real name: Eric
Originally Posted by Boofo View Post
I compromised and set it at 10.

I didn't see anything in the code that would cause an error on import. I wouldn't worry about it unless you get anyone else having the same issues.

I would suggest maybe adding a setting for certain userids that could bypass the length check.
That is a good idea Boofo, will implement it in the next release.
__________________
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
  #14  
Old 04 Jun 2011, 14:05
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by Boofo View Post
I compromised and set it at 10.

I didn't see anything in the code that would cause an error on import. I wouldn't worry about it unless you get anyone else having the same issues.

I would suggest maybe adding a setting for certain userids that could bypass the length check.
I suggest if possible add a feature to this mod to enforce minimum lengths on mod and admin accounts only.

Honestly it is extremely unlikely I wold join a forum requiring me to have a password over 6 to 8 characters.

Because... unless I'm a mod or admin, it's JUST a forum. NO ONE cares about my account and I care even less. So what someone cracks my password? Very unlikely on vBulletin where you can't brute-force your way in because it will lock you out after a few bad tries... I'm not going to jump through hoops to join a forum unless they are the only forum in their niche- and I know most admins can't claim that.

Just my opinion.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #15  
Old 04 Jun 2011, 14:27
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by BirdOPrey5 View Post
I suggest if possible add a feature to this mod to enforce minimum lengths on mod and admin accounts only.

Honestly it is extremely unlikely I wold join a forum requiring me to have a password over 6 to 8 characters.

Because... unless I'm a mod or admin, it's JUST a forum. NO ONE cares about my account and I care even less. So what someone cracks my password? Very unlikely on vBulletin where you can't brute-force your way in because it will lock you out after a few bad tries... I'm not going to jump through hoops to join a forum unless they are the only forum in their niche- and I know most admins can't claim that.

Just my opinion.
I totally disagree.
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 09:25.

Layout Options | Width: Wide Color: