You seem to be assuming that the xprofile field id is the same as the user meta field id – if they are, it is just a coincidence.
If you have not created xprofile fields, you need to do so.
And then use the ids for those xprofile fields.
Or you can use the name of the xprofile field
Related Posts:
- How to get a buddypress user profile link and a certain user profile field for the current post author?
- How to Modify/Change a Buddypress/WordPress Account Activation Process
- Integrating Buddypress, Wootumblog and WPMU Sitewide tags
- BuddyPress: Allow only one email domain to register
- Ability to set character limit in BuddyPress?
- Add BuddyPress Profile Menu Item [closed]
- BuddyPress: Adding a new tab in groups
- BuddyPress: hook to add new profile fields and groups
- wp_editor on front end – JavaScripts not included
- Syncing BuddyPress and WordPress profile fields [closed]
- Buddypress Full documentation [closed]
- What problems can BuddyPress make? [closed]
- How to force buddypress users to complete profile after registration? [closed]
- how to get current user name by user_id in buddypress?
- What’s the easiest way to change the default landing page for BuddyPress groups?
- How to override Member’s Avatars in BuddyPress [closed]
- Buddypress send email notification only if user is not logged in [closed]
- Rename Buddypress Profile Tab
- Delete all user attachments
- How to re-enable admin bar with Buddypress active? (BP bar removed) [closed]
- Login redirect to certain bp profile page
- How to ensure buddypress custome profile field is unique
- Show buddypress notification in the frontend [closed]
- Buddypress and WordPress on different subdomains with the same database?
- BuddyPress Xprofile check if user can view field [closed]
- How to reply to Buddypress notifications? [closed]
- Posting Photos and Other Attachments in a BuddyPress Forum?
- BuddyPress: How to get info of users filtered by some x-profile data? [closed]
- How to check if the current page is a “personal activity”-page in buddypress? [closed]
- Buddypress get member meta info for specific user ID [closed]
- Redirect after registration in BuddyPress [closed]
- Remove tabs from buddypress groups and members pages [closed]
- changing the signup button url in WPMU/Buddypress
- Buddypress profile pictures sync across WordPress Multisite Network
- Make Profile link, link to the BuddyPress profile instead of the WordPress dashboard? [closed]
- How to Change BuddyPress Mystery Man Graphic without Overwriting Core Image File [closed]
- I’m trying to Add a new Buddypress menu tab and it is not showing up [closed]
- How to get larger version of author avatar
- Exclude User from Activity Stream in BuddyPress?
- How to run scripts when a new blog is created in Buddypress?
- Showing the user’s username in registration email or activation page with BuddyPress [closed]
- Display four buddypress activies [closed]
- How to remove unused avatar uploads in buddypress [closed]
- Buddypress Fake (non-bot) Users [closed]
- Conditional based on the User Role of the Current Profile the user is viewing – BuddyPress [closed]
- BuddyPress | How to merge the “setting” & “profile” pages into one page? [closed]
- cubepoints/buddypress show new rank on activity? [closed]
- Upload files into buddypress profiles [closed]
- BuddyPress: What is the use of is_default_option field in wp_bp_xprofile_fields table? [closed]
- How do I find the bbpress forum ID for a forum in a buddypress group?
- How to get Viewing profile ID in buddypress? [closed]
- Is it possible to have a network of BuddyPress sites, a-la WordPress MU, with single-sign-on? [closed]
- delete a photo tag in rtmedia [closed]
- How to make a Discussion Group ”Sticky” in BuddyPress [closed]
- Can’t Find BBPress data in Database
- Buddypress register.php user redirect [closed]
- How to get user id which is done by buddypress [closed]
- BuddyBoss (BuddyPress / bbPress) moderation filters not doing anything
- How to add a count in a custom tab in a Buddypress group
- Table ‘wp_signups’ doesn’t exist [closed]
- Show activities of defined BuddyPress groups [closed]
- How to edit buddypress templates? [closed]
- Is there a plugin or something that allows you to use BuddyPress without having to create a BuddyPress-ready theme?
- Add an extra field to BuddyPress activity form
- Buddypress – adding custom post to members
- BuddyPress – Get a List of Defined xProfile fields [closed]
- How to create a theme specific translation of buddypress? [closed]
- Remove post content from buddypress activity [closed]
- BuddyPress Toolbar
- Buddypress Registartion template [closed]
- Does BuddyPress Have An Action Hook for remove_user? [closed]
- how to remove mandatory required fields in buddypress registration [closed]
- Can you use the buddypress profile system without installing the whole of buddypress? [closed]
- How to auto-accept a friend-request in buddypress based on user meta
- Best practices for securing a Buddypress installation?
- After Upgrade to Buddypress 1.2.6 from 1.2.5.2 , admin bar area displayed incorrectly for guest-visitors
- User-based media gallery
- Customizing the BuddyPress blog loop
- switch_to_blog( ) content disappears after load
- BuddyPress returning incorrect xprofile date [closed]
- Buddypress bp_has_members function custom search with meta query [closed]
- Show Specific Buddypress Group Activity Stream in page template
- Buddypress, BBPress – deqeue bp, bbp css and get group member count
- buddypress activity social share
- Buddypress dynamic profile field
- Is it possible to remove ‘group’ from slug for buddypress groups
- Using WordPress as an API [closed]
- Display message on homepage when new user account is activated
- Wrong path when adding custom tab in BuddyPress [closed]
- How to carry over existing wp users to a new buddypress installation [closed]
- Empty “Forums” page BuddyPress site wide forums – bbPress [closed]
- Add excerpt and post thumbnail to Buddypress blog directory page [closed]
- How to create a customized logout URL in BuddyPress
- How to set up WordPress in the intranet?
- How can I display the total number of favorites for any particular buddypress activity stream post? [closed]
- Can I develop a social networking Site using WordPress and its Plugins? [closed]
- How to bring registration field to index page? [closed]
- BP Profile search results won’t link to user’s profile page [closed]
- Buddypress export Profile Fields [closed]
- Buddypress create custom tab on my profile and add on home page [closed]