tskipton
Hello,
Thank you for asking before writing to the database. I agree it is best to avoid writing directly to JomSocial tables if there is a supported method, because that is safer when JomSocial is updated.
WHAT I CAN CONFIRM
JomSocial has a plugin system for the activity stream, and our team has pointed members to the JomSocial developer documentation for building activity stream plugins: https://documentation.jomsocial.com/wiki/Developers_Documentation (it may be temporarily unavailable today).
I do not have a verified method name or code example for your version, and I do not want to give you something that writes to the stream incorrectly. So I have asked the JomSocial developers for the supported way to create a "Say what's on your mind" style post from a custom component, and I will post their answer here.
TO MAKE THEIR ANSWER EXACT, PLEASE TELL US
- Your Joomla version and JomSocial version, and whether you are on the Socialize template only or also another JomSocial theme.
- What the post should look like: a status post written as a user, or a post from the site (for example "New article: title" with a link to the article).
- Which user the post should appear under (the article author, or one fixed system user), and who should see it (everyone, members only, or friends).
- Whether the post should accept likes and comments and send notifications, like a normal status.
TESTING ON A COPY: TRACY
Since your integration writes posts to a live community, you may find Tracy useful for testing it. Tracy is a new app built by our team at JoomlArt for people who run Joomla sites. It brings your site in as a working copy, so test posts never appear in your real members' activity streams. You describe the change in a sentence, for example "when an article is saved in my component, create an activity stream post on this copy and show me which files you changed", and Tracy lists every file it changes, so you can review it or undo it in one click.
Tracy does not replace the supported method I have asked our developers for. Please treat what it writes as a draft to compare with their answer.
Active JoomlArt members can use Tracy free of charge during the Beta: https://cowork.tracy.ai/?utm_source=joomlart&utm_medium=forum&utm_campaign=tracy-beta-2026-10&utm_content=forum-53050
Best regards,
JoomlArt Support