*

MB Themes

New plugin: Email reminder
« on: February 10, 2022, 11:54:04 AM »
Hey folks,
We are bringing brand-new plugin to remind your users or admins.
https://osclasspoint.com/osclass-plugins/messaging-and-communication/email-reminder-osclass-plugin-i190

Enjoy ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sansan lim

  • *
  • 4 posts
Re: New plugin: Email reminder
« Reply #1 on: April 07, 2022, 07:28:05 AM »
Hi,

 i found this email are what im searching for, in the description it stated we can edit the template but i cant find any.

May i know how can we edit each text please ?

*

MB Themes

Re: New plugin: Email reminder
« Reply #2 on: April 08, 2022, 01:17:20 PM »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sansan lim

  • *
  • 4 posts
Re: New plugin: Email reminder
« Reply #3 on: April 08, 2022, 01:33:18 PM »


Yes i do know there is a email template at setting there.

In my Email Template doesnt have some of the template, do i need to install the plugin to show new Email Template in “Setting” area ?

*

sansan lim

  • *
  • 4 posts
Re: New plugin: Email reminder
« Reply #4 on: April 08, 2022, 01:37:51 PM »
I create another reply for additional picture below here :)

*

MB Themes

Re: New plugin: Email reminder
« Reply #5 on: April 09, 2022, 07:21:32 AM »
Email templstes are added when plugin is installed (and has some templstes).
I would expect maybe just 1 email template for reminder plugin (but msybe each message has own) and their id would start with erm_email_ most probably.

// Edit: found them all, attached
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sansan lim

  • *
  • 4 posts
Re: New plugin: Email reminder
« Reply #6 on: April 09, 2022, 03:29:00 PM »
Ok thanks, so I just install the plugin will see the new template in this “Email Templare” area :)

*

MB Themes

Re: New plugin: Email reminder
« Reply #7 on: April 10, 2022, 09:24:01 AM »
Correct.
If plugin use email templates, will generate them on install and remove them on uninstall.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • *****
  • 465 posts
Re: New plugin: Email reminder
« Reply #8 on: April 22, 2022, 12:12:48 PM »
Very satisfied with the plugin but it sends the admin stats every hour instead of daily. I've noticed a cron in functions.php that runs every hour.
   
Code: [Select]
  if(erm_param('admin_pending_comment') == 1) {
    erm_remind_admin_pending_comment($last_check);
  }

  if(erm_param('admin_stats') == 1) {
    erm_send_reminder_emails_stats();
  }
 
  osc_set_preference('last_check', $now, 'plugin-reminder');
}

osc_add_hook('cron_hourly', 'erm_send_reminder_emails');

Do you think by changing it to this it will work and send daily stats?

Code: [Select]
  if(erm_param('admin_pending_comment') == 1) {
    erm_remind_admin_pending_comment($last_check);
  }
   osc_set_preference('last_check', $now, 'plugin-reminder');
}
osc_add_hook('cron_hourly', 'erm_send_reminder_emails');

  if(erm_param('admin_stats') == 1) {
    erm_send_reminder_emails_stats();
  }
osc_add_hook('cron_daily', 'erm_send_reminder_emails');

Thanks

*

MB Themes

Re: New plugin: Email reminder
« Reply #9 on: April 22, 2022, 12:17:42 PM »
@mwindey
update to this:
Code: [Select]
  if(erm_param('admin_pending_comment') == 1) {
    erm_remind_admin_pending_comment($last_check);
  }
 
  osc_set_preference('last_check', $now, 'plugin-reminder');
}

osc_add_hook('cron_hourly', 'erm_send_reminder_emails');


function erm_send_reminder_emails_daily() {
  if(erm_param('admin_stats') == 1) {
    erm_send_reminder_emails_stats();
  }
}

osc_add_hook('cron_daily', 'erm_send_reminder_emails_daily');
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • *****
  • 465 posts
Re: New plugin: Email reminder
« Reply #10 on: April 22, 2022, 04:14:44 PM »
@MB Themes

Thank you  :-*

*

MB Themes

Re: New plugin: Email reminder
« Reply #11 on: April 22, 2022, 06:55:53 PM »
Np, will be in next plugin update as well
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots