• In the function create_activate_code there will be generated a new or updated an existing record via the SIB_Model_Users class.

    When the entry is updated it will not save the listIDs or the redirectUrl. So if changes are made in the form or additional listIDs will be added via JS (that’s what I do) and somebody will subscribe again (e.g. to a new list) those two fields will be ignored.

    So the new subscriber will not get the new redirection or will not be subscribed to the according listIDs.

    I would be happy if that will be added in a new version. I looked at the code and that should be pretty straight forward to add.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support alexisbienayme

    (@alexisbienayme)

    Hi,

    Thanks for your message. Could you please be more descriptive with the steps of replication. It will be easier for us to understand the issue.
    Apologies, but I am not getting this part “So if changes are made in the form or additional listIDs will be added via JS (that’s what I do)”. Could you please elaborate ?

    Looking forward to hearing from you.

    Best Regards,

    Alexis

    Thread Starter quellpunkt

    (@quellpunkt)

    Hey,

    yes, for example when I change the “Redirect to this URL after clicking in the email” field in the form it will only be stored for new users.

    If one user subscribes and then cancels the subscription but resubscribe the change in the redirect url will not take place for him because it is stored in the user table and is not updated in the function create_activate_code().

    The same issue is with listIDs. We add some lists via Javascript when a user visits a specific page. But if the user is already subscribed the listIDs in the user table will not be updated.

    Please let me know if you need any more information.

    BR,
    Simon

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Update Model Userr ecord in database’ is closed to new replies.