Replies
- Brajesh Singh on December 16, 2016 at 5:40 am in reply to: Display user role change in Activity stream #6821
Hi Mitch,
Please put this code in your bp-custom.phpfunction buddydev_record_role_change_activity( $user_id, $role, $old_roles ) { $role = get_role( $role ); if ( ! $role ) { return ; } //Brajesh has become Author $action = sprintf( '%s has become %s', bp_core_get_user_displayname( $user_id ), $role->name ); xprofile_record_activity( array( 'user_id' => $user_id, 'action' => $action, 'content' => '', 'type' => 'role_changed' ) ); } add_action( 'set_user_role', 'buddydev_record_role_change_activity', 10, 3 );Hope that helps.
- Brajesh Singh on December 16, 2016 at 5:19 am in reply to: [Resolved] Personal not linking to personal #6820
Hi Chris,
Please put this in your bp-custom.php/** * Update the url of the "Activity->Personal" link in the adminbar */ function buddydev_update_personal_activity_in_admin_bar() { global $wp_admin_bar; if ( ! is_user_logged_in() ) { return ; } // Update personal activity Url for the logged in user $wp_admin_bar->add_menu( array( 'parent' => 'my-account-activity', 'id' => 'my-account-activity-personal', 'href' => bp_loggedin_user_domain() . bp_get_activity_slug() . '/personal/', ) ); } add_action( 'bp_activity_setup_admin_bar', 'buddydev_update_personal_activity_in_admin_bar', 100 );Please do let me know if that works for you or not?
Thank you
Brajesh - Brajesh Singh on December 16, 2016 at 5:04 am in reply to: Community Builder Theme – Colors Question #6819
Hi Dave,
Thank you for the mail. yes, the Facy Blue Theme style was originally not intended for the BuddyPress. I guess you are willing to use and so will others too. So, we are adding better BuddyPress compatibility for the Facy Blue theme as mentioned on email.Thank you
Brajesh - Brajesh Singh on December 15, 2016 at 11:46 am in reply to: Feature Request – Attatch media files in group comments section #6812
Hi Chris,
what is your allowable timeline for the project?Thank you
Brajesh - Brajesh Singh on December 15, 2016 at 11:45 am in reply to: How can user lock and unlock their profile using BuddyPress. #6811
Hi Hetal,
We have a plugin specifically for that purpose.https://buddydev.com/plugins/bp-deactivate-account/
It is a premium plugin.
Since you are a developer yourself, I will share the strategy. You can just store a meta key for account deactivation and in the User query, just exclude all users having that meta key.
Hope that helps.
- Brajesh Singh on December 14, 2016 at 9:08 pm in reply to: [Resolved] Community Builder with WPAdverts #6808
Hi Graham,
The update is available nowPlease download it from your account page.
For the list of changes, Please see this link
https://buddydev.com/docs/guides/community-builder/miscellaneous/community-builder-releasesThe release fixes the issue with the WPAdverts(please try uploading new images and check) and adds layout compatibility with Geo Directory. It also fixes the selectbox issue( and in future should be compatible with any plugin using select2/choose scripts).
Also, I have updated the tutorial for the verified plugin, In WordPress 4.7, Additional CSS was introduced and putting our code there makes it work.
Please do let me know your findings.
Thank you
Brajesh - Brajesh Singh on December 14, 2016 at 9:05 pm in reply to: hey not sure what happened but I never got a reply for my old feed….. #6807
Hi Michael,
I am sorry It seems we missed that. can you please give a try to the current version(we had an update 2-3 days ago) and let me know if the issue is still there?Thank you
Brajesh - Brajesh Singh on December 14, 2016 at 9:03 pm in reply to: Community Builder Theme – Colors Question #6806
Hi Dave,
The theme update is available now. Please see the below link for changelog
https://buddydev.com/docs/guides/community-builder/miscellaneous/community-builder-releasesThank you
Brajesh - Brajesh Singh on December 14, 2016 at 6:21 pm in reply to: Community Builder Theme – Colors Question #6805
Hi Dave, An update will be available in an hour.
Thank you
Brajesh Hi Dave,
Those are activity avatars. what size you will like to have them? Do you want to have different size for activity and activity comments? Please let me know and I will help.About admin dashboard:-
You can put the following code in your theme’s functions.php
function buddydev_scrollable_users_list_css() { ?> <style type="text/css"> body.users-php .wrap { overflow-x: auto; } body.users-php table.users { table-layout: unset; } </style> <?php } add_action( 'admin_print_footer_scripts-users.php', 'buddydev_scrollable_users_list_css' );That should do it.
Hope that helps.regards
Brajesh