liedekef / events-made-easy

The wordpress/classicpress plugin events-made-easy to manage events, memberships and more.
https://www.e-dynamics.be/wordpress
GNU General Public License v2.0
26 stars 5 forks source link

Placeholder issue #_FIRSTNAME #400

Closed kevin-vanb closed 10 months ago

kevin-vanb commented 10 months ago

Describe the bug We used to send emails for Christmas and New Year in the past with EME, personalised with #_FIRSTNAME as placeholder, but the field is not displayed in the mail not in subject and not in body.

To Reproduce Go to email management Send generic mail Use a template Enter a test recipient Email is received succesfully but not adressed with firstname as expected

Expected behavior Hello #_FIRSTNAME (with actual placeholder)

Screenshots If applicable, add screenshots to help explain your problem.

Online Demo While screenshots can say something, they don't say everything. So, if possible, include a link to a demo page demonstrating the issue.

Log output If applicable, check your php error logfile and add php errors here

Version info PHP version: EME version:

Additional context Add any other context about the problem here.

liedekef commented 10 months ago

Which is your EME version? I tried a generic mail with test recipient here and it works fine (dev and released version both work ok)

kevin-vanb commented 10 months ago

Currently working on EME Version 2.4.21, PHP 8.2, strange thing is when I use #_LASTNAME, it works in that way that he displays the full name (Last and first name), so not 100% correct, but he displays the content at least :-)

Grtz Kevin

liedekef commented 10 months ago

Is this for EME users linked to a WP user or "standalone" EME users?

kevin-vanb commented 10 months ago

They are linked to wordpress users indeed

liedekef commented 10 months ago

Well, I've just tried those too (and version 2.4.21): no issue. Can you reproduce this on a test setup and give me access? Do those people actually have a firstname in EME (not WP)?

kevin-vanb commented 10 months ago

Hello Franky, thanks for the tip. Complex story :-) We are a small club of hobbyists and both the membership administration as the events are done with EME, great for us :-) But the event handling is actually separated from the members, you dont't need to be a member to attend to an event, but most of our members also forget to login to their wordpress account to create a registration to an event and due to this, the database gets polluted as I just saw (thanks to your tip)

So in short, EME works fine, ticket can be closed, problem exists in the duplicate entries and as with my test, Apologies for the search work and happy 2024 already, keep up the good work!

kevin-vanb commented 10 months ago

Problem due to duplicate entries in the backend, no issue with EME

liedekef commented 10 months ago

EME provides an integrity check (in the people overview) to help you detect/clean duplicates. Also I try my best to avoid duplicates :-)

kevin-vanb commented 10 months ago

Great, didn't see it before! Will work my way down the duplicates today :D