Posted on: 01/04/02 02:55pm
By: Tony
That's it! This function does keep track of the number of referrals made. If you would like that statistic to show up on stats.php you can add it yourself. The number of referals is stored in the vars table where the name is 'num_site_referrals'
e.g.
SELECT value FROM vars WHERE name = 'num_site_referrals';
For those interested, this code emails the following text:
This message was sent to you by Tony at tony@iowaoutdoors.org because they thought you would be interested in learning more about a great Hunting & Fishing website called Iowa Outdoors! Iowa Outdoors is a not-for-profit website with the only focus being to make you and others better at their outdoor pursuits. Get a wide variety of information, tips, tactics on fishing, hunting, trapping and much more by visiting Iowa Outdoors at http://www.iowaoutdoors.org today!
------------------------------------------------------------
NOTE: This is not unsolicited mail. You received this message because someone specifically requested that you do. Your email address was not saved and will not be given out under any circumstance.
Hope that helps!
Posted on: 03/09/02 01:34pm
By: Anonymous (austad)
After the first if statement in the patch, add:
if (!$_USER['uid']) {
$msg = 'You must be a member to use this feature. Please log in, or create a free account.';
} else {
And then at the end, make sure to close out the "else" right after the section that updates the count for the number of referrals. You can see how it works at Brewtus.com[*3] .
Posted on: 03/12/02 01:11pm
By: squatty
Posted on: 03/13/02 10:33pm
By: Anonymous (Anonymous)
Posted on: 11/11/05 01:25am
By: racooper