no email address required no email address required
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

no email address required

Started by zoobie, November 28, 2003, 03:32:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zoobie

Nothing on the search...so, is there a way to eliminate the registering user having to fill in their email...yet allow a registered user to email cards and pics? Any info helpful...Thanks

Joachim Müller

haven't tested this in detail, but it should suffice if you edit register.php and comment out if (!eregi("^[_\.0-9a-z\-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$", $email)) $error .= '<li>' . $lang_register_php['err_invalid_email'];GauGau

zoobie

Ahh...Thanks
1 more related question:
How do I delete the email field on the registration page?
Thanks again :!:

Joachim Müller

also in register.php: findarray('input', 'email', $lang_register_php['email'], 255),and replace it with//array('input', 'email', $lang_register_php['email'], 255),GauGau

zoobie

I'm getting a critical error:
"Script called without the required parameter(s). (email)"
Thanks

Joachim Müller

try putting in something like print '<input type="hidden"  name="email" value="" />';
If this doesn't work you're on your own; I won't make up my mind in detail on this, as I find it a very silly idea to remove the email address field in the first place. If your users don't like filling in their correct email, let them just fill in foo@bar.com, it's not to much to ask in my opinion.

GauGau

zoobie

Thanks...Works like a charm.  8)
I had to change the config settings to "accept 2 duplicate email addresses" but it takes more than two, thankfully. I took out another form field, also. Granted, you're probably right...but I wanted super-simple registration this time. You know that feeling when you're asked for your email and you think "Oh no...Not more spam."? Well, in this case, I just took that bad feeling away.
Thanks again :!: