Forum Replies Created
-
You’re saying it’s normal for an admin to have rights to see private messages? That’s HORRIBLE for privacy. Can’t be right. Can @johnjamesjacoby verify this?
I have disabled all plugins besides Buddypress and switched to the default Buddypress theme and am still seeing the issue.
It says the conversation is between the admin account and the two users that the message is actually between.
Yes it happens even with the plugin deactivated
Bump, this is a serious issue
@prometheus-fire – I placed the code into my bp-custom.php file and made the edits you specified, but am not seeing CPT’s show up in my activity. No errors, no changes, nothing.
Any ideas? Thank you for your posts about this across the web! You’re the only one with a serious solution.
*Hopeful bump*
@johnjamesjacoby – Thank you! Won’t happen again.
Anyone?
Progress: I found the BP function in the core and figured out how to alter it to achieve the effect, but I can’t figure out how to do this in the function.php file instead of altering the core file.
The function:
`function bp_core_add_notification( $item_id, $user_id, $component_name, $component_action, $secondary_item_id = 0, $date_notified = false ) {
global $bp;if ( empty( $date_notified ) )
$date_notified = bp_core_current_time();$notification = new BP_Core_Notification;
$notification->item_id = $item_id;
$notification->user_id = $user_id;
$notification->component_name = $component_name;
$notification->component_action = $component_action;
$notification->date_notified = $date_notified;
$notification->is_new = 1;if ( !empty( $secondary_item_id ) )
$notification->secondary_item_id = $secondary_item_id;if ( !$notification->save() )
return false;return true;
}`and adding the following above return true; made it work:
` if ( $component_name == ‘messages’ ){
return false;
}if ( $component_action == ‘friendship_request’ ){
return false;
} `I’m using the latest release candidate (which works great!). You can download it here: https://buddypress.org/2011/09/buddypress-1-5-release-candidate-1-and-buddypress-1-2-10/
…and for 1.5? This would be a great change!
And I am using W3 Total Cache btw
Fixed it. Users need to have the member role or higher, not subscriber or anything lower or they will be logged out upon leaving the site
Anyone?
Anyone?
Of course without modifying core files would be preferred