Re: [alissi] Website Membership v1.01 Released
Hi alissi,
Do you just want it to BCC you when new users sign up?
If so, open websiteMemebership.php, scroll to the bottom and add this code in red:
$mailResult = @mail($to, $subject, $message, "From: {$SETTINGS['adminEmail']}\r\nBCC: you@example.com");
if (!$mailResult) { die("Mail Error: $php_errormsg"); }
Then create a new test user account to ensure it's working.
Next, you can set the expiry date like this:
expiresDate = NOW() + INTERVAL 30 DAY,
or
expiresDate = NOW() + INTERVAL 1 MONTH,
Also note that by the expiry date currently only affects CMS login access. So to restrict website access you'll need to add a line of code. Let me know if you need that.
Hope that helps!
Dave Edis - Senior Developer
interactivetools.com