-
jody started the forum topic Can’t paginate from a search on buddypress.org in the group How-To and Troubleshooting: 14 years, 8 months ago
While in the forums section of Support: How-To and Troubleshooting (Support Group) I do a search on the right From the search I get sent to this url. https://buddypress.org/search/?f=messages I click on a topic and it comes up fine. When I click on any of the pagination links I get this error https://buddypress.org/search/?f=messages&p=2&n=10#t Page…[Read more]
-
jody posted on the forum topic Incorrect friend count after user is deleted in the group How-To and Troubleshooting: 14 years, 8 months ago
Couldn’t find anything on this so I wrote something. It seems to work for me. I simply add this to the bp-custom.php function update_friends_count( $user_id ) { global $wpdb, $bp; if ($friend_ids = BP_Friends_Friendship::search_friends( ”, $user_id )) { foreach ($friend_ids AS $fid) { $total_sql = “SELECT COUNT(id) FROM {$bp->friends->table_name}…[Read more]
-
jody started the forum topic Incorrect friend count after user is deleted in the group How-To and Troubleshooting: 14 years, 8 months ago
After setting up a few users and testing what they can do. I noticed that the friend count was incorrect. If I am logged in as a user then add some friends. After they have accepted my friendship I then decide to just delete the account. The friend count is not updated for the users […]
-
Jody joined the group How-To and Troubleshooting 14 years, 8 months ago
@jcandothers
Active 7 years, 10 months ago