Mod Request: Resend Activation Link »  Show posts from    to     

Icy Phoenix


Old Support Topics - Mod Request: Resend Activation Link



andrea75 [ Thu 28 Sep, 2006 19:39 ]
Post subject: Mod Request: Resend Activation Link
Hi all... I have a request for KugeLSichA.
I see that you have installed on your site the "Resend Activation Link Mod": I'm trying to install it on my site, but something don't works fine. Can you post here (on in the mod's section) the right files for this mod?

Thaks a lot!


MrWizard [ Fri 29 Sep, 2006 01:57 ]
Post subject: Re: Mod Request: Resend Activation Link
Sorry to say but the instructions that are included with that MOD are incorrect. Use the following instructions. I corrected them.

Code: [Hide] [Select]
########################################################
## MOD Title: Resend Account Activation E-mail
## MOD Author: ycl6 < ycl6@users.sourceforge.net > (Y.C. LIN) http://macphpbbmod.sourceforge.net/
## MOD Description: Inactive users are able to request activation email to be re-sent to their mail box.
## MOD Version: 1.0.2
##
## Installation Level: Easy
## Installation Time: 3 Minutes
##
## Files To Edit: 3
## login.php
## language/lang_english/lang_main.php
## templates/ca_aphrodite/login_body.tpl
##
## Included Files: 3
## root/request_actmail.php
## root/templates/ca_aphrodite/request_actmail.tpl
## root/language/lang_english/email/resend_activation_email.tpl
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
#################################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## Tested on 2.0.21. Can be installed using EasyMOD 0.3.0
##
## Monitor update status: http://sourceforge.net/project/filemodule_monitor.php?filemodule_id=195274
##
##############################################################
## MOD History:
##
## 2005-06-24 - Version 1.0.0
## - Initial Release
##
## 2005-07-16 - Version 1.0.1
## - Include activation mode check
##
## 2005-09-02 - Version 1.0.2
## - Fixed initial $send_activation_interval setting
## - Added a switch to login_body.tpl
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ SQL ]------------------------------------------
#
# Remember to change the table prefix used on your database
ALTER TABLE phpbb_users ADD user_actmail_last_checked INTEGER(11) NOT NULL DEFAULT 0;
#
#-----[ COPY ]------------------------------------------
#
copy root/request_actmail.php to request_actmail.php
copy root/request_actmail.tpl to templates/ca_aphrodite/request_actmail.tpl
copy root/lang_english/resend_activation_email.tpl to language/lang_english/email/resend_activation_email.tpl
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Resend Account Activation E-mail MOD
$lang['Resend_activation_email'] = 'Resend Account Activation E-mail';
$lang['Invalid_activation'] = 'User account activation can only be performed by administrators';
$lang['Invalid_uaername'] = 'Invalid uaername';
$lang['Invalid_email'] = 'Invalid Email';
$lang['Already_activated'] = 'Your account has already been activated.';
$lang['No_actkey'] = 'There is no activation key for your account.<br />Please contact the webmaster or board administrator for more information';
$lang['Send_actmail_flood_error'] = 'You cannot make another request so soon after your last<br />Please try again in a short while.';
$lang['Resend_activation_email_done'] = 'The activation email has been sent.<br />Please check your e-mail for details on how to activate your account.';
#
#-----[ OPEN ]------------------------------------------
#
login.php
#
#-----[ FIND ]------------------------------------------
#
'L_SEND_PASSWORD' => $lang['Forgotten_password'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_RESEND_ACTIVATION_EMAIL' => $lang['Resend_activation_email'], // Resend Account Activation E-mail MOD
#
#-----[ FIND ]------------------------------------------
#
'U_SEND_PASSWORD' => append_sid("profile.$phpEx?mode=sendpassword"),
#
#-----[ AFTER, ADD ]------------------------------------------
#
'U_RESEND_ACTIVATION_EMAIL' => append_sid("request_actmail.$phpEx"), // Resend Account Activation E-mail MOD
#
#-----[ FIND ]------------------------------------------
#
'S_HIDDEN_FIELDS' => $s_hidden_fields)
);
#
#-----[ AFTER, ADD ]------------------------------------------
#
if ( !isset($HTTP_GET_VARS['admin']) )
{
$template->assign_block_vars('switch_resend_activation_email_block', array() );
}
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/login_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td colspan="2" nowrap="nowrap"><span class="gensmall"><a href="{U_SEND_PASSWORD}" class="gensmall">{L_SEND_PASSWORD}</a>&nbsp;|&nbsp;<a href="{U_REGISTER}" class="gensmall">{L_REGISTER}</a></span></td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN switch_resend_activation_email_block -->
<tr align="center">
<td colspan="2"><span class="gensmall"><a href="{U_RESEND_ACTIVATION_EMAIL}" class="gensmall">{L_RESEND_ACTIVATION_EMAIL}</a></span></td>
</tr>
<!-- END switch_resend_activation_email_block -->
#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
Open request_actmail.php and change $send_activation_interval is you wish
The current request interval is set as 3600 seconds, i.e. an user need to wait for 60 minutes for next request.
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


