Skip to Content Skip to Menu

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

Auto Action Field

11 years 9 months ago #218976 by stefantausg
Auto Action Field was created by stefantausg
Hello,
I have a problem with an action field

In the front end, it does not work with the User Login (Registered)

But with the super user login it works in the frontend

In the backend with the superuser login works also.

I've tried the various access levels, but it does not work

version 3.4.0

Trigger: onAfterUserUpdate, onAfterUpdateUser, onAfterUserRegistration


Thanks Stefan
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago #218988 by krileon
Replied by krileon on topic Re: Auto Action Field
What do you mean it doesn't work with login? You're not using an after login trigger... you've it set to fire after profile update (frontend and backend) and after 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.

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

11 years 9 months ago #218996 by stefantausg
Replied by stefantausg on topic Re: Auto Action Field
the super administrator account works in the frontend but the registered users is not working.

If I [cb_rechnungsadresse] field we change the value stored

But if I leave it blank it shows me always the last value.

IT work as super-admin only

thanks
Stefan

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago #219008 by krileon
Replied by krileon on topic Re: Auto Action Field
Remove your conditional and see if it works for everyone. Sounds like your conditional isn't matching for registered users. Also ensure CB Auto Actions within CB > Plugin Management is public and published.


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 9 months ago - 11 years 9 months ago #219032 by stefantausg
Replied by stefantausg on topic Re: Auto Action Field
I can send you a superuser Login and a registered login and you can Check it???

Superuser Login:
Field value empty -> Text from the condition
Field value "Text" -> ok
Field value empty -> Text from the condition

Registered Login:
Field value "Text" -> ok
Field value "another Text" -> ok
Field value empty -> not Text from the condition, the value "Text"

Can i send you a pn?

It is perhaps difficult to understand what I mean.

It is the field cb_rechnungsadresse when registering with the word "Rechnungsempfänger hier eintragen" are filled.
If this field is later changed it should be saved.
If the field is left blank, the field "Rechnungsempfänger hier eintragen" to be filled

It works with super admin user but not with the registered user.

Stefan
Last edit: 11 years 9 months ago by stefantausg.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago #219054 by krileon
Replied by krileon on topic Re: Auto Action Field
Empty checks for NULL or '', maybe try using an Equal To and specifying no value to see if that'll work. There's no reason for it to work for Admin and not other users unless the field cb_rechnungsadresse you're checking against isn't accessible to the user. Substitutions respect access permissions so if you're trying to check a field they can't even access then it's not going to work properly. Ensure the field is on a published and public tab.


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