Digests

Digests 3.2.13 released - Digests

Digests 3.2.13 released

by MarkDHamill » Fri Apr 26, 2019 4:05 pm

You can download this version here. It has been submitted to the extension team for review.

For a list of changes since version 3.2.12, go here.

Summary of changes:
  • All five languages are included in the archive. So thanks so much to our Czech, German, French and Spanish translators for their work.
  • In Edit subscribers, the filter fields for "With selected" and "Show" will persist with their previous values if you change it and press GO.
  • The Show field will allow you to filter for subscribers getting Daily digests only, Weekly digests only and Monthly digests only
  • If you want to mark your private messages read, it will also mark these private message notifications as read
  • The manual mailer should not update the database at all, so I moved the mark private message logic so it would not happen with the manual mailer
  • I fixed a minor bug where the popularity size was selecting topics only for topics greater than the size set, rather than greater or equal to the size set as it says in the documentation
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Kindle and paper versions available.
User avatar
MarkDHamill
Registered User
Posts: 4268
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA
Contact:

Re: Digests 3.2.13 released

by stefan-franz » Mon Apr 29, 2019 9:17 am

Hi Mark, thank you. It's running. Great extension.

One Question: In UCP - Postfilters

This entry:
Show new posts only:
This will filter out any posts posted prior to the date and time you last visited this board. If you visit the board frequently and read most of the posts, this will keep redundant posts from appearing in your digest. It may also mean that you will miss some posts in forums that you did not read.
I think "yes" makes "Topic mark as read - No makes "New Topics not mark es read"
Thats's the only feature of this option (and its great, and nothing more is neccessary) - am i right?

The explanation of this option(i mean) is very long and incomprehensible...?!

Lg Stefan
stefan-franz
Registered User
Posts: 86
Joined: Mon Mar 11, 2019 7:29 pm
Contact:

Re: Digests 3.2.13 released

by MarkDHamill » Mon Apr 29, 2019 1:00 pm

Basically, no posts before your last visit date will appear in the digest if this is selected. It does not mark topics read but it does assume you've read everything on the forum prior to your last visit date and don't want to see them in your digest.
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Kindle and paper versions available.
User avatar
MarkDHamill
Registered User
Posts: 4268
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA
Contact:

Re: Digests 3.2.13 released

by stefan-franz » Mon Apr 29, 2019 1:35 pm

Not mark as read...hmmm....ist that not in the 3.2.13? It did work fine....

https://www.phpbb.com/customise/db/exte ... 66#p685766

Edit: I found this function in the 3.2.13 - some lines earlier.

It would be helpful for me, if you describe what "YES" and "No" exactly do.

lg Stefan
stefan-franz
Registered User
Posts: 86
Joined: Mon Mar 11, 2019 7:29 pm
Contact:

Re: Digests 3.2.13 released

by MarkDHamill » Mon Apr 29, 2019 3:35 pm

You can see the logic here:

https://github.com/MarkDHamill/digests/ ... 1785-L1789

If Yes, if the post_time is before the value of user_lastvisit for the subscriber, it does not appear in the digest. If No, it should appear for the date range (day, week or month) requested by the subscriber.
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Kindle and paper versions available.
User avatar
MarkDHamill
Registered User
Posts: 4268
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA
Contact:

Re: Digests 3.2.13 released

by antier » Mon Apr 29, 2019 4:00 pm

Hello Mark,

I do not understand... :shock:

This is the first time that this happens to me: impossible to install this excellent extension Digests on my forum (I have 57 active and working well extensions). I get a message indicating a fatal error

Here is the copy of the message: "Fatal error: Uncaught exception 'phpbb\module\exception\module_exception' with message 'CANNOT_REMOVE_MODULE' in /home/sites/promoltdz.org/forum/phpbb/module/module_manager.php:448 Stack trace: #0 /home/sites/promoltdz.org/forum/phpbb/db/migration/tool/module.php(425): phpbb\module\module_manager->delete_module(370, 'acp') #1 [internal function]: phpbb\db\migration\tool\module->remove('acp', 'ACP_CAT_DOT_MOD...', 'ACP_CAT_DIGESTS') #2 /home/sites/promoltdz.org/forum/phpbb/db/migration/tool/module.php(459): call_user_func_array(Array, Array) #3 [internal function]: phpbb\db\migration\tool\module->reverse('add', 'acp', 'ACP_CAT_DOT_MOD...', 'ACP_CAT_DIGESTS') #4 /home/sites/promoltdz.org/forum/phpbb/db/migrator.php(714): call_user_func_array(Array, Array) #5 /home/sites/promoltdz.org/forum/phpbb/db/migrator.php(683): phpbb\db\migrator->run_step(Array, false, true) #6 /home/sites/promoltdz.org/forum/phpbb/db/migrator.php(436): phpbb\db\migrator->process_data_step(Array, Array) #7 /home/sites/promoltdz.org/forum/phpbb/db/migrator.ph in /home/sites/promoltdz.org/forum/phpbb/module/module_manager.php on line 448".

