Forum Replies Created
-
AuthorPosts
-
FrankyKeymaster
It depends on the type of email you send. If you send event-related mails of type “booking” then you can use all the booking placeholders. For attendees you can use attendee placeholders. For regular EME groups/people you can only use event placeholders.
FrankyKeymasterThe unsub was also a typo, also fixed in dev
FrankyKeymasterThe first 2 will be fixed in the next version. I’ll now check the unsub …
FrankyKeymasterno, it is meant to be like that (send it quickly). The mailing name will then be the datetime it is created.
FrankyKeymasterYou can use [eme_event] with a template containing those placeholders š
But I do see your problem … I’ll change it for the next version.
From the changelog:
eme_countdown shortcode now shows the difference in days, not taking the hour into accountFrankyKeymasterThat means your CSV contains double quotes (with the second ones escaped). Check your generated CSV …
FrankyKeymasterThe bulk-add will be fixed in the next version.
The bulk-remove is not part of this bug.FrankyKeymasterFor import titles and values are defined in the doc and need to be just that. It is just way too hard to try and detect the language and translate the language in the normal string (there’s no such function in wordpress).
Importing custom fields is also documented, the column title needs to be “answer_” followed by the title of the custom field (or the id, because if the title contains spaces that can fail).
Concerning empty lastname/firstname: you can import empty names: just define the column (“lastname” or “firstname”) and put as value “” (depending on the enclosure you use). That should work just fine.FrankyKeymastereme_countdown shows the difference in days between now and the mentioned event.
It uses php datetime diffs in the end, and 24 hours are considered a day. So if in your case the event starts on nov 13 but earlier than 10:44 pm, it will be 3 days (and x hours, y minutes etc …)
For a more correct countdown, you can use placeholders too, see https://www.e-dynamics.be/wordpress/event-formatting/ (search for “DATETIMEDIFF”)FrankyKeymasterThis has been implemented some time ago, so closing.
FrankyKeymasterThis has been fixed some time ago, so closing š
FrankyKeymasterSince I’m not seeing the use of this in any of the cases where I use EME, if you want this feature: please donate to the development of EME.
Sun 7 Nov 2021 at 19:21 in reply to: groups, created date and updated date visible in person list #63420FrankyKeymasterThe next version will have these. From the changelog:
Add groups, creation and modif date as extra columns for people
FrankyKeymasterThe next version will have extra filters. From the changelog:
Added filters eme_event_email_subject_filter, eme_event_email_body_filter, eme_generic_email_subject_filter, eme_generic_email_body_filter
FrankyKeymasterSorry it took so long, I had a day “off” š
FrankyKeymasterFixed in the just released version (bug introduced in 2.2.29 due to a wrong copy/paste).
FrankyKeymasterI’ll check it today
FrankyKeymasterThe next version will have an option for immediate redirect to the payment gateway. This is the explanation for that new setting:
By default, people get a list of payment gateways to choose from before being redirected to the payment gateway of choice. Select yes to immediately redirect to the payment gateway if there is only one payment gateway to chose from. This redirect takes also the setting “Redirect wait period” into account. The text above the payment button of the relevant payment gateway will then also be shown.
FrankyKeymasterThe fact that there is a delay is because first EME makes a Stripe payment (that is the first part of the form submit) and then the user gets redirected to confirm that payment (second step).
If there’s only 1 payment, I could try to shortcut that step a bit, but it will take quite some coding because not all payment gateways behave the same way.FrankyKeymasterThis fixes it:
https://plugins.trac.wordpress.org/changeset/2624861/But for an easy fix: put all your javascript on 1 line and it will work fine too:
<script type="text/javascript">jQuery(document).ready( function($) {$( "#eme_stripe_form" ).submit();});</script>
FrankyKeymasterI was testing it here too, and due to some previous change the br-tags are being added which shouldn’t be for javascript of course. I’ll correct that.
FrankyKeymasterWhe choosing the “Delete booking (move to trash)” option, an extra option appears to the right: ‘Refund if possible’ ==> if you want to (try to) refund, you should set that to “yes”
FrankyKeymasterRemove “code” and also the br-tags you added. Both are not allowed in your javascript …
FrankyKeymasterreplace #paypal_form by #eme_stripe_form, that should do it (for paypal it is also #eme_paypal_form, I’ve corrected the faq)
FrankyKeymasterSorry, it is a form submit because of the possibility to have several gateways. However, see the EME FAQ page on this website, look for “How to redirect automatically to paypal after successful booking”.
I’ll see in the future if I can do this automatically if only 1 gateway exists.FrankyKeymasterAs admin the “Delete booking (move to trash)” option is the one you’re looking for š
It can send a different mail back to the booker (because it is not the booker that cancelled the booking), that can be configured either per event or globally.
When choosing that option, you can optionally chose to refund the booker (if the payment gateway supports it).Sun 31 Oct 2021 at 09:58 in reply to: Advanced Mail Templates with Conditional HTML tags for Outlook #63367FrankyKeymasterIt is not that I don’t trust email clients, but more the wordpress phpmailer class working fine with it š Also, I would never use html for outlook clients specifically, but that’s just me (I’m not much of a layout man š ).
But feel free to test the dev-version, see what it gives now.Sun 31 Oct 2021 at 09:34 in reply to: Advanced Mail Templates with Conditional HTML tags for Outlook #63365FrankyKeymasterBtw: I tested your html in a template, and there it works ok. I’ll leave it up to your testing for html-mail outcome in a mail itself, but I doubt you should be using html+header tags, the phpmailer software probably won’t like it. So I recommend just the body-part.
Sun 31 Oct 2021 at 09:29 in reply to: Advanced Mail Templates with Conditional HTML tags for Outlook #63364FrankyKeymasterCode updated
Sun 31 Oct 2021 at 09:27 in reply to: Advanced Mail Templates with Conditional HTML tags for Outlook #63363FrankyKeymasterAlso, if you decide to add html-header and body tags the current mail-tarcking url (if being added) will not be added correctly. I’m already changing the code to take that into account.
And I’ll check the mailer-part for unfiltered html too.Sun 31 Oct 2021 at 08:39 in reply to: Advanced Mail Templates with Conditional HTML tags for Outlook #63361FrankyKeymasterWhere did you enter that? Did you see the text “Your account has the ability to post unrestricted HTML content.” there (beliw the input field)? Edit e.g. a template, you’ll see there.
Maybe I overlooked some settings (and not all settings are “totally free”), it is still dev of course š
Sun 31 Oct 2021 at 00:45 in reply to: Advanced Mail Templates with Conditional HTML tags for Outlook #63359FrankyKeymasterIf you’re willing to try out the dev-version, that should work fine now.
Sat 30 Oct 2021 at 18:47 in reply to: Advanced Mail Templates with Conditional HTML tags for Outlook #63358FrankyKeymasterYes, as admin it will be ok. A notice will be shown where it is allowed.
FrankyKeymasterIt is indeed a bug, the next version will fix this.
Sat 30 Oct 2021 at 14:30 in reply to: Advanced Mail Templates with Conditional HTML tags for Outlook #63354FrankyKeymasterThe next version will allow all html if the user has the wp-rights for that (but still strip out javascript). This is a bit like wordpress posts are handled.
FrankyKeymasterYou can set most default settings for events in the EME generic settings. For per-event settings, either select the template(s) of choice or use the eme_insert_event_filter filter hook, where you can change event settings just before it is entered in the db.
Wed 27 Oct 2021 at 16:04 in reply to: Placeholder or calculation for Totalprice incl. Payment Gateway Extracharge #63348FrankyKeymasterI found a better (yet slightly more complicated) method to correctly replace substrings without interfering with other matching substrings. The new version has already been released today.
Wed 27 Oct 2021 at 00:20 in reply to: Placeholder or calculation for Totalprice incl. Payment Gateway Extracharge #63346FrankyKeymasterOk, I replaced the placeholder-replacement logic by something more resilient. Can you try dev again? But this time: test everything (also other forms,…) since the placeholder logic changed and I need to be sure I didn’t miss anything š
Tue 26 Oct 2021 at 22:52 in reply to: Placeholder or calculation for Totalprice incl. Payment Gateway Extracharge #63345FrankyKeymasterI’ll test this out, you might have given me a clue here …
Tue 26 Oct 2021 at 22:07 in reply to: Placeholder or calculation for Totalprice incl. Payment Gateway Extracharge #63342FrankyKeymasterWorks fine here. To be sure: can you download the latest dev-version (just updated some small things) and try again?
Tue 26 Oct 2021 at 20:41 in reply to: Placeholder or calculation for Totalprice incl. Payment Gateway Extracharge #63340FrankyKeymasterIs this for bookings or for memberships? I discovered small issues with that for memberships, but not with #_PRICE … I’m looking into the code now š
Tue 26 Oct 2021 at 18:02 in reply to: Placeholder or calculation for Totalprice incl. Payment Gateway Extracharge #63338FrankyKeymasterIf you’re able to test the dev-version, that would be great š
Tue 26 Oct 2021 at 17:47 in reply to: Event End between 12:00 AM and 12:59 AM not saving correctly #63336FrankyKeymasterConfirmed. Some weird behaviour where in case of AM/PM notation the 12 is considered as 0 and caused the library I used to use the current hour (and UTC).
The next version will fix this.Tue 26 Oct 2021 at 01:01 in reply to: Placeholder or calculation for Totalprice incl. Payment Gateway Extracharge #63332FrankyKeymasterThe next version will allow all payment gateway placeholders to be used as booking and member placeholders too. From the changelog:
* Added payment gateway placeholders #_PRICE_INCLUDING_CHARGES_NO_VAT and #_PRICE_INCLUDING_CHARGES_VAT_ONLY, #_EXTRACHARGE_NO_VAT and #_EXTRACHARGE_VAT_ONLY
* Allow all payment gateway placeholders to be used as booking and member placeholders tooFrankyKeymasterWell, I have the calendar on this site, and using my android phone it works fine switching months. Which mobile browser do you use? Did you try chrome or firefox?
FrankyKeymasterThe next version of EMEFS will support hCaptcha and reCaptcha too.
FrankyKeymasterConfirmed (I was looking at the per-event setting, not the global one). This one-liner fix in eme_options.php corrects that:
https://plugins.trac.wordpress.org/changeset/2619123/FrankyKeymasterI just created a test event: “Check waitinglist when seats become available” checks on/off work as expected, I don’t see any issue at all.
FrankyKeymasterAlso, make sure you don’t bump into the wordpress checkbox-bug:
https://wordpress.org/support/topic/checkbox-46/FrankyKeymasterCan you try without the custom filter hook? Other plugins won’t interfere, so no need to disable those or switch to a default theme.
Edit: even the custom filter wouldn’t have an effect since that is for EMEFS, not EME … so I’m not sure here. Can you send a demo account for me to test?FrankyKeymasterEMEFS doesn’t support recaptcha/hcaptcha for now, only the regular captcha.
FrankyKeymasterSorry, but this is not reproducable. The setting saves fine in both no/yes settings. Please make sure no filter interferes with your setting.
FrankyKeymasterThis should do it:
function my_emefs_event_insert_filter($event){ $event['event_properties']['person_only_once'] = 1; return $event; } add_filter('emefs_event_insert_filter','my_emefs_event_insert_filter');
FrankyKeymasterNo, *never* change the code. That is not what the doc says. But for changing it “by default” (so without asking for it), use the EME filter eme_event_preinsert_filter for this.
The next version of EME will have eme_insert_event_filter (a bit more logical name).
I also created such a filter only for EMEFS (in the version released today): emefs_event_insert_filterFrankyKeymasterFrom the docu:
”
Many newer event options are stored in properties, see eme_events.php function eme_init_event_props(), for a whole list.
A small enumeration:
auto_approve (*)
ignore_pending (*)
all_day (*)
take_attendance (*)
min_allowed
max_allowed
rsvp_end_target
rsvp_discount
rsvp_discountgroup
use_worldpay (*)
use_stripe (*)
use_braintree (*)
use_stripe (*)
”In your case: the property you’re looking for is “person_only_once” or “email_only_once” (see eme_events.php function eme_init_event_props(), for a whole list).
FrankyKeymasterYou can ask those here too if you want š
FrankyKeymasterBut it seems your issue was related to the regular captcha too? For the captcha, check your event RSVP settings (these are set per event and only taken from the global settings when creating an event).
Wed 20 Oct 2021 at 12:13 in reply to: ..change the default value of a Custom field (Drop down)? #63297FrankyKeymasterSure. Now you have “a1||a2||a3” (or the values split over several lines when editing).
Just use “||a1||a2||a3” (or: the first line empty when editing).FrankyKeymasterWhile I never envisioned 0 family members, I understand your need here (currently I do a different membership for single persons than for families since I give them a different price).
This small change fixes it:
https://plugins.trac.wordpress.org/changeset/2615209/FrankyKeymasterEME doesn’t know what or what not you want to show, but: you can use the conditional shortcode [eme_if] to show/hide stuff, see https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-1-conditional-tags/
FrankyKeymasterEME uses dompdf for PDF generation, so this is more a question for dompdf. If I look around a bit, I find this:
https://stackoverflow.com/questions/54653906/add-css-to-dompdf
so: maybe adding something like
<link type="text/css" media="dompdf" href="http://my/path/to/pdf.css" rel="stylesheet" />
to your pdf html template in EME might help. If that gets filtered out again upon save, you can go in the EME settings, tab “Other” and set “link,type,media,href,rel” as an accepted html tag (+attributes) in “Extra html tags”FrankyKeymasterIf you have multiple price categories, then you can use #_SEATS{1}, #_SEATS{2} etc … to show the seats reserved per price category. Just like that you can also use #_PRICEDESCRIPTION{1} etc … But since you know you’re showing the seats of price category 1 when using #_SEATS{1}, you can put your own text next to it of course.
FrankyKeymasterIt seems you deactivated the nitro-thing and your site seems faster *and* the form shows š
FrankyKeymasterIt seems you’re minifying some things with nitro (or something alike)?
Exclude eme.js (and best everything EME plugin related) from that and try again. That plugin is blocking execution of the needed javascript that renders the rsvp visible.FrankyKeymasterBtw, for info: I’m trying to implement “tasks” for events. Something you could consider as volunteer management. But that will take time to do š
FrankyKeymasterThere’s also the possibility to use a multibooking form, but then the custom field is not recommended (or should be present for all individual events too), but then the comments field might be used. See the doc on that:
https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_add_multibooking_form/FrankyKeymasterEME can ask for extra info using custom fields but there’s no limitation on the number of those items. So in your case, if you want to do this with EME: create several “events” (on for each “main item” that has a limited number) and then use either a custom field or the comment box to ask for more info per event. I’m not saying it is ideal, but it is one way of doing it.
Tip: if you set the minimum and max seats to book to 1, the seats dropdown will be hidden.FrankyKeymasterShift-reload the page and it’ll work. It is a bug in wordpress how it replaces the checkboxes via CSS.
Edit: also read this thread: https://wordpress.org/support/topic/checkbox-46/Mon 4 Oct 2021 at 23:05 in reply to: Submit button of newsletter submit form not working anymore #63265FrankyKeymasterProblem fixed in dev. I’ll release a new version to fix this.
Mon 4 Oct 2021 at 22:57 in reply to: Submit button of newsletter submit form not working anymore #63263FrankyKeymasterOk, I found the problem: the form begin/end tags are not being added, causing this to fail. Let me try and reproduce it here.
Mon 4 Oct 2021 at 22:49 in reply to: Submit button of newsletter submit form not working anymore #63262FrankyKeymasterI’m sorry, I lost track of this bug during the weekend. Is this still an issue? I’ll test your sandbox again
FrankyKeymasterCorrection: that change *will* help š But it will be in the next version too.
FrankyKeymasterThis change might help:
https://plugins.trac.wordpress.org/changeset/2606926/Wed 29 Sep 2021 at 17:32 in reply to: Submit button of newsletter submit form not working anymore #63257FrankyKeymasterHumm … weird .. let me test it here too (was still at work) and see if there’s maybe a bug in the code there.
Wed 29 Sep 2021 at 16:20 in reply to: Submit button of newsletter submit form not working anymore #63254FrankyKeymasterYour theme is generating javascript errors when clicking on the submit button. There’s an open ticket at wordpress for this: https://core.trac.wordpress.org/ticket/45903
At the bottom there’s someone who suggests a possible solution, but I recommend to not use twentynineteen šFrankyKeymasterYou replaced the wrong line, but apparently I gave the wrong number (based on dev). In the released version it is line 2011
FrankyKeymasterUse this:
<div class="single-event-date-mobile"> #D #j #M #Y [eme_if tag="#ESC_CATEGORIES" contains="Live Music"]<br>#g:#i#a[/eme_if] </div>
Maybe I should also take [eme_if] on a newline into account to not set a br before it. Try this on line 2009 in eme_functions.php:
if (!preg_match("#^\s*</?|^\s*\[\/?(eme|events)_if#",$lines[$i+1]))
FrankyKeymasterEME can redirect too you know š
FrankyKeymasterThe class eme_events_list is on the ul, not on the a-element.
If you want to target the a-element inside that list, use:ul.eme_events_list li a { font-size: 2.5em; color: red; }
CSS is something you should learn to master, using a CSS-debugger like Firebug also helps (in firefox). Learn CSS here .
Sat 25 Sep 2021 at 09:54 in reply to: “Convert newlines” setting broken in templates after update to 2.2.22 #63242FrankyKeymasterThe next version has been released and the version in dev even has a small extra improvement (no br tag will get added if the next line starts with a html closing tag)
It is not nice to add a br to for example a td-entry if the opening/content/closing html is spread over 3 lines (where it would add a br to the content). Adding a br will not result in a visual change, but not nice anyway šSat 25 Sep 2021 at 00:27 in reply to: “Convert newlines” setting broken in templates after update to 2.2.22 #63241FrankyKeymasterYes it will š
FrankyKeymasterReason is that in the form the #_ATT value is replaced and later on all the other generic placeholders (like #_USER_HAS_ROLE) when the event-part of the code is executed.
However for events the logic was coded differently, since there first the generic placeholders are replaced (which is #_USER_HAS_ROLE) and just after that #_ATT and all other event placeholders.
Now: switching the replacement will not solve the problem too: some people want to use generic placeholders inside #_ATT (and even more: when you have event custom fields then that replacement happens later on too).
So it is not an easy one š For now: try to use a fixed role and not via another variable, unfortunately that’s all I can offer. I’ll take a look but no promises at all.FrankyKeymasterThanks for confirming this. Concerning other users: there was 1 other person and he also confirmed the change solved it. I guess I didn’t take into account people putting that much work in templating š But glad it got fixed!
FrankyKeymasterTrying your example here: the “problem” is the use of the older events_if for conditional tags.
I no longer advertise that, but since it still works I should account for it š But you’re mixing the 2 btw (events_if and eme_if)
Try this:
if (!preg_match("#</?(\w+).*?>\s*$|\[\/?(eme|events)_if.*?\]\s*$#", $line))
Now, you also have empty lines in your template. That of course is up to you to decide on those.
FrankyKeymasterOr a link to your event?
FrankyKeymasterIt is possible your code contains other issues. Can you post the html-code? And please use the “code” button, otherwise your reply gets pending or marked as spam.
FrankyKeymasterAnd also, try this code:
if (!preg_match("#</?(\w+).*?>\s*$|\[\/?eme_if.*?\]\s*$#", $line))
What that does is: any html-tag that ends on a line won’t get a br after it
FrankyKeymasterDid you try the latest code? I saw some weird posts here that I had to approve …
FrankyKeymasterMaybe by using another plugin that provides a shortcode to show the login form? Not in EME itself though, but other shortcodes are supported so in theory it is a possibility.
FrankyKeymasterEdit: even more simplified if and also taking into account hidden input-fields and eme_if (although the input field is not really needed, but anyway):
if (!preg_match("#</?(p|div|tr|td|th|tbody|li|table|ol|ul|hr).*?>\s*$|<input[^/<>]*hidden.*?>\s*$|\[\/?eme_if.*?\]\s*$#", $line))
FrankyKeymasterCan you give an example of a template containing this p, div and hr-tags?
Concerning the a-tag: that’s a link, so not a containing tag like the others (or hr).Edit: try this changeset, this is simpler coding and should work for div/hr too:
https://plugins.trac.wordpress.org/changeset/2603946/FrankyKeymasterWell, see this from the changelog:
* Some more nl2br where neededBut it seems the function is still not smart enough. Try and see if this changeset helps:
FrankyKeymasterWell, if you look at the resulting html code of your page, something is still doing weird stuff to the CSS …
If you’d like, feel free to send me a temp admin account, maybe I can find the plugin causing it. Or install the plugin “Health Check & Troubleshooting” and go in Tools->Website Health where you can go in the troubleshooting mode to help you find the plugin causing this.FrankyKeymasterOk, I see what happened. Do you have some kind of CSS optimizer in place? I’ve code in place that hides the form if javascript is not enabled. Snce that needs to work when javascript is not enabled, it is inside the noscript tag and hides the form using css. Now in your case that css-part is taken out of the noscript section and executed earlier, causing this “hide” to happen all the time.
Can you disable the plugin that does that? Or disable the CSS optimize? Or at least tell them to not rearrange css-sections that are inside noscript tags?FrankyKeymasterThat is impossible for a preview mail. You’re using a booking conditional placeholder, and for a previewmail: which booking would that concern (imagine if someone made more than one)?
The previewmail acts as a mail to “all”, so generic and event placeholders can be tested for, but that’s it.
If you want to test your mail template like that: go in the booking, select the booking of choice and from the dropdown menu choose the action “Send booking related email to selected bookings”.FrankyKeymasterWhich condition are you testing? So I can try to reproduce it here.
FrankyKeymasterWeird … the same placeholder actions happen for both previewmail and actual event mail.
I’ll check this a bit further.Mon 20 Sep 2021 at 23:53 in reply to: [eme_request_personal_info] and [eme_change_personal_info] links lnot vaild #63200FrankyKeymasterBug in the wordpress sanitize_email function that strips out “+” in an email, the next version of EME will work around that.
Mon 20 Sep 2021 at 20:20 in reply to: [eme_request_personal_info] and [eme_change_personal_info] links lnot vaild #63197FrankyKeymasterOk, what does your personal info form look like? Maybe there’s a bug with a field I’m not using …
Edit: that can’t be it. So we need to figure out where this is coming from. Can you add me as an EME person and then send me the page where I can request the change personal info? My email: franky@e-dynamics.beMon 20 Sep 2021 at 16:16 in reply to: [eme_request_personal_info] and [eme_change_personal_info] links lnot vaild #63193FrankyKeymasterJust checked: works as expected. Make sure no caching plugin interferes, because due to the use of wordpress nonces a cached page will result in problems of course.
Mon 20 Sep 2021 at 16:14 in reply to: [eme_request_personal_info] and [eme_change_personal_info] links lnot vaild #63192FrankyKeymasterThat’s weird … I’ll try to reproduce that here
FrankyKeymasterI’m trying to change the timepicker to another one for the next version (not everywhere, but at least for events and custom fields). That will allow manual entry of the time.
FrankyKeymasterYour generated html contains this line:
class="content entry"><style type="text/css">#cmsms_row_614483b39df1f0_22240576 .cmsms_row_outer_parent{padding-top:0}#cmsms_row_614483b39df1f0_22240576 .cmsms_row_outer_parent{padding-bottom:30px}#cmsms_icon_614483b39e2992_82922183{display:block;text-align:right}#cmsms_icon_614483b39e2992_82922183 .cmsms_simple_icon{border-width:0;width:60px;height:60px;font-size:40px;line-height:60px;text-align:right;-webkit-border-radius:50%;border-radius:50%;color:#aa72b3}#cmsms_row_614483b39e2cd2_77813851 .cmsms_row_outer_parent{padding-top:0}#cmsms_row_614483b39e2cd2_77813851 .cmsms_row_outer_parent{padding-bottom:50px}#cmsms_icon_list_items_614483b39e4156_36365625{padding-left:40px}#cmsms_icon_list_items_614483b39e4156_36365625 .cmsms_icon_list_item:before{font-size:20px;left:-40px}#cmsms_icon_list_items_614483b39e4156_36365625 .cmsms_icon_list_item{line-height:30px;padding:0}#cmsms_icon_list_items_614483b39e4156_36365625 .cmsms_icon_list_item:before{line-height:30px;top:0}.cmsms_icon_list_items #cmsms_icon_list_item_614483b39e4ba5_16421739:before{color:#aa72b3}.cmsms_icon_list_items #cmsms_icon_list_item_614483b39e4dc1_42070114:before{color:#aa72b3}.cmsms_icon_list_items #cmsms_icon_list_item_614483b39e5154_82719805:before{color:#aa72b3}#cmsms_button_614483b39e5e40_58588052{float:right}#cmsms_button_614483b39e5e40_58588052 .cmsms_button:before{margin-right:.5em;margin-left:0;vertical-align:baseline}#cmsms_button_614483b39e5e40_58588052 .cmsms_button{font-weight:400;font-style:normal;border-style:solid}#cmsms_row_614483b39e61a1_22431027 .cmsms_row_outer_parent{padding-top:0}#cmsms_row_614483b39e61a1_22431027 .cmsms_row_outer_parent{padding-bottom:50px}#cmsms_row_614483b39e7706_85881477 .cmsms_row_outer_parent{padding-top:10px}#cmsms_row_614483b39e7706_85881477 .cmsms_row_outer_parent{padding-bottom:10px}#div_eme-rsvp-form-614483b39ce60{display:none}</style><div
==> you’re hiding the form:
#div_eme-rsvp-form-614483b39ce60{display:none}
I’m guessing you’re doing this via jquery or so … ?FrankyKeymasterYou have a “
</body>
” tag just after the submit button. I don’t think you meant to do that. Also: can you provide a demo link?FrankyKeymasterYes it does. EME uses translated javascript. Directly including them won’t work. But I just checked your page: it seems to be ok now.
FrankyKeymasterWell, something went wrong now: eme.js is totally not loaded … in fact almost no js file is loaded (I’m beginning to wonder about your theme here and not the minification plugin).
Can you go in the EME admin options, tab ‘Generic’ and set the option “Always include JS in header” ? Based on other js, that might help.FrankyKeymasterOk, your page is not executing javascript at all. I see this at the bottom of your generated page: “HTML compressed” ==> do you have some compression/optimization/caching plugin in place? That is probably messing up all javascript …
FrankyKeymasterIf the page is reloading, it means the booking didn’t went through at all due to some javascript issue. I tried subscribing, and it seems the code returns the same form but with the error that javascript is needed. Since the return code is no real json, from the users perspective the form seems to be reloading.
I’m going to try to reproduce that here …FrankyKeymasterWell, people can change their own EME info (even if not a WP user), however not change a booking once made. Reason for that is that a booking could become unpaid, a discount invalid, booking more expensive or just no more room.
But like I said, personal info can be changed: https://www.e-dynamics.be/wordpress/eme_change_personal_info/ (not applicable for fields related to a single booking of course)FrankyKeymasterIndeed, I switched some time ago (that column no longer exists) but forgot this side-effect. I updated the FAQ concerning search pages. To show the start date you should now use:
eme_localized_date($event['event_start'])
eme_localized_date shows the date according to your WP preferences, but you can also use eme_localized_datetime or eme_localized_time (or just $event[āevent_startā] to have the untranslated version of the event start datetime).
FrankyKeymasterIt depends on your email provider. If they limit you, then it will be a problem if you have a burst of emails being sent out due to many rsvp’s arriving at the same time. And it will also cause the sending of “generic mails” etc … to happen immediately.
There’s no EME issue though.FrankyKeymasterSorry, currently not in the code. The next version will have #_CANCELEND (like #_RSVPEND)
FrankyKeymasterNew version released, please do test to confirm it is working as expected.
FrankyKeymasterBug confirmed, I’ll release a fixed version today.
FrankyKeymasterBug confirmed, I’ll release a fixed version today.
FrankyKeymasterOk, sorry. I overlooked the “membership” part. I’ll test that now.
FrankyKeymasterTest payment using Stripe is working fine. Also, please do read the forum post guidelines (https://www.e-dynamics.be/wordpress/forums/topic/forum-post-guidelines/ , second guideline here).
FrankyKeymasterClick on the CSV report link or the printable report link underneath the event name in the list of events or bookings.
FrankyKeymasterwhich CSV export do you try? The CSV export link underneath the event name is really a CSV file (open it in a text editor). The CSV export button in the table is also a CSV, but contains “\n” (which excel might not like, in that case I recommend libreoffice or so).
FrankyKeymasterAlso: noscript will work, if you activate the html-tag in the EME settings (wordpress is very strict about what it allows). See EME settings, tab Other, setting “Extra html tags”
FrankyKeymasterThat user will never get a confirmation though (not visual, not via mail), it should look like nothing is happening at all.
But the next version will show an error message and not the form:
https://plugins.trac.wordpress.org/changeset/2596380/FrankyKeymasterIf a WP user is linked to an EME person, the info from the EME person takes preference.
But, while I do sync the info between WP <=> EME for linked persons, I missed the possibility if someone just updates the phone info. This fixes that:
https://plugins.trac.wordpress.org/changeset/2595294/So that will solve the phone problem (in the future).
FrankyKeymasterIn your event of choice, what are the RSVP settings for “Extra attendance info for not authorized users” and “Extra attendance info for authorized users” (or the generic settings if those per event are left empty)?
Feel free to send me test-event qr codes (and/or access). Also, make sure no caching is happening …FrankyKeymasterEME doesn’t itself add a message like “no events found in this category”. Meaning: you should check the settings concerning which message is shown for people logged in with enough rights and for those without enough rights.
Just being “editor” doesn’t mean they have the needed rights.
EME checks these capabilities in order to show the info for correctly logged in users with enough rights: “Attendance check” or “Approve all bookings” or “Edit all bookings”. All 3 are in the EME options menu, tab “Access”, subsection “Bookings”FrankyKeymasterEME adds an id and a name for each input field. So just like you would use
$('#eme_cat_filter').attr('aria-label', 'category filter');
you can use (after checking the resulting html):
$('#lastname').attr('aria-label', 'Lastname');
While I’m willing to add aria-label on many fields, please do try to use your browser html sourcecode viewer and jquery selectors.
FrankyKeymasterWell, check if you have the creation_date column and see that the value is not empty for your current events
FrankyKeymasterOk, the validFrom is in normal cases based on the event creation date. When importing an event, that can be empty if in an incorrect format, I’ll correct that. Was that the case here?
FrankyKeymasterThat means the start date is invalid for some reason. What is the start date, creation date and rsvp settings (concerning begin/end) for the event in question? It might be a bug of course …
FrankyKeymasterThe next version will support “NOW” as a default value for custom fields of type date_js, datetime_js and time_js
Mon 30 Aug 2021 at 23:52 in reply to: Location Drop Down is Displaying when I want location input fields to display #63120FrankyKeymasterThis is a small bug that will get fixed with the next release.
If you can’t wait (and don’t use multiple languages), edit eme_events.php and remove the following 3 lines starting at line 6766:if (!empty($lang)) { $use_select_for_locations=1; }
Mon 30 Aug 2021 at 21:55 in reply to: Placeholder or calculation for Totalprice incl. Payment Gateway Extracharge #63118FrankyKeymasterThank you for that kind donation!
FrankyKeymasterNo problem, and thank you for your kind donation!
FrankyKeymasterOf course it is. Just like you’d use #_SEATS as a condition (for example), you can use #_FIELD{xx} as condition
Mon 30 Aug 2021 at 14:42 in reply to: Placeholder or calculation for Totalprice incl. Payment Gateway Extracharge #63113FrankyKeymasterThe total would be another thing, that I could add.
The next version will support #_PRICE_INCLUDING_CHARGES or #_GATEWAY_PRICE, which gives the total price for a specific gateway (only supported per gateway button).
Concerning #_EXTRACHARGE: that will change a bit too (will also be localized, not just a number).Mon 30 Aug 2021 at 00:55 in reply to: Placeholder or calculation for Totalprice incl. Payment Gateway Extracharge #63111FrankyKeymasterThe text per button is not specific for events or members, that’s why I don’t replace any event/members placeholders in it. You should use the setting “RSVP Payment form header format” (or footer, and for memberships it is a template) for that.
And the charge is a calculated amount based on 2 settings per gateway, so no pct here (for now).FrankyKeymasterYou don’t need to be registered to cancel a booking. Per booking a unique URL can be sent that can serve to cancel that specific booking, see https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-4-rsvp-mails/ (placeholders #_CANCEL_LINK or #_CANCEL_URL)
However, EME also offers the option to create a user upon a registration, see the RSVP option “Create WP user after succesful booking” (but in your case that’s not needed).FrankyKeymasterGlobal EME settings: tab “RSVP” and tab “Mail templates”. Or identical per event …
FrankyKeymasterThere were further changes needed to correct this some more š
The next version will have this working as expected.FrankyKeymasterWhile I originally intented the waiting list to be used only if all other seats are taken, I see the problem š
Can you try if this changeset fixes it for you:
https://plugins.trac.wordpress.org/changeset/2589826/Thu 26 Aug 2021 at 12:12 in reply to: After New Plugin Update – Country and States no longer show up under drop down #63099FrankyKeymasterCan it be you have a country with a language set that doesn’t correspond with your language of choice for that user? And the other country has an empty language?
FrankyKeymasterThe next version will have a default setting. However, if you edit events now, that setting will override the default setting (because it doesn’t exist yet).
The change is here:
https://plugins.trac.wordpress.org/changeset/2589096/FrankyKeymasterThen you need to deactivate your cache for the special wordpress events page (or set it much shorter). Personally I recommend against caching plugins in wordpress because of issues like these (a caching plugin trying to cache pages created dynamically via php???). It causes issues with nonces as well, so I don’t do it (a difference is optimizing JS and css files).
FrankyKeymasterWhile I admit that it is not clear, it is what it is for now … the PDF for ticketing can be defined in the RSVP settings for an event, see “Ticket PDF template”
Sat 21 Aug 2021 at 00:52 in reply to: Create group member only after approval/active membership #63082FrankyKeymasterAgreed, that is the logical way of doing it. Code will be changed to act like this for the next version.
FrankyKeymasterI’m assuming you found your issue?
FrankyKeymasterBasic jquery selector to use … see also the source code:
$('#eme_cat_filter')
The next version will add an aria-label for most dropdownsFrankyKeymasterOk, I see what you’re trying to achieve. While I won’t change the scope param (it is time-based), you can use a small trick to only show the event of choice in [eme_events]: create a template (and refer to that template in eme_events with template_id option) and in that template only show the events conditionally. Example:
[eme_events template_id=55 limit=4]
And in template with id 55:
[eme_if tag='#_EVENT_COUNTER' value='1']show my event the way I want it ...[/eme_if]
That will show the first event (value=1 for #_EVENT_COUNTER). Use another template with value 2 etc …
FrankyKeymasterIs that user linked to a wp account? Are you logged in when you subscribe? First try with a non-logged in user, see what that gives
FrankyKeymasterJust leave scope alone (the default is “future”) and use limit=4, that’ll show the next 4.
FrankyKeymasterI’m sorry, but this is not reproducable. If I subscribe as non-logged in user with an new email, this doesn’t get linked to an existing account (and the code is correct in that regard).
-
AuthorPosts