Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor kishanranawat

    (@kishanranawat)

    Hi there,

    Thanks for sharing your use case with us.

    Let me discuss it with my team and I will get back to you with an update.

    Thread Starter egerlach

    (@egerlach)

    Thank you!!
    BTW: I use the field “name” to get information from potential customer when he has time for a webinar. Because first_name and last_name have only 50 chars in database, I increased to 300 chars each and set limit in code for error to “… > 300” . Works! 🙂

    I think its not big work for you to insert a further field “info” (in PRO version?) with 300 chars length for that for a update in future.

    Plugin Contributor kishanranawat

    (@kishanranawat)

    Hi there,

    We have fixed the issue related to name field data not getting updated on subsequent signups. Please update to the latest version 4.7.6 and let us know how it goes.

    For your query related to modifying the name field’s character length in code, generally, we discourage it since these code changes get overridden whenever the plugin is updated and you may need to redo these changes in the updated plugin.

    If you are familiar with PHP and WordPress, another alternative can be to use WordPress hooks(actions/filters) to extend the functionality. More information here. Also, let me discuss this with my team if we can provide required actions/filters into the plugin so that it can be extended through custom code.

    Also, for your query related to adding a custom “info” field, yes we do a plan to provide custom field support in the Email Subscribers plugin. We will consider your suggestion as well while developing the feature.

    Thank you.

    Thread Starter egerlach

    (@egerlach)

    I tested: now claims that email already exists and I can’t overwrite either! An even worse: User can’t subscribe any other list! Your customers will get problems with that feature, I think! – Did you test it?

    tia

    @i think I forgot to protocol and mention here, that I also deleted that code in class-es-handle-subscription.php :

                                                   $contact_lists = ES()->lists_contacts_db->get_list_ids_by_contact( $contact_id, 'subscribed' );
                                                    if ( empt4y( array_diff( $this->list_ids, $contact_lists ) ) ) {
                                                            $response['message'] = 'es_email_exists_notice';
                                                            $response = $this->do_response( $response );
                                                            if ( $doing_ajax ) {
                                                                    wp_send_json( $response );
                                                            } else {
                                                                    return $response;
                                                            }
                                                    }
    

    furthermore all except first line. Now no error message that email already exists and firstname and lastname can overwritten 😉 works!! 🙂

    Thank you for update! I also substituted again ” > 50″ by ” > 300″ in same php file.

    • This reply was modified 2 years, 9 months ago by egerlach.
    • This reply was modified 2 years, 9 months ago by egerlach.
    • This reply was modified 2 years, 9 months ago by egerlach.
    Plugin Contributor kishanranawat

    (@kishanranawat)

    Hi there,

    Thanks for your response.

    Glad to hear that you found the code which was causing the issue in your case and fixed it.

    Can you please confirm if email already exists message comes even when the user is subscribing to a list to which he/she wasn’t subscribed previously?

    We have checked it on our end. The subscriber is able to subscribe to another list and it is updating the name field correctly.

    We aren’t updating the name field when the user is already subscribed to the list. Since in this case, one can enter email address of another subscribed user by mistake and thus can lead to an unintentional update. Instead, we are showing the email already exists message in this case.

    Hope this helps. Let us know what comes out in your testing.

    Thread Starter egerlach

    (@egerlach)

    Yes, you are right! Name (first and last) is overwritten if list is another one. I just tested. Thats what I want, too, I don’t want that users can subscribe same list again and again. So I can insert the code again that I deleted underneath of:

    “$contact_lists = ES()->lists_contacts_db->get_list_ids_by_contact( $contact_id, ‘subscribed’ );”

    Thank you !! 🙂

    Plugin Contributor kishanranawat

    (@kishanranawat)

    Hi there,

    Thanks for your confirmation.

    Glad to hear that you were able to fix the issue by making the required changes.

    Since the issue is fixed now, I am closing this thread.

    If you have any further questions, you can start a new thread.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘“name” field data is completely lost with subscription to second list’ is closed to new replies.