[buddypress-trac] [BuddyPress Trac] #5192: User roles with differents profile fields
buddypress-trac
noreply at wordpress.org
Fri Apr 17 18:07:06 UTC 2015
#5192: User roles with differents profile fields
----------------------------------+-----------------------------
Reporter: _DorsVenabili | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Component - XProfile | Version:
Severity: normal | Resolution:
Keywords: |
----------------------------------+-----------------------------
Comment (by boonebgorges):
> Thank you very much for the metadata lecture. How wrong of me to never
consider storing array meta values as separate meta instances. Finally
using *_add_meta() makes sense to me :)
Awesome! :)
> For example, how do we mark fields optional for teachers and required
for students?
I have no idea. If we were going to do this, it should probably be part of
the existing "Requirement" metabox, or perhaps it would replace it
altogether. Maybe something like:
{{{
Setting Member Type
[optional] Teachers
[required] Students
[none] Foo
}}}
where the part in [brackets] is a dropdown, and the Member Type is a list
of all member types? This would probably also need a button that'd quickly
enable "require for all" or "optional for all" or something like that,
with a single click. You'd also need a row that represents users with *no*
member types, I guess?
If any UX mavens have brilliant ideas....
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5192#comment:14>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list