Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 2,376 through 2,400 (of 3,690 total)
  • Author
    Search Results
  • Paul Wong-Gibbs
    Keymaster

    Private is basically read- and invite- only. https://codex.buddypress.org/getting-started/group-settings-and-roles/

    #124885
    rich
    Member

    standard feature in other community software solutions – sometimes you have to manage members/trolls/issues via which the site admins needs to verify the context.

    #124879
    Xevo
    Participant

    @etivite Then you better throw away your privacy agreement first. :)

    #124877
    rich
    Member

    it would make a good wp-admin plugin to view all member PMs. if someone has done that – is different question :P

    #124872
    Xevo
    Participant

    Everythings possible, you could always see the data in the database..

    #124871
    meg@info
    Participant

    No,

    #124805
    deedles916
    Member

    Please also… I am open for suggestions as this is only 1/2 half in process and want to get it right this time around. And I will NOT be using multi-user environment at all. So there will not be user blogs or user sites. Just groups (private & public) with forums.

    #124775
    ewebber
    Participant

    Ah I see, @djpaul it’s your welcome pack jumping in and styling private messages and mentions – is this expected?

    #124346
    the cult bob
    Member

    I try to contact KonradS,but I can’t write post on his profile!?
    Why you don’t have private mesage option on this community?
    Is this some kind of bug,cant write any post on this site except on my topic?

    #123889
    mrjarbenne
    Participant

    Join Group will only appear with groups that you have set up as “Public”. Private Groups will have a “Request Membership” button, and hidden groups will appear for you as an admin, and for users that are already members, but will otherwise not appear.

    As the Admin/Creator of the group, you won’t see any of these buttons. Try logging in as a reg subscriber.

    #123774
    mrjarbenne
    Participant

    You can limit access to forums by putting them behind private groups. By default, your members have the ability to post on the activity stream, but limiting access to groups, either by setting the Buddypress Admin panel to only allow Admins to create groups, or by using the Limit Group Creation plugin, you can keep your users out of certain forums.

    Currently there is no out-of-the-box way to allow read-only access to a buddypress install; but given that it’s a SOCIAL network, it isn’t really a logical functionality to have: seems anti-social.

    #123773
    mrjarbenne
    Participant

    When you say “make a post on the site” are you talking about a Blog post in a WordPress Multisite install, or an Activity Stream update? A blog post from a user will create a hyperlink on the Activity Stream that will go directly to that blog, but very much like on this site, if you click directly on the avatar of the user in question, you should be taken to their profile page, on which you will see a “Friend” button, a “Private Message” button etc.

    Ensure that you have activated all of these items in the Network Admin/Buddypress Panel. It is possible that you have friend connections; private messages; profiles; etc turned off. Here’s a nice tutorial on setting up Buddypress 1.5 http://wpmu.org/the-illustrated-guide-to-installing-and-setting-up-buddypress-1-5/comment-page-1/

    #123714
    doctorb
    Member

    Isin’t buddypress only supposed to be installed sa a plugin to wordpress?

    https://codex.buddypress.org/getting-started/setting-up-a-new-installation/

    I did set BP_ROOT_BLOG constant. As I said, everything else is working fine. Members can login, create groups and forums, join groups, the members in a group do get listed in that group, they can send friend requests to each other and also private messages, appear in activity streams….

    It’s just that members directory comes blank and friendship requests page shows no friendship requests, even when the top admin bar shows notice of new request.

    Boone Gorges
    Keymaster

    I think that this is a decent candidate for a patch. Feel free to work it up as one and attach it to that ticket.

    wiking
    Member

    for sure – but the bug is open for 15 months ( https://buddypress.trac.wordpress.org/ticket/2576 ) and wasn’t fixed – and therefore i thought if you tidy the code up you could add it to core as a patch.

    Paul Wong-Gibbs
    Keymaster

    You should never, ever, edit core files.

    wiking
    Member

    As there was a php error if the user who uses the forum directory is not logged in the following modification was done:

    Code:
    //Get current user
    $current_user = wp_get_current_user();

    //Fetch forums IDs to which user has access
    $i = 0;
    $result = mysql_query("SELECT meta_value FROM oba_bp_groups_members, oba_bp_groups_groupmeta WHERE user_id = ".$current_user->ID." and oba_bp_groups_members.group_id = oba_bp_groups_groupmeta.group_id and oba_bp_groups_groupmeta.meta_key=’forum_id’")
    or die ("MySQL-Error: " . mysql_error());
    while ( $row = mysql_fetch_array($result)) {
    $res[$i] = $row["meta_value"];
    $i++;
    }

    //Implode forum ids into a comma sperated list e.g: 3,5,7
    if ( !empty( $res ) )
    $comma_separated = implode(",", $res);

    // Set this for groups
    //Old //$parts[‘groups’] = "(gm.meta_key = ‘forum_id’ AND gm.meta_value = t.forum_id)";
    $parts[‘groups’] = "(gm.meta_key = ‘forum_id’ AND gm.meta_value = t.forum_id AND gm.meta_value IN (".$comma_separated."))";

    You also need to add the functionality that logged in users can potentially see all forums (the above code then filters out forums the user is not member of):

    after

    Code:
    // Are we a super admin?
    elseif ( is_super_admin() )
    unset( $parts[‘private’] );

    add

    Code:
    // Allow the forum directory to display private forums for users
    elseif ( is_user_logged_in() )
    unset( $parts[‘private’] );
    Sirup
    Member

    This problem is solved.
    In in “bp-groups-filters.php” in function “function groups_add_forum_where_sql( $sql = ” ) ” change the following (oba is the database prefix):

    Code:
    //Get current user
    $current_user = wp_get_current_user();

    //Fetch forums IDs to which user has access
    $i = 0;
    $result = mysql_query("SELECT meta_value FROM oba_bp_groups_members, oba_bp_groups_groupmeta WHERE user_id = ".$current_user->ID." and oba_bp_groups_members.group_id = oba_bp_groups_groupmeta.group_id and oba_bp_groups_groupmeta.meta_key=’forum_id’")
    or die ("MySQL-Error: " . mysql_error());
    while ( $row = mysql_fetch_array($result)) {
    $res[$i] = $row["meta_value"];
    $i++;
    }

    //Implode forum ids into a comma sperated list e.g: 3,5,7
    $comma_separated = implode(",", $res);

    // Set this for groups
    //Old //$parts[‘groups’] = "(gm.meta_key = ‘forum_id’ AND gm.meta_value = t.forum_id)";
    $parts[‘groups’] = "(gm.meta_key = ‘forum_id’ AND gm.meta_value = t.forum_id AND gm.meta_value IN (".$comma_separated."))";

    wiking
    Member

    I still struggle to get this view running corectly.

    I managed to find out how to pull all group ID’s for a given userid:

    SELECT group_id FROM `xyz_bp_groups_members` where `user_id` = 1

    And how to get all forum_id’s for a given group:

    SELECT meta_value FROM `xyz_bp_groups_groupmeta` where group_id = 1 and meta_key = ‘forum_id’

    My idea was to do a join as i didn’t know how to follow your directions correctly @boonebgorges.
    Therefore i tried to modify the original $sql (line 83 in bp-group-filters.php):

    $sql .= ‘JOIN ‘ . $bp->groups->table_name . ‘ AS g LEFT JOIN ‘ . $bp->groups->table_name_groupmeta . ‘ AS gm ON g.id = gm.group_id ‘;

    with this extended version:

    $sql .= ‘JOIN ‘ . $bp->groups->table_name . ‘ AS g LEFT JOIN ‘ . $bp->groups->table_name_groupmeta . ‘ AS gm, oba_bp_groups_members AS gu ON g.id = gm.group_id AND gu.group_id = gm.group_id’;

    unfortunately i have not enough know-how how the buddypress-core is working correctly. Any hints on how to do this properly?

    Many Thanks!

    #122947

    In reply to: Privacy????

    aces
    Participant

    I’m using the walled garden technique for some privacy and have adapted it for bp 1.5.* !

    This is based on https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/members-privacy-how-can-i-hide-members-profiles?topic_page=2&num=15#post-102784 and needs to go in a bp-custom.php file…

    `
    function sh_walled_garden()
    {
    global $bp;
    if( bp_is_register_page() || bp_is_activation_page() || bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_GROUPS_SLUG ) )
    return;

    if( ! bp_is_blog_page() && ! is_user_logged_in() )
    bp_core_redirect( bp_get_signup_page() );
    }
    add_action( ‘wp_loaded’, ‘sh_walled_garden’ );
    `
    Originally add action was to get_header but now the bp template loads the header first so I had to move it…

    Before that one had to put a hook into the page template header to load the function – not sure which would now be best or if that hook is ok to use (It’s the only one i found that worked)?

    The above function hides members and activity from those not logged in but enables forums and groups for everyone – see variation here

    archonic
    Participant

    That was a terrible experience, but at least I know BP much better now. It was a combination of issues – ajax.php silently failed to load with the theme files on the production server, despite being identical to the theme files on staging (I still can’t explain that), and there was the just recently patched BP core bug with the red “You do not have access to this group” error.

    Resolved =)

    #122331
    archonic
    Participant

    The issue has been unravelling here:
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/cant-request-private-group-membership-you-do-not-have-access-to-this-group/

    I started from scratch on the production server here:
    http://dhcworks.carleton.ca/version2/

    With fresh files and a fresh DB, the issue came up again. Staging is here and hasn’t had any problems:
    http://dev.archonic.com/carleton/dhc/

    You can login using username and password “tester” on both sites. Note that on production, the buttons to join, leave, and request aren’t showing on the group directory or group home.

    UPDATE: just noticed r-a-y’s patch here – https://buddypress.trac.wordpress.org/ticket/3687. I’ll try it and report back.

    archonic
    Participant

    This bug is potentially costing me a client, I’ve got to get a gasp on it soon. I reinstalled everything and started with a fresh database and the issue is still there. So let me ask a more broad question –

    What does BP ask of a user to be eligible to join a group (public, private and hidden)?
    User must be logged in, and….?

    #122241
    Paul Wong-Gibbs
    Keymaster

    As you can see from that ticket, no, no-one’s fixed it yet. Patches welcome.

    #122886
    jnnkn
    Member

    it happens only with my friends

Viewing 25 results - 2,376 through 2,400 (of 3,690 total)
Skip to toolbar