Replies
- Brajesh Singh on April 12, 2022 at 10:04 pm in reply to: Custom post types on sitewide “blog” #44387
Hi Elizabeth,
There are 2 options for you to use the form.do you want to allow users to post from their profile or do you want users to post from a WordPress page?
1. Please publish the form as I suggested in my previous reply and visit Dashboard->BuddyBlog ->Settings
2. Under your specific “Post Type” section, Please go though the the the tab settings.
3. You will find the “Post Creation” section, It is 3rd section from the top.
4. In this section, you can configure who can post and who can see the tabs.
5. Please select your form here. all the published form for this specific post type appears in the dropdown “Post Form”6. Now, the users will be able to create post from their profile.
7. If you do not want user’s to create post form their profile and would like to use a page instead, Please select a page in the option “Create Page”. It is just below the Post Form option. After saving the settings, Please make sure to coy the suggested shortcode to this page. This step is only required if you want to use a page for creating posts.
Please let me know if you are able to configure it or not?
Thank you
Brajesh Hi Elizabeth,
Welcome to BuddyDev support forums.Yes, it allows all users to post to one blog. I am not sure what do you mean by creation widgets? You can use any widgets that work with custom post type.
Here is the steps to use it:-
1. Please create a custom post type using any of the plugins(CPTUI or Pods or something similar) that allow creating custom post type(Or you can use the Posts post type if you want to).
2. Create a BuddyBlog Form and use this post type in the post type settings section. Configure this form for various publishing actions.
3. Please visit Dashboard->BuddyBlog->Settings and open the tab named after your post type. At the bottom of that settings page, Please scroll down to the bottom “Misc Settings” section.
You can turn off the posts showing on profile there by using the option “Make single post viewable on profile?”
That will make the posts visible on the normal site instead of the profile.
Hope that helps.
Regards
BrajeshHi Arinnat,
Welcome to BuddyDev forums.Please visit Dashboard->MediaPress->Settings and under the “General” tab, Please make sure to enable Group Gallery.
After saving the settings, Please visit The “Group Gallery” tab and update it as you need.
Regards
BrajeshHi Dale,
Thank youI will be looking at your issue this week and testing with the specific theme .
As far as Transcoder is concerned, MediaPress simply invokes FFMPEG on your server with the uploaded media file and It is FFMPEG which is the real encoder/handling the transcoding. MediaPress simply manages invoking the transcoder, managing the queue(in database) and updating meta details on conversion.
All the FFMPEG jobs are run as background process and if you are on a Linux server, you can run ‘jobs’ from terminal to see any pending jobs. We only run a new FFMPEG process on video upload and we do not keep it running infinitely. It is one off process for each of the media. If it seems to be running continuously, Please approach the server support.
There are many reasons for a slow transcoder/high resource usage, I will leave the transcoder debugging aside as you are no longer using it.
Regards
BrajeshHi Giuseppe,
Thank you for the reply and the details.I am not sure what could be causing it if you have already translated it(probably an override in theme).
If the author has sent you a file, Please use it for now and put it in your child theme.
Regards
Brajesh- Brajesh Singh on April 11, 2022 at 9:21 am in reply to: Only user_role/user_can are able to accept user testimonals #44374
Hi,
instead of current_user_can, Please use the user_can like the followingif( ! user_can($user_id, 'publish_products') ) { $is_enabled = false; }This will work for displayed user.
Regards
Brajesh Hi Dale,
Thank you for the replies.The transcoding is a very resource intensive process and there is a huge prossobility that your server is killing the transcoder process. We encountered this issue recently with SiteGround server. It was solved by approaching siteground support.
Local transcoder is not suitable for large files or if your site has large number of users uploading videos. We have it specified as a note for the local transcoder plugin.
The best strategy for transcoding is to offloaded the processing. we are working on Elastic Trancoder support in future.
Regards
Brajesh- This reply was modified 3 years, 10 months ago by
Brajesh Singh. Reason: updated
- This reply was modified 3 years, 10 months ago by
Hi Fabien,
1. I am sorry, you can not add links in the placeholder. If you did, It will simply be shown as text.
2. Please contact theme author. They can provide some js. This is very much specific to theme and how they manage/override compatibility with BuddyPress.Generally, the second approach can be achieved via javascript easily.
Regards
Brajesh- Brajesh Singh on April 11, 2022 at 1:24 am in reply to: Buddypress Reply button / modifiy link #44364
Hi Fabien,
Welcome to BuddyDev support forums.What you are looking for is the default expected behaviour. It seems you might have the setting enabled to allow comments on blog/forum posts.
Please visit dashboard->Settings->BuddyPress->Options and un tick “Allow activity stream commenting on posts and comments”
Please note that it will disable the comment button in the activity stream too. If you want to maintain the Ui, please consult your theme author and ask them to add a button for forum activity even when it is disabled. Also, if they added the button, they should avoid the class “acomment-reply” on the button to avoid the form being pulled via js.
Regards
Brajesh - Brajesh Singh on April 11, 2022 at 1:15 am in reply to: Only user_role/user_can are able to accept user testimonals #44362
Hi,
Thank you for the question.
yes, both of these are doable.here is some sample code for that.
// disable testimonials component for some users. add_filter( 'bp_testimonial_enabled_for_user', function( $is_enabled, $user_id ) { // process return $is_enabled; }, 10, 2 ); /// limit show can write add_filter( 'bp_testimonial_user_can_write', function($can) { if( ! is_user_logged_in() ) { return $can; } // in case you want to find the user for whom testimonial is being written // it is displayed user. // $displayed_user_id = bp_displayed_user_id(); // check for current user if( current_user_can('read') ) { // update $can to true/false/ } return $can; });Hope you can adapt it for your purpose. Please let me know if you want me to put an example with roles?
Regards
Brajesh- This reply was modified 3 years, 10 months ago by
Brajesh Singh. Reason: updated code slightly
- This reply was modified 3 years, 10 months ago by