• Hi there
    I’m using BP Portfolio on our site which I’m enjoying. Thanks!
    One Issue that I have come across is that when a user sets a project as being private/members only, the project and images are still accessible via the /bb_project/ url.

    For example.
    In the plugin settings. I selected the page /projects/ to show a listing of all public projects.
    However, the /bb_project/ url is sill accessible via public projects, which then allows all users to see all projects.

    Please could you assist with this.
    Thanks

    Grant

    https://wordpress.org/plugins/bp-portfolio/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author BuddyBoss

    (@buddyboss)

    Hi,

    Sorry for the delay. We were not previously alerted about new forum posts here, we’re now actively monitoring these forums. Yes, this functionality is broken. Add this code to the top of templates/single-bb_project.php :

    global $post;
    
    $project_visibility = get_post_meta(get_the_ID(), 'project_visibility', true);
    if($project_visibility == 'private' && (int)$post->post_author != bp_loggedin_user_id()) {
        exit;
    }

    until we solve this problem.

    Thank you for pointing out.

    Thread Starter grant.cleveland

    (@grantcleveland)

    Thank for the response and the attempted patch.
    I gave it a go, but unfortunately it didn’t seem to do the trick.

    Any idea on what your backlog will be like to push a fix on this bug?
    Also, where else is appropriate to post support topics etc on this plugin?

    Regards
    Grant

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Private Projects/Pictures still visible via /bb_project/ url’ is closed to new replies.