Using CjForum activity stream
Prerequisites: Add the required CjForum API library: require_once JPATH_ROOT.'/components/com_cjforum/lib/api.php'; Now get the Stream API: $streamApi = CjForumApi::getStreamApi(); Creating rules XML file A rules xml file needs to be created with…