Replies
Thank you Ben.
You already realized it. I will also suggest completely avoiding pre_get_posts as it will have side effect.It will better to directly modify the template in this case. If you still want to use pre_get_posts, I suggest pairing it with the following conditions
if ( function_exists( 'bp_is_buddyblog_component' ) && bp_is_buddyblog_component() ) { }Regards
Brajesh- Brajesh Singh on February 10, 2017 at 6:37 am in reply to: None gallery Images are not showing in main Activity stream #7296
Hi Lynn,
Please visit Dashboard->MediaPress->Tools and post me the details. That will help me greatly understanding the issue.Thank you
Brajesh - Brajesh Singh on February 10, 2017 at 6:14 am in reply to: Blurred images in the Activity stream #7295
Please do let me know when you have the details.
- Brajesh Singh on February 10, 2017 at 6:06 am in reply to: [Resolved] How to get notification for new topic added in subscribed forum (bbpress) #7292
You are welcome!
- Brajesh Singh on February 10, 2017 at 5:38 am in reply to: [Resolved] How to get notification for new topic added in subscribed forum (bbpress) #7289
Sorry about that. I was cleaning before update and I had used it for somereason instead of the correct one(bpp_get_topic_permalink).
Please re download it. I have pushed the change.
Thank you
Brajesh Hi Ben,
I am sorry. I am, looking at it now., will get back to you soon there.- Brajesh Singh on February 10, 2017 at 4:44 am in reply to: Displaying title and user on shortcode pages #7286
Hi,
Please use the code from here/** * Display the name of the creator of the gallery below gallery cover * */ function mpp_custom_display_gallery_owner_name() { $gallery = mpp_get_gallery(); if ( ! $gallery ) { return ; } printf( 'by: %s', bp_core_get_userlink( $gallery->user_id ) ); } add_action( 'mpp_gallery_shortcode_item_meta', 'mpp_custom_display_gallery_owner_name' );For other cases, you may take a look at the code here
https://gist.github.com/sbrajesh/b47b84c3fdca9b76f04e696894a80d06We will be pushing the changed code(sorry, we missed the last deadline), hopefully this sunday too.
Thank you. We will keep you informed.Regards
Brajesh Thank you Graham.
I took the opportunity to sort out our grids(We had issues with grids control on different layout and various places).Will release the first major update tomorrow(Saturday).
Also, since the very first time you had mentioned for changes log, I have always kept(and updated) it on our theme release history page.https://buddydev.com/docs/guides/community-builder/miscellaneous/community-builder-releases/
Thank you
Brajesh- Brajesh Singh on February 10, 2017 at 4:23 am in reply to: [Resolved] How to get notification for new topic added in subscribed forum (bbpress) #7284
Hi,
I have created a small plugin for you(It does not handle topic deletion yet)
https://github.com/buddydev/bbp-bp-notify-new-topicPlease use the plugin and it will work as expected.
Hope that helps.
Regards
Brajesh Hi Ben,
Thank you for posting.
Since BuddyBlog utilises WP_Query for listing posts, you can use the orderby=rand for randomizing the posts list.Please see all the orderby options here
https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters
Hope that helps.
Regards
Brajesh