Home › Forums › Legacy Support › Support queries › Other issues › WordPress standard code for Password and user name registration not working
- This topic has 9 replies, 2 voices, and was last updated 4 years, 9 months ago by Mk.
Viewing 10 posts - 1 through 10 (of 10 total)
-
AuthorPosts
-
July 6, 2019 at 9:32 pm #217263omimexicoSpectatorWe noticed that when we use the standard Wordpress code for our users to update their password for login, that your wplms has changed the standard use. Here is our workflow:
- User registers as student using our custom page.
- Upon approved registration, student user is given an email to update login credentials.
- Student User should be taken to Wordpress password update page so that he can create his login credentials.
July 8, 2019 at 8:33 am #217378MkModeratorWe have already an option to update the password. Refer: http://somup.com/cqijjxeV9sJuly 9, 2019 at 1:34 am #217531omimexicoSpectatorYour response did not answer my question. I am paying for customer support, and I expect you guys to answer correctly. I will REPEAT: Here is our workflow: User registers as student using our custom page. Upon approved registration, student user is given an email to update login credentials. In the email, student is given a hyperlink that when clicked, it provides a token for them to log in. The Student User should be taken to Wordpress password update page so that he can create his login credentials. Based upon how your current code is written, we want the student to be taken to https://website.com/members-directory/{{student email}}/settings/ We have had problems coding step #4. Please provide code that will allow our students to go to a create login credentials page. We want the student to be taken to https://website.com/members-directory/{{student email}}/settings/Thanks guys! We need help with step #4. DO YOU UNDERSTAND???July 9, 2019 at 2:30 pm #217621MkModeratorWell in wplms user already registers using his email ,chosen username and chosen password . If there is another email or username with the same a warning shown to chenage the username and email . so there is no need for a custom code to generate the login credentials with the user . If you do not want to send the activation email to user (which activates the user account) and want to manually approve the accounts then this is possible with our custom registration forms : https://wplms.io/support/knowledge-base/custom-registration-forms-in-wplms/ Please tell us why you are taking this registration process ? the code to generate the login credentials is not that easy to write.there has to be some security and validations . Plus this feature is not available as of now and falls under customization which is not covered in theme support but still we wil try to help you out with this .July 13, 2019 at 7:37 pm #218284omimexicoSpectatorYou said, "f you do not want to send the activation email to user (which activates the user account) and want to manually approve the accounts then this is possible with our custom registration forms "- We manually approve accounts.
- The student is sent a login email (via wplms)
- The student clicks the hyperlink to activate account.
- The student is granted access, HOWEVER the problem is that the student is never prompted to create password.
July 15, 2019 at 2:34 pm #218454MkModeratorYou can use these functions to update the password. https://developer.wordpress.org/reference/functions/wp_update_user/ https://really-simple-plugins.com/sending-a-password-reset-link-for-php-added-wordpress-users/July 16, 2019 at 9:30 pm #218647omimexicoSpectatorThis reply has been marked as private.July 17, 2019 at 2:06 pm #218799MkModeratorSorry sir, Currently available redirections are these: http://prntscr.com/ogb9pf For custom code, I will have to look in codes. Then I will reply, what can I do in your issue.July 18, 2019 at 4:39 pm #218991omimexicoSpectatorI await your response.July 19, 2019 at 1:58 pm #219086MkModeratorPlease add this code in plugins-> wplms-customizer-> wplms-customizer.php add_filter('login_redirect',function ($redirect_url,$request_url,$user){ $redirect_url = bp_core_get_user_domain($user->ID).'settings'; return $redirect_url; },9999,3); -
AuthorPosts
Viewing 10 posts - 1 through 10 (of 10 total)
- The topic ‘WordPress standard code for Password and user name registration not working’ is closed to new replies.