Digests

Digests sent to inactive users - Digests

Digests sent to inactive users

by William Comben » Sun Feb 17, 2019 3:11 pm

Hi, I have just migrated to phpBB3, Digests are exactly what my users require.

I installed the Digests mod without any problems and it appears to be working well.

I require user accounts to be authorised by an admin before they are accepted and activated, However I find that newly registered users are being send digests before their account has been authorised and activated, Is this correct.

Thanks, Bill
William Comben
Registered User
Posts: 5
Joined: Sun Feb 17, 2019 3:01 pm

Re: Digests sent to inactive users

by MarkDHamill » Sun Feb 17, 2019 5:55 pm

No. What may have happened is that the accounts were activated.

The user_type column in the phpbb_users table is used as a screen. The user_type must be 0 (registered) or 3 (founder) to get a digest. The applicable line of code that enforces this is here:

https://github.com/MarkDHamill/digests/ ... s.php#L431

Check the user_type column for these users. It should be 0 or 3.
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Covers through phpBB 3.3.7. eBook and paper versions available.
User avatar
MarkDHamill
Registered User
Posts: 4933
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA

Re: Digests sent to inactive users

by William Comben » Sun Feb 17, 2019 6:10 pm

Thanks for the quick reply Mark. No the user this occurred with was a spammer has now been deleted entirely and certainly was not activated, I am the only admin. I found out this had happened when the digest email bounced as he had registered using a bad email address. I then logged on to the board and that user was showing as inactive.
William Comben
Registered User
Posts: 5
Joined: Sun Feb 17, 2019 3:01 pm

Re: Digests sent to inactive users

by MarkDHamill » Sun Feb 17, 2019 7:48 pm

He may have activated the account, gotten the digest because automatic subscriptions on registration were turned on, then you or someone made him inactive. If he was in an inactive status when digests went out, there is no way he could get one.
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Covers through phpBB 3.3.7. eBook and paper versions available.
User avatar
MarkDHamill
Registered User
Posts: 4933
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA

Re: Digests sent to inactive users

by William Comben » Wed Feb 20, 2019 3:17 pm

Hi Mark, I have carried out further checks by registering several new users and not activating them and cannot get the problem to re-occur.

I am certain that it did occur for the original spammer and that he had not been activated ( all user activations and deactivations are logged in the User log) but it was not there!

I can only assume that it was a one off as it occurred during the first 24 hours after I had upgraded from PHPBB2, he was the first user to register after that.

Thanks for your help

Bill
William Comben
Registered User
Posts: 5
Joined: Sun Feb 17, 2019 3:01 pm