Skip to Content Skip to Menu

[SOLVED] Auto action on image modal for non-registered

  • tonisko
  • tonisko
  • OFFLINE
  • Posts: 10
  • Thanks: 2
  • Karma: 0
8 years 2 weeks ago - 8 years 2 weeks ago #289949 by tonisko
Hello

I want to display a custom message for unregistered users on gallery image modal window "to add comment please log in"

But the message is displayed only if I add access: custom acl - everybody. If I add non-registered or guest, the message is not displayed at all

thanks for help
Attachments:
Last edit: 8 years 2 weeks ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48711
  • Thanks: 8320
  • Karma: 1447
8 years 2 weeks ago #289967 by krileon
Replied by krileon on topic Auto action on image modal for non-registered
That's because the user object for that trigger is the owner of the gallery entry. Set the User parameter in your action to User so it's based off the viewing user then Access can be set to All Non-Registered Users.


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

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

  • tonisko
  • tonisko
  • OFFLINE
  • Posts: 10
  • Thanks: 2
  • Karma: 0
8 years 2 weeks ago #290015 by tonisko
Replied by tonisko on topic Auto action on image modal for non-registered
Thats it, thanks :)

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

Moderators: beatnantkrileon
Powered by Kunena Forum