Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] BuddyPress Group Type Generator #26221

    Thank you Hans.
    All the best with the presentation 🙂

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] BuddyPress Group Type Generator #26219

    Hi Hans,
    Thank you.

    I intentionally did not add the count as it is not efficient for group types (There is no direct function to get count).

    I will suggest avoiding the count for now.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] BuddyPress Group Type Generator #26217

    Hi Hans,
    Please use this code in your bp-custom.php

    
    
    add_filter( 'bp_nouveau_get_groups_directory_nav_items', function ( $nav_items ) {
    
    	$group_types = bp_groups_get_group_types( array(), 'objects' );
    	$pos         = 25;
    	foreach ( $group_types as $group_type => $details ) {
    		if ( ! $details->has_directory ) {
    			continue;
    		}
    		$nav_items[ 'group-type-' . $group_type ] = array(
    			'component' => 'groups',
    			'slug'      => 'group-type-' . $group_type,
    			'li_class'  => array( 'no-ajax', 'group-type-' . $group_type ),
    			'link'      => bp_get_group_type_directory_permalink( $group_type ),
    			'text'      => $details->labels['name'],
    			'count'     => false,
    			'position'  => $pos,
    		);
    		$pos + 10;
    	}
    
    	return $nav_items;
    } );
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Buddyblog is brilliant! #26215

    Hi Mike, Richard
    Thank you. Both of you.

    First of all let me tell you the current state of BuddyBlog.
    1. We have added support for multiple post types
    2. Multiple user tabs can be created with different post types
    3. You can create a custom post form in the backend for each of the post type. Yes, custom fields can be defined in the backend form creation page.
    4. Drafts for a post will be supported(not yet implemented).

    This is currently under heavy developement. We will be releasing a polished version with our theme in the end of december or early january.

    Now, about the questions.

    1. you can do that by overriding the buddyblog/edit.php in your theme. Copy it form plugin/buddyblog/template/buddyblog/edit.php and move to yourtheme/buddyblog/edit.php and add the help.

    2. If you are using multisite, you may be able to add it in Networkadmin->Settings(file type).

    3. Not yet. It will be part of the upcoming release(where you can create forms).

    4. This can be accomplished by use of category or custom taxonomy. Also, you ca always differentiaxe buddyblog post from normal post due to use of a meta key.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    You are welcome.

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Frank,
    I am not sure of the purpose.

    My suggestion will be to ask the wpuf developer on how to check for the subscription package.

    That will solve your issue.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Please check with your theme author.

    BuddyPress comes with 2 password boxes now.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: FB like notification for buddypress #26210

    Hi Tosin,
    At the moment, I am unable to assist you with this. I may be able to help you in next 2-3 weeks.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Gregg,
    is your php error gone? The version number inconsistency is there in the source code. Please consider the version specified in plugin header as the authentic one.

    The source code/settings panel version will be updated in next release.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] Group name of field #26202

    Thank you for sharing.

    you have not specified the value of $current_profile_group_id and that’s why you are not getting the desired result. you must specify a group id.

    Regards
    Brajesh