Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Digests sending even when off #5601
    Pam Barry-Santos
    Participant

    Thanks for the quick reply. And you’re right, we think — it looks like regular notifications.

    But, those notifications didn’t go out the previous day when we had all the exact same settings (and had new entries in several forums) — except for turning on the “Notify all members of all groups that have access to that forum” option.

    So, the role selections have no effect on the “Notify all members of all groups that have access to that forum”? And that option (notify all…) is only for instant notifications and doesn’t affect the digests?

    Is there a log we can dig into to find out who got what notifications?

    Thanks!

    in reply to: Apply digest settings to all users #5592
    Pam Barry-Santos
    Participant

    Thanks. I ended up adding it through php in order to get it to apply to all users (we had already imported 800 users). And because the digest option wasn’t on for the users, I also had to enable the digest (before it showed it being “on” in the profile page in WordPress admin pages).

    I had to hunt around a bit to find the right combo (I’m not a coder), so thought I’d share what worked for me in case someone else needs the info.

    I added the code below to functions.php, refreshed the site (to run the code) and then removed the code (only needs to run the one time to update/add the changes).

    $users = get_users( ['fields' => ['ID'] ] );
    foreach ( $users as $user ) {
        $user_update = update_user_meta($user->ID, 'BbpnnsDigest_frequency', 'daily');
    }
    
    $users = get_users( ['fields' => ['ID'] ] );
    foreach ( $users as $user ) {
        $user_update = update_user_meta($user->ID, 'BbpnnsDigest_enabled', '1');
    }
Viewing 2 posts - 1 through 2 (of 2 total)