This version should fix the “The config service is private” error that bolloxed up recent versions. Details and download links are here.
Category: Digests
Digests 3.3.9 released
This version fixes the primary emailing error experienced by many but which didn’t occur in my testing environment. More information and links to the version can be found in this topic.
Digests 3.3.8 released
This is a bug fix version, fixing container issues that were reported by many, and a few other bugs. Discussion is here. You can download the extension from the extension’s page or from the GitHub branch.
If downloading from the GitHub branch, make sure to place the files in your board’s /ext/phpbbservices/digests folder.
Digests 3.3.7 released
This version includes a one-click unsubscribe link that should help reduce issues with digests going into spam folder. Learn more about the release here.
It can be downloaded from the digests extensions page or from the GitHub release branch. If downloaded from GitHub, make sure to place the software in the /ext/phpbbservices/digests folder.
Digests 3.3.6 released
Read the changes here. The Edit Subscribers page has been revamped.
You can download this version from my digests extension page or from the GitHub branch page. If downloading from Github, make sure to place it in the /ext/phpbbservices/digests directory.
Digests 3.3.5 released
Notes on the release are here. In particular note that:
- phpBB 3.3 only is supported
- Only the British English language pack is included in the archive. See the README for links to other translations.
- Tested on PHP 8.0
It can be downloaded from my digests extension page or the branch’s page on GitHub. If downloaded from GitHub make sure to follow the procedures for disabling the digests first and replacing the files correctly. From GitHub, place the files in the /ext/phpbbservices/digests folder.
Digests 3.3.4 released
The announcement is here. It can be downloaded from the digests extension page or from the GitHub branch.
Digests 3.3.3 released
This is a very minor release but certain changes were required by the phpBB extension review team. Details here.
Digests 3.3.2 released
This version works on both phpBB 3.2 and 3.3. Notes and release discussion are here.
New guidance on phpBB and system crons
A recent release of my digests extension revealed underlying problems not only in the extension, but also on guidance I’ve been giving for setting up phpBB and system crons. I can’t seem to edit the Wiki page, but I left notes on my digests extension discussion forum. I need to place them here for wider visibility. I will update the Wiki page when that technical issue is resolved.
With my digests extension, it’s generally important for digests to be mailed on time. Otherwise it depends on board traffic to send digests, which on sites with low traffic could result in significant delays in receiving digests.
There are two ways to do this in an automated way:
- Create a system cron
- Use a phpBB cron, but use a tool to call the board at least hourly, which kicks off phpBB’s cron process, which includes handling any scheduled outgoing digests
With a system cron, it turns out that you can’t use a semicolon to separate commands on one line in most cases. So this guidance is wrong in most cases. It all depends on the Linux shell used by the root user, which is usually bash. So when programming a cron job, to get two commands to work on one line, you need this instead:
cd /path/to/board && ./bin/phpbbcli.php cron:run
The && acts as a conditional, essentially saying that if the command to the left of the && succeeds, then issue the command to its right.
On my test board I also discovered I had to change the permissions on the /bin/phpbbcli.php program to 755, as the cron needs the execute permission, and it’s lacking with 644 permissions. This is not ideal as this introduces a potential security issue. Considering it’s just one file, I consider the security implications minor at best. With a system cron, you need to program a real cron job and tell phpBB to not use its built in cron based on board traffic: ACP > General > Server settings > Server settings > Run periodic tasks from system cron > Yes
If you want to use phpBB’s built in cron, you need to call it at least hourly and create a cron using curl, wget or lynx to hit your phpBB board as if it were a browser. If you follow the Wiki approach it causes a HTTP redirect, which basically causes it to fail. So the cron should look more like this (all on one line):
* * * * * curl -k -A='Mozilla/5.0' https://www.yourforum.com/board/app.php/cron/cron.task.cron_task
The key here is to use app.php in the cron, to avoid the redirect.