Replies
- Tosin on July 21, 2023 at 11:34 am in reply to: [Resolved] Buddyblog pay per post improvement/suggestion #50012
Hi
1. Copy and paste https://ibb.co/L93Y1g4 in the browser search bar
4. so this code should work
add_action( 'bp_activity_entry_meta', function () { global $activities_template; if ( ! function_exists( 'bblpro_ppp_promote' ) || empty( $activities_template->activity ) || empty( $activities_template->activity->secondary_item_id ) ) { return; } $post_id = $activities_template->activity->secondary_item_id; $form_id = bblpro_post_get_form_id( $post_id ); if ( $form_id ) { echo bblpro_ppp_promote( $post_id, array( 'label' => esc_html( 'Edit or Promote Your Post' ) ) ); } } );
- Tosin on July 18, 2023 at 12:30 pm in reply to: [Resolved] Buddyblog pay per post improvement/suggestion #49979
Hello Ravi,
Apologies for the late feedback I was just discharged from the hospital.
I have tested the plugins you sent and noticed
1. Clicking the promote button displays weird code, see image https://ibb.co/L93Y1g4
2. How does the shortcode [bblpro_ppp_promote post_id=126] work, is it for promoting a single specific post
3. For old non promoted posts, after clicking the post edit button and user is redirected to the post editor, the pay per post product selection field is still visible instead of being hidden. While editing an old non promoted post and I select a product price the post is only updated and not redirected to checkout.
If there is no redirection to checkout then I think the pay per post product selection field should be hidden in the editor only when editing old post. The pay per post product selection field should only display when creating a new post
4. I would also like to display the promote button in activity meta button section like https://ibb.co/PrPnhB1
Thanks
- Tosin on July 4, 2023 at 8:46 am in reply to: [Resolved] Buddyblog pay per post improvement/suggestion #49899
Awesome, I would like to ask if it will be possible to add the button to the activity meta buttons as I have this code for something similar
add_action( 'bp_activity_entry_meta', function () { global $activities_template; if ( ! function_exists( 'bblpro_get_post_edit_link' ) || empty( $activities_template->activity ) || empty( $activities_template->activity->secondary_item_id ) ) { return; } $post_id = $activities_template->activity->secondary_item_id; $form_id = bblpro_post_get_form_id( $post_id ); if ( $form_id ) { echo bblpro_get_post_edit_link( $post_id, array( 'label' => esc_html( 'Edit or Promote Your Post' ) ) ); } } );
Kindly see image https://ibb.co/PrPnhB1
- Tosin on July 3, 2023 at 9:24 am in reply to: [Resolved] Buddyblog pay per post improvement/suggestion #49893
How is progress sir
- Tosin on June 27, 2023 at 2:53 pm in reply to: [Resolved] Buddyblog pay per post improvement/suggestion #49861
Thank you Ravi im really looking forward to this.
- Tosin on June 22, 2023 at 2:16 pm in reply to: [Resolved] Buddyblog pay per post improvement/suggestion #49826
Gentle reminder sir
Thanks
- Tosin on June 13, 2023 at 12:54 pm in reply to: [Resolved] Buddyblog change activity excerpt length #49775
Thanks this is now resolved
Hello Ravi
Have you been able to test this
- Tosin on June 8, 2023 at 3:46 pm in reply to: [Resolved] Buddyblog change activity excerpt length #49709
I have tried this but did not work
// Adjust BuddyPress activity content excerpt length function adjust_bp_activity_excerpt_length($excerpt_length) { // Set your desired excerpt length here $new_excerpt_length = 200; // Change this value as per your requirement return $new_excerpt_length; } add_filter('bp_activity_excerpt_length', 'adjust_bp_activity_excerpt_length');
Hi Ravi
I cant still get it to work with HPOS enabled, kindly confirm if this is how your woocommerce advance settings (Custom data stores) is enabled in the image below.
Only the new WooCommerce orders tables should be enabled.
Thanks