Description de la table
Table contenant la liste des paramètres des notifications définis par les membres.
CREATE TABLE phpbb_user_notifications ( item_type varchar(165) COLLATE utf8_bin NOT NULL DEFAULT '', item_id int(10) unsigned NOT NULL DEFAULT '0', user_id int(10) unsigned NOT NULL DEFAULT '0', method varchar(165) COLLATE utf8_bin NOT NULL DEFAULT '', notify tinyint(1) unsigned NOT NULL DEFAULT '1', UNIQUE KEY itm_usr_mthd (item_type,item_id,user_id,method), KEY user_id (user_id), KEY uid_itm_id (user_id,item_id), KEY usr_itm_tpe (user_id,item_type,item_id) ) CHARSET=utf8 COLLATE=utf8_bin;
INSERT INTO phpbb_user_notifications (item_type, item_id, user_id, method) VALUES('notification.type.post', 0, 2, 'notification.method.board');
INSERT INTO phpbb_user_notifications (item_type, item_id, user_id, method) VALUES('notification.type.post', 0, 2, 'notification.method.email');
INSERT INTO phpbb_user_notifications (item_type, item_id, user_id, method) VALUES('notification.type.topic', 0, 2, 'notification.method.board');
INSERT INTO phpbb_user_notifications (item_type, item_id, user_id, method) VALUES('notification.type.topic', 0, 2, 'notification.method.email');
INSERT INTO phpbb_user_notifications (item_type, item_id, user_id, method) VALUES('notification.type.forum', 0, 2, 'notification.method.board');
INSERT INTO phpbb_user_notifications (item_type, item_id, user_id, method) VALUES('notification.type.forum', 0, 2, 'notification.method.email');