BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 24722

    Hi Jan, Closing this topic for now. If you find any issue or have suggestions, please do open new topic.
    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24722

    Hi Kent,
    Did BuddyBlog work for you or not? I will appreciate your feedback.

  • Keymaster
    (BuddyDev Team)
    Posts: 24722
    Brajesh Singh on in reply to: [Resolved] BuddyPress Activity Shortcode Load More #720

    Lie is a strong word and delay happens sometimes due to other priorities. So, connecting delay with lie is not something I like. In all my comments, all I said was I will look into that and so I did, my mistake I should have replied back and told you that there will be a delayed fix.

    Anyway, Let us not fight over that as you have selected a different solution. All the best with your project.

  • Keymaster
    (BuddyDev Team)
    Posts: 24722
    Brajesh Singh on in reply to: Custom fields on user post #718

    Hi Irne,
    i haven’t used types plugin, so Can’t say much about that. Can you please try this code instead.

    
    
    <h4> Price: <?php echo get_post_meta( get_the_ID(), 'show-price', true ); ?> EURO </h4>
    
    

    Does that work?

  • Keymaster
    (BuddyDev Team)
    Posts: 24722
    Brajesh Singh on in reply to: [Resolved] BuddyPress Activity Shortcode Load More #717

    First, I missed your post here again because of other ongoing threads. There was an easy fix, after seeing your message I pushed that to github today.
    https://github.com/sbrajesh/bp-activity-shortcode/commit/da2692368eb75ef434b8ccf67f1cd9268b443165
    Here is the plugin download
    https://buddydev.com/plugins/bp-activity-shortcode/

    Second, you don’t have to trust my code, I know what I write and I hold a graduate degree in software engineering with more than 8 years of experience, so I don’t need your recognition for my programming ability.

    Just wanted to clarify about your other misleading comment, As I checked, this pluigin was listed to have support package available. No, you are not required to buy it but don’t give an impression that you wanted to.

    Time is very important, and I may not be able to handle all the free requests we have been getting here, Our paid members are priority and they will remain so. I will keep investing some time in supporting free members, but there is no guarantee on free support.

    So, if you are looking for free support, you are most welcome, I will do my best to provide support, but there is no guarantee or time frame.

  • Keymaster
    (BuddyDev Team)
    Posts: 24722
    Brajesh Singh on in reply to: Custom fields on user post #714

    Hi Irene,
    Are you referring to the edit form display or display on single post page? Also, are you letting the single post to be displayed on profile on their own individual normal pages.

  • Keymaster
    (BuddyDev Team)
    Posts: 24722
    Brajesh Singh on in reply to: Custom fields on user post #711

    You can put the code in your theme’s functions.php or bp-custom.php inside the plugin directory.

    The code should be

    
    
    add_filter( 'buddyblog_post_form_settings', 'buddydev_custom_buddyblog_settings' );
    
    function buddydev_custom_buddyblog_settings( $settings ) {
    
    	$custom_fields = $settings['custom_fields'];
    
    	$custom_fields['testcf'] = array(
    		'type'		=> 'text',
    		'label'		=> 'test custom field text',
    		'default'	=> ""
    	);
    
    	//and repeat
    
    	//then update settings
    
    	$settings['custom_fields'] = $custom_fields;
    
    	return $settings;
    }
    
    

    Hope that helps.

    PS. you can use backticks(`) to post code block here.

  • Keymaster
    (BuddyDev Team)
    Posts: 24722
    Brajesh Singh on in reply to: Custom fields on user post #709

    Hi Irene,
    Welcome to BuddyDev forums.

    No, you don’t need to modify that. Instead you can filter the buddyblog form settings and ask it to disply the form for adding meta.

    You can filter it like this

    
    add_filter( 'buddyblog_post_form_settings', 'buddydev_custom_buddyblog_settings' );
    
    function buddydev_custom_buddyblog_settings( $settings ) {
    	
    	$custom_fields = $settings['custom_fields'];
    	
    	$custom_fields['new_meta_key'] = 	 array(
    					'type'    => 'text',
    					'label'   => '',
    					'default' => ''
    				);
    	
    	//and repeat
    	
    	//then update settings
    	
    	$settings['custom_fields'] = $custom_fields;
    	
    	return $settings;
    }
    
    

    Here is a post that details what meta fields are available

    https://buddydev.com/support/forums/topic/custom-field-in-bp-simple-front-end-post/#post-383

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 24722

    Hi Jan,
    I have got that functionality in addons. A little bit busy with documentation as we need to put a lot of documentation. Will start releasing some of the free addons next week( View Counter, mycred points etc).

  • Keymaster
    (BuddyDev Team)
    Posts: 24722

    Hi Kent,
    Welcome to BuddyDev forums.

    With the current BuddyBlog, you don’t need to write any custom code for using custom post type. Please visit Settings->BuddyBlog settings and then select your custom post type. Click save. After the page reloads, It will show you taxonomy options for that selected post type. please update as you need.

    Hope that helps.

    Thank you
    Brajes