Page 1 of 2

Resend Activation Email

Posted: Wed Sep 05, 2007 2:58 am
by Extensions Robot
Modification name: Resend Activation Email
Author: damnian
Modification description: Inactive users are able to request activation email to be re-sent to their mail box
Modification version: 1.0.1
Tested on phpBB version: See below

Download file: resend_actmail_1.0.1.zip
File size: 3773 Bytes

Modification overview page: View


Selected tags:
  1. category
    1. Add-Ons
    2. Communication
  2. complexity
    1. SQL Schema Changes
    2. Template Changes
    3. Language Changes
    4. File Edits
  3. time
    1. ~ 5 Minutes
  4. phpbb
    1. 2.0.22
Support for this modification needs to be asked within this topic. The phpBB Team is not responsible or required to give anyone support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB MODifications Team may not be able to provide support.

This MOD has only been tested by the phpBB MOD Team with the phpBB version listed in the topic. It may not work in any other versions of phpBB.

Resend Activation Email

Posted: Wed Sep 05, 2007 2:58 am
by TerraFrost
Modification validated/released

Notes:

Re: Resend Activation Email

Posted: Wed Sep 05, 2007 5:58 am
by damnian
Thank you for validating.

Re: Resend Activation Email

Posted: Thu Sep 06, 2007 11:24 pm
by dellsystem
Pretty nice MOD, simple but useful, thanks! :D

Re: Resend Activation Email

Posted: Sun Sep 09, 2007 8:09 pm
by radiopatrol
since I am a noob @ this .......... which ); do I place :

// Start add - Resend Activation Email MOD
if ( !isset($HTTP_GET_VARS['admin']) && $board_config['require_activation'] == USER_ACTIVATION_SELF )
{
$template->assign_block_vars('switch_resend_activation_email', array() );
}
// End add - Resend Activation Email MOD


after ....... ?

where I modified the 'L_SEND_PASSWORD' => , U_SEND_PASSWORD'=> ? or some other part of the file ? there are multiple );

Thanks in Advance

Re: Resend Activation Email

Posted: Mon Oct 08, 2007 9:10 am
by Asbestos
Simple and sweet.

Screenshot

Re: Resend Activation Email

Posted: Wed Jan 02, 2008 1:54 pm
by Fisch.666
Hi!

Thanks for this hack, works here without a problem. But i found a small, cosmetic bug. When i use this hack with the german language pack, it doesn't shows the translation for "E- Mail":

Image

How can i fix this? Thanks in advance for an reply.

Re: Resend Activation Email

Posted: Wed Jan 02, 2008 5:42 pm
by RMcGirr83
You have to translate the mod lang entries and add them to the lang_main.php file for whichever language you are using.

So for example,

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#
language/lang_german/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
//
// That's all, Folks!
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Start add - Resend Activation Email MOD
$lang['Resend_activation_email'] = 'Senden Sie Aktivierung email zurück';

$lang['Invalid_activation'] = 'Benutzerkontoaktivierung kann von den Verwaltern nur durchgeführt werden.';
etc
etc
etc
// End add - Resend Activation Email MOD
for German, which is probably wrong as far as translations go. :)

Re: Resend Activation Email

Posted: Wed Jan 02, 2008 11:35 pm
by Fisch.666
Hi!

Thanks for your reply. I've added this translation already in my lang_main.php in the lang_german folder. And have a look at the translation:

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
//
// That's all, Folks!
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Start add - Resend Activation Email MOD
$lang['Resend_activation_email'] = 'Resend activation email';

$lang['Invalid_activation'] = 'User account activation can only be performed by administrators.';
$lang['No_actkey'] = 'There is no activation key for your account. Please contact the board administrator for more information.';
$lang['Send_actmail_flood_error'] = 'You cannot make another request so soon after your last one; please try again in a short while.';
$lang['Resend_activation_email_done'] = 'The activation e-mail has been sent. Please check your e-mail for further information.';
// End add - Resend Activation Email MOD
i can't find the translation for E- Mail in this translation, so i don't think that's the problem. :cry:

Re: Resend Activation Email

Posted: Thu Jan 17, 2008 10:29 pm
by MartectX
It's a problem in profile_send_pass.tpl:

{L_EMAIL_ADDRESS} is somehow not defined... if I put "Email-Adresse" there, it works fine.

EDIT: For a much better solution, look two posts below! :D

Re: Resend Activation Email

Posted: Fri Jan 18, 2008 12:25 pm
by HeatherCD
Thanks for the tip.. I just found this to be true in the english version too. This fixed it.

Re: Resend Activation Email

Posted: Thu Jan 24, 2008 1:16 am
by MartectX
Well well, what do you know. The more I get involved with this excellent software, the more I know about troubleshooting. Forget what I wrote before! Thing is, you have to:

OPEN usercp_resend.php

FIND

Code: Select all

		'L_RESET' => $lang['Reset'],
ADD AFTER (new line)

Code: Select all

		'L_EMAIL_ADDRESS' => $lang['Email_address'],
This way it works for all languages installed! Cheers! ;)

Re: Resend Activation Email

Posted: Thu Jan 24, 2008 8:19 pm
by Fisch.666
Hey, thanks! Works without a problem!!! :D

Re: Resend Activation Email

Posted: Fri Nov 28, 2008 2:18 am
by njbiker
Can someone send me a link to a BB that uses this. I get no errors but do not see it where I expect to. So if I can poke around a BB I can see what I am looking for.

Re: Resend Activation Email

Posted: Fri Nov 28, 2008 4:22 pm
by RMcGirr83
It would be found in the login box...if you were to click the link "login", eg.