Force Custom User Field Completion after Registration or Login v2.3.3

XF 2.1 / 2.2 / 2.3 Force Custom User Field Completion after Registration or Login v2.3.3

Add-on xenforo 2

Ressources et modules complémentaires pour XenForo 2

Styles xenforo 2

Styles / Thèmes et apparence pour xenforo 2

Templates xenforo 2

Codes pour modifier les templates sur xenforo 2

Section Premium

Add-on et Styles pour membre Premium
Force Custom User Field Completion after Registration or Login v2.3.3

XF 2.1 / 2.2 / 2.3 Force Custom User Field Completion after Registration or Login v2.3.3

Catégorie Catégorie Add-ons Premium
Titre du sujet Titre du sujet Force Custom User Field Completion after Registration or Login v2.3.3
Auteur de la discussion Auteur de la discussion laurent68
Date de début Date de début
Réponses Réponses 2
Affichages Affichages 309
Réaction Réaction 1
Dernier message par Dernier message par laurent68

laurent68

Fondateur

Staff
fondateur
Réputation: 100%
Discussions
4 845
Messages
12 577
Solutions
85
J'aime
7 880
Points
198
Force Custom User Field Completion allows you to select any custom user field, new or old, and force your visitors to complete the field before continuing to browse your forums.

This is a great tool if you want to keep your registration form clean and simple, but have important custom user fields that your members need to complete.

This is a great tool if you've recently added a new field that you need your existing membership to complete.

You are also able to force the follow default non-required Xenforo personal fields, including:
  • Any custom fields created for your community
  • Avatar
  • Date of Birth
  • Location
  • Website
  • About You
Features :
  • Force field completion after login (before user is able to continue to browse forums)
  • Or, "Wait X Days" after registration to enforce completion of fields
    • Set the number of days to wait after registration before forcing fields
  • Users are forwarded to the user preference page
    • Users are given a list of what fields they are required to complete
  • Administrators can select any custom user field to force (old or newly added)
  • Administrators can select any user group(s) to ignore
  • Administrators can enable "check every page request" to ensure fields are never left blank
    • Or, what we recommend, disable and keep it to "once per session"
    • This feature is enabled by default for testing, but can be disabled for live sites
Notes :
  • Fields must be "User editable" in order to be selected in the addon options
  • Fields are considered empty if the field value is blank/empty
forced-field.PNG


options-1.8.4.PNG


capture-fcuf-new-options.PNG


Télécharger V1.8.6 :
Version 1.8.7 - Use built-in styling/classes :
- Removed custom and in-line CSS
- Used built-in XF blockMessage styling to ensure this add-on works well with all custom themes (dark or light)

Version 1.8.8 - Save round trip on update :
  • Updated to session.remove() to save a round trip after the user updates required fields
  • Allows the user to immediately leave account update page after completing all required fields
  • Removed a deprecated/unused function
Version 1.8.9.1 - PHP8x Fix :
- php 8.x deprecation fix (added null coalescing)
- resolve E_WARNING

Version 1.9.0 - XF 2.3 Compliant - Forwards/Backwards Compatible :

** XF 2.3 Compliant - Forwards/Backwards Compatible **

XF 2.3
  • Resolved issues with XF 2.3 (redirections and fails)
  • Resolved issue with admins being forced from admin.php
  • Extended _preSave on UserProfile and integrated with verify fields system where possible
    • System now prompts with overlay similar to default fields for most fields
  • Attempts to clear fields that are required fail
  • Avatar required will still require additional page load (no change)
XF 2.0+
  • Moved "wait after X days" to the top
  • Cleaned up the options language for brevity
  • Date of Birth Removed [select here instead: admin.php?options/groups/usersAndRegistration/]
    • may re-add at a later date
  • Added current icon
  • Updated <requirements> for installs to XF 2.0 - XF 2.3.x
Version 2.0.0 :
Tested with XF 2.3.4
  • FIX: Add phrase for missing field title: user_field_title.about_you
  • FIX: verifyAvatarCropX() for XF < 2.2.x
  • ADD: Add session exclusion logic for efficiency
  • ADD: XF:Index, but exclude instanceof isAdmin()
  • ADD: Build.json to exclude unnecessary files from release package
  • REMOVE: Unnecessary html comments from test build
Version 2.0.1 :
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
Version 2.1.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
Version 2.2.0 :
  • 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
Version 2.3.0 :
  • Add: Improved UI experience with native Html validation
  • Add: Use XenForo Html validation to all required fields (much more user-friendly user interface)
  • Add: Use server-side validation as fall-back
  • Fix: Don’t trap users when the format is wrong (ignore ->isPost() to allow validation)
  • Fix: Include all required fields and skip non-required fields during validation (performant)
  • Fix: Use proper method to validate avatar
  • Fix: Skip user validation for any admin areas (fixes issue with bulk user update)
  • Fix: Skip user validation on any Cli updates
Version 2.3.1 :
  • Add: Guards at preSave and postSave
  • Add: Ignore states between guest and registered (not valid, email confirm)
  • Fix: Skip two-step authentication + registration
Version 2.3.2 : Remove meaningless route logError from code (oops)
Version 2.3.3 : Fix: Gate with isPost so that spam cleaner runs without issue

Télécharger V2.3.3 :
 
Ajout de la version 2.3.3 :)
 
Contenu similaire Les plus vues Voir plus
Retour
Haut Bas