Home › Forums › Plugin Support › Email Activation Links Not Clickable?
Tagged: activation, email, links
- This topic has 5 replies, 3 voices, and was last updated 6 years, 4 months ago by Khaled.
-
AuthorPosts
-
December 2, 2014 at 10:00 pm #6561June 29, 2018 at 3:29 pm #8577Philippe EtropieMember
I use
<a href = "%reset_password_link%"> %reset_password_link%</a>
to get the link recognized by Yahoo;By the way, spaces characters in user name is still not recognized by Yahoo. So the links does not function.
Is there a way to user email adress instead of user name in the URL when you click on I forgot my password ?not working >> https://mysite.org/wp-login.php?action=rp&key=xxxxx&login=My20Name20With20Spaces
should be >> https://mysite.org/wp-login.php?action=rp&key=xxxxx&login=My%20Name%20With%20Spaces
could be >> https://mysite.org/wp-login.php?action=rp&key=xxxxx&login=myadress@email.com ?Is the problem resolved in 1.4 ?
- This reply was modified 6 years, 5 months ago by Philippe Etropie. Reason: adding code tags & question @1.4
July 12, 2018 at 8:38 pm #8589KhaledMemberHello Philippe,
Only using %reset_password_link% should work without any issue. If you want to use the URL inside
<a ref="%reset_password_link%">Click here<a>
, you will need to use “Email Format” as “HTML”.To do so, please visit from User Meta >> Settings (General Tab)
Thanks.
July 13, 2018 at 9:57 am #8593Philippe EtropieMemberWe do use HTML format. In fact the simple %reset_password_link% did not display as a link in yahoo, that’s why we had to add the . But that’s not the point, none of both solution does work.
We still have the problem :
&login=test20login is displayed in the link,
instead of &login=test%20login that could be interpreted by the browser.
The % character in %20 misses so the link can’t work.Else is there a way to forbid spaces in user’s nickname when the registration is done ?
Or to send the password reset link with the email instead of user’s nickname ?- This reply was modified 6 years, 4 months ago by Philippe Etropie.
July 13, 2018 at 10:26 am #8595Philippe EtropieMemberI see function _lostpasswordIntegration($mailData, $user, $extra)
is around line 219 in the file user-meta-pro/controllers/pro/EmailNotificationController.phpIt also could be a problem with the % and localization (we use wordpress in french)
I can’t debug it more because we only have the licence on our production server, not on the development server…
The error is is 1.3 but when we try to update to 1.4 we get this error :
La mise à jour a échoué : L’archive n’a pas pu être installée. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signatureJuly 13, 2018 at 3:09 pm #8596KhaledMemberHello Philippe,
The plugin generates the well-formated lost password URL (with %20 for space), % sign might get trimmed with the filtration of other third parties plugin. Please have a look at other plugins for the conflict in email sending formatting.
If you like to forbid space on the username, you can use following codes to your functions.php
add_filter("registration_errors", function($errors, $userLogin, $userEmail) { if (preg_match("/\s/", $userLogin)) $errors->add("no_space_allowed", "No whitespace is allowed in the username."); return $errors; }, 10, 3);
By default, “registration_errors” filter is disabled on User Meta Pro plugin. You will need to enable it. To enable the filter, please visit User Meta >> Add-ons Menu (for version 1.4), activate “Switch filter or action hooks” addon, click the “Options” beneath and from the drop-down check “registration_errors” checkbox and save your changes.
Update to 1.4:
You can use manual version update if the automatic update fails for you. First, deactivate and remove the existing version (1.3). Don’t worry, removing existing version will not remove any of saved data. Then download and install version 1.4Thanks.
-
AuthorPosts
- You must be logged in to reply to this topic.