andrea75 [ Fri 29 Sep, 2006 08:41 ]
Post subject: Re: Mod Request: Resend Activation Link
MrWizard wrote: [View Post]
Sorry to say but the instructions that are included with that MOD are incorrect. Use the following instructions. I corrected them.


This is not the mod that Kugel has in his site... I think is this

http://www.phpbbhacks.com/download/4361


KugeLSichA [ Fri 29 Sep, 2006 12:10 ]
Post subject: Re: Mod Request: Resend Activation Link
andrea75 wrote: [View Post]
MrWizard wrote: [View Post]
Sorry to say but the instructions that are included with that MOD are incorrect. Use the following instructions. I corrected them.


This is not the mod that Kugel has in his site... I think is this

http://www.phpbbhacks.com/download/4361


Hi,

yes this is an very cool feature.

The MOD i have installed is the olympus style login

I´m very busy in these days, but if i have some free time, i can write an doc. and upload this here.

please be patient. thx


andrea75 [ Fri 29 Sep, 2006 12:52 ]
Post subject: Re: Mod Request: Resend Activation Link
KugeLSichA wrote: [View Post]
andrea75 wrote: [View Post]
MrWizard wrote: [View Post]
Sorry to say but the instructions that are included with that MOD are incorrect. Use the following instructions. I corrected them.


This is not the mod that Kugel has in his site... I think is this

http://www.phpbbhacks.com/download/4361


Hi,

yes this is an very cool feature.

The MOD i have installed is the olympus style login

I´m very busy in these days, but if i have some free time, i can write an doc. and upload this here.

please be patient. thx


OK, thanks in advance! I will wait


MrWizard [ Sat 30 Sep, 2006 04:50 ]
Post subject: Re: Mod Request: Resend Activation Link
Andrea, I lloked into that MOD. Very nice! I am using it now. Better then the one I had from PHPbb forums.


andrea75 [ Sun 01 Oct, 2006 19:47 ]
Post subject: Re: Mod Request: Resend Activation Link
MrWizard wrote: [View Post]
Andrea, I lloked into that MOD. Very nice! I am using it now. Better then the one I had from PHPbb forums.


Can you post the file or changes for XS? Thanks...


MrWizard [ Sun 01 Oct, 2006 21:38 ]
Post subject: Re: Mod Request: Resend Activation Link
Andrea, All you really have to do is follow the included instructions. There were only a few lines that I have to guess at what they really were. For example: the following is only a demo. It would ask to look for this line,

$autologin = ( isset($_POST['autologin']) ) ? true : 0;

now let's say that I didn't find that exact line I would try seaching for:

'autologin'

and then go from there, until I found something that look very close to exact.
Some of the lines have different spacings and might have an extra character at the end.
You can download the mod from here: Olympus-Style Login Screen




Powered by Icy Phoenix