Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Member notification

11 years 1 month ago #233711 by dalibor.strop
Member notification was created by dalibor.strop
Hello I would like to ask if there is way how to notify users:
  • when they didnt activate their account
  • didnt visit the page for some time
  • or even delete their account after x months

thank you

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 1 month ago #233726 by krileon
Replied by krileon on topic Member notification
You can setup email actions using CB Auto Actions then condition for various scenarios such as checking against their last visit date. You'd use the internalUsers trigger then fire the internal users URL using CRON. You can find the URL within CB Auto Actions > Config > Internal. This is an advanced usage though and don't suggest it unless you're familiar with CB Auto Actions and CRON.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

11 years 1 month ago #233859 by dalibor.strop
Replied by dalibor.strop on topic Member notification
ok and how do I setup the conditions?
can I enter it like this:
registerDate GREATER THAN 30

thank you

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 1 month ago #233901 by krileon
Replied by krileon on topic Member notification
No, that won't work. You're comparing a datetime string against 30. There's nothing to really compare. You'll need to use a CB Query Field to calculate the days they haven't logged in then condition against it in your action as the conditional can't convert it to days. You maybe able to combine a couple of usages to get this though. The below may work.

Conditional: strtotime([lastvisitdate]) Less Than or Equal To strtotime(-30 DAYS)

It should compare the last time they logged in against the date 30 days ago. So if they haven't logged in at least once within the last 30 days the action should fire.

The strtotime usage is using relative dates as documented below.

www.php.net/manual/en/datetime.formats.relative.php

So you can adjust it however you like. For example you could set it to 1 year from current date, etc..


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

11 years 1 month ago #233960 by dalibor.strop
Replied by dalibor.strop on topic Member notification
Thank you. It works quite fine.
Is there any tutorial how to use cron? I need to check every day users who didnt log in for certain period and send them email so I cannot use any of the standard triggers.

thank you

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 1 month ago #233972 by krileon
Replied by krileon on topic Member notification

Is there any tutorial how to use cron?

No, you should contact your host for CRON usage. The URL to use with CRON is provided in CB Auto Actions > Config > Internal.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum