Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 14,401 through 14,425 (of 69,016 total)
  • Author
    Search Results
  • #232805
    Henry Wright
    Moderator

    Hi @socialbttrfly

    a) Not ‘out-of-the-box’ but through either plugins or custom code snippets then this can be done.

    b) Try the BP Jobs Board. We request that you post your requirements and leave your contact details so that developers can contact you.

    #232804
    shanebp
    Moderator

    Try it in bp-custom.php

    #232803

    In reply to: Pagination no-ajax bug

    r-a-y
    Keymaster

    This should be fixed when BuddyPress 2.2 is out:
    https://buddypress.trac.wordpress.org/ticket/5967

    If you have a testing environment, you can test out 2.2-beta 2:

    BuddyPress 2.2 – Beta 2

    mcpeanut
    Participant

    @r-a-y Please read this ray, This also happens on twenty fifteen default theme, After trying numerous ways to try and troubleshoot this myself i have had no luck, and according to the moderators on Atahualpa forums due to my post there, they have spent hours figuring out the cause and have narrowed it down to a buddypress bug, one of the moderators has opened a bug ticket here https://buddypress.trac.wordpress.org/ticket/6153

    #232799

    In reply to: Pagination in Activity

    r-a-y
    Keymaster

    The following codex page provides an example of how to change the activity pagination to a custom number:

    Using bp_parse_args() to filter BuddyPress template loops

    #232797
    Henry Wright
    Moderator

    Going back to this, the following hook can’t be firing.

    do_action( 'newsbaby_after_insert_post', $post_id );

    If this fired, then the valuser_add_new_post_activity() function would execute and that would result in an activity item being created.

    @mercime
    Participant

    @giuseppecuttone no, you do not need to donate any money to get responses – as you know by now. Please be aware that we are all volunteers living in different time zones.

    Please start a new topic if you have questions relating to BuddyPress. Closing this topic. Thanks.

    #232787
    Henry Wright
    Moderator

    Right, I’m with you.

    After this line in the plugin

    echo 'Shared successfully to your Home Place with tags: '.$tags;

    Can you add this?

    do_action( 'newsbaby_after_insert_post', $post_id );

    Then change my code you added to functions.php to:

    function valuser_add_new_post_activity( $post_id ) {
        $post = get_post( $post_id );
        $user = get_userdata( $post->post_author );
    
        $args = array(
            'user_id' => $post->post_author,
            'action' => $user->user_login . ' published ' . $post->post_title,
            'component' => buddypress()->blogs->id,
            'type' => 'new_blog_post',
            'item_id' => get_current_blog_id(),
            'secondary_item_id' => $post->ID,
            'recorded_time' => bp_core_current_time(),
            'hide_sitewide' => false
        );
        bp_activity_add( $args );
    }
    add_action( 'newsbaby_after_insert_post', 'valuser_add_new_post_activity' );

    That should do it 🙂

    #232780
    Henry Wright
    Moderator

    Try adding this to your theme’s functions.php file:

    function valuser_add_new_post_activity( $ID, $post ) {
    
        $user = get_userdata( $post->post_author );
    
        $args = array(
            'user_id' => $post->post_author,
            'action' => $user->user_login . ' published ' . $post->post_title,
            'component' => buddypress()->blogs->id,
            'type' => 'new_blog_post',
            'item_id' => get_current_blog_id(),
            'secondary_item_id' => $post->ID,
            'recorded_time' => bp_core_current_time(),
            'hide_sitewide' => false
        );
        bp_activity_add( $args );
    }
    add_action( 'publish_post', 'valuser_add_new_post_activity', 10, 2 );

    That’s how I’d add new blog posts to the activity stream. I’ve hooked bp_activity_add() to the published_post action which will fire each time a new post is added to the database.

    Please note I haven’t tested.

    #232779
    dallass
    Participant

    So this is not built in with BuddyPress ?

    #232768
    danbp
    Participant

    Mentionning your site URL will help : http://loonao.com/
    Your theme is SweetDate (premium theme has bp support)

    Which plugin do you use for your custom search form ? You’ll probably have to ask on author’s support, as this is probably not a issue related to BuddyPress.

    #232762
    patlol
    Participant

    I forget the environment!!!

    On my wordpress 4.1 i have:

    On site:

    bbPress par The bbPress Community version 2.5.4,
    Beautiful taxonomy filter par Jonathan de Jong version 1.1.4.2,
    BP Profile Search par Andrea Tarantini version 4.0.3,
    rtMedia for WordPress, BuddyPress and bbPress par rtCamp version 3.7.29,
    BuddyPress par The BuddyPress Community version 2.1.1,
    Petites annonces par WPMU DEV version 2.3.6.4,
    Debug Bar Actions and Filters Addon par Subharanjan version 1.4.1,
    Debug Bar Custom Info par FitWP version 1.0.2,
    Debug Bar Roles and Capabilities par Matthew Boynes version 0.1.1,
    Debug Bar Shortcodes par Juliette Reinders Folmer version 1.0.3,
    Debug Bar par wordpressdotorg version 0.8.2,
    Enable Media Replace par MÃ¥ns Jonasson version 3.0.1,
    Events + par WPMU DEV version 1.8,
    Live Stream Widget par Paul Menard (Incsub) version 1.0.4.3,
    MarketPress par WPMU DEV version 2.9.6,
    Revolution Slider par ThemePunch version 4.6.0,
    WordPress Chat par WPMU DEV version 2.0.8.8,
    WordPress Console par Jerod Santo version 0.3.9,
    WP Job Manager – Applications par Mike Jolley version 1.5.2,
    WP Job Manager – Indeed Integration par Mike Jolley version 2.0.17,
    WP Job Manager par Mike Jolley version 1.19.0,
    WP Job Manager – Job Styles par Tiny Giant Studios version 1.0.3

    On network:

    Easy Bloging
    Mass Email Sender
    Multisite Theme Manager
    New Blog Templetes
    Remove Email Verificaton
    Site Wip Text Change
    User Switching
    Importateur wordpress
    SEO WordPress
    WPMU Dashboard

    #232752
    youmin
    Participant

    I did not got what ur question is clearly. You installed bbpress and buddypress . I will suggest you to be clear on problem.

    #232742
    eVersatile
    Participant

    That line didn’t work either.
    I’ve tried on a clean install also, I receive the same results.
    I’m wondering if there must be some other function since it’s buddypress integrating with bbpress.

    #232734

    In reply to: Auto Join Groups

    modemlooper
    Moderator
    modemlooper
    Moderator

    the way to do it is to get letter clicked, access db and collect user ID’s and then filter the loop with those IDs

    BP_User_Query

    #232730

    In reply to: Please help!

    modemlooper
    Moderator

    Sounds like front end submission might help https://wordpress.org/plugins/frontend-uploader/

    Not sure that plugin would work. Its that or a custom BuddyPress component. https://codex.buddypress.org/plugindev/creating-a-custom-buddypress-component/

    screampuff
    Participant

    Thanks for the reply. I made some changes to the code before reading and was able to accomplish removing the tab from buddypress profiles with this:

    function hide_achievements_from_users() {
    global $bp;
    if ((bp_loggedin_user_id() == bp_displayed_user_id()) || (current_user_can('administrator'))){
    return;
    }
    bp_core_remove_nav_item('achievements');
    }
    add_action( 'bp_setup_nav', 'hide_achievements_from_users', 99 );

    However I’m stuck on how to 404 the pages if they manually type out the URL

    In your code I see:

        // I guess we should 404 this page because this member isn't an admin or the displayed member.
        $wp_query->set_404();
        status_header( 404 );
        nocache_headers();

    How do I get this to apply only when it is http://mysite.com/members/<username>/achievements?

    #232721
    youmin
    Participant

    yes it wont do any thing, but devs love to play with codes to a new idea lets see what happens. i have raised a ticket .

    https://buddypress.trac.wordpress.org/ticket/6154#ticket

    thanks shanebp its working perfect

    #232718
    shanebp
    Moderator

    The 3rd parameter won’t do anything.

    To display the member type:
    Create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\single\member-header.php
    and add this where you want it:

    $member_type = bp_get_member_type( bp_displayed_user_id() );
    echo $member_type;

    Codex page.

    Milutin
    Participant

    Yes – I set in Settings that anyone can register, and also created Register page and associated it with BP register page through Settings->BuddyPress->Pages.

    I don’t know what can be the issue.

    r-a-y
    Keymaster

    For the actual overriding of the page title and meta tags, you’ll need, hook into 'wp_head' action and write your tags for meta. For page title, you’ll need to override the 'wp_title' or 'wp_title_parts' filter.

    If you need frontend management, I would probably write the SEO data into the groupmeta DB table. Write a group extension plugin so a group admin can input the title and meta description.

    Group extension codex article is here:

    Group Extension API

    Tie the two together and you should be able to accomplish what you want.

    r-a-y
    Keymaster

    Does the registration page work when you switched your theme? (I’m not concerned about menus as that is independent from this issue.)

    Do you have registration enabled?

    Register and Activation Pages

    #232712
    r-a-y
    Keymaster

    Roles are independent from BP member types.

    As per the codex article, adding a ‘role’ parameter to your bp_register_member_type() call will not do anything:

    Member Types

    If you have concerns about this, I would suggest you raise a ticket if you want to tie roles to member types:
    https://trac.buddypress.org/newticket

    Use the same credentials you use here on buddypress.org.

    Henry Wright
    Moderator

    Hi @rudik123

    Just to make you aware, BuddyPress developers add new features to BP core only if that particular feature will benefit the entire community. So even if you offer $1,000s, the feature request may get rejected. That doesn’t mean to say the door is closed and that’s where plugins come in. Many people choose to hire a developer to create some functionality they need ‘as a plugin’.

    There’s an Ideas forum already available which lets you submit ideas for plugins etc. You could potentially find some like-minded users on there, group together to contact a developer, and request something be built:

    Useful links:

    Ideas

    BP Jobs Board

Viewing 25 results - 14,401 through 14,425 (of 69,016 total)
Skip to toolbar