Home › Forums › Legacy Support › Support queries › Setup issues › How to force user to fill in profile information
- This topic has 15 replies, 2 voices, and was last updated 2 years, 9 months ago by Veronica.
-
AuthorPosts
-
July 13, 2021 at 10:27 am #364909hothaibinhParticipantHi, At the moment, user can create account directly from signin menu without filling in their personal information. Is that possible to include that in the registration process without asking them to go to profile menu to fill later ? Or redirect them to the profile section the first time they login ? Thank youJuly 14, 2021 at 6:42 am #365029VeronicaModeratoryou can do a thing that hide the register from v4 login popup and add custom link to menus and provide link for register page thereJuly 15, 2021 at 9:43 am #365190hothaibinhParticipantThank you, please provide an instruction, I have no idea how to do itJuly 16, 2021 at 6:01 am #365296VeronicaModeratorhi first create your custom registration form and add the fields as per your need and use this code:
this code will override the link from where user is creating his account in v4 popupadd_filter('wplms_buddypress_registration_link','registration_link6'); function registration_link6($link){ return 'registration link here'; }
July 17, 2021 at 11:13 am #365497hothaibinhParticipantThis reply has been marked as private.July 19, 2021 at 6:52 am #365602VeronicaModeratorhi you need to add your shortcode in the page create a page like registration add the shortcode there and save then add the page link in the above code and add the code in the wplms-customizer.php file in wplms customizer pluginJuly 20, 2021 at 3:51 am #365744hothaibinhParticipant1. "create a page like registration add the shortcode there", means I put this code in the new page ? STUDENT_REGISTRATION_FORM [wplms_registration_form name=”student_registration_form” field_meta=1] 2. "then add the page link in the above code", you mean this ? Do I have to replace 'wplms_buddypress_registration_link' with 'student_registration_form' ? add_filter('wplms_buddypress_registration_link','registration_link6'); function registration_link6($link){ return 'registration link here'; } Thank youJuly 20, 2021 at 8:48 am #365766VeronicaModeratorfirst: yes right second: NO open the page where you have added the custom registration shortcode copy the page URL and add the page URL here in the return sectionadd_filter('wplms_buddypress_registration_link','registration_link6'); function registration_link6($link){ return 'you custom registration page link here'; }
August 12, 2021 at 4:19 am #367850hothaibinhParticipantI did 1 2. what should I do next with this code, where should I copy it to ? add_filter('wplms_buddypress_registration_link','registration_link6'); function registration_link6($link){ return 'you custom registration page link here'; }August 12, 2021 at 7:30 am #367865VeronicaModeratoryou need to add this in wplms-customizer.php in wplms-customizer pluginAugust 20, 2021 at 2:51 am #368700hothaibinhParticipantI am setting up social login, can this form work together with it ? For example: user register with Facebook or Google, then the first time they login with Facebook there is a form for them to fill in their information.August 20, 2021 at 12:08 pm #368752VeronicaModeratorhi no this can't happen because this is not a correct user flow to use social login and then use registration form/force user to fill all fields as social login is mostly used for immediate login/registrationSeptember 3, 2021 at 4:34 am #369872hothaibinhParticipantPlease leave this topic open for a while I would like to completely fix the plugin bug before adding something news. After that I will let you know the outcome of this fixSeptember 3, 2021 at 10:50 am #369893VeronicaModeratorokMarch 3, 2022 at 10:55 am #381094hothaibinhParticipantHi, is there an easier way to add 2 extra fields of Phone number and Name in the default registration panel ? The solution of creating a new form and redirecting the user to it is a bit too much Thank you -
AuthorPosts
- The topic ‘How to force user to fill in profile information’ is closed to new replies.