Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

  • informerfrk
    Participant

    @informerfrk

    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) ) {
    

    informerfrk
    Participant

    @informerfrk

    I have deleted the plugin and i am not selling it now…


    informerfrk
    Participant

    @informerfrk

    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 ?


    informerfrk
    Participant

    @informerfrk

    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”…


    informerfrk
    Participant

    @informerfrk

    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

Viewing 5 replies - 1 through 5 (of 5 total)
Skip to toolbar