Replies
- 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 - Brajesh Singh on August 5, 2017 at 5:04 pm in reply to: [Resolved] Recent Visitor for BuddyPress Profile – styling issues #10207
Ahh ok.
I am glad it is solved. Must be caching then.Thank you for marking it as resolved.
regards
Brajesh - Brajesh Singh on August 5, 2017 at 5:02 pm in reply to: [Resolved] BuddyPress Extended Friendship Request – Styling issue #10206
Hi Thorsten,
That looks great!Good job there finding the perfect percentage 🙂
- Brajesh Singh on August 5, 2017 at 4:23 pm in reply to: [Resolved] Recent Visitor for BuddyPress Profile – styling issues #10203
I am sorry but I really don’t understand the reason why would this happen on your site.
I will try to check on the site tonight and see if I can think of something.
Thank you
Brajesh