Replies
- This reply has been marked as private.
- Ravi on August 9, 2023 at 9:19 pm in reply to: [Resolved] Pay Per Post Publish Articles with the status “Awaiting” #50157This reply has been marked as private.
- Ravi on August 9, 2023 at 9:12 pm in reply to: BuddyDev profanity filter conflict with buddyboss #50156
Hello Steven,
We have added support for BuddyBoss. Please upgrade your plugin to version 1.1.7 and give it a try.
Regards
Ravi - This reply has been marked as private.
- Ravi on August 9, 2023 at 7:18 pm in reply to: [Resolved] Pay Per Post Publish Articles with the status “Awaiting” #50152This reply has been marked as private.
- Ravi on August 9, 2023 at 9:22 am in reply to: [Resolved] Pay Per Post Publish Articles with the status “Awaiting” #50144This reply has been marked as private.
- Ravi on August 8, 2023 at 6:25 pm in reply to: [Resolved] Pay Per Post Publish Articles with the status “Awaiting” #50132This reply has been marked as private.
- Ravi on August 8, 2023 at 8:10 am in reply to: [Resolved] Pay Per Post Publish Articles with the status “Awaiting” #50126This reply has been marked as private.
- Ravi on August 7, 2023 at 3:42 pm in reply to: [Resolved] Pay Per Post Publish Articles with the status “Awaiting” #50122
Hello Cristi,
I have checked and found that the plugin skips the redirect case if any order id associated with the post or post status is set to publish and the last one if the post product has already been added to the cart for proceeding.
You can use the following code which will redirect users if the post product has already been added to the cart items.
add_filter( 'bblpro_post_updated_redirect_url', function ( $redirect, $post_id, $form_id ) { if ( ! function_exists( 'buddyblog_pay_per_post' ) || ! bbl_ppp_form_has_paid_posting_enabled( $form_id ) ) { return $redirect; } if ( 'publish' == get_post_status( $post_id ) || bbl_ppp_get_post_order_id( $post_id ) ) { return $redirect; } if ( get_post_meta( $post_id, '_bblpro_ppp_added', true ) ) { $redirect = bbl_ppp_get_form_redirect_url( $form_id ); } return $redirect; }, 10, 3 );
Give it a try and let me know if helps or not.
Regards
Ravi - Ravi on August 7, 2023 at 7:13 am in reply to: [Resolved] How can I hide comment from activity page #50119
Thank you for the acknowledgement.
Regard