Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 1,851 through 1,875 (of 3,456 total)
  • Author
    Search Results
  • Philipp
    Participant

    I use this PlugIn: http://bp-tutorials.de/2010/09/private-buddypress

    It’s not updated since a long time but it still works fine for me…

    aces
    Participant

    You could create an empty text file called /wp-content/plugins/walled-garden.php, paste the following into it, then activate the plugin:
    `
    <?php
    /*
    Plugin Name: Buddypress 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’);

    ?>`
    Tested in bp 1.6.1

    The plugin should not have spaces, blank lines, or anything else before “ and use a simple text editor ( like this ) rather than a wordprocessor….

    – – –

    To have a different menu for logged in users is slightly more complicated.

    You need to find the template bit that shows the menu.

    In the current bp-default theme header.php file is the following
    `
    false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) ); ?>
    `
    which can be replaced by
    `
    <?php
    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’ => ” ) );
    }
    ?>
    `
    Then create the secondary menu in the wordpress menu admin…..

    Please backup files and database before trying this out in case there are complications. It would be better to try out on a test/dev site first …..

    SeFi
    Member

    @shawn38 Thanks but I’m already using a theme for my client and I can’t change it…

    @BooneGorges As for shawn38 I’m already using a theme and I’m not a really good programmer so what you’re refering to is to difficult for me :(

    Can’t I find a plugin to do that ? No one ever thought of doing it ?

    Thanks a lot guys !

    Boone Gorges
    Keymaster

    WPMU.org recently had a nice writeup on something similar: http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/

    9087877
    Inactive

    You can used my child theme its only for the BP-Default theme it adds this functionality.
    http://ezwebdesign.wordpress.com/free-stuff/

    #139330
    hkcharlie
    Participant

    @shawn38 that is fantastic, thank you !

    #139289
    9087877
    Inactive

    You can used my child theme its only for the BP-Default theme it adds this functionality.
    http://ezwebdesign.wordpress.com/free-stuff/

    #139288
    @mercime
    Participant

    @mairaj

    – Create a bp-default child theme -> https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/
    – Copy header.php from bp-default theme to your child theme folder then remove the search div from the header.php in you child theme folder
    – Create a Page Template -> https://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates and add the code your deleted from header.php replacing the_content tag and upload to your child theme folder in server
    – Pages > Add New and title it whatever you want then choose the template in sidebar then make it private, Admin can access that page anytime.

    #139119
    LIB53
    Member

    Buddypress 1.6, using the BuddyPress Default theme. The user is shown as banned in the Admin > Members list. The user cannot create forum topics, forum replies, or write new updates in the group. In a green box underneath the group description it states “You have been banned from this group.” when that user visits the group. It’s a public group. The banned user can still read everything, and he can reply to activity feed entries.

    This was possible on previous versions of buddypress (1.5.6 i think) and I was wiping and re-installing wordpress and buddypress on two different servers (local and online) both producing the same results with fresh installs. I really had nothing to do that day… My site ended up only using private groups and I thought this was intended so I didnt mention it before.

    #138927
    215
    Member

    @ultimateuser – Ron’s BP Multi Network plugin works with WP Multi Network or their Networks+ plugin, but a third option to create networks is Networks for WordPress which is similar to WP Multi Networks but was last updated more recently in May 2012 – https://wordpress.org/extend/plugins/networks-for-wordpress/

    I just upgraded to BP 1.6 and found that I can’t post activity status updates on a private network anymore using BuddyDev’s BuddyPress Multi Network plugin http://buddydev.com/buddypress/introducing-buddypress-multi-network-plugin-create-multiple-separate-social-networks-on-a-single-buddypress-install/ , but maybe it’s me. I might check out Ron’s plugin again to see how it does with BP 1.6

    What did you end up using?

    #138920
    broniors
    Member

    in researching this I installed the WP jQuery CDN Plugin and it is set as Google Ajax API jQuery CDN
    https://wordpress.org/extend/plugins/wp-jquery-cdn/

    This appears to resolve (temporarily) the problem

    I hope that this helps

    #138911
    broniors
    Member

    Hi .. I think I am having the same problem

    I am running Buddypress 1.6 and WordPress 3.4.1

    I am finding the Add Friend feature is not working and the reply to message functionality (when I try and reply to a message it isn’t working.)

    When I click on Add friend it just appears to remove the button and the friend pending button doesn’t appear and it doesn’t active the friend request

    When I try and reply to a message I type in the message and click on the send reply and it just clears the message window.

    I am not sure how to uninstall/remove the CDN version of jQuery. Can you please point to some instructions on how to do this?

    #138858
    r-a-y
    Keymaster

    Try uninstalling / removing your CDN version of jQuery so it reverts to WordPress’ version of jQuery. See if that fixes things.

    #138856
    Joseph8th
    Member

    I’m having a similar problem. I’m running BP 1.6 on WP 3.4.1 network.

    I can write new PMs to any member and it all works great, but when I hit ‘Send Reply’ button the text box empties itself out and the reply is never actually sent as a message.

    I used Firebug and discovered that the POST data is all there, but the AJAX/jQuery isn’t doing it’s job. Here’s why I see in the Firebug console:

    `POST http://bannedatheists.us/wp-admin/admin-ajax.php`

    which is supposed to be handled by `http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js?ver=3.4.1`

    Moreover, I just noticed that the jQuery ‘Friend’ buttons aren’t working, either… URG! I’ve been disabling plugins like a madman but so far nada. HELP!

    #138821

    I mean the notifications that appear on the buddypress bar. When someone comments/replies to my status updates on activity I do not get a notification. However I do get notifications for private messages, friendship requests and mentions.

    Hopefully that made it clearer to understand my problem.

    Paul Wong-Gibbs
    Keymaster

    It’s not possible out of the box. You could set it with some custom code. You could also raise this as an enhancement ticket on BuddyPress.trac.WordPress.org, as it’s possible to do this with regular HTML tags, and there might be an argument for making this possible with BuddyPress, too.

    k12onos
    Participant

    Hi, I managed to recreate the problem on a new install.

    This happens when commenting on updates of a private group in the activity stream. It does not affect hidden groups updates though.

    Should I submit a bug report?

    k12onos
    Participant

    Hi, I disabled all my plugins but the same thing still happens.

    BUT, I managed to find more information. This happens only on status updates on Private Group.

    So is it possible that it’s something like, the BuddyPress didn’t check for the user’s permission when the ajax comment is posted, so when the comments are posted it is treated as “hidden/private” to the person posting it?

    It’s a wild guess, but can someone with private groups & BuddyPress 1.6 help confirm this? I’m wondering if it’s just me or does it affect everyone.

    Tammie Lister
    Moderator

    Hi k12onos, it’s weird you say you get this with the default theme as well. Could you provide a link perhaps to se this on your site – I understand it may not be live though.

    Just as a check, are you using any plugins on top of BuddyPress? If you are have you made sure they are also updated for BuddyPress 1.6? I’m thinking there perhaps could be a scripting error from those.

    #138564
    queenieb
    Member

    Sure @karmatosedhttp://wisdomsistercircles.com/family/groups/piggyback-oprahs-lifeclass/
    Username/PW: tester
    Yes I do have other plugins active. The only BP one is Private BuddyPress.

    dannyjimmy
    Member

    they appear unused and not working.

    right. One way they’re not working is that they don’t even report the right info. I don’t recall which it was, but I ran one of those functions, and it was printing Private in a public group.

    I’m not sure what you mean “are you sure you’ve setup your $group variable correctly?”. In my thinking, BuddyPress sets it up, not me; I’m just trying to reference it. I copied that $group->status setup out of the definition for bp_get_group_type() in bp-groups-template.php.

    I’ll give a whirl to the `bp_get_group_type()`, since that demonstrably at least produces the correct group visibility level; my trick will be to use its output in a conditional.

    Ok, so `bp_group_type` is what prints text to the page, `bp_get_group_type` seems to summon the text as a returned value (which bp_group_type() uses for its printing)


    SUCCESS!


    `<?php if (bp_get_group_type()== "Public Group")
    print “foo”
    ?>
    <?php if (bp_get_group_type()== "Private Group")
    print “bar”
    ?>`

    On a private group, I saw foo outputted and no bar. So it works.

    It feels less than elegant. It would be more elegant to just use the variables that bp_get_group_type() calls. But for now, it works.

    Thanks, @RogerCoathup, for the guidance :-)

    #138220
    lolalulu
    Member

    Hi Paul, yes they’re all up-to-date:

    – Akismet (2.5.6)
    – bAll-in-One Event Calendar (1.8)
    – BP Labs (1.2.2)
    – BuddyPress Group Email Subscription (deleted)
    – BuddyPress Twitter (1.2)
    – Easy Contact Forms (1.4)
    – Featured articles Lite (2.4.9.1)
    – Google Analytics for WordPress (deleted)
    – HL Twitter (2011.7.30)
    – jQuery Colorbox (4.4.1)
    – KK I Like It (1.4.1)
    – Private WordPress (1.3.4)
    – Section Widget (3.1)
    – U BuddyPress Forum Attachment (1.2.1)
    – WP Live Stream (1.2.1)
    – WP User Frontend (1.1)

    Could these have anything to do with the problem? I tried deleting/deactivating them all but those problems still exist.

    #138124
    raminjan
    Participant

    you know the check boxes let me post a screen shot from image shack. I am referring to this picture it is your plugin. You have the “let the user decide” drop down option but if you could just please add the default “friends only” check boxes and add the private messaging it would be superb. I would personally greatly appreciated thanks. I tried others but it was too much of hassle for user if they would want to go that deep I want something simple as yours so even my grandpa would be able to set his privacy settings thanks again.

    http://imageshack.us/photo/my-images/17/thisap.jpg/

    Ughh…excuse my frustration.

    Scope and Objective: to enable the Admin (me) to create user accounts. To capture the username created and pro grammatically write to an external file in order to allow user to authenticate though our private authentication method. And to enable new user to receive a welcome email at time they get setup.

    I do not care anything about when/how/why/or where they login or activate themselves so as to appear in BuddyPress. That is all down stream stuff that has nothing to do with my process.

    The only effective hook I have found is the `add_action(‘user_register’, ”);` Works like a charm.

    However, in order to get the user to be seen by BuddyPress I need to go through step #2 and Add New User in the Buddypress Admin page. That is where I tell WP/BP they are allowed access to the “site” and it is also where they get their role assigned.

    I have over 200 users to setup in the next week. If I could just cut down my process time by 50% — that is to eliminate the 2 step process and make it a 1 step process — I would be a little happier.

    I need to get the Buddypress equivalent hook to WP’s `add_action(‘user_register’, ”);`

    That is why I am asking for an enhancement to BP to get an equivalent hook. Down the road it will make my setup life easier.

    #137863
    Paul Wong-Gibbs
    Keymaster

    I’ve edited out your KEYs and SALTs.. those are private, too :)

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