Populate email from Import with custom profile fields pulled from user.module

smw - June 22, 2009 - 10:26
Project:User Import
Version:6.x-1.2
Component:Code
Category:support request
Priority:critical
Assigned:Unassigned
Status:active
Description

Hi I have edited the user.module to enable some of my profile fields to be inserted into the text of email upon registration. It works perfectly when creating a user through Admin, but when testing the user_import.module it is adding the profile fields I am importing to the database but the email to user is not adding the !realName field I have created.

My thoughts are that because it is importing the user as a batch it hasn't the time to process the field into the database in time for the email message to hook those fields into the text message.

Any help will be appreciated.

#1

smw - June 22, 2009 - 10:27
Assigned to:smw» Anonymous

#2

smw - June 25, 2009 - 01:17
Title:Hook User to email profile fields» Populate email from Import with custom profile fields pulled from user.module
Priority:normal» critical

I have thousands of individuals to add using the UserImport.module and am gagging to figure this out. I have been pushing myself through training modules for years trying to master Drupal yet I am still quite green on PHP programing, still have a way to go.

So far I have edited the user.module to enable some of my profile fields to be inserted into the text of email upon admin initiated registration. It works perfectly when creating a user , but when testing the user_import.module it is adding the profile fields I am importing to the database but the email to user is not adding the !realName field I have created to the outgoing message.

My thoughts are that because it is importing the user as a batch it hasn't the time to process the field into the database in time for the email message to hook those fields into the text message.

Any help will be appreciated.

 
 

Drupal is a registered trademark of Dries Buytaert.