Where and how are notification preferences stored?

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
MarkDHamill
Registered User
Posts: 3487
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA
Contact:

Where and how are notification preferences stored?

Post by MarkDHamill » Thu Jul 05, 2018 2:02 am

I've been trying to figure out the notifications system, specifically where user notification preferences are stored. For example, UCP > Board preferences > Edit notification options, the check boxes for notifications and email for various notification types.

I thought it was maybe in the user_options column but I changed some notifications and the value of the number in the column did not change, so some bit flags apparently did not change there. Then I thought maybe it was in the user_permissions column but that did not change either.

I looked in the phpbb_notifications and phpbb_notifications_types tables but there is nothing obvious there.

Perhaps there is an article about how the notification system works.
Get the latest versions of my Digests and Smartfeed mods and extensions.
Need phpBB services or a phpBB consultant? I offer most phpBB services.

User avatar
david63
Jr. Extension Validator
Posts: 14747
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Where and how are notification preferences stored?

Post by david63 » Thu Jul 05, 2018 6:08 am

MarkDHamill wrote:
Thu Jul 05, 2018 2:02 am
specifically where user notification preferences are stored
_user_notifications
MarkDHamill wrote:
Thu Jul 05, 2018 2:02 am
Perhaps there is an article about how the notification system works.
Havn't seen one
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
MarkDHamill
Registered User
Posts: 3487
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA
Contact:

Re: Where and how are notification preferences stored?

Post by MarkDHamill » Thu Jul 05, 2018 11:55 am

Doh! Thanks! Right in front of my face!
Get the latest versions of my Digests and Smartfeed mods and extensions.
Need phpBB services or a phpBB consultant? I offer most phpBB services.

Post Reply

Return to “Extension Writers Discussion”

Who is online

Users browsing this forum: Roots and 11 guests