BuddyBoss Home – Web Support Forums Themes BuddyBoss theme BuddyPress Activity Privacy doesn't work on BuddyBoss 4.0

Viewing 15 posts - 1 through 15 (of 22 total)
  • Question

    #33052
    @izacic

    After update 4.0.7 buddyboos can not find (buddyboss / js / buddypress.js line 455 BEFORE “NEW POSTS”: 9) where now there ??
    Please help !!
    Thank you

    Answers

    #33071

    Alyssa
    Participant
    @alyssa-buddyboss

    @izacic what was the code that is missing or moved?

    #33078
    @izacic

    Hier das bild !

    #33101
    @izacic

    Hier code !

    jq(‘body’).on(‘change’, ‘.bp-ap-selectbox’, function(event) {
    var target = jq(event.target);
    var parent = target.closest(‘.activity-item’);
    var parent_id = parent.attr(‘id’).substr( 9, parent.attr(‘id’).length );

    if (typeof bp_get_cookies == ‘function’)
    var cookie = bp_get_cookies();
    else
    var cookie = encodeURIComponent(document.cookie);

    jq.post( ajaxurl, {
    action: ‘update_activity_privacy’,
    ‘cookie’: cookie,
    ‘visibility’: jq(this).val(),
    ‘id’: parent_id
    },

    function(response) {
    });

    return false;
    });

    #33106

    Alyssa
    Participant
    @alyssa-buddyboss

    @izacic ah yes, I see the issue now. That fix was for BuddyBoss version 3.0 since we updated to version 4.0 we are now using the default buddypress.js file located in the BuddyPress plugin. That file is located here: buddypress/bp-templates/bp-legacy/js/buddypress.js

    This file is not going to be support by BuddyPress any longer. It appears this issue is now a BuddyPress issue. If you need further support you should post on the BuddyPress support forums here: https://buddypress.org/support/

    #33107
    @izacic

    Good evening!
    I want the code to add so that we function plugin Privacom BuddyPress Activity privacy as before it was. Of course if you can help it would be great. Here below is the theme ..

    (Good evening!
    Very good new update to 3.0.7 BuddyBoss unfortunately for me does not work BuddyPress Activity privacy. Before this update was not possible to add a photo. Now it’s possible but after the placed image is no longer possible promjenuti Who can see this picture, as is possible with BuddyBoss 3.0.6. I unfortunately had to uninstall BuddyBoss 3.0.7 and reinstall again BoddyBoss 3.0.6 for this reason it would be possible to post to privatize members.
    I’d be very happy if it failed to make it to be possible to be BoddyBoss kompetabel with the following plugin which are very important for one community ..

    PS-RS BuddyPress Activity Refresh does not work despite all the updates that are its fruit lately!

    BuddyPress Activity privacy.
    RS BuddyPress Activity Refresh)

    #33136

    Alyssa
    Participant
    @alyssa-buddyboss

    @izacic looking into this further, thank you for your patience.

    #33614
    @daniel8

    BuddyPress Activity Privacy doesn’t work on BuddyBoss 4.0, i set ‘my friends’ for default setting. but when i post update , the activity privacy still show ‘anyone’. please help to solve this.

    #33618
    @hrehm331

    We just purchased Buddyboss 4.0.8 and can confirm the same issue. This issue happens with no additional plugins or modifications made to our site. We can also confirm that we have tested other wordpress and buddypress themes which did not have the same problem.

    Thanks!

    #33619
    @daniel8

    Thanks, but I had been remove some plugins but still have the problem, please help to solve this.

    #33628

    Alyssa
    Participant
    @alyssa-buddyboss

    @izacic @hrehm331 @daniel8 I have developed a temporary fix until we can get this resolved.
    Copy buddypress/bp-templates/bp-legacy/js/budypress.js to buddyboss-child/buddypress/js/budypress.js

    Then place this code before line 100 title New Posts:

    jq('body').on('change', '.bp-ap-selectbox', function(event) {
    var target = jq(event.target);
    var parent = target.closest('.activity-item');
    var parent_id = parent.attr('id').substr( 9, parent.attr('id').length );
    
    if (typeof bp_get_cookies == 'function')
    var cookie = bp_get_cookies();
    else
    var cookie = encodeURIComponent(document.cookie);
    
    jq.post( ajaxurl, {
    action: 'update_activity_privacy',
    'cookie': cookie,
    'visibility': jq(this).val(),
    'id': parent_id
    },
    
    function(response) {
    });
    
    return false;
    });
    #33639
    @daniel8

    what do you mean this directory buddyboss-child/buddypress/js/,i can’t find it. i just find themes/buddyboss-child/js , when i have been edit then save to folder themes/buddyboss-child/js, the problem still appear.

    thanks

    #33640
    @hrehm331

    Same here. We can find the 1st portion of the instructions:Copy buddypress/bp-templates/bp-legacy/js/budypress.js
    We found the above in the buddypress plugin.
    However the second portion: to buddyboss-child/buddypress/js/budypress.js
    Is not clear. Buddyboss or Buddybos-Child do not have the buddypress/js/budypress.js folders.

    Looking forward to more clarification.

    Thanks!

    #33649

    Alyssa
    Participant
    @alyssa-buddyboss

    @izacic @hrehm331 @daniel8 sorry, you need to create the new folder in the child theme.

    #33662
    @daniel8

    I’ve done like the steps above, but the problem still appears.

    thanks

Viewing 15 posts - 1 through 15 (of 22 total)
  • The question ‘BuddyPress Activity Privacy doesn't work on BuddyBoss 4.0’ is closed to new replies.