BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Buddy Press Mentions Short Code #13862

    Hello Madhavi,

    Thank you for the acknowledgement. I am glad that I could help.

    Thank you
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Buddy Press Mentions Short Code #13828

    Hello Madhavi,

    Thank you for posting here. Please use our plugin name “BuddyPress Activity ShortCode”. You can download it from the following url

    https://buddydev.com/plugins/bp-activity-shortcode/

    and use shortcode on your page.

    
    
    [activity-stream for="logged" scope="mentions" per_page=-1]
    
    

    Please let me know if it works or not.

    Thank you
    Ravi

    • This reply was modified 7 years, 2 months ago by Ravi.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] How To Display User Avatar In List Gallery #13827

    Hello Artzam,

    Thank you for posting. Try the following code in your ‘bp-custom.php’ file. Please let me know it is works or not

    
    function buddydev_show_user_avatar() {
    
    	$gallery = mpp_get_gallery();
    
    	$user_permalink = bp_core_get_user_domain( $gallery->user_id, true );
    
    	?>
    		<a href="<?php echo $user_permalink; ?>">
    			<?php echo bp_core_fetch_avatar( array(
    					'item_id' => $gallery->user_id,
    					'object'  => 'user',
    					'type'    => 'thumb',
    					'html'    => true,
    					'width'   => 30,
    				) );
    			?>
    		</a>
    
    	<?php
    
    }
    add_action( 'mpp_before_gallery_title', 'buddydev_show_user_avatar' );
    

    Thank you
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Bzoum,

    Before you go through my previous suggestion, may be we can find it another way.

    Step 1: Please use the plugin “Simply show hooks” and activate it. You can download this plugin from the following url:

    https://wordpress.org/plugins/simply-show-hooks/

    Step 2: Go to the page where above mention message is showing.

    Step 3: search the string “pre_get_posts”.

    Step 4: After hover or click on that link you saw a list of actions that attach to it and please share that detail with me.

    Thank You
    Ravi

    • This reply was modified 7 years, 2 months ago by Ravi.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Bzoum,

    Thank you for providing the information. I have tried to generate this issue on my local development server but unable to generate it. Try one thing, Disable all other plugin except MediaPress and BuddyPress also switch to default WordPress theme. Then check if the issue still persists or not. There might be change that other plugin or theme conflicting with it. Please let me know.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Bzoum,

    Sorry for the inconvenience. Can you please share the information under menu MediaPress > tools into private reply.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Form Validation in Simple Front End Post #13779

    Hello Adda,

    Please try the following code in your bp-custom.php file. This will make sure atleast one category to be selected by author and let me know if issue resolve or still persists

    
    function buddydev_validate_form( $error, $post ) {
    
    	if ( ! function_exists( 'bcg_get_option' ) ) {
    		return $error;
    	}
    
    	if ( bcg_get_option( 'enable_taxonomy' ) && empty( $post['tax_input'] ) ) {
    		$error['error'] = true;
    		$error['message'] = __( 'Please select atleast one category' );
    	}
    
    	return $error;
    }
    add_filter( 'bsfep_validate_post', 'buddydev_validate_form', 10 , 2 );
    

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Conditional Profile Fields "html issue" #13738

    Hello Allan,

    Thank you for the acknowledgement. I am glad that I could help.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Conditional Profile Fields "html issue" #13718

    Hello Allan,

    Thank for posting. It seems you are using older version of “Conditional profile field”. Please upgrade this plugin to latest version and then check and let me know if error still persists or not.

    You can download from the following URL:
    https://buddydev.com/plugins/conditional-profile-fields-for-buddypress/

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] No image titles, just alt tag #13617

    Hello Audiomonk,

    Thank you for the acknowledgement, I glad that I could help.

    Regards
    Ravi