Skip to Content Skip to Menu

Download files

  • kysin
  • kysin
  • OFFLINE
  • Posts: 45
  • Thanks: 4
  • Karma: 0
4 years 2 months ago #320004 by kysin
Download files was created by kysin
Hello!
Is there a way to control file downloads? Or downloading files after agreeing to the download terms?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48437
  • Thanks: 8275
  • Karma: 1443
4 years 2 months ago #320010 by krileon
Replied by krileon on topic Download files
There's no terms and conditions for file downloads. As for a way to control file downloads you'd need to be more specific as to what you're wanting to control.


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.

  • kysin
  • kysin
  • OFFLINE
  • Posts: 45
  • Thanks: 4
  • Karma: 0
4 years 2 months ago #320022 by kysin
Replied by kysin on topic Download files
I need that when downloading a file, some field gets a certain value, for example, "File downloaded". Or you received an email notification about downloading a file.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48437
  • Thanks: 8275
  • Karma: 1443
4 years 2 months ago #320024 by krileon
Replied by krileon on topic Download files
There's not a specific trigger just for downloading, but the generic field endpoint trigger below should work in CB Auto Actions.

Global
Triggers: onBeforefieldClass
User: Automatic
Access: Everybody
Conditions
Condition 1
Field: Custom > Value
Custom Value: [var1_name]
Operator: Equal To
Value: FIELD_NAME_HERE
Condition 2
Field: Custom > Value
Custom Value: [get_function]
Operator: Equal To
Value: download

Replace FIELD_NAME_HERE with the name of your file field. That should work to add custom behavior (e.g. toggling a fields value using a Field action or sending an email with Email action) when a file field is downloaded.


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