• Resolved 1jd123

    (@1jd123)


    Dear Sir or Madam,

    I am more than convinced of your plugin and love to work with it. Unfortunately, I keep running into small problems.
    If I leave the password field empty during a user registration, then a password is automatically generated. Unfortunately, the mail that tells the user this password is in English and I don’t know where to change the language.
    Your help would be awesome.

    Best

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @1jd123 !

    Hope you’re doing well today!

    We’ve had a report about the email not being fully translated – I’ll add your ticket to the task to let the team know.

    This option is using the site’s language to send the email in the selected language. You can try the following:

    – set your site to the language you want the emails to be in (Settings >> General)
    – update translations in Dashboard >> Updates
    – try registering again

    Warm regards,
    Pawel

    Thread Starter 1jd123

    (@1jd123)

    Hello sir,

    did everything you mentioned but the mails are still in English. I need them in German. Can you tell me how to change it manually in the php file?

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @1jd123

    I hope you are doing well.

    I checked the translation files and I can see there are some missing translations for this email.

    You can help with our translations on https://translate.www.ads-software.com/projects/wp-plugins/forminator/

    Another alternative is using Loco Translate https://www.ads-software.com/plugins/loco-translate/

    So you can apply your own translation.

    https://monosnap.com/file/VCdjupKRVNsYcVitgxkykJWwp243eG

    It is not required to keep Loco Translate enabled, you can download the PO/MO files https://monosnap.com/file/eEovPSGTADm4aXmP0Ubg8aCUXA2sY6 and upload to WordPress directory > wp-content > languages > plugins.

    Best Regards
    Patrick Freitas

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @1jd123 ,

    We haven’t heard from you for a while now, so it looks like you don’t have more questions for us.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

    Thread Starter 1jd123

    (@1jd123)

    Loco Translate don’t translate hardcoded php files e.g.
    The only thing I want is to customize the e-mails.
    1. The Activation E-Mail.I really would like to change the link appearance in this mail without having “formulator” in it. Also I would love to change the subject of this mail.

    Thread Starter 1jd123

    (@1jd123)

    In the form settings I set the submission message to “Registrierung erfolgreich” but every time the form is submitted I get the message “Account registration successful. Please check your email inbox to activate your new account.” That’s ridiculous. I Really love your plugin but this is annoying

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @1jd123,

    1. The Activation E-Mail.I really would like to change the link appearance in this mail without having “formulator” in it. Also I would love to change the subject of this mail.

    I suppose you meant the “forminator” keyword in the activation URL, ie for example:
    /?page=forminator_activation&key=123”

    Our team is already working on changing this to a generic keyword instead of “forminator”. Unfortunately, there isn’t any out of the box setting to change this behaviour at the moment.

    The Subject of the email can be edited under the “Email Notifications” tab when you edit the form, it would be the default Admin email.

    Screenshot at 18:28:47.png

    In the form settings I set the submission message to “Registrierung erfolgreich” but every time the form is submitted I get the message “Account registration successful. Please check your email inbox to activate your new account.”

    I could replicate this behaviour. I’m afraid, this seems more like a bug, sorry about that.

    I’m reporting this behaviour to our team’s attention so that we could have a better workflow regarding this.

    Will keep you posted once we get further feedback regarding its status.

    Kind Regards,
    Nithin

    Thread Starter 1jd123

    (@1jd123)

    Any updates? It really annoys me that this error occurs. I can also create a support account so that you can help me.

    Thread Starter 1jd123

    (@1jd123)

    Our team is already working on changing this to a generic keyword instead of “forminator”. Unfortunately, there isn’t any out of the box setting to change this behaviour at the moment.
    I do not need an out of the box setting. It would be helpful if you could tell me how to put this link into a button in the file.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @1jd123

    Any updates? It really annoys me that this error occurs. I can also create a support account so that you can help me.

    I am afraid since it is a bug we can’t give an estimated time to release the fixed version.

    I do not need an out of the box setting. It would be helpful if you could tell me how to put this link into a button in the file.

    This is going to be improved in 1.15.13 which is our upcoming version, we replaced the “forminator” string to “acount_activation”.

    I pinged our developers to verify if we can make it a button, but we can’t guarantee that we will have a simple workaround for it.

    We will reply as soon as hearing back from the developers.

    Best Regards
    Patrick Freitas

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @1jd123 ,

    Our developers checked and making this a button requires more code than is in the support scope of this forum. But you can use the following code to change the forminator_activation to pending_activation:

    remove_action( 'wp', array( 'Forminator_CForm_User_Data', 'admin_approve_user_by_link' ), 10 );
    
    function wpmudev_change_activation_method(){
        if ( isset( $_GET['page'] ) && 'pending_activation' === $_GET['page'] && isset( $_GET['key'] ) ) { 
            
            require_once(WP_CONTENT_DIR.'/plugins/'.dirname(FORMINATOR_PLUGIN_BASENAME).'/library/modules/custom-forms/user/class-forminator-cform-user-signups.php');
    
    			$activation_key = sanitize_text_field( $_GET['key'] );
    			$userdata       = Forminator_CForm_User_Signups::activate_signup( $activation_key, false );
    			if ( ! is_wp_error( $userdata ) ) {
    				//For Email-activation
    				if ( isset( $userdata['redirect_page'] ) ) {
    					wp_redirect( get_permalink( $userdata['redirect_page'] ) );
    				} elseif (
    					current_user_can( 'manage_options' ) &&
    					isset( $userdata['form_id'] ) && ! empty( $userdata['form_id'] ) &&
    					isset( $userdata['entry_id'] ) && ! empty( $userdata['entry_id'] )
    				) {
    					wp_redirect( admin_url( 'admin.php?page=forminator-entries&form_type=forminator_forms&form_id=' . $userdata['form_id'] . '&entry_id=' . $userdata['entry_id'] ) );
    				}
    				exit();
    			}else {
    				wp_die( wp_kses_post( $userdata->get_error_message() ) );
    			}
    		}
    }
    add_action( 'wp', 'wpmudev_change_activation_method', 10);
    
    function wpmudev_change_activation_page($args){
        if( strpos( $args['message'], 'To activate your user' ) !== false ){
            $args['message'] = str_replace('forminator_activation', 'pending_activation', $args['message']);
        }
        return $args;
    }
    add_filter( 'wp_mail', 'wpmudev_change_activation_page', 10, 1);

    This can be used as mu-plugin https://premium.wpmudev.org/docs/getting-started/download-wpmu-dev-plugins-themes/#installing-mu-plugins

    kind regards,
    Kasia

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Mail for auto generated passwords’ is closed to new replies.