Replies
- Brajesh Singh on April 23, 2018 at 12:54 am in reply to: [Resolved] BP Profile Tab Pro – Default Tab Error #14724
Hi Sujee,
No problem.You most probably copied the function name and php does not allow two function definitions with same name in any given scope/namespace.
Here is how you can do it.
/** * Register post type for User Content. */ function buddydev_register_post_type() { register_post_type( 'bp_user_content', array( 'label' => 'User Content', 'labels' => array( 'name' => 'User Contents' ), 'public' => false, 'show_ui' => true, 'supports' => array( 'title', 'editor', 'author', 'custom-fields' ) ) ); /* New post type*/ register_post_type( 'post_type_name', array( 'label' => 'Label Post Type', 'labels' => array( 'name' => 'Plural Label' ), 'public' => false, 'show_ui' => true, 'supports' => array( 'title', 'editor', 'author', 'custom-fields' ) ) ); } add_action( 'init', 'buddydev_register_post_type' );I hope it helps.
- Brajesh Singh on April 22, 2018 at 10:54 pm in reply to: [Resolved] BP Profile Tab Pro – Default Tab Error #14722
Hi Sujee,
Thank you.Yes, you are right about that. All you have to do is register a new post type and use that in the shortcode.
Best regards
Brajesh - Brajesh Singh on April 22, 2018 at 10:39 pm in reply to: [Resolved] BP Profile Tab Pro – Default Tab Error #14720
The code snippet is for registering a new post type. You can put it in bp-custom.php
Also, please make sure to use the updated shortcode in the profile tabs content.
Regards
Brajesh - Brajesh Singh on April 22, 2018 at 10:32 pm in reply to: [Resolved] MediaPress Default Resolution #14718
Hi Sujee,
Thank you.1. MediaPress stores the original image. So it is available but not shown in the lightbox. There was a bug in 1.3.5 which showed the larger image on the single but not the original. It is fixed but I haven’t released an update. I will bundle an update today.
2. We also have a donwloadable media addon that you can use to show a download link for each of the media
Thank you
Brajesh - Brajesh Singh on April 22, 2018 at 10:27 pm in reply to: Error warning. Message + Profile Privacy plugin #14717
I will check today and get back to you.
Thank you.
Hi Julia,
Please login to Dashboard and activate the plugin.
Once that is done, Please visit Dashboard->Settings->BuddyPress->Pages and assign pages for Login, Forget password, Logout etc.After that it will work as expected.
Regards
BrajeshHi Jill,
Sure.changing this
if ( ! function_exists( 'bppg_get_image' ) ) { return ;// no trouble when the plugin is disabled }to this
if ( ! bp_is_user_activity() || ! function_exists( 'bppg_get_image' ) ) { return ;// don't do anything on non activity page. }Will do it.
Best regards
Brajesh- Brajesh Singh on April 22, 2018 at 10:19 pm in reply to: [Resolved] BP Profile Tab Pro – Default Tab Error #14714
Hi Sujee,
Thank you.I am using the following code to register a post type
/** * Register post type for User Content. */ function buddydev_register_post_type() { register_post_type( 'bp_user_content', array( 'label' => 'User Content', 'labels' => array( 'name' => 'User Contents' ), 'public' => false, 'show_ui' => true, 'supports' => array( 'title', 'editor', 'author', 'custom-fields' ) ) ); } add_action( 'init', 'buddydev_register_post_type' );and the following shortcode
[bp-user-last-post post_type='bp_user_content']And it is working.
I am not sure of the issue but I am guessing your issue may have to do with the post type registration.Please give it a shot and let me know if this works for you or not?
Regards
Brajesh You will need someone to do the css for you. I am sorry but our support is limited. You will need to hire someone from upwork or codeable to do it for you.
Regards
Brajesh- Brajesh Singh on April 21, 2018 at 6:11 pm in reply to: Simple update "profile privacy plugin" #14706
Sorry, The plugin is hardcoded and It can not be modified. Sorry about this.