User Subtree-Notification Settings Table

Author Message

Luc Chase

Thursday 18 January 2007 8:18:10 am

Which table stores a users notification settings? Spicifying what subtree content they wish to be kept updated on.
I want to make every user be subscribed to a particular node.

The Web Application Service Provider

Kristof Coomans

Thursday 18 January 2007 9:15:27 am

Hi Luc

They are stored in the ezsubtree_notification_rule table.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Xavier Dutoit

Thursday 18 January 2007 9:16:23 am

Hi,

I'd suggest to use the API and not access the db directly.

X+

http://www.sydesy.com

Kristof Coomans

Thursday 18 January 2007 9:47:15 am

Some useful code: http://ezpedia.org/wiki/en/ez/adding_subtree_notification_rules

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Luc Chase

Monday 22 January 2007 1:55:59 am

Excellent! Thanks very much.

The Web Application Service Provider

Kristof Coomans

Monday 22 January 2007 2:13:12 am

Hi Luc

If you use the API (in a script, module, ... whatever) then please consider contributing it back to the community. Thanks!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Luc Chase

Wednesday 24 January 2007 3:39:48 am

Yes, if I will contribute any useful code. The requirements have expanded a bit... now would also like to allow users to have a weekly digest for all content changes EXCEPT those in a particular sub-tree (the Forum). What is the purpose of the 'use_digest' field in that table? Looks like it might allow this mix of notification rules as there is a row for each. Could this be the case? I know the user interface does not support this but looks like the DB might.

The Web Application Service Provider

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