Replies
- This reply has been marked as private.
Hello Oscar,
Please find in “en_US.po” line no. is 101.
Hello Oscar,
I have updated the plugin after fixing some translatable string. Also, I have added a new translation file for en_US. Please check. If still find some issue please do let me know.
https://buddydev.com/plugins/mpp-media-rating/
Thank You
Ravi- Ravi on July 25, 2018 at 11:28 am in reply to: [Resolved] Allow creating galleries only to role admin #16473
Closing this thread as already replied on other thread.
Hello Antonio,
Thank you for posting. Please use the following code disable gallery tab for non-admin users.
/** * Modify gallery tab permission * * @param bool $is_active Can create gallery or not. * @param string $component Component name. * @param int $component_id Component id. * * @return bool */ function buddydev_modify_gallery_tab_permission( $is_active, $component, $component_id ) { if ( 'members' == $component && ! is_super_admin( $component_id ) ) { return false; } return $is_active; } add_filter( 'mpp_is_enabled', 'buddydev_modify_gallery_tab_permission', 10, 3 );
Thank You
RaviHello Joseph,
Thank you for posting here. yes, it is perfectly okay to delete old notifications. You can use the following Mysql query to delete notification from the table. This query will delete all the notifications before the given date.
DELETE FROM wp_bp_notifications WHERE date_notified <= '2018-07-01 00:00:00';
Replace the date as per your requirement. Let me know if there is an issue.
Thank you
Ravi- This reply was modified 6 years, 11 months ago by
Ravi.
- This reply was modified 6 years, 11 months ago by
Hello Oscar,
Thank you for reporting the bug. Yes, by default it was showing only 5 media. Now I have added support with per_page parameter offered by mpp-list-media. Also, I have added a new parameter rating-interval in which you can pass the no.of days to get top rated media.
Please upgrade the plugin and let me know if is there any issue.
Thank you
RaviHello Oscar,
Sorry for the inconvenience. I will check for the limit and will update you. By global what you are trying to say please make me more clear on it.
Thank You
RaviHello AudioMonk,
Thank you for sharing the screenshots. Is there any chance that you are overriding one of MediaPress template templates(grid-photo.php?). If yes, please share the code on pastebin and link me.
we need the ‘mpp_media_meta’ action in this template.
Thank You
RaviHello Audiomonk,
Thank you for the acknowledgement. The above provided code does that. Means it will add a link under “edit|delete” action to make a comment. Please post me the code you are using.
Thank You
Ravi