Geeklog-Core / geeklog

Geeklog - The Secure CMS.
https://www.geeklog.net
25 stars 19 forks source link

Daily Digest Needs Improvement including Instructions for Cron Job #1113

Closed eSilverStrike closed 2 years ago

eSilverStrike commented 2 years ago

On fixing #1086 I noticed a forgotten feature called Daily Digest.

Settings for it are available in the Geeklog Configuration (including emailstorieslength which is used for other things as well)

It looks like it needs a cron job created that should run the function COM_emailUserTopics that will then subscribed users emails of new articles. The only instructions I found are here:

Question: How do I set up the Daily Digest? https://www.geeklog.net/faqman/index.php?op=view&t=14

There is also a file in the root of Geeklog called emailgeeklogstories (that is also mentioned in /build.xml). This is what needs to be run. Not sure why it does not have a .php extension (security reasons).

Anyways we should add instructions for this in the config doc probably on emailstories config option that at least explains the basics.

We should also make sure COM_emailUserTopics actual still works.