YAFLogo

shanker
  • shanker
  • 64.4% (Friendly)
  • YAF Camper Topic Starter
11 years ago
I need to create a custom register page with custom fields .. I want to add new fields.

Change the register logic and email the user receive after registration.

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
11 years ago

I need to create a custom register page with custom fields .. I want to add new fields.

Change the register logic and email the user receive after registration.

Originally Posted by: shanker 

I wrote a guide a little while ago on how to add custom fields to the user profile/register page..

http://forum.yetanotherforum.net/yaf_postsm54025_Will-this-put-another-required-field-in-my-registration-page.aspx#post54025 

Change the register logic and email the user receive after registration.

What logic do you want to change?

shanker
  • shanker
  • 64.4% (Friendly)
  • YAF Camper Topic Starter
11 years ago
email the user receive after registration...

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
11 years ago

email the user receive after registration...

Originally Posted by: shanker 

The registrant receives an email confirming their registration by default. At least, that's how my site works and I don't remember changing anything to make it happen.

shanker
  • shanker
  • 64.4% (Friendly)
  • YAF Camper Topic Starter
11 years ago
My client wants an email to his gmail account... when a new user registers with all user details..
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
11 years ago

My client wants an email to his gmail account... when a new user registers with all user details..

Originally Posted by: shanker 

Thats possible in the Board Settings (Admin -> Settings -> Board Settings) there i an option Send Email Notification On User Register to Emails, where you can enter an email address.

shanker
  • shanker
  • 64.4% (Friendly)
  • YAF Camper Topic Starter
11 years ago
Oh Great..

Where i can alter what is sent and how to change it.. i have adding new fields to my register page that i want to send along to my client.

I have't Configured the SMTP in the install page of yaf..

what changes do i need to made on mail.config file??

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
11 years ago

Oh Great..

Where i can alter what is sent and how to change it.. i have adding new fields to my register page that i want to send along to my client.

Originally Posted by: shanker 

the email template can be found in the language file (../languages/english.xml)

[code]

Hello!

A new user has registered on the {forumname} forum:

User Name: {user}

User Email: {email}

Administration Link: {adminlink}

[code]

if you want to include more content you need to modify the method SendRegistrationNotificationEmail in the file ../pages/register.ascx.cs