- Issue created by @jsidigital
- π©πͺGermany jurgenhaas Gottmadingen
Is the "User Email Verification" module compatible with ECA?
ECA is compatible with Drupal core's APIs. So, it is compatible with all other modules that comply with the APIs that are available.
What you're probably more interested in, not if the modules are compatible, but if they are integrated. From your description, it looks like the only thing you're interested in is that flag, whether an email address is verified or not. Everything else is already there.
Now, has ECA access to that data? It depends on how the User email verification β module stores that data. If this is stored by using the field API, then ECA can access that data with the field related conditions and actions. If instead, the data is stored by using key/value API, then this should be accessible too. But if that module stores the data by proprietary writing to a database table, then extra condition and/or action plugins are required to make them available to ECA.
Such plugins can be written in custom modules, yes. Maybe that's a good starting point, and once you got it working, you could then propose them to the maintainers asking them to add them to their module. If you had any Drupal developers at hand, they should be able to write such plugins for you. There are so many existing plugins around, that it is pretty easy to see, how that needs to be done. If such developer resources were not available to you, others in the ECA community can do that for you. As for myself, I'm currently extremely busy and couldn't do it short term, but either waiting a couple of months or finding someone else, may be possible. A great chance may also be to post this in the ECA channel of Drupal Slack, there are over 200 people around that may be available to do that.
- πΊπΈUnited States jsidigital
I noticed User Email Verification has a rules integration but has bugs since rules is very unstable.
This module creates a table in the database called "user_email_verification"
In that table there is a "state" column. If cell contains "1", email is verified.
So basically all is needed is ECA to have a condition plugin that reads the current user's UID and see if that user has a status of "1" in the user_email_verification table.Can you provide the link to the ECA channel of Drupal Slack? I could not find it.
I want to see if anyone is able and willing to make this happen and if so, how much that would cost.Thank you.
- π©πͺGermany jurgenhaas Gottmadingen
Hey @jsidigital, the Slack link is on the ECA project page in the first info block. Or, if you're on the Drupal Slack already, just join the #eca channel.
The intended integration would have to be provided by the user_email_verification module, not by ECA. So, you may probably also want to reach out to their maintainers. Building a condition plugin is fairly easy, with the code generator provided by Drush, this can be done in less than an hour.
- Status changed to Postponed: needs info
over 1 year ago 2:18pm 22 December 2023 - Status changed to Closed: outdated
about 1 year ago 1:59pm 2 April 2024