Please Log in or Create an account to join the conversation.
We have no functionality for this. Best I can suggest is write the necessary PHP to do it within a Code action using CB Auto Actions acting on the onAfterPasswordReminder trigger. To suppress the email simply override the language strings UE_NEWPASS_SUB and UE_NEWPASS_MSG to empty string.1-i want to send forget password(or new pass or anything you say) to his mobile phone number via sms, instead of email.how to do that? do you suggest use php function?
note: (i have and can use sms web service to send every text)
note: i find comprofiler.html.php line 608 static function lostPassForm . is there any easier way or must use that function?
You can use the onLostPassForm trigger in CB Auto Actions and a Code action to insert new inputs into the forgot login form. Your PHP needs to be sure to return an array though with the first value of the array being the input label and the second being the actual input. The return behavior would be done under the Layout parameters.2-how can i check his 2 custom field and if that are correct, send the reset password?for example i want ask him his phone number and his father name and if both is correct, then run the lostpass function.
Please Log in or Create an account to join the conversation.
are you sure suppress or it send an empty email to user?To suppress the email simply override the language strings UE_NEWPASS_SUB and UE_NEWPASS_MSG to empty string.
can you please more describe? are you understand what i want exactly?krileon wrote: You can use the onLostPassForm trigger in CB Auto Actions and a Code action to insert new inputs into the forgot login form. Your PHP needs to be sure to return an array though with the first value of the array being the input label and the second being the actual input. The return behavior would be done under the Layout parameters.
Please Log in or Create an account to join the conversation.
i want get the value of the email field , after user send lostpassform. how to get it from that form?krileon wrote: We have no functionality for this. Best I can suggest is write the necessary PHP to do it within a Code action using CB Auto Actions acting on the onAfterPasswordReminder trigger.
Please Log in or Create an account to join the conversation.
You're wanting to send an SMS. I assumed you didn't want it to send the email. In which case you'd translate the email subject and body to empty so it won't send. Otherwise if you want the email to still send simply don't translate it to empty.are you sure suppress or it send an empty email to user?
No, that's not possible. The email field validates emails only. There is no phone number handling in the forgot login form. You are going to have to custom code a solution. Either by inserting new inputs into the forgot login form then adding new jQuery so your new input can validate then adding PHP side processing for your new input all of which will use the triggers explained in my previous reply or by writing your own forgot login solution.some of my users has a fake email but he(them) has a real mobile phone number and i want do something in lostpassword form that he can insert his real phone number in the Email field in the lostpassword form.(and do such work for username field and replace with other custom cb field for example fathername) is it possible by your describe? can you please say me how to get the value of email field that he send to me? and is it need to disable email validation or user name validation?
If you're using CB Auto Actions then you can grab it from POST using [post_INPUTNAME]. For forgot login that'd be [post_checkemail].i want get the value of the email field , after user send lostpassform. how to get it from that form?
(i do such as this for registration form but in the lostpassform , i don't understand properly subsitiution)
Please Log in or Create an account to join the conversation.
where is compeelet list of this type of substitutions like this [post_checkemail] ?krileon wrote: If you're using CB Auto Actions then you can grab it from POST using [post_INPUTNAME]. For forgot login that'd be [post_checkemail].
krileon wrote: Either by inserting new inputs into the forgot login form then adding new jQuery so your new input can validate then adding PHP side processing for your new input all of which will use the triggers explained in my previous reply or by writing your own forgot login solution.
Please Log in or Create an account to join the conversation.