Support » Plugin: WP-Members Membership Plugin » Username no caps allowed? Password reset upon approval?

  • Resolved eadnams


    I’m finding two things which are perplexing:

    Entered usernames cant contain any capital letters? It says it must be alphanumeric if you try.

    I’d like to have it say (Must be all lowercase) beside the ‘Username:’ label… Or accept capitals and sanitize them upon registering…

    When a user enters a custom password (using the password custom field type). It e-mails them that password/confirmation, then when they are approved– it sends them a new random one. For now I’ve removed the custom password, and that works, but then they have to change it after, which is a bit clunky.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chad Butler


    The plugin itself doesn’t restrict uppercase (nor does WP by default). The plugin uses the WP function validate_username to validate the username. That function checks if what is returned is valid from sanitize_user. The plugin relies on those defaults. However, both of those functions have filter hooks so depending on whether you or some other plugin is filtering one or both of those for additional validation, that could be the issue.

    If you want to change the label, the only current filter is the entire HTML string of the generated form: wpmem_register_form. However, in the upcoming 2.9 version, individual row elements can be filtered directly as the rows are passed as an array through wpmem_register_form_rows.

    If you set up a custom password field, it MUST have the option name “password” otherwise, yes, the user approval process will override that. See “Parameters For a Password Field” in the User Guide for more info.

    Would it be that its a multi-site install that is causing the issue with caps? Theres literally no other plugins running.

    Plugin Author Chad Butler


    I guess it could be. It shouldn’t any different with multisite and if you have no other plugins running, I’m not exactly certain what would be the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Username no caps allowed? Password reset upon approval?’ is closed to new replies.