Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Applicant Email Verification 0.4.0 : Tiny Issue

edited September 2006 in Vanilla 1.0 Help
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" ...


  • Options
    That is not a tiny issue, I will check that...
  • Options
    edited October 2006
    To fixe it, you need to add after line 272:
    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.
  • Options
    No .. thank you for the quick fix ... tested and works perfectly ...
  • Options
    Yeah thanks for that, I thought I was going mad!
This discussion has been closed.