Web based family history software

file Question Potts On This Day Email – daily family history email module

  • Pottsy
  • Pottsy's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 1 week ago #116719 by Pottsy
Hi all,

I’ve released the first public beta of Potts On This Day Email, a custom module for webtrees 2.2.x.

The module sends a daily “On This Day” email showing family events that occurred on the current day, including births, deaths and marriages.

It was built for my own family tree, but I thought it may be useful to others who want to encourage family members to stay connected with their family history.

Features include:
  • Daily email of births, deaths and marriages for related individuals
  • Optional relationship limit, such as showing only people within a set number of relationship steps
  • Birthdays show the person’s age
  • Death entries can show age at death and years since death
  • Marriage entries can show anniversary details
  • Relationship wording included where available
  • Subscriber management from the webtrees administration area
  • Optional manual recipients
  • Scheduler token support for cron jobs
  • Basic logging for sent emails
  • Public opt-in block for users who want to subscribe

GitHub release: github.com/PottsNet/potts_on_this_day_em...es/tag/v1.0.0-beta.4

Download the release asset named:
Code:
potts_on_this_day_email-1.0.0-beta.4.zip

Please use the attached release ZIP rather than GitHub’s automatic source ZIP.

Installation:

Extract the ZIP and upload the 
Code:
potts_on_this_day_email
 folder to:
Code:
modules_v4/potts_on_this_day_email

Then sign in as an administrator, enable the module and configure the settings.

This is a beta release, so feedback, testing and suggestions are very welcome.

******************
tree.potts.net.au

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #116720 by RickM
Hi Jason,
I'm liking the idea, and have installed on my local site for 'testing' etc..
That site uses Laragon v8.6.1 and as it is minimally setup I doubt I will get emails etc. 

The first issue I have seen is the choice of 'Tree'. I have three and no matter which I choose moving out of that selection box the choice reverts to the first in the list.

Would you be able to include a Breadcrumb on the config page that will get you back to the Control Panel?

In the 'User Block' perhaps the addition of a link to the settings page might be good. That is for Admins only. Along with that IF the Settings page was accessed via this link, there be a link on the settings page to return to that previous point/page.

 

Rick M
Tauranga
Nu Tirani - New Zealand

Malkins in Nu Tirani - New Zealand
Webtrees v2.2.6
wt-malkins.alineofmalkins.com

Hosted by HostArmada on Litespeed Server using PHP v8.4.12

Offline: WebTrees v2.2.6
Laragon v8.6.1, PHP v8.5.2

Please Log in or Create an account to join the conversation.

  • Pottsy
  • Pottsy's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 1 week ago - 1 month 1 week ago #116726 by Pottsy
Hi Rick,

Thanks for testing this and for the helpful feedback.

I’ve made these changes in 1.0.0-beta.5:
  • The tree selector should now keep the selected tree instead of reverting to the first tree.
  • The settings page now has a breadcrumb and Control panel link.
  • The My Page block now shows an admin-only settings link.
  • If you open settings from that block, the settings page includes a return link back to the previous page.

The latest release is here:
[url] github.com/PottsNet/potts_on_this_day_em...es/tag/v1.0.0-beta.5 [/url]

Please use the attached release ZIP rather than GitHub’s automatic source-code ZIP.

I’d appreciate it if you could try the new beta and let me know whether the tree selector behaves properly on your Laragon setup.

******************
tree.potts.net.au
Last edit: 1 month 1 week ago by Pottsy.

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago - 1 month 1 week ago #116727 by RickM
Hey Jason,

Well done on the additions..
I can confirm they ALL work fine on my Local Laragon site.
***EDIT UPDATE***
Clicking on the Control Panel Button and the Breadcrumb link appears not to work. 
Sends me to https://localhost/ALM-wtv226/admin
when it should send me to https://localhost/ALM-wtv226/index.php?route=%2FALM-wtv226%2Fadmin
I cannot get Pretty URLS to work for some dang reason..
*** End EDIT UPDATE***
I'm going to fiddle a bit more then throw it up on the live site to see how we get on with emails and the like..

I do have some further ideas for 'improvement' and will come back to you after I have gone live with the extension module.. <Smile>

Thank You!

Rick M
Tauranga
Nu Tirani - New Zealand

Malkins in Nu Tirani - New Zealand
Webtrees v2.2.6
wt-malkins.alineofmalkins.com

Hosted by HostArmada on Litespeed Server using PHP v8.4.12

Offline: WebTrees v2.2.6
Laragon v8.6.1, PHP v8.5.2
Last edit: 1 month 1 week ago by RickM. Reason: Found a 'bug' maybe!

Please Log in or Create an account to join the conversation.

  • Pottsy
  • Pottsy's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 1 week ago #116733 by Pottsy
Hi Rick,

Thanks for testing that and for the clear explanation.

I think you’ve found a small bug in my Control Panel link. The breadcrumb and button were falling back to `/admin`, which works when Pretty URLs are enabled, but not on installs like your Laragon setup where webtrees needs the `index.php?route=...` format.

I’ve made a fix so that if the module settings page is being accessed using the non-pretty webtrees route format, the Control Panel link will also use the non-pretty format.

I’ll package this as `v1.0.0-beta.6` and upload it shortly.

Thanks again for picking it up. This is exactly the sort of testing that helps make the module more reliable across different webtrees setups.

Jason

******************
tree.potts.net.au

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum