Page 1 of 1
		
			
				File generated from registration form
				
Posted: 
May 26th, 2011, 5:00 pm 
				by spyroot
				Hi folks,
I have two challenges:
1- The easy one: How can I modify/add greetings to email that is sent to customer after registration has been completed ?(Email with username and password)
2- Is there any way to create a file with customer's information and storage somewhere in the domain?
What I need is to get a txt file with customer information to generate a key.
Thank you in advance for your support.
			 
			
		
			
				Re: File generated from registration form
				
Posted: 
May 26th, 2011, 9:28 pm 
				by Cristián Lávaque
				1- 
http://wordpress.org/extend/plugins/new ... il-set-up/2- You can use WP functions like get_userdata to populate this data in a custom PHP script to generate your key. 
http://codex.wordpress.org/Function_Ref ... t_userdataI hope that helps. 

 
			 
			
		
			
				Re: File generated from registration form
				
Posted: 
May 27th, 2011, 4:58 pm 
				by spyroot
				Thank you Cristian, I already pass my challenge # 1.
Currently I'm working on challenge # 2.
I will keep you posted,
Thanks again for your support.
			 
			
		
			
				Re: File generated from registration form
				
Posted: 
May 27th, 2011, 5:14 pm 
				by spyroot
				Question, where should I type the php code?  Should I write a special function? 
Sorry I'm new on wordpress
			 
			
		
			
				Re: File generated from registration form
				
Posted: 
May 28th, 2011, 1:48 am 
				by Cristián Lávaque
				You'd have to work within WordPress code to have that function work for you, it's a WordPress function. If you want your script to be independent of WP, you could just query the database with your own code.
			 
			
		
			
				Re: File generated from registration form
				
Posted: 
June 3rd, 2011, 3:37 pm 
				by spyroot
				Thank you Cristian, I will have to learn more about php to implement this feature.