Forum Replies Created
-
AuthorPosts
-
FrankyKeymaster
Why would ob_clean be needed there?
FrankyKeymasterHijacking old threads is always considered impolite, but even then: I gave you the answer you looked for (and even said it is a known issue, that doesn’t mean you can or should be aware of it). But feel free to interpret my reply in any way you like, and I hope you find a plugin that suits your needs.
FrankyKeymasterPlease don’t hijack old threads, your problem is not related. In your case: avoid having multiple forms on 1 page, that’ll solve it (that is currently a known thing).
FrankyKeymasterFirst: change SMTP host tls://smtp.1and1.com to just smtp.1and1.com
Second: activate smtp debugging in the settings and send a test message, that will tell you the base problem.
Also: make sure your server is not blocked by a firewall when going to that mailserver, and that the certificates are valid.
Thirdly: if you’re unsure about your settings, you should ask your provider for info, not me …FrankyKeymasterWhile EME exposes events via ical, you can’t add extra calendars via ical. You’ll need another plugin for that.
FrankyKeymasterdynamic templates will have shortcodes resolved in the next version
FrankyKeymasterI like the second option, so I added the option template_id_no_events to [eme_events]
FrankyKeymasterSure you can … check the doc on the eme_events shortcode and read the part about template_id 🙂
FrankyKeymasterI still need to ajaxify that, so I’m moving this to feature requests.
FrankyKeymasterWell, I would remove some of the eme_if sections from the rsvp form and put them in the single event template (but that’s just me). Also, the eme_delete_booking_form can be replaced by something more dynamic (either the id can be replaced by #_EVENTID or use #_REMOVEBOOKINGFORM
Concerning the price: it is calculated but can be influenced by discounts or custom eme filters/hooks. Also: try the latest dev-version which contains some bugfixes too. Get it from https://wordpress.org/plugins/events-made-easy/advanced/FrankyKeymasterI tested that code here: works just fine …
FrankyKeymasterPlease don’t hijack an old thread … open a new bug report if any issue. Also: try the latest dev-version (soon to be released) from https://wordpress.org/plugins/events-made-easy/advanced/
FrankyKeymasterYou have to use the eme_if tag inside the template for the eme_events entry, something like this:
[eme_events template_id=44]
And template with id=44:[eme_if tag='#_IS_RECURRENT_EVENT' value='1'] [eme_if2 tag='#_IS_FIRST_RECURRENCE' value='1'] <li>#_STARTDATE - #_STARTTIME<br /> #_LINKEDNAME<br />#_TOWN </li> [/eme_if2] [/eme_if] [eme_if tag='#_IS_RECURRENT_EVENT' value='0'] <li>#_STARTDATE - #_STARTTIME<br /> #_LINKEDNAME<br />#_TOWN </li> [/eme_if]
The default is defined in the option “Default event list format”
FrankyKeymasterWell, if you really want to show just the first event in a recurrent series, you can check for that using conditional tags and the value of #_IS_FIRST_RECURRENCE
FrankyKeymasterIf you want to show specific events, use categories …
FrankyKeymasterThen I don’t understand your question. [eme_events] with show_recurrent_events_once will show 1 occurrence for each recurrent event, so that seems what you want.
FrankyKeymasterIf you only want to show one event, use limit=1 as an option to eme_events
FrankyKeymasterCurrently not possible in EME, but you can use javascript to convert a select dropdown to a checkbox version.
Mon 18 Jun 2018 at 13:53 in reply to: How do I find events and locations in the editor's link menu? #58157FrankyKeymasterConcerning your question about the github code: it seems the second function (for linking terms) doesn’t contain the following 3 lines (like the first function):
if ( $query['offset'] > 0 ) : // Add only on the first result page return $results; endif;
I’m guessing that’s causing the results to be repeated …
FrankyKeymasterThis will be in the next version 🙂
Fri 15 Jun 2018 at 11:25 in reply to: How do I find events and locations in the editor's link menu? #58152FrankyKeymasterThe next version of EME will have an option that allows to activate/deactivate the link search for events/locations. I also added the date for events, so you can better distinguish events in a recurrent series (I will not remove those from the search though since that would defeat the purpose of it all).
FrankyKeymasterSeems to work just fine here. Don’t forget that first things get sorted by category id (as you requested), and then only by event date/time.
Leave out the category sorting if not required …Wed 13 Jun 2018 at 12:33 in reply to: How do I find events and locations in the editor's link menu? #58148FrankyKeymasterThis seems to do the trick (add to your theme’s function.php):
add_filter('wp_link_query', 'eme_add_events_link_search', 10, 2); add_filter('wp_link_query', 'eme_add_locations_link_search', 10, 3); function eme_add_events_link_search($results,$query) { if (!isset($query['s'])) return; if ( $query['offset'] > 0 ) : // Add only on the first result page return $results; endif; $events=eme_search_events($query['s']); foreach ($events as $event) { $results[]= array( 'ID' => $event['event_id'], 'title' => trim( esc_html( strip_tags($event['event_name']) ) ) , 'permalink' => eme_event_url($event), 'info' => 'Event', ); } return $results; } function eme_add_locations_link_search($results,$query) { if (!isset($query['s'])) return; if ( $query['offset'] > 0 ) : // Add only on the first result page return $results; endif; $locations=eme_search_locations($query['s']); foreach ($locations as $location) { $results[]= array( 'ID' => $location['location_id'], 'title' => trim( esc_html( strip_tags($location['location_name']) ) ) , 'permalink' => eme_location_url($location), 'info' => 'Location', ); } return $results; }
FrankyKeymasterSince the same code is used, that would be very surprising. But I learned to never rule out a bug. Either you try to reproduce it, or you give me a temporary admin account.
FrankyKeymasterSee the faq: https://www.e-dynamics.be/wordpress/faq/ : “How to add events to your wordpress search results?”
But that might not be what you want, so also read up on this pending thread: https://www.e-dynamics.be/wordpress/forums/topic/how-do-i-find-events-and-locations-in-the-editors-link-menu/For the rest: EME is a fully functional mail system too 🙂
FrankyKeymasterThe csv export (and the corresponding “printable view”) is per event, but should include all bookings for that event.
FrankyKeymasterAccording to your description, the error seems to be the date string: 27. 10. 1981
Seems like the spaces are not accepted. Currently on holiday but I’ll take a look when I get the chance.FrankyKeymasterTyping on phone while on holiday…
FrankyKeymasterIt is by design that no mail concerning payment gets send it the price is 0. However you can use [zme_if] in the approval mail to include a conditional section if the price is 0
FrankyKeymasterCheck out the conditional placeholder/shortcode [eme_if] and check the value of free spaces. See https://www.e-dynamics.be/wordpress/conditional-tags/
FrankyKeymasterSee if this helps (send a approval-mail if auto-approve is set and price=0):
https://plugins.trac.wordpress.org/changeset/1889544/FrankyKeymasterAdd in the “HTML field attributes” for that field the minimum date, e.g. min=”2017-04-01″ (including the ‘min=’ part, so the whole string should go in there)
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/dateThu 7 Jun 2018 at 09:37 in reply to: How do I find events and locations in the editor's link menu? #58121FrankyKeymasterHooks in wordpress are explained by wordpress 🙂
But, read the eme FAQ on “How to add events to your wordpress search results?”, which is partly related (also a hook etc …). The only thing there is: I use a function called eme_wordpress_search_events(), and that function might need some tweaking for the url-search you want (if not the same POST param is used). Also, no time now, but I don’t know if there’s a eme_wordpress_search_locations() function too … and you need (as url) to use the functions eme_event_url($event) and eme_location_url($location) and use the returned url in your results to add to the array of urls.
I haven’t found the time to play around with this yet …FrankyKeymasterThe one that books gets the mail. He can forward it to the other person …
Or you can code it up yourself using the available EME hooks for rsvp, see https://www.e-dynamics.be/wordpress/category/documentation/12-hooks-and-filters/ (the hook eme_insert_rsvp_action might help).Sat 2 Jun 2018 at 23:09 in reply to: How do I find events and locations in the editor's link menu? #58115FrankyKeymasterHooking into wp_link_query can work maybe … to test …
Sat 2 Jun 2018 at 19:43 in reply to: Create single event from recurring event without deleting recurring event #58112FrankyKeymasterEither you edit the recurrence (via the link “Edit recurrence”) or you edit the single event by clicking on the event title …
Sat 2 Jun 2018 at 18:30 in reply to: Create single event from recurring event without deleting recurring event #58108FrankyKeymasterIf you edit+save an event that is part of a recurrent event series, that event will get removed from the series and become a single event. The rest of the recurrent events stay as is.
FrankyKeymasterPut the files in wp-content/languages/plugins , that should be better …
FrankyKeymasterThey need to have the name of the plugin. So in this case:
events-made-easy-cs_CZ.mo
events-made-easy-cs_CZ.poBut if there really is a need for it, I can re-include the removed languages …
Fri 1 Jun 2018 at 00:43 in reply to: #_DAYS_TILL_END results in -0 one day after the end of an event #58102FrankyKeymasterAlthough technically it is correct, I see the problem 🙂
This should fix it: https://plugins.trac.wordpress.org/changeset/1885138/FrankyKeymasterFor text fields: no. For dropdown: the first one defined is selected by default.
But it is a nice feature request.FrankyKeymasterI haven’t documented it yet (…), but it is currently only as a dynamic data condition (in the rsvp or member form settings).
Edit: it should work in the template for attendees too (not in an event, but in e.g. [eme_attendees], [eme_bookings], or [eme_people])FrankyKeymasterI no longer keep local language files, please go to
https://translate.wordpress.org/projects/wp-plugins/events-made-easyFrankyKeymasterThe seats are a dropdown, unless you use the option “attendance only”
FrankyKeymasterI use “EU Cookie Law” and “GDPR” as plugins (the second one not really needed, but anyway).
FrankyKeymasterThere is only 1 place where EME still used output buffering (no bug), and that was when using a filterform and #_FILTER_MONTHRANGE
So if that’s the case: see https://plugins.trac.wordpress.org/changeset/1882752/events-made-easy/trunk/eme_filters.php (I removed the output buffering).
Otherwise it is not EME causing this.FrankyKeymasterIf you think there’s a bug, please create a new thread in the bug-forum for that.
FrankyKeymasterYou can use divs and css to achieve this, but I’m not enough css master to tell you how.
FrankyKeymasterSeems to me you have issues in the backend. Which php version are you using? Also check your webserver logfiles etc …
Also, since your update failed: you should roll back and try again, or ask your provider for support on the reason why. But let’s see how far we can get (no promises though).FrankyKeymaster2.0.35 fixes this (although it was in there as a bug a bit longer than just the latest version …)
FrankyKeymasterCurrently not.
FrankyKeymasterNever mind, I got it. Fixed.
Fri 25 May 2018 at 14:33 in reply to: Fatal error: Uncaught Error: Call to undefined function eme_person_from_form() #58067FrankyKeymasterFrankyKeymaster?? Could you elaborate please ?
FrankyKeymasterI use regular php sessions for this, so if your php is configured to NOT use cookies for this, it will not work.
See http://php.net/manual/en/session.configuration.phpFrankyKeymasterAttachments for legal requirements? Hmmm … 🙂
But unfortunately that is currently not possible, no attachments yet. It is on my todo list though …FrankyKeymasterEME can send out html mails, so you can create a template for the mail response, use your attachement (as a link) in there et voila …
EME uses phpmailer class (for mail) and the wordpress wysiwyg editor (for your templates).FrankyKeymasterWhat is “wp_eme_payments” ?
FrankyKeymasterNot really. You can of course just upload your attachment to the WP library and use that in your mail.
FrankyKeymasterI use it too for a gdpr approval checkbox, and by default it is not selected (the way I coded it).
Can you show me a screenshot of the custom field definition? And/or a test-website?FrankyKeymasterSee https://wordpress.org/support/topic/update-fail-12/ , I just released a version that takes into account “older” wp versions (WP version 4.9.6 is days older than EME 2.0.32, so I assumed everybody already updated, and if not that people start with updating the core … 2.0.33 fixes it all)
FrankyKeymaster‘ASC’ corresponds with ‘event_start_date ASC, event_start_time ASC, event_name ASC’,
‘DESC’ corresponds with ‘event_start_date DESC, event_start_time DESC, event_name DESC’So: DESC shows newest first, ASC oldest
I guess your order statement should simply be:
order=’event_category_ids DESC, event_start_date ASC, event_start_time ASC’FrankyKeymasterThat placeholder can’t be used in events, only in [eme_categories], see https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_categories/
For event category info, search for CAT in https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-2-events/
FrankyKeymasterthe submit happens via an ajax call. I guess the lightbox needs to be made aware of that, maybe it intercepts that call …
FrankyKeymasterMaybe because the form is generated via a shortcode in your case? Why not just use #_ADDBOOKINGFORM and not “[eme_add_booking_form id=#_EVENTID]” ? I won’t try it here though 🙂
FrankyKeymasterSeems like a bug in your php. See for example: https://bugs.php.net/bug.php?id=74811
In other words: check your timezone setting in php.ini
FrankyKeymasterOk, the fix is here (but you found too it apparently):
https://plugins.trac.wordpress.org/changeset/1874172/The crash: you gave me the configure part of php, but that doesn’t help of course (nor does any info in phpinfo for that matter). You should browse through the webserver logfiles for php errors.
FrankyKeymasterWhile that is a bug (I’ll try to fix it today, but am testing other stuff at the same time), can you tell me under which conditions EME would “crash” when it is on?
FrankyKeymaster[eme_attendees] show the people attending an event, but not limited to a specific group …
See here the changelog for the next version:
* Added options template_id_header and template_id_footer to the eme_people shortcode
* Added #_GROUPS to attendee, booking and people placeholders, returning a csv list of the groups a person is in
* Added #_GROUPS to dynamic data condition placeholders for events and memberships, returning a csv list of groups a user that is entering a form is currently in
* Added eme_if condition ‘incsv’, so for ex. you can compare if a certain person is in a certain group and based on that show/hide stuff
* Added extra dynamic data conditions (like ‘contains’, ‘notcontains’ and ‘incsv’)That’ll help …
FrankyKeymasterSomething more: the next version will allow you to link a EME person to an WP user.
If you then require WP membership for the form, it will use the wp userid and prefill last name, first name, email etc …
If you then add the EME person to certain EME groups, you can create conditional tags based on the group info (the next version will allow you to use #_GROUPS as a condition)FrankyKeymasterIt seems I failed to document a shortcode called [eme_people], that gives you the eme_groups thing you asked for. I corrected this now (and the next version will add header/footer templates for it).
Also, an event url can ba given by the url-related placeholder for events, check the doc on that.
Concerning the categories of an event: search for CATEGOR in the doc on event placeholders.Thu 10 May 2018 at 23:05 in reply to: Generate tag in header dynamically to show title of specific event #58004FrankyKeymasterThe title shows the event name if your theme uses WordPress standards. Check out the default themes (twentyseventeen or so) and how it uses wp_head .
FrankyKeymasterIf you’re still using *.sgcpanel.com as mailserver, then this is normal. That’s not a valid SMTP mailserver address. My
solution was concerning your certificate issue. Change it back to localhost or ask your provider for the hostname to use.
Also, don’t forget to deactivate the debugging again.FrankyKeymasterNo reply, considering closed.
FrankyKeymasterThe automatic download from wordpress doesn’t go in that folder, that’s again wordpress regulated (I have no control over where that goes).
Only “own” language files can be put there. And Dutch is also ok, but I need to correct 2 strings.FrankyKeymasterCreate an attribute and set a default value for it (see the doc) in your template of use.
Code changes are not supported, since they’ll be gone with the next update anyway.FrankyKeymasterAnd, like I say in a tagged post in the forum here:
For all new translations, go to https://translate.wordpress.org/projects/wp-plugins/events-made-easy
From there on it is a wordpress thingie, not mine 🙂Once a translation is 100% there, it will be automatically distributed by wordpress with the next plugin update.
FrankyKeymasterLike I said in the beginning: “In the langs subdir”
FrankyKeymasterSorry, but I don’t make the rules concerning translations, that is a pure WordPress thing.
You can always become a WordPress translator and even just copy the English text to yours to achieve 100%. But again: I have nothing to do with this.FrankyKeymasterThat’s a WordPress question. But I believe they require 100%
FrankyKeymasterThere’s only 1 contact to be assigned. If you want, use an email behind that name that goes to several persons, or use extra event attributes.
FrankyKeymasterIn the langs subdir, but it is unsupported (since the CZ file contains more than a thousand untranslated strings). I removed all languages from the langs subdir and now point everybody that wants a language to become a translation contributor on wordpress for the plugin.
Tue 8 May 2018 at 00:05 in reply to: How do I transfer #_EVENTID into a shortcode of another plugin? #57978FrankyKeymasterEme has conditional tags that can provide a similar functionality
Sun 6 May 2018 at 23:40 in reply to: How do I transfer #_EVENTID into a shortcode of another plugin? #57973FrankyKeymaster#_EVENTID only resolves if you use that shortcode inside an event format setting (like ‘single event format’). Outside an event, there’s no way of knowing what event you’re talking about, unless you provide the event id.
FrankyKeymasterCan you check your webserver logfiles for an indication of the error? Or even open your webbrowser console and check the returning traffic in your console?
If not: feel free to send me an admin account.
Also: your php version should at least be 5.6 (as indicated) for EME to work.FrankyKeymasterI try to be q-translate (and alike) compatible (even though it seems utterly dead …), so if you like: file a bug report describing your q-translate problems in detail and then I hope I can fix those …
FrankyKeymasterThe #_PAYMENT_URL placeholder will work, but only if you select members (not people) to send it to 🙂 That’s why it says ‘Member placeholders (for members)”, meaning you can use member placeholders if you send the mail to specific members. Maybe not entirely clear, I admit, but I don’t think many people use it since I got no complaints so far 😀
FrankyKeymasterIf you have “autoapprove after payment” activated, and the price is 0, then it will not require approval … but for each event separately the result should always be the same.
FrankyKeymasterAnything else than what it is now will not happen without considerable sponsorship 🙂
Not even wordpress is that flexible …FrankyKeymasterCurrently not possible (it was not meant to be used that way).
FrankyKeymasterIf you want to send the booking confirmation to a different email than the author, change the contact info for that event.
FrankyKeymasterGeneric mails don’t have a booking-notion (pretty logical, since you don’t even define a related event). It is mentioned below which placeholders can be used.
Also it is #_UNSUB_URL, I’ll correct the doc.FrankyKeymasterWould you mind giving me a temporary admin access to your site? So I check there …
FrankyKeymasterEME has more than a hundred placeholders, it is up to you to define how/where to use them. That’s the whole point of defining templates, so you can decide what to show per event and how, the image (or map, rsvp form, extra text, etc …) is no exception.
Even with mail: you can decide what to mail and to whom, but be sure to test it (and if you use smtp: make sure you understand and know the smtp settings your server needs).FrankyKeymasterYou’re asking questions that are clearly explained in the second link I referenced above.
Concerning the “single event format”, I really mean the “single event format”, not the special events page. Look in your settings (generic, in EME settings) for this, and you can change it per event too.FrankyKeymasterUse the event placeholder #_EVENTIMAGE in your single event format and the image will show up. See here for all event placeholders: https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-2-events/
Also: everything about the calendar can be changed via CSS (just don’t use the special events page directly, read the doc: https://www.e-dynamics.be/wordpress/category/documentation/3-installation-and-usage/ )FrankyKeymasterThat means that the booking date column in mysql has a problem (or maybe is not existing).
Could you check in your wordpress database, table wp_eme_bookings, if the column creation_date has the extra settings “DEFAULT CURRENT_TIMESTAMP” ?
For older mysql databases (<5.6), this will NOT be the case (since that would fail) and then that info will be empty (btw: anything older than 5.6 is very old already). Switching afterwards to a newer mysql version will also not solve it (since the column already exists) ==> something I’ll try to address in the next version.FrankyKeymasterWhile creating shortcodes is fairly easy if you know wordpress, creating placeholders is in fact just a search/replace in existing text. I don’t know what you want to achieve, but look at the available filters/hooks for this.
FrankyKeymasterConfirmed, and the current dev-version fixes it.
If you want to see the differences (quite some):FrankyKeymasterRead this on the special events page:
https://www.e-dynamics.be/wordpress/category/documentation/3-installation-and-usage/So remove it from the menus (don’t delete it) and use a regular page with shortcodes.
FrankyKeymasterPHP needs versioni 5.3 or newer for numberformatter to work, see:
http://php.net/manual/en/numberformatter.formatcurrency.phpAlso, I clearly state in the EME requirements (at wordpress plugin site) that I require at least php version 5.6. Older versions might work, but are not supported.
So, please do update your version (php 5.2 is already out of support for years btw).FrankyKeymasterLike that options specifies, you need the class NumberFormatter in your php version. So I guess your php version is too old.
FrankyKeymasterDid you read the doc? Use it as I described above. For showing events based at that location, use something like this in the single location description format:
[eme_events scope=future limit=5 location_id=#_LOCATIONID]
See the doc on [eme_events] and location placeholders too, for more info.
FrankyKeymasterIf you want to show a single location, define the location first and then use [eme_location_map], see https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_location_map/
FrankyKeymasterAlso formfields, people and groups will be in the next version.
FrankyKeymasterBest would be to edit it in the backend.
If you want it done in the frontend: require WP membership for the event and ask for their info via regular RSVP fields. The second time they want to register for an event, it will be autocompleted with their info.FrankyKeymasterTue 17 Apr 2018 at 23:59 in reply to: iCAL .ics shows today’s date instead of the actual event date #57892FrankyKeymasterNo reply, closing
FrankyKeymasterok, closing this then.
FrankyKeymasterConfirmed, this should fix it:
https://plugins.trac.wordpress.org/changeset/1860024/FrankyKeymasterTemplates will be in the next version.
FrankyKeymasterI just tested this, and with my custom fields this seems to be working just fine.
I tested with dropdown, radiobox and text custom fields …edit: feel free to send me a demo account or so …
FrankyKeymasterAlso added for locations and memberships. The others are not really related, so currently that’ll be it 🙂
F.
FrankyKeymasterAdded this as an option for events, the rest will follow …
FrankyKeymasterIt’s all in the database of wordpress and the wordpress uploads folder, like any good plugin.
FrankyKeymasterFrankyKeymasterPer event you can only change 1 email setting related to contacts, namely ‘ Contact Person Email Format’.
Not that it matters: it used to be an issue, but adding extra email settings per event is no longer a real coding issue now. So adding settings can be done, but only after argumentation (and hopefully a donation).FrankyKeymasterWell, what I meant with “only in mails” was the short version, indeed (as the doc says) it works for all things booking-related (so also the eme_bookings shortcode).
So if you use it like that, it won’t be a problem.
The payment and cancel url forms are not customizable. Well, in fact the payment form is, but it is in fact the same payment form you get to see after you book for an event (so the customization is in the EME settings, tab Payments).
Nothing for the cancel form though.FrankyKeymasterhttps://www.e-dynamics.be/wordpress/rsvp-mail-formatting/
==> #_IS_PAID is only for mails …FrankyKeymasterif you want 2 and 3 to happen, you need the pending mail activated (the content of it doesn’t need to mention it is pending at all, but can just contain payment instructions or anything alike).
For 6 to happen, you need to activate the option for payment mails (and/or the IPN mail for the contact person)
7 happens automatically (see before).
Your scenario in general is what I already use for a theater club …For the contact person, you can create a page using [eme_attendees] or [eme_bookings] with the layout of your choice using templates. I would put those placeholders in the event details and surround them with a conditional tag checking if the user is logged in or so (or on a separate page, but then you need to hardcode the event id).
Or more simple: let the contact person access the backend of EME (maybe just even listing events, see the Access tab for all access settings and roles). In the backend you can click on “printable view” or “csv export” per event.A booking can’t be changed by the booker after it is made, for that you need the “change registration” admin page. Do you mean that when editing a booking the custom radioboxes/checkboxes are empty? If that’s the case, that is a bug … I’ll test that here today.
Follow-up: just tested dropdown and radioboxes in the “Change registration” to edit a booking: works just fine, shows the entered data from the original booking.
FrankyKeymasterI changed the wording a bit and added a screenshot to it, that should help 🙂
FrankyKeymasterOk, there is no issue on your site: you activated multi-price, but not multi-seat. Meaning: you’re asking for different prices but 1 total amount of seats, so there is no point in available seats per price category either (and thus the replacement is empty). In your case, you just need #_AVAILABLESEATS, or define different seat categories too.
If you want to provide early-bird discounts, I suggest you look into the discount parts of EME.FrankyKeymasterI’m guessing you’re affected by the setting (in tab “Events”) called “Remove leading zeros from minutes?”
Edit: I need to review the position of this setting, since I guess everything in EME is affected by it anyway if you use the regular EME placeholders for date/time (and not a custom format).FrankyKeymasterYou’re totally mixing up the initial problem and what you want here.
To resume: it is not a problem of mailing the contact person.Mails after auto-approve are sent if the option “Enable paid RSVP e-mails?” is set, using the templates set in the setting “Registration paid email subject format” and “Registration paid email format” (and if either of those 2 is empty: no mail), no mail to the contact person.
If that option is set, and you *also* want the mail to the contact person, you can set the info in the format “Contact person payment notification subject format” and “Contact person payment notification email format”, but those are only used if the payment arrived via a payment gateway. If it doesn’t, then it is a manual action (via the admin backend) and so you are aware of the fact that it got paid and no mail is sent to the contact person.If that option is *not* set, the mail is sent using the settings “Respondent email subject format”+”Respondent email format” for the booker and “Contact person email subject format”+”Contact person email format” for the contact person.
(I’ll add this explanation to the doc)
FrankyKeymasterNot really, because that might break ajax calls and such …
I’ll try it this evening with a ‘normal’ single event and changing it to multiprice afterwards.
If that doesn’t work (well, in fact: if it does work as expected), I’ll need to come over to your site and check on your setup what might be the problem. Feel free to forward my an admin login on your site (with permission to change the files of the EME plugin) and foresee an event that shows the problem …FrankyKeymasterDisable the cache and try again 🙂
I always recommend to disable the cache for the EME files (because some pages use generated javascript), but I’m not an expert in varnish cache.FrankyKeymasterIf there are errors, they should be visible in either your webserver console (for javascript errors, but I don’t think that’ll be the case here) or in your webserver logfiles (php errors go to the error logfile configured by your webserver/hosting provider).
FrankyKeymasterWell, if you leave the body of a mail empty, there isn’t a point in sending that mail … in the pending format you can say whatever you want (and probably that you’re awaiting payment before approving it).
FrankyKeymasterSo far I have not. Maybe there might be an issue where reservations were already made when it was a single-price event and then you switched to multiprice … I’ll try that one later, but feel free to test yourself too 🙂
FrankyKeymasterIf the pending mails are not coming through:
– check the pending mail formats for subject and body
– check the setting “Enable pending RSVP e-mails”FrankyKeymasterYou don’t ever see the bcc address, that’s why it is called ‘bcc’.
If you send to yourself and the configured bcc address is the same, then yes: you’ll get the same email twice.
Make sure you also have no filters that might block the mail. Which mail sending method are you using? And is the option “Notification sender address” configured correctly (either empty, or a from-address accepted by your mailserver)?
And also: if you have the option activated to queue *all* mails, make sure EME cron is configured to handle the queue.FrankyKeymasterUsing a template for ‘Contact Person Email Format’ is also ok. Well, at least it should be 🙂
The moment the reservation is made (when the payment button shows), the mails to both respondent and contact should already be sent.
I’m not asking you to check another person’s mailserver, but the logs of the mailserver you’re using. Is the test email working? Check your mail settings to be sure everthing works as expected …FrankyKeymasterI just tested this and seems to work just fine …
This is my test:<table class='eme-rsvp-form'> <tr><th scope='row'>Last Name*:</th><td>#_LASTNAME</td></tr> <tr><th scope='row'>First Name*:</th><td>#REQ_FIRSTNAME</td></tr> <tr><th scope='row'>E-Mail*:</th><td>#_EMAIL</td></tr> <tr><th scope='row'>Phone number:</th><td>#_PHONE</td></tr> <tr><th scope='row'>Seats*:</th><td>#_SPACES{1} and #_SPACES{2}</td></tr> <tr><th scope='row'>Comment:</th><td>#_COMMENT</td></tr> #_CAPTCHAHTML{<tr><th scope='row'>Please fill in the code displayed here:</th><td>#_CAPTCHA</td></tr>} </table> #_SUBMIT Available: #_AVAILABLESPACES{1} and #_AVAILABLESEATS{2}
FrankyKeymasterAssuming “Contact person email subject format” and “Contact person email body format” are not empty and the setting ‘Enable the RSVP e-mail notifications?’ is active, then mails should arrive.
If the mail doesn’t arrive, even when you set it in bcc, then you need to check your mailserver logfiles for hints. Maybe you get blocked there, or it arrives in the spam … but first: check the logs.
FrankyKeymasterIs the subject set in “Contact person email subject format” ? If that’s empty, nothing will be send out. Also, check out the setting
If you’re saying that the one in “Contact person payment notification email format” is sent, then it says that EME can in fact send those mails, so that’s ok 🙂FrankyKeymasterThis feature is called “content dripping” (or something alike) and indeed doesn’t exist yet.
Feel free to donate for this feature 🙂FrankyKeymasterNot strange. I’ve never encountered the need to require a membership of something before being able to RSVP for an event, that’s all … But I do understand your question for it 🙂
FrankyKeymasterCurrently events and memberships are not coupled in any way.
The future might be to require a WP user, check if that user is linked to an account in EME that has the required membership and then go on. But that is currently not yet there.FrankyKeymasterBtw, the next version will be more strict: if no countries are defined, you won’t be able to manage states.
FrankyKeymasterDo you have more than one country defined? If so, you need to show the country selection too.
FrankyKeymasterSmall update: this fix is already in the released version 2.0.26
FrankyKeymasterIt will be in the next version. If you are not sure how to apply the fix then you’ll need to wait.
FrankyKeymasterYour html contains errors. Run the resulting html through a validator and fix these. A good validator: https://validator.w3.org/nu/#textarea
Concerning how to view the entered data: either do a “print view” in the list of events, or CSV (these links are found below the event name). Also editing a booking of course shows the data. And last but not least: when showing the list of registrations, one of the “search” fields is in fact a list of custom data fields (just click on all the search input fields until one shows a list of fields). Since showing custom data is in fact a heavy DB query, you need to select the custom fields you want.
FrankyKeymasterSee EME settings, tab “Payments”, setting “Payment RSVP succes return page format”
FrankyKeymasterAfter reading your post: you have “ECS”, it should be “ESC” (from the word “escape”):
[eme_if tag='#ESC_SPACES{1}' value='1'] You booked a students seat. [/eme_if]
[eme_if tag='#ESC_SPACES{2}' value='1'] You booked a xxxxxxxx seat. [/eme_if]FrankyKeymasterOf course this is possible, but you used the wrong placeholder (although I think I’ll allow it in the future).
See the doc:
https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-4-rsvp-mails/
You need #_RESPSPACESEdit: it should already be accepted, so it should work … does it work in the rsvp mails without eme_if?
FrankyKeymasterThis is already in the released version.
FrankyKeymasterBtw: using existing EME hooks and filters, you can also interact with any newsletter of your choice if you know and can program their api.
FrankyKeymasterWhile I don’t know about other plugins interacting with EME (I imagine they don’t exist …), EME has CRON and mailing functionality. So go in the CRON submenu and find the “newsletter” 🙂
Future versions might have “reminder” settings per event, but that’s future 🙂 -
AuthorPosts