2011-06-12, 05:19 PM
How can I set my forum so that all new members are automatically subscribed for email notifications to topics they post in unless they go into their Options and change that?
<option value="0" {$no_subscribe_selected}>{$lang->no_auto_subscribe}</option>
and change it to;<option value="0" selected="selected" {$no_subscribe_selected}>{$lang->no_auto_subscribe}</option>
<input type="hidden" name="subscriptionmethod" id="subscriptionmethod" value="2" />
(2011-06-12, 05:27 PM)EnvisionChase Wrote: [ -> ]Oh ok, so the first code change you posted will make it so that email notifications are the default setting but they can change it after they signup.Yes, its correct.
The second code change you showed will make it so that the email notifications are default and they cannot change it ever, correct?
(2011-06-12, 05:27 PM)EnvisionChase Wrote: [ -> ]Also, if I make the first code change will that change it for all users that are already members or just for new people who signup?That is for new users, You've to run the following query in phpmyadmin for all existing users;
UPDATE `mybb_users` SET `subscriptionmethod` = "2"