Info
- 3 posts
- 3 voices
- Started 4 years ago by johnwade
- Latest reply from Detective
- This topic is not resolved
Expanding User Profile Details
-
- Posted 4 years ago #
Is there a way to customize this for details specific to the forum's purpose?
jw
-
- Posted 4 years ago #
Fields can be added via plugins but I don't believe there is any general plugin available to do that yet on an easy basis like WordPress.
-
- Posted 4 years ago #
It is really easy to add profile fields.
First, you need to print the fields you need:
add_action('extra_profile_fields', 'print_extra_fields'); function print_extra_fields($user_ID) { /* get the current values for that user, and print your form items */ } add_action('profile_edited', 'process_extra_fields'); function process_extra_fields($user_ID){ /* here, $_POST contains the new field values. so you can do things like bb_update_usermeta($user_ID, 'your_field', $_POST['your_field']); ... */ }Please correct me if i'm wrong. I don't remember the action names. But this works :) I use it in WP and BBP.
-
You must log in to post.