• Hi!

    In short : is it possible to have an email placeholder for password ?

    In long : i am admin of a multi-site wordpress. Unfortunately by design when an admin create new users it’s not possible to add first and last names of users. And i found no hack to correct this behavior. My workaround has been to create a private page where i have the registration form from this plugin, which works perfectly. However, since it’S not the user itself who create the account, he doesn’t have a clue of the password when he receives an email saying the account is ready and can connect ! thus the admin have to send an other email for the password. 1. it’s a pain in the ass. 2. it’s not professional. so….. is it possible to have an email placeholder for the password ?

    Thanks !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @physiotek

    Unfortunately, WordPress has removed the sending plain text passwords via Email.

    You can create your own email placeholder but we don’t recommend enabling the plain text passwords in site email messages due to the security concerns.

    Filter hooks:
    um_template_tags_patterns_hook
    um_template_tags_replaces_hook

    add_filter("um_template_tags_patterns_hook","um_custom_tags_patterns_hook");
    function um_custom_tags_patterns_hook( $patterns ){
       $patters[ ] = "{your_custom_placeholder_key}";
       return $patterns;
    }
    add_filter("um_template_tags_replaces_hook","um_custom_tags_replaces_hook");
    function um_custom_tags_replaces_hook( $replace_placeholders ){
       $replace_placeholders[ ] = "Value of custom placeholder";
       return $replace_placeholders;
    }

    Hope these help.

    Regards,

    • This reply was modified 4 years, 7 months ago by Champ Camba.
    Thread Starter physiotek

    (@physiotek)

    OK i understand. I’ll try to create my own placeholders as suggested. Thank you very much for your reply.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘password placeholder’ is closed to new replies.