I can create an action with "After Create Blog" trigger, type "Code", action, method "PHP" but do not know how to do more. For example which PHP codes will be added, then return to "silent", "return", "echo", "var_dump" or "Print"?
So can you help me how to continue?
AUP has instruction on points assignment, but I do not know how to follow it. I attached the file here, so can you study it and help me?
The return should be silent as there's nothing to output. What PHP code you supply is based entirely off their API. I can not instruct you in regards to using their API and you need to contact AUP regarding that. If a direct database query is acceptable that's also an option using the Query action, but you'd need to contact AUP regarding their database structure for inserting points.
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 Alpha User Point is improving the rule for me.
He tried with the information you gave but did not succeed yet.
He told me that what he need is an clear example of to how CB Blogs interact with save article action. That means clear steps that CB Blog will work to save completely an article to Joomla.
Within the ->store function of cbblogsBlogTable the CB table binds its data to the Joomla article then stores it using entirely Joomla API. The Joomla API ->store is what results in firing that trigger.
He tried with the information you gave but did not succeed yet.
Tried what? To use CB Auto Actions acting on blog create trigger? All you need is AUP API usage information and you can have the points logging done easily by CB Auto Actions.
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.
I meant that he used follwing information:
CB Blogs does a ->store on a Joomla content object, which is what fires the trigger. CB Blogs uses the following.
$article = JTable::getInstance( 'content' );
Once the data is bound it it calls ->store, which its behavior can be found in the below.
libraries/legacy/table/content.php
This then calls ::store of its parent found below.
libraries/joomla/table/table.php
Which is responsible for the trigger as follows.
$this->_observers->update('onAfterStore', array(&$result));
to improve his rule, but not succeed yet.
In the meantime, I tried CBAutoAction but do not succeed too. The problem is that I do not know about coding. In the Alpha User Point, he has instruction on how to use API, but I do not understand. If you know anything about AUP API, please tell me so I will try. I know that with you it is very easy.
Thank you very much for your attention and help so far.
You need to contact AUP regarding AUP API. I can not help you with AUP as I'm not its developer and am not familiar with its 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.