Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 9,901 through 9,925 (of 94,548 total)
  • Author
    Search Results
  • phiggins25
    Participant

    Hello All,

    I am using a multisite network and one of my sites uses BuddyPress based theme and user login system. I use a plugin called Join my Multisite to automatically create and log in users to the various sites within the network however when first visiting my primary site as a logged in user and then linking to my BuddyPress site it is creating a user on the BuddyPress site however that user is automatically getting marked as a spammer even tho it is not. I am not sure what setting is automatically flagging the user as a spammer but I would like to stop this. Please provide any insight to the matter as it would be greatly appreciated.

    #270079
    Alice_K2015
    Participant

    Hello,

    After my users register on my site they’re directed to the activation page asking for an activation key after clicking a link in their email.

    Then screen then reads ‘Invalid activation key’

    Have i done something wrong during setup? How can i fix the issue? Any ideas?

    WordPress 4.9.1,
    BuddyPress 2.9.2,

    My Home Page

    #270077
    Buddy Quaid
    Participant

    For the life of me, I cannot seem to fetch an xprofile field that I need to put into a custom email inside my custom plugin.

    I have scoured these forums all day and tried everything but nothing seems to work.

    – Custom plugin.
    I want to custom field “Name” that the person is required to fill out when registering for the site.

    function aa_activated_user_email( $msg, $user){
      global $bp;
      $users_name = bp_get_member_profile_data( 'field=Name&user_id=' . $user->ID );
      $msg  = "<h1>A User has been activated!</h1>";
      $msg .= "<p>Name: <strong>$users_name</strong><br>";
    }

    This just throws an error:
    PHP Fatal error: Call to undefined function bp_get_member_profile_data()

    #270076
    ss4arob
    Participant

    Hi

    I am not sure if this is Buddypress issue or Buddypress combined with Buddyboss etc. I have got in touch with them also.

    Basically I have a chat bot plugin called convertfox, and it works on my other domains which havent got buddyboss but not on my subdomain which does.

    When I go through the process of deactivating all plugins and reactivating one by one, Buddypress is the only one that stops the chat box script from firing. It is present in the source code but does not exectute.

    Can you help at all?

    domain where it works is: howtostreetdance.com

    Issue is located at members.howtostreetdance.com

    Wordpress version: 4.9.1
    Buddypress version: 2.9.2

    #270069
    HDcms
    Participant

    Hi,
    How to disable the editor only on the xprofile buddypress multi-line fields ?
    Regards

    rgipp1
    Participant

    I’m running Buddypress Version 2.9.2.

    I have a need to send messages to multiple recipients from one sender.

    I do this thru php.

    My code is below.

    When I have less than about 11 receipients the procedure works.

    When I have 12 recipients the page seems to hang and it creates 2 messages to each recipient.

    I’ve put echo messages to debug in bp-messages-functions.php and without a debugger can’t see what’s happening.

    I was successful sending from one sender to a large array of recipients.

    The problem with that is it’s a group message and one recipient replies they reply to all the recipients and the original sender.

    <?php
    //$arrayTrainers = [118,120,122,123,124,131,132,133]; //works

    $arrayTrainers = [76,77,81,82,118,120,122,123,124,131,132,133]; //doesn’t work

    foreach ($arrayTrainers as $Recipient) {

    $args = array(
    ‘sender_id’ => $Sender,
    ‘recipients’ => $Recipient,
    ‘subject’ => $subject,
    ‘content’ => $longcontent

    );

    $lastThread = messages_new_message( $args ) ;

    } //foreach

    ?>

    jalex1783
    Participant

    I am translating my site to spanish so I am using the buddypress-es_MX.po and .mo files.

    I have translated the following email notifications strings to Spanish, but they are not being applied and remain in English after the notification email is sent. Notice it’s all in English except the message I posted to another user.

    The .po file has been placed in the following locations: public_html/wp-content/languages/buddypress
    and also public_html/wp-content/languages/plugins as you describe to do in your instructions.

    The file I am using is the Stable ( latest release) one you have on your site so I just started to add more translations myself and posted.

    It has been working for all other text on the front end of my site, but for some reason, email notifications are not responding.

    “name replied to one of your updates:

    “muy bien pero puedo estar mejor.”

    Go to the discussion to reply or catch up on the conversation.”

    Please help.

    #270061
    waplastic
    Participant

    Hello BuddyPress,
    Sorry for posting this here but I just can’t seem to find the right plugin to ask for support on.

    I basically need a dashboard where users can upload their own spreadsheets, or information. Then it’ll display some stuff based on that.

    Maybe a Pi Chart or something.

    I thought we could even embed a google spreadsheet into a page, but to do that I need a page I can somehow assign to their page that’s connected to their profile.. and no one else can see it or has the link.

    Can someone point in me in right direction?

    #270059
    Varun Dubey
    Participant

    Hi @hopetommola you can check https://codex.buddypress.org/plugindev/post-types-activities/#customizing-post-type-activity-content
    You can use the same approach to define activity post content for CPT.

    For allowed tags you can try bp_activity_allowed_tags filter

    #270058

    In reply to: activity meta

    Varun Dubey
    Participant
    #270057
    Varun Dubey
    Participant

    @brunothomas You can try following codes to remove any specific tabs and subtabs

    function vap_remove_buddypress_profile_tabs() {
    	global $bp;
           // to remove main menu like friends.
           bp_core_remove_nav_item('friends' );
           // to remove sub nav favorites under activity.
           bp_core_remove_subnav_item('activity', 'favorites');
    }
    add_action( 'bp_setup_nav', 'vap_remove_buddypress_profile_tabs', 999 );

    To create new tabs, you will have to create dedicated functions

    Custom Member Tab

    #270056
    lpedley
    Participant

    Hello,

    We are currently using Buddypress with BuddyBoss theme. We have been attempting to change “Friends” to “Contacts” and have read through 8 years of these support forums trying to find an answer to our issue.

    We used Loco translate to change all available strings that mention friends to contacts and for the most part this worked well. Unfortunately there are instances on Site Wide Activity, All Members and in some drop down filter menus/widgets where “Friends” still appears. We’ve gone through Buddypress, Buddyboss theme and all extension plugins we have installed for buddypress using the Loco plugin. We’ve manually changed every single instance, gone through the Buddypress developer resources and all codex articles posted in previous topics and have tried Poedit but this has not changed the above instances.

    BuddyPress, WordPress and BuddyBoss are all up to date. Link: http://www.squarepeg.online

    Any ideas would be incredibly appreciated. Thank you!

    #270052
    kariellen35
    Participant

    I am still having problems with my user registration and it resides solely with buddypress. I currently have all plugins disabled besides buddypress. I can’t help but wonder if this was caused by the update. Is anyone else having this issue?

    #270047
    brunothomas
    Participant

    Hello guys,

    I’m new to wordpress themes customization so I’d like some help with a few questions.

    I’ve been running a buddypress community for some months now but I couldn’t find out these things:

    1) How do I remove items from the menu bar that’s below the user profile header? I tried via the usual Menu customization option in WP dashboard but couldn’t find it.

    2) How do I add a link to a custom page to that same menu and make it open within the same template, that is, showing the header and menu bar on the top of the content I created?

    Reference: https://i.imgur.com/IR5Ptbq.png

    Thanks!

    Bruno

    #270043
    cding
    Participant

    @leog371 The codes work very well! And I also want add buddypress delete comment button after each comment on a blog, so the comment user could delete their own comment. I tried hours but failed to modify the add favorite codes. I konw little about php, would you like to give a hand?

    HDcms
    Participant

    Hello,

    The idea is to display only the list of members who match with a search criterion “radio button” (or if possible checkbox) that inserted the logged in member in his profile (eg I am looking for a : developer=”buddypress” 🙂

    I found the following function but how to add filter on the display of the list of members in bp-custom.php?

    function my_custom_ids( $field_name, $field_value = '' ) {
      
      if ( empty( $field_name ) )
        return '';
      
      global $wpdb;
      
      $field_id = xprofile_get_field_id_from_name( $field_name ); 
     
      if ( !empty( $field_id ) ) 
        $query = "SELECT user_id FROM " . $wpdb->prefix . "bp_xprofile_data WHERE field_id = " . $field_id;
      else
       return '';
      
      if ( $field_value != '' ) 
        $query .= " AND value LIKE '%" . $field_value . "%'";
          /* 
          LIKE is slow. If you're sure the value has not been serialized, you can do this:
          $query .= " AND value = '" . $field_value . "'";
          */
      
      $custom_ids = $wpdb->get_col( $query );
      
      if ( !empty( $custom_ids ) ) {
        // convert the array to a csv string
        $custom_ids_str = 'include=' . implode(",", $custom_ids);
        return $custom_ids_str;
      }
      else
       return '';
       
    }

    Members Loop

    Regards

    #270030
    fishbrainz
    Participant

    Hello,
    There is code or a plugin to put a icon or picture near avatar to see the gender (male, female, couple) of a membre.

    I managed to display the type with <?php $genre = bp_member_profile_data(‘field=Genre’); ?> in members-loop.php

    But i didn’t succeded with a picture… 🙁
    I use “BuddyPress Xprofile Custom Fields Type” plugin to create fields.

    Thanks and sorry for my bad english 🙂

    #270028
    kariellen35
    Participant

    My registration page is no longer working. When the submit button is selected after filling out all required fields it acts like it is loading then it scrolls the page up, doesn’t auto clear the entries and doesn’t show any sort of message. The user doesn’t come up as registered in the backend and no email is sent. The only thing that has changed is an update to wordpress 4.9.1 and buddypress 2.9.2 Could this have caused the issue? I tried disabling all plugins except buddypress and switching my theme to 2015 (default theme).

    Thank you very much for your time!

    Take care,
    Kari

    #270027
    leog371
    Participant

    Just to be sure of what your asking, Are you trying to hide these from everyone including the person who owns the profile?

    Just in case you dont want to hide them from the profile owner, you should know that any links that are edit, upload rtmedia links only display for the profile owner and no one else and most other things like this are hidden by default from users and friends anyways. Only a profile owner can upload and make changes to his profile or post activity on their profiles.

    Also, each member has privacy options in their profile settings. You can set defaults in the dashboard for this as well.

    If this is not the case, could you clarify what you hope to achieve?

    If you simply wish to remove links for everyone in your site including the profile owner, just use something like this in bp-custom.php file

    /* Example to Remove subnav tabs from Group Settings  https://codex.buddypress.org/developer/navigation-api/#examples*/ 	
    	function remove_group_manager_subnav_tabs() {   
        // site admin will see all tabs
        if ( ! bp_is_group() || ! ( bp_is_current_action( 'admin' ) && bp_action_variable( 0 ) ) || is_super_admin() ) {
            return;
        }
           // all subnav items are listed here.
           // comment those you want to show
            $hide_tabs = array(             
            //  'group-settings'    => 1,
            //    'delete-group'      => 1,
             //   'group-avatar'      => 1,
            //  'group-invites'     => 1,
             //   'manage-members'    => 1,
            //  'forum'             => 1,
            //  'group-cover-image' => 1
            );
                       
            $parent_nav_slug = bp_get_current_group_slug() . '_manage';
      
        //Remove the nav items
        foreach ( array_keys( $hide_tabs ) as $tab ) {
            bp_core_remove_subnav_item( $parent_nav_slug, $tab, 'groups' );
        }   
    }
    add_action( 'bp_actions', 'remove_group_manager_subnav_tabs' );
    nicecap
    Participant

    Wow – thank you leo – you came up with the right track. When I add Activity from the BuddyPress items to my menu it will be the “…/members/username/activity” version and when I add Activity from the pages items it will be “…/activity”, so I changed that.

    But it’s true then the header is missing. I will fix this.

    Thank you very much for your effort helping me!

    #270016
    leog371
    Participant

    Hiya CDing, check this out. Its pretty self explanitory. Add BuddyPress Favorite Button On posts

    #270014
    Varun Dubey
    Participant

    Hi @eeker, You can try rtMedia plugin or BuddyPress Activity Plus By WPMU DEV.

    #270012
    angrywarrior
    Participant

    Welp pretty much as it says;
    Is there a way to add a “cancel” button to the group creation wizard. If a end-user regrets his/her decision to create group then the group has been created anyway. So a potential bloat of the system which loads of unfinished grops can be prevented if there only was a “cancel” button in each step of the wizard.

    Thanks a lot in advance! 😉

    #270002
    ingohaeck
    Participant

    For privacy issues I want to hide certain links on profile view.
    i use the snippet, mentioned here (see script below):
    one

    This works fine with BP related links, but I cannot hide links from CPT like rtMedia and the link of this:

    `function bp_postsonprofile() {
    add_action( ‘bp_template_content’, ‘profile_screen_posts_show’ );
    bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );
    }

    function profile_screen_posts_show() {

    $myposts = get_posts( array(
    ‘posts_per_page’ => -1,
    ‘author’ => bp_displayed_user_id(),
    ‘post_type’ => ‘post’
    ));

    if( ! empty($myposts) ) {

    echo ‘<ul>’;

    foreach($myposts as $post) {
    setup_postdata( $post );
    echo ‘<li><a href=”‘ . get_permalink($post->ID) . ‘”>’ . get_the_title($post->ID) . ‘</a></i>’;
    }

    echo ‘</ul>’;

    wp_reset_postdata();

    } else {

    echo ‘<div class=”info” id=”message”><p>’. bp_displayed_user_fullname() .’ hat keine Beiträge veröffentlicht.</p></div>’;
    }
    }

    add_action ( ‘profile_screen_posts_show’ );`

    function bpfr_hide_tabs() {
    global $bp;
    /**
    * class_exists() & bp_is_active are recommanded to avoid problems during updates
    * or when Component is deactivated
    */

    if( class_exists( ‘bbPress’ ) || bp_is_active ( ‘groups’ ) ) :

    /** here we fix the conditions.
    * Are we on a profile page ? | is user site admin ? | is user logged in ?
    */
    if ( bp_is_user() && !is_super_admin() && !is_user_logged_in() ) {

    /* and here we remove our stuff ! */
    bp_core_remove_nav_item( ‘activity’ );
    bp_core_remove_nav_item( ‘friends’ );
    bp_core_remove_nav_item( ‘groups’ );
    bp_core_remove_nav_item( ‘posts’ );
    bp_core_remove_nav_item( ‘forums’ );
    bp_core_remove_nav_item( ‘media’ );
    }
    endif;
    }
    add_action( ‘bp_setup_nav’, ‘bpfr_hide_tabs’, 15 );

    leog371
    Participant

    Ok, So hello again NiceCap. So what I see is that your activity link in the “Community” drop down menu link in the header there is actually being sent to the current /logged-inMmembers (Current User’s)/profile /activity page. Not the “Community Sites” activity page.

    What your getting is this

    https://www.cb-riding.com/members/leog371/

    what you want is this

    https://www.cb-riding.com/activity

    This is probably due to either having your menu setup wrong or your pages in settings/buddypress set up with the wrong pages. I would start by going into your menus. Its under appearance in your wp dashboard and make sure that link gores to https://www.cb-riding.com/activity.

    Then go to Settings/buddypress and make sure that the pages are set up correctly. Meaning “Activity Page” should be set to “Activity Page”.

    It appears that the activity stream is not taking on your header and your theme stuff. Not sure whats going on there, you should check that out. Anyways, your activities page is here

Viewing 25 results - 9,901 through 9,925 (of 94,548 total)
Skip to toolbar