About the Notification system

Author Message

Pascal France

Tuesday 25 January 2011 2:07:32 pm

Hi,

I would like to know if it is possible that the notification system send an email to the administrator each time a new comment is written on the site ? I don't want to have to approve the new comments. I just want to be informed when there's a new comment on the site.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Damien Pobel

Wednesday 26 January 2011 12:49:37 am

Hi Pascal,

Yes you can ;-) You just have to subscribe to notification on the root node of your site and then you will receive a mail when a content is created or modified in the subtree.

Cheers

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Pascal France

Wednesday 26 January 2011 7:50:10 am

Hi Damien,

So, I must have a trouble with the hosting's mail serveur because it's exactely what I did but I never receive e-mail.

Cordially,

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Damien Pobel

Wednesday 26 January 2011 8:11:18 am

Notifications are send by notification.php cronjob script, you should first check if this script is launched, if yes you can check the mail system configuration and log.

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Pascal France

Wednesday 26 January 2011 9:11:16 am

Of course, the script runcronjobs is well launch with the frequent option and the good siteaccess ;-)

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Pascal France

Wednesday 26 January 2011 9:49:05 am

Well...

Maybe I have another problem: I just noticed that the button «Remove selected» (under the list «My item notifications») is never activated even I selected some items.

Maybe, the system does not «see» my notification items ?

I use eZP 4.2.0 and it is an update from an old 3.9.x

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 03:06:06
Script start
Timing: Jan 18 2025 03:06:06
Module start 'layout'
Timing: Jan 18 2025 03:06:06
Module start 'content'
Timing: Jan 18 2025 03:06:06
Module end 'content'
Timing: Jan 18 2025 03:06:06
Script end

Main resources:

Total runtime0.6701 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.0313152.6406
Module start 'layout' 0.00650.0031 740.671939.4844
Module start 'content' 0.00950.6591 780.1563564.8516
Module end 'content' 0.66860.0014 1,345.007816.1484
Script end 0.6700  1,361.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4778160.0002
Check MTime0.00150.2171160.0001
Mysql Total
Database connection0.00120.185110.0012
Mysqli_queries0.618192.2369670.0092
Looping result0.00060.0859650.0000
Template Total0.641395.720.3206
Template load0.00200.292620.0010
Template processing0.639395.409720.3197
Template load and register function0.00020.022510.0002
states
state_id_array0.00080.118610.0008
state_identifier_array0.00130.192420.0006
Override
Cache load0.00170.2471280.0001
Sytem overhead
Fetch class attribute can translate value0.00060.090620.0003
Fetch class attribute name0.00130.188870.0002
XML
Image XML parsing0.00060.082520.0003
class_abstraction
Instantiating content class attribute0.00000.002480.0000
General
dbfile0.00070.1071160.0000
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs