Replies
- Brajesh Singh on February 8, 2019 at 12:48 am in reply to: [Resolved] Mediapress Actions/Filters #20785
Hi Nikki,
Thank you for the patience with me on this.I will make sure to let you know(via PM) when I do add the future commenting strategy.
Good to know that you have the commenting enabled in more organized way.
Bets regards
Brajesh - This reply has been marked as private.
- Brajesh Singh on February 8, 2019 at 12:23 am in reply to: BP Member Type Pro – XProfile conditionals fields ON PROFILE #20782
Thank you Joss.
I will have it early next week. Will reply back here again.Regards
Brajesh - Brajesh Singh on February 8, 2019 at 12:22 am in reply to: [Resolved] How to add a page right under the member page. #20781
Hi maimaimemain,
Thank you.
Glad it worked.Best regards
Brajesh - Brajesh Singh on February 8, 2019 at 12:20 am in reply to: [Resolved] BuddyPress Group Tabs Creator Pro – Conflict #20780
Hi Propertytips,
Thank you for sharing the details.It was a bug due to conflict with CMB2(we use this library) and Yoast(in very specific conditions).
https://github.com/CMB2/CMB2/issues/1197I will upgrade the included CMB2 library and post a release by tomorrow.
Thank you
Brajesh - Brajesh Singh on February 7, 2019 at 7:53 pm in reply to: [Resolved] How to add a page right under the member page. #20774
Hi,
I am sorry for the delayed reply.You want something like this?
https://i.imgur.com/205C8YI.pngThis is called a Component in BuddyPress. I have plans to write some tutorial about it in future.
For now, You can use ‘bp_core_new_nav_item’ instead of the subnav.
Also, I suggest either not using
$user_data = get_user_by( 'id', bp_loggedin_user_id() )->data;or at least putting a check for logged in user. Another change is you don’t need to pass parent_slug for top level nav items.
Regards
Brajesh - Brajesh Singh on February 7, 2019 at 7:42 pm in reply to: [Resolved] Mediapress Actions/Filters #20773
Hi Nikki,
Sorry for the delayed reply.The activity type to look for is
mpp_media_uploadand you should hook to
bp_activity_after_saveThis action gives you access to activity object.
Please do note that make sure to test against the $activity->user_id and logged in user id. You do not want to notify the user on their own upload etc.
Another thing to consider your attached function will succeed on:-
– Any gallery activity(new media added to gallery and posted in activity stream)
– New media uploaded from activity stream
– New post on a media in light box
– New post on a gallery on single gallery page
– New post on a media on single media pageFor replies, the correct approach is to check for the parent activity(top level)’s type and see if it is
mpp_media_uploadLike I have said earlier, In my quest to maximize the usage of inbuilt BP features, I believe using activity for comment was a mistake and I will be correcting it in the next major milestone and re-implement the whole commenting.
Regards
Brajesh - Brajesh Singh on February 7, 2019 at 7:33 pm in reply to: [Resolved] BuddyPress Group Tabs Creator Pro – Conflict #20772
Please do share the login details via PM here or using our contact form. That will give me a lot better idea on what is the issue.
Thank you
Brajesh - Brajesh Singh on February 7, 2019 at 7:28 pm in reply to: BP Member Type Pro – XProfile conditionals fields ON PROFILE #20771
Hi Joss,
Thank you.For the registration vs edit, I have found a great solution and I will need some time to implement it.
There are two options for now1. Using Conditional profile field + BP Member Type Pro and disable conditional profile field on edit screen. In this case, We will need to mark all fields as their member type and use conditions as we do.
2. Implement registration conditions in Member Types plugin. There will be no need to set any condition or use the conditional plugin. You will mark a field available as you do currently(to certain member types). The plugin will take care of the rest.
Both this approach will have some issues with popup registrations forms but will work great for normal BuddyPress.
For the second approach I am going to need some time. I can share quick snippets for the first approach though.
Please let me know if you want to go with the first approach for now.
Regards
Brajesh - Brajesh Singh on February 7, 2019 at 2:26 pm in reply to: [Resolved] BuddyPress Group Tabs Creator Pro – Conflict #20767
Thank you.
I have tested it again. Please see
https://youtu.be/PpQsT4MsqOcIt is not a conflict between Group Tabs creator and Yoast Seo, It is most probably a conflict between Group tabs creator and some other plugin which is causing the trouble.
If you can provide more details about your WordPress version(is multisite etc). That will help.
Regards
Brajesh