-
Dr. Krunal Soni's profile was updated 1 year, 11 months ago
-
Varun Dubey replied to the topic BuddyPress Settings->URLs User Groups accordion panel is missing in the forum How-to & Troubleshooting 1 year, 11 months ago
@agajania The User Groups accordion panel will only be accessible once you have disabled BP Classic. With BP Classic, you will have access to page options, which is the older approach. If your theme and other plugins are compatible with BP v12, then you can safely deactivate BP Classic.
-
downtonothingmerch's profile was updated 1 year, 11 months ago
-
ohalloran1's profile was updated 1 year, 11 months ago
-
linkvip79fwin's profile was updated 1 year, 11 months ago
-
Varun Dubey replied to the topic Redirect after login in the forum How-to & Troubleshooting 1 year, 11 months ago
@adjunkten might be some typo error in copy-paste, but the code is fine
You can use the Code Snippet plugin to use custom snippets. -
jacklistenspage's profile was updated 1 year, 11 months ago
-
Mohammad Imran replied to the topic XProfile Custom Field Types in the forum How-to & Troubleshooting 1 year, 11 months ago
-
Mohammad Imran replied to the topic Redirect after registration in the forum How-to & Troubleshooting 1 year, 11 months ago
function redirect_after_registration() {
return home_url( ‘/your-page-name’ ); // Replace ‘/your-page-name’ with the URL of the page you want to redirect users to.
}
add_filter( ‘registration_redirect’, ‘redirect_after_registration’ ); -
dietzmcleaneyewear's profile was updated 1 year, 11 months ago
-
Lars Henriksen replied to the topic Redirect after login in the forum How-to & Troubleshooting 1 year, 11 months ago
Thanks Varun.
With this code I get the message ‘parser error’ . I am using BuddyX pro.
Thanks for connecting on Mastodon.
Lars
-
Varun Dubey replied to the topic Help with labels in the forum How-to & Troubleshooting 1 year, 11 months ago
Code Snippet is for labels, not for main components; you can change component names from BuddyPress URL options
@thinlizzie -
Varun Dubey replied to the topic Redirect after login in the forum How-to & Troubleshooting 1 year, 11 months ago
use the following code snippet
function redirect_to_activity_page_after_login($user_login, $user) {
// Redirect to the activity page after login
wp_redirect( home_url( '/activity' ) );
exit;
}
add_action('wp_login', 'redirect_to_activity_page_after_login', 10, 2); -
Angel Ruiz's profile was updated 1 year, 11 months ago
-
Jain's profile was updated 1 year, 11 months ago
-
hahalma's profile was updated 1 year, 11 months ago
-
Color King's profile was updated 1 year, 11 months ago
-
Backlinker.com.ua's profile was updated 1 year, 11 months ago
-
Dolman Law Group Accident Injury Lawyers, PA's profile was updated 1 year, 11 months ago
-
Lars Henriksen started the topic Redirect after login in the forum How-to & Troubleshooting 1 year, 11 months ago
Hello BP community,
I would like to redirect my users to the site-wide activity page when they log in?
Thanks in advance for suggestions.
Cheers, Lars
- Load More