The 'Resend activation e-mail' link on the Login screen is really appropriate only on boards configured for user self-activation. Our board uses Admin activation, and the link has caused confusion. Users click the link, and get confused because they don't receive any e-mail (as the e-mail goes to the Admins). The Admins receive the e-mail and get confused because they may be receiving an activation e-mail for an account that's already active (i.e., the user may have clicked this link simply because they're having difficulty logging in, but should have used the 'I forgot my password' link), or the admin may receive unnecessary duplicate e-mails for a new or deactivated account.
Currently, the 'Resend activation e-mail' link is displayed on all boards except those with Account activation set to None. It really ought to be displayed only on boards with Account activation set to User. Fixing this is easy:
- Code: Select all
In /includes/functions.php :
Find:
'U_RESEND_ACTIVATION' => ($config['require_activation'] != USER_ACTIVATION_NONE && $config['email_enable']) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=resend_act') : '',
Change to:
'U_RESEND_ACTIVATION' => ($config['require_activation'] == USER_ACTIVATION_SELF && $config['email_enable']) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=resend_act') : '',