Skip to:
Content
Pages
Categories
Search
Top
Bottom

Really need help on privacy. Complete noob here

  • Avatar of Jefri Zain
    Jefri Zain
    Participant

    @jefrizain

    I am using WordPress 3.2.1 and Buddypress 1.5.1 and I cant seem to find a way to hide my members profile, groups, pages from visitors (logged out members). Is there a plugin I can use? Or anything simple? This is one of the reason I’m putting off ablums etc for my members.

    Any help would be greatly appreciated. Thanks in advance.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    Not much privacy with BuddyPress. There are a couple plugins that make the entire site closed to non logged in uses. But individual privacy settings are not available.

    Avatar of Jefri Zain
    Jefri Zain
    Participant

    @jefrizain

    Can u recommend me a good plugin that make the entire site closed to non logged users. Been trying to look for it, maybe I’m seaching it all wrong :-) I have to lose all my data, if worst case scenario I need to migrate to Drupal Commons… sigh

    Avatar of aces
    aces
    Participant

    @aces

    Couldn’t you do something along the lines of the walled garden technique: http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/privacy-3/#post-113808

    try this one:
    http://pastebin.com/rgJ6BQc8

    logged in users only, private site. code needs to go into a bp-custom.php in your plugin directory.

    Avatar of neononcon
    neononcon
    Member

    @neononcon

    @dan77 that code doesn’t seem to work anymore. It gives the following error:

    Warning: Cannot modify header information – headers already sent by (output started at /site/wp-content/plugins/bp-custom.php:50) in /site/wp-includes/pluggable.php on line 881

    Avatar of valuser
    valuser
    Participant

    @valuser

    See and test http://buddypress.org/community/groups/miscellaneous/forum/topic/buddypress-1-6-beta-2-is-ready-to-test/

    SOME privacy issues have been addressed. But not to the extent of being able to (out of the box) hiding members profile, groups, pages from visitors.

    Just, now, visibility of individual profile fields can be allowed to be toggled/or fixed by admin between


    > Anyone, Logged In Users or My Friends

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    You can use my profile privacy plugin to hide profile sections. Even though it says not supported it still should work. http://wordpress.org/extend/plugins/buddypress-profile-privacy

    Avatar of billzy
    billzy
    Participant

    @billzy

    I took a different approach to this that worked… I was looking to hide content from people who are not friends… In any pages that friends are not connected I did this..

    ?php if ( bp_is_friend() != ‘is_friend’ ) {
    if (bp_current_user_id() != bp_loggedin_user_id()):
    locate_template( array( ‘members/single/not-friends.php’), true )
    endif;
    }
    php if (bp_current_user_id() == bp_loggedin_user_id() || ( bp_is_friend() == ‘is_friend’ ) ): ?>
    // add page content for friends
    ?php endif; ?>

    for groups you can do the similar with bp_group_is_member()

    naturally you would need to create;
    members/single/not-friends.php

    but this way you take away the permissions settings from your users and control them yourself with your theme…. With a little bit of configuring you can do the same with users who are not logged in.

    Hope this helps…

    Cheers

    Avatar of newpress
    newpress
    Participant

    @newpress

    I am going to have an headache with this “privacy” thing. YOU CANT MONETISE A PRIVATIZED SITE WITH ADSENSE!.

    If your after privacy, I recommend Elgg. I left it because of that stupidly built feature. With that free script a user can even privatize a forum post.

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

You must be logged in to reply to this topic.