[SOLVED] Auto Action - generate a "notification/message " on the page

4 years 2 months ago - 4 years 2 months ago #316469 by smalldragoon
Hi
I think autoaction is able to generate a message on the page ( usual joomla green or red banner ) , but can not find how.
Anyone can help ? ( tried some stuff with the different output available but doesn't seem to be it ! )
thanks !

Please Log in to join the conversation.

4 years 2 months ago #316505 by krileon
Code auto action type can add to Joomlas message queue. Beyond that I can not provide support for paid products while you do not have an active subscription.


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

Please Log in to join the conversation.

4 years 2 months ago - 4 years 2 months ago #316516 by smalldragoon
Hi Krileon
of course, my bad, I'm used to using CB all the time so did not pay attention to this.
Just renewed my membership for 6 months :D
Thx!

Please Log in to join the conversation.

4 years 2 months ago #316520 by smalldragoon
Hi again.
So I rechecked this is what I was using.
When I use the direct link test ( with no triggers so ), it works
If I set the "joomla_onuserafterlogin", nothing happens.
is there somehting to activate somewhere ?
Thx

Please Log in to join the conversation.

4 years 2 months ago #316529 by krileon
So you want to output a message after a user logs in? Currently you're acting on Joomla login event. I recommend using CBs onAfterUserLoginSuccess trigger instead which fires right before the login redirect and is a good time to add to Joomlas message queue. Example as follows.

Global
Triggers: onAfterUserLoginSuccess
Type: Code
User: Automatic
Access: Everybody
Action
Method: Message (Message Queue)
Code:
Hello!
Type: Message


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 to join the conversation.

4 years 2 months ago #316538 by smalldragoon
Thanks a lot.
in fact the issue was the template that I was using which was crapy. it works with both :D ( joomla and CB after logging)
Now, Not sure if you remember my other post, when I want to trigger an action each time authorization check is performed.
tried joomla_onuserAuthorisation as I searched and did not find something is CB ( or only CB_onafterauthorizeview which is indeed after ).
any trick here ?
thx

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.247 seconds

Facebook Twitter LinkedIn