Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,626 through 12,650 (of 73,985 total)
  • Author
    Search Results
  • #260738
    livingflame
    Participant

    Disable all plugins except BuddyPress and rtMedia, and try Again.
    And, remember update.

    I try right now from Activity Stream and work nice! So, check very well your Config., etc.

    #260734
    livingflame
    Participant

    For upload Media install: rtMedia plugin.

    #260732
    MatrixMedia
    Participant

    sorry, I have not explained well, the second point, I Repeat:

    I also tried to customize the Post Types default ‘post’, following this guide: https://codex.buddypress.org/plugindev/post-types-activities/

    this is my function:

    add_post_type_support( 'post', 'buddypress-activity' );
    function customize_page_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', // or 'new_post'
            'bp_activity_admin_filter' => __( 'Published a new post', 'emt-buddypress' ),
            'bp_activity_front_filter' => __( 'Posts', 'emt-buddypress' ),
            'contexts'                 => array( 'activity', 'member' ),
            'activity_comment'         => true,
            'bp_activity_new_post'     => __( '%1$s shared a new <a href="%2$s">post</a>', 'emt-textbuddypress' ),
            'bp_activity_new_post_ms'  => __( '%1$s sahred a new <a href="%2$s">post</a>, on the site %3$s', 'emt-textbuddypress' ),
            'position'                 => 100,
        ) );
    }
    add_action( 'bp_init', 'customize_page_tracking_args' );

    but when I publish a post on activity stream, is not displayed. If I remove the function or use a new custom_post_type, in this function, it works.

    #260731
    Fencer04
    Participant

    I’m setting a cookie to display a message on the conversation view after sending a PM. The message displays correctly but the message is there when I go to another page in my profile. The second page I visit after sending the message clears the messages. Code below:

    function sbpp04_messaging_some_recipients_error(){
    	if( isset( $_COOKIE[ 'sbpp04-messages-some-blocked' ] ) ){
    		$error_message = __( 'Some recipients blocked your message.', 'buddypress' );
    		bp_core_add_message( $error_message, 'error' );
    		$_COOKIE[ 'sbpp04-messages-some-blocked' ] = false;
    	}
    }
    add_action( 'messages_screen_conversation', 'sbpp04_messaging_some_recipients_error' );
    #260730
    Jo Waltham
    Participant

    Hi

    I’m just dipping my toe into BuddyPress and my client needs to moderate profile changes but I haven’t been able to find any solution yet. To that end I’m having a go at developing something myself but I’m a bit stuck.

    My approach so far has been to create a new visibility level of ‘moderated’ and make it hidden unless you are admin.

    To stop people from changing the visibility level themselves I’ve set the the visibility to ‘Enforce field visibility’ but this stops admin from being able to change it on the user’s profile too.

    So is there a way I can introduce a third option of ‘Enforce field visibility except for admin’?

    Just for context, my next steps (not yet attempted) are to on save of profile to email admin and set all the users fields to moderated. Then on admin view of a profile to have a button that changes fields with moderated visibility back to their defaults. Does this sound like I’m on the right track?

    Thanks for your help!
    Jo

    MatrixMedia
    Participant

    Hello
    I would exclude automatically, some categories of the blog post, in the activity stream. It’s possible?

    I saw that the same problem was seen here: https://buddypress.org/support/topic/possible-to-exclude-post-categories-in-activity-stream-and-make-a-user-profile-private-like-with-pri/

    But applying the same function with the latest version of BuddyPress, it does not work. is possilibe?

    I also tried to customize the Post Types default ‘post’, following this guide: https://codex.buddypress.org/plugindev/post-types-activities/

    changing fields as well:

    add_post_type_support( 'post', 'buddypress-activity' );
    function customize_page_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', // or 'new_post'
            'bp_activity_admin_filter' => __( 'Published a new post', 'emt-buddypress' ),
            'bp_activity_front_filter' => __( 'Posts', 'emt-buddypress' ),
            'contexts'                 => array( 'activity', 'member' ),
            'activity_comment'         => true,
            'bp_activity_new_post'     => __( '%1$s shared a new <a href="%2$s">post</a>', 'emt-textbuddypress' ),
            'bp_activity_new_post_ms'  => __( '%1$s sahred a new <a href="%2$s">post</a>, on the site %3$s', 'emt-textbuddypress' ),
            'position'                 => 100,
        ) );
    }
    add_action( 'bp_init', 'customize_page_tracking_args' );

    Finally I tried to customize the content of the post, in activity stream, as always suggested in this post:
    guide:https://codex.buddypress.org/plugindev/post-types-activities/
    or this:
    https://buddypress.org/support/topic/custom-activity-new-post-content-not-broken-after-update-the-post/

    This is my function:

    function record_cpt_activity_content( $cpt ) {		
        if ( 'new_post' === $cpt['type'] ) {
            $cpt['content'] = '<a href="' . get_permalink( $post->ID ) . '" class="activity-content-title" >' $post->ID). '</span><br />' 
    		. get_the_post_thumbnail( $post->ID, '') . '<br /> <br />'
    		. get_post_field('post_content', $post->ID);
        }
        return $cpt;	
    }
    add_filter('bp_before_activity_add_parse_args', 'record_cpt_activity_content');

    The problem is that the added HTML

    <a href="' . get_permalink( $post->ID ) . '" class="activity-content-title" >' $post->ID). '</span><br />

    tags are not preserved when the post is published. Solutions?

    Thanks for your attention and assistance

    Nik_vr
    Participant

    Hello! In my site I use plugin to sanitize posts/pages URL’s. Code of plugin is simple (all no-latin symbols has changed to latin):

    function the_russian_url($title)
    {
     $cyr2lat_table = array(
       "Є"=>"YE","І"=>"I","Ѓ"=>"G","і"=>"i","№"=>"-N-","є"=>"ye","ѓ"=>"g",
       "Ґ"=>"G","Ё"=>"YO","Є"=>"E","Ї"=>"YI","І"=>"I",
       "і"=>"i","ґ"=>"g","ё"=>"yo","є"=>"e",
       "ї"=>"yi","А"=>"A","Б"=>"B","В"=>"V","Г"=>"G",
       "Д"=>"D","Е"=>"E","Ж"=>"ZH","З"=>"Z","И"=>"I",
       "Й"=>"Y","К"=>"K","Л"=>"L","М"=>"M","Н"=>"N",
       "О"=>"O","П"=>"P","Р"=>"R","С"=>"S","Т"=>"T",
       "У"=>"U","Ф"=>"F","Х"=>"H","Ц"=>"TS","Ч"=>"CH",
       "Ш"=>"SH","Щ"=>"SCH","Ъ"=>"","Ы"=>"YI","Ь"=>"",
       "Э"=>"E","Ю"=>"YU","Я"=>"YA","а"=>"a","б"=>"b",
       "в"=>"v","г"=>"g","д"=>"d","е"=>"e","ж"=>"zh",
       "з"=>"z","и"=>"i","й"=>"y","к"=>"k","л"=>"l",
       "м"=>"m","н"=>"n","о"=>"o","п"=>"p","р"=>"r",
       "с"=>"s","т"=>"t","у"=>"u","ф"=>"f","х"=>"h",
       "ц"=>"ts","ч"=>"ch","ш"=>"sh","щ"=>"sch","ъ"=>"",
    	"ы"=>"yi","ь"=>"","э"=>"e","ю"=>"yu","я"=>"ya",
    	" "=>"-","."=>"",'"'=>"-","&quot;"=>"-",'"'=>"-",
     );
    	
     global $wpdb;
     
     //оставляем только латиницу, цифры и тире
     //Дополнение — очищает слаги от вхождения ненужных в URL символов.
     //echo '<!--URL: '.$title.' -->';
     //if ($title!='')
     return str_replace("--","-",preg_replace("~[^A-Za-z0-9-]~","-",strtr($title,$cyr2lat_table)));
    }
    add_action('sanitize_title', 'the_russian_url');

    If I use this (very old) plugin in site with installed BuddyPress, in BuddyPress has not work new users activation function. If user click to link in activation email, or manual type activation code on activation page, it get message (Wrong activation code).

    If i disable my plugin, activation work good.

    Please, help my change my plugin. I need for both plug-in should work simultaneously.

    PS. Sorry for my bad English 🙂

    #260725
    JenM120
    Participant

    Hey everyone! I am new to BuddyPress. I need some help. I like the way the profile page looks on the very first page when you go to https://buddypress.org/ is there a walk thru or something on how to make my profile pages look like that?

    Thanks,
    Jen

    #260724
    Venutius
    Moderator

    In MediaPress there is a BuddyPress Setting which allows for media uploads to be entered into the activity stream.

    #260721
    d6collab
    Participant

    Just updated to BuddyPress 2.7.1, but still having the same problem. I can upload media from my own activity stream, but not from the sitewide activity stream, and I can’t find a reason why anywhere.

    Any ideas?

    I really need help to get this working the way it’s supposed to please. Any insight is greatly appreciated! Thanks!

    #260717
    Venutius
    Moderator

    Yes this has been identified, a fix is going to be released today, in the meantime you will need to downgrade to 2.7. To do this you will need to download 2.7 from the “Developers” section of https://wordpress.org/plugins/buddypress/developers/, Delete BuddyPress 2.7.1 and then upload 2.7

    #260715
    attercop
    Participant

    I’ve already tried Better Emails but it’s not compatible with BuddyPress since it uses wp_mail()

    #260710
    brumest
    Participant

    Hello,

    I am using the latest WordPress and BuddyPress versions on my site:
    http://www.artisticfreedomcrew.com/

    I set up my site in a way that users can upload their photos/images to the site through a front end uploader.
    Is there a way to add those pictures automatically to their personal profile page, working as a personal Gallery?

    Kind Regards,
    Bruno Mestre

    #260708
    attercop
    Participant

    Hello ! I’ve been looking everywhere for a solution, but since I haven’t found anything that is a real solution, I’m posting a new topic.

    My problem is : the emails sent by BuddyPress are in plain text and not in html. I’ve looked into the plugins we have installed, but none are SMTP. We’re using WordPress 4.6.1, BuddyPress 2.7.1 and the following plugins :
    Advanced Custom Fields
    AMP
    Appfull
    BbPress
    Bottom Admin Bar
    BP Emails for BBP
    BuddyPress Votes
    BuddyPress Xprofile Custom Fields Type
    Duplicate Post
    Glue for Yoast SEO & AMP
    Gravity Forms
    Gravity Forms CSS Ready Class Selector
    Hero Slider
    Loco Translate
    Meta Box
    Multiple Post Thumbnails
    Page Builder par SiteOrigin
    Redirection
    Reveal IDs
    rtMedia for WordPress, BuddyPress and bbPress
    SiteOrigin CSS
    SiteOrigin Widgets Bundle
    TinyMCE Advanced
    Ultimate Addons for SiteOrigin
    WordPress Social Login
    WP Viral Quiz
    Yoast SEO

    I’ve seen someone suggest modifying the bp core functions, which is a really bad idea and not a viable solution for my problem.

    Anyway, thanks in advance !

    #260707
    reformasengetxo
    Participant

    Hello everyone, i had installed boddypress plugin on my web site. In this website i had too iThemes Security Plugin. After a few days some errors were become. For example 508 errors. I think they are not compatible and i will like to use buddypress plugin to start a comunity in my web site. Some body can tell me somethig..? Please, tell me how can i use both plugins and don´t have errors. Thank you very much in advance.

    #260704
    wasanajones
    Participant

    ummm… https://wordpress.org/plugins/buddypress/

    We list them on both our plugin directory and

    https://buddypress.org/extend/recommended-plugins/

    that is a 404 not found page

    swiftblack
    Participant

    wordpress v 4.6.1
    buddypress v 2.7.1

    I notice there is a ” 0 “ figure appearing anytime I post an update. this started occurring when i updated to the new version 2.7.1 but goes off when reverted to v2.7

    The issue still occurs all themes been used

    Please Help me fix this issue… Thank You

    #260701

    In reply to: CAN BE DELETED

    jayront
    Participant

    $defaults = array(
    ‘id’ => ‘transfer_offer’,
    ‘component’ => ‘xprofile’,
    ‘must_be_logged_in’ => true,
    ‘block_self’ => true,
    ‘wrapper_class’ => ‘transfer-button ‘,
    ‘wrapper_id’ => ‘transferbutton-‘,
    ‘link_href’ => I DONT KNOW WHAT TO PUT HERE

    ‘link_text’ => __( ‘Transfer Verzoek’, ‘buddypress’ ),
    ‘link_class’ => ‘profile-button transfer-verzoek’,
    );

    I switched the debug mode and used :

    function jay_check_transfer_click() {
    	 echo bp_current_action(); home <--- results
    	 echo bp_current_item(); // sfc-ajax <--- results
    	 echo bp_current_component(); groups <--- results
    	
    }		
    add_action( 'bp_actions', 'jay_check_transfer_click' );

    Then i tried them all in the function but so far it only worked when i clicked on “Profile” in the X-profile of the user, but this is not what i want. When i clicked the button it didn’t call the function. Hope anyone has the solution to this because its driving me nuts lol

    #260692
    JetZ
    Participant

    I would like to include the post category with the author name and post title. I have looked all over and found a bunch of answers along these lines

    $activity_action = sprintf( __( '%1$s added the post, %2$s in the categories %3$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>', get_the_category_list( ', ', '', $post->ID ) );

    I have tried using the various functions available for getting the categories but no luck. Worth noting is that the current Buddypress version is using $action instead of $activity_action and the rest of the arguments have been modified also.

    I tried adding

    add_filter('wp_get_post_categories()', 'bp_blogs_activity_new_post_action');

    into my theme’s functions.php file but nothing.

    What am I missing?

    Thanks in advance.

    #260688
    Jermbugs
    Participant

    I currently have 2 domains associated with my multisite install. One of the domains is mapped under the main domain. I have a different theme on each website, but I am wanting them to be synced with buddypress and users info. However, if I access my buddypress file on my secondary mapped domain it takes me to the BuddPress profile page on my main domain. Is there away to fix this, as I would prefer that users are taken to the particular theme BuddyPress profile page instead of only the main domains BuddyPress Profile page? So in other words, can you have the BuddPress profile information linked from both websites on the Multisite install, but allow users to access their profile settings within the website that they are on and not be redirected to the main websites profile page? Thanks

    #260682
    elgroyconboy
    Participant

    Hello,

    I’m developing a website for my company and we’re trying to sync the assigned group data in buddy press with the user so when we go into mailchimp we can sort/partition our lists in mailchimp by the corresponding group.

    The code we’re using to sync all the other data in extended profile is here, but my concern is that we can’t pull the group the same way because it’s not something that gets added in the extended profile. I’m almost certain that I can’t pull the group with these parameters because when i look in the database, there’s no user-ID tied to any group. However, when i go into buddypress groups there’s users assigned to them.

    This is the function we’re using to sync:

    add_filter( ‘mailchimp_sync_user_data’, ‘mailchimp_buddypress’, 10, 2 );
    //Write the function
    function mailchimp_buddypress( $data, $user ) {

    //Get user ID
    $user_id = $user->ID;

    // Store Xprofile fields in the $data variable
    $data[‘JOBTITLE’] = xprofile_get_field_data( 11 , $user_id );
    $data[‘ORG’] = xprofile_get_field_data( 12 , $user_id );
    $data[‘CITY’] = xprofile_get_field_data( 36 , $user_id );
    $data[‘STATE’] = xprofile_get_field_data( 16 , $user_id );
    $data[‘COUNTRY’] = xprofile_get_field_data( 18 , $user_id );
    $data[‘PHONE’] = xprofile_get_field_data( 19 , $user_id );
    $data[‘SALUTATION’] = xprofile_get_field_data( 3 , $user_id );
    $data[‘GROUP’] = bp_get_current_group_id( 1 , $user_id );
    //Return the data
    return $data;

    }

    Right now the last line “$data[‘GROUP’] = bp_get_current_group_id( 1 , $user_id );” outputs a “0”.

    Thank you for reading! Hoping someone on here can help me.

    #260681

    In reply to: Actions not taken

    Slava Abakumov
    Moderator

    One more thought aloud: I see in WordPress core code that this text also displays when nonce check (security) fails. See wp_nonce_ays() if you are interested. This function is used in check_admin_referer() which is used everywhere in BuddyPress. That’s the only hint that I can give you right now. Try investigate in this direction further. In general – this is something with your site/server and not BuddyPress itself.

    To cleanup – you will need to reinstall everything from scratch (I mean create a new database and use it). Those plugins do not provide cleanup on uninstall functionality.

    Slava Abakumov
    Moderator

    You don’t need a BuddyPress theme, any WordPress theme will work just fine.
    You can create a child theme for your current theme and modify BuddyPress behaviour through it. Copy /plugins/buddypress/bp-templates/bp-legacy/buddypress/ to your theme (in root).

    Remove everything that you don’t need, and leave only /your-theme/buddypress/members/single directory. In that dir you should work with home.php files and others, that are relevant to you.

    But now I see that redefining BuddyPress template only won’t work as expected. You also need to create page-members.php file, where members – is the slug of you Members Directory page. It should be modified with

    if ( bp_is_user() ) {
        get_header('slim');
    } else {
        get_header();
    }

    and same for get_footer('slim') instead of the default usage. You will need to create header-slim.php and footer-slim.php files as well, and THERE you should remove all your navigation and all markup you don’t want that pages to have.

    So yeah, quite a work, but doable once you dive into that. Hopefully I gave you the direction and general idea.

    #260672

    In reply to: MemberType Tutorials?

    Venutius
    Moderator

    One resource I can suggest is my own site that I’ve been setting up for the last month, it tries to focus on using BuddyPress an at the moment covers some of the basics and reviews a lot of the plugins. Does not answer your specific questions right now though – http://buddyuser.com/

    #260671
    tinkerz
    Participant

    It seems all the videos I can find regarding setup of BuddyPress go through installing and very basic setup but I have yet to find any that go into structuring the social networking portion of the site and address things like the nuances of membertype and how to go about actually building the site. Does anyone know of any? Am I just really bad at searching?

    Thanks, for your time,
    Keith

Viewing 25 results - 12,626 through 12,650 (of 73,985 total)
Skip to toolbar