PDA

View Full Version : Include Referrer Field in New User Email?


Fotinakis
12-31-2005, 10:34 PM
I have created custom user registration fields and I have enabled the "send email on new user registration" option. The new user email that is sent to the administrator does contain the information from my custom registration fields. Is there a way to make it also include the name that the user might place in the "Referrer" field?

I have changed the "newuser" email phrase to be the following, but it does not work:

There is a new user, $username at $vboptions

To view their profile, go here:

$vboptions[bburl]/member.php?u=$userid

Email Address : $email
Birthday : $birthday

[B]Referrer: $referrername

$customfieldsEven though the name of the input field in the form is "referrername", this code still doesn't work. Any ideas?

Fotinakis
01-02-2006, 07:24 PM
Nevermind, I figured it out. Solution:

Use $_POST[referrername] (no quotes) instead of $referrername.