Hide
The profile entry definition syntax should be extended, so that you can set profile entry definitions to 'required'.
When a user logs in, his profile should be checked.
When an empty profile field is found, and the profile entry definition for this field is 'required', the user should first give a value for this field.
Show
The profile entry definition syntax should be extended, so that you can set profile entry definitions to 'required'.
When a user logs in, his profile should be checked.
When an empty profile field is found, and the profile entry definition for this field is 'required', the user should first give a value for this field.
The profileentry now has three attributes that deal with how you can edit the property:
- edit: when true the field is editable in the profile page.
- required: when true this field should be filled out when you create a poster.
- changeable: when this is true, the field is editable in the profile page as long as it is empty.
when a valid value has been given, it is not editable anymore.
I'm not shure if it is implemented everywhere yet. should be tested a little bit further.