wpufpro and theme my login

This topic contains 1 reply and 2 voices, and was last updated by Tareq Hasan 11 years, 1 month ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
August 15, 2013 at 11:29 am 6982
Tareq Hasan (Forgive the duplicate on this...didn't realize the other post was in the free version's forum.) I'm having just a horrible time in getting wpufpro to work with theme my login. I really wish there was someone that had a step by step setup process that showed exactly what pages I needed to create and what shortcodes needed to be in each of those pages. I fix one problem only to have another appear. On the log in screen using Theme My Login, there are two links below the username and password entry fields: “Register” and “Lost Password”. When “Registration link override” is NOT checked in wpufpro settings, the “register” links to the Theme My Login registration (not desired because I have a custom form created with wpufpro) and the “lost password” link correctly directs to the /lostpassword page. However, When “Registration link override” IS checked, the “register” link now correctly links to the wpufpro registration form, but the “lost password” link directs back to the /login page. Either way “registration link override” is checked, one of the links in user log in does not work and there is no setting in theme my login to customize these links. Thoughts?
August 20, 2013 at 1:35 am 7170
Tareq Hasan Tareq Hasan

Hi sorry for replying late, I can confirm that this is a bug. You can quick fix it by putting return $url; after line 266 in wpuf.php. So this would look like this:

[php]
function override_registration_tml( $url, $action ) {
if ( wpuf_get_option( ‘register_link_override’, ‘wpuf_profile’ ) != ‘on’ ) {
return $url;
}

if ( $action == ‘register’ ) {
return get_permalink( wpuf_get_option( ‘reg_override_page’, ‘wpuf_profile’ ) );
}

return $url;
}
[/php]

Viewing 1 Posts - 1 through 1 (of 1 total)