Hi,
I am planning to add this as an option in the recent visitors setting in next update. Most probably early next week. You can turn it on/off(will be off by default).Regards
BrajeshHi,
Please upgrade to 1.6.1 and use the following code/** * Show for other logged users. */ add_filter( 'rv_show_visitors_component', function () { return is_user_logged_in(); } );
That will enable visitors component on other user’s profile too.
Regards
BrajeshWe have updated the plugin and the above suggested filter will work properly.
For older version, if you can not upgrade, Please change this line
$show = ( is_super_admin()|| bp_is_my_profile() ) && visitor_is_enabled_for_user( bp_displayed_user_id() );//( $is_enabled || is_super_admin() );
to
$show = is_user_logged_in();
in visitors-component.php around line 88.
Regards
Brajesh
The topic ‘ [Resolved] Recent Visitors For BuddyPress Profile -> Tab in Profile’ is closed to new replies.
This topic is: resolved