Log in

View Full Version : How to Make Email Notification Automatic?


Heineken77
07-14-2002, 10:31 PM
I'm wondering how I would go about making new registrant's options automatic. For example, when someone registers, how can I make Email Notification when PM'd and when a thread is replied set to automatic. They can turn them off if they want, but for those who don't bother too much with the details of the settings, just to make it easier for new users of vB to have these things all set automatic?

Sorry if I didn't explain that correctly, I hope you understand what I mean.

Thanks!
Sincerely
Heineken

Martin CX
07-14-2002, 10:42 PM
It's not hard. Locate this in the proper registration-templates:<tr>
<td bgcolor="#DFDFDF"><normalfont><b>Send you an email when you receive a Private Message?</b></normalfont></td>
<td bgcolor="#DFDFDF"><normalfont>
<input type="radio" name="emailonpm" value="yes"> yes
<input type="radio" name="emailonpm"value="no" checked> no
</normalfont></td>
</tr>Now replace it with:<input type="hidden" name="emailonpm" value="yes">That way all new users will receive emails when PMed, but can disable it if they please. Just do the same with the other preferences you want to fix.

I do the same (with time zones and other stuff) a lot of users get confused with the many options.

Heineken77
07-15-2002, 10:18 PM
Nice :) Thank you very much!