Replies
- Brajesh Singh on October 1, 2015 at 8:50 am in reply to: [Resolved] Fantastic plugin ut I get an error… andy chance of assistance? #663
Wow, That was some fast reply 🙂
Sure, we are going to have some good time today after the release 🙂 - Brajesh Singh on October 1, 2015 at 8:47 am in reply to: [Resolved] Fantastic plugin ut I get an error… andy chance of assistance? #661
Hi Jan,
Just updating that a new update is coming in couple of hours now. That should fix all the bugs. Thank you. It will need some css. Will check with social login today and provide you the css.
Hi george,
Can you please point me to your site/activity page?- Brajesh Singh on October 1, 2015 at 8:45 am in reply to: buddyblog display posts and custom post type at the same time #658
Hi Richard,
Thank you
1. You are right about that. The reason is I used ‘buddyblog_get_posttype()’ in the array. You can replace that by the custom post type and it won’t need you to select them in the settings.
2. This requires a change in core file, Please open buddyblog-functions.php and on line 58
change
$count = $wpdb->get_var( $wpdb->prepare( "SELECT count('*') FROM {$wpdb->posts} WHERE post_author=%d AND post_type=%s AND (post_status='publish'||post_status='draft')", $user_id, buddyblog_get_posttype() ) );
to
$count = $wpdb->get_var( $wpdb->prepare( "SELECT count('*') FROM {$wpdb->posts} WHERE post_author=%d AND (post_status='publish'||post_status='draft')", $user_id ) );
That will do it.
- Brajesh Singh on October 1, 2015 at 8:41 am in reply to: Blog Categories for groups – feature request – more blogs displayed #657
Hi George,
The plugin should allow pagination. Is it not allowing that? Hi,
Just trying to find some clarifications here.
A Term can be used by more than one user, is that correct?Also, you only want to display the terms used by the user and not all the terms in that particular taxonomy?
- Brajesh Singh on October 1, 2015 at 8:37 am in reply to: [Resolved] Fatal error: Call to undefined function mpp_group_is_gallery_enabled() #655
Hi Deepak,
I am sorry for the trouble. I will be pushing an update in 3-4 hours and that will fix it. - Brajesh Singh on September 30, 2015 at 1:03 pm in reply to: buddyblog display posts and custom post type at the same time #647
Hi Richard,
Apologies for the delayed reply.No change in the plugin core file is required.
Please copy buddyblog/templates/buddyblog to your theme/buddyblog
Those are template files. Then,open posts.php and change this line$query_args = array( 'author' => bp_displayed_user_id(), 'post_type' => buddyblog_get_posttype(), 'post_status' => $status, 'paged' => intval( $paged ) );
to
$query_args = array( 'author' => bp_displayed_user_id(), 'post_type' => array( 'post', buddyblog_get_posttype(), 'other-post-type'),//all post types 'post_status' => $status, 'paged' => intval( $paged ) );
That will make it list everything. Same goes for buddyblog/single.php
Hope that helps.
- Brajesh Singh on September 30, 2015 at 12:59 pm in reply to: Inviting Ideas for the best ever WordPress Gallery Plugin #646
Hi George,
Thank you. Those are some great ideas and most of theme I have covered in upcoming release.