Replies
- 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. Hi George,
The current MediaPress needs you to visit MediaPress->settings and click on “Save Changes” atleast once. Sorry for the confusion. Please try updating the settings and things will come back to normal.- Brajesh Singh on September 29, 2015 at 4:56 pm in reply to: buddyblog display posts and custom post type at the same time #638
Hi Richard,
Welcome to BuddyDev forum.If you are only concerned about displaying then I can easily guide you. If you want to allow users to write posts for multiple post type then BuddyPress can not handle that. The limitation is due to the need of different UI for allowing creating posts and having separate forms for each of these.
Please do let me know if you just need to display it.
- Brajesh Singh on September 29, 2015 at 1:57 pm in reply to: Activity Lightbox on/off setting has no affect on.. activity lightbox #634
Hi Micah,
Most probably, I forgot to enable keyboard navigation. Will look into it today. - Brajesh Singh on September 29, 2015 at 1:54 pm in reply to: [Resolved] Fantastic plugin ut I get an error… andy chance of assistance? #633
Hi Jan,
Apologies for the delay.
The changes are huge, specially for templates, so I was just trying to make sure that we won’t have to break them in future.I am currently working on a few fixes on activity optimization and I am hopeful to have this plugin released today.
Please do know that MediaPress is my only priority and will remain so as we consider it the most important plugin on BuddyDev.
We are working and will continue to work to make MediaPress the most loved Media plugin for BuddyPress & WordPress.
When I push the release today, you will be surprised to see the things it allows us now 🙂