$sourcedir/Register.php
Pesquisar
function Activate()
{
global $db_prefix, $context, $txt, $modSettings, $scripturl, $sourcedir;
Adicionar
function Activate()
{
global $db_prefix, $context, $txt, $modSettings, $scripturl, $sourcedir;
//Let us redirect users to where we want after they activate their account
if (!empty($modSettings['enable_activate_account_redirection']) && !empty($modSettings['activate_account_redirection_url']))
$_SESSION['login_url'] = $modSettings['activate_account_redirection_url'];
$sourcedir/ModSettings.php
Pesquisar
array('check', 'allow_guestAccess'),
Adicionar
array('check', 'allow_guestAccess'),
'',
array('check', 'enable_activate_account_redirection',
&$txt['enable_activate_account_redirection']),
array('text', 'activate_account_redirection_url', '35',
&$txt['activate_account_redirection_url']),
'',
./Themes/default/languages/Modifications.portuguese_pt.php
Pesquisar
?>
Adicionar
// The start of the language strings portuguese translate Candidosa2
$txt['enable_activate_account_redirection'] = 'Activar conta redirecionamento ';
$txt['activate_account_redirection_url'] = 'Digite o URL completo. <div class="smalltext">Esta é a url onde seus membros será redirecionado para activar sua conta</div>';
./Themes/default/languages/Help.portuguese_pt.php
Pesquisar
?>
Adicionar
// The start of the language strings portuguese translate Candidosa2
$helptxt['enable_activate_account_redirection'] = 'Here you can enable and disable the activate account redirection mod.';
$helptxt['activate_account_redirection_url'] = 'Here you can enter the full url to where you want your members to be redirected to after they activate their account. The url can be internal or external';