Stack Ideas,
Currently an administrator is able to send a reminder e-mail to a user who has not activated their subscription after creating an account with the EasySocial User Administration section. This works just fine, but is a huge distraction for the site administrator and doesn't get done as often as it should.
QUESTION
Is there a way that a CRON job could be created to periodically go through the list of user who have not activated their subscription and send them a reminder e-mail?
IF NOT, WOULD THE FOLLOWING BE POSSIBLE
Just wanted to see if this is possible with the current product by creating a script that would do the following based on a specific user_id.
require_once ( JPATH_BASE . 'administrator' . DS . 'components' . DS . 'com_easysocial' . DS . 'includes' . DS . 'easysocial.php' );
require_once ( JPATH_BASE . 'administrator' . DS . 'components' . DS . 'com_easysocial' . DS . 'includes' . DS . 'user' . DS . 'user.php' );
$config = JFactory::getConfig();
$app = JFactory::getApplication('site');
$app->initialise();
// Get USER
$user = ES::user($user_id);
// Send Re-Activation E-mail
$model = FD::model('Registration');
$model->resendActivation( $user );
Thanks
Dan