Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 2,751 through 2,775 (of 3,450 total)
  • Author
    Search Results
  • Anja Fokker
    Participant

    YEZZ, it works again. Thanks for your help again!
    The only things what are needed:

    In the root of BuddyPress (version 1.2.3):
    In bp-blogs.php, change rule 379 of
    if ( (int)get_blog_option( $blog_id, ‘blog_public’ ) || !bp_core_is_multisite() ) {
    IN:
    if (get_blog_option( $blog_id, ‘blog_public’ ) > 0 || !bp_core_is_multisite() ) {

    and change rule 427 from
    if ( (int)get_blog_option( $recorded_comment->blog_id, ‘blog_public’ ) || !bp_core_is_multisite() ) {
    IN:
    if (get_blog_option( $recorded_comment->blog_id, ‘blog_public’ ) > 0 || !bp_core_is_multisite() ) {

    and the MU plugin:
    ds_private_blog.php: http://wpmudev.org/project/More-Privacy-Options

    With regards Anja(afoka)

    #79123
    r-a-y
    Keymaster

    PMs are disabled on here for now due to spam; I’m guessing the old messages are still in the DB though.
    Awaiting further word about this from Andy.

    #79122
    abcde666
    Participant

    the old website of bp.org was much easier to navigate and find information.
    at least for myself…..

    Boone Gorges
    Keymaster

    Oops, yeah, you’ll need to remove the parenthesis before get_blog_option in both of those.

    I don’t know about the blog class thing. Try without changing it and see what happens.

    Anja Fokker
    Participant

    Strange… In both cases if I change the rules (379 and 427), is this the result:

    Parse error: syntax error, unexpected ‘{‘ in betawordpresswp-contentpluginsbuddypressbp-blogs.php on line 379
    Parse error: syntax error, unexpected ‘{‘ in betawordpresswp-contentpluginsbuddypressbp-blogs.php on line 427



    I have also as before changed the rule In buddypress/bp-blogs/bp-blogs-classes.php
    if ( !(int)$wpdb->get_var( $wpdb->prepare( “SELECT DISTINCT public FROM {$wpdb->base_prefix}blogs WHERE blog_id = %d”, $blog_id ) ) )
    in
    if ( $wpdb->get_var( $wpdb->prepare( “SELECT DISTINCT public FROM {$wpdb->base_prefix}blogs WHERE blog_id = %d”, $blog_id ) ) < 1 )

    #79086

    In reply to: Disable All RSS Feeds

    F. Saint
    Participant

    So I’m a total newb at this and I don’t understand how to disable the RSS on BP. I tried putting the code in to the file you suggested (at the end of the current code) but I’m not sure I’m doing this correctly. Can you offer any help, or some more detailed instructions (in layman’s terms) so that I can make my RSS feed for all site activity go away? I want to have a completely private BP community.

    Boone Gorges
    Keymaster

    In bp-blogs.php, change 379 from
    if ( (int)get_blog_option( $blog_id, 'blog_public' ) || !bp_core_is_multisite() ) {
    to
    if ( (get_blog_option( $blog_id, 'blog_public' ) > 0 || !bp_core_is_multisite() ) {

    Also, change 427 from
    if ( (int)get_blog_option( $recorded_comment->blog_id, 'blog_public' ) || !bp_core_is_multisite() ) {
    to
    if ( (get_blog_option( $recorded_comment->blog_id, 'blog_public' ) > 0 || !bp_core_is_multisite() ) {

    I haven’t tested this but it should work.

    Anja Fokker
    Participant

    @Boone Gorges, well I do have the same problem in BuddyPress 1.2.3 . I can find the rule in /bp-blogs/bp-blogs-classes, but……
    the file bp-activity (in the root of BuddyPress) changed so much, that i don’t know where to find the rules like you’ve discribed.
    Will you help me again? Or maybe you know if there is a plugin for it?

    With regards Anja (afoka)

    #78936

    In reply to: Private communities

    lifemore
    Participant

    Thank you so much r-a-y. I appreciate this.
    vida

    #78911

    In reply to: Private communities

    r-a-y
    Keymaster

    You’ll have to wait for Google to check your site again.

    You can expedite this process by signing up for Google’s Webmaster Tools and requesting your site to be delisted.

    Also make sure your WP site is blocked from search engines:
    https://codex.wordpress.org/Settings_Privacy_SubPanel

    #78896

    In reply to: Private communities

    lifemore
    Participant

    Thank you Rich:
    I have used “registered user only” plugin for the site. It works OK. But apparently the member’s activity page still shows in Google cache and I can’t make that disappear even when I delete that user’s profile :(

    #78884

    In reply to: Private communities

    rich! @ etiviti
    Participant
    #78624
    mistercyril
    Participant

    Good stuff! Thanks a lot, that works perfectly :-)

    #78620
    r-a-y
    Keymaster

    @mistercyril – Add bp_is_directory() to the bp_is_register_page() line.

    #78614
    mistercyril
    Participant

    @Travel-Junkie: Hey, your solution works great on my setup (WP MU 2.9.2 & BP 1.2.3).

    I was wondering if you could help me take this one step further…

    I would like my buddypress pages to be accessible only to logged-in users as they are now… but in order to get people to want to log in I think a “teaser” would be a plus. So my question is : How can we make the main BP directory pages accessible to everyone and restrict single groups, profiles, forums… ?

    Thanks again for the great help so far!

    rich! @ etiviti
    Participant

    Might be sad if I don’t remember what my own plugin does but I have something called Group Forum Extras – which contains some functions to pull out an index of forums. But I believe I coded the sql statement only to pull out the private forums if the user is logged in and a member of. Though this would point you in the right direction if you wanted to modify the code. (just remove that conditional) look for (bp_forum_extras_index_get_forums in the file bp-forums-extras-index.php )

    #78470
    NipponMonkey
    Member

    Grrrr, how do you add code to posts in BP?

    I’ve tried pre and code tags, but nothing working >_<

    Hmmmm….

    #78467
    NipponMonkey
    Member

    Thanks for your posts ^ ^

    I’m finally getting round to setting up a private buddy press site.

    I liked the looks of @Travel-Junkie‘s solution, but I’m having the same problem as @wordpresschina, I’m getting a infinite redirect loop. It seems that functions like bp_is_register_page() and bp_is_home() aren’t working correctly from @Travel-Junkie‘s function.

    I changed it a little to:

    function sh_walled_garden()
    {
    global $bp;

    $uri = $_SERVER;

    $allowed_uris[] = ”;
    $allowed_uris[] = ‘/’;

    for ($i=0; $i < count($allowed_uris); $i++) {
    if ($allowed_uris[$i] === $uri) {
    return;
    }
    }

    if( ! is_user_logged_in() ) {
    bp_core_redirect( $bp->root_domain);
    }
    }
    add_action( ‘get_header’, ‘sh_walled_garden’ );

    Where the $allowed_uris array is set by the programmer to allow access to certain public pages. If the user isn’t logged in and they are trying to access a private page, then they will be redirected to the home page (as that page will be public in my site setup and I don’t want people to be able to register through a sign up page.)

    I’ll have to see how I get on with this solution for now…

    Thanks for your help

    r-a-y
    Keymaster

    You are always welcome to create your own default theme if you’re not pleased with the packaged one that comes with BuddyPress.
    You’ll just have to spend more time creating your own theme!

    nessradio
    Participant

    I’m totaly agree with you Marcella!
    All those imbrication of css, js and php was really a pain in the ass for me… I spend hours and hours trying to find out what was the script that was doing a conflict with my template…
    I’m sure that the buddypress team wanted to do something easy… They idea was: “just change the thing you wanna change on the default theme” but when you wanna change everything and you wanna add some functionality you realise that you are completly lost on what is doing what from where…
    @ Paul Gibbs: Im’not really agree with you… the default theme needs to showcase the basic functionality of buddypress… and juste the basic functionality… and if you want to had other functionality you can download other themes from the web…

    Marcella
    Participant

    To me it’s more troublesome for the designers and developers to get rid of js function in a child theme that inherits everything from the default.

    As a designer / developer surely you know what can happen with progressive enhancement. P2 is a fine example of what a developer knows. I mean the new 2010 WP theme doesn’t come with js does it?

    I like to grab it, dig in, or build from scratch. Now with the default theme inheriting a whole lot more it sometimes is a pain.

    Why am i complaining this is one heck of a free meal. :p

    Paul Wong-Gibbs
    Keymaster

    The default theme needs to showcase everything that BuddyPress can do. Like you point out, it’s down to individual sites to decide what BuddyPress features to use, which relates to what javascript will be required.

    Marcella
    Participant

    a little unrelated but does anyone here ever wonder why the default theme has so much js?. i understand it’s pro and progressive but really don’t think this sort of function is needed at the base theme. It’s kinda confusing because your not sure what’s core and what’s not sometimes.

    I believe it’s up to the community to serve whatever js they like.

    nessradio
    Participant

    Ok I just find the solution… It’s because of my wordpress template… I had a js file which was conflict with the crop button

    #78383
    Frank & Stein
    Participant

    Hello Boone.
    Thank you for your kind help. I’m new to BP and i am still trying to understand in depth how it works. About your suggestions there are a few things that do not work exactly as you said (at least for me).
    1. Admin has to approve all new sign-ups and make the new Member part of 1 (and only one) Group. Only after this action by the Admin, an activation email is sent to the new Member. As an alternative to this process, a new Member could only sign-up after the Admin sends him an invite to a particular Group.
    I need the Admin to review the sign-up request, add the new member to a particular group and then send a confirmation to the new member. With the suggestion you made (wp-invites + bp-group-management) all works well, but the member gains access to the website as soon as he signs-up. When he logs in for the first time he is still not part of a group, because most probably the Admin didn’t have time to do this. For me it’s not important if the system is set in a way that it has to be the Admin to invite new members or if is up for the new members to ask to join. As long as the new member gains access exclusively after he has been added to a group by the Admin.

    2. If the Groups are set to private they still appear in the group directory. I changed them to hidden and now they can only be seen by it’s members, which is perfect for my needs. But since that now i’m left with one empty tab in the groups directory (all groups), is there a way of making it disappear by editing some file? If so, which one and where?

    3. Members can only see the list of the other Members of his Group
    For now, even with all groups set to hidden, the members can have access to a list of all members. Is there a way to make them have access to a list of only the members of his group?

    4. How can i prevent members to exit the group or groups they are part of? Maybe by editing some file?

    Again, i appreciate all the help that you can provide.
    Thank you.

Viewing 25 results - 2,751 through 2,775 (of 3,450 total)
Skip to toolbar