BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Additional Global shared gallery question #35833

    Hello Mike,

    Plugin downloadable link same as provided earlier.

    You can put the code in “bp-custom.php”. For more info check the following link:
    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: [Resolved] Auto join group plugin not working #35831

    Hello Luke,

    Thank you for the acknowledgement. Please give it a show with equalto operater and value exact same as option value. Please let me know if it works or not.

    Regards
    Ravi

    • This reply was modified 4 years, 6 months ago by Ravi.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Auto join group plugin not working #35823

    Hello Luke,

    Sorry for inconvenience. I have tested it on my server with firstname field and start-with operator and it is working for me. Please let how are you trying auto joining i.e. Using “Syncronise Existing User” or “on user activate” account. Also, What type of field Interest is like text, textarea etc.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Additional Global shared gallery question #35812

    Hello Mike,

    Sorry for the delayed reply. I have tested this and it is working fine me. Please provide me your staging site creadential with admin and guest credentials and FTP details so that I can help you.

    Regards
    Ravi

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

    Hello Daniel,

    I am looking into it and will update you soon.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Additional Global shared gallery question #35703

    Hi Mike,

    Thank you for the reply.

    Please have patience. We will assist you. This will need some time as we are unable to prioritize your ticket. This is an experiment plugin, not published on BuddyDev site, we will need time to check and fix it.

    Thank you

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: BP Profile Visibility Manager Problem with messaging #35693

    Hello Michael,

    Please make a file with name “bp-custom.php” under plugins directory. Then put the following code:

    
    
    <?php
    /**
     * Modify profile visibility excluded sql
     *
     * @param string $exclude_sql Excluded sql.
     *
     * @return string
     */
    function buddydev_modify_profile_visibility_excluded_sql( $exclude_sql ) {
    
    	if ( function_exists( 'BP_Better_Messages' ) && ! bp_is_members_directory() ) {
    		$exclude_sql = '';
    	}
    
    	return $exclude_sql;
    }
    
    add_filter( 'bp_profile_visibility_search_excluded_sql', 'buddydev_modify_profile_visibility_excluded_sql' );
    
    

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Additional Global shared gallery question #35692

    Hello Mike,

    Thank you for the acknowledgement. It is releated to the gallery publishing permission. Please try the follwoing code:

    
    /**
     * Modify gallery activity.
     *
     * @param bool        $can     Can publish or not.
     * @param MPP_Gallery $gallery MediaPress gallery object.
     * @param int         $user_id User id permission need to check.
     *
     * @return bool
     */
    function buddydev_modify_user_can_publish( $can, $gallery, $user_id ) {
    
    	if ( ! is_user_logged_in() ) {
    		return $can;
    	}
    
    	// If gallery is shared allow user to publish.
    	if ( get_post_meta( $gallery->id, '_mpp_is_all_upload_allowed', true ) ) {
    		$can = true;
    	}
    
    	return $can;
    }
    add_filter( 'mpp_user_can_publish_gallery_activity', 'buddydev_modify_user_can_publish', 10, 3 );
    
    

    Please let me know if it works or not.

    Regards
    Ravi

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

    Hello James,

    Thank you for the acknowledgement. I have checked this on my server and it showing city field on directory page. Please take a look here:

    https://tinyurl.com/y39becvk

    Regards
    Ravi

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

    Hello Daniel,

    Thank you for the acknowledgement. I have checked on your site and it is coming in hidden form following CSS rule hiding content. Please have look:

    
    
    .activity-list.bp-list li.mini .activity-inner {
        display: none;
    }
    
    

    in file “wp-content/themes/thrive-nouveau/css/buddypress.min.css”

    Regards
    Ravi