Replies
Hi Christian,
Please do the following modification to the MediaPress plugin code.
1. open file “mediapress/core/ajax/class-mpp-ajax-lightbox-helper.php” and change the following code from line no. 175
mpp_get_template_part( ‘gallery/media/views/lightbox-comment’ );
to
mpp_get_template_part( ‘gallery/media/views/lightbox’ );
2. And modify the css file “mediapress/assets/css/mpp-core.css”
find “.mpp-lightbox-media-container” and change width to 100%. Also “.mpp-lightbox-media-meta” change width to 100%
Thank You
Ravi- Ravi on May 18, 2016 at 2:57 pm in reply to: Sitewide Gallery browsing layout is broken on mobile #3927
Hi Tyler
Welcome to BuddyDev. Most probably this is due theme you are using. Please point me to the site so that I can help you with css.
Thank You
Ravi Hi Christian
I looked into it and found there is no hook present in the code. Only way for now is to modify the code? will you be ok with that?
Thank You
Ravi- Ravi on May 18, 2016 at 2:44 pm in reply to: [Resolved] Automatically Create New Post for Every New BuddyPress Registration #3924
Hi Brian
Good to know that it is working. If I were you, I would have used the activation hook instead to be sure that the post is created when accounts are activated. Using ‘bp_core_activated_user’ this hook and code should be in bp-custom.php
All the best with your project.
Thank You
Ravi Hi Christian,
I am looking into it and Will let you know at day end.
Thank You
RaviHi Christian,
Please put the following code in Your theme style.css file. It will fix the bug.
.widget .mpp-media-title { display: none; }
Thank You
Ravi- This reply was modified 8 years, 7 months ago by Ravi.
- Ravi on May 14, 2016 at 7:36 pm in reply to: [Resolved] Additional email address for password recovery purposes #3871
Hi Javier,
Please try the following code in your theme functions.php file and let me know it works or not.
function buddy_new_reset_password_email( $message, $key, $user_login, $user_data ) { // get the user data is user object you need to fetch xprofile email value. user $user_data->data->ID to fetch the details $user_email = 'ravivats89@gmail.com'; if ( is_multisite() ) { $blogname = $GLOBALS['current_site']->site_name; } else { $blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES); } $title = sprintf( __('[%s] Password Reset'), $blogname ); if ( $message && ! wp_mail( $user_email, wp_specialchars_decode( $title ), $message ) ) wp_die( __('The email could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function.') ); $message = ''; return $message; } add_filter('retrieve_password_message','buddy_new_reset_password_email' );
Thank You
Ravi - Ravi on May 14, 2016 at 7:02 pm in reply to: Suggestions "BuddyPress Notify Post Author on Blog Comment" and error notificat #3870
Hi Jonas,
FYI. It won’t work with the old comments.
Thank You
Ravi - Ravi on May 14, 2016 at 6:53 pm in reply to: Suggestions "BuddyPress Notify Post Author on Blog Comment" and error notificat #3869
Hi Jonas,
Bug is fixed now. It is marking the post as read when you click on the notification. You can clone or downloaded the updated code from git and let me know if it is working or not. Please refer the following url.
https://github.com/buddydev/bp-notify-post-author-on-blog-comment.git
Thank You
Ravi Hi Terjemk,
Please use [mpp-list-gallery status=”loggedin”] this shortcode to list gallery marked as logged in.
Thank You
Ravi