Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 16,501 through 16,525 (of 69,016 total)
  • Author
    Search Results
  • #184023
    r-a-y
    Keymaster

    If you’re not using the Friends component, why not disable it under the BuddyPress components menu?

    Configure BuddyPress

    Uncheck “Friend Connections” and save.

    If you’re using the wp_bp_friends table in weird ways. Disable the friends component and create your own custom component plugin referencing this table. You should really have created a new table and namespaced it differently to avoid these issues you’re running into.

    You could also try removing the button:
    remove_action( 'bp_member_header_actions', 'bp_add_friend_button', 5 );

    This would need to be called before the page loads.

    #184022

    In reply to: Ning Import

    @mercime
    Participant

    @doodledogcody as of now, there’s only a premium plugin https://premium.wpmudev.org/project/ning-to-buddypress-user-importer/ that does Ning to BP import.

    #184007
    saturdaysound
    Participant

    @shanebp

    Thanks for that! It’s doing something different now, but not what I need unfortunately.

    What is happening now is that the Title and Content are the only thing on the page, there is no other content… not my page header, not the Buddypress profile page, nothing at all.

    Here’s the new code.

    function profile_tab_favourites() {
          global $bp;
     
          bp_core_new_nav_item( array( 
                'name' => 'Favourites', 
                'slug' => 'favourites', 
                'screen_function' => 'favourites_screen', 
                'position' => 40,
          ) );
    }
    add_action( 'bp_setup_nav', 'profile_tab_favourites' );
     
     
    function favourites_screen() {
        //add title and content here - last is to call the members plugin.php template
        add_action( 'bp_template_title', 'favourites_title' );
        add_action( 'bp_template_content', 'favourites_content' );
        bp_core_load_template( 'buddypress/members/single/plugins' );
    }
    function favourites_title() {
        echo 'Title';
    }
    
    function favourites_content() { 
        echo 'Content';
    }

    -NOTE: my buddypress templates are all inside a directory called “buddypress” on root, hence the “buddypress/members/single/plugins” not “members/single/plugins”.

    Any known reason for this behaviour?

    #184006
    danbp
    Participant
    #184005
    shanebp
    Moderator

    Try changing this:

    bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘buddypress/members/single/plugins’ ) );
    

    To this:

    bp_core_load_template( 'members/single/plugins' );

    #184003
    danbp
    Participant

    This filter will remove any members count everywhere. Goes into bp-custom.php or theme’s functions.php

    add_filter ('bp_get_total_member_count', '__return_false');

    Now you see a count with zero. But this count is hardcoded in a span. So you can hide this with css:

    #activity-all span, 
    #members-all span{
    	display:none;	
    }

    See html/css details in index.php of each folder in bp-templates/bp-legacy/buddypress/

    #183994
    ariane1001
    Participant

    Hi, it was the theme. after updating it everything worked again.

    If you look for information about updating you find an old post that says you have to deactivate buddypress before updating. But when you do that, and your theme is using parts of buddypress this will nog work and give the white screen.
    It would be nice if the info would be more up to date.

    Mathieu Viet
    Moderator

    Hi,

    Depending on the theme you use (regular WordPress theme, BP Default or a child of it, or a standalone BuddyPress theme), you can override some templates to achieve your goal.

    Have a look at the codex starting with this page : https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/

    If it’s a regular WordPress theme, then you can can add a buddypress folder in it and copy these templates into it respecting the ‘tree’ :
    bp-templates/bp-legacy/buddypress/activity/index.php
    bp-templates/bp-legacy/buddypress/members/single/activity.php

    Once done, you should have :
    yourthemefolder/buddypress/activity/index.php
    yourthemefolder/buddypress/members/single/activity.php

    Then into these two files search for bp_get_template_part( 'activity/post-form' ); and you should see a line above an if statement containing is_user_logged_in().... Replace is_user_logged_in() by bp_current_user_can( 'theminimumcapability' )

    where theminimumcapability is the the role capability you’re targeting. See the WordPress codex to define it : https://codex.wordpress.org/Roles_and_Capabilities

    #183986
    Mathieu Viet
    Moderator

    Hi,

    You can use the Group Extension API to build your own group area : https://codex.buddypress.org/developer/group-extension-api/

    #183977
    Chris Perryman
    Participant

    Just wanted to follow up…we did come up with a solution for this in case any one else is looking for it.

    Full details are now on my blog at Revelation Concept.

    function rc_buddypress_profile_update( $user_id ) { 
     
         $admin_email = "YOUR-EMAIL@DOMAIN.COM";
         $message = sprintf( __( 'Member: %1$s', 'buddypress' ), bp_core_get_user_displayname( $user_id ) ) . "\r\n\r\n"; 
         $message .= sprintf( __( 'Color: %s' ), bp_get_profile_field_data('field=Color') ). "\r\n\r\n";
         wp_mail( $admin_email, sprintf( __( '[YOUR SITE] Member Profile Update' ), get_option('blogname') ), $message );
     }
     
     add_action( 'xprofile_updated_profile', 'rc_buddypress_profile_update', 10, 5 );
    paton400
    Participant

    Now we are talking very basic WordPressing here.

    Go to the appearance/menus screen and from there it’s pretty self explanatory.

    click on ‘Create a new menu’, call it whatever you want, then select what pages you would like to appear in the menu.

    Underneath the list of WordPress pages you see a tab full of Buddypress options that can also appear in the menu, one of which is the log-in/log-out button.

    Regards

    paton400
    Participant

    You need to add it to one of your menus or as a widget.

    Go to appearance/menus – then you can select a range of Buddypress options to add to your nav bar for both logged in or logged out users. Click the Buddypress tab (below the pages tab). If you don’t have a nav bar then create a new one.

    Otherwise appearance/widgets – and place the login widget somewhere!

    Regards

    #183953
    danbp
    Participant

    Anyway an image says more as words (in our case).

    Check if this plugin can help you:
    https://wordpress.org/plugins/buddypress-profile-tabs/

    #183942
    dromy
    Participant

    Thank you for the quick response.

    when adding groups and more fields the groups and fields are displayed on the member page as a table.
    I would like to create a tabs display to the member information (my created fields and group) when each group of (ex.wp-widget base) div\table is displayed on a different tab.

    hope I am clear.
    on the admin or edit cases I do not want to touch for now. This relate only for the view buddypress member profile as a member or as anonymous.

    (and sorry, I meant how on topic and not hot)

    #183939
    danbp
    Participant

    On xprofile component, the default field group is called Name and contains only one field who will contain the username. This group is already tabed on a profile page and is the only group field who appears on the register page.

    Now, on the xprofile admin you can add as many fields and group fields you want, and you can set each field to different visibility.
    These new field can be grouped and each group you create will automatically be tabed on a profile page.

    https://codex.buddypress.org/buddypress-components-and-features/extended-profiles/

    If you mean showing groups on the profile, this also made automatically by BP. On each profile, you have (if exist) the groups the member belongs to.

    If all this is not what you mean, be more explicit 😉

    danbp
    Participant

    In your first topic you asked: It is possible to turn off this notification?

    Yes it is, and the solution is in the first link. The other link is given as reference to the code, who is in a core file. Such core files should never been modified directly.

    You need to study a bit WP and BP codex to understand how to achieve this, and learn a bit more about buddypress customization. You are also free to hire a developer by posting at http://jobs.wordpress.net/ or somewhere else.

    One easy way to begin is to search and read this forum first i guess.

    #183936
    danbp
    Participant

    hi @jjjaay9,

    BuddyPress (BP) is a community plugin (a bundle of 8 distinct components and many other features) for WordPress. These components are all optionnal, but in any case, publishing is the territory of WordPress.
    If you want to allow front-end publishing for your users, to avoid them going directly into the admin, search some plugin on the WP plugin repo or use a theme who provide such facility.

    For example consider the theme P2, it probably contains anything you listed. (so far i remember)

    User guide is here.

    #183934
    jjjaay9
    Participant

    i found some plugins that MAY do this: answer/questions

    The Top 6 Question and Answer WordPress Plugins

    However, if I used these plugins, how easy do they integrate with buddypress?
    Can I customize to show these pages, and for users to have a default link to ‘create a question’ ?

    I mean, if they have ‘create post’ like a normal wordpress blog, then buying/using a question/answer plugin is kinda useless as most wont be able to find the link to it – and will automatically create a post instead.
    Also, how would i know if it looks good or this plugin will integrate with BP?

    For example, would it show up as a sidebar saying recent questions like recent posts etc?

    Otherwise if it doesn’t integrate with BP then there’s no point using BP if it has a question and answer section that acts normally as wordpress anyway.

    If so, what are teh benefits of using BP AND a question/answer plugin?
    one eg i think of is, users can private message eachotehr when someone posts a question

    Thanks

    #183925
    Kaisar Andreti
    Participant

    hi mercime,
    I Activated Buddypress network-wide

    #183923
    echiomega
    Participant
    #183924
    echiomega
    Participant
    fortunebuildersnb
    Participant

    Nevermind, the documentation was referring to the wrong function on this page,

    Blogs Loop

    So I just changed it…

    #183914
    danbp
    Participant

    Group exclusion doesn’t work on a single install for the moment (only on MS).
    More advice on this here:
    https://buddypress.trac.wordpress.org/ticket/5650

    #183911
    danbp
    Participant

    Hi @paton400,

    give this a try. You can the function to your child-theme’s functions.php or into bp-custom.php

    //Remove Buddypress members search 
    function bpfr_remove_member_search_form( $search_form_html){
        return '';
    }
    add_filter('bp_directory_members_search_form', 'bpfr_remove_member_search_form'  );
    #183908
    Hope
    Participant
Viewing 25 results - 16,501 through 16,525 (of 69,016 total)
Skip to toolbar