Joined: Jan 05, 2006 Posts: 32 Location: Phoenix, AZ
Posted:
Tue Mar 28, 2006 11:51 am
I hacked this module and the Your Account module to make a little tool so that only admins can approve memberships...it sends out emails as well to notify both the admin when a new user has asked for membership as well as to the user when they have been approved...Susann is right, first check your preferences and then if thats not it, post the code.
Here is the index.php from the resend_email module folder:
Code:
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
/************************************************************************/
/* Module by Gaylen Fraley */
/* http://ravenphpscripts.com */
/* http://ravenwebhosting.com */
/* For use with nuke 6.5+ . */
/* Change History */
/* 06/25/2005 - Version 2.0.2 Released */
/* - Fixed bug: the resend password was empty */
/* 06/24/2005 - Version 2.0.1 Released */
/* - Fixed bug: the buttons were not language independent */
/* - German language translation added (Susan) */
/* Thanks to Susann for discovering the bug! */
/* 06/12/2005 - Version 2.0.0 Released */
/* - Converted to new sql layer */
/* - Converted & to & where appropriate */
/* - Efficiency modifications */
/* - Added auto-refresh code to redirect where appropriate */
/* - Added date and timestamp added to the Waiting screen */
/* - Added language defines */
/* - Miscellaneous other tweaks */
/* 05/19/2003 - Added Modification facility to allow the Admin to make */
/* selected modifications to the temporary record. */
/* 05/18/2003 - Fixed password display in email and added hyperlink */
/* to the display to allow the Admin to activate the user */
/* right from the module. The password will now be changed */
/* when resending the email. */
/* 05/09/2003 - Released */
/************************************************************************/
Joined: Jan 05, 2006 Posts: 32 Location: Phoenix, AZ
Posted:
Tue Mar 28, 2006 1:31 pm
i totally spaced...that activation link sent out has nothing to do with this module, thats generated in your Your_Account module. Somethings going on there...when you recovered from your site being hacked...did you just do a complete reinstall and then restored the db or what? You might want to consider this is you havent done so or at least copy over the current Your_Account module with a unaffected copy for the same version. Let us know.
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum