4
Here is my version of the php file; I have made a couple of changes for handling errors and redirecting users by providing the link again.
If you use this version in the php file, you need to replace "YOURDOMAIN" where applicable.Drop this into your XOOPS root directory. Then any user has selected "email notification", will be emailed when a new PM arrives.
You'll also need to drop in the other template files as shown in the readme.txt included with the download.
Kurt
PHP
### ======================================================
### [url=http://www.xoops.net.br/]XOOPS Brasil[/url] - A comunidade diferente!
### ======================================================
### Arquivo para reenvio de Link de Ativação
### Script for resend the activation link
### ======================================================
### Developer: Fernando Santos, fernando@zend.com.br
### Copyright: www.xoops.net.br © 2003-2004
### ------------------------------------------------------
### www.xoops.net.br
### ======================================================
### v.1.0, Sun Dec 19 15:33:59 BRST 2004
### ======================================================
$xoopsOption['pagetype'] = "user";
include "mainfile.php";
include 'header.php';
// Doesn't matter GET or POST
$email = isset($HTTP_GET_VARS['email']) ? trim($HTTP_GET_VARS['email']) : '';
$email = isset($HTTP_POST_VARS['email']) ? trim($HTTP_POST_VARS['email']) : $email;
// If $email is empty, show form for link resend
if ($email == '') {
echo <<< TOPET05