Replies
- 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.
- Brajesh Singh on April 19, 2016 at 6:34 pm in reply to: [Resolved] BP Editable Activity and BP Groups #3633
Hi Leo,
Please upgrade to 1.1.3 and It will work.
Hope that helps.Thank you
Brajesh Hi Dandy,
Most probably you changed the text in the original widget earlier. This lineThere are no users currently onlineshould match the exact line which is there in the widgets file.
- Brajesh Singh on April 19, 2016 at 2:49 pm in reply to: [Resolved] BP Editable Activity and BP Groups #3630
Hi Leo,
Thank you for reporting the issue. I am looking at it. will have a solution soon.Thank you
Brajesh Hi Brendan,
Thank you for confirming.Please modify the form.php as you wish to make it look better.