Skip to Content Skip to Menu

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

Validate email every few months

  • brimberry
  • brimberry
  • OFFLINE
  • Posts: 14
  • Thanks: 0
  • Karma: 0
9 years 3 months ago - 9 years 3 months ago #268074 by brimberry
Validate email every few months was created by brimberry
Do you have a idea how i can send a new mail after few months to check the current email adress?

I used CB Auto Actions to search in
Last edit: 9 years 3 months ago by brimberry.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago #268129 by krileon
Replied by krileon on topic Validate email every few months
You want them to reconfirm their email every 3 months or you want to send an email to users who haven't confirmed their email every 3 months? I suppose you could try using CB Auto Actions to send an email using the Internal Users trigger then setting up CRON for the Internal Users URL provided in CB Auto Actions > Parameters. It'll cause the action to fire on every user row, which you can reduce down to specific users using Access or Conditions as needed.


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.

  • brimberry
  • brimberry
  • OFFLINE
  • Posts: 14
  • Thanks: 0
  • Karma: 0
9 years 3 months ago #268134 by brimberry
Replied by brimberry on topic Validate email every few months
I want them reconfirm their email every 3 months. I have a idea by using CB Auto Actions. So i have a special field called something like [emailupdatedate]. I tried it first with [lastupdatedate]. But i have now problems to compare the date from [lastupdatedate] and the current, because the thing with +1 DAY (or something else) doesn't work.

Check out this post:
www.joomlapolis.com/forum/153-professional-member-support/230638-problems-with-cbparse-1day#268100

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago #268142 by krileon
Replied by krileon on topic Validate email every few months
CB doesn't have any features for this. Closest we have is CB Reconfirm Email, but it's just to cause a reconfirmation if their email address is changed. You could try a Code action and unconfirm the user then send the confirmation email again using the below.

Code:
$user->confirmUser( 0 ); activateUser( $user, 1, 'UserRegistration', false );

Believe that may work in CB Auto Actions 6.3.1.


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.
The following user(s) said Thank You: brimberry

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

  • brimberry
  • brimberry
  • OFFLINE
  • Posts: 14
  • Thanks: 0
  • Karma: 0
9 years 3 months ago #268385 by brimberry
Replied by brimberry on topic Validate email every few months
Thanks. But i cant check the whole DB with the cron?

I tried to use After Login. It works fine. But after i can't logout the user.

How i can check all users via Cron?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago #268394 by krileon
Replied by krileon on topic Validate email every few months

How i can check all users via Cron?

Create an action that has the Internal Users trigger. Next fire that trigger with the Internal Users URL within CB > Plugin Management > CB Auto Actions > Parameters. Internal Users usage will fire the trigger for every user row.

Another option is to just unconfirm them in CB > User Management then resend the confirmation email.


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