Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 1,001 through 1,025 (of 3,456 total)
  • Author
    Search Results
  • #229862
    Brent Havill
    Participant

    Hi Henry

    I went to ‘plugins’/buddypress/settings, and found the following (I note that “account settings” is not ticked – could this be it?)
    I have bolded the ones that are ticked currently.

    Settings:

    Component Description
    Component Description
    Extended Profiles Customize your community with fully editable profile fields that allow your users to describe themselves.
    Account Settings Allow your users to modify their account and notification settings directly from within their profiles.
    Friend Connections Let your users make connections so they can track the activity of others and focus on the people they care about the most.
    Private Messaging Allow your users to talk to each other directly and in private. Not just limited to one-on-one discussions, messages can be sent between any number of members.
    Activity Streams Global, personal, and group activity streams with threaded commenting, direct posting, favoriting, and @mentions, all with full RSS feed and email notification support.
    Notifications Notify members of relevant activity with a toolbar bubble and/or via email, and allow them to customize their notification settings.
    User Groups Groups allow your users to organize themselves into specific public, private or hidden sections with separate activity streams and member listings.
    Site Tracking Record activity for new posts and comments from your site.
    BuddyPress Core Itโ€˜s what makes time travel BuddyPress possible!
    Community Members Everything in a BuddyPress community revolves around its members.

    #229755
    hypnoscribe
    Participant

    Did you get this fix? I am having the same problem. I get email notifications. I get notifications for private messages. But nothing for any other activity.

    Dominic

    #229735
    elpix
    Participant

    I’ve found by myself ๐Ÿ™‚

    To send HTML private message, you must add :
    [
    edited – Please use the ‘code’ button when you post code.
    Please note that removing that filter creates a major security risk.
    It means user input WILL NOT BE SANITIZED.
    So some very bad things can happen to your database.

    ]
    remove_filter( 'messages_message_content_before_save', 'wp_filter_kses', 1);

    To the bp-custom.php file.

    I hope it will helps !

    #229545

    In reply to: BudyPress Activation ?

    Eustache44
    Participant

    Hello Henrywright,

    Thanks you for your response.
    I tried what you advise me, nothing works ๐Ÿ™

    When I sent with WP-Mail-SMTP, it’s what I have. Maybe that can give you more informations:

    The result was:
    bool(true)
    The full debugging output is shown below:

    object(PHPMailer)#5937 (69) {
      ["Version"]=>
      string(5) "5.2.7"
      ["Priority"]=>
      int(3)
      ["CharSet"]=>
      string(5) "UTF-8"
      ["ContentType"]=>
      string(10) "text/plain"
      ["Encoding"]=>
      string(4) "8bit"
      ["ErrorInfo"]=>
      string(0) ""
      ["From"]=>
      string(19) "club@ufpcyclisme.fr"
      ["FromName"]=>UFP Cyclisme"
      ["Sender"]=>
      string(0) ""
      ["ReturnPath"]=>
      string(0) ""
      ["Subject"]=>
      string(45) "WP Mail SMTP: Test mail to k44@gmail.com"
      ["Body"]=>
      string(68) "This is a test email generated by the WP Mail SMTP WordPress plugin."
      ["AltBody"]=>
      string(0) ""
      ["Ical"]=>
      string(0) ""
      ["MIMEBody":protected]=>
      string(69) "This is a test email generated by the WP Mail SMTP WordPress plugin.
    "
      ["MIMEHeader":protected]=>
      string(349) "Date: Tue, 25 Nov 2014 15:21:33 +0000
    Return-Path: 
    From: UFP Cyclisme 
    Message-ID: 
    X-Priority: 3
    X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    "
      ["mailHeader":protected]=>
      string(78) "To: k44@gmail.com
    Subject: WP Mail SMTP: Test mail to k44@gmail.com
    "
      ["WordWrap"]=>
      int(0)
      ["Mailer"]=>
      string(4) "mail"
      ["Sendmail"]=>
      string(18) "/usr/sbin/sendmail"
      ["UseSendmailOptions"]=>
      bool(true)
      ["PluginDir"]=>
      string(0) ""
      ["ConfirmReadingTo"]=>
      string(0) ""
      ["Hostname"]=>
      string(0) ""
      ["MessageID"]=>
      string(0) ""
      ["MessageDate"]=>
      string(0) ""
      ["Host"]=>
      string(9) "localhost"
      ["Port"]=>
      int(25)
      ["Helo"]=>
      string(0) ""
      ["SMTPSecure"]=>
      string(0) ""
      ["SMTPAuth"]=>
      bool(false)
      ["Username"]=>
      string(0) ""
      ["Password"]=>
      string(0) ""
      ["AuthType"]=>
      string(0) ""
      ["Realm"]=>
      string(0) ""
      ["Workstation"]=>
      string(0) ""
      ["Timeout"]=>
      int(10)
      ["SMTPDebug"]=>
      bool(true)
      ["Debugoutput"]=>
      string(4) "echo"
      ["SMTPKeepAlive"]=>
      bool(false)
      ["SingleTo"]=>
      bool(false)
      ["SingleToArray"]=>
      array(0) {
      }
      ["do_verp"]=>
      bool(false)
      ["AllowEmpty"]=>
      bool(false)
      ["LE"]=>
      string(1) "
    "
      ["DKIM_selector"]=>
      string(0) ""
      ["DKIM_identity"]=>
      string(0) ""
      ["DKIM_passphrase"]=>
      string(0) ""
      ["DKIM_domain"]=>
      string(0) ""
      ["DKIM_private"]=>
      string(0) ""
      ["action_function"]=>
      string(0) ""
      ["XMailer"]=>
      string(0) ""
      ["smtp":protected]=>
      NULL
      ["to":protected]=>
      array(1) {
        [0]=>
        array(2) {
          [0]=>
          string(18) "kgodin44@gmail.com"
          [1]=>
          string(0) ""
        }
      }
      ["cc":protected]=>
      array(0) {
      }
      ["bcc":protected]=>
      array(0) {
      }
      ["ReplyTo":protected]=>
      array(0) {
      }
      ["all_recipients":protected]=>
      array(1) {
        ["k44@gmail.com"]=>
        bool(true)
      }
      ["attachment":protected]=>
      array(0) {
      }
      ["CustomHeader":protected]=>
      array(0) {
      }
      ["lastMessageID":protected]=>
      string(50) ""
      ["message_type":protected]=>
      string(5) "plain"
      ["boundary":protected]=>
      array(3) {
        [1]=>
        string(35) "b1_c85d5f49caeb8fcb01e07b2d5aa70e6f"
        [2]=>
        string(35) "b2_c85d5f49caeb8fcb01e07b2d5aa70e6f"
        [3]=>
        string(35) "b3_c85d5f49caeb8fcb01e07b2d5aa70e6f"
      }
      ["language":protected]=>
      array(0) {
      }
      ["error_count":protected]=>
      int(0)
      ["sign_cert_file":protected]=>
      string(0) ""
      ["sign_key_file":protected]=>
      string(0) ""
      ["sign_key_pass":protected]=>
      string(0) ""
      ["exceptions":protected]=>
      bool(true)
    }
    Cartographer
    Participant

    Sorry, I couldn’t think this way.

    I had in my mind that maybe a company would like to create a private community, so it would make sense to select โ€œDiscourage search engines from indexing this siteโ€ but without losing the feature of updating the activity stream…

    Well, still doesn’t make sense to me to consider it a feature but that’s just me ๐Ÿ™‚

    #228970
    bp-help
    Participant

    @gyfi
    Or if you would like a quick and easy plugin solution I offer a couple of premium plugins for that. http://bphelpblog.wordpress.com/2014/09/27/private-bp-pages/
    Submit Comments, Tips or Tricks, or Job Inqueries

    #228950
    Hugo Ashmore
    Participant

    Yep you’re meant to be able to see pages like that and like activity stream, BP is not intended on being a private community out of the box, securing pages is pretty easy though; try searching the forum please as it’s been discussed many many times.

    #228787

    In reply to: 2.2 top features

    donburikun
    Participant

    Loving Buddypress 2.1.1. My only big request would be with regard to Private messaging:

    1. Allow users to ignore (silently block) users from private messaging them. For example, if you receive a PM from a user you do not wish to converse with (troll, spammer or some other form of harassment) you can simply click “ignore” or “block” to block this user(s). The offending user is not made aware of this and future PM’s send by this person are simply not seen by the recipient while keeping the offender unaware.

    Users can edit their block/ignore list to remove/add users from it.

    2. Provide site admins the option to prevent users from PM’ing multiple users at the same time.

    That’s pretty much it. A simple request that would have a positive impact IMO. Looking forward to the next release. TThanks.

    #228058
    MBWD
    Participant

    OK, thanks. I should clarify that by respond, I don’t mean comment, I mean send email to the original poster, i.e. if someone had an item for sale and the person wanted to send them a private email about it.

    ericreynolds007
    Participant

    Hi Shane, I’ve gone a different route, hoping to avoid adding user IDs everytime a new Board Member joins the BP site.

    From a support request, I discovered that I could exclude or include roles to display in the members loop by adding the following code to the members-loop.php. For the private BP site, using the Members plugin, I created a new role, “bod_member” and reassigned the few members this role. I then added the following code to include only the bod_member…

    <?php while ( bp_members() ) : bp_the_member();
    $user = new WP_User( bp_get_member_user_id() );
    if ( $user->roles[0] == 'bod_member' ) :
    ?>

    Unfortunately, upon saving the file, the site returned a parse error, referencing the code below:

    <?php endwhile; ?>

    The error begins with “Parse error: syntax error, unexpected ‘endwhile'”

    Am I doing something wrong?

    ๐Ÿ™‚ Eric

    ericreynolds007
    Participant

    Thanks for the prompt response, Shane.

    Yes, only the alphabetical sort displays all MS users. The issue is that the BP site is a private Board of Directors site, while the other sites are maintained by users that are employees and have no business showing up as members of the private BP site.

    There are only 12 board members that are BP users vs. 100+ employee users for the other sites.

    Any idea of how to write the filter?

    ๐Ÿ™‚ Eric

    FlickChicks
    Participant

    I’m still new to buddypress. I’m wondering if this thread might be close to what I need. I don’t want to get any new user notifications sent to me (my admin email address). The notification I get shows the new user’s email address. I want email addresses to be private and drop into some kind of database that I can later use to send newsletters to. Anyway to fix that?

    Thanks

    #221279
    Henry Wright
    Moderator

    I’m not aware of a plugin that can do exactly that? Perhaps some of the guys on here know of one?

    To do it manually, you could hook a function to init and work from there. For example:

    function my_function() {
    
        if ( ! is_user_logged_in() && bp_is_current_component( 'messages' ) ) {
            // Current user is not logged in so don't let them see stuff. In this case, private messages 
            wp_redirect( home_url() );
            exit;
        }
            
        $flag = false;
        // Get current user info.
        $user = wp_get_current_user();
    
        if ( ! in_array( 'student', $user->roles ) ) {
            // The current member is not a student.
            $flag = true;
        }
    
        if ( $flag && bp_is_current_component( 'messages' )  ) {
            The currently logged-in member is not a student and is trying to view private messaging. Let's redirect them away.
            wp_redirect( home_url() );
            exit;
        }
    }
    add_action( 'init', 'my_function' );

    From that, you should be able to see how you can achieve what you’re trying to do without the need of a plugin.

    Refs:

    Template Tag Reference

    https://codex.wordpress.org/Function_Reference/wp_redirect

    danbp
    Participant

    Note to lazy people

    Definetly using the orange search button on the top right corner of this forum mostly brings good advice. But YOU have to search a bit before asking ! ๐Ÿ˜€

    https://buddypress.org/support/topic/making-buddypress-private/

    More ?
    https://buddypress.org/support/search/private/

    #220262
    danbp
    Participant

    Members are the heart of BuddyPress. When a user register on a BP activated site, this user is automatically a “member”.

    So i guess “they are not registering for the site, just the members area” is just impossible. Don’t know what you already did to get a “private” member area, but if you have an issue, it’s mostly because you did something wrong. ๐Ÿ˜‰

    To confirm to readers what you already get to work:

    To modify the registration page, on which appears the login fields belonging to WP (user, username, email & password), BP adds his own additionnal fields, under condition you activated the xProfile component.

    By default, BP add only one field in the mandatory field group “Base”: NAME.

    When the admin add a new field, he can choose between different field status, and depending this status, you will see phrase such as “This field can be seen by: “.

    These settings are avaible in Dashboard > Users > Profile Fields

    #216996
    Paul Bursnall
    Participant

    To create a member only site, I would highly recommend this plugin – https://wordpress.org/plugins/jonradio-private-site/

    #214467
    bp-help
    Participant

    1.) For invites try: https://wordpress.org/plugins/wordpress-mu-secure-invites/
    To keep logged out visitors from accessing BP pages check out: http://bphelpblog.wordpress.com/2014/09/27/private-bp-pages/
    Usernames can’t be changed and if you don’t want users changing their password you would need to custom code it unless you can find a code snippet on the forum or on the net.
    2.) You can use filters and you can also try this plugin: https://wordpress.org/plugins/bp-profile-search/
    3.) Use bbPress: https://wordpress.org/plugins/bbpress/
    You will have to search the plugins directory, the forums, and google the rest for your requirements unless someone else would like to take over where I left off. Hope this is at least a start. Good luck!

    #213744
    b2marketing
    Participant

    Thanks danbp

    Really sorry to bother you again.

    I implemented this but it is not removing anyone from the loop. I looked at the gist you linked too and (with my limited php experience) combined with the text in the top

    Filter Members List Based On Profile Field – Female members are served a directory of males and male members are served a directory of females.

    then I am wondering if I have not explained myself properly.

    I want to hide/remove members from the loop who has chosen “private” in their profile. I don’t want any members to be able to see members who has chosen “private”.

    #213740
    danbp
    Participant

    Here’s a snippet to filter members list based on profile field.

    Remove your custom members-loop file first and revert to default one.

    The example use field ID 62 with value = public
    The field is called Privacy in xProfile and use a selectbox field type who shows 2 options: private and public.

    You’ll probably also have to remove, or to conditionnally show, the top navbar, search box, etc in the template (childtheme/buddypress/members/index.php)

    Add this snippet to bp-cutom.php.

    class BP_Custom_User_Ids {
    	private $custom_ids = array();
    	public function __construct() {
    		$this->custom_ids = $this->get_custom_ids();
    		add_action( 'bp_pre_user_query_construct', array( $this, 'custom_members_query' ), 1, 1 );
    		add_filter( 'bp_get_total_member_count', array( $this, 'custom_members_count' ), 1, 1 );
    	}
    	
    	private function get_custom_ids() {
    		global $wpdb;
    		// collection based on an xprofile field
    		$custom_ids = $wpdb->get_col("SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 62 AND value = 'Public'");
    		return $custom_ids;
    	}	
    	
    	function custom_members_query( $query_array ) {
    		$query_array->query_vars['include'] = $this->custom_ids;
    	}	
    	
    	function custom_members_count ( $count ) {
    		$new_count = count( $this->custom_ids );
    		return $count - $new_count;		
    	}
    }
    
    function custom_user_ids( ) {
    	new BP_Custom_User_Ids ();
    }
    add_action( 'bp_before_directory_members', 'custom_user_ids' );

    Props @shanebp (tip on github)

    #212544
    Henry Wright
    Moderator

    Hi @callumoberholzer

    BuddyPress allows you to have:

    • member profiles
    • an advanced member search (through the BP Profile Search plugin)
    • private messaging

    So it looks like your requirements are covered. My advice would be to set up a test install and try out all of the features to see if they meet your requirements.

    #206622

    In reply to: Username Dropdown List

    barchiola
    Participant

    By PM I mean Private Message and when I go to the Private Message screen to send one to a user, username suggestions do not appear in the box as I begin to type letters regardless of whether I start with an @ or not.
    So I guess that this feature doesn’t exist and that there are no plugins to make it work?

    #206288

    In reply to: Username Dropdown List

    Henry Wright
    Moderator

    Ah sorry, by PM I thought you may have been referring to public messaging (also known as @-mentions). Auto-complete should work on the private messaging compose screen too. Have you tested?

    #205264
    Myg0t
    Participant

    Nice, I was actually looking at that a couple of days ago. I had tried a few things out, but to no avail.

    Here’s where i’m at: I’ve commented the above edited section of members-loop.php.

    In my bp-custom.php i’ve copy/pasted the code from the link you sent, and have applied the following edits to it:

        private function get_custom_ids() {
            global $wpdb;
     
            // collection based on an xprofile field
    		// WP_User_Query arguments
    		$args = array (
    			'role'           => 's2member_level2',
    			'fields'         => array( 'id' ),
    		);
    
    		// The User Query
    		$user_query = new WP_User_Query( $args );	
    		//The User Loop
    		if ( ! empty( $user_query->results ) ) {
    			foreach ( $user_query->results as $user ) {
    				$custom_ids = $user.",";
    			}
    		} else {
    			// no users found
    		}
            //$custom_ids = $wpdb->get_col("SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 8 AND value = 'no'");
    		
            return $custom_ids;
        }  

    I also, made the lower two edits you suggested to the $query_array and return $new_count.

    currently i’m getting this error:

    Catchable fatal error: Object of class stdClass could not be converted to string in /home/collegi8/public_html/wp-content/plugins/bp-custom.php on line 30

    line 30 is:

    $custom_ids = $user.",";

    Thanks for all your help man,

    M

    #203651
    Paul Wong-Gibbs
    Keymaster

    Short of giving your users extra hugs and re-assuring them that their WordPress usernames aren’t particularly private bits of data, you’re going to have to get your hands dirty. ๐Ÿ™‚

    It might be down to how the other plugin creates user accounts. Most plugins that allow sign-in using other services’ authentication systems (such as Facebook) don’t “properly” create WordPress user accounts; they use MySQL statements directly instead of using WordPress’ APIs.

    This can cause problems with plugins that expect certain user record fields to be in a particular format (if some other plugin came along and just inserted something in a custom format in place). I am not saying that this is the case with this plugin, as I haven’t looked at its code, but I’ve seen this sort of thing before.

    If you can create a test account and then go into your DB’s wp_users table and find your test user, and let us know what the values of the user_login, user_nicename, display_name fields are — and which one of these @mentions is using, and which one you would like it to use.

    I built @mentions in the last BuddyPress release and while I’m not sure if it’s possible to get it to change how it behaves like this, understanding what you’d want different with real data from a test account will help us help you, and at worse, give a suggestion for ways we could make advanced customisations possible for this in future BuddyPress releases.

    #203567
    bp-help
    Participant

    @pfriem
    I have a premium plugin Private Community For BP that should do what you need if you are interested. You can ask any questions regarding this plugin you have here:
    Submit Comments, Tips or Tricks, or Job Inqueries

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