Forum Replies Created
-
AuthorPosts
-
FrankyKeymaster
indeed, currently #_IS_USER_IN_GROUP doesn’t take dynamic groups into account. This should fix that (untested, so please do test and give feedback):
https://plugins.trac.wordpress.org/changeset/2770109/FrankyKeymasterPlease read the doc: https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-6-registration-form-fields/
#_OFFER doesn’t exist, for your custom field it should be #_FIELD{OFFER}FrankyKeymasterA field of type “event” allows you to add custom fields/input info to your events, but not bookings. The custom field needs to be of type “RSVP”. After that, make sure to use the custom field in your RSVP form too.
FrankyKeymasterThe discount will not help you here. If you want “days” as a field, make it a dropdown field and check the field option “extra charg”. Then for the dropdown values, you can use “0||10||20” and for the dropdown tags “1 day||2 days||3 days”. The “1 day” tag then corresponds with “0” extra price. The dynamic price will then change on what you choose.
However, EME won’t take these extra days into account for your room availability, so be aware.FrankyKeymasterThe #_DISCOUNT field can’t be a dynamic field. However you can create a discount of type “code” and add there any logic of your own, the documentation provides some examples.
Wed 10 Aug 2022 at 22:21 in reply to: … change texts an rerquired fields option in registration form? #64518FrankyKeymasterAn event can only take place at one location. A garage sale (that happens at multiple places) should be considered as a group of locations. So my advise here: create all the locations with a specific category, and when needed show the locations using [eme_locations_map] and use the category option to limit to your garage sale locations.
Mon 8 Aug 2022 at 16:07 in reply to: How can I make EME act as only one instance across my entire multisite? #64516FrankyKeymasterHope you like it. It is very simplistic (and you need to run EME on the main site too), but should suffice for Multilingual Multisite. Currently all mails (if queued) are sent via the “main” site, so best disable queueing for now so you can have the correct mails (in your language of choice) per subsite too. EME has also own language tags, those can help too in creating multilingual templates.
FrankyKeymasterThis should fix it:
https://plugins.trac.wordpress.org/changeset/2767762/FrankyKeymasterA follow-up question: how do you set the language of your zh-subsite? Is it set to Chine in the frontend? Because I see that the RSVP form shows ‘Last name’ as placeholder, while that placeholder is being translated based on your current language. So if ‘Last name’ is shown, it means wordpress thinks the frontend language is English (or unknown).
And a third thing: you might want to check the latest EME option “Multisite data-sharing” if you use multisites
Sun 7 Aug 2022 at 19:56 in reply to: How can I make EME act as only one instance across my entire multisite? #64510FrankyKeymasterI just released a version that now supports this.
FrankyKeymasterSome things in EME are options, set during installation based on the available languages. Go in the EME settings, tab RSVP to change those (and best: go through all the settings to find/replace any English text if need be).
Sat 6 Aug 2022 at 11:05 in reply to: How can I make EME act as only one instance across my entire multisite? #64507FrankyKeymasterI took a good look at the possibilities, and I changed the code around in a way that this is now possible. The next version will have 1 option (in the “Other” section) for this. From the explanation of that option:
If selected and multisite is active, this EME instance will use the database tables of the main multisite instance. This will affect all events, locations, bookings, memberships, templates etc … the only thing that will remain local are all the EME options, allowing you to make language subsites or other things.
Before I release this, I need to figure out the automatic actions though … currently only those of the main site will be executed, meaning your reminder settings there will need to use the EME language tags (if you use reminders or other planned actions).
Fri 5 Aug 2022 at 18:11 in reply to: Can’t sort on multiple fields if first field is a custom field #64506FrankyKeymasterThis should now work, see this changeset:
https://plugins.trac.wordpress.org/changeset/2766933/Fri 5 Aug 2022 at 13:35 in reply to: How can I make EME act as only one instance across my entire multisite? #64505FrankyKeymasterIt is indeed possible to use the global table in case of multisite, and EME can very well do that if I were to add an option for that and change the code for table prefixes and such. Quite some work would be needed, so unless someone sponsors me on that, it will go on the pile of feature requests and might happen 🙂
Fri 5 Aug 2022 at 11:03 in reply to: #ALLEVENTS and #_NEXTEVENTS sorting order and: category parameter in shortcode #64502FrankyKeymasterIndeed, #_ALLEVENTS/#_NEXTEVENTS don’t look at the categories for the location (also because location categories and event categories don’t necessarily need to be the same). So eme_if is the correct course of action there.
Fri 5 Aug 2022 at 09:18 in reply to: #ALLEVENTS and #_NEXTEVENTS sorting order and: category parameter in shortcode #64500FrankyKeymasterThis should fix it:
https://plugins.trac.wordpress.org/changeset/2766753/Fri 5 Aug 2022 at 09:13 in reply to: How can I make EME act as only one instance across my entire multisite? #64499FrankyKeymasterSorry, but that’s not possible. The content of each multisite stands on its own, so also in EME this is the case.
FrankyKeymasterI’m guessing the shortcode is not being interpreted then, if you see the actual shortcode text. Did you verify your page using text-edit (not html)?
FrankyKeymasterI’m unsure about your question: what is not working? What do you mean with “simply output” ?
Thu 4 Aug 2022 at 09:53 in reply to: Can’t sort on multiple fields if first field is a custom field #64489FrankyKeymasterI’m pretty sure it doesn’t order on custom fields, as I don’t take that into account. Ordering currently only works for regular db fields in the “order” option.
FrankyKeymasterThis is not possible due to several possible issues:
– what if the event is already full
– what if they already paid for 3 seats and then change to 4
– what if a discount based on number of seats was applied, or early bird discounts
– probably othersSo no: bookings can’t be changed by the booker once made
FrankyKeymasterCan you show a screenshot of the recurrence definition?
FrankyKeymasterWhat’s the single event duration in your recurrence definition? The setting “Event duration (in days)” should indicate the duration for a single event, not the complete recurrence.
FrankyKeymasterWell, for a usage-based membership extra coding is required: a counter per member, keeping track of the member-qrcode scan count, the ability to change that counter, the combo of counter+timebased memberships, a check for when the count has exceeded the limit of the membership, …
Feel free to sponsor me a bit in that 🙂FrankyKeymasterThe memberships are all time-based, not usage-based.
Maybe in your case you should sell an event with 20 spaces as min/max per seats to book. Then use the rsvp-qrcode to count the number of times the code has been scanned (if logged in with sufficient rights).FrankyKeymasterThe frontend form is also protected by a nonce. If you have a caching plugin, that can interfere with the validity (lifetime) of the nonce, so exclude that page from your cache or set your cache time much shorter than the nonce lifetime (which is 12 hours by default).
Or, even better: don’t use a caching plugin (I never understood how a caching plugin could cache dynamic pages …), see also: https://legacy.joshpress.net/wordpress-nonces-and-wordpress-caching/FrankyKeymasterGlad you got it to work. Feel free to post a template in the how-to section (and I always appreciate a donation for some coffee and a good wp review 😉 )
FrankyKeymasterbtw, using 1 eme_events call instead of 4 will speed up page load. Also, if you want to add different class elements depending on the number of the event in the list, you can use #_EVENT_COUNTER to test for that (using [eme_if]).
FrankyKeymasterI meant coding on my end, but I’m curious about your solution here 🙂
FrankyKeymasterWell, if using several instances of eme_events, those instances don’t know about each other which is what I think you have going on here. What is the shortcode+options for the event of 5 August and compare it to the one for 29 July (so the second and fourth div).
But maybe the offset together with show_recurrent_events_once is not doing what you expect here: the offset is used *before* the show_recurrent_events_once is being evaluated (to get the list of events from that offset onwards using sql, it is in fact also used for paging).
Maybe, in your use-case, it would not be an offset, but just the possibility to show 1 specific event from the resulting list of events. Which in fact would call for a better name for that option and other coding …FrankyKeymasterSince I got no reply and can’t reproduce it: moving to “generic”.
FrankyKeymasterWhen I look at the bottom of that page, I see 4 events rendered (of course unsure if EME is doing the rendering, but let’s assume so). The events are rendered with specific div’s, and all 4 have different classes (feature-cal-col2, feature-cal-col3 and feature-cal-col4 for the second, third and fourth div), so it is not EME doing that unless you configured 4 event lists or so. So: how do you do that rendering?
FrankyKeymasterI just copy/paste your example and it works as expected in the booking recorded message …
FrankyKeymasterOk, that ‘EME Access Check’ is only used if you’re logged in. If not, EME can’t possibly know who’s looking at the page …
FrankyKeymasterI have no idea what that “EME Access Check” page is 🙂 If it is something you created, it depends on the shortcode used.
But: attendances are only stored if someone with enough rights scans the relevant qr code (or in fact goes to the url behind the qr code).
Adding extra attendances is possible, however not “per event”. In the backend you have “attendance reports” where you can also add an attendance (name only, optionally add the date/time if not the current time).
For virtual events there’s no magic solution … you need to use your video conf tool to check and save the attendance info. In theory it would be possible to create a local page on a site and check the date/time etc … before going to the actual virtual event url, but even that is never a guarantee on actual attendance (and while this is just a solution I came up with, I have never seen that on other sites so far).FrankyKeymasterI don’t see any translations on https://translate.wordpress.org/projects/wp-plugins/events-made-easy/ for Chinese. Did you already contribute your translations?
See https://make.wordpress.org/polyglots/handbook/translating/after-your-contribution/FrankyKeymasterThe next version will allow to show the ID (will be a default hidden column). This is the changeset on that:
https://plugins.trac.wordpress.org/changeset/2757996/For now, when editing a group, the id is shown in the url too.
FrankyKeymasterIndeed, the whole string is considered as the name of 1 discount and in fact won’t work. I forgot to convert the discount groupnames to ids when importing (used to be accepted, but when I started allowing multiple groups for a discount, this was changed to just ids).
This change should fix it:
https://plugins.trac.wordpress.org/changeset/2757962/
but the quickest/best would be to use the discount group ids.FrankyKeymaster1) the required string is a setting, you can empty it. The next version will also not show the div surrounding it either (but most people don’t style that div).
So either empty the string and/or style the div to be invisible, and you should be good to go.2) the next version will show placeholders for last name, first name and email. Zip/street/… might get implemented too 🙂 Custom field placeholders are not yet implemented, but might. Feel free to give me an incentive to do so 🙂
Edit: for custom fields, you can already use the field attibutes field to add a placeholder value to text input fields, so that’s already covered in fact. In other words: only the address info is left to do.
FrankyKeymasternext version will have opayo integration (but untested)
FrankyKeymasterSagepay was indeed removed because it no longer exists.
Update: I corrected the main page infoFrankyKeymasterno feedback, so moving to “generic” for now.
FrankyKeymaster#REQ_OPT_IN will force a selection, but since there’s only 2 choices to pick from, there’s no real need to use REQ 🙂
FrankyKeymasterEME doesn’t make a distinction for mobile or desktop … are you sure it is not a theme/styling issue? Any demo?
FrankyKeymasterThis should fix that:
https://plugins.trac.wordpress.org/changeset/2754008/
Although it is not very GDPR-compliant to force opt-in on mailing lists, so I’d advice to just use #_OPT_IN (#REQ_OPT_IN will force you to choose “yes”, “no” is not a valid choice then …).
FrankyKeymasterindeed
FrankyKeymasterOk, a double bug, these 2 changes fixes it:
FrankyKeymasterMight be a bug, let me test that 🙂
FrankyKeymasterI confirm that it wasn’t fixed, this should do it (I overwrote a $format variable which it obviously shouldn’t do):
https://plugins.trac.wordpress.org/changeset/2752086/FrankyKeymasterIndeed, this should fix it (one-liner):
https://plugins.trac.wordpress.org/changeset/2751759/FrankyKeymasterYou can assign multiple discount groups to discount codes, so that way you can achieve what you want. There’s even a mass-action in the discount-admin page to add/remove discounts to/from groups.
FrankyKeymasterEME can support multiple languages, see https://www.e-dynamics.be/wordpress/language-support/
Concerning hybrid events: EME already supports hybrid events, you can enter a location which has location details (the address) *and* a location url (called MixedEventAttendanceMode in schema.org, and supported by google). It depends on what you want to achieve with that. If you want 2 amounts of seats, I suggest you use a multiseat-event and a custom field that lets them indicate how they want to attend (with some own javascript/jquery code that hides the seats-dropdown they shouldn’t see, if you really want to go to that extend). Mutliseat events are explained here: https://www.e-dynamics.be/wordpress/multiseat-events/
FrankyKeymasterCurrently EME is not managing passwords (why replace what WP offers?) and just entering an email is not sufficient for access evaluation. So for now you’d need to have EME auto-create WP users (which is an RSVP setting too), that way people also have password reminders, … stuff that I’d otherwise need to code up in EME.
FrankyKeymasterEME group access will be in the next version (for which I hope to receive a donation).
The hybrid thing is another subject.FrankyKeymasterEvents and memberships are not linked together like that. I can add extra code for a page to check access for EME people being in a specific group though. RSVP settings already allow to add people to a group automatically, so I think that would help, no?
Fri 1 Jul 2022 at 23:59 in reply to: [eme_locations_map] restricted by author or event categories #64400FrankyKeymasterI accidentally added the two options to the eme_locations shortcode, not the eme_locations_map shortcode. This change adds it also to the eme_locations_map shortcode:
https://plugins.trac.wordpress.org/changeset/2750953/Wed 29 Jun 2022 at 21:47 in reply to: #_CANCEL_LINK not working in email when pending/waitlisted moved to approved #64397FrankyKeymasterno more reaction, so moving this to “generic”
FrankyKeymaster#_IS_USER_MEMBER_EXPIRED{Club Membership Senior Application},#_IS_USER_MEMBER_EXPIRED{Club Membership junior Application} ==> should be:
#_IS_USER_MEMBER_EXPIRED{Club Membership Senior Application,Club Membership junior Application}To put something around tr-tags:
[eme_if tag='#_IS_USER_MEMBER_OF{Club Membership Junior Application}' value='1'] <tr> <th scope="row"> Junior Club Member (Please select 1):</th> <td>#_SEATS{3}</td> <td></td> </tr> [/eme_if]
This way your th-tags and td-tags will balance out again, and you can even drop the last (now empty) td-column if you don’t use 3 columns.
However, switching between wordpress “smart” html editor and the plain text editor will then (using the suggested syntax I just gave) brake your template, so watch out 🙂 Reason is that wordpress tries to be smart and will move text between tr-lines that fall “outside” the tr-definition out of the table as a whole …FrankyKeymasterFirst: you should put the eme_if tags around the tr-tags, otherwise your generated html won’t be valid.
Second (I just got home, so checked the code a bit and got more coffee): the #_IS_MEMBER_EXPIRED placeholder is only valid in a member context, not as a generic placeholder (which is logical: I don’t know which membership you’re talking about …). In your case, as documented in the generic placeholders ( https://www.e-dynamics.be/wordpress/generic-placeholders/ ), you should use #_IS_USER_MEMBER_EXPIRED{xxx}FrankyKeymasterEME doesn’t support the or-logic you have there on the first line. I think this should work:
[eme_if tag='#_IS_LOGGED_IN' value='0'] Non Member (Please select 1): #_SEATS{1} [/eme_if]
[eme_if tag='#_IS_MEMBER_EXPIRED' value='1'] Non Member (Please select 1): #_SEATS{1} [/eme_if]
[eme_if tag='#_IS_USER_MEMBER_OF{Club Membership Senior Application}' value='1'] Senior Club Member (Please select 1): #_SEATS{2} [/eme_if]
[eme_if tag='#_IS_USER_MEMBER_OF{Club Membership Junior Application}' value='1'] Junior Club Member (Please select 1): #_SEATS{3} [/eme_if]Sat 25 Jun 2022 at 22:48 in reply to: #_CANCEL_LINK not working in email when pending/waitlisted moved to approved #64389FrankyKeymasterThe setting I tried is identical, so that’s not it (and the code doesn’t point to that either). But maybe something about the event definition is not standard? Is it a paying event, user approval needed, … ?
Sat 25 Jun 2022 at 21:03 in reply to: #_CANCEL_LINK not working in email when pending/waitlisted moved to approved #64387FrankyKeymasterJust tested this here: works fine for auto-approve a booking on the waiting list.
Which format contains the #_CANCEL_LINK placeholder ?Sat 25 Jun 2022 at 10:04 in reply to: [eme_locations_map] restricted by author or event categories #64384FrankyKeymasterNext version will also have this:
* Added author and contact_person options to the locations_map shortcode, but only used if eventful=1 and then it gets locations with events (where events then match the author and/or contact person). If eventful=0 (default), the contact_person is ignored (currently doesn’t exist for locations) but location author is taken into account
Fri 24 Jun 2022 at 15:57 in reply to: [eme_locations_map] restricted by author or event categories #64379FrankyKeymasterThe categories is already possible, just use also eventful=true
FrankyKeymasterBy using your correct key/secret, nothing else needed.
FrankyKeymasterYour test site is not responding, but I installed the plugin and added this to an event:
[su_box title=”Important” box_color=”#e6000c”] Some information.[/su_box]and it works as expected (with the title). Theme I tried: twentyone. In twentytwo it also works but the title is rendered white so it seems invisible by default (because the background is white too), maybe that’s the problem in your case too.
FrankyKeymasterit seems your membership is lacking configuration. Check your membership configuration, see the value for “Member Form”. You need to define a template that actually asks for info. For the placeholders you can use in that template, see: https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-13-membershipform/
FrankyKeymastermember qr-codes can be generated by going into the member-menu, selecting the members of choice and in the dropdown mass-action menu select “PDF output”, after which you can select a PDF template of choice (that at least should contain the #_QRCODE placeholder).
For bookings it is identical in fact.FrankyKeymasterconfirmed as a bug (weird that it didn’t got reported sooner). I released a new version (with a small additional fix for discount imports).
FrankyKeymasterYou have 2 options for attendance:
– scan the member qrcode (which you can generate in the member PDF file when a member pays, using the #_QRCODE placeholder). If the membership is then configured to keep attendances and you’re logged in as a user with enough rights, when you scan the qrcode it will enter a line in the attendance table (and in EME it is visible in a submenu). The attendance record is then linked to the person and the membership.
– scan the RSVP qrcode (which you can give to the person signing up for an event using #_QRCODE). If the event is then configured to keep attendance records and you’re logged in as a user with enough rights, that qrcode can be scanned (with a limit to the number of seats booked) and it will enter a line in the attendance table (and in EME it is visible in a submenu). The attendance record is then linked to the person and the event/booking.
Thu 16 Jun 2022 at 14:39 in reply to: “There was a problem editing your template, please try again.” #64358FrankyKeymasterOk, the error is not really in the template but in the size of it. I allow 64K for a template (the size of a “text” field in the db), but yours is 200K, which is way too big. I suggest to use a minifier (and also, less html in general, this is very big for a template itself … CSS should not be in there, but in a separate file)
Thu 16 Jun 2022 at 14:19 in reply to: “There was a problem editing your template, please try again.” #64356FrankyKeymasterThat’s very weird. Could you send the beautified html via mail (as attachment) to franky@e-dynamics.be ? I’ll check on my end too.
FrankyKeymasterIt is the same, see https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_cancel_all_bookings_form/ for the list of placeholders you can use.
But I forgot to mention (I in fact completely forgot about it): in the past I implemented #_CANCELCOMMENT (can be used in the form and in the cancel mail), that allows people to enter their cancel reason. It is not stored in the db, so you’ll need to use it in your cancel mail template.FrankyKeymasterConcerning the long time: if you use email queueing in EME, you can change with which frequency EME checks the queue and sends mail in batches
Also best is to use system cron, not wp cron (see the hint in the EME submenu “scheduled actions”)
Concerning your second question: no, not all event options have a global variant 🙂FrankyKeymasterFor cancel: did you configure the subject and body of the cancel template? If either is empty, no mail gets sent.
Concerning approve after payment: if you check the option “Require booking approval” then a booking goes into pending. If you then set the option to auto-approve after payment (only visible if “Require booking approval” is checked), if will get marked as paid and approved when a payment arrives.FrankyKeymasterCurrently not possible. Feel free to donate if you really need this 🙂
FrankyKeymasterIt is not related to the “Track discount usage per booked seat” but to the valid_from/to values set upon import. They are then not empty strings (but 0000-00-00 00:00:00) and so a check in EME failed for that. When you then edited a discount, those values were set correctly as empty, causing you to think it was related to “Track discount usage per booked seat”.
This fixes it:
https://plugins.trac.wordpress.org/changeset/2742865/FrankyKeymasterin a mail, you don’t have the same concept as in a html page, you need to define inline styling. But you can create a template in EME that defines your styling and include that template in other templates via the #_INCLUDE_TEMPLATE{xx} placeholder
FrankyKeymasterAll event mails can use EME templates, and idem when sending mails directly via the mails-submenu. So … 🙂
Sat 11 Jun 2022 at 22:11 in reply to: Send email when automatically moved from pending (waitlisted) to approved #64330FrankyKeymasterA mail should be sent if you have the option activated to send mails for approved bookings (and a subject+content configured for approved bookings)
FrankyKeymasterA payment can correspond with multiple bookings, so custom fields are difficult when cancelling. For now this would be a big hassle to implement …
FrankyKeymasterIt seems like a theme issue to me. Your theme seems to be loading external resources and those get blocked due to your Same Origin Policy settings. But it is weird it works on the main page …
I see that you have something like a siteground optimizer, I’m guessing that is running haywire here.FrankyKeymasterWhile I need to check for further side effects, try this change:
https://plugins.trac.wordpress.org/changeset/2739355/FrankyKeymastersorry, but that is not directly possible. You can use a discount of type “code”, but then you need to code up the discount logic yourself … a way would be to link a discount to a person so only he can reuse that discount code.
FrankyKeymasterBtw: if you have your own method of identifying users, you can use the EME filter eme_field_value_filter to pre-enter info based on info you provide (see https://www.e-dynamics.be/wordpress/category/documentation/12-hooks-and-filters/ )
FrankyKeymasterIf you don’t use WP memberships, EME doesn’t know who is making the booking and can’t use previously entered data (EME doesn’t use cookies to store info).
Also, for the form: if you use the code I showed, you need to change your single event format setting for that (and replace #_ADDBOOKINGFORM by it).Mon 6 Jun 2022 at 17:18 in reply to: include contact name (and possibly more fields) in eme_wordpress_search_events() #64309FrankyKeymasterWell, searching on the contact name for events requires searching in the wordpress tables while cross-referencing the EME events table on the value of event_contactperson_id . So you’d first need to get all used event_contactperson_id (for future events I guess) and then search WP persons for the info, limiting to those id’s. For the second part, see the function eme_get_wp_users as a start (which in fact uses the wordpress function WP_User_Query ).
Also, to hook that into the wordpress search result: see eme_add_events_locations_link_search in eme_actions.php (and how it hooks into wp_link_query, also in that file).Concerning your Divi-theme howto: feel free to post that in the “Tips” forum: https://www.e-dynamics.be/wordpress/forums/forum/tips/
FrankyKeymasterIf you require WP membership, then indeed that is the behavior.
However, you can add (inside the single event format setting) another shortcode that checks if the user is logged in and if not show a link to the login-page. For example, in your single event format you’d have somewhere #_ADDBOOKINGFORM (which renders the form or the message that you need to log in), so the nicest way to solve it is to replace that by:#_ADDBOOKINGFORM_IF_LOGGED_IN [eme_if tag='#_IS_LOGGED_IN' value='0']show the link to login/register[/eme_if]
FrankyKeymasterBtw: see my mail to you (let’s continue this via mail)
FrankyKeymasterI’ve spent some hours on this:
– the php code they provide is no longer correct (paths to the API are wrong, use of merchant_code is missing)
– when correcting that, I bump into the same issue as mentioned here: https://github.com/sumup/sumup-ecom-php-sdk/issues/31 , which doesn’t receive an answer from SumUp.So for now: no go.
FrankyKeymasterFollow-up: I’ll rethink the implementation if I can have a dev-account …
FrankyKeymasterI also checked out their php sdk, and it is old and no longer up-to-date with their own requirements (they require a merchant_code param, but the sdk doesn’t do that).
So unless you can find a newer sdk somewhere, this will be a no-go.FrankyKeymasterWhile their API seems wel documented, it actually isn’t 🙂 It has a lot of unclear explanations. I’m willing to take a look at it, but I’d need a test account. If you could provide a dev-account for sumup, I can try.
FrankyKeymasterUpdate: this was already a configurable option. So the next version will start with years for the birthday picker.
FrankyKeymasterHum … Interesting. Maybe I should make that a configuration option. For birthday it indeed seems more logic that way. But now your change affects other parts of EME where the calendar is used and the change needs to be kept after each EME update.
I’ll check the code some more.FrankyKeymasterThe next version will have the offset option 🙂
FrankyKeymasterThe calendar is per month. If you want something per week, use eme_events with the scope=this_week option and paging=1. See https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_events/
FrankyKeymasterThe problem with HTML5 datepicker is that I can’t control the layout, so in fact from EME point of view it is just text, which is not usable to actually do something with (like check for birthday and send a mail).
If you don’t want to use the birthday field, just create your own custom HTML5 field and use that as birthday.FrankyKeymasterConfirmed and fixed in 2.8.82 (reason was that I started using the wordpress function sanitize_sql_orderby but that function has unforeseen behavior … so I just created my own now).
FrankyKeymasterCan you check if this fixes it:
https://plugins.trac.wordpress.org/changeset/2733181/FrankyKeymasterWhile this is not covered by EME, it is by WP itself: you can create a hook and add info to the profile page:
add_action('edit_user_profile', 'my_eme_user_profile') ; add_action('show_user_profile', 'my_eme_user_profile') ; function my_eme_user_profile($user) { ... }
See the function eme_user_profile in eme_people.php as an example.
FrankyKeymasterWait, I think I misunderstood your initial question. Do you mean that the input field asking for the phone number is not showing? Can you demonstrate that somewhere?
FrankyKeymasterSee the global RSVP setting “Booking recorded message” or – per event – under “RSVP form formats” the setting “Booking recorded message”
FrankyKeymasterYou’ve posted your RSVP form layout, but not your registration confirmation layout. Check that layout and make sure it has #_PHONE in it…
Sun 22 May 2022 at 07:53 in reply to: Did you intentionally implement EME requirement for PHP >= 7.4? #64262FrankyKeymasterFirst I refer to the php lifecycle: https://www.php.net/supported-versions.php
Second: while EME most probably works with 7.2 and 7.3, I’m no longer in a position to test those versions, so I changed that to 7.4 some months ago.FrankyKeymasterBy default the button has to be pressed, but if you know a little jquery you can create a simple function that does a form submit when the cat dropdown selection changes.
FrankyKeymasterreminders are mails from within EME, not ical/calendar related so that doesn’t change.
FrankyKeymasterWell, eme uses fgetcsv and there I give the enclosure as an option (which is by default the double quotes). Maybe that is smart enough to work for non-enclosed fields too 🙂 (which would explain why it works).
FrankyKeymasterWell, all should be enclosed (see the doc), but without it might work (and usually does).
But the import for custom fields for locations indeed had a bug, this oneliner fixes it:
https://plugins.trac.wordpress.org/changeset/2724868/FrankyKeymasterWell, first: all fields should be enclosed with your enclosure setting (not allowed to be empty)
Second: are your custom fields with ids 1, 2, 3 and 34 of type location?FrankyKeymasterConfirmed, yet another thing in that class. I’m very close to ditching it completely … 🙂
But released 2.2.78, hopefully that one is ok. My tests seem to run fine.FrankyKeymasterA reservation can’t be changed in the frontend, nor by a regular user in the backend.
A booker can cancel his reservations, but that’s it.FrankyKeymasterWell, let’s hope I fixed it all 🙂
FrankyKeymasterOk, 2.2.77 released to fix this
FrankyKeymasterI fixed Expressivedate.php to be php 8.1 compliant, but it seems I missed some tests. I’ll correct those.
FrankyKeymasterThis change is now in the released version.
FrankyKeymasterThe fix is now in prod.
FrankyKeymasterSorry, but the way I described is exactly the way you need to follow to have the event categories as css class names …
FrankyKeymasterThis one-liner should help:
https://plugins.trac.wordpress.org/changeset/2724056/FrankyKeymasterGo in the EME settings, tab calendar and change the “full calender events format” to include a class, e.g.:
<li class="#_EVENTCATEGORIES_CSS">#_LINKEDNAME</li>
Then you can use css to target that category as a css name. If you want to limit it to the calender, you can then use e.g. table.eme-calendar-table as a css limiter.
FrankyKeymasterI’m not the one going to teach you CSS either 🙂
But you can use the placeholder #_EVENTCATEGORIES_CSS . See this post: https://wordpress.org/support/topic/color-coding-categories/FrankyKeymasterWell, for members the member PDF is currently only sent to the person himself. Currently the easiest would be to set a bcc address in EME, that receives all mails sent via EME.
Although it is a one-line code change, I first need to think about a codng solution a little more.FrankyKeymasterCurrently there is a bug where pending bookings are only approved (if you set that option) if you can pay online for the event. The dev version just got this fixed last week 🙂
I’m testing some changes and hope to release this weekendFrankyKeymasterWill be in next version (and also the cat names will be shown in the rsvp overview, not the ids).
FrankyKeymasterI think it is easier to maintain. But if you feel confident with a child theme: go with that, it avoids the use of an extra plugin 🙂
FrankyKeymasterDon’t forget: if you put it in your theme’s functions.php, it will get removed when upgrading your theme. In fact the snippet plugin is then easier ..
FrankyKeymasterOk, cool. I’ve already added that to the filter-doc on the site.
FrankyKeymasterThat is not what I said, nor what the examples specify. A simple example (untested, but should work):
add_filter('eme_wp_userdata_filter','eme_my_wp_userdata_function'); function eme_my_wp_userdata_function($person){ $userdata=array(); $userdata['display_name']=$person['firstname'].' '.substr($person['lastname'],0,1); return $userdata; }
FrankyKeymasterThat is the name of the filter to hook into. Your own function can be called anything you like, see examples here: https://www.e-dynamics.be/wordpress/category/documentation/12-hooks-and-filters/ (search “add_filter”)
FrankyKeymasterYou need to define the filter eme_wp_userdata_filter (that is the name of the filter you need to create) in your theme/functions.php (or use the plugin “snippets”)
FrankyKeymasterIn dev of coursen see the changeset I mentioned.
FrankyKeymasterI forgot to add: last name and first name are set after the filter (I need those to be the same as in EME), but all the other settings can be changed/set.
FrankyKeymasterThis should help:
https://plugins.trac.wordpress.org/changeset/2720265/events-made-easy/trunk/eme_functions.php
Filter eme_wp_userdata_filter allows you to set extra info for the WP user being created after a booking (if that option is set). The current EME person is given as argument (array), the result should be an array that is accepted by wp_update_user
Sat 7 May 2022 at 17:07 in reply to: Automatic waiting list approval Mail-confimation wrong template #64190FrankyKeymasterFeel free to send me some admin access, I can take a look later ( franky@e-dynamics.be )
Sat 7 May 2022 at 16:41 in reply to: Automatic waiting list approval Mail-confimation wrong template #64187FrankyKeymasterOk, some explanation in place:
if the “Check waitinglist when seats become available” is checked and a seat becomes available, a booking on the waitinglist becomes either pending or approved. The new status depends on the settings of the event: if an event is set to “require approval” for bookings (meaning approval from the event manager), the booking will go from waiting => pending. If no approval is needed: waiting => approved.
Based on your explanation you have set the “require approval” option.FrankyKeymasterSat 7 May 2022 at 14:01 in reply to: Automatic waiting list approval Mail-confimation wrong template #64183FrankyKeymasterJosef: I don’t understand your first/second remark because they kind of contradict each other. So: does the waiting list function work? If so: which mail is being sent (because EME doesn’t send pending+approved mails in one go)?
FrankyKeymasterShowing a recurring event is done by the eme_events shortcode
FrankyKeymasterBtw, to accomodate existing behaviour, the default setting for the newsletter option is “yes” by default now: https://plugins.trac.wordpress.org/changeset/2716697/
Once you know where the option is, it doesn’t matter of course 🙂FrankyKeymasterIt is also weird that your wp in on http://domain.be/dcp/events but the initial permalink not. I guess something is wrong in the generic wp settings that causes this …
FrankyKeymasterIt is the dev version. The strings you receive from wp are always for the production version …
Edit: I see what you mean now, I’ll correct
Edit 2: correction done in dev, give WP some time for the strings to catch up in the translation projectFrankyKeymasterTranslation is already possible, but I don’t translate it into every language 🙂
FrankyKeymasterThe dev-version now contains something like this.
FrankyKeymasterWell, I thought about it some more and the current method is not GDPR compliant at all. So what I’ll do:
– create a generic setting to set a default option for new people to get the generic newsletter (default: off to comply with GDPR)
– per user option to tune the new setting
– the newsletter will look at this option, together with the option wether people want to receive mails at all or not (maybe the latter is not needed but since it is present …)
– the (un)subscribe will get an extra option to (un)subscribe to/from the newsletter if it is activated/plannedFrankyKeymasterWell, the thing is that the newsletter was there before the groups … you can of course not use the newsletter at all and just use groups 🙂
FrankyKeymasterI tested it locally: the hcaptcha returns the error “Please check the hCaptcha box” if you don’t check the box.
FrankyKeymasterThe generic settings is taken into account for new events, but doesn’t change existing events.
Concerning hcaptcha: I’ll test again, but normally it adds a message if the captcha is not ok … also, it is a remote captcha (as is the google recaptcha), so there are limits as to what I can change.FrankyKeymasterMy email: franky@e-dynamics.be
FrankyKeymasterIf budyboss uses only custom post types that won’t help you. EME events have categories (managed all in EME), but not wordpress tags (switching EME to custom post types would lead to about a year of work …).
FrankyKeymasterThis is in EME possible too, you just need to mention/foresee the page where they land using the [eme_unsub_form] (and the layout).
Edit: the #_UNSUB_URL gives you an automatic unsub-form but the EME “generic” newsletter is the one exception, it was also never meant to be used extensively and only sends 1 mail per day maximum, (to alert for new events).
I’ll check the code a little more to add a default “all” to it too
Edit: the “All” is there when unsubscribing, so that covers the needed scenario already. -
AuthorPosts