Website Membership V1.07 Addon and CMS Builder V2.51 (user-signup.php, user-password-reset.php & user-profile.php)

3 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: July 29, 2013   (RSS)

By Mikey - July 28, 2013 - edited: July 28, 2013

Anyone have any suggestions to accomplish the following listed below during (user-signup.php, user-password-reset.php & user-profile.php).

  1. Require unique characters in the password such as !#*@&1234567890.. etc., thereby the password can not just be alphabetical, but must also include non-alphabetic characters as well in order to be saved.
  2. Require the password to be a minimum of 12 characters and no less.
  3. Require the password to be other than the username.

I've tried the following for settings the minimum password length in my list 2) with no success...

elseif (!@$_REQUEST['newPassword1'])                            { $errorsAndAlerts .= "Please enter a value for: New Password<br/>\n"; }
      //elseif (strlen(!@$_REQUEST['newPassword1'] >= 11 ))                        { $errorsAndAlerts .= "Please enter 12 or more characters for your New Password<br/>\n"; }

      //elseif (count(!@$_REQUEST['newPassword1'] < "11"))                        { $errorsAndAlerts .= "Please enter 12 or more characters for your New Password<br/>\n"; }

      //elseif (count(!@$_REQUEST['newPassword1'] < 11))                        { $errorsAndAlerts .= "Please enter 12 or more characters for your New Password<br/>\n"; }

     //elseif (count(!@$_REQUEST['newPassword1'] <= 11))                        { $errorsAndAlerts .= "Please enter 12 or more characters for your New Password<br/>\n"; }

By gregThomas - July 29, 2013

Hi Zick,

Glad you've got the issue resolved. I've posted a suggestion to ensure users have even more secure passwords in your other post:

http://www.interactivetools.com/forum/forum-posts.php?Password-Strength-for-Website-Membership-V1.07-user-password-reset.php-user-profile.php-78915

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com