Replies
- Brajesh Singh on July 6, 2019 at 5:23 am in reply to: Users able to Login without Activating Their Accounts #23882
Hi Mocha,
This is not a bug in BuddyPress. Most probably your theme(custom theme?) or some plugin is causing it. Solution is to disable plugins/change theme and check for the same to find the source.Regards
Brajesh Hi,
Thank you for using the plugin.Please disable it and use the following code(in plugins/bp-custom.php or your theme’s functions.php)
/** * Redirect user to their profile if they are not admin. * * @param string $redirect_to_calculated calculated redirect. * @param string $redirect_url_specified specified redirect. * @param WP_User $user user. * * @return string */ function bpdev_custom_redirect_to_profile( $redirect_to_calculated, $redirect_url_specified, $user ) { if ( ! $user || is_wp_error( $user ) ) { return $redirect_to_calculated; } // If the redirect is not specified, assume it to be dashboard. if ( empty( $redirect_to_calculated ) ) { $redirect_to_calculated = admin_url(); } // if the user is not site admin, redirect to his/her profile. if ( function_exists( 'bp_core_get_user_domain' ) && ! is_super_admin( $user->ID ) ) { return bp_core_get_user_domain( $user->ID ) . bp_get_activity_slug() . '/following/'; } // if site admin or not logged in, do not do anything much. return $redirect_to_calculated; } add_filter( 'login_redirect', 'bpdev_custom_redirect_to_profile', 101, 3 );Regards
Brajesh- Brajesh Singh on July 5, 2019 at 8:04 pm in reply to: BuddyBlog – How Post to different Site ID from BP #23873
Hi Jared,
Thank you for the topic. It seems, we may achieve it using switch_to_blog and restore restore_current_blog.
Please allow us to test it as a proof of concept next week and get back to you.
Thank you
Brajesh - Brajesh Singh on July 5, 2019 at 8:01 pm in reply to: mediapress always shows nothing on activity stream #23872
Hi bonga,
I am sorry for the inconvenience.Which theme are you using? Also, which template pack is enabled. Please let me know and I will assist.
Regards
Brajesh - Brajesh Singh on July 5, 2019 at 8:00 pm in reply to: Plugin request – Block disposable email addresses #23871This reply has been marked as private.
Thank you Mike. I will put a filter for the same.
- Brajesh Singh on July 5, 2019 at 7:56 pm in reply to: [Resolved] pre-purchase questions for a plugin #23869
Hi Brian,
I am sorry. We will not be able to add user to user blocking functionality(like providing a block button) in this plugin as moderation/reporting and blocking are different things.If you are looking for blocking when a user reports other user and automating the process of blocking from message, unfriending etc then it is coming in future version.
Regards
Brajesh Hi Tosin,
Branded login does not use ajax to handle login. You do not need to add a loading icon. That will not make any sense as the complete page is reloaded on click without any delay.If you still want to add the loading indicator, please feel free to use any loading icon and hide them by default. Use a javascript snippet to make them visible when the button is clicked.
PS:- In future, Please start a new topic for new questions/support request. That helps us keep the support forums more organized(and searchable for others looking for the same thing).
Regards
Brajesh- Brajesh Singh on July 5, 2019 at 7:46 pm in reply to: [Resolved] Moderation Tools – Report Button on CPTs #23867
Hi Vivek,
Hope you are doing well. Please upgrade to 1.2.3 and you can use the shortcode
[bpmts_report_button] for adding a button.https://buddydev.com/plugins/buddypress-moderation-tools/
By default, it ads the report button for the current post. You can use the following options to customize it.
label:- Change the button label. Optional. default is ‘Report’.
item_id:- numeric item id. Optional. Default is current post id.
item_type:- registered item type. optional. Default is current post type.
context:- Any meaningful context. Optional. default is current post type.
context_id:- Any id to help make sense of the context. Optional. default is post id.Hope this help.
Regards
Brajesh - Brajesh Singh on July 5, 2019 at 1:10 am in reply to: Plugin request – Block disposable email addresses #23859This reply has been marked as private.