Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 4,576 through 4,600 (of 69,040 total)
  • Author
    Search Results
  • #306584
    shanebp
    Moderator

    Since your error is not specific to BuddyPress, please ask the support team for the Events Manager plugin.

    #306581
    clicken
    Participant

    BP v4.3.0
    PHP v7.3
    churchladychronicles.com

    Error message: Uncaught InvalidArgumentException: Passed variable is not an array or object in /wp-content/plugins/buddypress/bp-activity/bp-activity-template.php:2271
    (Stack Trace is available if required)

    noisyboymustu
    Participant

    I am trying to set a custom homepage for my BB website but it shows members page even if I have set a different homepage.

    Please help

    http://3.18.60.79/members/ is my development website.

    kobrakai75
    Participant

    Hi all

    I am trying to display a flag on the profile header for the user’s nationality.

    A few years ago I was building a site with BuddyPress and had this working, so not sure what I’m doing wrong this time.

    
    <div id="item-header-content">
    
    	<?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?>
    
               <img src="/img/nationality/<?php bp_member_profile_data( 'field=nationality' ); ?>.png" title="<?php bp_member_profile_data( 'field=nationality' ); ?>">
    
    

    Can anyone help with this?

    Many thanks

    As a Web Designer, am currently building a social networking site for a client of mine and we were initially using Buddypress..

    However along the line, we discover the profile photo part seems like an issue as people would have to crop their photo (which is a pain) before it works

    Any code on how to skip the cropping photo part?

    #306563
    simosnap
    Participant

    I’m running latest wordpress and buddypress version, if an user try to register and set an invalid field (username already token, email already in the database ecc.) obviously registration fail, but users are not notifyed about what’s wrong. I don’t understand what is wrong.

    #306559
    clementpo
    Participant

    Hello,

    I’m currently working on a website. And i wanted to create an (outside) messaging system in WordPress. The fact is we need to let the user send email to other domain. And we also need a delay system to send the mails, with a calendar for exemple !
    We were looking for a solution on the web since 3 weeks, and we can’t manage to find anything. This is why we are looking for your help.

    Thanks !

    #306547
    DenisCGN
    Participant

    Got it 🙂

    My Solution 🙂

    #306546
    DenisCGN
    Participant

    @petervandoorn

    Hello Peter,
    thanks for your Suggestion, it works like charm with my Registration Form 🙂

    Nickname becomes user_name and buddypress Name

    thanks so much,
    Denis

    #306516
    benjiswart
    Participant

    So after a quick schooling in buddypress and how this all works I managed to piece together the following code that does exactly what I needed to do:

    <?php
    function job_listing_activity_args() {
    	if ( ! bp_is_active( 'activity' ) ) {
    		return;
    	}
    	add_post_type_support( 'job_listing', 'buddypress-activity' );
    
    	bp_activity_set_post_type_tracking_args( 'job_listing', array(
    		'component_id'             => 'activity',
    		'action_id'                => 'new_job_listing',
            	'bp_activity_admin_filter' => __( 'Published a new Report', 'text-domain' ),
            	'bp_activity_front_filter' => __( 'Reports', 'text-domain' ),
            	'contexts'                 => array( 'activity', 'member' ),
            	'activity_comment'         => true,
            	'bp_activity_new_post'     => __( '%1$s posted a new Report: <a href="%2$s">[Job]</a> aproximately', 'text-domain' ),
            	'bp_activity_new_post_ms'  => __( '%1$s posted a new Report: <a href="%2$s">[Job]</a>, on the site %3$s', 'text-domain' ),
            	'position'                 => 100,
            	'bp_activity_new_comment'  => __( '%1$s posted a new Follow up on: <a href="%2$s">[Job]</a> aproximately', 'custom-textdomain' ),
            	'bp_activity_comments_admin_filter' => __( 'Added Follow Up', 'custom-textdomain' ),
            	'bp_activity_comments_front_filter' => __( 'Follow Ups', 'custom-textdomain' ),
            	'bp_activity_new_comment_ms'        => __( '%1$s added follow up to this <a href="%2$s">Incident</a>, on the site %3$s', 'custom-textdomain' ),
            	'comment_action_id'                 => 'new_job_listing_comment',
        	) );
    }
    add_action( 'init', 'job_listing_activity_args' );
    function job_listing_include_post_type_title( $action, $activity ) {
    	if ( empty( $activity->id ) ) {
    		return $action;
    	}
    	if ( 'new_job_listing' != $activity->type ) {
    		return $action;
    	}
    	
    	
    	preg_match_all( '/<a.*?>([^>]*)<\/a>/', $action, $matches );
    	if ( empty( $matches[1][1] ) || '[Job]' != $matches[1][1] ) {
    		return $action;
    	}
    	$post_type_title = bp_activity_get_meta( $activity->id, 'post_title' );
    	if ( empty( $post_type_title ) ) {
    		switch_to_blog( $activity->item_id );
    		$post_type_title = get_post_field( 'post_title', $activity->secondary_item_id );
    		// We have a title save it in activity meta to avoid switching blogs too much
    		if ( ! empty( $post_type_title ) ) {
    			bp_activity_update_meta( $activity->id, 'post_title', $post_type_title );
    		}
    		restore_current_blog();
    	}
    	return str_replace( $matches[1][1], esc_html( $post_type_title ), $action );
    }
    add_filter( 'bp_activity_custom_post_type_post_action', 'job_listing_include_post_type_title', 10, 2 );
    

    Hope this helps anyone else trying to figure out the same thing.

    benjiswart
    Participant

    Hey team,

    Having a problem getting any comments from a user on a custom post type to show up on the activity stream. Currently using the mylisting theme with buddypress integration. I have site tracking enabled and have double checked that I can see comments on the listing in the admin section.

    I also found this snippet which enabled a new Activity feed action when ever anyone creates a new listing but does not pick up on any comments:

    <?php
    function job_listing_activity_args() {
    	if ( ! bp_is_active( 'activity' ) ) {
    		return;
    	}
    	add_post_type_support( 'job_listing', 'buddypress-activity' );
    	bp_activity_set_post_type_tracking_args( 'job_listing', array(
    		'component_id'             => 'activity',
    		'action_id'                => 'new_job_listing',
            	'bp_activity_admin_filter' => __( 'Published a new Report', 'text-domain' ),
            	'bp_activity_front_filter' => __( 'Reports', 'text-domain' ),
            	'contexts'                 => array( 'activity', 'member' ),
            	'activity_comment'         => true,
            	'bp_activity_new_post'     => __( '%1$s posted a new Report: <a href="%2$s">[Job]</a> aproximately', 'text-domain' ),
            	'bp_activity_new_post_ms'  => __( '%1$s posted a new Report: <a href="%2$s">[Job]</a>, on the site %3$s', 'text-domain' ),
            	'position'                 => 100,
        	) );
    }
    add_action( 'init', 'job_listing_activity_args' );
    function job_listing_include_post_type_title( $action, $activity ) {
    	if ( empty( $activity->id ) ) {
    		return $action;
    	}
    	if ( 'new_job_listing' != $activity->type ) {
    		return $action;
    	}
    	preg_match_all( '/<a.*?>([^>]*)<\/a>/', $action, $matches );
    	if ( empty( $matches[1][1] ) || '[Job]' != $matches[1][1] ) {
    		return $action;
    	}
    	$post_type_title = bp_activity_get_meta( $activity->id, 'post_title' );
    	if ( empty( $post_type_title ) ) {
    		switch_to_blog( $activity->item_id );
    		$post_type_title = get_post_field( 'post_title', $activity->secondary_item_id );
    		// We have a title save it in activity meta to avoid switching blogs too much
    		if ( ! empty( $post_type_title ) ) {
    			bp_activity_update_meta( $activity->id, 'post_title', $post_type_title );
    		}
    		restore_current_blog();
    	}
    	return str_replace( $matches[1][1], esc_html( $post_type_title ), $action );
    }
    add_filter( 'bp_activity_custom_post_type_post_action', 'job_listing_include_post_type_title', 10, 2 );

    Would greatly appreciate any help, I’m brand new to buddypress and so far have been really impressed with how powerful it can be, but just running into a bit of a brick wall here.

    Thanks in advance,

    B

    #306477
    blessingbee
    Participant

    Hi, I have set an automated welcome email through mailpoet for when a new user is created as a subscriber. Email sends fine when I manually add user. When user adds themselves mailpoet doesn’t recognise and I have been informed that this is a buddypress issue. Please could this be resolved as I need these automated emails to go when new account is created.

    artichoku
    Participant

    1. Which version of WordPress are you running? 5.2.1

    2. Did you install WordPress as a directory or subdomain install? directory

    3. If a directory install, is it in root or in a subdirectory? root

    4. Did you upgrade from a previous version of WordPress? If so, from which version? 5.2

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. N/A

    6. Which version of BP are you running? 4.3.0

    7. Did you upgraded from a previous version of BP? If so, from which version? N/A

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? bbpress 2.5.14

    9. Are you using a standard WordPress theme or customized theme? standard

    10. Which theme do you use ? Athena (Doesn’t work with the default wp theme either.

    11. Have you modified the core files in any way? no

    12. Do you have any custom functions in bp-custom.php? no

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? 2.5.14

    14. Please provide a list of any errors in your server’s log files. https://codex.wordpress.org/Debugging_in_WordPress N/A

    15. Which company provides your hosting? InMotion VPS

    16. Is your server running Windows, or if Linux; Apache, nginx or something else? Linux

    17. Which BP Theme are you using? Default

    18. Have you overloaded any BuddyPress template files. No

    19. Any other site customisations that might have a bearing on the issue? No

    #306440
    gingerbooch
    Participant

    Hi @Venutius,

    I finally found some time to make more tests on this issue.

    What I did :

    Install a fresh WordPress 5.1.1 on a test server.
    Install Buddypress 4.3.0.
    Create a user called “blue”.
    Create a user called “red”.
    Connect with “blue” and send a private message to “red” saying “Hello I am blue and I say blue”.
    Connect with “red” and send a private message to “blue” saying “Hello I am red and I say red”.
    Export Data for both “blue” and “red” users.

    Result :
    Export Data for user “blue” shows one message sent to recipient “red” with content : “Hello I am blue and I say blue”.
    Export Data for user “red” shows one message sent to recipient “blue” with content : “Hello I am blue and I say blue”.

    The result is the same on this fresh install. For both users in a thread, the Export Data only returns the private message data content wrote by the creator of the thread.

    For your information, I am running WordPress with French language. However I don’t think this can be linked to my issue.

    Can you try to reproduce this please ?
    I still think it is a bug.

    Thank you 🙂

    Anonymous User 13716511
    Inactive

    I need users to receive a notification when someone comments on their WORDPRESS BLOG POST, not their wall post.
    Is there a way to do this?
    It seems to me the buddypress notification is only for wall posts.

    carlosfurniz
    Participant

    Greetings,

    I am working in a particular scenario with buddypress in which I require a function: if a member wants to send a customized form, like a contract form or agreement form to another user to sign in electronically and submit it to the originating member, is there a way or plugin, or any procedure to realize this?

    Thanks in advance

    #306419
    Nahum
    Participant

    If the above is working with template files, why wouldn’t overwriting buddypress.css via /buddypress/bp-legacy/css be working like it would under /buddypress/css or /community/css?

    #306414
    Nahum
    Participant

    oops sorry I put in the wrong snip then I couldn’t edit…here’s what “seems” to be working for me.

    add_filter( 'bp_get_template_locations', 'my_template_pack_stack' );
    
    function my_template_pack_stack( $locations = array() ) {
    
    if( bp_get_theme_package_id()  === 'nouveau') {
    
    $locations[] = '/buddypress/bp-nouveau';
    
    } elseif( bp_get_theme_package_id()  === 'legacy') {
    
    $locations[] = '/buddypress/bp-legacy';
    
    }
    
      return $locations;
    }
    
    shanebp
    Moderator

    Just for reference… This works on a basic installation:

    // add order options to members loop
    function pp_member_order_options() {
    	?>
    	<option value="alphabetical-last"><?php _e( 'Alphabetical - Last Name', 'buddypress' ); ?></option>
    	<?php
    }
    add_action( 'bp_members_directory_order_options', 'pp_member_order_options' );
    
    function pp_members_loop_selection( $bp_user_query ) {
    
    	//  if Order By is set to alphabetical-last, sort by last name
    	if ( 'alphabetical-last' == $bp_user_query->query_vars['type'] ) {
    		$bp_user_query->uid_clauses['orderby'] = "ORDER BY substring_index(u.display_name, ' ', -1)";
    	   
    		// if they have variable last names like: Jones de Smith
    		//$bp_user_query->uid_clauses['orderby'] = "ORDER BY substring_index( substring_index(u.display_name, ' ', 2), ' ', -1 )";
    	}
    
    }
    add_action ( 'bp_pre_user_query', 'pp_members_loop_selection', 20 );

    The bp_pre_user_query hook is very powerful, but if anything else on your site is using it then the results can be confusing.

    warrencat
    Participant

    I’ve been trying for a while with no success to order the member directory by last name (surname) instead of first name. Extensive searching through the support forum and elsewhere would indicate that the following code modifications to a custom members-loop.php file in the theme folder and the theme functions.php file should accomplish this.

    My custom members-loop.php file contains:
    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&populate_extras&type=alphabetical' . '&per_page=30' ) ) : ?>

    My theme functions.php file contains:

    function alphabetize_by_last_name( $bp_user_query ) {
        if ( 'alphabetical' == $bp_user_query->query_vars['type'] )
            $bp_user_query->uid_clauses['orderby'] = "ORDER BY substring_index(u.display_name, ' ', -1)";
    }
    add_action ( 'bp_pre_user_query', 'alphabetize_by_last_name' );

    Instead of sorting and displaying members by last name, it returns the message:

    Sorry, no members were found.

    If I change ‘u.display_name’ in the functions.php file code to ‘u.value’, all the members are listed in the default alphabetical sort order by first name. So, it appears that, for some reason, the code won’t output the expected results when ‘u.display_name’ is used.

    I’m posting here in the hopes that someone in this support community might have some additional guidance or suggestions that could help me figure this out.

    Here are a couple of the links I’ve previously referenced when trying to get this working:
    https://buddypress.org/support/topic/sort-user-list-by-last-name/
    https://buddypress.org/support/topic/sorting-by-last-name-goes-wrong-when-having-multiple-words-as-last-name/

    #306403
    shanebp
    Moderator

    When you post complaints without any details then you will get no support.
    BuddyPress is an open-source product.
    You should hire a developer to help you.

    #306401
    shanebp
    Moderator

    I cannot duplicate your issue with a WP theme like 2019.

    Here are some basic questions to help you narrow down the issue:

    Did BuddyBoss do their tests on your site or theirs ?

    Are you trying to delete from the front-end or the back-end?
    What kind of group is it – public, private, hidden ?

    Which BP template are you using?

    Did you check your error logs ?

    Have you try deactivating other plugins?

    If you can list the steps to create the issue – be specific and include screenshots – you could open a ticket here. Be sure to reference this thread.

    warrencat
    Participant

    For Buddypress user profiles, we create user profiles in WordPress by syncing with Active Directory. This creates new WP user profiles and also syncs data over to BP XProfile fields.

    In configuring this process, I’ve learned that BP Visibility rules for XProfile fields are not set when user profiles are created via import from Active Directory; they are only set when an existing profile is manually edited and updated. Is there a way to fix or work around this, to get the Field Visibility rules applied to user profiles regardless of when/how the profiles are created (via import, etc.)?

    #306398
    imanuelgittens
    Participant

    Thanks for getting back to me. I did reach out to their support but here is what they said

    I tried to remove the members from the groups but it looks like there is nug in buddypress itself. It doesn’t remove the member from the group.

    I tested the same thing with the wordpress default theme and the same result so it is a buddypress specific issue. Can you please once contact buddypress support and report the issue.

    So I’m not 100% sure right now what is the source of the problem.

Viewing 25 results - 4,576 through 4,600 (of 69,040 total)
Skip to toolbar