Forum Replies Created
That just does a search though, doesn’t it? And could therefore match other parts of the user’s profile that match the name of the piece of data being clicked?
I need this to be really specific about what it’s returning. It must only return people who have a specific piece of data in a specific xprofile field.
Thanks again Shane. I’ll try to explain again.
At high level, I want users, in their user profile, to be able to select one or more skills that they have. Skills are posts of a post type.
At lower level, I want, in a BP user profile, a field which is either a multi-select, or a set of checkboxes. The values selectable should be titles of posts from the “Skills” post type (I’ll actually save the IDs of the posts, but the titles should be displayed).
The user should be able to select these values both when registering and when editing their profile.
Possible implementations I can think of would be:
– Implement a new field TYPE called “skill”, create a field of that type in BuddyPress, and write some hooks that display and save the field.
– Add some custom code using action hooks to the bottom of the registration and edit profile screens.
I know it’s kinda hard to explain in a short forum post. There just doesn’t seem to be some simple, documented hooks that a plugin can use to extend the user profiles with new custom fields of new types and I was looking for some guidance/best practice for doing this.
Thanks again for your help.
I was thinking more of something that’s like profile fields, that you edit in the member sign-up and profile edit screens, rather than creating new screens. What I’d REALLY like is something like the Group extension API for users. But instead the registration/register.php and /members/single/profile/edit.php templates seem to have a large amount of almost-duplicated code and inconsistent hooks.
Yeah, I know – if I want an extension system I should contribute it, right? 🙂
Any thoughts on adding profile fields with dynamic values in the way that I need? The best way would seem to be to use something like the bp_custom_profile_edit_fields and bp_signup_profile_fields action hooks, but I’m not sure that they are specific enough.
Yeah guys, forum search is a must! It will save you time replying to duplicate queries if nothing else. I’m about to post a query or two but can’t see if they’ve been posted before.
I have this problem too. I’ve definitely posted in the forums – it says “3 forum posts” in the stats on my profile, but it doesn’t show anything in my personal activity stream. Is the activity stream time-limited?
Have a look yourself: http://dl.dropbox.com/u/3037692/buddypress.png