Franky
Forum Replies Created
-
Forum: Plugins
In reply to: [Events Made Easy] Email event organiser if RSVP cancelled?That is possible: see the settings “Contact Person Cancelled Booking Email Subject” and ” Contact Person Cancelled Booking Email Body” in the RSVP definition for an event, or globally in the mail templates settings of EME.
Forum: Plugins
In reply to: [Events Made Easy] dynamic field value for multiple seatsPlease open a new thread for questions unrelated to the initial question/subject of the thread.
Forum: Plugins
In reply to: [Events Made Easy] Problem recording my custom fields on a membership formFixed in the just released version (bug introduced in 2.2.29 due to a wrong copy/paste).
Forum: Plugins
In reply to: [Events Made Easy] Shortcode and placeholder render orderThe filter eme_events_format_prefilter gets executed in eme_replace_event_placeholders , which in fact is called in several places. The $format which is given also as argument to that function is not always a result of an EME template: it can be a fixed string, a global EME setting etc …
I have to admit that that filter was created as one of the first filters, without having a good understanding of filters at that time 🙂
What you can always try is entering the shortcode in the EME template that you intend to use for e.g. single event format. And just call eme_events_format_prefilter to do the shortcode-call:
function my_eme_extra_event_format_filter($format, $event) { return do_shortcode($format); } add_filter('eme_events_format_prefilter','my_eme_extra_event_format_filter',10,2);Edit: I correct 3 to 2 for number of arguments.
- This reply was modified 4 years, 6 months ago by Franky.
Forum: Plugins
In reply to: [Events Made Easy] send newsletter confirmation mail with phpThe url needs to be generated (see also that function).
But the url uses a WordPress nonce, meaning it takes the user id into account the moment the nonce gets generated. So if you’re logged in at the moment of subscription, the nonce is also only valid when being logged in (and thus the confirmation url too). The same goes for not being logged in at the moment of subscription.Forum: Plugins
In reply to: [Events Made Easy] Shortcode and placeholder render orderI don’t know what thrive_leads does, nor the meaning of the id parameter, but eme_events_format_prefilter expects the modified $format to be returned. If your thrive_leads does that, then all is ok 🙂
Forum: Plugins
In reply to: [Events Made Easy] send newsletter confirmation mail with phpCheck the function eme_sub_send_mail in eme_people.php
It takes as arguments lastname, firstname, email and the groups to subscribe to (an array of group id’s)Forum: Plugins
In reply to: [Events Made Easy] subscription form for newsletter doesn’t workIndeed, I found a bug for that. I’ll fix it, test and release a new version afterwards 🙂
Forum: Plugins
In reply to: [Events Made Easy] subscription form for newsletter doesn’t workOk, can it be only the email is added, but not lastname/firstname?
Forum: Plugins
In reply to: [Events Made Easy] subscription form for newsletter doesn’t workThe test works as expected. When you receive the confirmation mail, do you have the confirmation URL in there? The placeholder #_SUB_CONFIRM_URL needs to be used in the setting “Subscribe email body”, otherwise the system will never know the email confirmation arrived …
Forum: Plugins
In reply to: [Events Made Easy] subscription form for newsletter doesn’t workFor 3: go in eme_actions.php and replace “$lang” by “$language” on those 2 lines, that fixes it (it has no influence on other parts or functionality of the site).
For 2: that is not possible. If they use another name, EME can’t know that … if you want to limit people subscribing to your newsletter with different names and an existing email, don’t ask for their names in that template 🙂 I’ll check for further adding this unique email as an option to that shortcode too, but best is to open a feature request for it at https://www.e-dynamics.be
For 1: I’ll test using your template (my test was just with the email)
Forum: Plugins
In reply to: [MainWP Dashboard: Self-hosted WordPress Management for Agencies] PHP NoticesGood point … apparently I switched to version 8 without noticing it when I upgraded to the latest fedora version on my box.
But I took a look at the code, and in fact it is related to the definition of the function “update_website” which defines optional function arguments (by giving them a default value) followed by other arguments that are not optional (by not giving them a default value). It would thus be impossible for php to know which arguments are being used if not all are present … even in php 7.x this would be a problem.
Since the function is indeed only called once in the code (with all arguments present), the fix is easy: remove the default values from the function definition and the depecrated notices will be gone.Forum: Plugins
In reply to: [Events Made Easy] subscription form for newsletter doesn’t workYou have several questions, please split these in several support requests in the future.
Concerning 1: I tried to reproduce that, but no luck. What does your subscription form look like?
Concerning 2: if a name/email doesn’t correspond with an existing person, it is considered as a new person (like when a mother rsvp’s for a child but uses her email). If you want, you can use the option “Allow only 1 booking per unique email address” when defining the RSVP options for an event.
Concerning 3: which file and linenumber is being reported for the non existing variable?
Forum: Plugins
In reply to: [Events Made Easy] EME no longer sends emailsok, for now I’ll mark ths solved then 🙂
Forum: Plugins
In reply to: [Events Made Easy] Shortcode and placeholder render orderPlaceholders are meant to stay as is in EME templates, they get replaced when the template is actually being used.
For the rest I don’t think I actually understand what you’re saying or trying to do here …