2

I'm using Pete's great way of creating Drupal users by adding a tag, but was wondering (as Michael McAndrew did in the comments on that page) how a different username could be auto-created, e.g. email address or even firstnamelastname. (Presumably the Rule would fail if a duplicate username occurred?)

And bonus question: on the same page Coleman mentioned potentially using Rules to remove the tag and clean up, but I can't work out which action this would be under. Any pointers?

2
  • Have you had any luck figuring this one out? thanks\
    – Yossi
    Commented Mar 10, 2016 at 20:25
  • I used the patch in the answer. It failed on application, so I had to manually apply, but it works.
    – Tenz
    Commented Mar 12, 2016 at 0:51

1 Answer 1

1

There's an unreviewed patch to the CiviCRM Entity module that tackles this.

To clean up and remove a tag, you can easily set up CiviRules to just delete a tag as soon as it's created.

2
  • 1
    have you tested it and marked it as 'reviewed by community' to help push it along?
    – petednz - fuzion
    Commented Nov 18, 2015 at 5:13
  • Haven't had time to test it yet!
    – Tenz
    Commented Nov 19, 2015 at 1:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.