How to add a Custom module to My Activity Stream

I want updates in Tasks module to show up in Activity Stream just like contacts module. How can I achieve this? Which files should I edit?

Hello,
Please try with this.

  1. create file whatever name in below path.you can use existing file also located in below path.
    custom/Extension/modules/Tasks/Ext/Vardefs/

  2. In this file, add the following code:

    $dictionary[Tasks][activity_enabled]=true;

  3. Save your changes to this file.

  4. Login as an Administrator user and navigate to Admin > Repair.

  5. Click the ‘Quick Repair and Rebuild’ option.

Thanks.

It is not working. Is there any mistakes in your code?