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: 25384
    Brajesh Singh on in reply to: [Resolved] Shortcode “Not Allowed” #41727

    Hi Bob,
    If you have done the above step(Page selection in the Posts tab ) and used the shortcode on the same page, Please visit that setting again and check which user roles are allowed to create the post. Is it set for the role you are checking with.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: [Resolved] Shortcode “Not Allowed” #41724

    Hi Bob,
    Welcome to BuddyDev support forums.
    Thank you for purchasing the membership.

    in order to use shortcode, Please visit Dashboard->BuddyBlog->Settings and click on the “Post” tab.

    In the create section, Please select the page and save. Now, the page can be used for creating posts.

    Please let me know if it works or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    You are welcome.

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    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: 25384
    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: 25384
    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: 25384

    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: 25384
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    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