Project-Id-Version: Trac 0.12
Report-Msgid-Bugs-To: trac-dev@googlegroups.com
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Language-Team: en_US <trac-dev@googlegroups.com>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.
Last modified 5 years ago Last modified on 11/17/12 21:34:12

phTagr supports email notification on new media or new comments. The email settings are configured in Config/core.php

  Configure::write('Mail.from', 'me@my.free.mail.hoster.com');
  Configure::write('Mail.replyTo', 'me@my.free.mail.hoster.com');
  Configure::write('Smtp.host', 'my.smpt.host.com');
  Configure::write('Smtp.port', '25');
  Configure::write('Smtp.username', 'my username');
  Configure::write('Smtp.password', 'my password');

Also set Notification.url to your gallery:

  Configure::write('Notification.url', 'http://phtagr.example.org/');

Further a console shell command notifies a user for new media of other users each day

<phtagr dir>/cakephp/lib/Cake/Console/cake notify run to notify all users

You should run the command from phtagr dir.

You can edit your crontab by crontab -e which will run the notification at 8:15 each morning.

15 8 * * * cd /var/www/phtagr && cakephp/lib/Cake/Console/cake notify run && `cd - > /dev/null`

For public installation your cron should be run as your web server user if you do not use the suPHP module. Execute sudo crontab -e -u www-admin to edit the cron settings from web server user www-admin.