Forum Replies Created
-
In friends only activity plugin change the following code
/* if member of a group – we want the activity even if nonfriend */ if ( $activity->component != 'groups' && $activity->user_id != 0 && !my_is_friend_check($activity->user_id) && !my_is_atme_check($activity->content) ) {
Into
/* if member of a group – we want the activity even if nonfriend */ if ( $activity->component != 'no_activity_component_shown' && $activity->user_id != 0 && !my_is_friend_check($activity->user_id) && !my_is_atme_check($activity->content) ) {
I have deleted the plugin and i am not selling it now…
I am thinking to build an admin settings page where the admin can choose which component will be visible to all and also the admin can choose if all members activity or only friends activity will show in activity stream… But I need some help to do it… Is their anyone who can help me ?
Thanks… But I want the settings option in admin dashboard for admin… Just look at these two code….
if ( $activity->component != ‘groups’
And also
if ( $activity->component != ‘friends’I want to add an option page in admin dashboard menu where the site owner can select which code should be run without having any coding knowledge… I want to add two radio button options “friends” and “group”…
Thanks… But I want the settings option in admin dashboard for admin… Just look at these two code….
if ( $activity->component != 'groups'
And also
if ( $activity->component != 'friends'
I want to add an option page in admin dashboard menu where the site owner can select which code should be run without having any coding knowledge… I want to add two radio button options “friends” and “group”…
@bp_help