[Bb-trac] [bbPress] #922: bbPress is not inserting display names during registration

bbPress bb-trac at lists.bbpress.org
Mon Aug 11 09:15:40 GMT 2008


#922: bbPress is not inserting display names during registration
-------------------------+--------------------------------------------------
 Reporter:  _ck_         |       Owner:                    
     Type:  defect       |      Status:  new               
 Priority:  highest      |   Milestone:  1.0-beta & XML-RPC
Component:  integration  |     Version:  0.9.0.2           
 Severity:  critical     |    Keywords:                    
-------------------------+--------------------------------------------------
 I thought this was fixed for 0.9.0.2 but apparently not.
 When integrated, bbPress fails to insert a display name so WordPress shows
 the user as "anonymous" even though they have an ID and a user_login (this
 could be considered WordPress bug too but bbPress made the problem, it
 should fix it...)

 Perhaps there should also be a check on upgrade/reinstall to scan the user
 table for users without display names and create them to fix forums with
 this problem extensively.

 props ragekage: http://bbpress.org/forums/topic/why-is-integration-so-
 troublesom#post-17389

 {{{
 pluggable.php in bb-includes Line 502

 $bbdb->insert( $bbdb->users,compact( 'user_login', 'user_pass',
 'user_nicename', 'user_email', 'user_url', 'user_registered' ));

 Replace with

 // bbPress / Wordpress bug fix added display name to wordpress
 $display_name = $user_login;
 $bbdb->insert( $bbdb->users,compact( 'user_login', 'user_pass',
 'user_nicename', 'user_email', 'user_url', 'user_registered',
 'display_name' ));
 }}}

-- 
Ticket URL: <http://trac.bbpress.org/ticket/922>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list