[wp-hackers] users vs. usermeta

Aaron Brazell 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(),
update_usermeta() functions.


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
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



--
--
Aaron Brazell
Editor/Writer
http://www.technosailor.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-hackers/attachments/20051214/2ee85166/attachment.htm


More information about the wp-hackers mailing list