Is there some documentation for the comprofiler_plugin_activity table (particularly the params field)? We have experimented based on CB created entries - would it really be as simple as adding entries to that table, or would it break something else?
We need to be able to post onto the activity stream from outside CB. This is important to us for 1) future flexibility in general and 2) also to give 3rd party apps that we need what they require to integrate into the CB activity stream.
Use CB Auto Actions to add new entries and execute the action from outside sources by running its URL either directly, a redirect, or with an HTTP request. If possible always just act on a trigger though.
Having to keep up with any and all future API changes is likely to make you lose your hair. CB Activity is still rapidly evolving and that includes its API so large wide-sweeping changes to how its API is used are planned.
If you still need to directly add new activity entries then I recommend just directly adding them to the database. See an existing activity entry for examples of how they're stored. Params usage depends on the source and can be used for forwarding commenting and tagging parameters from a parent source to caching an shared images data.
All of the above basically applies to GJ Wall as well, which will be replaced and deprecated entirely in a future release in favor of a plugin that integrates with CB Activity to output a nicer activity stream per group.
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.