Replies
- Brajesh Singh on February 5, 2019 at 3:52 pm in reply to: [Resolved] Mediapress Actions/Filters #20716
Hi Nikki,
Thank you for asking.Currently, the commenting is not handled in the best way in MediaPress.
Here is how we approach it.
1. Any comment in the activity stream is handled by Your theme as normal BuddyPress Activity comment. To check if it was a MediaPress upload, check for the parent activity(top level’s) type.
2. Commenting on a single gallery, single media page and in the lightbox is handled by MediaPress. A reply on some’s comment is a BuddyPress Activity comment while a complete new comment is stored as activity update(for user/group depending on media component).
In other words, when someone writes a comment on a media(in lightbox,single page) or a gallery(on single page), It can be stored as an activity update or an activity comment. If the comment is a reply to someone else’s comment on the media, it is stored as activity comment.
If it is a brand new comment directly on the media/gallery, It is stored as an activity update.I am not sure if the above makes much sense to you as the current implementation lacks simplicity for commenting.
It is on our list for next major release.
Regards
Brajesh - Brajesh Singh on February 5, 2019 at 3:43 pm in reply to: [Resolved] Buddypress Group Tabs Creator Pro showing tab to everyone instead of admins #20715
Please upgrade to 1.0.7
https://buddydev.com/plugins/buddypress-group-tabs-creator-pro/It supports the counts in labels. The counts will be preserved.
Regards
Brajesh - This reply has been marked as private.
- Brajesh Singh on February 5, 2019 at 12:36 pm in reply to: Show notification when post is published #20711
The followig line in your code
// WordPress Toolbar if ( 'string' === $format ) { $return = apply_filters( 'publishpost_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link ); // Deprecated BuddyBar } else { $return = apply_filters( 'publishpost_filter', array( 'text' => $custom_text, 'link' => $custom_link ), $custom_link, (int) $total_items, $custom_text, $custom_title ); }Tells BuddyPress what to show.
- Brajesh Singh on February 5, 2019 at 11:42 am in reply to: [Resolved] How to remove function noftifications #20708
Hi maimaimemain,
Thank you for the kind words. I am glad I was able to assist you.Best regards
Brajesh - Brajesh Singh on February 5, 2019 at 11:42 am in reply to: [Resolved] Buddypress Group Tabs Creator Pro showing tab to everyone instead of admins #20707
Hi,
The issue with count was a possible degradation for the update label. I have fixed it. Will be releasing an update later today and write back.For adding the js, you can use the “#studio” as
jQuery('body.single-item.groups .item-list-tabs #studio').attr('target', '_blank');Assuming the id is for anchor.
For placing the js, pleas ask the theme developer if they have provided a way(most themes do it in child theme custom js file) or you can use a plugin like
https://wordpress.org/plugins/custom-css-js/Regards
Brajesh - Brajesh Singh on February 5, 2019 at 10:39 am in reply to: Show notification when post is published #20706
Hi Hayleigh,
The screenshot I shared was from the notifications created by your code and as you may see, It was working.My suggestion will be to try your code on a clean install of BuddyPress(with default theme) and see if it works. If it does, you can troubleshoot your setup by changing theme and deactivating plugins.
Regards
Brajesh - Brajesh Singh on February 5, 2019 at 10:37 am in reply to: [Resolved] Force profile photo upload on a specific page #20705
Hi Tosin,
I am sorry for the inconvenience.
In future, Please do share all related code or topic in one post to allow me work over them easily.I will look at it later today and help you.
Thank you
Brajesh - This reply has been marked as private.
- Brajesh Singh on February 4, 2019 at 5:01 pm in reply to: Show notification when post is published #20696
Hi Hayleigh,
That’s strange. I am not sure what might be causing it.Here is what I see
https://i.imgur.com/1KFBLz0.pngRegards
Brajesh