Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 826 through 850 (of 3,865 total)
  • Author
    Search Results
  • serg1487
    Participant

    Hi everybody! I want to reorganize private messaging in my site. Nowadays it’s organized like e-mail between members. My idea is to create thread of message automatically using data from users and recipients ID’s or usernames to consolidate messages in thread depending on users that have been involved in conversation. For example there is user 1 and user 2. User1 sends message to user2. Their messages between each other will always be in one thread. Constructing of thread name must not depend on which member (user1 or user 2) starts the conversation.
    I’ve done it this way : in compose.php

    40 <input type=”hidden” name=”subject” id=”subject” value=”ID<?php echo get_current_user_id(); ?> to <?php echo bp_get_message_get_recipient_usernames(); ?> ” />

    Its concatetation of sender and recipients meta. But the result depends on what member starts the conversation. If user 1 starts, the thread name will be ID1 to user2. If user2 starts, it will be ID2 to user1. Its two different threads. But i need to make one thread name for both cases using sender and recipients meta. Please help me)

    wolfgangg
    Participant

    Hi!

    In my Plugin BuddyPress-Emails at the backend there are 2 php errors for the e-mail sample. Could you please help me with this problem?
    Error-Screenshot: http://666kb.com/i/dh3uoz52p92h4a7xr.jpg
    I already repaired BuddyPress and re installed it but this doesn’t work.
    Link: https://www.flotter-feger.at

    Thank You!

    Error 1:
    Warning: Invalid argument supplied for foreach() in /www/htdocs/XXXXXXX/wordpress/wp-includes/class-wp-list-util.php on line 153

    147 public function pluck( $field, $index_key = null ) {
    148		if ( ! $index_key ) {
    149			/*
    150			 * This is simple. Could at some point wrap array_column()
    151			 * if we knew we had an array of arrays.
    152			 */
    153			foreach ( $this->output as $key => $value ) {
    154				if ( is_object( $value ) ) {
    155					$this->output[ $key ] = $value->$field;
    156				} else {
    157					$this->output[ $key ] = $value[ $field ];
    158				}
    159			}
    160			return $this->output;
    161		}
    

    Error 2:
    Warning: imploded(): Invalid arguments passed in /www/htdocs/XXXXXXX/wordpress/wp-content/plugins/buddypress/bp-core/classes/class-bp-admin.php on line 1011

    1009		// Output each situation as a list item.
    1010		echo '<ul><li>';
    1011		echo implode( '</li><li>', $situations );
    1012		echo '</li></ul>';
    1013	}
    

    Serverconfiguration:
    PHP-Version 5.6.29-nmm1 (64bit)
    MySQL-Version 5.5.52-nmm1-log

    WordPress-Version 4.7.2
    BuddyPress Version 2.8.1

    Themes: DIVI + Child-Themes

    installed Plugins:
    bbpress-notify-nospam Version 1.15.4
    bbp-private-groups Version 3.4.1
    bbpress Version 2.5.12
    buddypress Version 2.8.1
    gd-bbpress-tools Version 1.9
    wp-monalisa Version 3.9
    ultimate-member Version 1.3.83
    tinymce-advanced Version 4.4.3
    contact-form-7 Version 4.6.1
    flamingo Version 1.5
    anything-order Version 1.0.3
    rocket-maintenance-mode Version 3.7.3
    backwpup Version 3.3.6
    akismet Version 3.3
    elegant-themes-updater-master Version 1.2
    custom-404-pro Version 2.0.2
    printfriendly Version 3.7.3
    user-role-editor Version 4.31.1

    #264443
    Dominic Bowkett
    Participant

    you can hide Rss feed link from public to private.

    #264297

    Topic: Activity

    in forum Miscellaneous
    malaruban
    Participant

    When I click on activity column, below the activity Colum, immediately, It displays the people who can see your updates. Such as PUBLIC, FRIENDS,LOGGED USERS, PRIVATE .When I clink now, by default it shows PUBLIC. I want to have FRIENDS as a default one . How can I change the default status as FRIENDS.

    #264255
    modemlooper
    Moderator

    There is nothing like this. Would make a great plugin. BuddyPress allows people to request group membership for private groups. Change a group to private and the “join” group button becomes “request membership”

    auto join plugin based on role https://www.buddyboss.com/purchase/buddypress-auto-group-join/

    rafiquej
    Participant

    Hi there,

    How to make the the user profile not clickable for non logged users and logged users as well. I have the code which enables the user himself and admin to open the profile but when any other user clicks on the profile, the page redirects to the home page. What i actually want is that to disable the click function for unregistered users and registered users as well. Only admin and user can access the profile link. I don’t know if i am clear enough Lol. Here’s the code i am using.

    function private_profiles() {
    
        // Bail if not a profile page.
        if ( ! bp_is_user_profile() )
            return;
    
        // Allow admin users.
        if ( current_user_can( 'manage_options' ) )
            return;
    
        // Allow the profile owner.
        if ( bp_loggedin_user_id() == bp_displayed_user_id() )
            return;
    
        // If we get to here, redirect to homepage.
        bp_core_redirect( home_url() );
    }
    add_action( 'init', 'private_profiles' );
    #264182
    mrjarbenne
    Participant

    The easiest way to do that would be to set up Private Groups, then manually control the membership list of those groups. The main activity feed becomes the public space, and the groups unlock more content.

    A more extensive answer is a plugin like https://s2member.com/ which integrates with BP and adds more of what you are looking for.

    #264131
    vikefans
    Participant

    Please help I am trying to get up and running with buddypress and I have most things working but when I try and compose a new private message I get the following error when typing in the recipients name:

    Invalid argument supplied for foreach() in /home/vfroot/public_html/wp-admin/includes/plugin.php on line 1422

    I have a fresh install of buddypress that says it was updated two days ago. Is there a fix for this?

    #264123
    imauser2
    Participant

    Thank you @djsteveb.

    Private content should be certain pages so I whink is under control.

    About ‘automatic sending of emails when profile field changes’ I found Better notification plugin.

    I have to check the options you mention but I think Buddy Press + Better Notification will be my option.

    #264119
    djsteveb
    Participant

    pretty sure the first three things you mention could be done with bp – depending on how you want the ‘private content only available certain users’ – may be easy (profile field marked as ‘friends only can view’ – however if you mean private content like pics or something… I believe it gets much more complicated, and if you want to restrict by different roles other than friends or public..

    you might want to experiment with wp and “s2 member”.. “press permit core” or the wpmudev membership plugin or some of the others.

    the ‘automatic sending of emails when profile field changes’ – no idea how that would work with any of those systems – although someone that knows php and wp could probably whip up something custom for that with wp or bp – I am not aware of anything like that happening out of the box with bp… and I have not searched to see if there are any bp plugins that get into that..

    of course bp is free to play with so it wouldn’t hurt to put it on a new site and experiment – but I would bet the amount of time you spend trying to make it do what you want it do is not trivial.

    others may have different thoughts on all that.. I’ve just a user not a bp dev.

    #264103
    imauser2
    Participant

    I’m trying to build a WP with some public content and other content only available for registered users and being able to control their profile and movements (an email automatic sent when a user changes something). I’ve built some webs on WordPress but I am still learning.

    Basically, I’m asking if with BuddyPress will be possible:

      – New users with need for administrator approval
      – Some private content only avaliable for certain users
      – Personalized fields in user profile
      – Automatic sending of emails when a user changes a profile field

    Thank you in advance

    #264082
    coolhunt
    Participant

    I found this handy

    It works in BP-custom.php — im trying to get it to load instead of “alphabetical”

    // Exit if accessed directly
    if ( !defined( 'ABSPATH' ) ) exit;
     
    class BP_Loop_Filters {
     
        /**
         * Constructor
         */
        public function __construct() {
            $this->setup_actions();
        }
     
        /**
         * Actions
         *
         * @uses bp_is_active()
         * @uses is_multisite()
         */
        private function setup_actions() {
            /**
             * Adds the random order to the select boxes of the Members, Groups and Blogs directory pages
             */
            // Members component is core, so it will be available
            add_action( 'bp_members_directory_order_options', array( $this, 'random_order' ) );
     
            // You need to check Groups component is available
            if( bp_is_active( 'groups' ) )
                add_action( 'bp_groups_directory_order_options',  array( $this, 'random_order' ) );
     
            // You need to check WordPress config and that Blogs Component is available
            if( is_multisite() && bp_is_active( 'blogs' ) )
                add_action( 'bp_blogs_directory_order_options',   array( $this, 'random_order' ) );
        }
     
        /**
         * Displays a new option in the Members/Groups & Blogs directories
         *
         * <a class="bp-suggestions-mention" href="https://buddypress.org/members/return/" rel="nofollow">@return</a> string html output
         */
        public function random_order() {
            ?>
            <option value="random"><?php _e( 'Random', 'buddypress' ); ?></option>
            <?php
        }
     
    }
     
    // 1, 2, 3 go !
    function bp_loop_filters() {
        return new BP_Loop_Filters();
    }
     
    add_action( 'bp_include', 'bp_loop_filters' );
    
    #264073
    p_e_z
    Participant

    Hello,

    I want a network with registration for private persons and companies. Companies need to pay for it.
    Companies shouldn’t have the profile like private persons, they should just have the possibility to create a page. Is that possible?

    #263916
    mw93
    Participant

    Hello, I’m currently using a plugin to show the activity-stream on my home page. I want that if users place an update it always shows up in the stream. Problem is that if i attach an image, it will not show up. Here is the plugin’s code:

    <?php
    
    /**
     * Plugin Name: BuddyPress Activity ShortCode
     * Description: Embed activity stream in page/post using shortcode
     * Author: BuddyDev
     * Plugin URI: https://buddydev.com/plugins/bp-activity-shortcode/
     * Author URI: https://buddydev.com/
     * Version: 1.0.8
     * License: GPL
     */
    
    // exit if access directly
    if ( ! defined( 'ABSPATH' ) ) {
    	exit;
    }
    
    class BD_Activity_Stream_Shortcodes_Helper {
    
    	private static $instance;
    
    	private function __construct() {
    		$this->register_shortcodes();
    	}
    
    	/*
    	 * Register ShortCode
    	 *
    	 * @example [activity-stream display_comments=threaded|none title=somethimg per_page=something]
    	 */
    	private function register_shortcodes() {
    		add_shortcode( 'activity-stream', array( $this, 'generate_activity_stream' ) );
    	}
    
    	/**
    	 * Get Instance
    	 *
    	 * @return BD_Activity_Stream_Shortcodes_Helper
    	 */
    	public static function get_instance() {
    
    		if ( ! isset( self::$instance ) ) {
    			self::$instance = new self();
    		}
    
    		return self::$instance;
    	}
    
    	public function generate_activity_stream( $atts, $content = null ) {
    
    		//allow to use all those args awesome!
    		$atts = shortcode_atts( array(
    			'title'            => 'Updates van Leden',//title of the section
    			'pagination'       => 1,//show or not
    			'load_more'        => 0,
    			'display_comments' => 'threaded',
    			'include'          => false,     // pass an activity_id or string of IDs comma-separated
    			'exclude'          => false,     // pass an activity_id or string of IDs comma-separated
    			'in'               => false,     // comma-separated list or array of activity IDs among which to search
    			'sort'             => 'DESC',    // sort DESC or ASC
    			'page'             => 1,         // which page to load
    			'per_page'         => 6,         //how many per page
    			'max'              => false,     // max number to return
    			'count_total'      => true,
    
    			// Scope - pre-built activity filters for a user (friends/groups/favorites/mentions)
    			'scope'            => false,
    
    			// Filtering
    			'user_id'          => false,    // user_id to filter on
    			'object'           => false,    // object to filter on e.g. groups, profile, status, friends
    			'action'           => activity_update,    // action to filter on e.g. activity_update, new_forum_post, profile_updated
    			'primary_id'       => false,    // object ID to filter on e.g. a group_id or forum_id or blog_id etc.
    			'secondary_id'     => false,    // secondary object ID to filter on e.g. a post_id
    
    			// Searching
    			'search_terms'     => false,         // specify terms to search on
    			'use_compat'       => bp_use_theme_compat_with_current_theme(),
    			'allow_posting'    => false,    //experimental, some of the themes may not support it.
    			'container_class'  => 'activity',//default container,
    			'hide_on_activity' => 1,//hide on user and group activity pages
    		), $atts );
    
    		//hide on user activity, activity directory and group activity
    		if ( $atts['hide_on_activity'] && ( function_exists( 'bp_is_activity_component' ) && bp_is_activity_component() ||
    		       function_exists( 'bp_is_group_home' ) && bp_is_group_home() ) ) {
    			return '';
    		}
    
    		//start buffering
    		ob_start();
    		?>
    
    		<?php if ( $atts['use_compat'] ) : ?>
    			<div id="buddypress">
    		<?php endif; ?>
    
    			<?php if ( $atts['title'] ) : ?>
    				<h3 class="activity-shortcode-title"><?php echo $atts['title']; ?></h3><hr color="#000000">
    			<?php endif; ?>
    
    			<?php do_action( 'bp_before_activity_loop' ); ?>
    
    			<?php if ( $atts['allow_posting'] && is_user_logged_in() ) : ?>
    				<?php bp_locate_template( array( 'activity/post-form.php' ), true ); ?>
    			<?php endif; ?>
    
    			<?php if ( bp_has_activities( $atts ) ) : ?>
    
    				<div class="<?php echo esc_attr( $atts['container_class'] ); ?> <?php if ( ! $atts['display_comments'] ) : ?> hide-activity-comments<?php endif; ?> shortcode-activity-stream">
    
    					<?php if ( empty( $_POST['page'] ) ) : ?>
    						<ul id="activity-stream" class="activity-list item-list">
    					<?php endif; ?>
    
    							<?php while ( bp_activities() ) : bp_the_activity(); ?>
    								<?php bp_get_template_part( 'activity/entry' ); ?>
    							<?php endwhile; ?>
    
    							<?php if ( $atts['load_more'] && bp_activity_has_more_items() ) : ?>
    								<li class="load-more">
    									<a href="<?php bp_activity_load_more_link() ?>"><?php _e( 'Load More', 'buddypress' ); ?></a>
    								</li>
    							<?php endif; ?>
    
    					<?php if ( empty( $_POST['page'] ) ) : ?>
    						</ul>
    					<?php endif; ?>
    
    					<?php if ( $atts['pagination'] && ! $atts['load_more'] ) : ?>
    						<div class="pagination">
    							<div class="pag-count"><?php bp_activity_pagination_count(); ?></div>
    							<div class="pagination-links"><?php bp_activity_pagination_links(); ?></div>
    						</div>
    					<?php endif; ?>
    
    				</div>
    
    			<?php else : ?>
    				<div id="message" class="info">
    					<p><?php _e( 'Sorry, there was no activity found. Please try a different filter.', 'buddypress' ); ?></p>
    				</div>
    			<?php endif; ?>
    
    			<?php do_action( 'bp_after_activity_loop' ); ?>
    
    			<form action="" name="activity-loop-form" id="activity-loop-form" method="post">
    				<?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ); ?>
    			</form>
    
    		<?php if ( $atts['use_compat'] ) : ?>
    			</div>
    		<?php endif; ?>
    
    		<?php
    
    		$output = ob_get_clean();
    
    		return $output;
    	}
    }
    BD_Activity_Stream_Shortcodes_Helper::get_instance();
    
    #263767
    _natty_
    Participant

    i need some feature on my site and i wonder if there is something ready and cooked for me 🙂
    I need to allow an user to create group of discussion and creating a document of a certain “post type” that can be edited just from the users that form this group.

    for now i’ve installed bbpress and im going to configure the option “Foroums for groups” but to me is not so clear to give the user’s right privilege to edit a document -post type- any suggestion?

    cheers

    #263766
    kibbles
    Participant

    first of all, i’m new to the plugin and wordpress and i am building a website with community features. feel free to tell me about some cool plugins that hook into buddypress to add functionality (i already know about bbpress).
    _____________________________________________________

    on the wordpress dashboard in settings, buddypress, components, there is an unchecked feature named “site tracking”. what is this exactly and what does it do?

    i am using the buddypress login widget. the only tabs it has are the user name and the logout button. is there a way to add more tabs to this like friends, private messages, forum topics (when bbpress is installed), etc?

    in the options menu i can enable/disable users uploading profile picture and cover picture. is there an option to limit whether they upload a photo to the site or use a url to post the photo? can i make it so that i can select stock images for user to choose their profile picture and cover picture from?

    i notice there is also support for additional community interaction like grouping and posting on group pages. is there a way for users to have their own personal mini blogs that can be viewed by other users?

    how would i go about customizing the design/layout of user profiles?

    any other advice for me?

    #263743
    shanebp
    Moderator

    Have you tried one of the privacy plugins?
    For example: https://wordpress.org/plugins/bp-simple-private/

    aido141176
    Participant

    I want to add an font-awesome icon to the notification link based on what sort of notification it is.For example if it’s a message I want to display a message icon or if its a friend request I would like to display a firends icon. I can’t seem to find where the description is being outputted for different types of notifications to add my icon there, for example:

    <i class=”fa fa-comment fa-fw”></i>Joe blow sent you a new private message

    I’ve been looking at the function: bp_the_notification_description() in bp-notifications-template.php but can’t figure it out.

    Even if I can get a class on different types of notifications that would do the trick.
    I managed to add a class based on the url using jquery but it loads to slow. This needs to be done server side some how.

    Any help would be appreciated..

    rageshr007
    Participant

    Hi…I m going through a tough time..Here is my setup…I had buddy press and BB press installed on my intra-net site…I have bb private groups created by department vice and create each department bbpres private forums which linked to respective departmental group from admin panel.(Froum -> create new->select Forum->Private. and on group -> create new group-> select status as private and enable ” Yes. I want this group to have a forum.” and select desired department forum from drop down)..Hope this is the correct steps i had followed…Intention is only members belongs to respective departmental group should be able to start and discuss a topics with in their departmental private forum.

    But when i go to a department group with a member log in of that group via front end…on forum tab add new topics option is there…But when i add new topic the ,pages refreshes and back to same add topic page..I cannot find any where the topic i had added..but few lines of the topic shows in the home tab of the buddy press front end.but not full content of the topic ..Then I had tried to add topic from admin panel..There i could add ..but that topic is not visible to receptive group forum tab from front end….Another wared thing ,i had already enabled “allow the group have its own forum ” option..But when i create a new group ,the wizard asking me to give forum name then on next step create forum for this group ,but this option is disabled ..I cannot make it “on” ..!!

    So i m confused how this BDP and BBP combination works…I had referred several videos on-line and all shows as simple steps…but i m not sure why i cannot have private group forum with topic the members can start and discuss on it…can any one shed light on this wared issue.!!!

    #263568
    johanna75
    Participant

    Hi all,
    need to force members to search by advanced search on the fields I have set.
    Because the default BP search field search everywhere, even in private datas!

    Thanks a lot

    #263534
    djsteveb
    Participant

    with my default bp installs just about everything IS public.. it’s actually not easy to make the bp pages like activity and groups and such private.

    I think most of those things are fine to be public – and people can choose to make groups members only, logged in only, or public viewable.. default is all public I think..

    Most profile fields the user can choose similar privacy settings for certain fields if you allow..

    Sometimes I make a group non-pulbic viewable as super admin..

    I also choose a lot of things to be blocked by the robot search engine spiders – as there is no need for them to go pulling 100 pages of activity feed and such – so even though most of my BP site is publicly viewable, only about half of it is (supposed to be) crawled by the big engines – most follow the robots.txt directive – but not all..

    #263487
    zeyadkenawi
    Participant

    Hello,
    I have BuddyPress & WPML installed
    Anytime im trying to open a private message it try to open the message url (messages/view/5/) but it failed and then redirect to another page in my wp install, if i deactivate WPML, the message open normally (messages/view/5/).
    i deactivated all plugin and used default theme as well, but no luck, its a conflict between WPML and BuddyPress
    Thanks in advance

    #263300
    JamieLe
    Participant

    Hi, can’t provide link to page because it’s a private / paid site: fapsa.org.uk

    When I try to go to Forums I get ‘HTTP ERROR 500’ and this in my error log:

    [30-Jan-2017 18:21:55 UTC] PHP Fatal error: Cannot redeclare class WP_Taxonomy in /home/fapsa******/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-taxonomy.php on line 17

    Any suggestions?

    #263296
    eastw00dx
    Participant

    I would like to add a ‘send private message’ button in a page, does anybody know how?

    #263276
    ymca
    Participant

    Hi
    I have:
    WP 4.7.2
    BP 2.7.4

    When I try to enable the “Private Messaging” component, I can only see 1 save button
    at the options tab (At the components and pages tabs there are no save buttons).

    After disabling the “WP Time Capsule” plugin I have been able to see the save in all 3 tabs.
    Will also inform “WP Time Capsule” support.

    Hope someone can fix this.

    Thank you.

Viewing 25 results - 826 through 850 (of 3,865 total)
Skip to toolbar