[buddypress-trac] [BuddyPress] #4229: Member Search oddness.

buddypress-trac noreply at wordpress.org
Fri Dec 21 01:05:24 UTC 2012


#4229: Member Search oddness.
--------------------------+-----------------------
 Reporter:  DennisSmolek  |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  Members       |     Version:  1.5.5
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------
Changes (by DennisSmolek):

 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 The issue is if you create users with wordpress it doesn't register any
 activity. BP ignores any users that have no activity with the default
 sorting. Wordpress doesn't use activity as a sorting method so it loads
 those users.

 To combat this when I add a user with my script I also register a activity
 with:
 {{{
 bp_update_user_meta( $user_id, 'last_activity', bp_core_current_time() );
 }}}

 Now I havent written a patch but I'm sure BP could hook into
 wp_update_user() or wp_insert_user() and change last_activity to match..

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4229#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list