- 
	
	Andrew started the topic Problem using an xProfile function in the forum Creating & Extending 8 years, 8 months ago I recently got an error on the latest update because of my function: function mn_member_short_description() {
 $args = array(
 'field' => 'Short Description', // Field name or ID.
 );if ($short_description = xprofile_get_field_data($args, bp_get_member_user_id())) { 
 echo esc_html($short_description);
 }
 }I got a notice: 
 Notice:…[Read more]
- 
	
	Andrew started the topic new query arg in the forum Creating & Extending 8 years, 10 months ago This code allows you to sort activity from most favorited activity to least favorited activity. class BP_Loop_Filters {
 // Constructor
 public function __construct() {
 $this->setup_filters();
 }// Filters 
 private function setup_filters() {
 add_filter( 'bp_activity_get_user_join_filter', array( $this, 'order_by_most_favorited' ), 10,…[Read more]
- 
	
	Andrew started the topic Notification avatars in the forum Creating & Extending 9 years, 4 months ago I’ve been trying to work out how to get the user IDs for the notification items so I can display notification user avatars. Is this the best way to do it, I’ve tested this with a few users and seems to work: function test_notifications_avatar() {$bp = buddypress(); 
 $user_id =…[Read more]
- 
	
	Andrew's profile was updated 9 years, 4 months ago 
	@snd26
	Active 8 years, 8 months ago