BuddyDev

Search

Replies

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

    Hello Sarwar,

    Thank you for the acknowledgement. I am glad to help you.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Shortcode in member page #49419

    Hello Jose,

    Thank you for posting. Are you using the “BuddyPress User Profile Tabs Creator Pro” plugin? or are you trying in a different way? please let me know.

    Regards
    Ravi

    • This reply was modified 1 year, 8 months ago by Ravi.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Sarwar,

    Welcome to the BuddyDev Forums. You can try the following code:

    
    add_filter( 'bp_after_send_email_parse_args', function ( $args ) {
    
    	if ( isset( $args['tokens'] ) && isset( $args['tokens']['activate.url'] ) ) {
    		$args['tokens']['activate.url'] = add_query_arg(
    			array(
    				'key1' => 'key1',
    				'key2' => 'key1213',
    			),
    			$args['tokens']['activate.url']
    		);
    	}
    
    	return $args;
    } );
    
    

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Shortcode for Buddyblog #49322

    Hello Van,

    Please look at the following screenshot:

    https://tinyurl.com/25e9yank

    Please give it a try.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: How to set media amount limits #49309

    Hello Derek,

    You’re welcome! Don’t hesitate to reach out if you have any further questions or need additional assistance. Good luck with your project!

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: How to set media amount limits #49306

    Hello Derek,

    Welcome to the BuddyDev Forums. Yes, it can be possible with some lines of code

    
    add_filter( 'mpp_user_can_upload', function ( $can_do, $component, $component_id, $gallery ) {
    
    	// If not logged in return.
    	if ( ! is_user_logged_in() ) {
    		return $can_do;
    	}
    
    	$limit_count      = 4;
    	$user_media_count = mpp_get_user_media_count( bp_loggedin_user_id() );
    
    	if ( $user_media_count && $user_media_count >= $limit_count ) {
    		$can_do = false;
    	}
    
    	return $can_do;
    }, 10, 4 );
    
    

    You can further alter this code by based on component, status or media type. Look mpp_get_object_count supported args.

    You can place this code in your ‘bp-custom.php’ file. Please give it a try.

    To know what is ‘bp-custom.php’ file look here
    https://buddydev.com/docs/buddypress-guides/what-is-bp-custom-php/

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: posts are not shown in post list (e.g. published) #49304
    This reply has been marked as private.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: posts are not shown in post list (e.g. published) #49297

    Hello Franz,

    Sorry for the inconvenience. I am assuming you are using the BuddyBlog Pro plugin. Please navigate to Admin Dashboard > BuddyBlog > Settings > Post ( your post type ) > Misc Settings and locate “Should tab post lists show only the posts created by BuddyBlog(front end)?”. please set it to No and then recheck.

    Please let me know if it helps or not.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Tags restricted to groups #49295

    Hello Jose,

    Thank you for the details.

    I am not aware of any solution to restricting tags to specific forums/groups. I will suggest contacting BuddyBoss support for the same as the forums are part of the BuddyBoss Platform plugin.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Content Not Showing #49289

    Hello,

    Please check the following video for the issue:
    https://www.awesomescreenshot.com/video/16732248?key=a1b67331d9d3f86aa4f7cec581eda32b

    Note: Please remove all the Elementor widgets from the ‘Associates’ page.

    Regards
    Ravi