UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

Automatted Activation Reminder

Daniel Pierce · ·
2:15 AM Saturday, 01 October 2016
Normal
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
The replies under this section are restricted to logged in users or users with an active subscription with us