Replies
- Brajesh Singh on November 25, 2022 at 7:53 pm in reply to: Hide the BP type box and MPP on Website Activity Page #47437
Hi Daniel,
do you mean removing the label and the MediaPress buttons.You can disable uploading to activity from MediaPress settings. For label, Please let me know if it is the label or the whole posting box you want to remove and we will assit.
Regards
Brajesh Hi Nik,
I don’t see any issue with your query except, It has incorrect assumption.You are trying to order by date while the ordering is happening by a string.
Also, I am not sure if the value stored in ‘_event_start_date’ is comparable with your value(You will need to check that and verify).since you have been trying to get events manager working like this, my suggestion is to avoid forcing it to dom something they are not doing.
You should use BuddyBlog for creating the entries while use their shortcode(events manager) for listing the entries.That will solve most of the issues you have faced.
Regards
BrajeshHi Nik,
Thank you for clarifying.
you can achieve it by overriding our loop template(posts.php)In that file you will find a code section like this
query_posts( bblgroups_get_posts_query_args( array( 'post_type' => bblpro_get_current_post_type(), ) ) );In that array(where we have passed post type), you can pass any of the params supported by WP_Query
https://developer.wordpress.org/reference/classes/wp_query/
If you are using the ‘Category’, you can pass category__not_in. If you are using a custom taxonomy, you can pass the tax query.
Regards
Brajesh- Brajesh Singh on November 23, 2022 at 2:14 pm in reply to: Help with syncing groups and roles #47412
Thank you for the reply.
Is this happening with the code that @ravisharma provided on github? or is it happening after you made the changes to the plugin?
Regards
Brajesh Hi Nik,
Thank you.At the moment, we don’t have a filter to allow you filtering the permalink of a BuddyBlog specific post.
I will add it in next release. We are dealing with multiple post types now, so It will be a bit different than the previous one. I will post after the update.Regards
Brajesh- Brajesh Singh on November 22, 2022 at 9:12 pm in reply to: [Resolved] autoaccept User Testimonials #47404
Hi,
Thank you for the question.our team will assist you within 48 hours with a working code to achieve it.
Regards
Brajesh - Brajesh Singh on November 22, 2022 at 9:11 pm in reply to: Help with syncing groups and roles #47403
Hi,
I am sorry, we are unable to understand your requirement.can you please explain how it should work(user joins group 1 then happens x, user joins group 2, then happens Y, then user leaves group 1 and so on.). I mean with a detailed example. That will help us assist you better.
Regards
Brajesh Hi Nik,
1. To apply it to user and group both, you may do the followingRemove this
add_action( 'bbl_groups_pre_container_contents', 'bblcustom_disable_em_scope' );and add this
add_action( 'bblpro_actions', 'bblcustom_disable_em_scope' );Is there any way of screening out past events from the tabs? (Events Manager handles this for their own BuddyPress tabs but presumably we’re now removing that filter so is there a way of adding it back in?)
I am sorry, I am unable to answer as I only took a peek at their code and havn’t invested much time. You will need assistance from Events Manager team.
Regards
BrajeshHi Nik,
Thank you for the patience.Please try using this ro remove their scope on our pages.
function bblcustom_disable_em_scope() { if ( ! class_exists( 'EM_Event_Post' ) || ! method_exists( 'EM_Event_Post', 'parse_query' ) ) { return; } $priority = has_action( 'parse_query', array( 'EM_Event_Post', 'parse_query' ) ); if ( $priority ) { remove_action( 'parse_query', array( 'EM_Event_Post', 'parse_query' ), $priority ); } } add_action( 'bbl_groups_pre_container_contents', 'bblcustom_disable_em_scope' );You can put this code in your bp-custom.php
I have not tested this code but this should remove the scope. Can you please tell me if it worked or not?
Regards
Brajesh- Brajesh Singh on November 18, 2022 at 9:10 pm in reply to: Activity Stream conflicts with woo commerce #47388
Hi Gabs,
Please removing the activity as parent from the shop page. it is quiet possible that having Activity as parent page is causing some conflict.Regards
Brajesh