[memb_send_password]
This Applies to
Summary
This shortcode displays a form that allows a visitor to your site to request that their password be sent to them by mail.
Shortcode Examples
[memb_send_password]
The send password short code looks like the below image when implemented:
Example using an Infusionsoft template to send the password reminder email:
[memb_send_password template_id=123]
Example that applies a Keap tag to the account used to trigger a campaign:
[memb_send_password tag_id=123]
Shortcode Parameters
buttontext: Defaults to “Send Password”.
emailtext: Defaults to “Email Address”.
tag_id: (Optional) The ID of a Keap tag that can be applied. Details below.
template_id: (Optional) The ID of an Infusionsoft Email template to send.
successurl: The URL to redirect to when the password change is successful.
failureurl: The URL to redirect to when the password change has failed.
Shortcode Attributes
Additional Information
Using the tag application method to send the reset email:
[memb_send_password] can also be setup to apply a tag on form submission, to trigger the email send using the “tag_id” parameter
Example:
[memb_send_password tag_id=123]
In that case, you’d create a campaign sequence with a tag goal, use Campaign builder to send the password, and then remove the triggering tag.
Are you using Secure password / Local Auth only feature?
If you’ve enabled “Secure password / Local Auth only” option then the [memb_send_password] shortcode won’t be displayed. In this case you’d need to use the built-in WordPress password reset functionality.
On your site, the password reset form can be found here (replace yourdomain.com with your actual domain) yourdomain.com/wp-login.php?action=lostpassword.
Sample CSS Code:
The below code shows how you can style your Send Password display.
form#memb_password_send-1 { width:480px; } #memb_password_send-1 label { display:inline-block !important; width:150px; text-align:right; margin-right:10px; } #memb_password_send-1 input[type=email] { width:300px; border-radius: 10px; } #memb_password_send-1-block2 { text-align:center; } #memb_password_send-1 input[type=submit] { padding-left:10px; padding-right:10px; }
NOTE
This shortcode won’t send the email to the user if the user exists only in Keap/Infusionsoft and not in WordPress, and if the “template_id” parameter is not used. However, if you’d use the “template_id” parameter, then it would send the email to the user.
FAQ
The form is ugly! Can I style the form to match my site?
YES! Memberium forms come with no pre-design or built-in CSS so that you can use your own CSS code to make them look however you wish. Please see our sample CSS code for an example. You may need to alter the code depending on your theme’s CSS settings.
I filled it out, but no email was sent?
Your web host may not be able to reliably send email. This is increasingly common. We would recommend using the ‘tag_id’ parameter and using a Keap/Infusionsoft campaign to send the reset email. This email can contain their existing password, or you can overwrite their existing password field and send that. As a final option, the email could include an autologin link that takes them to a page with [memb_change_password].
Does the Infusionsoft user’s email address need to be opted in?
Yes, the email address being sent to must be at least single opted in. Double opt-in is beneficial but not required.
Users who have opted out cannot be sent email through the [memb_send_password] shortcode.
No confirmation message is displayed
Some web hosts such as WP Engine cache pages that are shown to users who are not logged in. You can test this by adding a [memb_date] shortcode to the page with the time in seconds displayed. If the date/time does not change between page loads, then you are seeing a cached page. The solution for this is to contact your web host and ask them to not cache the URL of your page containing [memb_send_password].
Does this shortcode work for the custom password field too?
Yes, whether you use the default Keap/Infusionsoft password field or a custom password field, this shortcode works for both.
Can I use the “template_id” parameter with Keap Pro?
No, as of now its not possible to use “template_id” parameter if you’re using Keap Pro. You instead need to use the ‘tag_id’ parameter and send an email via a campaign. Instructions are in the section above this.