Skip to:
Content
Pages
Categories
Search
Top
Bottom

Really need help on privacy. Complete noob here


  • 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)

  • 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.


    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


    aces
    Participant

    @aces

    Couldn’t you do something along the lines of the walled garden technique: https://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.

    @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


    valuser
    Participant

    @valuser

    See and test https://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


    modemlooper
    Moderator

    @modemlooper

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


    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


    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)
  • The topic ‘Really need help on privacy. Complete noob here’ is closed to new replies.
Skip to toolbar