Support » Plugin: BuddyPress for LearnDash » Prevent users seeing activities from non-enrolled courses!

  • Hi, there is a serious problem we are having! students are able to see comments on lessons that they are not enrolled to their courses! that is putting us in a lot of problems, they even can see the lesson name and link.

    Any idea about how to hide the activities in the sitewide activities page, that are not related to current student enrolled courses?

    Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Support BuddyBoss Support

    (@bbwpsupport)

    Hi @tinycoder

    We do not have feature of hiding the activities in the sitewide activities page that are not related to current student enrolled courses.

    While it is possible to hide specific activities in the sitewide activities page, it will require a customization. We are limited in the amount of support that we can provide for customizations, but I will try to point you in the right direction for this.

    To hide the activities from stream, I would recommend taking a look at this article with instructions on how to do this in the custom activity lop.
    https://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/

    If you’d like to do this without overriding Activity Loop template, BuddyPress has bp_ajax_querystring filter hook that you can try out.

    I hope this helps! 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Prevent users seeing activities from non-enrolled courses!’ is closed to new replies.