Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,830
- How-to & Troubleshooting
- 129,810
- Creating & Extending
- 25,867
- Requests & Feedback
- 9,509
- Third Party Plugins
- 9,821
- Showcase
- 3,317
- Ideas
- 1,382
- Miscellaneous
- 9,177
-
I’m trying to add the Facebook URL to a custom xprofile field. Adding this query to _process_login.php, like I did here with other queries, doesn’t work:
$wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->bp_xprofile_data} SET value = %s WHERE ID = %d AND field_id=3", $fbuser['profile_url'], $user_login_id ) );
It does get stored in wp_users, but I need to figure out how to connect this plugin to xprofile anyway.