Skip to Content Skip to Menu

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

How to set expiry option for users in CB 1,9

  • misp1
  • misp1
  • OFFLINE
  • Posts: 9
  • Thanks: 0
  • Karma: 0
10 years 11 months ago #237048 by misp1
Hi,

I am using CB 1.9 , please let me know how to set the expiry options for users in the
community builder. I want to deactivate the user after 90 days and after 120 days user have to expire from
the joomla. Is it needed any additional plugins Please help me.

Regards
Sarath Zacharia

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
10 years 11 months ago #237084 by krileon
Replied by krileon on topic How to set expiry option for users in CB 1,9
CB has no such feature. You can try using CB Auto Actions then create a Query action to set the users as Blocked on the InternalUsers trigger conditioning against their [lastvisitdate]. To fire this action you need to run the URL found within CB Auto Actions > Config > Internal > Internal Users, which you can use in CRON so it is scheduled to execute regularly (careful with frequency as this trigger loops the action through every CB user).


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.

  • misp1
  • misp1
  • OFFLINE
  • Posts: 9
  • Thanks: 0
  • Karma: 0
10 years 11 months ago #237134 by misp1
Thanks for your reply

Is it have any documentation for the CB Auto Action.

Regards
Sarath Zacharia

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
10 years 11 months ago #237139 by nant

misp1 wrote: Thanks for your reply

Is it have any documentation for the CB Auto Action.

Regards
Sarath Zacharia


This article:

www.joomlapolis.com/news/18380-cb-auto-513-released-with-cron-job-urls-and-more-actions

has some useful resources in it.

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

  • misp1
  • misp1
  • OFFLINE
  • Posts: 9
  • Thanks: 0
  • Karma: 0
10 years 11 months ago #237229 by misp1
Hi,

Thanks for your good support.

My scenario is that the user have to expire after 90 days from the registration,
(Registration date + 90 days user have to expire from the comprofile).
The [registerDate] is filed name.

Now I am given as follows

date( Y-m-d,[registerDate]) less than or Equal to current date

Is it correct?
Please help me.

Regards
Sarath

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

  • misp1
  • misp1
  • OFFLINE
  • Posts: 9
  • Thanks: 0
  • Karma: 0
10 years 11 months ago #237234 by misp1
Hi,

I am trying an action in community builder

[registerDate] equal to "2011-02-02 10:06:19"

Action 1 :: Access check for 722 failed: looking for -4 in -1, -5, -3" string(72) "

note : 722 is userid

Please let me know is there any option to see the sql command or let me know why it
is showing this error.

Regards
Sarath

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

Moderators: beatnantkrileon
Powered by Kunena Forum