Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Hmm, that doesn't seam right. If SQL Actions is fired before Emails integration then the email should contain the new value. It's very likely that the user object is not being updated as the SQL Actions is a direct database query which is why the substitution wouldn't be up to date yet. CBSubs Fields does update the user object, but you can't use complex queries or anything as the values.I have installed cbsubs email plugin and verified that it is last in the list of plugins, still the username is wrong when the email is being send.
Possibly; it's certainly worth a shot.I was thinking if I can use the URL plugin and have a php script sending the email... Do you think that possible or will I get the same result perhaps?
No, CBSubs triggers are not yet available for public use.We have upgraded to cb 1.3 and cbsubs 1.1. Are there any new triggers introduced that we can use? Similar to afterSubscriptionActivation
Please Log in to join the conversation.
Please Log in to join the conversation.
No, sorry. We do have plans to implement the ability to delay events such as sending emails in a future release, but requires major API additions to CB. Something probably for CB 2.0 or later.Is there any way of delaying the email so that the mail is being send like a minute after activation has been done, so that SQL action have the time to update?
Correct, you send to CBSubs URL a substitution via URL, post variable, etc.. so you'd have the same results. What you could do is send the user_id to your script file then query the _users database table with the user_id for the new username, this would give you the desired results IF the username is actually being updated.Was thinking about the URL plugin, aren't you suppose do send the input values to the php script together with the URL? Wouldn't this mean that the old username will be in the URL since SQL action have not had the time to update it?
Please Log in to join the conversation.