Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: New Users Profile Problem

@wpmirwin

Participant

I decided to spend the time and look into this further. Here is a quick overview of the problem and then the solution:

1). WP to BP User sync uses the ‘user_nicename’ from the users table to create the member in BP
2). When creating a user in WP directly via WP (i.e. Not DAP) the user_nicename is set to the same value found in username
3). When creating a user in WP via DAP, the user_nicename is set to “First Last” by default

This explains the different behaviour, and gets everything out of whack from BP point of view.

To fix the problem, you need to modify DAP-WP-LiveLinks.php and have DAP set the user_nicename to the value provided for the username. Just do the following:

Change:

$userarray = $user->getFirst_name() . ” ” . $user->getLast_name();

to

$userarray = $username;

.. and that’s it.

@aprilbeaver… Hope that helps.

Skip to toolbar