Code: Select all
while ($row = $db->sql_fetchrow($result))
{
$messenger->template('admin_activate', $row['user_lang']);
$messenger->to($row['user_email'], $row['username']);
$messenger->im($row['user_jabber'], $row['username']);
if ($config['email_activate_ext'])
{
include ($phpbb_root_path . 'language/' . $row['user_lang'] . '/acp/profile.' . $phpEx);
$user_profile = "\n\n" . $lang['USER_CUSTOM_PROFILE_FIELDS'] . ":\n" . $user_profile_data['pf'];
if ($user_row['user_inactive_reason'] != INACTIVE_REGISTER)
{
$user_profile .= "\n\n" . $lang['PROFILE_INFO'] . ":\n" . $user_profile_data['details'];
}
}
$messenger->assign_vars(array(
'USERNAME' => htmlspecialchars_decode($data['username']),
'U_USER_DETAILS' => "$server_url/memberlist.$phpEx?mode=viewprofile&u=$user_id",
'U_ACTIVATE' => "$server_url/ucp.$phpEx?mode=activate&u=$user_id&k=$user_actkey",
'U_VERIFY' => "$server_url/adm/index.$phpEx?i=users&mode=verify&u=$user_id",
'USER_PROFILE_DATA' => $user_profile)
);
Martin Truckenbrodt wrote:Hello newtech,
as soon as possible. I think I will need about two weeks.
Bye Martin