Forum Replies Created
-
AuthorPosts
-
FrankyKeymaster
Don’t forget that outside EME, there’s only a limited amount of placeholders you can use, #_FIELD is not one of those.
FrankyKeymasterI’ve seen the bug report, I’ll take a look at it this weekend.
FrankyKeymasterI’ll take a look at the #_IS_USER_MEMBER_OF , but for #_FIELD: use #_FIELD{4}, not 04 (or the field name).
FrankyKeymasterSee 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.
FrankyKeymasterIf 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? #60705FrankyKeymasterEME 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 #60694FrankyKeymasterCould you check if this change fixes things:
https://plugins.trac.wordpress.org/changeset/2226079/FrankyKeymasterThe 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/FrankyKeymasterYou’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/FrankyKeymasterPlease open a separate thread for this. I do understand the problem, but currently I see this as an extra for the invite-only thingie.
FrankyKeymasterWhile 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.
FrankyKeymasterI’m sorry for reacting so late (starting a new job), but I guess you found #_EVENTCATEGORIES_CSS
FrankyKeymasterThat’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 #60648FrankyKeymasterA 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 #60646FrankyKeymasterThe 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 🙂FrankyKeymasterThis 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)
FrankyKeymasterI 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
FrankyKeymasterFair request, the next version will have that:
https://plugins.trac.wordpress.org/changeset/2216424/FrankyKeymasterThe 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/
FrankyKeymasterRenewel 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.
FrankyKeymasterIt 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 🙂FrankyKeymasterThis change fixes it:
https://plugins.trac.wordpress.org/changeset/2214505/FrankyKeymasterAsking 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).FrankyKeymasterPlease check if this helps:
http://plugins.trac.wordpress.org/changeset/2213263FrankyKeymasterI 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.FrankyKeymasterSome info: the next version will allow multiple forms per page.
FrankyKeymasterThat means there’s a javascript error on your page, preventing things from working correctly. Check your browser console for hints.
FrankyKeymasterYes 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 … 🙂
FrankyKeymaster2 forms on one page is not supported for now.
FrankyKeymasterAlthough it is not completely what you want, this change should help a little already:
FrankyKeymaster#_IS_USER_MEMBER_OF{xxx} is only 1 if the person actually paid as well (active members only).
FrankyKeymaster#_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-easyFrankyKeymasterI’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/2206165FrankyKeymasterThe 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).FrankyKeymasterWell, I’ll change the dropdown, so that if a user doesn’t have the correct rights, the accompanying options are hidden too.
FrankyKeymasterOk, 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.FrankyKeymasterAre 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.FrankyKeymasterWhat’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)?
FrankyKeymasterIt 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.FrankyKeymasterEasiest: 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 #60567FrankyKeymasterDo 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.
FrankyKeymasterSeveral 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/FrankyKeymasterYour 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.
FrankyKeymasterWhen 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 ? #60557FrankyKeymasterThe next version will have this column also for bookings and member info.
FrankyKeymasterThat 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 ? #60551FrankyKeymasterWP-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).FrankyKeymasterThe release 2.1.53 should fix this.
FrankyKeymasterIt 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.FrankyKeymasterIt 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).FrankyKeymasterIf you add eme_cat_filter to the url, [eme_events] automatically takes it into account.
FrankyKeymasterAnd 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/
FrankyKeymasterBtw: 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.FrankyKeymasterGlad to hear you solved it!
FrankyKeymasterFrankyKeymasterFirst: 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?FrankyKeymasterThat’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.FrankyKeymasterDid you try first by disabling all other plugins and trying again? And what if you use a default theme?
FrankyKeymasterThe 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 …FrankyKeymasterThis change should help (and allows the use of #_PASSWORD for mailing too):
https://plugins.trac.wordpress.org/changeset/2190975FrankyKeymasterThe #_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).
FrankyKeymasterIt 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.FrankyKeymasterWell, 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?FrankyKeymasterThe latest released version allows to change that. See me settings, tab ‘other’
FrankyKeymasterCurrently 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.FrankyKeymasterWell, don’t allow people to cancel themselves …
FrankyKeymasterThe next version will allow you to change the step interval (so in your case you can set it to 1).
FrankyKeymasterThis change should do it:
https://plugins.trac.wordpress.org/changeset/2188080/FrankyKeymasterCurrently 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 …FrankyKeymasterThanks, I’ll take a look today.
FrankyKeymasterYes 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.
FrankyKeymasterNever mind, I found the issue and it will be fixed in the next version.
FrankyKeymasterNo, 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.FrankyKeymasterAnd what is the placeholder you use for the total price? Because #_TOTALPRICE exists but that is not valid in a registration form.
FrankyKeymasterWould it be possible for you to reproduce this on a public site and give me access to that?
FrankyKeymasterWell, 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.FrankyKeymasterThe 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.
FrankyKeymasterCancelled bookings normally appear in the booking trash bin.
FrankyKeymasterSorry, 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.
FrankyKeymasterOk, 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.FrankyKeymasterI 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).
FrankyKeymaster2.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?FrankyKeymasterBut maybe I can add an extra field to the admin backend per booking, to indicate the attendance check … I need to check that.
FrankyKeymasterWhat 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]
FrankyKeymasterWell, 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/FrankyKeymasterI released a new version (small bugfixes) and added this functionality in too (price description for non-multiprice events)
FrankyKeymasterIndeed, it still has some nonce-protection it no longer should have.
This fixes it (and some more):
https://plugins.trac.wordpress.org/changeset/2184859/FrankyKeymasterWhich version is your mysql database? 5.5 or older are not supported …
FrankyKeymasterThe time is already a part of it too 🙂
FrankyKeymasterSmall 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 🙂FrankyKeymasterYEs, currently the dynamic data-part can’t be changed in layout. I’m still pondering on how to tackle that …
FrankyKeymasterThe 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 #60430FrankyKeymasterI’ll move this to “generic” until further feedback.
FrankyKeymasterIf you want to try out the dev-version, you can download it at:
https://wordpress.org/plugins/events-made-easy/advanced/FrankyKeymasterBoth 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 #60425FrankyKeymasterEME 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.
FrankyKeymasterIf you wish to avoid coping them over after each theme update, use a child theme (it is recommended by wordpress too).
FrankyKeymasterAn 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' #60417FrankyKeymasterThat 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).FrankyKeymasterThe next version (not the one just released) will only use eme_submit_button. For now, I’d suggest to style both the same way.
FrankyKeymasterFixed in latest release
Fri 18 Oct 2019 at 23:30 in reply to: 2 Authors, different behaviour: "acess denied" on events page #60406FrankyKeymasterIf 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?
FrankyKeymasterWell, 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 )FrankyKeymasterI’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 …FrankyKeymasterWhat is your mysql version? If older than 5.6, then please upgrade first. Then remove EME completely and reinstall.
FrankyKeymasterThe next version will allow this: #_INCLUDE{xx} (with xx being a template id) in a template.
FrankyKeymasterCurrently not. I added the inclusion-option to my list of todos.
FrankyKeymasterWell, someone else actually asked the same thing, so I’ll take this into consideration.
FrankyKeymasterWhile 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.FrankyKeymasterNo sorry, while it can impact the price, custom fields can’t impact the seats …
FrankyKeymasterThat is indeed an error. I’ll check and correct that later on.
FrankyKeymasterCustom fields can impact the total price by using the option “Extra charge” when defining the field (read the instructions next to that field).
FrankyKeymaster[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.FrankyKeymasterWell, I see your problem 🙂
Adding a name in itself wouldn’t be that difficult, but still requires quite some coding.FrankyKeymaster“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.FrankyKeymasterCombell 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).FrankyKeymasterMaybe 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 …).FrankyKeymasterI 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/
FrankyKeymasterThanks 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.FrankyKeymasterChoosing “pdf output” generates the pdf immediately as it will be in the mail.
FrankyKeymasterUSe 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)FrankyKeymasterBtw, 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.FrankyKeymasterThere’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).FrankyKeymasterAnd more: the next version will also only show events/locations/member/people which you have a right to edit.
FrankyKeymasterGood news: the next version will have the option for attachments per event.
FrankyKeymasterCurrently 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).FrankyKeymaster#_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).FrankyKeymasterYou 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 …FrankyKeymasterSince 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) { .... }
FrankyKeymasterThere 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.FrankyKeymasterIt 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.FrankyKeymasterTo 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.
FrankyKeymasterAccess 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.FrankyKeymasterThat is unrelated but also already fixed in the current development version (I noticed that some days ago).
My email: liedekef@telenet.beFrankyKeymasterNo feedback, so closing
FrankyKeymasterI’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.FrankyKeymasterAny news? If no feedback, I’ll close this.
FrankyKeymasterWhat is your definition of e.g. #_FIELD{Tableau simple} ?
FrankyKeymasterThe next version will correct the last part (so you can use #_SPACES{1} too again)
FrankyKeymasterSome coding later, this is now an option when defining conditional fields. See this changeset:
https://plugins.trac.wordpress.org/changeset/2160753FrankyKeymasterOk, 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 🙂FrankyKeymasterDid you try using #_SEATS or #_RESPSEATS (identical)?
FrankyKeymasterThe HTML export is per-member only currently, and has indeed its limitations. It is very complex to provide a simple user interface for this …
FrankyKeymasterYes, doing it like described causes the family members to be just extra data for 1 member.
FrankyKeymasterbackground-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/ )
FrankyKeymasterOk, 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.
FrankyKeymasterI’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?
FrankyKeymasterBy 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}
FrankyKeymasterThe next version will have custom fields and the comment field in the overview (by default hidden).
FrankyKeymaster#_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