BuddyDev

Search

[Resolved] BuddyBlog privacy (not)

  • Participant
    Level: Master
    Posts: 279
    Richard Foley on #12891

    hi Brajesh,

    I’m currently using the BuddyPress Lock plugin to protect my members area, against non-logged-in users.

    https://wordpress.org/plugins/lock-my-bp/

    This locks everything down under /members/ (including buddyblog). What I’m after is to have my user blogs visibility controlled outside of the above plugin, and I’m not immeiately sure how to achieve this. Thinking out loud, perhaps I could create a new page which displays a users blog, based on their profile privacy (for instance).

    Maybe you have a better idea, and/or an example of something along these lines?

    R.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #12921

    Hi Richard,
    Please ask the plugin developer on how to allow excluding some part.

    You can test for BuddyBlog component using

    
    
    if ( bp_is_current_component( 'buddyblog' ) ) {
    
    }
    
    

    Another option will be to make the blog posts as part of the site blog instead of separate by user.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 279
    Richard Foley on #12932

    hi Brajesh,

    for my case, I prefer the option to keep the blog posts separate from the user, and having seen your reply, I also now see the config option. Perfect like this! (closing)

    R.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #12949

    🙂

The topic ‘ [Resolved] BuddyBlog privacy (not)’ is closed to new replies.

This topic is: resolved