Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Participant
    Level: Guru
    Posts: 916
    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: 916
    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: 916
    Tosin on in reply to: Buddyblog assign different author to specific form id #41357

    Gentle reminder sir

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

    Any update sir

    Thanks

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

    Hello Brajesh,

    Have you been able to test this

  • Participant
    Level: Guru
    Posts: 916
    Tosin on in reply to: Buddyblog assign different author to specific form id #41283
    This reply has been marked as private.
  • Participant
    Level: Guru
    Posts: 916
    Tosin on in reply to: Buddyblog limit submissions addon suggestion #41234

    Thanks Brajesh,

    I do agree with you 100%, the restrictions that are most applicable in BuddyBlog context are the ones you outlined (how many entries are allowed, who can publish, who can edit after publish, how many days after publishing an entry is allowed to be edited, set limit for auto deletion/drafting of posts after n days and so).

    I Also think its better not to over complicate features. Ive been having all this suggestions lately as I think buddypress plugins really need to improve in terms of monetization of features and functionality. Why have a community or platform if it cannot be monetized properly. For example this was a plugin heading in a good direction before it was abandoned. https://wordpress.org/plugins/bp-premiums/

    Thanks

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

    I Also think this addition will help the woocommerce integration in terms of better publishing control.

    For example
    pay per post = buy one post credit for $10 will give users access to publish 5 posts per day or 30 per month

  • Participant
    Level: Guru
    Posts: 916
    Tosin on in reply to: [Resolved] Buddypress Featured Member Feature Suggestion #41147
    This reply has been marked as private.
  • Participant
    Level: Guru
    Posts: 916
    Tosin on in reply to: [Resolved] Buddypress Featured Member Feature Suggestion #41137

    Hello Ravi

    kindly ignore my previous reply everything works fine after clearing my cache

    Thanks