What does that mean ?

Digests version : 3.2.13
phpBB version : 3.2.5
PHP version : 5.6.30
MYSQL version : 5.5.55

Digests-3.2.13.jpg

Thank you for helping me, because I find this extension really interesting and useful.

NB : The name of the forum (private) is not the exact name, I can transmit you by MP if necessary.
antier
Registered User
Posts: 30
Joined: Sat Aug 15, 2015 11:37 pm
Contact:

Re: Digests 3.2.13 released

by MarkDHamill » Mon Apr 29, 2019 4:46 pm

Not sure what caused your issue but I would follow the procedures in this FAQ for manually removing digests from your database and try again.

https://www.phpbb.com/customise/db/exte ... n/faq/2866
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Kindle and paper versions available.
User avatar
MarkDHamill
Registered User
Posts: 4268
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA
Contact:

Re: Digests 3.2.13 released

by stefan-franz » Mon Apr 29, 2019 5:18 pm

On every delivering a summary, digests 3.2.13 marks all topics in the forum as read.
In the 3.2.12 (modification from you) it was run perfect.

Edit - i am wrong - all ok. The 3.2.12 has the same behavior

But in ACP i have this option set to NO - and digests allways make all as read....hmmm:
Reset my last visit date when I am sent a digest:
If enabled, the date and time your digest was created will be used to set your last visit date. Topic-related notifications for the hour digests were created are also marked as read.
Lg Stefan
stefan-franz
Registered User
Posts: 86
Joined: Mon Mar 11, 2019 7:29 pm
Contact:

Re: Digests 3.2.13 released

by MarkDHamill » Mon Apr 29, 2019 7:29 pm

If the ACP, you can set the default to No. This only applies to people making new digest subscriptions and does not change existing subscriptions. You can change any subscriber's individual settings in Edit Subscriber.

With 3.2.12 this feature will also mark any forum notifications as read. With 3.2.13 this will mark any forum notifications up to the day and hour of the digest wanted marked as read.
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Kindle and paper versions available.
User avatar
MarkDHamill
Registered User
Posts: 4268
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA
Contact:

Re: Digests 3.2.13 released

by stefan-franz » Tue Apr 30, 2019 7:43 am

Hi Mark, thank you for your support. After testing yesterday, it seems all is working fine. Great Extension.

Best wishes - Stefan Franz
stefan-franz
Registered User
Posts: 86
Joined: Mon Mar 11, 2019 7:29 pm
Contact:

Re: Digests 3.2.13 released

by MarkDHamill » Thu May 30, 2019 9:10 pm

This version was approved on May 25, 2019.
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Kindle and paper versions available.
User avatar
MarkDHamill
Registered User
Posts: 4268
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA
Contact:

Re: Digests 3.2.13 released

by technolog » Mon Jun 03, 2019 10:34 am

Hi Mark, thank you so much for such a great idea and its implementation!
I used previous versions, now I have updated, and I still have one question: is it possible to somehow implement the mailing of digests not a bunch (in my case 800-900 letters per hour), but in small batches that the server allows?
That is, splitting all users for 24 hours is great, but in my case it is a lot and the server can ban me ...

Due to these limitations, many emails simply do not come out to users, how does the script behave in this case?
Is it possible to tell the principle of distribution and how to be, when the limit is exceeded?
I would not like to launch Hron for this, it will be fairly accurate in the number of letters, but it is important for me that the Digest be slower, but receive everything.
Thank you very much in advance!
technolog
Registered User
Posts: 3
Joined: Fri Dec 26, 2014 5:56 pm
Contact:

Re: Digests 3.2.13 released

by MarkDHamill » Mon Jun 03, 2019 12:01 pm

I don't know what your email package size is, but that's its purpose. If set to 0, try changing it to 20, which I think it the default. ACP > Email settings.

Because there are often quotas on outgoing emails on shared servers in particular, it often behooves admins to use a system cron and to make the email package size reflect the quota. More details here: https://www.phpbbservices.com/2017/09/1 ... -problems/

There is also a rebalancing function for digests in the ACP to better stagger how many digests go out over 24 hours.
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Kindle and paper versions available.
User avatar
MarkDHamill
Registered User
Posts: 4268
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA
Contact: