Skip to:
Content
Pages
Categories
Search
Top
Bottom

Privacy?

  • Avatar of Andrew Tegenkamp
    Andrew Tegenkamp
    Participant

    @andrewteg

    Does this hook into any privacy plugins? I am wanting to have a group with a blog that is only for certain members of my site, and the group admin will have to approve them. But if the group has a blog (say private) I would like direct access to private.domain.com to be stopped unless the user is a member of the group. Can it be setup like that?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of Lemmy
    Lemmy
    Participant

    @lemmyc

    I need this option too. Has anyone else tackled it?

    Hi there,
    When a blog is created for a group that is private, we do set the privacy settings of the blog to block search engines, but have done nothing so far like what you suggest.

    I think this is something that would best be tackled in the blog’s theme itself where you could:
    1. check to see if the current user is a member of the group, or of the blog.
    2. if current user is not a member (or not even logged in), then some default text is displayed, or they are redirected to the main blog’s root.
    3. this would best be done in the theme’s header (if all pages have the same header) so it would catch all incoming traffic.

    There would need to be a template tag, something like bp_groupblog_public_group that would return true or false and I’m sure there are WP tags that check to see if a user is a member of a blog or not.

    For hidden groups, it presents another problem, though, since if the group is hidden, you wouldn’t want the blog address to respond in any way, not even a re-direct. You would almost want someone to get a “not found error” as if the blog didn’t exist.

    This seems like a good feature, perhaps we can include it in the future. In the meantime, maybe someone else has found a solution.

    Thanks for posting this.

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

You must be logged in to reply to this topic.