Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 10,026 through 10,050 (of 94,565 total)
  • Author
    Search Results
  • #269727
    leog371
    Participant

    Not sure why this keeps disappearing? Its getting frustrating to keep reposting this, lol.

    Anyways, lets try again.

    I have been reading a lot about custom Avatar sizes in BuddyPress but have not found an answer to this. I am hoping to find out if there is a way in BuddyPress to actually create custom avatar sizes like I do in WordPress?

    Example: in WP we simply do this for new custom sizes


    add_theme_support( 'post-thumbnails' );

    add_image_size( 'sidebar-thumb', 120, 120, true ); // Hard Crop Mode
    add_image_size( 'homepage-thumb', 220, 180 ); // Soft Crop Mode
    add_image_size( 'singlepost-thumb', 590, 9999 ); // Unlimited Height Mode

    <?php the_post_thumbnail( 'your-specified-image-size' ); ?>

    Is there a way to do something similar in BuddyPress? It would make life SOOOOO much easier if we can do something similar to this.


    add_theme_support( 'custom-avatar-sizes' );

    add_avatar_size( 'profile-avatar', 120, 120, true ); // Hard Crop Mode
    add_avatar_size( 'members-loop-avatar', 220, 180 ); // Soft Crop Mode
    add_avatar_size( 'forums-avatar', 590, 9999 ); // Unlimited Height Mode

    <?php the_avatar_img( 'profile-avatar' ); ?>

    I know that I can edit the sizes inline and I know that I can create custom css for this but its normally not reliable and its not very flexible.

    Is there a way to do anything like this in BuddyPress?

    #269715
    rexormunde
    Participant

    WordPress: 4.9.1
    BuddyPress: 2.9.2
    Site: newenglandfurs.org
    Theme(s) tested: Avant (Primary), Twenty Sixteen

    The problem I’m experiencing is with BuddyPress’ Muiltiline Text Box element. Specifically inside the editor where you would add content. Currently my community and I have noticed that if we try to center text with the element’s alignment functions, the preview shows the alignment in both the visual and text tabs. However, as soon as we save the element, those alignments disappear. This does not happen in our WordPress news posts. You can see an example of this situation here: http://newenglandfurs.org/members/rexormunde/profile/

    Where it says “testing this section”, that was set to be centered in the Multiline Text Box element. As you can see, it’s not centered. Inspect the element with Google Chrome, and you’ll see no signs of any alignments on the paragraph.

    I’m not sure if this is a bug or if I’m doing something wrong. Any advice would be appreciated.

    #269713
    subair.tc
    Participant

    I am using WP v4.9.1 and buddypress v2.9.2, i have switched the theme into default but the issue still exist

    #269692
    cmdgroup
    Participant

    In the mobile version, when I click on any of the user menu options (profile, Forums, activity, notifications, …) it always redirects me to the main page, even though the URL is well configured

    #269661
    karabre1980
    Participant

    Hello I am using Buddypress with Woffice Theme and I have create an Intarnet where can users register. I give them the permission to edit their profile. The problem is that when they want to change something in their profile in Buddypress (for example telephone or Location) in doesn’t accept the update although it is saving normally. When you are going in the overview it has the old data. Can you please help me and tell me whats wrong?? Thank you

    #269655

    Topic: Hooks problem.

    in group forum Requests & Feedback
    gaurav007
    Participant

    Hi There,

    I am using the buddypress and apppresser plugin in our website. Apppresser plugin is used to convert wordpress web application to mobile application. I want to use buddypress hooks to send push notifications over the friend request and invite to group request trigger but this is not working. I am using the following hooks for the same

    groups_send_invites
    groups_accept_invite
    friends_friendship_accepted
    bp_activity_add_user_favorite
    friends_friendship_requested

    Here is my code which I have written on function.php .

    function action_groups_send_invite( $group_id, $invited_users, $user_id ) {
    // make action magic happen here…
    if ( !is_user_logged_in() )
    return false;
    $message = ‘Hi there some one send your request!’;

    $push = new AppPresser_Notifications_Update;
    $devices = $push->get_devices_by_user_id($invited_users);
    if( $devices ) {
    $push->notification_send( ‘now’, $message, 1, $devices );
    }
    };

    // add the action
    add_action( ‘groups_send_invites’, ‘action_groups_send_invite’, 10, 3 );

    function action_friends_friendship_requested( $friendship_id, $initiator_id, $friend_id ) {
    if ( !is_user_logged_in() )
    return false;

    $recipients = array( $initiator_id );

    $message = ‘Hi there some one send you request!’;

    $push = new AppPresser_Notifications_Update;
    $devices = $push->get_devices_by_user_id( $recipients );

    if( $devices ) {
    $push->notification_send( ‘now’, $message, 1, $devices );
    }

    //apppush_send_notification( ‘friends_friendship_requested’ );
    };

    // add the action
    add_action( “friends_friendship_requested”, ‘action_friends_friendship_requested’, 10, 4 );

    function action_friends_friendship_accepted( $friendship_id, $friendship_initiator_user_id, $friendship_friend_user_id, $friendship ) {
    // // make action magic happen here…
    if ( !is_user_logged_in() )
    return false;

    $recipients = array( $friendship_initiator_user_id );

    $message = ‘Hi there some one accept your request!’;

    $push = new AppPresser_Notifications_Update;
    $devices = $push->get_devices_by_user_id( $recipients );

    if( $devices ) {
    $push->notification_send( ‘now’, $message, 1, $devices );
    }
    //apppush_send_notification( ‘friends_friendship_accepted’ );
    };

    // add the action
    add_action( ‘friends_friendship_accepted’, ‘action_friends_friendship_accepted’, 10, 4 );

    function action_add_user_favorite( $activity_id, $user_id ) {
    // do something

    $recipients = array( $user_id );

    $message = ‘Hi there some one accept your friend request!’;

    $push = new AppPresser_Notifications_Update;
    $devices = $push->get_devices_by_user_id( $recipients );

    if( $devices ) {
    $push->notification_send( ‘now’, $message, 1, $devices );
    }
    }
    add_action(‘bp_activity_add_user_favorite’, ‘action_add_user_favorite’, 1, 2 );

    #269642
    cyprusinno
    Participant

    Hi All,

    I am activating a learning management theme on a subdomain (____.domain.com) of my site. I don’t have multisite capabilities (my host doesn’t allow for it….). I want to have the same users from my main site be able to sign into the subdomain site and vice versa. Is this possible? Can i have the same buddypress network on both sites?

    Thanks!

    #269640

    In reply to: New user welcome email

    jebus
    Participant

    I’ve done a reinstall several times, and no dice. Ninja Forms contact form works fine. Test emails from WP Mail SMTP also work fine.

    Also, unlike @terabyten, resending emails from the list of pending users doesn’t work for me. I’m getting nothing from Buddypress at all.

    Any thoughts would be appreciated. I’ve been working on this for hours and I’m really at a loss as to what else to do.

    #269638
    barkins
    Participant

    Anyone have any insight on replacing email templates from BuddyPress Email Templates (WordPress side) to Mandrill Templates instead?

    Is there a plugin that can help facilitate this?

    #269635
    jebus
    Participant

    Thanks David. I ended up hacking the form a bit, since I’m using the Buddypress Name field combined with one Xprofile field. Not the most elegant, but it works.

    #269633
    tasamp
    Participant

    Hi,
    I did a serious research to find a best solutions or plugins to report abuse posts, flag BuddyPress content. I found this plugin https://wordpress.org/plugins/bp-moderation/ suggested in various BuddyPress forum but that plugin itself is not updated last 3 years and it doesn’t support my WordPress version 4.9.1 and BuddyPress 2.9.2. I think this feature is very crucial for social network application to moderate post and flag abusive post/comments. I am looking for plugins for my BuddyPress site to flag content and I really appreciate suggestions on it.

    #269632
    jebus
    Participant

    I’m using WP Mail SMTP with Buddypress. I’ve reinstalled emails, and deactivated all plugins but Buddypress and WP Mail SMTP, but that doesn’t work. Test emails work fine though. I’ve also tried it with Buddypress deactivated and the regular WP registration emails work fine.

    Any help with what else I might try to debug this would be appreciated. Thanks.

    #269631
    cassihl
    Participant

    Hello,

    Can you help me understand how the notifications work with buddypress? I have some forums that were created through buddypress groups. When someone posts a new topic or a reply to a topic, should I receive a notification? (Not an email – I’m using buddyboss theme which has this notification icon: https://imgur.com/a/2lU75) Is there a setting to turn on to receive these notifications for forum activity? Or do I need some other plugin? Or does it sound like something is broken on my site? I don’t understand how this is supposed to work to know how to troubleshoot it.

    Thank you!

    #269627
    chowd001
    Participant

    Thanks a lot for prompt response.

    1. Yes I want to use different icons. could you please elaborate which CSS I need to modify. where to find the css where the CSS is written for icons. I have just started using wordpress/buddypress

    2. Where do I find translation file

    Default sign-up form

    #269621
    ripulkr
    Participant

    1. Try saving permalinks. WP admin – Settings – Permalinks.
    2. Also check if you have the members directory connected at WP admin – Settings – BuddyPress
    3. Also make sure that the slug of the members directory is unique, like if members directory is abc.com/members , then you do not have any custom rule in .htaccess for members.

    #269616
    Henry Wright
    Moderator

    The latest version of BuddyPress doesn’t use create_function(). Try upgrading to version 2.9.2.

    #269615
    chowd001
    Participant

    I am new in wordpress. I have used Buddypress groups but i want to

    1) change the icon pictures (svg) to different pictures for profile pages. I want to have different icons for Groups, Freinds etc.
    2) I also want change the name of icons i.e. “Friends” to “Colleagues”, “Groups” to “Teams”, “Media” to “Files” ets.

    how do i do that?

    #269614
    Robin Labadie
    Participant

    Hi,

    Using PHP 7.2, I notice some messages from the amazing “Query Monitor” WordPress plugin regarding a deprecated function used by BuddyPress:

    Message: Function create_function() is deprecated 
    Count: 26 
    File: wp-content/plugins/buddypress/bp-core/deprecated/1.6.php:268

    Using this function is higly discouraged by PHP itself as you can check here:
    http://php.net/manual/en/function.create-function.php

    I wish I could propose a workaround but I don’t speak PHP, I just wanted to warn devs for future updates. Hopefully this post gets seen by the right persons.

    Best regards everyone!

    #269613
    krioteh
    Participant

    In BuddyPress there is a built-in mechanism for synchronizing profile fields from WordPress.
    By default, it synchronizes only the “display_name” field, which is not always sufficient.
    Here is an example of the code by which you can synchronize any available fields in the WordPress field with the Buddypress fields

    function xprofile_sync_bp_profile2( &$errors, $update, &$user ) {
    	// Bail if profile syncing is disabled.
    	if ( bp_disable_profile_sync() || ! $update || $errors->get_error_codes() ) {
    		return;
    	}
        // Querying data from a table "usermeta", first we get the value of the custom field "address" and substitute this value for the "Address" field of the xprofile BuddyPress
        $address = get_user_meta( $user->ID, 'address', 'true' );  
    	xprofile_set_field_data( 'Address', $user->ID, $address );
      	//Similarly with other fields
        $firstname = get_user_meta( $user->ID, 'first_name', 'true' );  
    	xprofile_set_field_data( 'Name', $user->ID, $firstname );
      	$lastname = get_user_meta( $user->ID, 'last_name', 'true' );  
    	xprofile_set_field_data( 'Lastname', $user->ID, $lastname );
      	$description = get_user_meta( $user->ID, 'description', 'true' );  
    	xprofile_set_field_data( 'Bio', $user->ID, $description );
      
      	// Querying data from a table "user"
        xprofile_set_field_data( 'E-mail', $user->ID, $user->user_email );
        xprofile_set_field_data( 'Site', $user->ID, $user->user_url );
    }
    add_action( 'user_profile_update_errors', 'xprofile_sync_bp_profile2', 10, 3 );

    Unfortunately, the fields are synchronized only when the profile is updated. I do not know how to start mass synchronization 🙁

    I hope someone will find this information useful.

    #269611
    pol
    Participant

    Hi,

    I managed to customize my activity feed for a custom post type, however I’m struggling to influence the output of “standard” blog posts !

    Ideally I would like to redirect the “format_callback” parameter to the custom callback I created for my custom post type, which should handle both standard and custom types ultimately.

    I tried the following code, and the format_callback stayed desperately the same for the blog posts…

    add_action( ‘bp_register_activity_actions’, ‘customize_posts_tracking_args’ );
    function customize_posts_tracking_args() {
    // Check if the Activity component is active before using it.
    if ( ! bp_is_active( ‘activity’ ) ) return;
    bp_activity_set_post_type_tracking_args( ‘post’, array(
    ‘component_id’ => buddypress()->blogs->id,
    ‘action_id’ => ‘new_blog_post’,
    ‘format_callback’ => ‘custom_format_activity_action_post’,
    ) );
    }

    Then I also tried the filters, which I found in some web pages, but they didn’t work either for blog post type… The code below didn’t cause any change to my activity feed.

    // Customize post publication activity feed content
    add_filter(‘bp_blogs_record_activity_action’, ‘record_cpt_activity_content’);
    add_filter(‘bp_blogs_record_activity_content’, ‘record_cpt_activity_content’);
    function record_cpt_activity_content( $cpt ) {
    echo “Any text”;
    $cpt=’Any text’;
    $cpt[‘content’]=’Any text’;
    return $cpt;
    }

    Any help is very welcome here !!!

    Regards,

    Pascal.

    #269610
    inderlovy
    Participant

    However the major question is how to implement it through buddypress as buddypress itself provides a login page. There should be option to redirect members to particular page.

    #269601
    inderlovy
    Participant

    Hi, I am new to WordPress. I want to add search bar to search all the users from their phone number or name or any one keyword of their address.

    Is it possible to search buddypress registered users database by anyone?

    + I want to add functionality that users registered users to be divided into two sub parts, sellers and buyers. I want search bar to search only sellers details.

    Please help.

    + I want to add search functionality, so that same search bar can also search all the keywords from databases created by any registered user and show to person who is searching for that keyword.

    Thanks.

    #269596
    barkins
    Participant

    WP Engine not compatible with BuddyPress it seems.

    #269594
    leslieannetd
    Participant

    Hi, we’re using buddypress on our site. We have a staging site being built and we are making it live soon.
    However, if there are new member signed in to our live site how can we import it to our staging site so it is also updated?

    Any help will do. Thank you!

    #269585
    proflclub
    Participant

    Hello,
    How can I include in the BuddyPress plugin donation buttons associated to the same level of authorization of “subscriber” users?
    That is how to do it directly or should I install a different plugin which is completely integrated to this one?
    Thanks.

Viewing 25 results - 10,026 through 10,050 (of 94,565 total)
Skip to toolbar