Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

  • Leland
    Participant

    @northcreatif

    you place that in your functions.php file in the child theme directory.


    Leland
    Participant

    @northcreatif

    I be happy to sponsor someone who could add this function to Forum Attachment Plugin which currently does a good job with forum post attachments but doesn’t display anything in the activity stream. I need this badly.


    Leland
    Participant

    @northcreatif

    bump.


    Leland
    Participant

    @northcreatif

    What can I do make sure the xprofile data gets updated when register new users in WP? I am using a standard WP install and the most up to date BP install. I am using the mass user registration plugin to generate WP users – it fills in a username, first name, last name, etc. but all standard wp_usermeta values (nothing custom). I need to make sure that when a user is registered it also copies that data to the xprofile. I think John Jacoby wrote a plugin for that at one time in Jan but his download no longer works. Any help greatly appreciated. Thank you.

    I might be able to sponsor some help if that is required.


    Leland
    Participant

    @northcreatif

    Apparently I cant figure out how to comment the “code” lol. It’s all there.


    Leland
    Participant

    @northcreatif

    Okay I have pieced it together – Here we are.

    Place the following code in your child-theme functions file:

    function announce_group_by_default( $query_string ) {
    global $bp;
    if ( !$query_string )
    $query_string = '';
    if ( ($bp->current_component == BP_ACTIVITY_SLUG || !$bp->current_component) ) {
    if ( strpos( $query_string, 'action' ) == 0 )
    $query_string .= '&type=activity_update&object=groups&primary_id=2';
    }
    return $query_string;
    }
    add_filter( 'bp_dtheme_ajax_querystring', 'announce_group_by_default' );


    Leland
    Participant

    @northcreatif

    Or filter by a specific user (ie admin) for use as an announcements page.


    Leland
    Participant

    @northcreatif

    Can I sponsor this development or get some help updating this plugin for bp 1.2. I could really use this working. Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
Skip to toolbar