FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
Change default notification setting
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=162629&th=119380#msg_162629
I am trying to change the default setting for "Select Notification by Default" to "no".
I understand that this line in register.php.t is responsible for the radio box:
$notify_default_radio = tmpl_draw_radio_opt('reg_notify', "2\n0", "{TEMPLATE: yes}\n{TEMPLATE: no}", ($uent->users_opt & 2), '{TEMPLATE: radio_button_separator}');
and that ($uent->users_opt & 2) must be the setting yes/no.
However I don't understand how to change it, or where the users_opt for new users is set.
I'd appreciate if anyone could help me change this setting. ]]>Arren2010-06-26T19:41:28-00:00Re: Change default notification setting
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=162633&th=119380#msg_162633
users_opt in add_user() in users_reg.inc.t.