UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible 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 online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

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