BuddyDev

Search

Replies

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: Buddyblog assign different author to specific form id #41720

    OHH OK, So I can’t use the code yet until buddyblog will allow to have multiple forms with same post type. i’ll just have to be patient till then since I need to have two different forms (private and public) of the same post stype

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: Buddyblog assign different author to specific form id #41711

    Thanks a lot Brajesh ill be looking forward to the new update. also with this upcoming update will it now be possible to differentiate the shortcode in two different pages by form ID.

    Example
    General form = [bbl-create-by-post-type post_type=’post’ id=’45755′]
    Private form = [bbl-create-by-post-type post_type=’post’ id=’37232′]

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: Buddyblog assign different author to specific form id #41643

    Gentle reminder

    Thanks

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: Buddyblog limit submissions addon suggestion #41642

    Hello Brajesh,

    Gentle reminder with regards to the buddyblog limit submissions addon

    Thanks

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: Buddypress profile completion and leira-letter-avatar plugin #41603

    Hmmm none of the code is conflicting it seems the issue is coming from liera avatar plugin once I deactivate i,t all the custom code works smoothly without any conflict.

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: Buddypress profile completion and leira-letter-avatar plugin #41593

    Hello Ravi,

    That’s strange, I have the code below in bp-custom.php but its not working while liera avatar plugin is active, the code only works when liera avatar plugin is deactivated.

     function buddydev_skip_urls_on_loggedin_user_profile_page( $skip ) {
        if ( bp_is_my_profile() ) {
            $skip = true;
        }
        return $skip;
    }
    add_filter( 'bp_force_profile_completion_skip_check', 'buddydev_skip_urls_on_loggedin_user_profile_page' ); 
     
     
    function buddydev_skip_urls_on_members_directory( $skip ) {
        if ( bp_is_members_directory() ) {
            $skip = false;
        }
        return $skip;
    }
    add_filter( 'bp_force_profile_completion_skip_check', 'buddydev_skip_urls_on_members_directory' );
    
    function buddydev_skip_urls_on_activity_directory( $skip ) {
        if ( bp_is_activity_directory() ) {
            $skip = true;
        }
        return $skip;
    }
    add_filter( 'bp_force_profile_completion_skip_check', 'buddydev_skip_urls_on_activity_directory' );
    
    /**
     * Do not redirect users on non bp pages.
     *
     * @param bool $skip should we skip or redirect.
     *
     * @return bool
     */
    function buddydev_skip_redirect_on_non_bp_pages( $skip ) {
        if ( ! is_buddypress() ) {
            $skip = true;
        }
        return $skip;
    }
    add_filter( 'bp_force_profile_completion_skip_check', 'buddydev_skip_redirect_on_non_bp_pages' ); 
    
    /**
     * Do not skip redirect on new post.
     *
     * @param bool $skip should we skip?
     *
     * @return bool
     */
    function buddydev_dont_skip_redirect_on_cta_pages( $skip ) {
    	if( is_page( array( 'publish', 'create-new-post', 'create-sponsored-post', 'create-private-post', 'advertise', 'create-new-advert', 'manage-listings' ) ) ) {
    		if( is_user_logged_in() ){
    		$skip = false;
    	}
      }
    	return $skip;
    }
    add_filter( 'bp_force_profile_completion_skip_check', 'buddydev_dont_skip_redirect_on_cta_pages', 20 ); 

    Thanks

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: Buddyblog assign different author to specific form id #41494

    Hello Brajesh

    The “after submission” shouldnt be an issue as ill prefer to redirect to a custom page on submission.

    Thanks

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: Buddyblog assign different author to specific form id #41357

    Gentle reminder sir

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: Buddyblog assign different author to specific form id #41308

    Any update sir

    Thanks

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: Object cache question #41287

    Hello Brajesh,

    Have you been able to test this