Hello, that is a widget located at Appearance > Widgets
If you have problems with users being redirected to admin panel, try this code in bp-custom.php in wp-content/plugins folder:
COPY CODE
/*Make sure profile is default component*/
define('BP_DEFAULT_COMPONENT','profile');
/*let us filter where to redirect */
add_filter("login_redirect","bpdev_redirect_to_profile",10,3);
function bpdev_redirect_to_profile($redirect_to_calculated,$redirect_url_specified,$user)
{
if(empty($redirect_to_calculated))
$redirect_to_calculated=admin_url();
/*if the user is not site admin,redirect to his/her profile*/
if(!is_site_admin($user->user_login))
return bp_core_get_user_domain($user->ID );
else
return $redirect_to_calculated; /*if site admin or not logged in,do not do anything much*/
}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Laura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