JomSocial Hack for versions less than 2.2.4

JomSocial 2.2.4 & lesser versions have a bug ( this is fixed in 2.2.5 Beta) which needs us to patch a JomSocial file so that Broadcast can work correctly with JomSocial. Please follow the instructions below to apply the fix. 

  • The hack is to be done in file http://yoursite.com/components/com_community/tables/activity.php
  • Take backup of the file.
  •  Open the file and search for 'public function store()' 
  • Find the following code in it
    $params[]    = &$obj;
  • Replace it with the following
    /*start Added code by Techjoomla*/
    $params[] = &$this;
    /*end Added by Techjoomla*/