[wp-hackers] users vs. usermeta
aaron at technosailor.com
Wed Dec 14 17:46:01 GMT 2005
You can have a plugin add any usermeta information you want to add. Take a
look at the wp_usermeta table to see how it is structured. Also look at
wp-includes/registration-functions.php at the add_usermeta(),
On 12/14/05, Rob <powzor at gmail.com> wrote:
> Does this "dynamic" feel to data such as IM systems mean that there will
> be a dynamic user information page in the admin panel, too? It would be
> nice if, as a plugin writer, I could add a usermeta field and have it
> appear in the Users -> Your Profile screen automatically.
> The problems I can immediately foresee are type - how to know whether to
> display a check box or a text area, for example - and the fact that
> plugin authors might not want this behaviour. The former could be solved
> by guessing, I imagine - taking "foobar" to require a text input and
> "true" to require a check box, but that feels a little clunky. The
> latter could just be solved with a boolean "display" field.
> What do you reckon?
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wp-hackers