OUT2WIN
01-05-2009, 07:14 AM
I have a referral program in place in my website.
The code assigned for users is http://www.example.com/?r=example
Or
To refer others, use <b><? example.com; echo $url; ?>http://www.example.com/?r=<? echo $row["username"]; ?></b>
<br>
Problems: It only goes to the index (home) page, When a visitor clicks on the register.php (register, sign-up) button it doesn't auto fill the referral option, it leaves it blank which kills the referral possibility.
If any other area of the site is explored, the referral link is closed (doesn't follow the visitor around the site) and like my problem above, it then is a blank input text area which will surely be left blank and will screw people out of their referrals.
The code above is used to assign users their referral link via the members.php area.
The following code is the one used for the register page (register.php):
Referrer (If Any):<br>
<input type="text" size="25" maxlength="15" name="referer" value="<? echo limpiare($_GET["r"]); ?>">
This script has had lots of errors in it (purchased) and I have been able to fix most of them, but I'm stuck after trying to fix this for weeks, I'm seeking help.
The menu.php file (all the clickable options: home, register, proof, scripts, ect..) is set up like this down the line of links:
<a href=\"index.php\">Home</a>
Thanks in advance, Please Help...
Rob
The code assigned for users is http://www.example.com/?r=example
Or
To refer others, use <b><? example.com; echo $url; ?>http://www.example.com/?r=<? echo $row["username"]; ?></b>
<br>
Problems: It only goes to the index (home) page, When a visitor clicks on the register.php (register, sign-up) button it doesn't auto fill the referral option, it leaves it blank which kills the referral possibility.
If any other area of the site is explored, the referral link is closed (doesn't follow the visitor around the site) and like my problem above, it then is a blank input text area which will surely be left blank and will screw people out of their referrals.
The code above is used to assign users their referral link via the members.php area.
The following code is the one used for the register page (register.php):
Referrer (If Any):<br>
<input type="text" size="25" maxlength="15" name="referer" value="<? echo limpiare($_GET["r"]); ?>">
This script has had lots of errors in it (purchased) and I have been able to fix most of them, but I'm stuck after trying to fix this for weeks, I'm seeking help.
The menu.php file (all the clickable options: home, register, proof, scripts, ect..) is set up like this down the line of links:
<a href=\"index.php\">Home</a>
Thanks in advance, Please Help...
Rob