Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 2,551 through 2,575 (of 3,456 total)
  • Author
    Search Results
  • #91228
    @mercime
    Participant

    WP/BP versions? Did you change theme, plugins or upgrade something before this PM behavior happened?

    #91108
    lorenzo
    Member

    Hi Roger (and everyone else!), i think i’m going somewhere now, but will need some extra input. hopefully the thread will be an additional useful example!

    ok, this is where i am at: default theme with the ajax controllers at the top of the activity stream. in the activity folder of the child theme i have an index.php and activity-loop.php and and entry.php.

    basically i’ve got a ‘private’ area with content accessible only to staff. for normal post/pages i have is an extra check based on a custom field for posts and the category for pages like the following and then based on the group membership i either show a message or the actual content:

    http://pastebin.com/E4cnkwZS (top)

    now, because the group is private, the BP stuff is not showing in the activity stream already, which is good, but the posts/pages bypass my checks and come up in the list of activities showing the actual content which should be private instead.

    so, here is what i came up with so far. using the index.php i check the group membership and then load two different activity-loops:
    http://pastebin.com/E4cnkwZS (bottom)

    how would you exclude stuff? in the bp_has_activity function there is an ‘include’ option which allows to filter content, but not an ‘exclude’ one. it might be trivial to go around it, but not sure how. furthermore if you use the dropdown filter i have the impression that the arguments are passed dynamically resetting whatever is passed in the original query (like in your example and some i’ve tried using the same model).

    i would very much appreciate any further suggestion! thanks

    #91068
    Josh Frank
    Participant

    Wanted to say thank you and put in my endorsement for @Travel-Junkie ‘s great, simple privacy solution.

    Re-posting that code below for simplicity’s sake, found at this comment link:
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-make-a-private-community/?topic_page=2&num=15#post-44616

    Running WP 3.0.1 single-site with BuddyPress 1.2.5.2.

    Add to functions.php (may be titled Theme Functions in your Dashboard Theme Editor):

    function sh_walled_garden()
    {
    global $bp;

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

    if( ! bp_is_blog_page() && ! is_user_logged_in() )
    bp_core_redirect( $bp->root_domain .’/’. BP_REGISTER_SLUG );
    }
    add_action( ‘get_header’, ‘sh_walled_garden’ );

    Hugo Ashmore
    Participant

    huh I make that 5 mins .

    Can’t wait for the privacy plugin as that’s the way forward, I anticipate a massive rush to download it when released, just hope that rush is matched by a rush to donate even if token gestures ;) If and when I recommend someone use a plugin in future I think I’ll be adding a reminder to donate a small token of gratitude to the author.

    Jeff Sayre
    Participant

    Well, @hnla beat me to the answer by 4 minutes!

    Jeff Sayre
    Participant

    A quick search with the proper terms will bring up a number of options. This post in this thread should help. Once my BuddyPress Privacy Component is out in the wild, you will be able to easily do this with a simple radio button selection in the Site Admin menu of the component.

    Hugo Ashmore
    Participant

    Did you try searching the community?

    This thread might be worth you reading , it will allow you to make the site completely private to all but registered logged in users, or a variation on ‘All’ if you wanted to show certain pages.

    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-make-a-private-community/?topic_page=2&num=15#post-44616

    #90750
    Roger Coathup
    Participant

    @psycolor: public group activities (e.g. joining a group, creating a group, posting updates) should appear in the standard activity stream. Which activities are not showing for you?

    To hide private group activity from the activity stream – follow the instructions I gave for excluding blogs in this thread: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/need-exclude-parameter-for-bp_has_activities/

    Check whether the activity item action is group related, then use the primary id of the item to get the group_id, and then check whether it is one of your private groups.

    As per my comment on blogs, you can do this for all activity loops by using the filter, or on a loop by loop basis.

    #90608
    Beck B
    Participant

    bump?

    paulhastings0
    Participant
    govpatel
    Participant

    @Ryan Try this plugin BuddyPress Profile Privacy see if that is what you looking for as I am using it and has settings you are looking for.

    paulhastings0
    Participant

    Yeah, we know. @jeffsayre‘s been working on a plugin to address this critical hole in BP. During the developer chat today Jeff guestimated that after 1.2.6 makes it out the door the BP Privacy will make it’s appearance about a week later.

    So in short, there’s no fast fix. Personally I’d recommend either warning people to use the site at their own risk or to take it offline. I know what it’s like, my community has been stalled for the last few months waiting for a Privacy plugin before we go on a recruiting push.

    #90369

    In reply to: Private group RSS?

    Tosh
    Participant

    Came here looking for a solution and found this thread :/ Ah well.

    I may go with this plugin. Anyone try this ?

    https://buddypress.org/community/groups/buddypress-group-email-subscription/

    #90293

    In reply to: More Core Committers?

    @rogercoathup Happy to talk privately about why I opted to block the person in question from buddypress.org. Don’t want to air the dirty laundry but rest assured it takes quite a bit to get to that point.

    @paulhastings0 Very little ‘risk’ but you’re on the right track. IMO one of the harder things about running such a large project is deciding what belongs in the core and why. It’s something that Andy was really strict about and did a great job of training me on because I was anxious to learn and asked for feedback with every patch I submitted for more than a complete calendar year before asking if he could use more ‘official’ help. You can look back through my commit history and see a few blunders here and there, as they’re fairly easy to make when you’re bouncing between installations. Every one of the guys you mentioned (including @cnorris23 and a few others) are the top of the list of being considered for core commit access. You could say it’s the next step on the ladder for each of these guys and they all deserve the promotion fairly equally.

    If/when it comes time, it will be a hard decision to make. :)

    #90290

    @metakappa The activity component needs to be matched up with the Activity Streams standard asap, and we’ll hopefully be able to do that in 1.3.

    @intimez If you block search engines, your site is set to private, and blog posts and comments won’t appear in the stream. Make sure the option to make your blog public is the one selected.

    #89871
    r-a-y
    Keymaster

    It’s possible, but would probably require hacking the core.
    I don’t have time to look into this, but I would also suggest taking a closer look at /bp-groups/bp-groups-templatetags.php as well.

    Look for private and group statuses in that file.

    #89868
    amahesh
    Member

    thanks for the help with the admin issue @r-a-y…would you or anyone else have a possible solution for this?

    #89605
    amahesh
    Member

    @r-a-y
    I am trying to make a group for “American Restaurants” and I want everyone to be able to see the content of the group, but only accounts which are actually restaurants to be able to request an invitation and join

    #89600
    Mack
    Participant

    Thanks a lot, my function now works. Maybe I made sth wrong with these parameters. Messages now appear in database, the problem is that PMs are enabled in buddypress settings. I guess I will have to implement inbox myself, as it would be faster :P

    Thanks for your responds again :).

    Cheers,
    Maciej

    #89587
    r-a-y
    Keymaster

    What’s the point of having a group private then?

    Just make everything public!

    #89569
    r-a-y
    Keymaster

    Just looking over the parameters again, it appears that the “recipients” parameter should be an array.
    So try changing that.

    PMs and other BP components can be enabled/disabled from the “BuddyPress > Component Setup” page in the WP admin dashboard.

    #89568
    Mack
    Participant

    At first I tried to send arguments the way you suggested in last post, but it didn’t work, so I tried to do it in url-style. None of these worked so far.

    Can you tell me how to enable PMs?

    Thanks for replies!

    Cheers,
    Maciej

    #89567
    Pisanojm
    Participant

    Right, I was saying look at the code to see if you can replicate what you want.

    #89561
    r-a-y
    Keymaster

    I can see potential problems with that $args variable you have setup.
    Try setting up the arguments as an array.

    $args = array( 'recipients' => $user_id, 'sender_id' => 11, 'subject' => $title, 'content' => $message );

    If PMs are disabled, the code will not run. In fact, most likely you’ll get an undefined function error.

    #89560
    amahesh
    Member

    thats only for the forum though…I want to make it so that anyone can see the group, but to join, you must request an invite

Viewing 25 results - 2,551 through 2,575 (of 3,456 total)
Skip to toolbar