Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 9,826 through 9,850 (of 73,984 total)
  • Author
    Search Results
  • #269408
    needynoipe
    Participant

    Not sure if this is the correct category and not sure if the latest status is a buddypress or buddy theme thing.

    needynoipe
    Participant

    I’m trying to change the latest status update in the Buddy Theme for BuddyPress to a user text field, like a bio. Is there anyway to do this?
    I'm trying to replace the text asking how to replace the status with a user field/bio
    If this is valuable info I’m running WP 4.9.1 and BP 2.9.2

    #269406
    bodry24
    Participant

    Hello,
    I’m creating a meeting website, the profile search page is reserved for men only and I would like that the research only returns women profile. I’m using buddy press.
    Please help me.
    Thanks

    #269405
    durvilchat
    Participant

    Buddypress developper How to accept a friend request from a user (which function) .Thank you

    #269402
    ripulkr
    Participant

    Question : Are you using any custom plugin for Emails which may be modifying the wp_mail ?

    BuddyPress uses the wp_mail function but it also checks if any filter is modifying the wp_mail like converting the mail format from standard text to html. If BuddyPress detects that some plugin is modifying the wp_mail’s default behaviour then it would not run as it assumes that the mail is being taken care of by other plugin.

    bcanr2d2
    Participant

    I currently have an issue with trying to get a custom email to send once a user activates.

    When a user does a traditional signup/activation, the email gets sent without any issues.
    But when I use plugin to do sign ups via social media, this email does not get sent, and I get the following error when I capture the results of the failed email message.

    object(WP_Error)#6355 (2) { ["errors"]=> array(1) { ["missing_email"]=> array(1) { [0]=> string(12) "bp_get_email" } } ["error_data"]=> array(1) { ["missing_email"]=> array(2) { [0]=> string(24) "member_activated_account" [1]=> array(6) { ["no_found_rows"]=> bool(true) ["numberposts"]=> int(1) ["post_status"]=> string(7) "publish" ["post_type"]=> string(8) "bp-email" ["suppress_filters"]=> bool(false) ["tax_query"]=> array(1) { [0]=> array(3) { ["field"]=> string(4) "slug" ["taxonomy"]=> string(13) "bp-email-type" ["terms"]=> string(24) "member_activated_account" } } } } } }

    My code for the custom email creation, and the code to call it is as follows:

    function welcome_email_message() {
     
        // Do not create if it already exists and is not in the trash
        $post_exists = post_exists( '[{{{site.name}}}] Welcome to {{{site.name}}}' );
     
        if ( $post_exists != 0 && get_post_status( $post_exists ) == 'publish' )
           return;
      
        // Create post object
        $my_post = array(
          'post_title'    => __( '[{{{site.name}}}] Welcome to {{{site.name}}}', 'buddypress' ),
          'post_content'  => __( 'Hi {{recipient.name}}, welcome  to {{site.name}}! Thankyou for signing up and helping us grow our community.
    
    {{site.name}} is a community run service which connects families with the right babysitter or nanny for them.
    
    Your new account is all set up and ready to go, you can login with the following information:
    
    Username: <strong>{{recipient.username}}</strong>
    This link will take you to our log in page:
    <a href="https://bbs4you.com/login/?login=newuser">Login</a>
    
    We need you to log in and fill in the details of your profile in order to make the most of our site.
    
    Please let us know if you have any issues using the site via the contact us page:
    <a href="https://bbs4you.com/contact-us/">Contact Us</a>
    
    The {{site.name}} Team', 'buddypress' ),  // HTML email content.
          'post_excerpt'  => __( 'Hi {{recipient.firstname}}, welcome  to {{site.name}}! Thankyou for signing up and helping us grow our community.
    
    {{site.name}} is a community run service which connects families with the right babysitter or nanny for them.
    
    Your new account is all set up and ready to go, you can login with the following information:
    
    Username: {{recipient.username}}
    
    This link will take you to our log in page:
    
    Login
    We need you to log in and fill in the details of your profile in order to make the most of our site. Please let us know if you have any issues using the site via the contact us page:
    Contact Us
    The {{site.name}} Team.', 'buddypress' ), // Plain text email content. 'post_status' => 'publish', 'post_type' => bp_get_email_post_type() // this is the post type for emails ); // Insert the email post into the database $post_id = wp_insert_post( $my_post ); if ( $post_id ) { // add our email to the taxonomy term 'post_received_comment' // Email is a custom post type, therefore use wp_set_object_terms $tt_ids = wp_set_object_terms( $post_id, 'member_activated_account', bp_get_email_tax_type() ); foreach ( $tt_ids as $tt_id ) { $term = get_term_by( 'term_taxonomy_id', (int) $tt_id, bp_get_email_tax_type() ); wp_update_term( (int) $term->term_id, bp_get_email_tax_type(), array( 'description' => 'A member activates their account', ) ); } } } add_action( 'bp_core_install_emails', 'welcome_email_message' ); function new_member_welcome_email( $user_id, $key = false, $user = false ) { if ( $user_id) { // get the user data $user = get_userdata( $user_id ); // add tokens to parse in email $args = array( 'tokens' => array( 'site.name' => get_bloginfo( 'name' ), 'recipient.firstname' => ucfirst($user->first_name), 'recipient.username' => $user->user_login, ), ); // send args and user ID to receive email bp_send_email( 'member_activated_account', $user_id, $args ); } } add_action( 'bp_core_activated_user','new_member_welcome_email', 99, 2 );

    Why it works for a normal activation, and not with a OneAll social login account creation seems to confuse me, as the user_id is set and coming through from this point.

    #269399
    cm1218
    Participant

    I’m running Buddypress 2.9.2
    I’m running WordPress 4.9.1
    I’m using the evolv theme

    My website is http://communitykennel.com/

    I have never used wordpress before and do not have any coding or web design experience. I’m trying to create a website that allows people to swap pets when they’re traveling (free pet boarding). I’m looking for a plugin that would allow users to create a streamlined extended profile to show other people in the network

    1.information/photos about their pet
    2.information/photos about their yard/fence
    3.information/photos

    I’ve experimented with BP portfolio but I don’t like how it says “portfolio” on the buddypress menu.

    Also, does anyone know how to make the buddypress menu options layout vertically to the left side instead of horizontally under the user’s cover image?

    #269398
    Henry Wright
    Moderator

    If I understand properly, you need conditional profile fields. Try BuddyDev’s Conditional Profile Fields for BuddyPress.

    Conditional Profile Fields for BuddyPress

    leog371
    Participant

    Hey everyone. I am having trouble reworking a profile/registration field. I have a field that asks who or what are you. The options are male, female, couple or group. If the user selects say male or female then the next profile field is age and all is well, they simply fill out the form as usual and get an account. However, I have been trying with all my heart, patience and ability to figure out a way to have the option couple when selected, add an extra age field so that I can get the ages of both users. I have seen this done with buddypress before and I am sure it can be done, would anyone here have any ideas on how this could be accomplished?

    #269390

    UPDATE: this seems to only happen in specific cases where the user that created the site is no longer associated with that site.

    For example, when the site was created by Super Admin but later other users where assigned and super admin was removed from the site user list. In this case, it seems BuddyPress just picks the first user associated with that site, which may not even be an admin.

    It’d be better to try to determine the site owner (and thus, gravatar to use) based on these fallback steps:
    1. get admin Email Address and search matching user;
    2. if no user found, then get the first admin user associated with the site;
    3. if no admin user, then first editor… etc.

    #269389

    Hi all,

    When the primary site in a BuddyPress network runs over https, it appears all links to sites in the Sites list are forced to https as well, irrespective of the actual home url used by that site as set in the database.

    When a site is running over http and there is no ssl license available for its (sub)domain, it will cause visitors to be scared away by their browser’s security warnings.

    Not very nice…

    Can this be fixed?

    #269387

    Hi all,

    On my multisite buddypress, in the Sites list, I notice the gravatar that is shown left of each site, appears the be one from the first user associated to that site. This seems to make sense except that it is the first in in alphabetical order, not chronological order. So it’s not necessarily the user that created the site. In fact it can be any user of any role…

    This is very confusing. As if a site simply belongs to some random user of that site.

    Or is there something wrong with my setup?

    Thanks for any feedback / thoughts 🙂

    #269385
    Gunu
    Participant

    After a lot of digging here I found this:

    bp_message_notice_delete_link uses wrong action for nonce generation

    I made this change in the source code: fix nonce for sitewide notice deletion.

    Changed in source code from this file /buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/notices-loop.php
    <a class="button" href="<?php bp_message_notice_delete_link(); ?>" class="confirm" aria-label="<?php esc_attr_e( "Delete Message", 'buddypress' ); ?>">x</a>
    in this
    <a class="button" href="<?php bp_message_notice_delete_link(); ?>" class="confirm" title="<?php esc_attr_e( "Delete Message", "buddypress" ); ?>">x</a>

    Now I see the delete button and can delete messages, but this goes wrong again after an update from Buddypress.

    I would like to receive an advice.
    Thanks

    #269384
    stunomatic
    Participant

    I am back to start. If there id’s it shows only specific ids but if its null then it shows all the users :s

    <?php 		
    $contrytoggle = get_field( "country_toggle" );
    $contrypri = get_field( "select_country" ); ?>
    
    <?php echo $contrytoggle; ?>
    
    <?php $custom_ids = my_custom_ids($contrytoggle, $contrypri);  
    
     // $has_members_args = array(
       // 'include' => $custom_ids,
    // ); 
      
      echo $custom_ids;   // it echo no id and still it shows all the users 
       
      if ( bp_has_members( $custom_ids )  ) :
    
     ?> 
      
    	   	<ul>
      <?php while ( bp_members() ) : bp_the_member(); ?>
     
        <li>
          <div class="item-avatar">
             <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
          </div>
     
          <div class="item">
            <div class="item-title">
               <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a>
          </div>
    	</li>
    	  
    	   <?php endwhile; ?>
    
    	</ul>
    	
    <?php else: ?>
     
        <div id="message" class="info">
          <p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p>
       </div>
       
    
    	
    <?php endif; ?>
    </div>
    
        
    #269383
    stunomatic
    Participant

    If I pass include inside if then,

    echo $contrytoggle; = It shows 4 id’s 6,7,8,9

    and below code show only 3 users… user with 6th ID is missing

    <?php 		
    $contrytoggle = get_field( "country_toggle" );
    $contrypri = get_field( "select_country" ); ?>
    
    <?php echo $contrytoggle; ?>
    
    <?php $custom_ids = my_custom_ids($contrytoggle, $contrypri);  
    
     // $has_members_args = array(
       // 'include' => $custom_ids,
    // ); 
      
      echo $custom_ids; 
       
      if ( bp_has_members( 'include=' . $custom_ids ) ) :
    
     ?> 
      
    	   	<ul>
      <?php while ( bp_members() ) : bp_the_member(); ?>
     
        <li>
          <div class="item-avatar">
             <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
          </div>
     
          <div class="item">
            <div class="item-title">
               <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a>
          </div>
    	</li>
    	  
    	   <?php endwhile; ?>
    
    	</ul>
    	
    <?php else: ?>
     
        <div id="message" class="info">
          <p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p>
       </div>
       
    
    	
    <?php endif; ?>
    </div>
    
    #269382
    stunomatic
    Participant

    Hi,

    Thanks Boone for replying.

    I did as you said but still this while loop shows all the user profiles.

    If I echo ” echo $custom_ids; ” This shows correct number of ids

    Is there something I need to do with while loop as well ?

    Thanks

    <?php 		
    $contrytoggle = get_field( "country_toggle" );
    $contrypri = get_field( "select_country" ); ?>
    
    <?php echo $contrytoggle; ?>
    
    <?php $custom_ids = my_custom_ids($contrytoggle, $contrypri);
    
      $has_members_args = array(
        'include' => $custom_ids,
    ); 
      
      echo $custom_ids;   // This shows correct number of ids
       
      if ( bp_has_members() ) :
    
     ?> 
      
    	   	<ul>
      <?php while ( bp_members() ) : bp_the_member(); ?>
     
        <li>
          <div class="item-avatar">
             <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
          </div>
     
          <div class="item">
            <div class="item-title">
               <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a>
          </div>
    	</li>
    	  
    	   <?php endwhile; ?>
    
    	</ul>
    	
    <?php else: ?>
     
        <div id="message" class="info">
          <p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p>
       </div>
       
    
    	
    <?php endif; ?>
    </div>
    
    #269381
    Gunu
    Participant

    Another update.

    I found the “code” link in the following file: plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/notices-loop.php

    I changed the following code:
    <a class="button" href="<?php bp_message_notice_delete_link(); ?>" class="confirm" aria-label="<?php esc_attr_e( "Delete Message", 'buddypress' ); ?>">x</a>

    In this:
    <a class="button" href="<?php bp_message_notice_delete_link(); ?>" class="confirm" title="<?php esc_attr_e( "Delete Message", "buddypress" ); ?>">x</a>

    Now the “delete message” link is visible, however if I click on it I get an WP error message.

    “Are you sure you want to do this?” – No Yes or No button but a link back to the messages with the text “try it again”

    #269376

    In reply to: New user welcome email

    madebyhuddy
    Participant

    I have the same problem. Every plugins except Buddypress successfully send mails. ( woocommerce, WPForms… ) I tried disabling all plugins, default theme, tried default wp mail, tried smtp trough WP Mail SMTP, Postman…

    Anyways. I’ll follow this thread too.

    DigitalJoe
    Participant

    My BP Activity Stream Time is off (posted an update in 5 hours).
    I checked the server time, and also the WP settings time and they are all set correctly.
    I’m using basic Twenty Seventeen Theme and BuddyPress. No other plugins installed.

    Anyone else have this issue, or know what else it may be?

    #269360

    In reply to: Register page editor

    Boone Gorges
    Keymaster

    BuddyPress’s Register page is a special kind of page that cannot be edited via the Dashboard. That’s why it’s blank when you view it in the normal way.

    To add additional fields to the registration process, go to Dashboard > Users > Profile Fields. Add one for Address and one for Phone Number. Make them required and/or private, if you’d like. As long as they are part of the ‘Base’ profile field group, they will appear as part of the registration process.

    #269357
    Boone Gorges
    Keymaster

    When you add BuddyPress’s Register item to your nav menu, it will only show up for logged-out users. If you’d like it to show for *all* users, remove the BuddyPress item, and instead find Register under Pages and add it from there. https://i.imgur.com/Ny7Wj1L.png

    #269353
    Gunu
    Participant

    Hello,

    creating a message for all users works as expected – logged-in users see the message at the top of their screen.

    However, when I go to my account – messages > all member notices I can activate or de-active notices from there, this also works but there is no possibility to delete these messages.

    Using WordPress 4.9.1 and BuddyPress 2.9.2

    Anyone have an idea?

    Thanks

    #269350
    stunomatic
    Participant

    Hi Shane,

    Even if I check condition it still shows all members.

     <?php       
    
        <?php if ( !empty(bp_has_members( my_custom_ids( 'country', 'usa' ) ) ) ) : ?>  
    
        <ul>
      <?php while ( bp_members() ) : bp_the_member(); ?>
    
        <li>
          <div class="item-avatar">
             <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
          </div>
    
          <div class="item">
            <div class="item-title">
               <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a>
          </div>
        </li>
    
           <?php endwhile; ?>
    
        </ul>
    
    <?php else: ?>
    
       <div id="message" class="info">
          <p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p>
       </div>
    
    <?php endif; ?>
    </div>
    #269347
    inderlovy
    Participant

    Hi, I am new to wordpress.

    I want to edit the register page of buddypress.
    My registration should include address and phone number of person.

    I tried to edit the page in pages, it is completely empty.

    Please let me know :
    1) How to edit the page?
    2) Any precautions to take during editing plugin page.
    3) Do it automatically updates in database fields?

    Thanks.

Viewing 25 results - 9,826 through 9,850 (of 73,984 total)
Skip to toolbar