PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

File generated from registration form

s2Member Plugin. A Membership plugin for WordPress®.

File generated from registration form

Postby spyroot » May 26th, 2011, 5:00 pm

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.
User avatar
spyroot
Registered User
Registered User
 
Posts: 9
Joined: May 26, 2011
Location: California

Re: File generated from registration form

Postby Cristián Lávaque » May 26th, 2011, 9:28 pm

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_userdata

I hope that helps. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: File generated from registration form

Postby spyroot » May 27th, 2011, 4:58 pm

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.
User avatar
spyroot
Registered User
Registered User
 
Posts: 9
Joined: May 26, 2011
Location: California

Re: File generated from registration form

Postby spyroot » May 27th, 2011, 5:14 pm

Question, where should I type the php code? Should I write a special function?

Sorry I'm new on wordpress
User avatar
spyroot
Registered User
Registered User
 
Posts: 9
Joined: May 26, 2011
Location: California

Re: File generated from registration form

Postby Cristián Lávaque » May 28th, 2011, 1:48 am

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.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: File generated from registration form

Postby spyroot » June 3rd, 2011, 3:37 pm

Thank you Cristian, I will have to learn more about php to implement this feature.
User avatar
spyroot
Registered User
Registered User
 
Posts: 9
Joined: May 26, 2011
Location: California


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests

cron