Replies
- Brajesh Singh on August 5, 2015 at 12:52 pm in reply to: [Resolved] Separating BuddyBlog posts from Main Blog #76
Hi Rojo,
Thank you for the reply.Some of our plugins are not auto up gradable and we are making a transition to allow them to be auto up gradable in future. It is related to the plugin slug vs directory issue for 3-4 plugins. We have updated two other plugins and will update simple front end post directory naming too.
I am marking this topic as resolved now. Please feel free to open topics in future if you need further help.
have a great day 🙂
Brajesh - Brajesh Singh on August 4, 2015 at 7:26 pm in reply to: BP Xprofile Member Type Field – field not recognized #74
Also, I have moved the topic to BuddyPress sub forum.
- Brajesh Singh on August 4, 2015 at 7:23 pm in reply to: BP Xprofile Member Type Field – field not recognized #73
Hi Ian,
Welcome to the BuddyDev forums.The problem lies with the profile search plugin. I just had a cursory look at it but could not find any proper hook. Please ask Andrea to if there is any available hook or can she provide an action or filter to allow us generate custom output.
As soon as she adds the hook, I can provide some custom code but I nead some hook from the bp profile search plugin.
- Brajesh Singh on August 4, 2015 at 2:58 pm in reply to: [Resolved] Separating BuddyBlog posts from Main Blog #71
Please do download and upgrade. It is available on the site now.
I am looking forward to your feedback. - Brajesh Singh on August 4, 2015 at 10:58 am in reply to: [Resolved] Separating BuddyBlog posts from Main Blog #69
Hi Rojo,
Thank you.I have updated both the plugins now. It fixes the typo and allows you to control where to redirect from the BuddyBlog settings.
Please make sure o upgrade to BuddyBlog 1.1.3 and Simmple Front End Post 1.2.1.
The redirect feature needs BP Simple Front End Post 1.2.1If you are looking for easy upgrade, you might want to install BuddyDev Dashboard, that allows automatic upgrade for our plugins.
Please do check and let me know if it works for you or not?
- Brajesh Singh on August 4, 2015 at 4:14 am in reply to: [Resolved] Separating BuddyBlog posts from Main Blog #67
Hi Rojo,
Thank you.
I am glad that you figured out most 🙂For the typo and the redirect, I will update the plugin again today and post back then.
- Brajesh Singh on August 3, 2015 at 6:38 pm in reply to: [Resolved] Separating BuddyBlog posts from Main Blog #63
Also, here is the post where we had introduced BuddyBlog 1.1
https://buddydev.com/buddypress/reintroducing-buddyblog-supporting-custom-post-typestaxonomies-for-buddypress-user-blogs/ - Brajesh Singh on August 3, 2015 at 6:37 pm in reply to: [Resolved] Separating BuddyBlog posts from Main Blog #62
Hi Rojo,
Welcome to the BuddyDev Forums.I am sorry that we could not get back to you over mail. Things have been a little bit hectic here as we are trying to improve the support experience.
Now getting back to the topic, which version of BuddyBlog you are using? Is it version 1.1 or above? If yes, most of the things you want can be configured from Admin settings.
Please visit Dashboard->settings and click on the ‘BuddyBlog’ menu. You will see the settings option there.
1. Please check the settings for ‘Show single posts on user profile?’ make sure it is set to yes. That will make the posts to be linked on profile. They will be still visible on the blog archive post(on main site, I will get back on excluding in a minute.
2. To exclude the posts from the main blog:- There are multiple ways to achieve it. I am not sure which will suit you the best, so I will list both the approach.
2a) If possible, you can create a custom post type and select that as the BuddyBlog post type from the settings page. This will make sure that the custom post type is never visible on your main blog.
2b) Second approach is to limit posts to 1 category and exclude that category from main blog.
It will need some code
add_action( 'bsfep_post_saved', 'buddydev_add_default_category_to_post' ); function buddydev_add_default_category_to_post( $post_id ) { $post = get_post( $post_id ); if( ! $post ) return ; if( $post->post_status == 'publish' ) { $term = 'alpha-beta';//change this to your category slug wp_set_object_terms( $post->ID, $term, 'category'); } }
Please change ‘alpha-beta’ to your category slug in the above. Make sure you have Enable taxonomy disabled in the settings. Now when the user will post, It will be assigned the given category.
Excluding category
function buddyblog_custom_exclude_category( $query ) { //don't modify in admin list or on BuddyPress pages if( is_admin() || is_buddypress() ) return ; if ($query->is_main_query() ) { $query->set( 'cat', '-32' );//IMPORTANT: change 32 to your category id. Please make sure to keep the minus(-) } } add_action( 'pre_get_posts', 'buddyblog_custom_exclude_category' );
Make sure to change 32 to the user category id.
I will prefer the first approach though as that is very straightforward
3. Change slug ‘buddyblog’ from url
define( 'BP_BUDDYBLOG_SLUG', 'some-slug-that-you-want');
Put that code in the bp-custom.php( link: https://buddydev.com/docs/guides/guides/buddypress-guides/what-is-bp-custom-php/) and that should do it.
Let me know if you need further assistance.
Thank you
Brajesh - Brajesh Singh on August 2, 2015 at 10:34 pm in reply to: [Resolved] Dates in Testimonials are not localized #55
Thank you for being a valuable member and a good friend Hans.
Always happy to be at your service 🙂 - Brajesh Singh on August 2, 2015 at 10:33 pm in reply to: [Resolved] I installed Buddypress Facebook Connect. Not Happy! #53
Hi Tim,
No problem. At BuddyDev, we value your membership. For refunds, we have a no question policy. Your happiness is more important.
All the best with your project and please do let us know in future if we can be of any help.