Forum Replies Created
-
AuthorPosts
-
Franky
KeymasterDon’t forget that outside EME, there’s only a limited amount of placeholders you can use, #_FIELD is not one of those.
Franky
KeymasterI’ve seen the bug report, I’ll take a look at it this weekend.
Franky
KeymasterI’ll take a look at the #_IS_USER_MEMBER_OF , but for #_FIELD: use #_FIELD{4}, not 04 (or the field name).
Franky
KeymasterSee this note when setting the “price localize” option:
This option only works if the php class NumberFormatter is present, which is always the case in newer php versions but just don’t forget to load the INTL extension in php.So check the NumberFormatter class and the intl extension.
Franky
KeymasterIf you create custom fields of type RSVP, you can also indicate if this is a “price” field, so selecting something from those will alter the total price (if you use that field in your form of course).
Thu 23 Jan 2020 at 22:38 in reply to: How to make events list [eme_events] show in theme default font? #60705Franky
KeymasterEME does not require a specific font, the font from your theme/CSS is being used.
Sun 12 Jan 2020 at 14:42 in reply to: group_id ignored in eme_people if template_id given and group empty #60694Franky
KeymasterCould you check if this change fixes things:
https://plugins.trac.wordpress.org/changeset/2226079/Franky
KeymasterThe next version will make it so that the email in the invite url is the one entered in the form (and readonly). So if you then want to make it a one-time thing, all you need to do is check the option “Allow only 1 booking per unique email address” when defining the rsvp properties for the event.
Edit: see this changeset https://plugins.trac.wordpress.org/changeset/2225978/Franky
KeymasterYou’re correct. In the past I had an option to disable the check for required fields after form submit, but I removed that option and made it mandatory. This is what is causing you issues now. This change will re-add that option:
https://plugins.trac.wordpress.org/changeset/2225861/Franky
KeymasterPlease open a separate thread for this. I do understand the problem, but currently I see this as an extra for the invite-only thingie.
Franky
KeymasterWhile using eme_if to hide fields, if you say the field is required when creating the field, this is indeed the expected result. You can set the field to not be required in the field definition and use #REQ_FIELD instead in your form.
Franky
KeymasterI’m sorry for reacting so late (starting a new job), but I guess you found #_EVENTCATEGORIES_CSS
Franky
KeymasterThat’s already old code and in the current release 🙂
For French translation, please speak to the people translating it in French. See https://translate.wordpress.org/locale/fr/default/wp-plugins/events-made-easy/Mon 30 Dec 2019 at 22:21 in reply to: Show or hide queried fields in the booking form and/or in the mail templates #60648Franky
KeymasterA custom field can’t fill one of the basic fields, that’s simply not manageable.
You can create custom fields that collect any needed data (even like an address) and not use the basic fields (except name and email).Mon 30 Dec 2019 at 18:47 in reply to: Show or hide queried fields in the booking form and/or in the mail templates #60646Franky
KeymasterThe only way to ask for info concerning multiple events in 1 form is by using the multi-booking form. But then the rsvp form (the repeated part of it) is defined identical for all, so you’d have to play with the event id (or maybe with an event category) to show/hide certain fields.
Event attributes are for events, not for rsvp forms. So in your case you’ll want to look at custom fields. I’m planning on adding some simple instruction videos this week 🙂Franky
KeymasterThis extra change should help:
https://plugins.trac.wordpress.org/changeset/2216499/it introduces #_MEMBERSHIP_PAYMENT_URL, so the code for you would be:
[eme_if tag='#_IS_USER_MEMBER_EXPIRED{Student membership}' value='0'] Expired, please use #_MEMBERSHIP_PAYMENT_URL{Student membership} [/eme_if] [eme_if tag='#_IS_USER_MEMBER_EXPIRED{Regular membership}' value='0'] Expired, please use #_MEMBERSHIP_PAYMENT_URL{Regular membership} [/eme_if]
(to be tested of course 🙂 , so please give some feedback)
Franky
KeymasterI added 2 extra conditional placeholders for that:
#_IS_USER_MEMBER_EXPIRED{xx} and #_IS_USER_MEMBER_PENDING{xx}So if you want to present the link for an expired user, it would be something like this:
[eme_if tag='#_IS_USER_MEMBER_EXPIRED{Student membership}' value='0'] Expired, please use #_PAYMENT_URL [/eme_if] [eme_if tag='#_IS_USER_MEMBER_EXPIRED{Regular membership}' value='0'] Expired, please use #_PAYMENT_URL [/eme_if]
See this change:
https://plugins.trac.wordpress.org/changeset/2216478/Edit: this won’t be sufficient, the payment url needs a reference to the membership too. So more work is required
Franky
KeymasterFair request, the next version will have that:
https://plugins.trac.wordpress.org/changeset/2216424/Franky
KeymasterThe reminders are sent based on the value of the “Reminder” setting when defining the membership. The content of the mail is defined by “Membership reminder email subject” and “Membership reminder email body”. Those can contain member placeholders that are described here: https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-14-members/
Franky
KeymasterRenewel is not automatic. You can define automatic membership reminders and send them a payment url in that mail too of course, but the amount is not taken automatically from their bank account.
Franky
KeymasterIt is not a member group, but a person group. So deleting the member doesn’t remove it from the group. And since a person can have more than one membership, it is not deleted by default.
But: when choosing to remove the member, a question becomes visible to move the corresponding person to the trash bin. That’s what you want 🙂Franky
KeymasterThis change fixes it:
https://plugins.trac.wordpress.org/changeset/2214505/Franky
KeymasterAsking to re-upload is not an option (that doesn’t exist in php), that’s why I delete the booking and let them retry.
But I’ll keep this open in bugs, let me think about it … maybe I can delay the hook until done (because that’s the real issue I think: the hook happens, while the booking gets deleted upon failure).Franky
KeymasterPlease check if this helps:
http://plugins.trac.wordpress.org/changeset/2213263Franky
KeymasterI just tested that plugin: reason it conflicts with EME is the datepicker they’re using (and mine): both are called “fdatepicker” (but different) and that’s conflicting.
I have a page (see the menu) called “Plugin compatibility” and I’ll add this one to it.Franky
KeymasterSome info: the next version will allow multiple forms per page.
Franky
KeymasterThat means there’s a javascript error on your page, preventing things from working correctly. Check your browser console for hints.
Franky
KeymasterYes indeed, currently I do it like that too. The main reason is the ajax-part and dynamic fields. Once I find a little more time, I’ll add a unique id to each form etc … 🙂
Franky
Keymaster2 forms on one page is not supported for now.
Franky
KeymasterAlthough it is not completely what you want, this change should help a little already:
Franky
Keymaster#_IS_USER_MEMBER_OF{xxx} is only 1 if the person actually paid as well (active members only).
Franky
Keymaster#_IS_USER_MEMBER_OF{xxx} is the one you should be testing (and replace “xxx” by the name of the membership of course).
However: currently the shortcode [eme_if] can only be used inside event or membership templates because the placeholders only get resolved by those. But the next version will allow [eme_if] to be used on a “standalone” wordpress page and some placeholders will get replaced/evaluated then. See this change:
https://plugins.trac.wordpress.org/changeset/2208214/events-made-easyFranky
KeymasterI’ll change the behavior of the CSV button for the next version to be real CSV (the original function was already years old and I never got around of reviewing it and at that time I didn’t even really understand jquery 🙂 )
This is the change:
https://plugins.trac.wordpress.org/changeset/2206165Franky
KeymasterThe function eme_get_booking_answers doesn’t take the type into account. From the code:
function eme_get_booking_answers($booking_id) { global $wpdb; $answers_table = $wpdb->prefix.ANSWERS_TBNAME; $sql = $wpdb->prepare("SELECT * FROM $answers_table WHERE booking_id=%d",$booking_id); return $wpdb->get_results($sql, ARRAY_A); }
So I assume you have another problem here …
Concerning the change of purpose for the field: it is a protection, so for now I’m going to leave that in place (the generic type should not be used anymore, so to avoid issues, I’ll remove it from the dropdown for new fields and hide it from the dropdown for existing fields if they are not of that purpose).Franky
KeymasterWell, I’ll change the dropdown, so that if a user doesn’t have the correct rights, the accompanying options are hidden too.
Franky
KeymasterOk, my test was wrong and you’ve helped me find the bug 🙂
Replace in eme_events.php lines 205 and 206 from:$ids_arr=array($event_ID); $res=eme_trash_events($ids_arr);
to just:
$res=eme_trash_events($event_ID);
Then it should work. I was distracted by the fact you said people got an “access denied”. I don’t get it on your site (the “access denied”), but I saw that the event was actually never deleted either. On my end I just focused on not getting the “access denied” and just never realized the event wasn’t deleted. So I dug a little deeper and found this bug.
Via the dropdown it is not allowed (since you can’t manage events), but the message that it isn’t allowed is not shown, I’ll correct that too.Franky
KeymasterAre you sure the event author is the same as the person trying to delete the event?
If you can reproduce it: give me a temp account that has the issue and such an event, so I can take a look. Also give me a second admin account to see all the settings then.Franky
KeymasterWhat’s wrong with the csv export as it is which can be imported as is in excel or libreoffice? Or with the html method I explained (with which you can create your csv output too)?
Franky
KeymasterIt is a html-table that excel can import.
You could also create a template of type “HTML output template” that e.g. just contains #_EMAIL (with an enter behind it), and then use the dropdown-option “html output” on the selected rows.Franky
KeymasterEasiest: go in the people-admin page, select to show only the group of choice, adjust the row count so all your rows are on 1 page and press “CSV”
Tue 3 Dec 2019 at 16:12 in reply to: Strange status message on subscribing bookingform – booking not possible #60567Franky
KeymasterDo you have a caching plugin in place? That might cause this. If so, best is to disable the caching of your events pages, disable the caching plugin or don’t use the captcha.
Franky
KeymasterSeveral things here:
1) That is not the correct way to call that function, and you even have 1 parameter too many. You should use:
$custom_fields = eme_replace_booking_placeholders( ‘#_FIELDS’, $event, $booking, 0, “text”); echo $custom_fields;
2) Do a var_dump on it and check the result, or inspect the result in your browser (\n is not shown in your browser, it is in the resulting code)
3) You made me realize I made an error for the end-of-line in case of html (then the end-of-line should be the br-tag), that is fixed with this small change:
https://plugins.trac.wordpress.org/changeset/2204022/Franky
KeymasterYour user needs the right defined in the EME setings called “Author events”. That right gives the person the right to edit his events and delete them if wanted. I just tried this here, it works as expected. The right to edit and delete your own event is indeed the same.
Franky
KeymasterWhen editing the event, they should be able to press the “delete button” as well if they are the owner of the event.
Sat 30 Nov 2019 at 11:07 in reply to: get the nickname in EME back-office RSVP and Member lists ? #60557Franky
KeymasterThe next version will have this column also for bookings and member info.
Franky
KeymasterThat is a fair request, the next version will have something like that
Wed 27 Nov 2019 at 14:56 in reply to: get the nickname in EME back-office RSVP and Member lists ? #60551Franky
KeymasterWP-members is not EME related, EME has its own membership management system.
And since not all members need to be logged in users, I currently did not foresee that column. It isn’t that difficult to add though (although it will not be a searchable field).Franky
KeymasterThe release 2.1.53 should fix this.
Franky
KeymasterIt is indeed an issue when in different timezones (just when editing, not when saving or displaying the event). The next version will take that into account.
In fact the reason it is a problem is that Safari browser interprets javascript datetime as being UTC if no timezone info is added (while others interpret it as local timezone). So I switched to microseconds based on UTC for everybody, but that obviously gives problems if in other timezones (since javscript converts it to local datetime ….).
I now added an exception solely for the safari browser, so hopefully it will work better for everybody. If not, I’ll reconsider going back to the old setup.Franky
KeymasterIt does apply, see the difference between https://learning.necsu.nhs.uk/upcoming-events/ and https://learning.necsu.nhs.uk/upcoming-events/?eme_cat_filter=18
However: afterwards it is undetermined what would happen if you select another category. Reason: I’m using REQUEST[’eme_cat_filter’] which covers both GET and POST. But if you use the url the way you want to, it is a GET and when submitting the search it is a POST, and by default GET takes precedence in REQUEST (see also https://stackoverflow.com/questions/43157933/what-is-the-request-precedence).
Best would be that you create a button that does a POST to https://learning.necsu.nhs.uk/upcoming-events/ (there are plugins in wordpress that help you do that).Franky
KeymasterIf you add eme_cat_filter to the url, [eme_events] automatically takes it into account.
Franky
KeymasterAnd which search are you talking about? If you talk about the wordpress search, then read the FAQ about “How to add events to your wordpress search results?” at https://www.e-dynamics.be/wordpress/faq/
Franky
KeymasterBtw: EME warns you about SEO conflicts in its settings page.
I also tested the slider plugin you mentioned and it generates no conflict with EME.Franky
KeymasterGlad to hear you solved it!
Franky
KeymasterFranky
KeymasterFirst: that version probably has the bug concerning qrcode scanning.
Second: sitename.url/… seems to redirect to itself or so, resulting in the recursion issue. You might want to try and disable your permalink settings and then try again, see if that helps. I have no idea why that would be happening during newer versions (nothing I changed comes to mind for that and all my sites are running fine here). Maybe a conflict between EME permalink SEO settings and another page?Franky
KeymasterThat’s better already. That means some php error occured. You should check your webserver php error logfile for more info on this. I’ll also try it out this evening.
Can you share what the conflict with Smart Slider 3 was? Then I might be able to resolve that in a future version.Edit: also, which version of EME are you using? I remember something being wrong some versions ago with the QR code scanning, but that should be ok now.
Edit 2: after a small test, the attendance qr check seems to work fine.Franky
KeymasterDid you try first by disabling all other plugins and trying again? And what if you use a default theme?
Franky
KeymasterThe thing is: how to combine this with existing events, with events that have no seat limit (0) but still multiprice etc …
Maintaining backwards compatibility is a big thing, and I just cancelled own development of a new feature to maintain it.
And developing this would take quite some time, while looping will result in another template to define the loop content (not everybody is using a price description, and not everybody wants the layout I would propose). So this would be a huge rewrite for very little gain …Franky
KeymasterThis change should help (and allows the use of #_PASSWORD for mailing too):
https://plugins.trac.wordpress.org/changeset/2190975Franky
KeymasterThe #_PASSWORD field is to create a formfield to enter a password, not to mail the password to people (and as it was, it wasn’t described in the documentation concerning form fields, so I now added it).
Franky
KeymasterIt is indeed the last time the booking was modified, but is it not better to send a mail at cancellation with that info, then you know exactly when it happened?
if someone was to change anything in the cancelled booking (like reviving it), it would change the timestamp again of course.Franky
KeymasterWell, it is a feature request 🙂 But other things take precedence currently.
However, the “send mals” page of EME allows to enter reminders for your events, and the next version will allow multiple mails to be planned in one go. Would that not be sufficient?Franky
KeymasterThe latest released version allows to change that. See me settings, tab ‘other’
Franky
KeymasterCurrently that amount is stored per payment, not per event. Reason is that for multi-bookings, you can book and pay for different events in one go, hence the payment is taken.
But I could add the event_id in the qr-code and then store the attendance count per event too.Franky
KeymasterWell, don’t allow people to cancel themselves …
Franky
KeymasterThe next version will allow you to change the step interval (so in your case you can set it to 1).
Franky
KeymasterThis change should do it:
https://plugins.trac.wordpress.org/changeset/2188080/Franky
KeymasterCurrently attributes can’t be imported. I recommend to switch to custom fields there.
But adding it to the code isn’t that difficult to do …Franky
KeymasterThanks, I’ll take a look today.
Franky
KeymasterYes it should. It makes corrections and sets the version to the latest again. But is your problem solved now? BTW: it will only be solved for new/changed events because your db didn’t store the change time of the event.
Franky
KeymasterNever mind, I found the issue and it will be fixed in the next version.
Franky
KeymasterNo, but EME doesn’t know that you changed db versions. Go in the EME settings, tab “Other” and set the option “EME DB version” to 244. Then press Save. Upon saving, EME will then do the needed db changes (the ones that failed because of your older mysql version) and change the version back to the current version.
As a precaution, take a db backup first.Franky
KeymasterAnd what is the placeholder you use for the total price? Because #_TOTALPRICE exists but that is not valid in a registration form.
Franky
KeymasterWould it be possible for you to reproduce this on a public site and give me access to that?
Franky
KeymasterWell, that’s a bug obviously 🙂
Go to the mentioned line in eme_events.php and change the call to eme_insert_event to eme_db_insert_event
The latest version still has this bug too, so I’ll fix that (and some other stuff) and release a new version this week.Franky
KeymasterThe function eme_get_attendee_ids_for in eme_rsvp.php compiles the attendee ids for an event, so you can change that, but after each plugin update you’ll lose your changes.
Franky
KeymasterCancelled bookings normally appear in the booking trash bin.
Franky
KeymasterSorry, but currently that is not possible. You can use the booking id as a number, but that’s it for now. In the past I thought about integrating a seating plan manager, but haven’t gotten around to doing that yet.
Franky
KeymasterOk, you made me find another bug 🙂
Fields of type RSVP were not shown in the booking table overview, I’ll fix this and release a new version later on.Franky
KeymasterI think the issue is related to the backslash. I’m rewriting the code to take that into account (although I can’t reproduce it here).
Franky
Keymaster2.1.42 and 2.1.43 have no different code for the start date/time of events (2.1.44 and 2.1.45 however do).
Is this for new events of for existing events? Also, what is the format you defined for date and time in wordpress generic settings?Franky
KeymasterBut maybe I can add an extra field to the admin backend per booking, to indicate the attendance check … I need to check that.
Franky
KeymasterWhat was the definition of your custom field? If you create one of type “RSVP field”, it will show up as an extra column. And then you need to change your RSVP template to use that field only in the admin backend. Something like this:
[eme_if tag='#_IS_ADMIN_PAGE' value='1'] Attendance check: #_FIELD{blabla} [/eme_if]
Franky
KeymasterWell, the moment I released the version I realized the error and fixed it in the released version too, but maybe you were just too quick with the update 🙂
Make sure to apply this fix (or redownload/install the latest eme version):
https://plugins.trac.wordpress.org/changeset/2185328/Franky
KeymasterI released a new version (small bugfixes) and added this functionality in too (price description for non-multiprice events)
Franky
KeymasterIndeed, it still has some nonce-protection it no longer should have.
This fixes it (and some more):
https://plugins.trac.wordpress.org/changeset/2184859/Franky
KeymasterWhich version is your mysql database? 5.5 or older are not supported …
Franky
KeymasterThe time is already a part of it too 🙂
Franky
KeymasterSmall feedback here: I’m still searching for the best jquery datetime picker plugin, that’s the only reason this version has been delayed. But maybe I’ll already release it and continue my search …
Any suggestions are welcome 🙂Franky
KeymasterYEs, currently the dynamic data-part can’t be changed in layout. I’m still pondering on how to tackle that …
Franky
KeymasterThe from-to with time will be in the next version.
If you like it: don’t forget to make a small donation and write a nice review 🙂Wed 23 Oct 2019 at 17:49 in reply to: 2 Authors, different behaviour: "acess denied" on events page #60430Franky
KeymasterI’ll move this to “generic” until further feedback.
Franky
KeymasterIf you want to try out the dev-version, you can download it at:
https://wordpress.org/plugins/events-made-easy/advanced/Franky
KeymasterBoth will be implemented in the next version. From the changelog:
* For multiprice events you can now add a description per price category, which is used in CSV exports too
Also #_PRICEDESCRIPTION{xx} returns the price description of the xx-th category, which can be used in forms etc …Btw: if you like it, don’t forget to make a small donation and give a nice review 🙂
Mon 21 Oct 2019 at 23:01 in reply to: 2 Authors, different behaviour: "acess denied" on events page #60425Franky
KeymasterEME has many access right options (EME settings, tab “Access”), but doesn’t provide roles of its own. See in the Access-tab the remark about the “User Role Editor” plugin.
Franky
KeymasterIf you wish to avoid coping them over after each theme update, use a child theme (it is recommended by wordpress too).
Franky
KeymasterAn id can be addressed in CSS via the “#”, for example “#eme_printable_table”. The columns are a class, so need to be address with the “.”, for example “.eme_print_name”.
For more CSS things, please use your browser css console debugger and read up on css here: https://www.w3schools.com/css/Mon 21 Oct 2019 at 00:18 in reply to: Unknown column 'event_registration_trashed_email_body' in 'field list' #60417Franky
KeymasterThat means something went wrong with the database update during your plugin update. That column was added in version in or before version 2.1.39.
Go in the EME options, tab “Other” and set the “EME DB version” option to 246, then press save. Upon save, the column should get added and the DB version will be set to the latest version again (btw: I just tested it here by removing that column and it worked as expected).Franky
KeymasterThe next version (not the one just released) will only use eme_submit_button. For now, I’d suggest to style both the same way.
Franky
KeymasterFixed in latest release
Fri 18 Oct 2019 at 23:30 in reply to: 2 Authors, different behaviour: "acess denied" on events page #60406Franky
KeymasterIf that person can’t see any events, he doesn’t have the “List events” access right (which is there already for over a year, so not new). Did you check that permission?
Also, can you tell what the person sees in the EME menu on the left?
Franky
KeymasterWell, the other day I had someone where the theme was a blocking thing …
Would it be possible to have a real url to test? If not logged in, it results in a block anyway, so there’s no risk (you can always mail it to: liedekef@telenet.be )Franky
KeymasterI’m sorry, but mysql 5.5 is out of support and end of life quite some time ago. So I can’t support that version anymore. Backing up your db and importing it in 5.6 is however an easy thing to do, and Ionos should even assist you with that.
Btw: even wordpress recommends at least 5.6 …Franky
KeymasterWhat is your mysql version? If older than 5.6, then please upgrade first. Then remove EME completely and reinstall.
Franky
KeymasterThe next version will allow this: #_INCLUDE{xx} (with xx being a template id) in a template.
Franky
KeymasterCurrently not. I added the inclusion-option to my list of todos.
Franky
KeymasterWell, someone else actually asked the same thing, so I’ll take this into consideration.
Franky
KeymasterWhile the attendance page doesn’t need eme.js, it still should be loaded. But by default js files are loaded in the footer, and if your page stops loading half-way, this can be the reason why it doesn’t load.
Concerning your tests: if you install “Health Check & Troubleshooting”, you can deactivate all plugins for your session alone and then reactivate one by one, maybe that helps to pinpoint the problem.Franky
KeymasterNo sorry, while it can impact the price, custom fields can’t impact the seats …
Franky
KeymasterThat is indeed an error. I’ll check and correct that later on.
Franky
KeymasterCustom fields can impact the total price by using the option “Extra charge” when defining the field (read the instructions next to that field).
Franky
Keymaster[eme_events] shows a list of events (and is not meant to show just a template), and because you define a template for it, that template gets repeated for each of the events (by default scope future). See https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_events/
You should just use “Our contact person for this event (for example for questions or suggestions):
#_CONTACTNAME (‘#_CONTACTEMAIL’)” in your email template itself. Including one template into another is not supported by EME.Franky
KeymasterWell, I see your problem 🙂
Adding a name in itself wouldn’t be that difficult, but still requires quite some coding.Franky
Keymaster“available 0” means no limit. If you don’t want a booking code associated with an event, you have to edit the event for that.
I’ll take into consideration your from-to question, so I’ll move this to feature requests.Franky
KeymasterCombell is no guarantee for memory issues 🙂 PHP is assigned a specific amount of memory per installation (you can increase it, depending on your provider and issues are logged in php error logfiles).
If your output ends there, I think you really should check the logs.
But I can take a look too, so you can mail me a temp admin account (or an account with just the right to check EME attendances is ok too).Franky
KeymasterMaybe some security plugin is blocking you? The attendance check *should* work, but please do check if no errors display in your browser console, and in the php error logfiles.
Feel free to give me a temp admin account (and a real url to check then), so I can see here what it gives (but a “hanging” page often indicates a php issue on the server, like memory shortage or so …).Franky
KeymasterI changed my answer: for the printing output, you can use CSS. All columns have an ID; so you can use CSS to change the layout to your liking. See https://www.e-dynamics.be/wordpress/category/documentation/9-changing-the-layout-css/
Franky
KeymasterThanks for noticing the time issue, it will be fixed in the next version.
Concerning the columns (edit): each column has an ID, so you can use css to hide it.Franky
KeymasterChoosing “pdf output” generates the pdf immediately as it will be in the mail.
Franky
KeymasterUSe the pdf-template in the list of people: select 1 person and in “bulk actions” you can then choose “pdf output” and then your template. That should render the pdf immediately.
But it might be a good suggestion to be able to render the pdf after creating it (but that’s a little more tricky)Franky
KeymasterBtw, I found the reason: I added some extra capabilities and the “eme_cap_list_locations” was somehow forgotten in eme_options.php . I’ll add that this evening 🙂
For now you can just change “eme_cap_list_locations” to “eme_cap_add_locations” (or remove that if-statement completely) in eme_locations.php.Franky
KeymasterThere’s indeed a bug there … I’ll check this evening and release a new version then.
For now, you can remove in the function eme_ajax_locations_list the capabilities check (I added it yesterday for the others and it seems I made a typo here).Franky
KeymasterAnd more: the next version will also only show events/locations/member/people which you have a right to edit.
Franky
KeymasterGood news: the next version will have the option for attachments per event.
Franky
KeymasterCurrently the only way to send something with the event is by (ab)using the “Ticket PDF” template and include your image in that template.
Adding attachments “the easy way” per event may happen in the next version (or not, depending on the time I have left to implement it before the next release).Franky
Keymaster#_DISCOUNT is used with a coupon code and currently works based on the total number of seats (or a fixed price). Unfortunately not yet on a specific seat category …
So for now I’d suggest you use discount type “code”, assign that discount to your event and create the required function for it (see the doc).Franky
KeymasterYou have the setting “Ticket PDF template”, which can include a qrcode (generated by EME). Own additions are not possible per booking approval-mail (that can’t be configured anyway: if you create your own qr-code, that is different per booking, so it can’t be a setting).
You can take a look at the different mail-filters EME has, but even those won’t allow you to add an attachment …Franky
KeymasterSince the button didn’t exist the moment the page was rendered, the action “click” didn’t register.
The solution is to use the on-syntax (see eme.js). Example:$('.eme_submit_button').on('click', function(event) { .... }
Franky
KeymasterThere are just too many options for editing an event, so I have chosen to keep that in the backend.
If you want to alert the person that submitted the event when an update happens, the hook eme_update_event_action is your best choice.Franky
KeymasterIt is by default not foreseen to send mails when the event changes. For that, there’s the section “Send mails”, tab “event mails”.
Also, there are hooks when inserting/updating an event, so you could always hook in there:
https://www.e-dynamics.be/wordpress/category/documentation/12-hooks-and-filters/ (search for eme_update_event_action and eme_delete_event_action). But after some code verification, I think the eme_delete_event_action should fire before deleting the bookings for an event, so I’ll change that for the next version.Franky
KeymasterTo clarify, it is marked in the comment when creating a custom field:
“If you intend to use this custom field in your RSVP form, just select ‘Generic’, that allows you to use the same field for any of the other purposes too.”
and
“If you select ‘Events field’, ‘Locations field’ or ‘Memberships field’, this field will be used in the definition of the event, location or membership. Warning: this is unrelated to the use of custom fields in RSVP forms, so if you don’t intend to use this field in the definition of events, locations or memberships, don’t select this.”But like you said, I’ll create a type “RSVP”, that will result in less confusion.
Franky
KeymasterAccess is blocked since 2FA needs to be active for all admin accounts.
Please temporary disable the 2FA requirement, or disable it for my admin account.Franky
KeymasterThat is unrelated but also already fixed in the current development version (I noticed that some days ago).
My email: liedekef@telenet.beFranky
KeymasterNo feedback, so closing
Franky
KeymasterI’m sorry, but I’m unable to reproduce this here, all seems to work as expected.
If you have a site where you can reproduce this: if you want, give me a temporary admin account, so I can test it out on your end myself.Franky
KeymasterAny news? If no feedback, I’ll close this.
Franky
KeymasterWhat is your definition of e.g. #_FIELD{Tableau simple} ?
Franky
KeymasterThe next version will correct the last part (so you can use #_SPACES{1} too again)
Franky
KeymasterSome coding later, this is now an option when defining conditional fields. See this changeset:
https://plugins.trac.wordpress.org/changeset/2160753Franky
KeymasterOk, I figured it out. Currently I only do dynamic data updates based on changes in the condition field you have entered in the condition-box when defining the event. While I had code in place to react on all placeholders, it never reached it because the javascript would only do a dynamic update if the form changed on one of the fields mentioned (and another bugfix). Otherwise you would get results like when changing the name, the dynamic data would be checked too (which is not bad, but a bit cumbersome).
I could change it to be more generic, but maybe by using an option … let me think about it 🙂Franky
KeymasterDid you try using #_SEATS or #_RESPSEATS (identical)?
Franky
KeymasterThe HTML export is per-member only currently, and has indeed its limitations. It is very complex to provide a simple user interface for this …
Franky
KeymasterYes, doing it like described causes the family members to be just extra data for 1 member.
Franky
Keymasterbackground-repeat and background-size are style-properties, not something directly as a table-property.
So, something like this works:
<table style="width: 100%; border-collapse: collapse; background-color: #c23232;">
The thing is, wordpress strips background-repeat and background-size inside the style property. Simple solution: use the class property and add your own class to eme (see https://www.e-dynamics.be/wordpress/category/documentation/9-changing-the-layout-css/ )
Franky
KeymasterOk, found the issue: for the mentioned placeholders I checked if the seats were in multi-notation. This check has now been removed (will be in the next version), so you’ll no longer encounter that problem then.
Franky
KeymasterI’d need to check the code. Do you mean that before today you only had 1 seat category and more than one price category? Can you explain what you had filled out before today?
Franky
KeymasterBy what did you replace “xx”? I just tried this here in my mails for a multiprice event and it works fine:
You have successfully reserved #_RESPSPACES{1} and #_RESPSPACES{2} space(s) for #_EVENTNAME. I have #_RESERVEDSEATS{1}, #_BOOKEDSEATS{1}, #_APPROVEDSPACES{1} and #_APPROVEDSEATS{1} I have #_RESERVEDSEATS{2}, #_BOOKEDSEATS{2}, #_APPROVEDSPACES{2} and #_APPROVEDSEATS{2}
Franky
KeymasterThe next version will have custom fields and the comment field in the overview (by default hidden).
Franky
Keymaster#_TOTALPRICE shows the localized price if the option “Localize price” is selected (in EME options, tab “Other”). The problem in your case will be that if you don’t use the option, the price will be “3.00” while your link might expect “3,00” (mark the difference in the use of “.” and “,”). Maybe I’ll add an option to show the localized price without currency symbol …
It is in fact weird that it doesn’t show the localized version in the offline format 🙂 I’ll check that … What is your template format for “offline payment”? -
AuthorPosts