Replies
- Brajesh Singh on November 14, 2015 at 9:30 am in reply to: [Resolved] Activity Stream On Profile #1504
Thank you. I am glad it is all good now 🙂
- Brajesh Singh on November 13, 2015 at 11:22 am 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.
- Brajesh Singh on November 13, 2015 at 3:31 am 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.
- Brajesh Singh on November 12, 2015 at 5:10 am in reply to: [Resolved] Hidden Group/BB Press Forum Activity Posted #1494
Thank you for updating. I am happy it is resolved now 🙂
- Brajesh Singh on November 12, 2015 at 5:09 am 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. 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?
- Brajesh Singh on November 11, 2015 at 3:12 am 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. Hi,
Here is the codeadd_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.- Brajesh Singh on November 11, 2015 at 2:52 am in reply to: [Resolved] Buddypress Anonymous Plugin Quick Question #1478
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 - Brajesh Singh on November 11, 2015 at 2:49 am 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