Menu

#4 Automatic Registration

open
RFE (27)
5
2005-08-27
2005-08-27
Greg Meiste
No

Check to see if the person who accesses the signup menu
is a registered user. If they're not and they decide
to subscribe to the newsletter as a new user, we should
automatically sign them up.

----

Date: 2003-07-06 20:23
Sender: adarkling
Logged In: YES
user_id=619893

>>You perhaps want this the other way too<<

Yup! <grin>

>>I'd guess also that this is a joint phpwebsite/mailing
list feature<<

Actually, it's not. All you'd have to do is be active
during User module requests and monitor whats going on.
I've done it to the Comments module on a module I'm
developing (actually I superclassed it as well):

if($GLOBALS['module'] == 'home' &&
isset($_POST["signup_request"]))
{
/* The User module is now either saying that an email
* has been sent or that the request is being reviewed.
* You can peek at the class variables to see which
* was done.
* Now you can display your block giving them the option
* to sign up for the newsletter.
*/
}

As for the original request, Someone had a post on the
phpwebsite-developers mailing list on how to have your
module automatically sign someone up.

-Eloi-

Date: 2003-07-04 09:54
Sender: singletrack
Logged In: YES
user_id=722742

You perhaps want this the other way too - ie. new
registered
users
to the site being automatically signed up to a mailing
list.

I suspect you'd have to make it a pre-ticked checkbox
so they
can
opt out if they want at the time. I'd guess also that
this is
a joint
phpwebsite/mailing list feature to enable the signup
process to
optionally display mailing list signups at registration
time if
configured.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.