Replies
- This reply has been marked as private.
- Brajesh Singh on April 20, 2016 at 12:51 pm in reply to: [Resolved] Echo buddypress profile header contents in sidebar #3652
Hi James,
Thank you for the kind words. I am glad we were able to help.
All the best with your project.Regards
Brajesh - Brajesh Singh on April 20, 2016 at 12:50 pm in reply to: Gallery Details Page Description Field Doesn't Save Shortcodes #3651
Hi Horton,
Just wanted to give you another update.1.The bug seems to be with BuddyPress. Have been trying to debug it and it seems it lies with the way BuddyPress provides theme compatibility. Try posting the shortcode to activity and see if it works or not?
2. I am trying to find a reason for this and will update again and open a ticket on BuddyPress track. If you want me to allow html content in the description, please do let me know, I can easily allow that. It is controlled by MediaPress.
Thank you
Brajesh Hi Brendan,
Thank you for posting. Can you please point me to the plugin you are using to restrict categories. I will need to add compatibility for the specific plugin to make it work together.Thank you
Brajesh- Brajesh Singh on April 20, 2016 at 12:06 pm in reply to: [Resolved] Echo buddypress profile header contents in sidebar #3647
Hi James,
Welcome to BuddyDev.You can use the following function to get the image url like this
$image_url = bp_attachments_get_attachment('url', array( 'item_id' => bp_displayed_user_id() ) );Try using it and let me know if it helps or not?
Thank you
Brajesh - Brajesh Singh on April 19, 2016 at 11:04 pm in reply to: Gallery Details Page Description Field Doesn't Save Shortcodes #3643
Hi,
Just wanted to give you an update. I have been working on it and I am facing a few issues specially related to the use of shortcode. As soon as the theme compat templates are used, our shortcode goes empty. I am looking further and will update you again. - Brajesh Singh on April 19, 2016 at 8:46 pm in reply to: [Resolved] BP Simple Front End Post Form #3640
Hi Leo,
Thank you for confirming.
Marking it as resolved now. - Brajesh Singh on April 19, 2016 at 8:46 pm in reply to: [Resolved] BP Editable Activity and BP Groups #3639
Thank you Leo 🙂
- Brajesh Singh on April 19, 2016 at 8:45 pm in reply to: [Resolved] Blog Categories For Groups and Custom Taxonomies #3638
Hi Ada,
when you copied the code from the referenced post, you might have used the following code from step 5.function bcg_custom_forms_args( $args ) { $args['tax'] = array(); $cusom_fields = isset( $args['custom_fields'] ) ? $args['custom_fields']: array() ; $group = groups_get_current_group(); if( empty( $group ) || empty( $group->id ) ) { return $args; } $cats = bcg_get_categories( $group->id ); //if there is no category set if( empty( $cats ) ) { //create if not exists $cats = bcg_custom_create_group_category( $group ); } if ( empty( $cats ) ) { return $args; } $cusom_fields['_bcg_selected_category'] = array( 'type' => 'hidden', 'default' => $cats[0], 'label' => '' ); $args['custom_fields'] = $cusom_fields; $args['post_status'] = 'publish'; return $args; } add_filter( 'bcg_form_args', 'bcg_custom_forms_args' );Please change that to this
function bcg_custom_forms_args( $args ) { $tax = $args['tax']; unset( $tax['category'] );//we don't need a box for category $args['tax'] = $tax; $cusom_fields = isset( $args['custom_fields'] ) ? $args['custom_fields']: array() ; $group = groups_get_current_group(); if( empty( $group ) || empty( $group->id ) ) { return $args; } $cats = bcg_get_categories( $group->id ); //if there is no category set if( empty( $cats ) ) { //create if not exists $cats = bcg_custom_create_group_category( $group ); } if ( empty( $cats ) ) { return $args; } $cusom_fields['_bcg_selected_category'] = array( 'type' => 'hidden', 'default' => $cats[0], 'label' => '' ); $args['custom_fields'] = $cusom_fields; $args['post_status'] = 'publish'; return $args; } add_filter( 'bcg_form_args', 'bcg_custom_forms_args' );We were removing all the taxonomies causing the issue. Updating that section should make it work. Please give it a try. Another small modification may be required if it does not work for you. Please do let me know how it goes with you.
- Brajesh Singh on April 19, 2016 at 6:34 pm in reply to: [Resolved] Remove the subject line requirement in messages? #3634
Glad to know that 🙂 You are most welcome.