Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 9,926 through 9,950 (of 94,565 total)
  • Author
    Search Results
  • #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

    cding
    Participant

    I want to add the buddypress favorite button on a blog post. There are several topics about this, but none works. Can anyone help me?

    dpbavnild
    Participant

    Hi, When I put up the widget – Buddypress activity (global)

    None activity is being shown in the widget at all?

    the widget is active under “Min profil”

    My page http://www.dyrenesplanet.dk

    Looking forward to hear from you

    #269981
    Varun Dubey
    Participant

    @crandalln
    BP have PHP7 support, Forum moderators have also confirmed it.
    https://buddypress.org/support/topic/buddypress-php7-compatible/

    #269980
    Varun Dubey
    Participant
    #269976
    Varun Dubey
    Participant

    @southstarasbestos You can follow documentation steps
    Installation
    Configuration

    #269974
    leog371
    Participant

    @dopeboy and @saz25. Here you go, I created a tutorial for you. Let me know if its helpful. Create Modal Login

    #269971
    Anthony Tornambe
    Participant

    I use buddypress plugins to optimize it.

    leog371
    Participant

    I completely Disagree! BuddyPress has served me well in over 250 projects. I only use 3 plugins on average and never use any pre-made themes. I have developed over 250 perfectly working and extremely customized communities and learning websites as well as intranet sites using BuddyPress and have never had any issues with it. I have never had any issues making it do just exactly what I want to to do “Well, there maybe one or 2 items I would change”.

    Anyways, my point is, if you know how to work with WP’s flavor of messed up PHP, if you know how to use the codex, the extensive list of attributes and hooks, actions and filters that are listed all over the web, BuddyPress is a pretty puppy that can pretty much act, do or become anything you want without all the plugins.

    As far as the help goes around here, Well, yes, It has a lot to be desired. When you post a question, you must realize that not everyone here can help. A lot of the members here are looking for help themselves. The guys who can help are often times bogged down trying to help others and along with having work of their own to complete for their jobs at the same time. So yes, the help here is sparse but no one ever said that this was the help desk or the help line. Its just a forum for people to ask questions and get replies from other members and sometime staff that will help out someone when we can.

    And Finally……
    Wordpress and BuddyPress are basically developers platforms. It just so happens that its simple enough that basically anyone who has a desire to learn or are at least brave enough to look into some files can make changes and even figure out how to make a theme if they want. No one ever said it was easy for everyone which is why a lot of people pay other people to do the work for them. If you fall into this category, please just pay someone to do the work and stop whining about not getting help because you dont know what your doing.

Viewing 25 results - 9,926 through 9,950 (of 94,565 total)
Skip to toolbar