Replies
Hi Graham,
Thank you for the kind words.It’s a pleasure to be part of the community and contributing my share. You words have inspired me to strive even more.
Thank you for being awesome.
Brajesh
- Brajesh Singh on August 6, 2017 at 4:44 pm in reply to: [Resolved] Some parts of MediaPress v1.1.7 not translatable #10222
Hi Thorsten,
Please upgrade to 1.1.8It fixes a bug with 1.1.7 and also includes the translations.
Thank you
Brajesh - Brajesh Singh on August 6, 2017 at 10:19 am in reply to: [Resolved] Translation does not work for BuddyPress Notifications Widget #10221
Hi Thorsten,
Thank you.Please upgrade to 1.2.1
https://buddydev.com/plugins/buddypress-notifications-widget/The problem lied with the naming of the translation file.
It should have been buddypress-notifications-widget-en_US.po/mo instad of bp-notifications-widget-en_US.po/mo
Hope the new updates work for you.
Regards
Brajesh - Brajesh Singh on August 6, 2017 at 10:03 am in reply to: [Resolved] How to translate – BuddyPress Editable Activity? #10220
Hi Thorsten,
Sorry about that.
Please upgrade to 1.1.7It contains the translation files.
https://buddydev.com/plugins/bp-editable-activity/Regards
Brajesh - Brajesh Singh on August 6, 2017 at 9:30 am in reply to: [Resolved] Some parts of MediaPress v1.1.7 not translatable #10219
Fixed it in
https://github.com/buddydev/mediapress/commit/980cb1f76004c7028dd59db180206b67ea8e103bI will push a release today or tomorrow(I am going for a few more enhancements).
Thank you
Brajesh - Brajesh Singh on August 6, 2017 at 9:28 am in reply to: limit gallery link on members profiles #10218
And here is it on pastebin (If you want your updated functions.php)
https://pastebin.com/PfaukFBhRegards
Brajesh - Brajesh Singh on August 6, 2017 at 9:26 am in reply to: limit gallery link on members profiles #10217
Hi Patti,
I hope I am not too late.
There was an issue in how I used the s2members function.Here is the updated code
/** * Example: Disable MediaPress gallery for S2 members level 0 * * @param bool $is_active is MediaPress active. * @param string $component component name(members, groups,sitewide etc). * @param int $component_id context items id(user id, group id etc). * * @return bool */ function mpp_custom_disable_for_users( $is_active, $component, $component_id ) { // only for members component. if ( 'members' !== $component ) { return $is_active; } // do not allow zero level to have the gallery. if ( function_exists('current_user_is' ) && current_user_is('s2member_level0' ) ) { return false; } return $is_active; } add_filter( 'mpp_is_enabled', 'mpp_custom_disable_for_users', 10, 3 );The current_user_is only takes role not the user id. I installed and tested with s2members today.
Hope it helps.
Regards
Brajesh You are welcome 🙂
- Brajesh Singh on August 6, 2017 at 7:50 am in reply to: [Resolved] Error generate by wall-photo-gallery #10213
It is part of 1.1.7.
Marking it as resolved and closed. - Brajesh Singh on August 5, 2017 at 8:37 pm in reply to: [Resolved] Some parts of MediaPress v1.1.7 not translatable #10210
Hi Thorsten,
You are right. Just checked and can confirm this. I am going through all the template files, just to make sure we don’t miss anything again.I will push another release tomorrow with these.
Regards
Brajesh