Replies
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 10 years, 5 months ago by
Ravi.
- This reply was modified 10 years, 5 months ago by
- 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 = '[email protected]'; 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
RaviHi Chirag,
Thank You posting. You can disable ‘Add Media’ from BuddyBlog plugin setting under setting in backedend. Check Allow Upload setting and sat it to NO. It will disable the ‘Add Media’ button.
Please use the following code in your bp-custom.php file.
function buddydev_change_post_format( $post_id ) { set_post_format( $post_id, 'video' ); // set the default post format here } add_action('bsfep_post_saved','buddydev_change_post_format'); function buddydev_video_field( $settings ){ // extra field for video url $settings['custom_fields']['_video_url'] = array( 'type' => 'textbox', 'label' => 'Enter Video Url', 'default' => '' ); return $settings; } add_filter('buddyblog_post_form_settings','buddydev_video_field', 10 );to render the content of this post use the following code
function buddydev_filter_content( $content ) { $video_url = get_post_custom_values( '_video_url', get_the_ID() )[0]; if ( $video_url ) { $content .= $video_url; } return $content; } add_filter('the_content','buddydev_filter_content' );Please let me know if it works for you or not.
Thank You
Ravi- Ravi on May 12, 2016 at 2:16 pm in reply to: Mediapress limited to 20 items per audio gallery? #3834
Hi George,
Thank You for posting. You can limit the media and gallery listing on website. There is an option to manage galleries and media listing on frontend. You can check the MediaPress setting in Admin Pannel under MediaPress setting theming tab with label “How many Media per page”. You can fix this from there.
Thank You
Ravi