Replies
- Brajesh Singh on October 27, 2021 at 2:19 am in reply to: Buddyblog assign different author to specific form id #41282
Hi Tosin,
Thank you for the details.I short of decided to hold this in the new release.
The problem I am seeing is BuddyBlog uses post author for listing posts, providing access to post editing etc.
If a user submits a form and the er user post creator will loose the access/right to edit it. This will be problematic.
Can you please help me understand your use case and I will have some suggestions.
Regards
Brajesh - Brajesh Singh on October 27, 2021 at 2:16 am in reply to: [Resolved] Buddyblog force category requests #41281
Hi Tosin,
Thank you for the patience.Please upgrade to 1.1.8. You can mark any taxonomy as required and the user will be forced to select at least 1 term from that taxonomy.
Regards
Brajesh Hi Tosin,
Thank you for the patience.Please upgrade to 1.1.8. It lets you select the default redirection url for the form submission.
Regards
BrajeshHi Christopher,
Thank you.I understand the need but that is beyond the scope of xprofile custom fields plugins.
Regards
Brajesh- Brajesh Singh on October 26, 2021 at 9:26 pm in reply to: [Resolved] Doubled Published Article and Custom Code not working #41276
Hi Niculae,
I have just tested the plugin with BuddyBoss platform 1.7.9 and I am not seeing any of the above mentioned issue.1. Post title:- what is the permalink of your single page where it is not appearing? Please link to me and I can check.
2. Not uploading featured image:- Have you enabled “Editing” for all members ?
3. Double listing of the entries:- Please link me to a screen showing it. I am not seeing it. Since it is showing only once in your dashboard, I am assuming that something is causing double load of template.
Please share a list of active plugins.
Thank you
Brajesh - Brajesh Singh on October 26, 2021 at 9:23 pm in reply to: disable the rtmedia comment action in the post until the users are become friend #41275
Hi John,
I am sorry, I am unable to comment where it will stop the comment. That will depend where that activity type is being used.I lack the time to test install RT Media and test it due to my current work. I hope you can give the above code to RT media people or someone using RT media to get assistance.
Regards
Brajesh - Brajesh Singh on October 26, 2021 at 8:55 am in reply to: [Resolved] Doubled Published Article and Custom Code not working #41261
Hi Niculae,
Thank you for all the details.Please hold on for 1-2 hours.
I will be checking again with latest version of BuddyBoss and getting back to you.
Regards
Brajesh - Brajesh Singh on October 25, 2021 at 11:03 pm in reply to: [Resolved] Doubled Published Article and Custom Code not working #41250
Hi,
Here is a code sample showing validations./** * BuddyBlog Pro field validation rule. */ add_filter( 'bblpro_validation_errors', function ( $errors, $submitted_data, $post_data ) { $status = $post_data['post_status']; if ( ! empty( $submitted_data['bbl_post_title'] ) && bblpro_custom_get_words_count( $submitted_data['bbl_post_title'] ) > 20 ) { $errors->add( 'bbl_post_title', __( 'Title must have less than 20 words.' ) ); } // additional check for publish. if ( 'publish' === $status && bblpro_custom_get_words_count( $submitted_data['bbl_post_content'] ) < 150 ) { $errors->add( 'bbl_post_content', __( 'Content must have at least 150 words.' ) ); } return $errors; }, 10, 3 ); /** * Counts number of words in a string. * * @param string $str string. * * @return int */ function bblpro_custom_get_words_count( $str ) { $words = preg_split( "/[\n\r\t ]+/", $str, - 1, PREG_SPLIT_NO_EMPTY ); return count( $words ); }Please feel free to extend it.
No, the plugin can not use BuddyBoss uploader currently.
Regards
Brajesh - Brajesh Singh on October 25, 2021 at 11:02 pm in reply to: Hide the profile tabs for the users who did not setup their profile #41249
Hi John,
I am sorry, the profile tabs pro is not suitable for this use case.Btw, BuddyPress should only show the profile group which has data for the user. Other groups are not shown by default on the profile view screen.
Regards
Brajesh - Brajesh Singh on October 25, 2021 at 6:41 pm in reply to: [Resolved] Doubled Published Article and Custom Code not working #41246
Hi Niculae,,
Thank you for the replies.1. You can use the shortcode on a page or the create tab on profile. It is your preference and we support both of these. Using shortcode allows you to have a larger screen for posting, using create tab provides better integration as other tabs are available on the same screen.
Both will work fine. Please feel free to use any of those.
Please note: If you use shortcode, Please make sure to select the page on the BuddyBlog Pro Post Types “Create” section. Otherwise, it will not work.
2. Thank you for the suggestion about the title and the content word count. We are hoping to enable word count for content in next 2 updates. I am not sure about enabling this for the title.
Please feel free to use javascript to do that for title.
Regards
Brajesh