Force Custom User Field Completion after Registration or Login

Addons XF Force Custom User Field Completion after Registration or Login 2.2.0

  • ADD: Clear errors immediately upon postSave() to ensure errors aren't visible after user correctly completes required fields
  • FIX: Type Error with req_fields, fix using is_array()
  • FIX: Incorrect Use of break Instead of continue
  • FIX: Skip validation during _preSave(), specifically during password reset
  • Remove listener method not being used
  • Remove any reliance on $user finder and reuse $visitor object for improved performance
  • Cast all checkboxes to boolean instead of comparing strings
Tested with XF 2.3.6
  • FIX: Skip validation if not in a public app context (e.g., CLI or job rebuilds)
  • FIX: Ensure all validation is user-centric
Back
Top