vzhilov
Member
Posted 5 months ago #
Hello. It is a great and simple plugin but unfortunatelly it has an error. When a user just subscribed but didn't confirm his email he is not shown in "Un-confirmed" column but he is shown on "Total Users". The user is created with no role. When email confirmed nothing happens, user still can't get the email. If I change the user role to "Subscriber" manually, the user start getting emails. The same with "Unsubscribe" - only manual change of role works.
As I understood the pattern is to automatically change the role from none to Subscriber when the subscribtion confirmed by the email. Till that happen the no-role users supposed to be shown in "Un-confirmed". And that is not working out.
I have 3.5 version, maybe the role management has changed since the pluging was written so the roles don't change automatically. Could that be the problem?
http://wordpress.org/extend/plugins/navayan-subscribe/
Amol Nirmala Waman
Member
Plugin Author
Posted 5 months ago #
@vzhilov: you were correct! Its fixed now with few more features. Please get the updated version 1.12.
urpluggedin
Member
Posted 2 months ago #
I'm running WP 3.5 and Navayan Subscribe 1.12 and this is still not working properly. I still need to manually change the user role from "none" to "subscriber" for subscription to work and manually delete the user for unsubscription to work.
I posted this separately, but wanted to reply here since the same issue seems to have cropped up again. Thanks.
urpluggedin
Member
Posted 1 month ago #
I found a way to fix the issue with the plugin not automatically changing the role to subscriber. In the functions.php file
Replace:
delete_user_meta( $getUser->ID, $wpdb->prefix . 'capabilities' );
update_user_meta( $getUser->ID, $wpdb->prefix . 'capabilities', 'subscriber' );
With:
$getUser->add_role('subscriber');