Forum Replies Created
-
AuthorPosts
-
Mon 29 Oct 2018 at 18:14 in reply to: customer not directed to Mollie after recent plugin-update #58597FrankyKeymaster
How do you send them to Mollie for paymet? If you do this automatically (via jquery or so), then read the changelog:
* Mollie changes (API update and GET=>POST)FrankyKeymasterWell, thinking about this pointed me to discounts: if you require the discount to be used for an event, you can make a list of discounts (while saying that each discount code can only be used once), and use that as a password. Communicating that is up to you of course, but if you want to use this method, you’ll need to apply this small change:
https://plugins.trac.wordpress.org/changeset/1964193/Sat 27 Oct 2018 at 14:39 in reply to: CSV export and booking list don't work after update to 2.0.59 #58591FrankyKeymasterConfirmed and fixed in 2.0.60 (releasing now).
Thu 25 Oct 2018 at 21:32 in reply to: Change this language "Bookings no longer possible: no seats available anymore" #58588FrankyKeymasterThe string can be translated in your language, but it can’t be changed in the backend.
Wed 24 Oct 2018 at 00:36 in reply to: Dynamic custom fields populated based on #_SEATS only writes the last set #58586FrankyKeymasterThanks for the very nice bugreport. This was a typo and is fixed here (oneliner in eme_rsvp.php):
Tue 23 Oct 2018 at 22:17 in reply to: Assign a different email as the admin of the event when not a user #58582FrankyKeymasterSorry, that’s not possible in EME.
Fri 19 Oct 2018 at 18:54 in reply to: Mollie warning message: Het formulier is verlopen / form has expired. #58580FrankyKeymasterFixed in dev
Fri 19 Oct 2018 at 10:37 in reply to: Mollie warning message: Het formulier is verlopen / form has expired. #58578FrankyKeymasterWhich was the error? I’ll try later on …
Thu 18 Oct 2018 at 11:33 in reply to: Mollie warning message: Het formulier is verlopen / form has expired. #58575FrankyKeymasterI also updated the Mollie api version to 2.1.3 now, see the changelog:
https://plugins.trac.wordpress.org/changeset/1958488/
You can try out the dev version at:
https://wordpress.org/plugins/events-made-easy/advanced/Thu 18 Oct 2018 at 09:48 in reply to: Mollie warning message: Het formulier is verlopen / form has expired. #58574FrankyKeymasterWeird that they now require a get … but anyway, go in eme_payments.php and change on line 810 the word ‘post’ in ‘get’
I’ll also update the API client to their new version, that will change things too probably.FrankyKeymasterCurrently this is indeed the case (small reason is that there’s not a timezone linked to the event).
If you want the existing time to be taken into account, feel free to open a feature request and make a donation.FrankyKeymasterAnd I just realized: there’s already an option for that too: “Hide RSVP ended events?”
FrankyKeymasterI don’t know why you have ul-entries there (should be in the template header and the corresponding /ul in the template footer), but that I leave up to you 🙂
FrankyKeymasterIt would require only 1 change in your template with id 34 to show/hide it there …
FrankyKeymasterDid you read this text on the people-management screen:
Showing custom field values can be heavy on the database. If you want to show some field values, select these in the “Custom fields” select-box shown above.
FrankyKeymasterCheck out [eme_events] and the scope-option, together with the show_ongoing option.
FrankyKeymasterCan’t you use the conditional tag #_IS_RSVP_ENDED here?
Sun 14 Oct 2018 at 01:29 in reply to: How to return customized registration confirmation and payment button page? #58558FrankyKeymasterThe js is fixed, but I need to take into account people with large screens/small screens but also some with extra’s on top like a non-moving menu etc …
Currently half is the best fit imho … feel free to demonstrate several scenarios.
Concerning the payment-form being shown on the initial form: you’re correct, it should be hidden by default and shown when needed. This change should fix that:
https://plugins.trac.wordpress.org/changeset/1956390/
Concerning a div surrounding both: there are already too much divs to my liking 🙂 So currently I’m gonna keep that as is.Sun 14 Oct 2018 at 00:39 in reply to: How to return customized registration confirmation and payment button page? #58554FrankyKeymasterDid you test on small screens, and not just by resizing the screen after the message shows? Because that makes a difference … in my test here the message shows just fine even on extremely small screens.
Or maybe try
$(document).scrollTop( $(‘div#eme-rsvp-addmessage-ok’).offset().top – $(window).height()/2 + $(‘div#eme-rsvp-addmessage-ok’).height()/2);
And not just
$(document).scrollTop( $(‘div#eme-rsvp-addmessage-ok’).offset().top – $(window).height()/2 );Sun 14 Oct 2018 at 00:05 in reply to: How to return customized registration confirmation and payment button page? #58552FrankyKeymasterThis change should work:
https://plugins.trac.wordpress.org/changeset/1956346/
(or download and replace the referenced eme.js file)Sat 13 Oct 2018 at 23:45 in reply to: How to return customized registration confirmation and payment button page? #58551FrankyKeymasterEME had a separate return page in the past, and the general request was for ajax form submission. So no going back on that one (and as a result the anchor won’t work either).
However, in the js code I already return to the result of form submission on a page. But I took a look at that code and while I do force the page to go to the return content of form submission, it might not happen when the payment form shows: look in eme.js for
$(document).scrollTop( $(‘#eme-rsvp-form’).offset().top – $(window).height()/2 );I’ll take a look at that …
Sat 13 Oct 2018 at 21:56 in reply to: How to return customized registration confirmation and payment button page? #58548FrankyKeymasterThat is not possible, the form indeed gets replaced by the payment form. Of course the text above/below the payment info can be changed to your liking setting “RSVP Payment form header format” and similar), but the rest of the page will always surround it. The placeholders you can use in there can be found in the doc: https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-4-rsvp-mails/
What you *can* do is hide other parts of your page (using jquery or plain js) by setting the code to hide it also in “RSVP Payment form header format”.FrankyKeymasterTried it here and that change works as expected …
FrankyKeymasterThis should fix it (not yet committed in code). Go in eme_formfields.php and change line 1343
from:
if ($real_max_allowed > $avail_seats || $real_max_allowed==0)to:
if ($event_seats>0 && ($real_max_allowed > $avail_seats || $real_max_allowed==0))FrankyKeymasterWell, that is not the intended behavior 🙂
I’ll take a look at fixing that later on this weekend, for now moving to bugs.Fri 12 Oct 2018 at 00:56 in reply to: Need clarification on use of #REQ – not working per docs info #58539FrankyKeymasterThe bug has been confirmed and fixed here:
https://plugins.trac.wordpress.org/changeset/1955453/Simple workaround if you don’t want to apply the fix: use #REQ_FIELD{xx} with xx the field ID and not the fieldname.
Fri 12 Oct 2018 at 00:27 in reply to: Need clarification on use of #REQ – not working per docs info #58537FrankyKeymaster2 things:
– first the use of #REQ or the setting “required” when defining the field: #REQ_FIELD{xx} makes the field required, even when the “required” setting for the field is off. When the required setting is on, then the field is always required (whether or not you use #REQ). So in essence, this does what you’re asking.
– Now it seems you’re reporting a bug when usng #REQ, so let me test that again.FrankyKeymasterSet the min and/or max to 1 when defining your rsvp settings.
FrankyKeymasterNo, not possible in the html-generated booking list. The csv booking report can be used for that …
FrankyKeymasterFrankyKeymasterYou’re correct. I replace the placeholder only for logged in users. I’ll fix that this evening (and for other placeholders too).
FrankyKeymasterIf it doesn’t appear (or it looks like that), you probably have html validation errors. Take the resulting html code of your whole page and run it through a html validator.
FrankyKeymasterWorks fine here …
make sure that if you want to use the RSVP template, you leave the text field below empty (otherwise that takes precedence).FrankyKeymasterJust go in the admin interface, select the relevant booking and choose the action to send the pending/approved mail again (and make sure the template for that mail contains the placeholder #_PAYMENT_URL of course).
FrankyKeymasterFor logged in users: take a look at [eme_mybookings] : https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_mybookings/
For payment after booking, use #_PAYMENT_URL in your rsvp mails.
FrankyKeymasterYou’re totally correct!!!! I released 2.0.57 as a fix.
FrankyKeymasterExactly where are you calling that script? In what filter/hook? You never specified this …
And: if you use a print_r, it will indeed say your submission failed (but do it) because WP ajax calls expect a specific return format (json encoded), and your print_r breaks that. But using your browser debugger you can see what has been returned in the network tab after you press submit (your print_r output will be there).
Now, if you call this function in the hook eme_insert_rsvp_action, it should work as expected (try your print_r then).FrankyKeymasterSorry, but indeed not possible.
FrankyKeymasterAnonymyzing names in a booking list is kind of simple: just don’t show them. Shortening the info so people can’t make sense of it or just not showing the info is the same 🙂
Thu 27 Sep 2018 at 19:02 in reply to: Setting default email sender name and email, replys to WP default #58504FrankyKeymasterThat is the preferred way of doing things 🙂
FrankyKeymaster2 prices but you don’t want to ask info? Then I think you’ll need to take a look at code-based discounts indeed.
Wed 26 Sep 2018 at 23:46 in reply to: Setting default email sender name and email, replys to WP default #58499FrankyKeymasterThe setting for the from-email is exactly what it is: the from-email. The reply-to is always the contact person for an event.
FrankyKeymasterThis is logical: you’re requiring a minimal *and* max of 1 for each type of seats. So there’s no other option than that both seat types are set to 1.
If you just want a minimum of 1 for both types together, set the min and max to just 1 (and not multiprice 1||1).FrankyKeymasterCheck your browser manual on how to get the console errors, and ask your site admin for logfiles and errors.
Concerning the events getting created: you can check the code in events-manager.php, function eme_create_events_table: the 3 events only get inserted if the table wp_eme_events doesn’t exist (SHOW TABLES LIKE ‘v2g_eme_events’).FrankyKeymasterAlthough people should read the hint I mention, I understand this request.
It will by default be visible in the next version.FrankyKeymasterYou should never directly use the special events page. See https://www.e-dynamics.be/wordpress/category/documentation/3-installation-and-usage/
Sat 22 Sep 2018 at 23:28 in reply to: Any way to turn off autocomplete for STATE and COUNTRY to have just text fields? #58481FrankyKeymasterIndeed, if you just want text fields, create custom fields.
Now: in the EME countries/states page, you can import countries and states (see https://www.e-dynamics.be/wordpress/category/documentation/19-csv-import/csv-import-countries-states/ ). It can be done very quickly if you don’t want to provide translations and just keep 1 language. I don’t provide these by default in EME because of the language, but see the link and then decide if you want to use them or not.Sat 22 Sep 2018 at 11:21 in reply to: Weird behaviour on rendering a template for a booking list #58477FrankyKeymasterOk, I just figured out something simple: did you set the option “convert newlines” in your template? If so, that will cause the problem too 🙂 Although EME doesn’t add br-tags for complete tables, ince you split them over 3 templates, my code will happily add tags if that option is set.
I’ll add extra code to just not add br-tags after tr/td and opening table tags too.
This should help:
https://plugins.trac.wordpress.org/changeset/1945172/events-made-easy/trunk/eme_functions.php
(but the option to not convert the newlines is still preferred)FrankyKeymasterThis is an old thread, but in the newer versions you can link events together (rsvp-wise), and that should do what you want.
Sat 22 Sep 2018 at 10:39 in reply to: Weird behaviour on rendering a template for a booking list #58474FrankyKeymasterThat’s not really the reason. I need to take into account people that create templates using pure html, or people using the html editor. But normally I add the br only when needed (not in the table), certainly in the latest version (it needed tweaking). Which version are you on?
FrankyKeymasterThe person reporting the issue did not reply to my questions. Please read the questions in my previous post and come back with the answers once you checked these.
FrankyKeymasterClose, but your closing tags are wrong:
$event['event_attributes']['Event Topic']
If unsure: do a print_r($event) (or var_dump).
Fri 21 Sep 2018 at 10:15 in reply to: Implement Filter Forms functionality on the client side #58468FrankyKeymasterI think that with “on the client side” you mean ajax-based without form submit. This will not be happening for the filter, since other shortcodes depend on the form submit and via ajax I can’t catch that.
FrankyKeymasterNever use the default event page directly. See the doc (Usage) on that.
FrankyKeymasterSee the doc: https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-4-rsvp-mails/ , search for #_DISCOUNT
Thu 20 Sep 2018 at 17:46 in reply to: Days cleared when editing a recurring event set to specific days #58462FrankyKeymasterSee this thread (I thought you were that person too btw):
https://www.e-dynamics.be/wordpress/forums/topic/recurring-select-dates-not-retained-on-edit/So it will be fixed in the next release.
FrankyKeymasterRead the doc on showperiod=monthly at https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_events/
FrankyKeymasterYou need to use code-based discounts for that, see https://www.e-dynamics.be/wordpress/category/documentation/17-discounts/
For simple events, the example could be changed to:function my_eme_discount_function($booking) { $calculated_discount=0; $booked_seats=$booking['booking_seats']; if ($booked_seats>1) { $basic_price=eme_get_booking_event_price($booking); $calculated_discount= (($booked_seats-1)*$basic_price)*0.1; } return $calculated_discount; } add_filter('eme_discount_testdiscount2','my_eme_discount_function');
FrankyKeymasterAs long as you stay inside the wp ajax functions (so e.g. the eme filter rsvp filter), then you can just use those functions. If not, then you need to initialize wp:
define( 'WP_USE_THEMES', false ); // Don't load theme support functionality require( './wp-load.php' );
FrankyKeymasterEME writes a small file in the wordpress temp dir. This directory is defined by wp:
https://developer.wordpress.org/reference/functions/get_temp_dir/Do you by any chance have WP_TEMP_DIR defined in your wp config? If so: check that dir and its permissions so your webuser can write in them. If not, check the result of the php function call sys_get_temp_dir() and check that dir. If that function doesn’t exist, check your php ini settings for the value of upload_tmp_dir and check that dir. If that dir has a problem too, check WP_CONTENT_DIR , etc … (like mentioned in the link above in fact).
FrankyKeymasterThis will be fixed in 2.0.54
FrankyKeymasterI’m very sorry, I thought you meant a recurrence in general. Indeed, it seems editing a recurrence by specific days has a bug. Let me check this.
FrankyKeymasterI’m guessing you’re using a caching plugin … I’m totally obeying all WP rules, so try first disabling your caching plugin
FrankyKeymasterWell, using EME functions (and get_query_var), point 1, 2 and 3 are easier 🙂 And probably also 4 and 5 🙂
You never mentioned you needed the discount names to base your member check on (I thought you wanted to use the person name/email and check membership based on that). Anyway, using eme_get_event is a supported API call (as are others: eme_get_person, eme_get_discount, etc …), so in case any DB change might occur: I recommend you try to use the basic eme functions as much as possible.FrankyKeymasterI think the “&&” is not the correct fix, but this should fix it:
FrankyKeymasterThis will be in 2.0.54:
* Added event placeholders #_ADDBOOKINGFORM_IF_USER_HAS_CAP{xx} (shows the booking form if user has a certain WP capability) and #__USER_HAS_CAP{xxx} (usefull as conditional tag check)FrankyKeymasteruse eme_get_event($id) to load the event in a readable format (array then, use print_r or var_dump to inspect).
And to get the event id at load time, just use something like this:if (eme_is_single_event_page()) { // single event page $event_id = intval(get_query_var('event_id')); }
FrankyKeymasterFixed in dev (will be in 2.0.54).
FrankyKeymasterUse the hook eme_insert_rsvp_action , the $booking variable has the event id (and in fact also the applied discount ids, the discount codes entered and the discount codes used, see at the top of eme_rsvp.php).
But at that time, the discount is already applied (like I said before), so you just need to use that action to set the discount back to 0 (and erase discount ids or so) if your user/email check says so (imho you don’t even need to check the discount ids). See the doc on eme_insert_rsvp_action (it has a discount example even).FrankyKeymasterWhen the page loads, I don’t take a look at the defined codes. They only get loaded and evaluated upon post (or when using #_DYNAMIC_PRICE).
You can however use the $event variable (that has the discount_id and discount group id in it’s array), but the evaluation of the discount happens when someone submits the form (you can’t interfere there, unless by using the hooks I mentioned above).FrankyKeymasterThis is correct (and very weird nobody noticed it yet indeed …).
I’ll fix that this evening too.FrankyKeymasterProtecting the main EME page with a wordpress password won’t work as expected. Read this on the special created events page:
https://www.e-dynamics.be/wordpress/category/documentation/3-installation-and-usage/The easiest would be to create these superiors as people in EME and link them to their respective wordpress user, put these in an EME group (e.g. call the EME group “superiors”), and then limit the booking form using #_ADDBOOKINGFORM_IF_USER_IN_GROUP{superiors} or limit the whole event itself using a conditional tag and check for the group using [eme_if] and evaluate #_IF_USER_IN_GROUP{superiors} .
Maybe I’ll add another tag in the next version, so you can check for the role of a logged in user too: (something like #_IS_USER_HAS_ROLE{xxx} ), but it isn’t there yet 🙂FrankyKeymasterThanks for this. I’ll take a closer look at this logic this evening.
FrankyKeymasterBased on your requirement, I think you could take a look at eme_insert_rsvp_action to set $booking[‘discount’] to 0 after your evaluation …
Wed 19 Sep 2018 at 09:52 in reply to: Days cleared when editing a recurring event set to specific days #58426FrankyKeymasterMake sure you click on “edit recurrence” …
FrankyKeymasterMessing around with the discount tables in EME is not recommended. It is the responsibility of EME to handle those. If you use a discount of type code and follow the examples in the doc, then you can leave the site in your ajax call, check whatever you want and come back with the result.
For “regular” discounts (not type code), I don’t support changing the tables or evaluating things on your own. If you just want to check the user info and do some evaluation, you can also just use the rsvp filter eme_eval_booking_form_post_filter. See the doc: https://www.e-dynamics.be/wordpress/category/documentation/12-hooks-and-filters/FrankyKeymasterYour English is just fine 🙂
Concerning your event: check the start+end date of your recurring event. Don’t forget that you have 2 sets of dates:
– start / end date of 1 event, which in case of a recurring event only indicates the duration
– start + end of the whole recurrence.My guess is your end date of 1 event is way too much in the future.
FrankyKeymasterBased on your example: Did you create a discount called “gold” with type “code”? And did you assign that discount to your event?
FrankyKeymasterUse the available hooks for that. See https://www.e-dynamics.be/wordpress/category/documentation/17-discounts/ (discount of type “code”).
Tip: to get the person related to the booking:
$person = eme_get_person($booking[‘person_id’]);
And then you can check $person[’email’]FrankyKeymasterUsing RSVP linking this can now be done
FrankyKeymasterThis is now fully done
FrankyKeymasterEME can send out newsletters too … planned in time and all.
But no, that is not correct. See the (now correct) examples on the site. E.g.:foreach ($answers as $answer) { if ($answer['field_name'] == "mailchimp") { $mailchimp_choice = $answer['answer']; } }
That will get the answer in $mailchimp_choice, so now you can do a print_r on $mailchimp_choice (or $answer) and go from there 🙂
This is also a good example, if you ever need to take it further:foreach ($answers as $answer) { $tmp_formfield = eme_get_formfield($answer['field_id']); $tmp_answer=eme_convert_answer2tag($answer['answer'],$tmp_formfield); print $answer['field_name'].": $tmp_answer\n"; }
FrankyKeymasterNo problem.
Btw: EME is more than capable of handling it’s own mailings, it has a good mailing system with follow-up as well, no need for mailchimp 🙂FrankyKeymasterFirst: I’ve split out your topic, please read the forum posting rules!
Second: the documentation was wrong. Well, it was correct in the past, but since I added members and more stuff, eme_get_answers was not sufficient anymore, so I renamed it to eme_get_booking_answers.
I corrected the doc (the function was already renamed in 2017, apparently nobody noticed it …).Tue 11 Sep 2018 at 08:42 in reply to: Record the file name in eme_answers for form fields of type "file" #58397FrankyKeymasterThe file info is not in the booking array, use eme_get_uploaded_files($booking_id) for that (short for eme_get_uploaded_files($booking_id,”bookings”), you have identical calls for “people” and “members”).
Tue 11 Sep 2018 at 08:40 in reply to: EME v2.0.50 Duplicated function call in eme_rsvp.php at line 1077 and 1078 #58396FrankyKeymasterThanks, fixed in 2.0.51 (on the way of being released)
FrankyKeymasterI’d love to see the response to this here too (maybe you’ll have more feedback on the wp site).
But EME integrates with every theme and takes on the native style, so you should be good to go with whatever theme you like 🙂Mon 10 Sep 2018 at 21:42 in reply to: Start & end time display in default single event format fails on multi-day event #58389FrankyKeymasterJust tried your code here: works fine for a single event or the event listing.
Make sure your single event is in fact using the format you defined …FrankyKeymasterIn jquery it is prettier 🙂
However: every frontend submit button should already have the class eme_submit_button too, so no need to add an extra class …FrankyKeymasterPlease read the forum post guidelines:
https://www.e-dynamics.be/wordpress/forums/topic/forum-post-guidelines/FrankyKeymasterIn the interface: when you edit the relevant person/member/booking, you’ll see the list of uploaded files. Using #_FILES in member or booking related shortcodes will also get you that list.
The file info is not in the booking array, use eme_get_uploaded_files($booking_id) for that (short for eme_get_uploaded_files($booking_id,”bookings”), you have identical calls for “people” and “members”).Thu 6 Sep 2018 at 08:23 in reply to: EME v2.0.46 : Spelling Error on line 1798 in eme_functions.php #58378FrankyKeymasterThanks, fix will be in the next version.
FrankyKeymasterFor facebook, you need extra headers. See the FAQ here: https://www.e-dynamics.be/wordpress/faq/
, section “How to generate correct headers for a facebook-sharing plugin”
I think these headers will help with facebook directly too. Maybe I should make it just an easy to use option for those …FrankyKeymasterDownload the dev version from here and replace your plugin with it:
https://wordpress.org/plugins/events-made-easy/advanced/If you don’t feel comfortable doing it, then please wait for the next version or tell me how to reproduce it if possible.
FrankyKeymasterAlso: if you can reproduce it at a testsetup at your location, please do try to upgrade to the dev-version and see if that fixes things, maybe I already fixed it 🙂
FrankyKeymasterThe warnings are indeed causing the problem. But we need to figure out where the empty query is coming from … can you see anything in the webserver error logfiles concerning php warnings/errors/notices?
If you can reliably reproduce the problem, tell me how and I’ll take a look this evening …FrankyKeymasterI accept any help with the documentation 🙂
FrankyKeymasterEME is meant to be changed to your liking, that’s what all settings related to formatting are there for.
Find the setting “Event list format” and add the placeholder #_EVENTIMAGE to it. See https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-2-events/ for all possible event placeholders.
And might I suggest you start with https://www.e-dynamics.be/wordpress/category/documentation/3-installation-and-usage/FrankyKeymasterI just took another look at your page, and I see this in the footer of the html:
<!-- Cache File URL: https://glenmeadow.org/events/179/dee-dee-bridgewater/ --> <!-- Cache File Path: /cache/comet-cache/cache/https/glenmeadow-org/events/179/dee-dee-bridgewater.html --> <!-- Cache File Generated Via: HTTP request --> <!-- Cache File Generated On: Aug 27th, 2018 @ 6:57 pm UTC --> <!-- Cache File Generated In: 0.99147 seconds --> <!-- Cache File Expires On: Nov 27th, 2018 @ 6:57 pm UTC --> <!-- Cache File Auto-Rebuild On: Nov 27th, 2018 @ 6:57 pm UTC --> <!-- Loaded via Cache On: Aug 31st, 2018 @ 5:10 pm UTC --> <!-- Loaded via Cache In: 0.00745 seconds -->
Caching an event as a fixed page for 90 days (!!!) will always cause problems. At most the caching should be 1 day (I even recommend less). But since the event page can contain a form, I recommend that you don’t cache anything related to ‘/events’
I even recommend to not use comet-cache and use w3-total cache or something alike (those don’t seem to have this issue).FrankyKeymasterMore info: the server is returning ‘-1’ as a reply on your site for the state-lookup. This only happens when the form nonce is incorrect. Since you’re using a cache-plugin, I’m guessing it is not cleaning up itself correctly and showing an old page, and not the latest form.
So clean your cache (or better: disable the cache plugin or exclude EME from it)FrankyKeymasterYou’re using a caching/minifying plugin (rocket?). Disable that first and try again, all I can see now is that you have a javascript error on your page.
I’ll debug this on a test setup this evening to make sure it still works for me too 🙂Thu 30 Aug 2018 at 15:59 in reply to: start using OpenStreetMap to replace the Google Maps we have been using? #58348FrankyKeymasterThis will be in the next version:
http://plugins.trac.wordpress.org/changeset/1933178Thu 30 Aug 2018 at 15:05 in reply to: start using OpenStreetMap to replace the Google Maps we have been using? #58346FrankyKeymasterGlad it worked.
If you see a ‘!’ in the list of locations, then EME as empty coordinates for those. When you then edit the event, it will retry to get coordinates (that’s why you thought they were there). Just pressing “save” would’ve solved it then probably. I’ll see if I can add a warning of some kind if the coordinates changed when opening the edit-location window.Thu 30 Aug 2018 at 14:33 in reply to: start using OpenStreetMap to replace the Google Maps we have been using? #58340FrankyKeymasterOnce you fixed the location coordinates, take a look at your theme style.css, lines 1938-1940
It seems this is causing the weird grid lines:.content-container img {
margin-top: 5px;
border: 6px solid #98822c; }FrankyKeymasterThe next version will only allow smtp debugging in the test-email window.
Also, the latest phpmail version seems to want to do encryption if the server advertises it, but it fails on that. So if no encryption is selected, I will forcefully disable it too.FrankyKeymasterno reply, closing
FrankyKeymasterno reply, closing.
Thu 30 Aug 2018 at 10:38 in reply to: ignore_filter not working for [eme_calendar] in EME v2.0.43 ? #58336FrankyKeymasterThis will be in the next version.
Thu 30 Aug 2018 at 08:27 in reply to: start using OpenStreetMap to replace the Google Maps we have been using? #58335FrankyKeymasterFirst: you still have a js error:
ReferenceError: wiredminds is not definedSecond, if you look at the source of the page, you’ll find something like this (generated by EME):
latitude_674437021_1535608348_7965 = parseFloat(‘0’);
longitude_674437021_1535608348_7965 = parseFloat(‘0’);
Meaning EME thinks the coordinates are (0,0) …
So: check the location list (not the single location) in the EME backend and see what is reported as coordinates there.The extra raster-lines you’re seeing are related to some css-issue of your theme. While that shouldn’t happen, it seems it does (leaflet.css is loaded though, but something in your theme style.css is overloading a property resulting in that).
Edit: looking more at that, I found a bug in EME for the leaflet (the map) css loading, it will probably not fix your issue, but here’s the small bugfix (editing 2 lines in eme_actions.php):
https://plugins.trac.wordpress.org/changeset/1932858/events-made-easy/trunk/eme_actions.phpWed 29 Aug 2018 at 19:11 in reply to: start using OpenStreetMap to replace the Google Maps we have been using? #58332FrankyKeymasterSarah: you have several javascript errors on your site, fix those first. I’m guessing these are from your theme or your own additions (responsiveslide errors and also embed.js causes issues.
Next to that, your location has no longitude/latitude values, so the place it shows on the map will be wrong. Correct your address for that part.Wed 29 Aug 2018 at 15:55 in reply to: start using OpenStreetMap to replace the Google Maps we have been using? #58327FrankyKeymasterWell, glad you found it. However: in the “Plugin compatibility” I specify the minify issues (in this case for WP-minify, but others probably apply).
Concerning the switch: if I have several sites no longer working, I do something about it. If I would be charging money (or even coming close to make some kind of living) for this plugin, I would ask feedback. I asked feedback about stuff in the past, I asked for help concerning coding; icon; translations etc … I never got any reply (the translators always contacted me directly, for which I’m grateful ; and the icon comes from a fan this/last year). So I stopped asking, and I’m doing my best to provide a tool that suits the needs of the many but of course also mine. Me disliking paying google helped in the switch to openstreetmap. I considered recaptcha integration in the past but nobody wanted to sponsor it and with the recent changes by google, that won’t be happening either.
I understand your point of view, but it is not fun for me either. I spent days getting it to work, to have my sites back to normal. I’d rather not have done that and spent my time on other stuff …
On a sidenote: if you look at the wordpress support forum, not many people are complaining (more the opposite).Also, it seems on your Directory Page, I now see a javascript error: $(…).dialog is not a function, seems to be due to eme.js line 69: $(‘#MassMailDialog’).dialog
I need to check this, normally I require jquery-ui, but it seems not to be loaded on your page. This seems due to the massmail-popup option you probably deactivated, so that’s another bug I need to fix. For now as a workaround there: reactivate the option called “Massmail popup”Wed 29 Aug 2018 at 08:28 in reply to: start using OpenStreetMap to replace the Google Maps we have been using? #58324FrankyKeymasterI don’t recall such a notice from Google. Anyway, I will never give my credit card to account for possible usage of a website …
Concerning the errors on your page: they seem html errors, not CSS specific. Use the validator and ignore the warnings.Edit: there are 2 small EME css errors too (1 tr-property that doesn’t exist, 1 time where a “;” is misplaced). I’ll correct both for the next version, but I’m guessing your issue comes from the fact that there seem to be closing html tags (/div, /span, /p) missing.
Tue 28 Aug 2018 at 09:14 in reply to: ignore_filter not working for [eme_calendar] in EME v2.0.43 ? #58322FrankyKeymasterWell, it seems it is documented but is was never implemented. Seems more a documentation issue 🙂
But it is only 2 lines of code to add, so I’ll do that this evening.Tue 28 Aug 2018 at 08:25 in reply to: Create more than one set of filters for use with filter form? #58321FrankyKeymasterThe shortcode can use a template, so you can create as many different views as you like, see the doc.
FrankyKeymasterI meant demonstrating the turning wheel. And did you try the ‘test email’ functionality in eme? Did you disable the ‘smtp debugging’ setting in eme? Did you check your browser console? Your webserver logfiles?
FrankyKeymasterIf they see a spinning wheel (that stays), then there’s an error in the answer coming from the site (maybe a php bug). Can you demonstrate this? It might be related to smtp-issues (did you test sending a mail)? The next version will have better smtp debugging …
Mon 27 Aug 2018 at 22:18 in reply to: start using OpenStreetMap to replace the Google Maps we have been using? #58310FrankyKeymasterGoogle never gave me a warning when they started to ask payment for the use of their maps.
Their latest update broke the maps on several of the sites I maintain, so I needed to switch to something that works. Using OpenStreetMap should not require you to do anything different than before.
Looking at the code on your site, it seems you’re using minized versions of code (I’m guessing some caching plugin). On your first example I don’t see any evidence of the map being called (no loading of eme_location_map.js in the resulting html source, nor the location-div in the html). So clear your cache (or disable it for testing) and try again.
Concerning your last page, it is riddled with html-validation errors. Please fix those, see https://validator.w3.org/nu/#l252c477
Concerning the route-form: see the changelog. Until I find something not dependent on google, I deactivated it.FrankyKeymasterPlease read the Forum post guidelines
https://www.e-dynamics.be/wordpress/forums/topic/forum-post-guidelines/FrankyKeymasterAlso, for your db user: check if the query “SHOW TABLES LIKE wp_eme_events” works in your wordpress db with your wordpress db user (assuming ‘wp_’ is your db prefix).
FrankyKeymasterOk, some things:
– first the people issue: check your browser console for javascript errors. Maybe there’s some conflict with another plugin causing issues.
– second: what is the value of ’eme_version’ in the wp_options table? Also I’m very curious about the structure of the eme events table (typically called wp_eme_events). Like I said: those events only get added if the database table didn’t exist at the moment of install/update
– also any php errors/warnings in your server logfiles might be useful
– do you have the same issue with those events if you disable/re-enable the EME plugin?FrankyKeymaster1.9.7 ?? That”s from 2017/09/27 … There have been about 40 versions after that …
Which version are you on? The 3 events are only created if the events table doesn’t exist. Maybe something is wrong with your db user (not enough rights or so)?FrankyKeymasterBtw, although not the best in the world, check the eme-sync-facebook-events plugin, that’ll help you (I do something similar there not with event attributes but using the event property called ‘event_external_ref’)
FrankyKeymasterThat should work. For ease of use: first get an existing event and do a print_r on it, so you can see what is in it. Also for google cal to sync, use an event attribute that stores the google cal event id, so you can compare later on (although it will be a heavy query, maybe do eme_get_events for a certain day and then compare those resulting events). To understand events and attributes/properties: create them, use them and print_r it 🙂
Thu 16 Aug 2018 at 18:14 in reply to: Warning: there was a problem sending you the registration mail … Error #58278FrankyKeymasterPlease check your EME email settings and do a test email. If that doesn’t work, check with your provider for the mailserver info you should use.
Edit: see also the FAQ (added entry for this)FrankyKeymasterDid you check the FAQ? Search for “How to make EME and Yoast play nice together?”
FrankyKeymasterIt might be that some security plugin is blocking you. Disable those and try again. Does the basic url work? I.e. http://ffff/events/ ?
If not: does the event page exist? You need to figure out what is blocking you then.FrankyKeymasterIf that url is not working, something might be wrong with your rewrite rules. Reset your wordpress permalinks and try again.
FrankyKeymasterUnrelated to the original post. Please read https://www.e-dynamics.be/wordpress/forums/topic/forum-post-guidelines/ (and in your case: check your SMTP settings and send a test mail).
FrankyKeymasterEither per event in the rsvp section when editing the event (“Registration Form Format”), or in the global settings, tab RSVP, setting ‘Form format’
FrankyKeymasterThe directories mentioned don’t exist by default and you should create one. Best is to use
WP UPLOAD DIR/events-made-easy-frontend-submit/ (WP_UPLOAD_DIR is to be replaced by your wordpress upload directory location, typically it is wp-content/uploads/ )
Reason is that updating your theme won’t destroy it. Also changing it directly in the plugin subdir will cause it to be destroyed when the plugin updates.
Also make sure the webserver has access to the file/directory you created/changed, otherwise it won’t work of course.FrankyKeymasterI updated the doc a bit, but you can use price and event_seats too.
From the doc, I added:For all possible fields, look at eme_events.php, function eme_new_event.
Many newer event options are stored in properties, see eme_events.php function eme_init_event_props(), for a whole list.It is not that user friendly, I know (not my code initially), but I’m thinking about revamping the whole thing …
FrankyKeymasterI’ve split your question in another topic, since it is not related to the google recaptcha feature request.
You have an issue with multiple captchas showing up (not google recaptcha) because your html is wrong. I’m guessing you used #_CAPTCHAHTML{…} somewhere in your table (inside your form html template) and that causes issues when switching back and forth between text and html views (blame wordpress for their too strict autocorrect …).
That’s also the reason why #_CAPTCHAHTML{…} is deprecated and you should just use #_CAPTCHA in a regular table row (like your other fields).FrankyKeymasterUse the per-event option “require approval” and “auto-approve after payment”.
After that, just activate the CRON function to remove unpaid payments after X minutes (it is a separate menu). This option is currently not per event, but I’ve had no such requirement for that until now.Sat 4 Aug 2018 at 11:22 in reply to: make a selector in the form to choose one date from several recurrent dates #58249FrankyKeymasterUsing eme_events you have a listing of events (even recurrent ones, if you set show_recurrent_events_once=0), so people can select from a list of events and choose the day of their liking … the booking form is per event, not the other way around. So present a list of events where they can choose from and then show the booking form (it is just a matter of choice: first enter booking info and then select the date or first select the date and then enter the info). Since it is a recurrent event, your booking form can be the same for all by editing the recurrence itself.
FrankyKeymasterEME currently has no integration with google recaptcha, so …
Fri 3 Aug 2018 at 20:28 in reply to: make a selector in the form to choose one date from several recurrent dates #58246FrankyKeymasterThe eme_filterform shortcode also supports a template, and there you can use these placeholders:
https://www.e-dynamics.be/wordpress/277/Fri 3 Aug 2018 at 20:26 in reply to: How do I Handle Seats in a Multi-price Reservation Only Booking? #58245FrankyKeymasterYes indeed, it is still required to set, but just hidden.
Fri 3 Aug 2018 at 15:52 in reply to: How do I Handle Seats in a Multi-price Reservation Only Booking? #58241FrankyKeymasterTry setting the min/max seats to book. These (should be) multi-compatible too, so if you set the min to “1||1” and the max too, that should then hide the seats selection.
At least it is so when you set it to attendance for single-price, but if you download the latest eme-formfields.php from dev, then attendance is no longer required (but it will be hidden if min==max) and it should also work for multi-seats.
Latest dev: https://plugins.trac.wordpress.org/browser/events-made-easy/trunkFri 3 Aug 2018 at 09:05 in reply to: make a selector in the form to choose one date from several recurrent dates #58237FrankyKeymasterI think maybe eme_filterform is what you can use: https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_filterform/
Edit: together with the just documented show_single_event option for eme_events (apparently was never documented).Thu 2 Aug 2018 at 09:34 in reply to: make a selector in the form to choose one date from several recurrent dates #58234FrankyKeymasterIf you want people to select 1 event, just use [eme_events] on a page to show the events of your interest. The multi-booking form is just not intended to be used in that way. If you want to limit via a multibooking form, you’d have to add your own jquery to that page to limit the selection and/or do post-based evaluation using the available EME filters. I recommend the regular [eme_events] with a template of your choosing 🙂
Thu 2 Aug 2018 at 09:23 in reply to: Display different templates when there are one or many events in scope? #58233FrankyKeymasterCorrect, this will fix it: http://plugins.trac.wordpress.org/changeset/1918648
Wed 1 Aug 2018 at 10:49 in reply to: Display different templates when there are one or many events in scope? #58227FrankyKeymasterThis should do it:
http://plugins.trac.wordpress.org/changeset/1918059Wed 1 Aug 2018 at 10:17 in reply to: Display different templates when there are one or many events in scope? #58226FrankyKeymasterI guessed that much 🙂
Well, currently there is no placeholder for the amount of events in a list, but that should be easy to add …FrankyKeymasterGoogle recaptcha is on the list, but it is not a priority. Feel free to donate to move this up my list 🙂
Anyway, some counter remarks:
1. The wheel was already invented (I took the code from a project I did years ago, I think even before recaptcha was there).
2. True, but there is not much budget needed for this, it just works
3. I never take security lightly
4. I’m never responsible for others security (security is way more than a simple captcha … I also use hidden honeypot fields and wordpress nounces for the forms).Wed 1 Aug 2018 at 10:07 in reply to: Display different templates when there are one or many events in scope? #58223FrankyKeymasterIf you *know* you have only 1 event, then use [eme_events] and it’s template-options for header/footer/entry. That’ll do it.
Wed 1 Aug 2018 at 10:05 in reply to: Specify the start and end times of events that last several days #58222FrankyKeymasterNope, seems ok to me.
FrankyKeymasterThe next version will have the following new cconditional tags: #_IS_USER_IN_GROUP{xxx} and #_IS_USER_MEMBER_OF{xxx} , so using [eme_if] and these, you can decide whether or not to show the rsvp form (example will be added to the doc)
Edit: also added #_ADDBOOKINGFORM_IF_USER_IN_GROUP{xxx} and #_ADDBOOKINGFORM_IF_USER_IS_MEMBER_OF{xxx} , which makes it extremely easy to decide to show the form for a certain group or membership.FrankyKeymasterThe problem is that I only load the class when needed, and it seems WP Simple Pay loads it all the time (which is a bad thing). Or maybe they’re loaded because you use it in the header/footer or so … the thing is that class only needs to get loaded after you indicated a stripe payment is to be done, so it seems the WP Simple Pay plugin needs to do some tweaking here. I could check for the class existence before loading it, but then I wouldn’t be sure of the stripe version as well …
FrankyKeymasterThat just means another plugin is also loading the stripe class, so check your WP plugins for that (or look in the other plugin files for a file called Stripe.php or similar).
FrankyKeymasterWell, I don’t use ob_start anywhere, so ob_clean is not something I’d need here as well.
Indeed either another plugin (or your theme with empty lines) might be responsible, and that should be corrected. -
AuthorPosts