I'm just revisiting this excellent mod created by Shaggy with assistance from pknaz and Nertz a year ago in case people missed it. http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=53826
Works great on register.asp but when you try to apply it to pop_profile.asp it comes up the following error:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'IsValidString'
/portal/pop_profile.asp, line 1337
That line is:if not IsValidString(strTempPass) or instr(strTempPass," ")<>0 then Err_Msg=Err_Msg&"<li>You may not use spaces nor any of these characters in your password !#$%^&*()=+{}[]|\;:/?>,<'""</li>"
To get this to work you need to paste in the isvalidstring function from register.asp into the bottom of pop_profile.asp.
You need to do the same too on password.asp
I thought I'd revisit this as I think it is an excellent addition to the base code. It would also be good someday to be able to turn on 'advanced password security' as an Admin Option.