[5.5] Automatic login link in new user emails... - 02/11/2002 5:22 AM
Here's a quick hack for your adduser.php script:
Right after this line:
require ("languages/$w3t_language/adduser.php");
Add this line:
require ("languages/$w3t_language/start_page.php");
On about line 322 change this line:
$msg = "{$ubbt_lang['PASS_BODY1']} '$ip' {$ubbt_lang['PASS_BODY2']} "$Username". {$ubbt_lang['PASS_BODY3']} "$pass".";
To this:
$msg = "{$ubbt_lang['PASS_BODY1']} '$ip' {$ubbt_lang['PASS_BODY2']} "$Username". {$ubbt_lang['PASS_BODY3']} "$pass".\n\nClick on the following link to login: {$config['phpurl']}/start_page.php?Loginname=$Username&Loginpass=$pass&option={$ubbt_lang['BUTT_LOGIN']}";
And now they will have a link that will automaticly log them in. []https://www.ubbdev.com/threads/php/images/icons/wink.gif [/]
Right after this line:
require ("languages/$w3t_language/adduser.php");
Add this line:
require ("languages/$w3t_language/start_page.php");
On about line 322 change this line:
$msg = "{$ubbt_lang['PASS_BODY1']} '$ip' {$ubbt_lang['PASS_BODY2']} "$Username". {$ubbt_lang['PASS_BODY3']} "$pass".";
To this:
$msg = "{$ubbt_lang['PASS_BODY1']} '$ip' {$ubbt_lang['PASS_BODY2']} "$Username". {$ubbt_lang['PASS_BODY3']} "$pass".\n\nClick on the following link to login: {$config['phpurl']}/start_page.php?Loginname=$Username&Loginpass=$pass&option={$ubbt_lang['BUTT_LOGIN']}";
And now they will have a link that will automaticly log them in. []https:/