Disable the "MyName joined the MySite" on newsfeed :
Go to app/Plugin/SocialIntegration/Controller/AuthsController.php
Find and remove this code
// insert into activity feed$this->loadModel('Activity');$this->Activity->save(array('type' => APP_USER,'action' => 'user_create','user_id' => $this->User->id));
Go to app/Lib/MooListener.php
Find and remove this code
Disabled someone joined a group?// insert into activity feed$controller->loadModel( 'Activity' );$controller->Activity->save( array( 'type' => APP_USER,'action' => 'user_create','user_id' => $controller->User->id) );
Go to app/Plugin/Group/Controller/GroupsController.php
Find and remove this code
Done!$data = array('type' => 'Group_Group','action' => 'group_join','user_id' => $uid,'item_type' => 'Group_Group','items' => $group['id'],'target_id' => $group['id'],'plugin' => 'Group','privacy' => $group['type']);$this->Activity->save($data);
DELETE FROM `{PREFIX}activities` WHERE `action` = 'user_create' OR `action` = 'group_join';
replace {PREFIX} with the prefix when you install your mooSocial site. If you didnt specific any prefix, the query will look like this :
DELETE FROM `activities` WHERE `action` = 'user_create' OR `action` = 'group_join';
** Remember : backup your database before run this query.
** I dont have any responsible if your database is lost... more
#code