Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 1,526 through 1,550 (of 3,456 total)
  • Author
    Search Results
  • fpats
    Participant

    Done, thanks.
    Yes it’s the theme as private community works with default BP.

    Not really sure how that helps me though. I’ve gone through 6-7 premium themes now trying to get BP to work how it should and 3 of those are since BP1.7 was launched with it’s claims of working with any theme (it blatantly doesn’t).

    I think i’m just going to give up with it before i have a breakdown to be honest.

    bp-help
    Participant

    @fpats
    Okay but if its the theme and you invest a lot of time testing plugins and none of them work because of the theme then your back at square one. I suggest activating the bp-default theme, then activating the private community plugin, then log out and click the nav links to see if the problem persists. It only takes maybe 2 minutes to check.

    fpats
    Participant

    Very possibly but i’m not skilled enough to check, i have limited experience in all this so have to rely on plugins.

    It’s this theme > maestro

    I’ll keep trying anyway, there’s membership/role plugins i can try i guess.

    bp-help
    Participant

    @fpats
    Have you considered maybe its your theme overriding the functions of both these plugins? What theme are you using?

    fpats
    Participant

    Neither work i’m afraid, not for us anyway.

    I’ve activated private community but can still access BP when not logged in.
    I’ve activated private buddypress but no tab is added to our settings page so it can’t be configured.

    Someone please shoot me.

    thanks anyway, i’ll keep trying.

    #161805
    xprt007
    Participant

    So what can be done?

    This is a new site Buddypress based site with Groups and if you make your Group create a private forum, it is not accessible (page not found error), although you see it in the Forums list!
    🙁

    Renato Alves
    Moderator

    Here goes another plugin that does exactly what you want.

    https://wordpress.org/extend/plugins/private-buddypress/

    fpats
    Participant

    Not seen that before @bphelp thanks!
    Looks like i’m now staying up another hour.

    bp-help
    Participant
    aces
    Participant

    If you are going to resurect such an ancient page I would like to note that the upgrades to buddypress.org have messed up the code in my original post:
    `
    /*
    Plugin Name: Walled Garden
    Plugin URI: http://www.example.com/
    Description: A brief description of the Plugin.
    Version: 0.1
    Author: http://www.example.com/
    Author URI: http://www.example.com/
    License: A “Slug” license name e.g. GPL2
    */

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

    if( bp_is_register_page() || bp_is_activation_page() || bp_is_page( BP_FORUMS_SLUG ) )
    return;

    if( ! bp_is_blog_page() && ! is_user_logged_in() )

    bp_core_redirect( bp_get_signup_page() );
    }

    add_action( ‘bp_init’, ‘sh_walled_garden’ );

    function bp_remove_feeds() {
    remove_action( ‘bp_actions’, ‘bp_activity_action_sitewide_feed’, 3 );
    remove_action( ‘bp_actions’, ‘bp_activity_action_personal_feed’, 3 );
    remove_action( ‘bp_actions’, ‘bp_activity_action_friends_feed’, 3 );
    remove_action( ‘bp_actions’, ‘bp_activity_action_my_groups_feed’, 3 );
    remove_action( ‘bp_actions’, ‘bp_activity_action_mentions_feed’, 3 );
    remove_action( ‘bp_actions’, ‘bp_activity_action_favorites_feed’, 3 );
    remove_action( ‘groups_action_group_feed’, ‘groups_action_group_feed’, 3 );
    }
    add_action(‘init’, ‘bp_remove_feeds’);
    `

    ` false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) );`

    `if ( is_user_logged_in() ) {
    wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ” ) );
    } else
    wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘secondary-menu’, ‘fallback_cb’ => ” ) );
    }`

    Opening and closing php ( where appropriate ) tags have been removed due to buddypress.org’s issues with those tags….

    Still works for me with bp v 1.7 using ‘legacy forums’.

    fpats
    Participant

    Looks like the perfect plugin but as usual on our BP installation, this doesn’t work.
    Have installed it but there’s no tab added to our settings panel so it can’t be configured 🙁

    I’m not sure what i’ve done but FFS, the gods must really hate us.

    #161746
    shanebp
    Moderator
    #161737
    funmi omoba
    Participant

    @shanebp,

    Your link is not working anymore

    #161723
    timvango
    Participant

    Hello,
    The private groups arent visible in groups, but they are in my groups…
    In my groups I see all groups, not only the groups that I subscribed on.
    This is on a default account, not admin.

    #161708
    shanebp
    Moderator

    Try this in your functions.php or bp-custom.php file

    https://gist.github.com/shanebp/5388770

    #161638
    angslycke
    Participant

    After hours of frustration I realised that I was trying to change the wrong filter. The filter should be ‘bp_core_signup_send_validation_email_to’. Now works. Here’s the code:

    `
    function redirect_new_user_activation_email()
    {
    // Make sure to use a valid email. Test it with different addresses.
    return get_site_option( ‘admin_email’, ‘fallback@something.com’ );
    }

    add_filter( ‘bp_core_signup_send_validation_email_to’, ‘redirect_new_user_activation_email’);
    `

    The second e-mail address is a fallback address in case the admin_email isn’t specified. Let me know if this works for you!

    #161620
    timvango
    Participant

    The filter sidewide is showing private group content

    #161611
    Yuttadhammo
    Participant

    I’m not sure why it would be showing private groups… it should only show groups that the user is in, since it is using groups_get_user_groups(). What filter is showing private groups?

    #161570
    angslycke
    Participant

    @modemlooper Revisiting this thread. I’m still looking to change the activation e-mail to go to the site admin instead, and even though this should be fairly easy I must be missing something. The code should be something like this, right?

    `
    function my_redirect_activation_email()
    {
    return get_site_option( ‘admin_email’ );
    }
    add_filter(‘bp_core_activation_signup_user_notification_to’, ‘my_redirect_activation_email’);
    `

    Added this to my custom-functions.php but can’t seem to get it to work, WordPress stills sends the e-mail with the activation link to the new user instead. Any ideas? Thanks!

    #161535
    shanebp
    Moderator

    Please provide a username and password so we can login without having to create an account.

    Do you have Private Messaging selected on the Components page under Settings -> BuddyPress ?

    #161522
    timvango
    Participant

    The app now works great, but I can see messages in a private group with a normal account…
    Can this be fixed please? Beacause private groups now are not private anymore…

    #161361
    bp-help
    Participant

    @scotm
    Strange, it works perfect for me. Maybe its a plugin interfering because on my install I only have BP, BBPress, and Private Community activated. If I log out it redirects me to the registration. If I click the forum nav button it redirects me to registration as well. Do you have other plugins installed besides the ones I listed?

    azchipka
    Participant

    Ok so I managed to find a backwards way of doing it because I needed to be able to do the same thing. Your going to need two plugins.

    1. Your Preferred Role Management Plugin. I like Capacity Manager Enhanced
    2. Buddypress xProfiles ACL

    STEPS
    1. Use your role manager to create some new roles. Name them what ever you want.
    2. Go into the Users -> Profile Fields
    3. Create a Field Group for your Restricted Items (not the primary one).
    4. Go to the Settings -> xProfile ACL
    5. Put your Field Group that you only want the Admin to be able to edit for the admin only.
    6. Now this is important you need to modify the xProfile ACL php file (yes I know this makes it a hack, if xProfile ACL is updated you will lose this setting.)
    6a. Go to line 240 of the buddypress-xprofiles-acl.php file. Comment out lines 240 – 249, the code you are commenting out is:

    `
    function filter_xprofile_groups_with_acl() {
    global $bp, $profile_template, $current_user;
    get_currentuserinfo();
    foreach($profile_template->groups as $key => $profile_group) {
    if( ! in_array($profile_group->id, $this->user_allowed_xprofile_groups) ) {
    unset($profile_template->groups[$key]);
    }
    }
    }
    `

    6b. Below the code you just commented out add:
    ` function filter_xprofile_groups_with_acl() {}`

    7. Save your changes to the buddypress-xprofiles-acl.php file.

    8. Now when ever you need to modify the fields log in with your admin account navigate to the user profile in buddy press and select Edit Member Profile from the tool bar. You will see the fields from the private group. Users will see the fields but when they select edit they will not be displayed.

    Hope this helps.

    #160277
    Henry
    Member

    It might also be worth removing both the subject column from members/single/messages/messages-loop.php and the h1 heading from members/single/messages/single.php

    Users won’t then see “private message” for every message they get sent.

    #160151
    antonchanning
    Participant

    Also I found the other hook I was looking for, so I can apply the shortcodes to private messages. It turned out I can use `bp_get_the_thread_message_content` for that.

Viewing 25 results - 1,526 through 1,550 (of 3,456 total)
Skip to toolbar