Skip to Content Skip to Menu

Auto Action Activity

  • MAYASIMA
  • MAYASIMA
  • OFFLINE
  • Posts: 183
  • Thanks: 22
  • Karma: 5
9 years 5 months ago #264833 by MAYASIMA
Auto Action Activity was created by MAYASIMA
I am trying to create an Auto Action to add and activity entry after the member changes or uploads a new Avatar.

I configured it as follows:
  • Triggers > After Avatar Update
  • Type > CB Activity
  • CMS Acl > Registered
  • Action > Type > Field > Message > [formatname] uploaded a new profile picture.

When trying it out I get a blank page and the following error in my server logs:
Code:
[Tue May 26 08:57:52.072794 2015] [:error] [pid 11159] [client 71.233.245.79:50216] PHP Fatal error: Class 'cbactivityActivity' not found in /var/www/html/components/com_comprofiler/plugin/user/plug_cbautoactions/models/activity.php on line 74, referer: https://www.example.com/index.php?option=com_comprofiler&view=userdetails&Itemid=309

I propably am not doing this right. Can you tell me how this should be configured. Also is there a manual available for Auto Actions?

Thanks,

Sima

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 5 months ago #264858 by krileon
Replied by krileon on topic Auto Action Activity
It won't work if you're using CB Activity 3.0.0 RC1. Nothing has been upgraded to work with CB Activity 3.0.0. I won't be upgrading anything to work with it until stable release as I'm still making changes to its API. You'll have to do direct database inserts to the activity table using a Query action if you need to log activity at this time.


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.

  • MAYASIMA
  • MAYASIMA
  • OFFLINE
  • Posts: 183
  • Thanks: 22
  • Karma: 5
9 years 5 months ago #264866 by MAYASIMA
Replied by MAYASIMA on topic Auto Action Activity
I am not to crazy about doing direct database inserts if I am not very familiar with a system. You know dependencies and such... Do you mind posting the query for this type of activity? If not, how long until the stable release?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 5 months ago #264888 by krileon
Replied by krileon on topic Auto Action Activity

Do you mind posting the query for this type of activity?

The below should work.

Code:
INSERT INTO `#__comprofiler_plugin_activity` ( `user_id`, `type`, `message`, `date` ) VALUES ( '[user_id]', 'field', '[formatname] uploaded a new profile picture.', NOW() )

If not, how long until the stable release?

Whenever it's done. Sorry, we don't provide release dates. Especially for such a massively critical plugin for us. CB Activity is getting proper micro test releases as it progress. RC2 should be out soon and there will be an RC3 as well. As long as no other major features/changes go into it a Stable should follow RC3.


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.

  • MAYASIMA
  • MAYASIMA
  • OFFLINE
  • Posts: 183
  • Thanks: 22
  • Karma: 5
9 years 5 months ago #264897 by MAYASIMA
Replied by MAYASIMA on topic Auto Action Activity
Ok, I will try this. Thanks!

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

Moderators: beatnantkrileon
Powered by Kunena Forum