Hero Inc.

where heroes are an everyday occurrence


Collabtive Help 2

[Translate to Italian]


Due to the positive feedback I have received from several readers for my previous work for Collabtive, I decided to take the time to perform a few more updates. These new additions are completely user facing as I discovered the emails were not as clear to all users as they could be.

These latest updates provide the following changes:

  • Create Task Email to Person Who Assigned Task – Includes task name, description, and completion date
  • Create Task Email to Individuals Assigned Task – Includes task name, description, assigner name (with email link) and completion date
  • Edit Task Email to Individuals Assigned Task – Includes task name, description, and completion date
  • Close Task Emails – Includes task name and description

Here’s a quick view of how an email will look with the recent changes. The text will be different depending on who is receiving the email and the type of event that took place (create, edit, and close).


A new task has been assigned to you.

Task Information
Task Name: Solve World Peace
Task Description: Discover the best way to solve world peace and do it.
Assigned By: Humanity
Completion Date: 20.02.2011

Once the task has been completed, please login to the Collabtive system and acknolwedge the completed task by closing the task.

For those interested, follow the instructions below to update your environment with these latest changes. If you have not updated your environment based on my information from my previous post, then perform those steps first before making these changes.

  1. Download the files I modified on February 20th, 2011.
  2. Update your Collabtive directory with the following files in the appropriate location:
  3. For those not using English as the default language, the following additions need to be made to the appropriate lng.conf file:
    • taskassignedtext
    • taskassignedfooter
    • taskassignertext
    • taskassignerfooter

Enjoy the latest updates and post comments if you have questions.

UPDATE NOTE (2011-02-27): I just realized there was an error in the close task functionality and emails were being sent to the user that has an ID of 1. I’ve updated the code referenced in this post to include a fix for the getAssigner function. Please let me know if you run into any additional issues.

Posted under Internet


Ben Says:
February 27th, 2011 at 12:50 pm

Many thanks for your time and work. I have integrate your latest codes. Will let you know if I run into problem.

Any chance to have a milestone reminder?? I think it is very useful as some developers are working on a few projects at the same time and they do need being reminded from time to time.

again many thanks of your precious contribution.


Ben Says:
February 27th, 2011 at 1:06 pm

I don’t use the milestones much with my work but I briefly looked into your request. To do that, I’d need to setup a scheduled task to run a piece of code daily. For most hosting services, this could mean needing to make a change at the server level to setup the scheduled task and therefore outside the realm of just the collabtive code.

If anyone has any ideas on how to do this just within PHP I’d be more than happy to take a look as I would love to add reminders to any tasks as well.

BTW, just glad there is another Ben out there working with Collabtive other than myself.

Budiman Indrajaya Says:
May 23rd, 2011 at 7:55 pm

Hai, thank’s for the modification, but there is a little problem in it, when i close a tasks, it doesn’t automatically dissapear but i have to refresh first and it will dissapear.

i think the solution is cut the script from //Get Email Parameters in managetask.php action == close until the end of send email code then paste it below header(“Location: $redir”);

Ben Says:
May 23rd, 2011 at 8:03 pm

Thanks for the suggestion. It does close, to my knowledge, but it just takes longer for it to complete running through my terrible code before it can.

When I have some time to try your change and test it, I’ll include it in a posted update.

Alex Says:
January 1st, 2012 at 6:39 am

Many thanks for this extension. Unfortunately I have an issue installing it to Collabtive 07.
E-mail notifications work well but when I try to add new task – I got nothing – blank screen. No error messages, just blank screen. I have replaced your files with original ones and everything works back.
Thank you in advance.


Add A Comment

If you would like to track when new comments have been made, subscribe to the Comments Feed.