Taskfreak é um gerenciador de tarefas open source desenvolvido em PHP. Sua instalação é muito simples, já em relação a instalação dos plugins, há pouco conteúdo disponível na internet, e quando há conteúdo, é mal explicado, por isso resolvi criar esse post.
Para instalar o Taskfreak:
1- Faça o download dos arquivos http://www.taskfreak.com/original/download para sua máquina
2 – Crie o banco de dados e importe as tabelas que estão no arquivo /install/mysql.init.sql
3- Altere as variáveis abaixo, de acordo com os dados do seu banco, do arquivo /include/config.php:
define(‘TZN_DB_HOST’,'localhost’);
define(‘TZN_DB_USER’,'root’);
define(‘TZN_DB_PASS’,”);
define(‘TZN_DB_BASE’,'taskfreak’);
O usuário inicial para acessar o Task é admin com senha vazia.
Para instalar plugins:
1- Faça o download do Plugin Manager http://www.dracon.biz/download/PluginMan_0.2.6i.zip
2 – Descompacte os arquivos e coloque na raiz do Taskfreak
3- Acesse o arquivo plugins.php que está na raiz do seu task. Ex: www.meutask.com.br/plugins.php
4 – Aparecerá o nome do plugin, clique em + para instalar
Prontinho, a partir de agora você já consegue instalar outros plugins
Como instalar o plugin para notificação via e-mail:
1 – Faça o download dos aquivos http://www.dracon.biz/download/EmailNotify_0.1.7.zip
2 – Em www.meutask.com.br/plugins.php, por exemplo, selecioner a pasta do plugin zipada e clique em enviar
3- O nome do plugin aparecerá na tela. Clique no + para instalar
4- Altere o arquivo /include/config.php, as variáveis que se referem ao EmailNotify_0.1.7.
# ~~~ EMAIL NOTIFICATION PLUGIN SETTINGS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
define(‘PLG_EMAIL_VER’, “0.1.7″);
define(‘PLG_EMAIL_TITLE’, “EmailNotify_”.PLG_EMAIL_VER);
define(‘PLG_EMAIL_DIR’, PRJ_ROOT_PATH.”plugins/data/installed/”.PLG_EMAIL_TITLE.”/”);
// sender identification, email address – default: taskfreak@yourdomain.com
define(‘PLG_EMAIL_FROM’, “task@rosianerocha.co.cc”);
// sender identification, name – default: TaskFreak! Management System
define(‘PLG_EMAIL_FROM_NAME’, “TaskFreak! Management System”);
// main recipient identification – default: taskfreak@yourdomain.com
define(‘PLG_EMAIL_TO’, “task@rosianerocha.co.cc”);
// recipients invisible to each other – if set to false PLG_EMAIL_TO is ignored
define(‘PLG_EMAIL_BCC’, false);
// user who triggered the notification will receive the email
define(‘PLG_EMAIL_USER’, false);
// only owner of the task will receive the email & the author if PLG_EMAIL_USER set to true
define(‘PLG_EMAIL_OWNER_ONLY’, true);
// override global settings and send emails to people based on their position in the project
define(‘PLG_EMAIL_BY_POSITION’, false); // PLG_EMAIL_OWNER_ONLY disables this setting, set it to false
// setting for PLG_EMAIL_BY_POSITION, which positions will receive emails
define(‘PLG_EMAIL_POSITIONS’, “2,3,4,5″); // 1 – visitor, 2 – official, 3 – member, 4 – moderator, 5 – leader
// Swift sending options – for other settings edit Notify.php (SSL, TLS, Auth)
define(‘PLG_EMAIL_SWIFT’, “phpmail”); // smtp, sendmail or phpmail
// Sendmail path – this is the default location on most linux systems
define(‘PLG_EMAIL_SENDMAIL’, “/usr/sbin/sendmail -bs”);
// SMTP server – required only if PLG_EMAIL_SWIFT is set to smtp
define(‘PLG_EMAIL_SERVER’, “mail.rosianerocha.co.cc”);
// SMTP server timeout – sometimes required for anti-spam delays
define(‘PLG_EMAIL_SERVER_TIMEOUT’, 30);
// if your SMTP server requires authentification set PLG_EMAIL_SERVER_AUTH to true
define(‘PLG_EMAIL_SERVER_AUTH’, true);
define(‘PLG_EMAIL_SERVER_USER’, “task@rosianerocha.co.cc”);
define(‘PLG_EMAIL_SERVER_PASS’, “12345678″);
// no recipients error – if you want to be notified about no recipients
define(‘PLG_EMAIL_NO_RCP’, true); // false for silent
// debug mode – will echo out all email info instead of sending
define(‘PLG_EMAIL_DEBUG’, false);
// just to make sure u’ve read all the options – please set to true
define(‘PLG_EMAIL_ENABLED’, true);
# ~~~ EMAIL NOTIFICATION PLUGIN SETTINGS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
Caso apareça um erro PLG_EMAIL_ENABLE, altere o arquivo /plugins/data/installed/EmailNotify_0.1.7/modify/include/config.php setando true para a variável PLG_EMAIL_ENABLE. Em seguida vá até a página www.meutask.com.br/plugins.php, por exemplo, e atualize o plugin e-mailnotify.
É isso