Comments on: Customize Transfers in 1.5 https://mycred.me/tutorials/customize-transfers-in-1-5/?utm_source=rss&utm_medium=rss&utm_campaign=customize-transfers-in-1-5 Free WordPress Reward, Badge, Loyalty & Points Management Plugin Mon, 12 Aug 2024 09:19:45 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Seidel https://mycred.me/tutorials/customize-transfers-in-1-5/#comment-62875 Mon, 20 Dec 2021 14:45:33 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=8139#comment-62875 Hi you need to insert the message into the email template. thanks

]]>
By: Seidel https://mycred.me/tutorials/customize-transfers-in-1-5/#comment-62876 Mon, 20 Dec 2021 14:45:33 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=8139#comment-62876 Hi i got it to work now and now I need the info about requirments. How can i make the message required before sending. thanks

]]>
By: Gabriel Merovingi https://mycred.me/tutorials/customize-transfers-in-1-5/#comment-62874 Mon, 20 Dec 2021 14:45:30 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=8139#comment-62874 Try replacing the second piece of code with this:

add_action( 'mycred_transfer_ready', 'mycred_pro_verify_transfer_pwd', 1, 5 );
function mycred_pro_verify_transfer_pwd( $transaction_id, $post, $prefs, $transfer_addon, $type ) {

	// If the password is empty
	if ( $post['pwd'] == '' )
		die( json_encode( 'Please enter your password!' ) );

	// Get the senders user object
	$sender = wp_get_current_user();

	// Let WordPress check if the provided password is correct
	if ( ! wp_check_password( $post['pwd'], $sender->user_pass, $sender->ID ) )
		die( json_encode( 'Incorrect Password' ) );

}

The available attributes for the mycred_transfer_ready action has changed so it might be the issue.

]]>
By: bksarr https://mycred.me/tutorials/customize-transfers-in-1-5/#comment-62873 Mon, 20 Dec 2021 14:45:30 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=8139#comment-62873 Hello Gabriel,
First, thank you for your amazing plugin and addons.
I am quite interested in the verify password bit but have been unable to get it to work properly.
The Password field does show on the form but the form is submitted without any points being sent regardless of
the password being the correct one or not
I am using MyCred v1.6.9
If you could spare a minute to help it would be great.
Thank you

]]>
By: sull https://mycred.me/tutorials/customize-transfers-in-1-5/#comment-62869 Mon, 20 Dec 2021 14:45:27 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=8139#comment-62869 does it work or still an issue? going to try myself now.

]]>
By: sull https://mycred.me/tutorials/customize-transfers-in-1-5/#comment-62870 Mon, 20 Dec 2021 14:45:27 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=8139#comment-62870 Ok, I tried it and have same results. The message is saved but not sure how to get it to display in the log template. Their is no column for it.
Would love to get this working, if anyone has solution that didnt make it to this thread please share.

Thanks.

]]>
By: Seidel https://mycred.me/tutorials/customize-transfers-in-1-5/#comment-62871 Mon, 20 Dec 2021 14:45:27 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=8139#comment-62871 Hi

I have looked through the code and how to, but i don´t understand where to put the code. What file??
Pleae help
another thing. i use the Email to user option once points are sent, how do I then include the message once set up. Thanks and please help me!!!

]]>
By: Seidel https://mycred.me/tutorials/customize-transfers-in-1-5/#comment-62872 Mon, 20 Dec 2021 14:45:27 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=8139#comment-62872 Hi

I got it to work. Just didn´t read right. But now i get emails to the admin as a notification and to the users after they transfered. I do not see the message in the email and the log entry. what can I do.ö THANKS

]]>
By: y2k webs https://mycred.me/tutorials/customize-transfers-in-1-5/#comment-62867 Mon, 20 Dec 2021 14:45:21 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=8139#comment-62867 Gabriel I’m having the exact same problem as they both: shows %message% with no replacement

I do get the data in the DB.

Heres my pastebin: http://pastebin.com/fkE3fzaz

Don’t know what else to do!

Thanks!!

]]>
By: y2k webs https://mycred.me/tutorials/customize-transfers-in-1-5/#comment-62868 Mon, 20 Dec 2021 14:45:21 +0000 https://devstages.wpengine.com/?post_type=tutorial&p=8139#comment-62868 Hi Yaofong.

Were you able to solve this? how?

thanks!

]]>