|1.12 KB||1.12 KB|
|1.28 KB||1.28 KB|
|1.04 KB||1.04 KB|
Just a couple of notes - if running on 4.2 you will need to be running a couple of patches. Not required on 4.3
( or you could just use our fuzion version of 4.2.8) git clone email@example.com:fuzionnz/civicrm.git , git checkout 4.2-d7
Nice solution Pete.
What about having your rule also delete the tag after creating the user?
not sure what to say. yes of course. i shall look in to it - or even a separate rule 'when user created remove tag xx if it exists' if doing so in the first rule interferes but i expect you are right and that it will do them in sequence.
this is a v. nice solution. I like the blog post calling attention to it as well. i also wonder if there is any way we can get better at collecting them somwhere. i guess the thing i am having trouble working out is what the classification would be / how we would make it easy for people to find this stuff.
seperately. we should have the first civicrm newsletter (via civimail) coming out pretty soon - it would be nice to highlight it that as well.
this comment is just to check pete's new notifications
good work pete
Hey thanks for this, it really saved me so much hassle!
I was wondering, though... Right now the Drupal account usernames that are created are the display named of the contacts, which are formatted with spaces and makes it somewhat awkward. Is there a way to assign a username?
It would probably have to come from a custom field created by an admin upon creation of the contact, unless it were possible to format it automatically somehow... Maybe the user can create it upon signup? Hm.
Looks like a fantastic solution. In trying to test it out, I found that the attachment links are triggering an Nginx 403 error. Would be appreciative of a fix or altenative link.
crew are looking in to permissions - try again in a day or so
seems to be working now for .txt files
Hello, I am trying this solution with CiviCRM 4.4.3 and Drupal 7.26. I recive an error at <code>admin/config/workflow/rules/reaction/import</code>
that will not allow me to import the rule. Can anyone help with this? Error: <code>
Integrity check for the imported configuration failed. Error message: Missing configuration for parameter <em class="placeholder">signin</em>..
Thank you, --Tony
Hi Tony - I haven't upgraded that site from 4.2.10 yet so thanks for the warning. We expect to do a round of upgrades when 4.4.4 comes out later this week.
may have nothing to do with 4.4 though so will attach the latest
Did you link to the wrong file for the standard rule attachment? It has "rules_friends_tag_account_create" and requires Domain Rules module.
I can see what looks like the correct file at http://civicrm.org/sites/civicrm.org/files/Create%20User%20via%20Tag%20… but is it the updated version?
Plus, I get:
Integrity check for the imported configuration failed. Error message: Missing configuration for parameter <em class="placeholder">signin</em>
when trying to imort the rule
Hi Clive - yes there is something amiss with those files that I need to tidy up - sorry about that.
Also there have been variations to deal with whether we want the user to be logged in directly (and be sent a 'you created and account' type email) or sent an 'Admin has created you an account' type email.
See how you go with the one I just added https://civicrm.org/sites/civicrm.org/files/Create%20User%20Account%20w…
Wow! Thanks for that responsive reply. I really didn't expect to get an answer so quickly.
I imported the "rules_entity_tag_account_create" version and everything worked for importing contacts. The only thing is, I would prefer that the 'Admin has created you an account' version of the email went out. I tried to edit the rules to see if there was any option for that, but it looks like its defined by $notify in the civicrm_entity module code. I guess there is no way to change that without altering the module?
Thanks again Pete.
will try and have a look at it before end of week
(scratches head - why do your 'comments' need approving!)
I am getting the error
Integrity check for the imported configuration failed. Error message: Unknown action <em class="placeholder">civicrm_entity_action_create_user</em>..
Am i missing a step before importing the rule?
i don't know - you haven't said what steps you took ;-)
did you install civicrm_entity?
what version civicrm are you using?
I am using civi 4.4.3 and i already have civicrm_entity installed from other project but it was this version (https://www.drupal.org/project/civicrm_entity) - I was trying to import the rule at yoursite>/admin/config/workflow/rules/reaction/import - but got that error message. I tried all rule versions posted above and none of them worked.
ok - will try and take a look tomorrow
did you ever get a chance to look at this. cant get it to work with latest version of civicrm entity module
Hi Mike - can you be a bit more specific on what the 'it' is. I know we have this running fine on several 4.6.x sites but since there are several 'its' involved, i want to be sure I am being helpful by focussing on the right part.
I have the following message when I activate Domain Access and Domain Rules :
- Domain module installation is incomplete. See INSTALL.txt and check your settings.php file.
- Domain access failed to load during phase: bootstrap include. Please check your settings.php file and site configuration.
Where is this INSTALL.txt file ?
What should I check in settings.php file ?
Is this on a site that is using Domain?
Hi Tony, Do you have the latest CiviCRM Entity module enabled? What version of civicrm?
I am on Drupal 7.59, CiviCRM 7.x-5.3.0, CiviCRM Entity 7.x-2.1, Rules 7.x-2.11.
better to continue the discussion in stackexchange
Thanks very much for this write-up.
I could not get it to work in Drupal 8, as the required Element is not available in Rules for Drupal 8. Do you have any advice on how to implement this functionality in Drupal 8?
The user_format seems to be needed now. I had to add the following to the import script to import properly:
Paste this just below the signin definition.
(Also added in StackExchange)