Discussion:
Lots of user meta
Jeff Rose
2013-10-21 18:36:52 UTC
Permalink
Hoping for someone to tell me there's a better way to handle user data.

Let's suppose that I have a bunch of "contacts" or users of different
types. Clients and Employees for example. Each has different meta-data
needs. For example, employees would have Next of kin and clients would have
birthday (imagine way more complicated scenario) just to keep things
simple. But each type would have about 10 unique fields and a bunch of
common fields.

I know that the WordPress user form can be appended to in limited ways.
What's the best way to handle some large amounts of custom user information
in forms that various other users will have access to, at least in part?

I'm leaning toward a custom post type linked to the user - so I get the
form. But feel I may be overlooking something easy/obvious.
--
Jeff Rose
------------------
http://www.jeffrose.ca/twitter
http://www.jeffrose.ca/facebook
http://www.linkedin.com/in/JeffeRose
Ben May
2013-10-21 19:32:24 UTC
Permalink
If you're doing wp-admin only work, Advanced Custom Fields may be helpful -
using Conditional Logic and setup on the user page.
Post by Jeff Rose
Hoping for someone to tell me there's a better way to handle user data.
Let's suppose that I have a bunch of "contacts" or users of different
types. Clients and Employees for example. Each has different meta-data
needs. For example, employees would have Next of kin and clients would have
birthday (imagine way more complicated scenario) just to keep things
simple. But each type would have about 10 unique fields and a bunch of
common fields.
I know that the WordPress user form can be appended to in limited ways.
What's the best way to handle some large amounts of custom user information
in forms that various other users will have access to, at least in part?
I'm leaning toward a custom post type linked to the user - so I get the
form. But feel I may be overlooking something easy/obvious.
--
Jeff Rose
------------------
http://www.jeffrose.ca/twitter
http://www.jeffrose.ca/facebook
http://www.linkedin.com/in/JeffeRose
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Jamie Currie
2013-10-21 19:38:29 UTC
Permalink
Gravity Forms has a users plugin that lets you create user accounts from
a custom form. Would be easy to set up several user types and use
Gravity Forms conditional fields to show the appropriate ones. I'm sure
you can do it with other form plugins and I've written custom solutions
for this type of thing but GF is a pretty simple way to go.

Jamie Currie
Founder / CEO
wunderdojo
wunderdojo.com <http://www.wunderdojo.com> | twitter.com/wunderdojo
<http://twitter.com/#!/wunderdojo>
tel: 949-734-0758
1840 Park Newport, #409
Newport Beach, CA 92660
Master web & app developers




------ Original Message ------
From: "Ben May" <***@alyte.com.au>
To: wp-***@lists.automattic.com
Sent: 10/21/2013 12:32:24 PM
Subject: Re: [wp-hackers] Lots of user meta
Post by Ben May
If you're doing wp-admin only work, Advanced Custom Fields may be helpful -
using Conditional Logic and setup on the user page.
Post by Jeff Rose
Hoping for someone to tell me there's a better way to handle user data.
Let's suppose that I have a bunch of "contacts" or users of different
types. Clients and Employees for example. Each has different
meta-data
needs. For example, employees would have Next of kin and clients would have
birthday (imagine way more complicated scenario) just to keep things
simple. But each type would have about 10 unique fields and a bunch of
common fields.
I know that the WordPress user form can be appended to in limited ways.
What's the best way to handle some large amounts of custom user information
in forms that various other users will have access to, at least in part?
I'm leaning toward a custom post type linked to the user - so I get the
form. But feel I may be overlooking something easy/obvious.
--
Jeff Rose
------------------
http://www.jeffrose.ca/twitter
http://www.jeffrose.ca/facebook
http://www.linkedin.com/in/JeffeRose
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Continue reading on narkive:
Loading...