2
privacy regulations in many countries prefer opt-in on messages being sent, not opt-out. Meaning: defailt set to 'no' and concious action required by the user to opt in on these emails.
You can change it in the register.php file, line 125 (XOOPS 2.0.13.2):
change this line
$user_mailok = (isset($_POST['user_mailok']) && intval($_POST['user_mailok'])) ? 1 : 0;
into this:
$user_mailok = (isset($_POST['user_mailok']) && intval($_POST['user_mailok'])) ? 0 : 1;
(the ? 1 : 0; becomes ? 0 : 1;). This changes this behaviour for registration of new users. Please note that I think this is a privacy regulation improper use.
For existing users you can only change the state in the database. But that would most definately be a breach of privacy regulations, as these people chose not to opt in.
Herko