Skip to:
Content
Pages
Categories
Search
Top
Bottom

Email notification settings. Where in database.


  • Mike Witt
    Participant

    @mike80222

    I’m looking for where the BP email notification settings are stored in the database. I see a number of things that look promising on the “Database Diagram” but I haven’t been able to find any more details. Can somebody point me in the right direction?

Viewing 5 replies - 1 through 5 (of 5 total)

  • shanebp
    Moderator

    @shanebp

    Look in the usermeta database table. It’s a WP table, not at BP table.


    Mike Witt
    Participant

    @mike80222

    Is there any documentation on the details? I see a number of things that start with bp_ but nothing that is obviously a flag to tell whether various notifications are turned on.


    shanebp
    Moderator

    @shanebp

    Again – that data is in the WP table for user meta. That table name does not have a bp_ in it. There will be a separate row for each notification setting for each user.


    Mike Witt
    Participant

    @mike80222

    We seem to be talking past each other. I’m looking in the WP usermeta table. I’m having trouble identifying the buddypress entries which control notifications. I’m not talking about a table that starts with bp_ I’m talking about entries in usermeta with a meta_key that starts with bp_ (sorry, I guess I wasn’t clear about that).

    Maybe looking for meta_keys with bp_ is not the right way to find what I’m after. But if there is any documentation that describes how notification status is stored I would just like to see it. If this is a case where I have to simply read the code, so be it. I was just hoping for a quick pointer to exactly where I could look in the database to find out what BP notifications a user has turned on.

    Again, sorry if I didn’t make that clear.


    shanebp
    Moderator

    @shanebp

    Here is an example of a meta_key notification_messages_new_message.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar