Forum Replies Created
-
AuthorPosts
-
FrankyKeymaster
The file to change is eme_filters.php (like mentioned in the changeset).
FrankyKeymasterCorrection, #_FILTER_MONTHS is not a calendar (but a drop-down). Can you make a separate feature request for that?
FrankyKeymasterThis fixes the #_EVENTFUL filters (I “optimized” code but made a small typo):
https://plugins.trac.wordpress.org/changeset/2546924/Concerning the #_EVENTFUL_FILTER_MONTHS: no. #_FILTER_MONTHS only shows a javascript search calendar, nothing else.
FrankyKeymasterThis fixes that:
https://plugins.trac.wordpress.org/changeset/2546704/Please do open a new thread for questions not related to the initial question.
FrankyKeymasterLatest version released last night + doc updated.
FrankyKeymasterYes, if the wp user is linked to an EME user. If not: currently not (but will be in the next version)
FrankyKeymaster@peterbaldwin: yes. But you can change that format in EME settings, tab “mail format”, “recipient name” (will be renamed to “full name” in the next version).
FrankyKeymasterIf the wp user is linked to an EME account, #_CONTACTNAME indeed now shows the full name. But you can then use #_CONTACTDISPNAME (or #_AUTHORDISPNAME).
To avoid the inconsistency with #_CONTACTDISPNAME and #_AUTHORDISPNAME when the wp user is not linked (then these are not recognized yet), the next version will support #_CONTACTDISPNAME and #_AUTHORDISPNAME for both cases. This is the one-line change needed for that (only the change in eme_events.php is relevant):
https://plugins.trac.wordpress.org/changeset/2545219/#file0FrankyKeymasterWell, the dev-version contains the fixes too already (and then some). But no code adds rogue closing p-tags nor converts the ‘[]’ to html equivalents, so I’m guessing the theme is the culprit here. Feel free to send it to me for testing (mail of course), I’ll be sure to delete the theme after my test (since it is a paying theme).
FrankyKeymasterDoes that mean you figured out where the closing p-tags came from? And the other issues (the br-tags, the ‘[]’ being converted to html-equivalent)?
FrankyKeymasterBtw, you can install the plugin “Health Check & Troubleshooting”, which then allows you to (for your session only) disable plugins/change theme etc … so you can see what causes the issue without affecting your main site. Based on what I see in the source, you use the celeste theme and the “bold page builder”, so maybe you should check with the theme reseller/dev too.
And more: I’m always interested in extra development aid, so ….FrankyKeymasterConcerning 364-367: indeed, I’ll change those too.
I see also closing p-tags after each of the form fields in your html, so indeed some plugin must be changing the html layout. I’m curious to see which one … (maybe your theme even).
I see indeed on your form that the brackets were changed to their html equivalent, but not on my other sites. I’m guessing this is also a side-effect linked to the br/p tags we see here.FrankyKeymasterI’ll check your page too (and search for a rogue closing p-tag).
But I already changed the code a bit:
http://plugins.trac.wordpress.org/changeset/2544194I also checked on another site (using EME) and they don’t have the br-tags either …
FrankyKeymasterI just took a quick look at one of the sites I manage ( https://www.bonheidensehondenvrienden.be/events/gehoorzaamheidsles-juniors-2/ ) and that has no unwanted br-tags present.
Do you define/use the filter eme_add_booking_form_filter ?
And I do see a weird closing p-tag before you h3-tag. Is that added by you? Also an empty p+closing p at the bottom of your example.FrankyKeymasterThanks for the bug report. Although it is weird the br-tags appear, the form is (from a quick glance) not ran through the nl2br function. Maybe it is again a wp issue that adds unwanted br-tags. But I’ll check/test on my end today too.
FrankyKeymasterSMTP connect failed means that your webserver can’t access your configured mailserver in that port (typical a firewall issue). That’s also the reason why the message only arrives after a minute (port connect timeout).
FrankyKeymasterOk, found the issue. This changeset will help (don’t download the complete files, just apply the changes or otherwise download the complete dev version):
https://plugins.trac.wordpress.org/changeset/2543637/
(only the changes in eme_events.php and eme_rsvp.php are relevant, not the js-change I accidentaly included)FrankyKeymasterSmall heads up that I overlooked in your initial question too): there’s no argument for those placeholders. So:
#_IS_REGISTERED_APPROVED{37} is not correct, #_IS_REGISTERED_APPROVED isFrankyKeymasterThat’s weird … I’ll check the code
Sat 5 Jun 2021 at 09:50 in reply to: End date of long events not correct visible in calendar since 2.2.0 #62659FrankyKeymasterThanks for the bug report. The error was indeed in eme_calendar.php, this should fix it (one line added):
https://plugins.trac.wordpress.org/changeset/2542921/FrankyKeymasterAre those fields added dynamically? Because then you can’t use #_FIELD, but you can use #_DYNAMICDATA in your mail.
FrankyKeymasterThat is not possible, but just use multiple conditions: the first where you use #_SEATS{1} to check (and show a template), the second condition for #_SEATS{2} (and show maybe the same template) etc …
Edit: small thing: if you check the option “Dynamic data check on every field”, maybe your #_SEATS will work (I’d need to check the code, but easy enough for you to test 🙂 )
Thu 3 Jun 2021 at 23:54 in reply to: cosmetics: Approving takes 4 clicks => Approve-Button for each Attendee? #62650FrankyKeymasterWell, for subsequent approvals, it is only 2 clicks (the dropdown select “approve all” stays) 🙂
The thing is that I can’t foresee extra buttons per line for each action (too much possibilities). But I’ll keep this in mind for maybe some actions …FrankyKeymasterI use something like this as a template:
<hr><table> <tr><td>Naam:</td><td>#_FIELD{name child}</td></tr> <tr><td>info2:</td><td>#_FIELD{birthdate child}</td></tr> </table>
and in the dynamic conditions I set as condition “#_SEATS” “greater than” “1” and “repeat”.
In your form you then need #_DYNAMICDATA to decide where the template is rendered and that should do it.FrankyKeymasterConfirmed, this should fix it (oneliner, bug was introduced in 2.1.117 in fact, not in 2.2.0)
https://plugins.trac.wordpress.org/changeset/2542002/FrankyKeymasterWell, the scope param states for “all events starting later than YYYY-MM-DD”. So one could argue if the time should be checked 🙂 But I believe that due to a new change of mine (where the time is taken into account more) this now results in “later than the beginning of YYYY-MM-DD” and that is not the intention. So this small one-line fix should help (I add the end-of-day time to the check):
Thu 3 Jun 2021 at 10:10 in reply to: Contact, Author, People, Member, WP User: Which is an Event organizer? #62638FrankyKeymasterWell, you make a nice donation and I’ll see what I can do on my end 🙂
Thu 3 Jun 2021 at 10:08 in reply to: Error: Call to undefined function eme_format_recipient_name() #62637FrankyKeymasterSorry, I renamed that function but didn’t realize I used it in an example. Replace that by eme_format_full_name() and it should be ok (in the latest update). I forgot to add an “old” function call for backwards compatibility there ///
Wed 2 Jun 2021 at 23:38 in reply to: Contact, Author, People, Member, WP User: Which is an Event organizer? #62633FrankyKeymasterYou can use custom fields with purpose “event” for extra event info if you’d like (those will appear in the tab “custom fields” when creating an event). For an image either use the event image setting, anything from the wordpress media gallery or create a custom field with purpose “event” and type “file” (so you can upload an image there) and then use #_FIELD{xxx} to get the url to that uploaded file.
Wed 2 Jun 2021 at 23:14 in reply to: Contact, Author, People, Member, WP User: Which is an Event organizer? #62631FrankyKeymasterPlaceholders for events are described here:
https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-2-events/It doesn’t make sense to just use #_PERSONID and such (which person would it refer to?). See that doc page for #_CONTACTNAME and #_AUTHORNAME and others.
Wed 2 Jun 2021 at 23:03 in reply to: Contact, Author, People, Member, WP User: Which is an Event organizer? #62629FrankyKeymasterThe event author is the WP user who created the event. The event contact person is well … the contact person for the event. Both users have placeholders so you can show their info to people (but mostly the contact person is the one you’ll use).
Both the contact person and the author have the rights to edit the event.
EME People are all the persons that signed up for events or memberships, or just other people you want to define in EME (I use EME to have groups of volunteers, a board, … with each custom fields showing when a person is in that group).
EME members are people that are currently in an EME defined membership.
Linking an EME person to a WP user is useful if you want to check that a logged in person is in a specific EME group, or membership, …
See the doc on all placeholders for people etc …FrankyKeymasterCurrently there is no such placeholder. A feature request it is 🙂
FrankyKeymasterIf they had an API, you could call that when creating an event (via the EME hooks). But it is always a pain in the ass in keeping social media stuff in sync with own calendar things (and if you want to post to different accounts on FB itself – depending on the author – it is even more complicated).
FrankyKeymasterIt would be another thing if they provided an API of some sort. EME fully follows wordpress guidelines btw but like it is stated in the doc: “events are not posts”. I tried to start on that once, but it would require such a huge amount of work with no return on investment at all for me. And keeping in mind that I keep the plugin totally free, I just can’t get myself to begin working on it. If any other dev guy would step up for that part: great 🙂
FrankyKeymasterUse the template_id_no_events option for the shortcode eme_events to change that message (or make it empty by either assigning an empty template or in the general eme settings).
FrankyKeymasterI’m guessing they mean if you use posts (custom post types). EME does not, and I can’t dedicate my time to rewrite all the code for that. So that will not happen.
FrankyKeymasterThere’s a hook in EME that allows you to change the rsvp form before it is shown. It is technical of course, but currently there’s no other method than that one.
FrankyKeymasterThat columns was already present in the list of bookings, but not for events. Added in dev.
FrankyKeymasterI used to maintain a plugin that creates a fb event, but I stopped because fb kept changing their api and requirements (together with pooly documentation). However, any social sharing plugin should work (for example “AddToAny Share Buttons”).
FrankyKeymasterOk, *now* I got it 🙂
There was indeed a weird section of code doing what you described, and this should fix it:
https://plugins.trac.wordpress.org/changeset/2539718/
(and that should work on your version of EME too)Edit: also the next version will return an error if the update fails for setting the wp id, and also exclude existing linked wp accounts from the possible list of users you can link with.
FrankyKeymasterin EME, when creating/editing a person, you can link that person to a WP account. If you don’t do that, how can EME know which person you want linked to a WP account. EME *always* requires the lastname and email (and I do mean always), and under certain conditions it knows which EME person to link to which WP account, but to be sure you need to make the link yourself.
Concerning the dev version: I suggest you wait until the next released version (which is recommended if you don’t know php). If you do want to do it, download it at the bottom of this page: https://wordpress.org/plugins/events-made-easy/advanced/FrankyKeymasterHumm … true … the changes I gave are indeed based on new code. For the old version that would not be working:
$event['event_start']
doesn’t exist and should be replaced with$event['event_start_date']." ".$event['event_start_time']
Concerning the group: once a person is linked to a WP account, that info (lastname, firstname, email) is copied over from the wp profile to eme. But of course you need to be logged in in WP and use that info (matching lastname/firstname/email) when you make a booking, so EME recognizes that (and in fact it should even recognize your logged in wp id). If not logged in, EME tries to find the combo lastname/firstname/email that matches at the moment of booking.
Best would be to download the dev version and go from there 🙂FrankyKeymasterWith the code I meant the php code you changed. Concerning EME: you can add an extra column in the overview of persons to see their linked wp account.
If in doubt, send me an admin account to check (together with the person you want to link etc …)Fri 28 May 2021 at 23:17 in reply to: Show all bookings of an event series (recurring event of approx. 200 ocurrences) #62601FrankyKeymasterIf you have ul-tags, that means you haven’t correctly defined the shortcode to use your header template. Can you post the use of your shortcode and your header/footer/content templates?
FrankyKeymasterMaybe your WP account is already linked to another user, because EME refuses to link again then (but doesn’t say so in the updated message).
Concerning your code changes: I tested my changes here and the outcome is as expected … copy/paste your current lines for #_NIGHTS_TILL_START here.FrankyKeymaster#_IS_REGISTERED doesn’t take an argument, it always takes the current event id
FrankyKeymasterOk, NIGHTS_TILL_START/END are fixed with this:
https://plugins.trac.wordpress.org/changeset/2539048/events-made-easy/trunkFor your admin-test: did you link your EME person to your wp account? Here your code works fine for that test
FrankyKeymasterGood to hear! Does that mean the new placeholders work as intended too?
FrankyKeymasterIf you use the trac-link I gave, you need to apply the changes manually in it. Downloading the zip-archive and replacing a full file is in fact replacing your file with the one from development (which contains a lot more changes).
I you don’t feel up to finding the matching rows (numbers will be different because a lot more changed in that file in other changes), then you need to wait until the next release.FrankyKeymasterI guess you dit not correctly apply the changeset then 🙂
FrankyKeymasterSee if this helps:
https://plugins.trac.wordpress.org/changeset/2538658/FrankyKeymasterTry #_STARTDATE{Y-m-d} (“j” is incorrect: it formats the day without leading zero, so it doesn’t obey the YYYY-MM-DD format)
FrankyKeymasterIf the index is 0, it is not a dynamic field (or should not be, except if I made an error) but just custom fields. And those can be imported at the same time as the member is imported then.
Btw: the next version will also have birthdate and birthplace as basic personal info 🙂FrankyKeymasterJust use #_DATETIMEDIFF_TILL_START (without formatting) to show years, months, days, hours, minutes …
FrankyKeymasterThat’s why I added #_DATETIMEDIFF_TILL_START (which will give more complete info).
FrankyKeymasterSorry, currently not on my todo-list. I’m already working hard to implement event tasks for volunteer signup, and changed a lot in memberships under the hood. The next version is already much more than what I anticipated …
FrankyKeymasterYes indeed. Custom fields allow more options (dropdown, …) and allow to be shown in the event list. But attributes are still there and can be used if wanted.
FrankyKeymasterAttributes: no (those are “the old way” of doing things). Custom fields of type event: yes (the “new way” of doing things)
FrankyKeymasterWhat are you entering as price value? Something with a comma in it won’t work …
Fri 21 May 2021 at 23:12 in reply to: Show all bookings of an event series (recurring event of approx. 200 ocurrences) #62561FrankyKeymasterThat means you have html errors in your template, causing this part to show up as interpreted by your browser. Don’t forget that with the template (in [eme_bookings] )also comes a template header and footer (per booking list, meaning per event). So if you want a table, put the html table-opening tag in the header template and the closing tag in the footer template. The default header template is the ul-opening tag you see an the default footer template the ul-closing tag.
Fri 21 May 2021 at 13:28 in reply to: Show all bookings of an event series (recurring event of approx. 200 ocurrences) #62559FrankyKeymasterWith what EME currently has as possibilities, the best would be:
– assign a category to your series of events (edit the recurrence for that)
– show that category with [eme_events] with the catogory_id option, and also with the template_id option (using a template that – per event – shows the bookings; that template can contain for example “[eme_bookings id=#_EVENTID]“)FrankyKeymasterSee the “email management” submenu, tab “event related emails’. If you have queuing activated, you can chose the dates on which you want to send specific mails.
Setting this when defining an event is not yet possible, feel free to donate for the feature.Mon 17 May 2021 at 12:53 in reply to: .. make it possible, that a member sees his/her booking status? #62554FrankyKeymasterNo, that will be up to you. It is a conditional placeholder, to be used together with [eme_if], see https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-1-conditional-tags/
Mon 17 May 2021 at 12:41 in reply to: .. make it possible, that a member sees his/her booking status? #62552FrankyKeymaster1 if approved, 0 if not
Mon 17 May 2021 at 11:48 in reply to: .. make it possible, that a member sees his/her booking status? #62550FrankyKeymasterThe next version will have an extra conditional placeholder you can use: #_IS_APPROVED
For now, you can already check #_BOOKINGFIELD{booking_approved}Sat 15 May 2021 at 14:20 in reply to: non-site mail adresses do not receive confirmation mails of an event #62548FrankyKeymasterWell, that’s weird … wordpress wp_mail should work if it works everywhere else, but maybe your configured “from” address was giving you problems then. I’m curious about why …
Fri 14 May 2021 at 13:55 in reply to: non-site mail adresses do not receive confirmation mails of an event #62545FrankyKeymasterI’m guessing your mailserver is blocking you from sending to other domains. Based on your explanation: make sure to use authenticated smtp, or if WordPress mails arrive at external mail boxes: check how they configured it on ohp level or use “wp mail” as sending method.
Although the first thing that you should do is to check your mail config and the mailserver log filesFrankyKeymasterOnce the next version is released (that depends on how much I want to add to it before releasing it).
FrankyKeymasterSee this changeset in the development version:
https://plugins.trac.wordpress.org/changeset/2529681/FrankyKeymasterWell, my answer is the answer you’re looking for too. CSS works based on classes and ids in the generated html for the form. So you need to open up your browser debugger to look at the source to find the ids and classes I use (and each browser has a css-editor too, to test out your changes).
FrankyKeymasterFrom the doc at https://www.e-dynamics.be/wordpress/category/documentation/9-changing-the-layout-css/
“CSS is something you should learn to master, using a CSS-debugger like Firebug also helps (in firefox). Learn CSS here . Before asking support on CSS, please do try it yourself and/or ask the theme maker for hints, they are the CSS experts and know best how their theme is working and can provide hints on how to change things.”
FrankyKeymasterTested it here: works fine. Did you check your server logs?
FrankyKeymasterI see such a page: https://artetcetera.nl/activiteiten/p/c1d08f62578352f7d1cd62679115ca918ac8041e211f42/
(please do delete my booking later) and all seems ok. Now I do not have an ipad to test, but if it is a problem on some devices you need to indeed re-evaluate your CSS for those devices (unfortunately my CSS knowledge is limited and testing on all possible devices is outside EME support). EME allows total freedom and follows your theme’s CSS to the letter.Sun 2 May 2021 at 13:59 in reply to: How do I turn off Payment Gateway and Member Paid notification emails? #62524FrankyKeymasterGo in the membership settings, tab “Mail formats” and in “Membership paid email” and “Contactperson payment notification email” use empty settings for the mails you don’t want to receive.
FrankyKeymasterConfirmed as a bug.
This should fix it (you use $lastname and $firstname which are undefined variables):
eme_invite_url($event,$person['email'],$person['lastname'],$person['firstname'],$lang);
FrankyKeymasterBug confirmed (the case was when a person in EME was part of a group but did also have a name/firstname in EME, then the search didn’t match because I first search for empty name and only matching email)
This fixes it:
https://plugins.trac.wordpress.org/changeset/2524289/FrankyKeymasterHi,
well, testing a page that says the mail is sent and no actual mail being sent is quite impossible 🙂
But:
– what are your settings concerning mail queuing and mail sending method?Feel free to send me a temp admin account so I can take a look too
FrankyKeymasterHi, this is indeed the case if the event is not set to auto-approve a booking.
This will correct it:
https://plugins.trac.wordpress.org/changeset/2523764As a small workaround you could use the action “Resend the mail for approved booking”
FrankyKeymasterThanks for the coffee and cookies. Make sure to test the #_TOTALPRICE_NO_VAT and #_TOTALPRICE_VAT_ONLY placeholders too then, to see if I didn’t mess up there too (it is still dev, so I haven’t fully tested it but there is no issue whatsoever since this changes nothing in the db at all).
FrankyKeymasterGreat! Don’t forget: #_EVENTPRICE_NO_VAT and #_EVENTPRICE_VAT_ONLY are informational prices for an event. If someone subscribes, you should use #_TOTALPRICE_NO_VAT, #_TOTALPRICE_VAT_ONLY and #_TOTALPRICE (which are made based on the number of seats booked, discounts etc …).
And if it is making you happy: make me happy too and buy me some virtual coffee 🙂
FrankyKeymasterError corrected in dev (I forgot that the entered number was a percentage and mixed up some calculations for event price without vat and just the vat).
Download the latest dev and try again.FrankyKeymasterOk, I’ll try this here too, with those numbers
FrankyKeymasterYou can use [eme_location] with the id of your choide inside an event format, and using a template_id of choice you can get the layout to be whatever you want.
FrankyKeymasterEME creates pdf files based on html templates, not pdf templates. It is also a special library that converts html to pdf, so e.g. even a page break is done in a specific way. Meaning word/adobe/… can’t be used to create your template (next to the fact that replacing strings in a pdf is not that simple as one might think, it the replaced string is not the exact same size it could break the pdf or the layout totally).
So this is not going to happen any time soon, unless someone else codes this up.FrankyKeymasterFor the duration placeholder, see this in the development version changelog:
* Added placeholder #_DATETIMEDIFF_START_END{xx}, to indicate the date/time diffeence between start and end, with xx being a php date interval format (see https://www.php.net/manual/en/dateinterval.format.php )
So that will be in the next version. For the destination, I suggest to take a look at [eme_location] . It might not be totally what you want, but it’s the next best thing.
FrankyKeymasterDoes this mean the VAT testing is working out ok for you?
FrankyKeymasterEME doesn’t change your settings during an update, not even in the dev version. I’m constantly running the dev-versison over older versions and never encountered this.
But it seems your mail settings are just not correct or complete. What is your configured mail sending method? And did you activate mail queuing? Is your wp cron working correctly?
Did you try sending a test email?
Going back to the old version is no issue at all, no database changes were made.FrankyKeymasterYou can download any version at the bottom of this page:
https://wordpress.org/plugins/events-made-easy/advanced/FrankyKeymasterYou could already try out the dev version if you’d like.
FrankyKeymasterFrom the changelog for the next version:
* Added the option to define a VAT percentage globally or per event or membership. Also added placeholders for events, bookings, memberships and members: #_EVENTPRICE_NO_VAT (or #_PRICE_NO_VAT), #_EVENTPRICE_VAT_ONLY (or #_PRICE_VAT_ONLY), #_VAT_PCT #_TOTALPRICE_NO_VAT, #_TOTALPRICE_VAT_ONLY, #_BOOKINGPRICEPERSEAT_NO_VAT, #_BOOKINGPRICEPERSEAT_VAT_ONLY, #_BOOKINGPRICEPERSEAT_NO_VAT{xx}, #_BOOKINGPRICEPERSEAT_VAT_ONLY{xx} #_MEMBERSHIPPRICE_NO_VAT, #_MEMBERSHIPPRICE_VAT_ONLY, #_MEMBERSHIPPRICE_VAT_PCT #_MEMBERPRICE_NO_VAT, #_MEMBERPRICE_VAT_ONLY
FrankyKeymasterCurrently this is a problem: EME doesn’t provide a VAT field yet, but I do understand the issue here. I’ll try to come up with something (because it includes changing the price calculation, extra option, providing placeholders to show the price without TVA and the TVA percentage)
FrankyKeymasterI understand the management example (more than you know 🙂 ), but you know that you can add people to an event in the EME backend, yes? It is not a complete replacement to the asked functionality to be able to add a group, but it is the next best thing for now …
FrankyKeymasterIf you use “wp mail” as mail method in EME (the default for new installations), all wordpress plugins interacting with WP mail will take effect and do their stuff. So it depends on your mail sending method configured in EME.
FrankyKeymasterSee https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-5-search-form/ , search for month and change your filter form template accordingly 🙂
FrankyKeymasterYou can’t. EME requires that field in many places.
FrankyKeymasterI’m sorry, but in fact CSS questions like that are outside the scope of EME (EME obeys any and all CSS styling of your theme). In this case it is a table (and it is done by your elementor theme), so override the table-style with your own. I’d suggest to learn to use a CSS debugger (like in firefox or chrome), that will help you a lot.
Sun 11 Apr 2021 at 23:06 in reply to: Calculate number of bookings with custom field equal to a certain value #62467FrankyKeymasterIf the fields you defined are not RSVP-fields but person-fields, then they will be related to the person and not the booking. In that case, you can get the person id out of the $booking array and get all person-related custom fields like this:
$answers = eme_get_person_answers($booking['person_id']);
Sun 11 Apr 2021 at 14:31 in reply to: Calculate number of bookings with custom field equal to a certain value #62463FrankyKeymasterYou need to call “eme_get_booking_answers($booking_id)” per booking id.
FrankyKeymasterYou have this in https://www.persoonlijkvaardiger.nl/wp-content/uploads/elementor/css/post-7.css :
.elementor-kit-7 a { color:#FFFFFF; text-decoration:underline; }
The color causes your white text.
FrankyKeymasterYour site loads a javascript that causes javascript errors:
https://www.csga.cz/core-wp-csga/wp-content/plugins/nextgen-scrollgallery/scrollGallery/js/mootools-core-1.3.2-full-compat.jsEither remove that javascript or that plugin. I just tried loading the page without that js file and then the map shows up fine.
FrankyKeymasterFrankyKeymasterBtw: the bug “only happened” if you were behind in your versions (still on 2.1.112 or older). If you were on 2.113 (released 12 March) or newer, it would’ve been ok.
But I admit: it was an error of mine.FrankyKeymasterI’ve found a typo during upgrades that might cause this (and in fact it should do this for everyone, so it is weird I haven’t gotten more reports and not all seem to have the issue).
Edit: I’m releasing an update, but make sure to check all your settings, events, locations, …FrankyKeymasterAlso the code has been updated to allow refunding via Stripe too. Maybe the description can use the booking id as extra, but that’s for later.
FrankyKeymasterI’ve found the stripe issue with the payment description, I’ll update that for the next version too 🙂
FrankyKeymasterIt seems indeed that stripe no longer takes the description (code for stripe hasn’t changed in EME), while in the session details you see the description being passed. Probably I should switch to the stripe charge API and not their checkout API for this to work again. But next to that: you can always check your webserver logfiles to verify stripe “phoned home” with the notification url.
FrankyKeymasterYou don’t need to specify the hook in stripe, EME adds it when saving your stripe options (and it needs to be done by EME because the webhook “secret” is needed later on to verify the notification actually came from Stripe). It is just added as a reference and also so you can check your webserver logs if the hook is being called by Stripe.
In my tests this worked fine, did you test using a payment? Or another method?FrankyKeymasterSeems to me like you have wp cron issues. Feel free to create a temp admin account and also install a plugin like WP cron manager or so.
FrankyKeymasteryes, you can. Only the name is important, the description can then be changed via the webinterface, but while you’re at it you can of course directly change it in the db.
FrankyKeymasterCarl, I merged this with your other question. Please read my reply.
FrankyKeymasterIndeed it is …. if you can demonstrate it on a test site, I’m curious
FrankyKeymasterSeems something happened in your db, EME doesn’t touch the names on update. Did you check the database table itself? Is the name still present there? If not, you need to figure out what went wrong … and correct that info in the db again.
Or is the name/description column just hidden? I’ll foresee a fallback if the name is empty in the next version …FrankyKeymasterThe dev is not needed, just the latest released version (was released some days ago).
FrankyKeymasterWeird … on some of my sites I have ngg too and no issue with EME. Based on what I read on their forum there might be a php warning in their code, causing issues.
Of course I use their gallery on a separate page, not on an event page …FrankyKeymasterAll my sites have automatic updates enabled, and that shouldn’t pose any problem at all.
Maybe monitor the cron tasks and next time it goes to “unscheduled” check if any eme-related cron tasks still exist.FrankyKeymasterYou already have that with pending bookings + optional cancel link in the mail + automatic removal of pending bookings after a certain time.
FrankyKeymasterI’ve updated the code a bit (not that it would explain your problem), but if it continues to happen: try updating to the dev version.
FrankyKeymasterIf EME gets deactivated/reactivated then this setting is also gone (next to other EME related schedules). The next version will fix that, but if that’ not the reason for you, then you need to go through your logs and try to find something. Maybe some plugin is deactivating EME temporary or so …?
FrankyKeymasterIf EME gets disabled, then that setting goes to “unplanned” on the next reactivation. Can that be somehow the case? I’m pretty much in the dark here too, there is just no explanation for this (nor do I see this on any of the sites I manage).
FrankyKeymasterBtw: you can install a plugin like “Advanced Cron Manager” or any cron plugin from WP to verify the current planned actions. You should see some entries starting with “eme_” in there.
FrankyKeymasterYour problems seems unrelated to the other thread, so I’ve split this.
First: approving queued mails is not possible in EME (there is no such functionality), but you can approve pending bookings (I’m guessing you mean that) and that can cause mails to be sent of course.
If you plan a mailing from in the Email management menu, can you try to reproduce the problem? Maybe with specific settings or choices you make? So I can try to reproduce it here then. Also, once you plan an email, go to the “mailings” menu to check the status and number of receivers and such.FrankyKeymasterDo you have any other plugins that might interact with scheduled actions? But more: if you haven’t changed anything, it is just impossible the setting gets reset …
To be sure: are you on the last version of both EME and WP?FrankyKeymasterok, next time try to pinpoint the exact setting (maybe it isn’t the schedule itself, but another setting)
FrankyKeymasterWell, I only clear the scheduled “eme_cron_send_queued” setting when either uninstalling the plugin or just before updating that setting (to be sure I don’t execute it multiple times).
You can verify the code (search for “wp_clear_scheduled_hook” and “eme_cron_send_queued”) if you’d like (I’m always open to code improvements too …).FrankyKeymaster“this sending setting is lost regularly and the mails are stored without being sent” ???
What do you mean exactly? I’ve been using sites with queueing all the time and never lost the queueing setting at all. EME never resets options either, only if the plugin is completely reinstalled. Is there a way to describe exactly what is happening? Reproducable?FrankyKeymasterEME can handle discounts too, so that can be handled. My comment about paying separately was wrong (the payment is done in one go, the booking mails are just sent out per booking).
So using that, you can create discounts (in your case a multibooking discount where you check via own coding if certain criteria is met). The discounts are in fact applied per event/booking, but in own coding you can check the POST from the complete form, check whatever you want and then apply e.g. a discount of 20% to all the bookings done.
See https://www.e-dynamics.be/wordpress/category/documentation/17-discounts/ and https://www.e-dynamics.be/wordpress/category/documentation/12-hooks-and-filters/FrankyKeymasterI’m not really sure that I understand your question here … EME has the [eme_add_multibooking_form] to combine multiple events in one form (but they’ll need to pay for each separately).
No other methods exist currently.FrankyKeymasterRecurring payments require to store a customer id (from Mollie in your case) and a subscription id. Currently this method requires a lot more testing and reading, so this is postponed …
Wed 17 Mar 2021 at 10:14 in reply to: Book weekly Courses with upward counting and fixed places #62382FrankyKeymasterThen yes: EME has e.g. the event placeholders #_AVAILABLESEATS and #_BOOKEDSEATS for that. See https://www.e-dynamics.be/wordpress/documentation/ . You can also use a conditional shortcode eme_if to check the number of free spaces and e.g. show “last seats available” in red if the number of free seats is less than 3 (just an example).
Tue 16 Mar 2021 at 16:48 in reply to: Book weekly Courses with upward counting and fixed places #62380FrankyKeymasterUpwards counting? Do mean the number of seats per event? And how to display the number of available seats?
Tue 16 Mar 2021 at 12:49 in reply to: Book weekly Courses with upward counting and fixed places #62378FrankyKeymasterYes
FrankyKeymasterical is for the cal feed, but EME has no internal reminders on events so there’s nothing in the ical feed for that too. You can configure your own reminders in your tool where you do the import of course.
FrankyKeymasterAnd also this extra is needed: https://plugins.trac.wordpress.org/changeset/2496179
FrankyKeymasterYes, I try to automatically add #_RECAPTCHA if not present in your forms, but made an error in the code for eme_subform, eme_unsubform and another shortcode (I added the placeholders *after* I already parsed the format to find all placeholders in it, so it didn’t replace it of course).
This fixes it:
https://plugins.trac.wordpress.org/changeset/2496173/(or quick workaround: use #_RECAPTCHA manually in your format for those placeholders)
FrankyKeymasterIf it got paid but not marked paid, it probably means that the person who paid closed the paypal payment page before returning to your site. Paypal is lacking in that regard with their php sdk …
I recommend that you switch to the “paypal legacy” method for payments, that supports notifications from paypal. I’ll try to add some code to verify outstanding paypal payments once every 5 minutes tooSat 13 Mar 2021 at 13:05 in reply to: eme_if tag in mail-subject doesn’t seem to work anymore #62366FrankyKeymasterI tried it with your example for pending bookings and the waiting list: works just fine, the eme_if shortcode gets replaced as expected …
FrankyKeymasterNo, EME doesn’t provide that option. You can automatically send reminders for members that are about to expire and include a payment link.
Maybe in a future version …FrankyKeymasterThat is because your scope is incorrectly formatted (take a look at the generated html code without your modifications). I added some more info on the page https://www.e-dynamics.be/wordpress/hooks-and-filters/ , with an example for adding years.
FrankyKeymasterCurrently not possible via the interface, but you can use the filter eme_year_scope_filter to change the scope array being used.
FrankyKeymasterDifferent times is an almost impossible thing to do (not even MS exchange/outlook allows you to do that), I would need to figure out how to even be able to enter that in the interface …
For now, I’d suggest to work with linked events, where each event stands on its own and the “linked” part is in the RSVP settings where in fact the linked event is taken for all rsvp actions.
Another method is working with categories maybe …FrankyKeymasterWhich payment gateway did you use? And is it test (sandbox) or production? Also: on a public server or internally?
The fact that you use multiprice/multiseat is not relevant for payments, so that’s not an issue.FrankyKeymasterCreate your google captcha v2 tickbox keys in google, add those in the EME settings and use #_RECAPTCHA in your forms.
The next version will add #_RECAPTCHA automatically if not present in your form where needed, so you can always download the dev version too …FrankyKeymasterEME uses wp_dropdown_users there (see https://developer.wordpress.org/reference/functions/wp_dropdown_users/ ), with as “name” argument the value “event_author”.
This also means you can use the standard wordpress filter wp_dropdown_users_args to limit this list (using the check that name=event_author to be sure that it is about this specific list).FrankyKeymasterFor address info in your mail, see #_ADDRESS1, #_ADDRESS2, #_CITY, #_ZIP etc … as you use in your forms.
For your custom fields: either use #_FIELDS (that will return a table with all entered info), or #_FIELD{xxx} (with xxx being the name of your custom field, as in your rsvp form).FrankyKeymasterOw, sorry yes, it should’ve been indeed #_EVENTCATEGORYIDS. Glad it works.
FrankyKeymasterThis functionality will be in the next version.
FrankyKeymasterThis functionality will be in the next version.
FrankyKeymasterI’m going to close this, since no code got posted unfortunately.
FrankyKeymasterThe eme_filter shortcode can be used together with eme_locations and thus allow a filter on e.g. city.
FrankyKeymasterImport is possible for quite some time, and export also via the table tools. So I’m closing this.
-
AuthorPosts