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: 25486
    Brajesh Singh on in reply to: Buddyblog assign different author to specific form id #41718

    Hi Tosin,
    Thank you.

    Currently, only one visible form is possible with a post type, you can have different forms with different post type. The reason is we do not store the publishing capability with the form. It is stored with Tabs and the shortcode is for tab form.

    We are working on a generic WordPress posting solution with BuddyBlog Pro where we will store who can publish/edit with the form. That will allow us to have multiple forms with same post type.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: buddyblog pro: share to friends only? #41717

    Hi,
    Thank you for the question.

    1. BuddyBlog does not allow setting privacy for posts.

    I have no idea about how the mycred addon works but if that limits access to the profile, then you can use it in conjunction with that. In that case, I will recommend using a private post type for the user generated content. That will make the posts visible only on user profile and not in the default archive page.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: Buddyblog assign different author to specific form id #41709

    Hi Tosin,
    I am sorry for the delayed reply.

    The following code will work with next release of BuddyBlog Pro

    
    
    /**
     * Update BuddyBlog Author when a post is submitted.
     */
    add_filter( 'bblpro_post_submission_prepared_data', function ( $post_data, $form_id, $post, $is_submission ) {
    
    	// update author if the form was submitted. Don't do anything on edit.
    	if ( $is_submission && 37232 === (int) $form_id ) {
    		$post_data['post_author'] = 3728;
    		// keep current user data for future?
    		if ( ! empty( $post_data['ID'] ) ) {
    			update_post_meta( $post_data['ID'], '_bbl_original_post_author', get_current_user_id() );
    		}
    	}
    
    	return $post_data;
    }, 10, 4 );
    

    We are changing the post author when the post is submitted(for review or published).

    You can put it in your bp-custom.php and when you upgrade to next version of BuddyBlog Pro(This Friday), It will work.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi,
    Ravi delegated this to me and I had a look today.

    This is a bug in BuddyPress and we are going to raise a ticket for the same.

    There are 2 bugs which is causing it(These bugs were introduced in 9.0 when the WordPress field mapping was added).

    1. On the “xprofile_updated_profile” action, the WordPress fields(Bio/description) are not updated by BuddyPress. This is a bug
    2. BuddyPress does not clear cache for WordPress mapped profile filed(description) even after update/

    There is not much we can do as there is no hook available for us after ‘xprofile_updated_profile’.

    For the time being, I will suggest using a multiline text field instead of the WordPress bio and when BuddyPress fixes it(hopefully in 10.0), you can use the Bio field again.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: Changing Style of the Settings #41685

    Hi Khalid,
    Thank you for the patience.

    1. I have updated the markup to match BuddyBoss’s. Please check.

    2. Does BuddyBoss allows you to change the position of the sub navs of account? I don’t see that anywhere.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Cromacio,
    I am sorry, I could not check the hooks available with your theme. I will do it sometimes today and assist you with the code.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi,
    I am sorry, there is no proper solution currently. We will make sure to either provide one or add compatibility to one of the existing solutions by the end of this year.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi,
    In addition to what Ravi said, Can you please confirm that the shortcode works in your normal page?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: Changing Style of the Settings #41663

    Hi Khalid,
    Thank you for the update.

    I am sorry for the lack of support here. Please allow me to put an update by Monday.

    Thank you
    Brajesh