This topic contains 23 reply and 2 voices, and was last updated by Manuel 5 years, 8 months ago
Viewing 15 Posts - 1 through 15 (of 23 total)
Author Posts
January 29, 2014 at 3:20 am 14856
Manuel I posted this question in other section but someone marked it resolved...but it isn't :( I’m using PRO version but for some reason I can not post there !? I will like that user after they posted (and registered in same time ) gets email with link for confirmation. I tried this plugin: “DM Confirm Email” But it doesn’t work with “WP User Frontend Pro” plugin. Can someone please help ? Thanks ######## I read this topic: http://wedevs.com/support/topic/register-and-theme-my-login/ ...and I also read post that is linked from there ( “Theme my login password forget issue with WP User Front-end” ). That line is already changed in wpuf.php. And it still doesn’t work. New registered user still doesn’t get confirmation email and instead he gets only username, password and login link. Can it be fixed please ?
January 30, 2014 at 11:59 pm 14922
Tareq Hasan Tareq Hasan

Have you enabled Theme my login’s custom email module?

January 31, 2014 at 12:16 am 14925
Manuel Manuel

Yes it is enabled and I also checked “E-mail Confirmation” in Moderation section.

January 31, 2014 at 4:11 am 14933
Tareq Hasan Tareq Hasan

I just checked it again, it works perfectly.

In my theme my login, “Enable Custom E-mail” and “Enable User Moderation” module is checked. Also in Moderation, “E-mail Confirmation” is checked.

After registering via WPUF register form, I got an activation mail. Upon clicked, it activated my account and sent me a new password mail. Everything works perfectly.

As you’re a developer, go to the /class/frontend-form-profile.php line 227.
[php]
if ( class_exists( ‘Theme_My_Login_Custom_Email’) ) {
do_action( ‘tml_new_user_registered’, $user_id, $password );
} else {
wp_new_user_notification( $user_id, $password );
}[/php]

Do you see what happens here? If theme my login is present, we don’t send the default user notification, we trigger theme my login action. But your are getting that notification, I don’t know how.

January 31, 2014 at 12:48 pm 14945
Manuel Manuel

You didn’t read my message good 🙁

I will like that user after they posted (and registered in same time )

Not registering form…Posting form.

It doesn’t work with posting form.

After registering while posting confirmation link isn’t sent.

This is where bu appears

January 31, 2014 at 12:58 pm 14946
Manuel Manuel This reply has been marked as private.
January 31, 2014 at 2:01 pm 14949
Tareq Hasan Tareq Hasan

Oh, right.

It doesn’t work with auto registration while posting. The feature was never there, that’s why it doesn’t work.

For this one, some changes needs to be made in /class/frontend-form-post.php, in line 188.
Replace wp_new_user_notification( $user_id, $user_pass ); with this snippet below.

[php]
if ( class_exists( ‘Theme_My_Login_Custom_Email’) ) {
do_action( ‘tml_new_user_registered’, $user_id, $user_pass );
} else {
wp_new_user_notification( $user_id, $user_pass );
}
[/php]

January 31, 2014 at 3:05 pm 14954
Manuel Manuel

Changes are made…but it still doesn’t work.

User gets registered without confirming email and without Pending status.

You can try it on link that I posted above and see it.

January 31, 2014 at 9:20 pm 14970
Tareq Hasan Tareq Hasan

Thats a bummer! Same code is working for registration, not for posting form. I’ll investigate more.

February 1, 2014 at 3:12 pm 14997
Manuel Manuel

Did you find any solution for this bug maybe ?

February 3, 2014 at 12:30 am 15015
Tareq Hasan Tareq Hasan

Sorry, I didn’t find anything yet.

BTW, it’s not a bug. It was never implemented on guest posting.

February 3, 2014 at 2:10 pm 15028
Manuel Manuel

Sorry but you listed this in your features:

Theme My Login compatible“.

Theme my Login plugin has option to confirm email…and since it doesn’t completely work with this plugin it is bug.

Can you fix it please ?

February 5, 2014 at 2:01 pm 15090
Manuel Manuel

Did you maybe found any solution ?

February 5, 2014 at 11:23 pm 15096
Tareq Hasan Tareq Hasan

Okay, today I was able to sort this out.
in frontend-form-post.php just add this lines:
[php]$errors = new WP_Error();
do_action( ‘register_post’, $username, $guest_email, $errors );[/php]

to just before of this line
[php]$user_id = wp_create_user( $username, $user_pass, $guest_email );[/php]

February 6, 2014 at 5:40 pm 15113
Manuel Manuel

Thank you Tareq…this works 🙂

I used one more plugin to change email with details that wordpress is sending.

“SB Welcome Email Editor”…in case you need it.

February 6, 2014 at 7:46 pm 15120
Manuel Manuel

Actually it worked for a moment and later when I test it again I saw that it doesn’t work…

But it still works on standard registration

Any idea what can be a problem ?

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