I am using the Bimber theme for our new site, most of the BuddyDev plugins work great with it. But the “Stealth Mode for Site admin” plugin breaks the activity feed on a users profile. I can’t post new activity or see old activity.
Hi Gregg,
That was intentional to hide the activities(even self posted was not visible). Do you want to have it enabled for the site admins?Regards
BrajeshThat’s interesting. It makes sense too. I was thinking it was just interacting with other users and their profiles that would be “stealth”, but its also the admins own activity on their own profile. I get it.
I would like an admin to be able to use their profile normally, but still have the stealth for anything they do with other users. Can this be a setting?
Hi Gregg,
Thank you for sharing your thoughts. Sure, we can just update the plugin. Please allow me 2 days to put an update.Thank you
BrajeshHi Brajesh, I am just wondering if we have an update for this yet?
Hi Gregg,
I have checked the plugin again.
We do have the facility to allow the visibility for admin’s activity.Please put this code
/** * Do not hide admin's activity from site admin. * * @param bool $hide hide . * * @return bool */ function buddydev_custom_show_admin_activity( $hide ) { if ( is_super_admin() ) { $hide = false; } return $hide; } add_filter( 'bp-sm-hide-activity', 'buddydev_custom_show_admin_activity' );
In your bp-custom.php or your theme’s functions.php and it will be visible for site admin.
In future, we will put it as an option in settings.Regards
BrajeshThank you. Added it, and it works. I’ll just have to remember to remove it when you add the option.
Thank you for confirming.
Most probably, that filter will be obsolete by then, no need to worry about it.
Regards
Brajesh
You must be logged in to reply to this topic.