Replies
- Brajesh Singh on October 26, 2017 at 12:24 pm in reply to: Reorganize input profile and Xprofile fields in register.php with Ajax Register #11315
Hi Gert,
It is feasible and we have done it in past.
For now, I will suggest waiting for 4-7 days as we may have next version that allows it out of the box. We are also including the login/forget password support too.Thank you
Brajesh - Brajesh Singh on October 26, 2017 at 12:20 pm in reply to: [Resolved] Remove buddyblog "Posts" link in menu #11314
Hi Janelle,
Are you referring to the adminbar or the profile menu? Can you please put a screenshot and link here?Thank you
Brajesh - Brajesh Singh on October 26, 2017 at 12:19 pm in reply to: [Resolved] blog categories for groups | an issue of showing posts in activity stream #11313
Hi Mohamed,
here is the code that we use(similar to this)function buddydev_update_activity_args_on_publish( $args ) { if ( $args['component'] !== 'blogs' || $args['type'] !== 'new_blog_post' ) { // change type to yours. return $args; } // It must be post publish. let us check for the post meta. // check if this was saved via BCG. $post_id = $args['secondary_item_id']; $group_id = get_post_meta( $post_id, '_bcg_group_id', true ); if ( ! $group_id ) { return; } $args['component'] = 'groups'; $args['item_id'] = absint( $group_id ); return $args; } add_action( 'bp_after_activity_add_parse_args', 'buddydev_update_activity_args_on_publish' );You can change this
$args['type'] !== 'new_blog_post'and replace ‘new_blog_post’ with your activity type.
And it will work. You can put the above code in your bp-custom.php
Regards
Brajesh Hi Thomas,
My apologies for the delayed reply.We will need a few days before we can assist you on this. Things are a bit delayed at the moment since we have just resumed the work after a week of holidays and currently clearing the backlog.
Thank you
BrajeshHi Thomas,
Thank you.
We will update it in next 2-3 days. Things are a bit delayed at the moment since we have just resumed the work after a week of holidays.Will update before the weekend and message you.
Thank you
Brajesh- Brajesh Singh on October 24, 2017 at 10:44 pm in reply to: "BuddyPress Deactivate Account" email notification #11307
Hi Margarita,
For now,
Please open “WCDFE.php” in the wp-change-default-email pluginand change line 64 from
add_action( 'init', array(&$this, 'init' ));to
$this->init();That should do it.
Regards
Brajesh - Brajesh Singh on October 24, 2017 at 10:37 pm in reply to: [Resolved] How to approve photos before be published in user's profile? #11305
Thank you Margarita. Glad we have finally resolved it 🙂
- Brajesh Singh on October 21, 2017 at 11:47 am in reply to: [Resolved] blog categories for groups | an issue of showing posts in activity stream #11279
The reason is your activity type for the generated activity is not “new_blog_post” . We filter on this type to set the groups component
Thank you for the email and I have seen that you are using a different type. I will send you some guideline tonight or tomorrow to how to get it working with your custom code.
Thank you
Brajesh - Brajesh Singh on October 20, 2017 at 5:36 pm in reply to: [Resolved] blog categories for groups | an issue of showing posts in activity stream #11276
Hi Mohamed,
I have marked your reply as private since it contained the email address. Also, have sent you the plugin.Regards
Brajesh - Brajesh Singh on October 20, 2017 at 2:51 pm in reply to: [Resolved] blog categories for groups | an issue of showing posts in activity stream #11273
There was an issue and i have managed to get it work. Before going for release, I want to cleanup a few more things.
If you need it urgently, please let me know and I will send a copy via email. Also, I haven’t tested it with the CPT but post(They should be same), so your feedback will help.
Thank you
Brajesh