@mediabros
14 years, 4 months ago
Thanks i will look in to it more next day, the reason why i won’t use the plugin.
I want to give users the possibility to link themselves to a category.
Lets say i am building a marketplace.
I want the people that sell cosmetic products to be link to the category: cosmetics.
I thought to do it one step at the time and first to figure out how to save and display data from a input field.
Hi Boone,
Thanks for the reply, i got a bit further by changing
add_action( ’show_user_profile’, ‘user_show_define_category’ ); add_action( ‘edit_user_profile’, ‘user_show_define_category’ );
into
add_action( ‘bp_after_profile_loop_content’, ‘user_show_define_category’ ); add_action( ‘bp_after_profile_field_content’, ‘user_show_define_category’ );
Now it shows up well on the user frontend profile.
I can’t seem to find the correct way for updating
Do you have a clue what hook to use for personal_options_update and edit_user_profile_update?
add_action( ‘personal_options_update’, ‘user_save_define_category’ ); add_action( ‘edit_user_profile_update’, ‘user_save_define_category’ );
Would be great if someone can give me a head up!