Replies
- Tosin on July 19, 2022 at 1:34 pm in reply to: [Resolved] Pay Per Post by selling access with WooCommerce #45749
Is it possible to send email on post expiration.
EXAMPLES
1. Your sponsored post has expired. (EMAIL SUBJECT)
Hello {post_author|get_user_display_name},
Your Post titled ‘{post_title}’ has expired and is no longer sponsored..
If this post is still relevant, you can log in to {site_url} and renew this post as featured.2. Your expired Post has been renewed and published. (EMAIL SUBJECT)
Hello {post_author|get_user_display_name},
Your post titled ‘{post_title}’ has been renewed and is visible on site again.
To view your post you can use the link below:
{$post.ID|get_permalink} - Tosin on July 19, 2022 at 12:59 pm in reply to: [Resolved] Pay Per Post by selling access with WooCommerce #45748
Hello Brajesh,
I would like to add to my former suggestion pending when you are about to update the plugin.
NEW ADDITIONAL SUGGESTION
Kindly see the screenshot below for adding promote button to activity updates
FORMER SUGGESTIONS
https://ibb.co/jhqnK8D
https://ibb.co/s1QYtJWThanks
- Tosin on July 19, 2022 at 12:57 pm in reply to: [Resolved] Pay Per Post by selling access with WooCommerce #45747
Hello Ravi,
The plugin features worked perfectly
- Tosin on July 18, 2022 at 12:04 pm in reply to: [Resolved] Pay Per Post by selling access with WooCommerce #45738
Ravi thank you very much it worked. I’m really grateful for the outstanding support you provide.
Im testing the features now, I will update you tomorrow.
- Tosin on July 18, 2022 at 10:50 am in reply to: [Resolved] Pay Per Post by selling access with WooCommerce #45736
Thanks Ravi,
After updating the plugin the (publish-post) page crashed, but i was eventually able to isolate the problem to the code you sent before. I think the code is not compatible with the latest pay per post update.
/** * Enable BuddyBlog dropdown submission type. */ add_action( 'bblpro_form_after_form_fields', function ( $form_id, $post ) { if ( ! bblpro_ppp_is_form_pay_per_post_enabled( $form_id ) || $post->post_status == 'published' ) { return; } $submission_type = get_post_meta( $post->ID, '_bblpro_submission_type', true ); ?> <div class="bbl-form-field-container bbl-form-field-type-submission-type-container"> <div class="bbl-form-field bbl-form-field-select"> <label for="bbl_custom_field" class="bbl-field-label bbl-field-label-type-select"><?php esc_html_e( 'Submission Type', 'sb-buddyblog-custom' ); ?></label> <select name="bblpro-post-submission-type" id="bblpro-tax-selectbox-submission-type" class="postform"> <option value="free" <?php selected( $submission_type, 'free' ) ?>><?php esc_html_e( 'Free Post' ); ?></option> <option value="sponsored" <?php selected( $submission_type, 'sponsored' ) ?>><?php esc_html_e( '30 Days | Sponsored Post - ₦50,000' ); ?></option> </select> </div> </div> <?php }, 10, 2 ); add_action( 'bblpro_post_submitted', function ( $post_id, $form_id, $post_data ) { if ( ! bblpro_ppp_is_form_pay_per_post_enabled( $form_id ) ) { return; } if ( isset( $_POST['bblpro-post-submission-type'] ) && 'free' == $_POST['bblpro-post-submission-type'] ) { update_post_meta( $post_id, '_bblpro_submission_type', sanitize_text_field( $_POST['bblpro-post-submission-type'] ) ); add_filter( 'bblpro_ppp_skip_post_purchase', '__return_true' ); } }, 9, 3 );
- Tosin on July 14, 2022 at 12:32 pm in reply to: [Resolved] BuddyBlog Pro Media Uploader and Article Images #45705
I saw a solution to 1 at https://www.wpbeginner.com/plugins/how-to-restrict-media-library-access-to-users-own-uploads-in-wordpress/
// Limit media library access add_filter( 'ajax_query_attachments_args', 'wpb_show_current_user_attachments' ); function wpb_show_current_user_attachments( $query ) { $user_id = get_current_user_id(); if ( $user_id && !current_user_can('activate_plugins') && !current_user_can('edit_others_posts ') ) { $query['author'] = $user_id; } return $query; }
- Tosin on July 14, 2022 at 11:25 am in reply to: [Resolved] Pay Per Post by selling access with WooCommerce #45704
Thank you for the feedback i’m really grateful for the effort you are giving
- Tosin on July 11, 2022 at 10:49 am in reply to: [Resolved] Pay Per Post by selling access with WooCommerce #45678
Hello Ravi,
How is the current version progressing.
Thanks
removing the visibility and allowing admins to decide if they wanted to let users select privacy would be the best as I have both public message and private message disabled.
- Tosin on July 2, 2022 at 7:09 pm in reply to: [Resolved] Pay Per Post by selling access with WooCommerce #45611
Hello Brajesh,
I would like to ask if my former suggestion can be considered
SUGGESTION
Kindly see the screenshot below for some ideas