Options
Applicant Email Verification 0.4.0 : Tiny Issue
Hi
I installed Dinoboff's extension(thanks btw.. great work fellow) and it works as it should but I've found a tiny issue which is: when you enable the extension in the "Registration Settings" and then try to change the "New member role" to member(default options)(to make it login after registration immediately), and click save ... it says my settings were saved .. and I think it did because people were able to register and login without problems and without approval after confirming by email ... the problem is that whenever I try to change the setting from "Applicant" to "Member" it reverts back to "Applicant" after you refresh the page or go to any place and return to "Registration Settings" ...
0
This discussion has been closed.
Comments
function RegistrationForm_PreRender_EmailVerification(&$RegistrationForm) { $RoleID = ForceIncomingString('RoleID', ''); if ($RoleID == '') $RoleID = $RegistrationForm->Context->Configuration['APPLICANT_EMAIL_VERIFICATION_ROLE']; $RegistrationForm->RoleSelect->SelectedValue = $RoleID; } $Context->AddToDelegate('RegistrationForm', 'PreRender', 'RegistrationForm_PreRender_EmailVerification');
It will be added to the next release.
Many Thanks Alnokta.