Hi, i have the same problem.
Page registration refresh without any message.
Any news about this?
Thank you
Ok, it seems i solved the problem.
In function create_temp_user($user_id) in class-wev-email-verification.php,
instead of:
if ( ! is_object( $woocommerce ) || version_compare( $woocommerce->version, '2.1', '<' ) ) {
$p = $woocommerce->add_message( 'message' );
echo $p;
}else{
$p = wc_add_notice('message', $notice_type = 'success');
echo $p;
}
use only:
if ( ! is_object( $woocommerce ) || version_compare( $woocommerce->version, '2.1', '<' ) ) {
$woocommerce->add_message( 'message' );
}else{
wc_add_notice('message', $notice_type = 'success');
}
without echo.
Hi thanks for effort,
but I still can’t get the messages to show up.
Any other suggestion perhaps ?
Thanks
Sorry, in effect the message show up only if you added an item to the cart.
So the problem is not solved.
Thanks to any other support.
Looks like the developer abandoned the plugin and the support 🙁
Ok, I adopted a workaround.
before of
if ( ! is_object( $woocommerce ) || version_compare( $woocommerce->version, '2.1', '<' ) ) {
$woocommerce->add_message( 'message' );
}else{
wc_add_notice('message', $notice_type = 'success');
}
i added
if ( sizeof( $woocommerce->cart->get_cart() ) == 0 ) {
$woocommerce->cart->add_to_cart( 2445 );
$woocommerce->cart->empty_cart();
}
where 2445 is the id of an existing and published item.
If you have a better workaround, please share with us.
Thanks
Simon, just a question here .. what does it have to do with the cart ??
Have you tried?
I don’t know exactly, but it seem that if you have not added any item to the cart, the notice session has not been initialized and the registration message don’t show up.
Hi, Simone
I have been suffered from this issue lately.
But it really works perfect!
Your solution must be one of the great hack for solving this kind ofissues.
Appreciate your help. ^^
Hi Simone,
really appreciate your help ..
One question .. Currently, the plugin sends out this verification url that you have to copy and paste into the browser. Not clickable.
Do you think you would be able to figure out how to customize the html verification message, so it sends out either a clickable link or in a better case a nice and simple verification button ??
Please, update your plugin and let me know, if the issues still persist.
Cheers,
Subhan
Hi Subhan,
Awesome, thanks so much for your help. The notice is now showing and the url is sent as a clickable link.
Thanks Joe. I appreciate, if you could give it a rate. Cheers!
Sure, no probs.
Also one of my questions from earlier was what happens to the accounts created, but never activated ?
Do they get deleted automatically after a period of time ?
The accounts data saved in a temporary table call “wev_temp_user”. Once a user activate their account those data automatically deleted and save in wp_users table. You can delete the records after some time in the temporary table, if you like.