Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,151 through 8,175 (of 69,044 total)
  • Author
    Search Results
  • #264865
    Henry Wright
    Moderator

    Can you show us the full path you have to your child theme’s member-header.php file?

    It should be your-theme/buddypress/members/single/member-header.php

    #264845
    Hugo Ashmore
    Participant

    Note: Please do not provide a .php fix. I edited the php a couple days ago to apply a fix (unrelated to this one) and it crashed my entire site. I will not be editing the php.

    I suggest then that you consider contracting a developer to do this for you or contact memberpress to provide a solution.

    We are a volunteer help forum for buddypress, the best we can really do is provide code that might help you but doing that while bearing in mind offering code is more than should be expected on these sorts of forums.

    #264828
    Slava Abakumov
    Moderator

    Just sent a new issue!

    BuddyPress Newsletter #25 – BP 2.9 schedule, new BP.org redesign ideas, promo etc

    https://www.getrevue.co/profile/bpmail/issues/25-bp-2-9-schedule-new-bp-org-redesign-ideas-promo-etc-49050

    #264802
    zo1234
    Participant

    That seems beyond the scope of buddypress, you may want to search for a gamification plugin. Also, don’t hold your breath on getting an answer here. For such a popular plugin, the support sucks and I’m becoming less and less of a fan of buddypress. The solutions aren’t straight forward, it’s “Here modify 20 files and create this new child theme and create 1000 lines of code”. Not a very user-friendly plugin compared to others.

    #264772
    elijeh
    Participant

    I looked at the description of that before and thought it seemed to be aimed at matching people with similar characteristics – which is what I already have.

    I want something that allows a member to say he/she wants a match to characteristics that are different. For example, she doesn’t smoke but is ok if he does. Or he drinks but wants her to be a person who doesn’t. Or he is 6’3″ tall and is looking for someone who is shorter than that.

    My understanding of what I’ve currently got is that it takes one member’s profile and matches it with members who have identical profiles (except for the “man looking for a woman” field).

    Do you know if match-me-for-buddypress allows non-identical matching?

    #264771
    Venutius
    Moderator

    Take a look at https://wordpress.org/plugins/match-me-for-buddypress/ I think this is a good start.

    #264767
    shanebp
    Moderator

    You need to contact the creator of that plugin: buddypress-who-clicked-at-my-profile

    #264754
    maccast
    Participant

    I was dealing with this problem too. It might not be exactly what you’re looking for, but in my case I just decided to hook into the BP signup, extract the full name, split it at the first space and then update the WordPress ‘first_name’ and ‘last_name’ user metadata fields with the results.

    Here is the code you can add to your functions.php or custom plug-in:

    // define the bp_core_signup_user callback 
    function ac_bp_core_signup_user( $user_id ) { 
        // make action magic happen here...
        $fullname = bp_get_member_profile_data( array( 'field' => 'Name', 'user_id' => $user_id ) );
       //split the full name at the first space
       $name_parts = explode(" ", $fullname, 2);
    
       //set the firstname and lastname for WordPress based on the BP name
       //firstname
       if( isset($name_parts[0]) )
            update_user_meta( $user_id, 'first_name', $name_parts[0] );
    
       //lastname
       if( isset($name_parts[1]) )
           update_user_meta( $user_id, 'last_name', $name_parts[1] );
    
       //not needed for an action, but I always like to return something
       return $fullname;
    }
    
    // BuddyPress save first name last name to WP profile on signup 
    add_action( 'bp_core_signup_user', 'ac_bp_core_signup_user', 10, 1 );
    mikeboltonca
    Participant

    Shane, I wonder if you can help me stitch together the sequence of events between clicking “Post” on the “What’s new?” form and the moment that groups_is_user_member() is called.

    I’m wondering if there might be an intermediary step I could modify so it doesn’t perform the member check in this particular case.

    I still need groups_is_user_member() intact to keep non-managers out of the Management group, so hacking that function directly (or filtering it across the board) won’t do the job for me.

    Thanks again for your insight. BuddyPress is a gloriously complex system, and it takes a long time to reverse-engineer it by reading docs and looking through the files.

    #264750
    Henry Wright
    Moderator

    Thanks for the reply, so you’re saying I should rename this field to “First Name” and create a secondary field for “Last Name” ?

    That’s one approach you could take.

    If there is nothing special about the field, is there a hook or filter where I can replace the field entirely and map them to first / last name fields in WordPress?

    I think not unfortunately. You could request one be added by opening a ticket on Trac

    shanebp
    Moderator

    Yup, it’s failing on groups_is_user_member() in bp-groups\bp-groups-functions.php.

    You could hack that function, but I think what you really need is a filter hook on the return.
    Then your task would be simple.

    groups_post_update() in bp-templates\bp-legacy\buddypress-functions.php uses groups_is_user_member()

    You could create an enhancement ticket on trac.

    #264742
    exentric
    Participant

    For anyone else looking for this ….. and I know there are a lot of you because I found hundreds of similar posts , here it is link I think that this functionality is very very important to buddypress , and hopefully it will be added and extended (i will be posting what I add to this functionality here) , @danbp there is no way I could believe that no one else needed this function

    #264738
    AiratTop
    Participant

    PHP Notice: Trying to get property of non-object in /site_path/wp-content/plugins/buddypress/bp-groups/bp-groups-template.php on line 534

    6logics
    Participant

    I fixed it by changing the code in function bp_send_email in file /buddypress/bp-core/bp-core-functions.php.

    Before:

    $must_use_wpmail = apply_filters( 'bp_email_use_wp_mail', $wp_html_emails || ! $is_default_wpmail );
    
    	if ( $must_use_wpmail ) {
    		$to = $email->get( 'to' );
    
    		return wp_mail(
    			array_shift( $to )->get_address(),
    			$email->get( 'subject', 'replace-tokens' ),
    			$email->get( 'content_plaintext', 'replace-tokens' )
    		);
    	}

    After:

    $must_use_wpmail = apply_filters( 'bp_email_use_wp_mail', $wp_html_emails || ! $is_default_wpmail );
    
    	if ( $must_use_wpmail ) {
    		$to = $email->get( 'to' );
    
    		return wp_mail(
    			array_shift( $to )->get_address(),
    			$email->get( 'subject', 'replace-tokens' ),
    			$email->get_template( 'add-content' )
    		);
    	}
    6logics
    Participant

    we do need to send rich HTML emails. Is there a way we can configure BuddyPress’ custom instance of PHP Mailer to use our SMTP server?

    I am also looking forward to this option. I am using Gmail SMTP plugin to send email and it is causing to send plain text.

    safewp
    Participant

    For unknown reason I suddenly started getting a page asking me for activation key every time after I register myself as a pretend new user and after clicking on the activation link in the email.

    I read a post https://buddypress.org/support/topic/activation-code-after-new-member-registration/ with the same problem saying the activation key is in the email. I tried that so this is an example of the link,

    http://localhost/wordpress/activate-3/zhG7gX5p4mtAnSv91K1ePhgBO3V3laWh/

    I tried zhG7gX5p4mtAnSv91K1ePhgBO3V3laWh
    activate-3/zhG7gX5p4mtAnSv91K1ePhgBO3V3laWh
    and the entire url,
    but none of them work.

    In fact, the new user was never created because I checked the Users at admin backend, the new user was never there.

    A participant in the post said BP Autologin on Activation plugin solved her this problem but I tried it and it did not work. I think my situation is different from other members in that post because their newly registered members was actually created but mine wasn’t.

    I don’t know why this would happen because it never had this problem before.

    My site is still localhosted, if that matters.

    WP 4.7.3
    BP 2.8.2

    Please help.

    Thank you.

    #264717
    Henry Wright
    Moderator

    I’ve just removed bp_is_member() from the Template Tag Reference so there’s no confusion going forward:

    Template Tag Reference

    #264715
    shanebp
    Moderator
    #264689
    Venutius
    Moderator

    That shortcode is not part of BuddyPress, you need to refer your request to the plugin developer for the shortcode, would that be BuddyDev?

    #264686
    Slava Abakumov
    Moderator

    Just sent a new issue!

    BuddyPress Newsletter – #24 – BP security release, Community Hosting, BuddyApp Theme, BP with WooCommerce etc

    https://www.getrevue.co/profile/bpmail/issues/24-bp-security-release-community-hosting-buddyapp-theme-bp-with-woocommerce-etc-48208

    #264685
    McCage
    Participant

    I do not use Twitter. When I register for a WordPress website, I do not realize that the username will be revealed in BuddyPress. I prefer to see my username as part of the login secret and I think many of my BuddyPress friends will feel the same. I would like to see a setting that makes it possible to use the real name or the nickname on screen as is the case for comments to postings in WordPress. Or a plugin to do so.

    Muhammad Kashif
    Participant
    #264659
    Henry Wright
    Moderator

    How do I do that on the server side?

    You’d use the modulo operator, like in my example above.

    Did this work for you?

    #264657
    r-a-y
    Keymaster

    Actually, what hnla points out is correct. Disregard what I previously wrote, I was thinking of something entirely different!

    index-directory.php has to be a full template with get_header() and get_footer().

    You should copy your theme’s page.php template and rename it to index-directory.php. Then move this file to wp-content/themes/YOUR-THEME/buddypress/groups/index-directory.php.

    Please note that template hierarchy means modifying the surrounding elements of the page. If you just want to modify the group loop itself, then just copy /groups/groups-loop.php and make your changes to that file.

    #264655
    kalico
    Participant

    Hi @r-a-y, Thank you for the reply. My parent theme doesn’t have that file, and yes I am using a child theme already, and I do understand that it doesn’t work with bp-default themes, but it SHOULD work with bp-default templates – no?

    For reasons I don’t understand,

    /bp-templates/bp-legacy/buddypress/groups/index.php

    does not work as the index.php file when copied to

    /community/groups/index.php

    Now, if you’re saying I should not expect it to, then….what should I use as my template for the groups index?

    If I’m reading correctly, @hnla says I should just use a regular page template from my theme, and strategically add in the contents of /bp-templates/bp-legacy/buddypress/groups/index.php (which, as he points out, is not a complete file with header, etc) and call it index-directory.php. (And thank you, @hnla for the reply as well 🙂 )

    I can do that. However, I haven’t found any documentation to that effect, and it seems to be much more complicated than the template hierarchy documentation implies:

    Therefore, you can modify any bp theme compatibility template by copying it over from:

    /bp-templates/bp-legacy/buddypress/

    To:

    /my-theme/community/ or /my-theme/buddypress/

    That is what I have always done, and I’ve never had this much trouble with it before.

    I have other template modifications to make, and if Hugo’s instructions are correct, it would be really helpful to know where the documentation is, in case I have further issues.

    If the template hierarchy page is correct, then something is wrong with my site, because I’m following those instructions (in spite of my original faux pas of using “themes” instead of “templates”).

    Thanks in advance for any further clarification you can provide.

Viewing 25 results - 8,151 through 8,175 (of 69,044 total)
Skip to toolbar