Warning: The author of this contribution does not provide support for it anymore.

ACP Add User MOD

error : Argument number must be greater than zero - ACP Add User MOD

error : Argument number must be greater than zero

by Papicx92 » Thu Jan 16, 2014 11:49 am

Well there must be a bug in this version of the mod as for passwords, I need to set "+ Shift + tiny number or special characters", just with the parameters proposed by phpBB.
He answer me that the password (generated by the mod) do not answer criteria.

When I get to this step, I have an error message:
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_add_user.php on line 297: sprintf(): Argument number must be greater than zero


Here are lines 295-298:

Code: Select all

$message[] = sprintf($user->lang['CONTINUE_EDIT_USER'], '<a href="' . append_sid("{$phpbb_admin_path}index.$phpEx", 'i=users&amp;mode=profile&amp;u=' . $user_id) . '">', $data['username'], '</a>');
            $message[] = sprintf($user->lang['EDIT_USER_GROUPS'], '<a href="' . append_sid("{$phpbb_admin_path}index.$phpEx", 'i=users&amp;mode=groups&amp;u=' . $user_id) . '">', '</a>');
            $message[] = adm_back_link($this->u_action);


But I do not have the possibility to include a group at the time of registration.
traductor on phpbb-fr.com since july 2012
User avatar
Papicx92
Registered User
Posts: 35
Joined: Mon Apr 16, 2012 4:11 pm
Location: Courbevoie, 92, France
Name: Patrice PICHON