Skip to Content Skip to Menu

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

[SOLVED] Using CB Auto Actions - Generate category and folders in JoomDOC Component?

  • jsrunder
  • jsrunder
  • OFFLINE
  • Posts: 33
  • Thanks: 4
  • Karma: 0
8 years 8 months ago #277620 by jsrunder
Hello again, and many thanks to you for even the quick responses.

It appears that we may be very close to making this work.

Can you possibly explain or show details of how I would use CB Auto Actions to generate folders within the CB Gallery component automatically upon new registration?

Also, fyi, I've attached a txt file of the Debug errors from the most recent attempt to use the CB Auto Actions to generate folders within the JoomDOC component. How can I remove that file from this post once we're done?

Thank you, so very much, dear Sir.

J
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 8 months ago #277663 by krileon

Can you possibly explain or show details of how I would use CB Auto Actions to generate folders within the CB Gallery component automatically upon new registration?

Act on the after registration trigger with a gallery action and you can create folders directly with the gallery action. No coding needed. Specifically the below should work fine for frontend and backend user create.

Global
Triggers: onAfterNewUser, onAfterUserRegistration
Type: Gallery
User: Automatic
Access: Everybody
Action
Mode: Folder
Type: Photo
Title: My Registration Folder

Also, fyi, I've attached a txt file of the Debug errors from the most recent attempt to use the CB Auto Actions to generate folders within the JoomDOC component. How can I remove that file from this post once we're done?

The API is erroring that it can't create the folder. The error message is JOOMDOC_UNABLE_CREATE_FOLDER. Contact the developer of your extension for usage of their API.


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.

  • jsrunder
  • jsrunder
  • OFFLINE
  • Posts: 33
  • Thanks: 4
  • Karma: 0
8 years 8 months ago - 8 years 8 months ago #277680 by jsrunder
Thank you!!

Dude! It worked!!! Woohoo!!

All the best, thank you!!

J
Last edit: 8 years 8 months ago by jsrunder. Reason: SOLVED
The following user(s) said Thank You: krileon

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

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 473
  • Thanks: 33
  • Karma: 3
8 years 8 months ago #278393 by boyjahq
You use 2 triggers in your example:
Triggers: onAfterNewUser, onAfterUserRegistration

What is the difference between the two? Why are both needed?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 8 months ago #278422 by krileon

What is the difference between the two? Why are both needed?

onAfterNewUser is for backend user create. onAfterUserRegistration is for frontend registration.


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: nant

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

Moderators: beatnantkrileon
Powered by Kunena Forum