BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 24755
    Brajesh Singh on in reply to: [Resolved] Activity Stream On Profile #1504

    Thank you. I am glad it is all good now 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 24755
    Brajesh Singh on in reply to: Trying to improve the Group home page #1499

    Hi George,
    If you got the fatal error, most probably you have forums component disabled.

    If you haven’t installed bbPress yet, please install the bbPress plugin. After that visit BuddyPress settings and enable forums component.
    After that code should work fine.

    To include the post form, we can just add another snippet like this

    
    <?php if ( is_user_logged_in() && bp_group_is_member() ) : ?>
    
    	<?php bp_get_template_part( 'activity/post-form' ); ?>
    
    <?php endif; ?>
    
    

    And that will include the the post form. Hope that helps.

    Please do let me know how it goes with you.

  • Keymaster
    (BuddyDev Team)
    Posts: 24755
    Brajesh Singh on in reply to: Trying to improve the Group home page #1497

    Hi George,
    Have you upgraded to BuddyPress 2.4, if yer, there are some good news.

    In BuddyPress 2.4 you can have custom home page for all groups by using a custom template file front.php

    More details here
    https://bpdevel.wordpress.com/2015/10/03/get-ready-2-4-0-will-introduce-important-changes-in-groups-homes/

    Once you have got front.php, It is all about including the loops.

    Use

    
    <?php bp_get_template_part( 'forums/forums-loop' ) ?>
    
    <?php bp_get_template_part( 'activity/activity-loop' ) ?>
    

    and so on to include the latest content from these. The only concern is these loops will generate 20 items and not 10.

    There is a filter on bp_ajax_querystring that we can use to limit the result to 10. But first, can you please give the above a try and see if it works for you or not?

    PS: A widget for MediaPress recent photos/galleries as slider will come. I am a little bit busy with our upcoming theme next week and blog categories plugin, that’s why things seem a little slower around.

  • Keymaster
    (BuddyDev Team)
    Posts: 24755

    Thank you for updating. I am happy it is resolved now 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 24755
    Brajesh Singh on in reply to: [Resolved] Activity Stream On Profile #1493

    Hi Joshua,
    Thank you for asking.
    In your custom activity page, at the top, check if you have a code like this

    
    <?php bp_get_template_part( 'activity/post-form' ); ?>
    

    If you have it, please put it inside an if block like this

    
    	<?php if ( is_user_logged_in() ) : ?>
    
    		<?php bp_get_template_part( 'activity/post-form' ); ?>
    
    	<?php endif; ?>
    
    

    That will do it.
    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 24755
    Brajesh Singh on in reply to: [Resolved] Blog categories #1486

    Thank you.

    Putting in child theme’s functions.php should work fine too. Any chance you are on multisite and that child theme is not being used on your current site?

  • Keymaster
    (BuddyDev Team)
    Posts: 24755
    Brajesh Singh on in reply to: Mediapress Parent & Child sub galleries? #1482

    Thank you so much 🙂
    Please do let me know if you need any assistance with BuddyPress. Will be happy to assist.

  • Keymaster
    (BuddyDev Team)
    Posts: 24755
    Brajesh Singh on in reply to: [Resolved] Blog categories #1481

    Hi,
    Here is the code

    
    
    add_filter( 'buddyblog_post_form_settings', 'buddyblog_show_custom_cats', 100 );
    
    function buddyblog_show_custom_cats( $settings ) {
    	$tax = array();
    	 
    	$tax['category'] = array(
    
    		'taxonomy'		=> 'category',
    		'view_type'		=> 'checkbox',
    		'include'		=> array( 1, 35,97 ), //CHANGE It with the correct IDs,
    		'orderby'		=> 'slug',
    		'order'			=> 'ASC'
    	);
    	
    	$settings['tax'] = $tax;
    	
    	return $settings;
    }
    

    Please change ids to your allowed categories and It will only list them.
    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 24755

    Hi Brayden,
    I am glad it is resolved. The plugin will not allow others to see your anonymous post but only th user who posted it can see that(We did it on purpose to allow the user to later edit/delete those activities).

    Thank you for marking it resolved. Closing the topic now.

    Regards
    Brajes

  • Keymaster
    (BuddyDev Team)
    Posts: 24755
    Brajesh Singh on in reply to: Mediapress Parent & Child sub galleries? #1477

    Hi Chelle,
    Welcome to BuddyDev and thank you for joining Premium membership.
    I appreciate your support.

    Currently, there is no child galleries but in future I do have plan to introduce album feature(for WordPress galleries, that will make it possible).
    Thank you so much for your kind words. I appreciate it and It is always nice to know that my worked helped even a little bit 🙂

    Thank you
    Brajesh