Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 7,426 through 7,450 (of 69,106 total)
  • Author
    Search Results
  • HDcms
    Participant

    HI,

    I’m trying to filter the buddypress members in the list of members and display them in descending order of precedence on a numeric xprofile field (0 to 10).
    Example of filter xprofile field “I search” = xprofile field “I am”

    I found the function that should work, but I can not do the query:

    function my_bp_loop_querystring( $query_string, $object ) {
    if ( ! empty( $query_string ) ) {
    $query_string .= ‘&’;
    }
    // $query_string .= ‘per_page=2’; //works
    $jerecherche = xprofile_get_field_data(‘Je recherche’, $user_id, $multi_format = ‘comma’ );
    $query_string .= ‘search_terms=true&per_page=2’; // <del datetime="2018-01-17T10:23:06+00:00">works</del>
    
    return $query_string;
    }
    add_action( ‘bp_legacy_theme_ajax_querystring’, ‘my_bp_loop_querystring’, 20, 2 );
    #270147
    stoi2m1
    Participant

    Super weird. I disabled all of my plugins except Buddypress, Activated the Parent Theme and still had issues. Copied over the BP Default theme and things work.

    I have not changed anything in the parent theme, very odd that it seems to be the issue. Maybe some of this happened when I upgraded to the most recent WP and BP.

    #270130
    vinkgg
    Participant

    I’ve managed to export the contacts list from the old intranet (made in .net) in an excel workbook, with that, i created each column matching the fields from wordpress and also my custom fields for buddypress as well.

    So far i can import the users with no problem, the issue is, is that in the old intranet they had a “birthday widget” showing the co-workers who are celebrating in the current month. I also added a “Birthday Date” column, but when i type the date, the Import Plugin does not take the data in.

    One thing i tried is to create the user in wordpress dashboard, type in all the fields from the user, including the birthday date and export it to a csv file, it did show the date in the column, so i copied the same format as it came from the file, and import it, but it does not import. I’ve tried different date formats but none of those worked out

    YYYY-D-M
    YYYY-D-M HH:MM:SS
    M-D-YYYY HH:MM:SS

    Any ideas?
    Thanks for the reply leog371

    #270119
    leog371
    Participant

    What are you exporting this csv out of? Is it from another WordPress or BuddyPress Site? If so, do you have all fields in your new intrasite setup like you did in the last one? If this is from some other social networking script, do all your data columns and things match up?

    #270115
    cding
    Participant

    @leog371 It seems you use the wp delete comment function. I want the comment author can delete their own comment and this is why I want to use buddypress delete activity function. Does your function allow the comment author to delete their own function?

    And it is difficult for me find where to put the second codes.
    I try to put it after

      <?php
      wp_list_comments( array(
      'avatar_size' => 100,
      'style' => 'ol',
      'short_ping' => true,
      'reply_text' => twentyseventeen_get_svg( array( 'icon' => 'mail-reply' ) ) . __( 'Reply', 'twentyseventeen' ),
      ) );
      ?>

    but it is not the right place. I want show the button after each comment.

    #270114
    vinkgg
    Participant

    Anyone?

    I really don’t know what to do, the support from the plugin http://www.youngtechleads.com/buddypress-members-import-support/ doesn’t reply has been a week… and it was kind expensive as well.

    Thanks

    #270104
    @mercime
    Participant

    @deimz Thank you for submitting the documentation which were attached in this codex page. As @hnla mentioned, your gravatar was included in the BP Codex props/gallery for 2017 at https://bpdevel.wordpress.com/2018/01/09/bp-codex-summary-for-2017/
    Cheers.

    HDcms
    Participant

    HI,
    I got a message from the theme author, but if you could help me or give me an example?

    • “The member loops uses the bp_ajax_querystring function to build member results aslo this function has a filter with you can alterate the query, the filter it’s : bp_ajax_querystring / https://codex.buddypress.org/developer/function-examples/bp_ajax_querystring/

      So there should be made a custom function/s that check it’s there it’s member directory and only then to run that function and also should be builded the logic of your flow.”

    #270089
    Varun Dubey
    Participant

    @keshabee You can use following codes

    function vap_remove_buddypress_sites_tabs() {
    	global $bp;
           // to remove main menu for sites.
           bp_core_remove_nav_item('blogs' );
    }
    add_action( 'bp_setup_nav', 'vap_remove_buddypress_sites_tabs', 999 );
    #270087
    Varun Dubey
    Participant

    Hi @shayne-thiessen
    You can use code suggest in following thread.

    Change menu items below user header

    #270086
    Varun Dubey
    Participant

    @phiggins25 inside BuddyPress setting, you have options to set activities marked as spam via Akismet. It might be possible those users have suspicious IP, or their email id is already marked as spammers. Try to disable it.

    #270085
    Varun Dubey
    Participant

    @lpedley It’s theme specific issue, contact theme support for a solution.
    When theme and other related BuddyPress plugin override template files, you have to translate theme and additional plugin strings with correct text domain.

    #270084
    leog371
    Participant

    Wrap that in a BuddyPress Loop on whatever template your using it on.

    https://codex.buddypress.org/type/loop/

    #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

    #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?

    #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! 😉

    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 - 7,426 through 7,450 (of 69,106 total)
Skip to toolbar