Tag Info

New answers tagged

1

Try: function custom_user_login_redirect( redirect_to, $redirect_to_raw, $user ) { $redirect_to = bp_loggedin_user_domain(); return $redirect_to; } add_filter('bp_login_redirect','custom_user_login_redirect',10,3);


0

You can use the wp_authenticate-hook (see Codex) to trigger a function, when a user was successfully logged in and then use wp_redirect (see Codex) to bringt him to a specific page. add_action ('wp_authenticate' , 'redirect_to_profile'); function redirect_to_profile() { $user_profile_url = 'getthisfromwhereever...'; wp_redirect($user_profile_url); ...


0

@Rapforthemoment - I do not have your current code. If your question contained that then it would have helped. Well, below code would help you to show the bio: <?php echo xprofile_get_field_data( 'Author Bio', get_the_author_id()); ?> Please note, you will need to replace 'Author Bio' with actual field name in your case or the field ID.


1

it doesn't work (ie, the folder name will just be "User - " (with no ID Number) Did you check to see if and what bp_member_profile_data( 'field=ID Number' ); returns as a value? And that function will echo the value. To just return the value use bp_get_member_profile_data( 'field=ID Number' ); But... For God's sake... Why would you use a member loop ...


0

Found the issue: mod_security was enabled by the host! Gah!!


0

The above answer by Aniket does solve the problem, however to save others the trouble, I'd like to say that it appears that woocommerce and BuddyPress cannot work together on a single website because apparently woocommerce disables the registration for WP


0

http://eatstaylovelondon.com/wp-login.php?action=register You can create a register now link which will redirect to the above page. Just adding "?action=register" at the end of the URL will do the work for you. You can Create a Register page too. Do Search how to display Register form.



Top 50 recent answers are included