Forum Replies Created
-
AuthorPosts
-
Franky
KeymasterSorry, but no. EME doesn’t use custom post types, so the only solution is for buddyboss to allow to hook into their system then. But it seems buddyboss also interferes with your theme then, which is very weird.
Franky
KeymasterThat’s weird … the captcha should then show. If the hcaptcha is not showing: can it be that it is being blocked by your browser (adblock plugin)? Can you show this on a site? Can I have admin access to test/check?
Franky
KeymasterI see. Yes, that generic newsletter is only using the opt-in/out setting of the person, not a subscribe to another group.
The unsub-form can use a template, so you can create a template that doesn’t use #_MAILGROUPS (which creates the dropdown groups to select from) and that should result in a generic unsubscribe (the massmail option will then be set to 0 and the person will be unsubscribed from all mailgroups).
To be tested of course (I foresaw that possibility, so the code is ready to not take any mailgroups as arguments etc, but I remember only testing that a year ago) …Franky
KeymasterThe EME config you change in the EME settings menu is kept in the wordpress options table, all the individual settings (e.g. templates per event) are set/kept in the other tables.
Franky
KeymasterYou can use the link generated by #_UNSUB_URL , and the mail to confirm unsubscribe is configurable in the settings (and needs to contain #_UNSUB_CONFIRM_URL to allow people to confirm the unsubscribe). See https://www.e-dynamics.be/wordpress/generic-placeholders/
There’s also [eme_unsubform] , see https://www.e-dynamics.be/wordpress/eme_unsubform/Franky
KeymasterThose are indeed the EME-related tables (in fact any table starting with “devstage_eme_”) and in the wordpress options table any option with name eme_* as well
Franky
Keymaster1) change the EME setting “Booking form format”, either in the generic EME settings, tab ‘rsvp’ or per event.
2) the captcha needs the php gd extension to show
3) currently not possible in EME itself. You can use own jQuery libraries to get there of course
4) the autocomplete is in your case only when logged in as admin, it won’t be for regular users. And you can empty the fields by clicking on the “x” in the last name field.Franky
KeymasterIt means some custom post type post has the same permalink. And maybe for custom post types there’s no problem (and EME tries to take the permalink before another page does), but it is never a certainty. Check your plugins that use custom post types, the page id will be one of those entries.
Another method of checking: disable EME and see if WordPress still returns anything if going to the same page.
Also: sure it is for “events”? EME uses a couple of permalink prefixes …Franky
KeymasterSeveral options:
– send HTML is not set to true in the EME settings
– your mail client is converting html to text or shows the text-version firstI have no other clue to give here, all my installations work as expected. And if I can’t test on your end, I can only check so much.
Franky
KeymasterIs it possible to give me a temp admin account?
Franky
KeymasterConfirmed as a bug (typo). This should fix it:
https://plugins.trac.wordpress.org/changeset/2715432/Franky
KeymasterDid you run the email test? Also, you can run the scheduled EME tasks now (via a wordpress plugin like “Cron manager”), the WP scheduled task is called “eme_cron_events_daily_actions”
Franky
KeymasterNo feedback, so marking closed.
Franky
KeymasterDo you have the reminder mail templates configured? See EME settings => Mail templates => section “Booking Reminder Email”
Franky
KeymasterI wouldn’t call myself a professional, more a php-enthousiast 🙂 But in the end the case-statement internally gets converted to if-like structures anyway, so it is not that your code was wrong in any way.
Franky
KeymasterNo reply currently, so changing category.
Franky
KeymasterWhat is your mail sending method? Is that wp_mail or something else? Can it be (if wp_mail) some other plugin is filtering?
Franky
KeymasterI don’t know that plugin, but if anything can be implemented on my end to resolve this conflict I’m willing to take a look at it (BuddyBoss will need to give feedback though).
Franky
KeymasterThat should work just fine … I tried it here on my theme and got the expected results. Can you demo this on a site for me? Could I have some admin to test?
Franky
Keymasterwhy is the first one using “fr” in it’s link? Is there some translation plugin? And the real domain name would be nice too 🙂
But feel free to email me with some admin details, so I can check on your end.Franky
KeymasterYou have set your first line outside your php-tag, that will of course not work …
Franky
KeymasterThat works, but this will me more “nice” to the eye:
function my_eme_discount_function($booking) { $calculated_discount=0; $coupon=""; switch ($booking['booking_seats'] ) { case 2: $calculated_discount = 25; break; case 3: $calculated_discount = 25; break; } return $calculated_discount; } add_filter('eme_discount_ball_discount','my_eme_discount_function');
Or even more simple (with direct return-statements):
function my_eme_discount_function($booking) { switch ($booking['booking_seats'] ) { case 2: return 25; case 3: return 25; } return 0; } add_filter('eme_discount_ball_discount','my_eme_discount_function');
Franky
KeymasterSorry about that, I disabled the spam filter but there seems to be some logic in bbforum itself that I just can’t disable. Anyway, I approved it again.
Franky
KeymasterPost has been approved.
Franky
KeymasterThe schedule runs only once a day. So maybe check (with a plugin) the WP schedules, search for “eme_cron_daily_actions”.
Franky
KeymasterThe next version will have this
Franky
KeymasterCustom fields can actually be changed in order: the filter “eme_event_formfields” is what you want. See the doc on hooks and filters (at the bottom): https://www.e-dynamics.be/wordpress/hooks-and-filters/
Franky
KeymasterSee the answer in this thread:
In the WordPress managemenet menu, you have “Events Made Easy” with underneath “Custom fields”, “Settings”, … You want “Custom fields”.Also, please read the forum post guidelines: https://www.e-dynamics.be/wordpress/forums/topic/forum-post-guidelines/
Franky
KeymasterIndeed a js-error sneaked in. I’m surprised on how that one got through …
This is the fix:
https://plugins.trac.wordpress.org/changeset/2710069/(and the “+” on each row is to copy that row for the date/times, but for the rest all “+” act the same)
Franky
KeymasterThe first 2 bookings are made with name “omama.smp”, the others with name “Omama Abu”. And I’m guessing the wordpress user is linked to omama.smp, so the other bookings are not linked to your wp user.
Franky
KeymasterI’ve released 2.2.72, that fix is in it too.
Franky
KeymasterYou’re correct, I kept the minimum at 5 in there … this fixes it:
https://plugins.trac.wordpress.org/changeset/2708226/Franky
KeymasterPaypal has indeed changed something, so the paypal button as intented in the plugin no longer works. I corrected that in the dev version. I also corrected the button on the site (it was working ok, but the name is better now).
Franky
KeymasterThe latest version (2.2.71) changes the cronjobs a bit (to start at 01:00 and not midnight), that should take care of summer/wintertime issues too
Franky
KeymasterTo fix those small things, I released 2.2.71
Franky
KeymasterAnd I just found another logic error: I in fact don’t check if people want a birthday email or not (but I checked the global setting wrongly as indicated above).
This fixes the sql:
https://plugins.trac.wordpress.org/changeset/2707524/Franky
KeymasterWell it works, but as I went through the code I saw I needed a small correction (only the removal of line 2378 is needed, but in your version the linenumber will be 2372):
https://plugins.trac.wordpress.org/changeset/2707523/Edit: check your “sent emails” in the EME “Email management” section, tab “sent emails”. And: birthday emails are sent when the cron for members runs: once a day at around midnight, but due to wordpress weird logic of a day having fixed 24 hours, it might be planned at 23:00 … so then your mail will arrive the end of the day (the next version will plan the cron a bit later to take that into account).
If you want to run the cron manually, feel free to do so.Franky
KeymasterIt did in my original tests … I’ll try on one of my live sites
Franky
KeymasterI’ve deleted that option, from the changelog:
= 2.2.59 (2022/02/14) =
* Remove the ugly code for linking rsvp section from one event to another. You can always use [eme_add_booking_form] if you want to use the booking form from another event.So in your case, for the recurring events: don’t use #_BOOKINGFORM but use [eme_add_booking_form id=xx] with “xx” being the id of the event you want to point to.
Edit: “xx” can even be the name of an event, if only one event with that name exists (use quotes around the name if it contains spaces)
Franky
KeymasterDid you activate the birthday email option? I ought to disable the per-person setting if that option is not enabled, but it is only a first implementation 🙂
See the setting in the “Other” tabFranky
KeymasterWell, I forgot about that … the fifth corona wave, war in Ukraine, global warming took my attention … And me battling the flue too.
But the dev-version now contains this. If you want to test-drive it, check the settings tab “Other” for the 2 options related to birthdays, the mail templates and also the optional setting per person (with a massaction to be able to change it). People can also change it themselves when signing up using #_BIRTHDAY_EMAILFranky
KeymasterEither change the setting “Booking recorded message” (in the RSVP settings) or the text above the payment buttons (in the Payment settings, tab ‘general options’).
Franky
KeymasterIn the released version that is not possible. I added the placeholder #_WAITINGLIST_POSITION in the dev version:
https://plugins.trac.wordpress.org/changeset/2705902/Franky
KeymasterForgot to mention that in the payment options page (will be fixed in next version). It is identical to e.g. the one from Mollie but replace “mollie_notification” by “worldpay_notification”
Franky
KeymasterFor a group, use [eme_people group_id=xx] (with “xx” being a group id, see https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_people/
In there, also define template_id, which is a template being repeated for each person of the group. If that template is e.g. a table row, then the header/footer templates should contain the needed html table opening/closing tags (same if a ul-list for example).Tue 29 Mar 2022 at 18:02 in reply to: [eme_events] Performance / Load times / Loading Animation? #64048Franky
KeymasterWell, queries down 28%, so all in all not that bad 🙂
Tue 29 Mar 2022 at 11:55 in reply to: [eme_events] Performance / Load times / Loading Animation? #64046Franky
KeymasterI implemented some small optimizations in dev, feel free to test out dev.
Mon 28 Mar 2022 at 10:54 in reply to: [eme_events] Performance / Load times / Loading Animation? #64044Franky
KeymasterI’m willing to try and bring down the queries there too. But using several [eme_events] shortcodes on one page is limiting me of course 🙂 Which shortcode do you use to render your list of presenters?
Sat 26 Mar 2022 at 14:02 in reply to: [eme_events] Performance / Load times / Loading Animation? #64042Franky
KeymasterGlad to be of help. I’m curious though: what is the performance gain? And what is the current number of queries?
Sat 26 Mar 2022 at 10:25 in reply to: [eme_events] Performance / Load times / Loading Animation? #64040Franky
KeymasterI hope you like the just released version, it should be a considerable speed gain for your page loading 🙂
Fri 25 Mar 2022 at 17:44 in reply to: [eme_events] Performance / Load times / Loading Animation? #64038Franky
KeymasterEven brought it down to 90 queries now, more optimizing would become too much.
Fri 25 Mar 2022 at 00:56 in reply to: [eme_events] Performance / Load times / Loading Animation? #64037Franky
KeymasterWell, using that template I got a whopping 9000 queries on my list 🙂
Seems that it is not really the category causing the problem, but more getting the person info and the custom field info.
Adding some internal caching brought it down to 252 queries. So, if you’re interested … 😉Wed 23 Mar 2022 at 23:25 in reply to: [eme_events] Performance / Load times / Loading Animation? #64035Franky
Keymaster36 events and 2400 SQL queries will indeed bring your system to a halt. I’m very curious in the template you use, maybe optimization is possible …
A wordpress shortcode loading animation is not something that I’ll do though. I checked around and found nothing that hints on how to do that (so not even sure it is possible in wordpress).Franky
KeymasterThis should fix it:
https://plugins.trac.wordpress.org/changeset/2698302/Franky
KeymasterHummm … maybe I forgot to add the partial info to the CSV export then. I’ll check
Franky
Keymasterhow do you do the CSV export? Via the link below the event title in the list of events? Of via the CSV button? Because the CSV button only shows what is currently visible in your table, nothing more, nothing less. While the “CSV Export” link shows all info.
Franky
KeymasterThis is weird … EME runs on your webserver, so no need for a firewall rule. However, maybe you mean an web application firewall? I have tested (and used) several web application firewalls and none pose problems. So: which is your firewall and maybe you can test in the logs of that application what is being blocked …
Franky
KeymasterProblem found. My dev-version already solved it.
I’ll release a new version today to fix it in prod.Franky
KeymasterWell, someone else also reported that, but I can’t reproduce this error.
Would it be possible to give me a temp admin account so I can verify what is going on? I’d need to activate some local debugging for it to be analyzed.Franky
KeymasterIt is indeed not possible to change the order. While changing the field_id might help, you’ll also need to change the corresponding answers.
Best would be to create a filter that allows to change this 🙂
The next version will have these filters:
eme_event_formfields, eme_location_formfields, eme_membership_formfields
These will allow you to influence how the formfields are shown.Sun 20 Mar 2022 at 21:52 in reply to: [eme_events] Performance / Load times / Loading Animation? #64019Franky
KeymasterSorry, the way wordpress is implemented limits certain things. Showing info on 180 events causes a lot of extra database lookups as well, in fact almost all related to category lookups. I wasn’t even aware it was that bad …
This query happens for each event if you decide to show/use the category name somewhere.SELECT category_name
FROM wp_eme_categories, wp_eme_events where event_id = 1787
AND FIND_IN_SET(category_id,event_category_ids)Each query takes (in my case) on average 0.0005 seconds, so in total for 180 events that will be about 0,1 sec. But next to those, other queries happen (although I do try to minimize these).
You can always install the tool called Query Monitor, which allows you to visualize/check all queries made (deactivate it when not needed), even per plugin.
I’m evaluating my code too btw …
Sun 20 Mar 2022 at 18:21 in reply to: [eme_events] Performance / Load times / Loading Animation? #64016Franky
KeymasterWell, the reason is the subpar method EME currently uses to find events belonging to a certain category.
Currently it is all inside 1 column, but the sql uses FIND_IN_SET for each of your mentioned categories, causing this latency.
I’m thinking about changing that, feel free to motivate me 😉Franky
KeymasterWell, it means but your initial example ‘[eme_if tag='#_IS_USER_IN_GROUP{Administrateurs,Party #_STARTDATE{Y}' value='1']‘
will work 🙂Franky
KeymasterWhile I did not receive feedback, I tested the code a bit more and I’m ok with the outcome, so it’ll be in the next version.
Franky
KeymasterSorry, but that is currently not possible
Franky
KeymasterI think I managed to implement a regex that better matches balanced curly brackets (one of the issues your usage was presenting me with) and after that also a better managing of using event placeholders inside generic placeholders (the other issue). Event placeholders inside event placeholders won’t be possible though …
If you want, I can commit that and you can then test the dev-version.Franky
KeymasterI tried it here, and while I *could* get it to work with placeholders inside the curly brackets (not now, needs extra code), it is not possible with curly brackets inside curly brackets. The parsing becomes a nightmare then …
Sun 13 Mar 2022 at 09:45 in reply to: How do I set up different landing pages for different Events? #63998Franky
KeymasterNew version releasedd, enjoy!
Sat 12 Mar 2022 at 21:36 in reply to: How do I set up different landing pages for different Events? #63996Franky
KeymasterOk, you mean the success page. That page is only shown if the person submitting the event has no right to see the newly submitted event or if the “Always show success page” option is active.
Currently there’s no other option influencing that. The only thing I can think about is giving you a filter for the “success page” option so you can change it yourself via a function.Sat 12 Mar 2022 at 20:55 in reply to: How do I set up different landing pages for different Events? #63994Franky
KeymasterI do not understand what you mean with “landing page”
Fri 11 Mar 2022 at 13:36 in reply to: .. make it possible, that a member sees his/her booking status? #63992Franky
Keymasterif using #_BOOKINGFIELD, you’re using the database columns directly. And indeed, those changed.
For logged in users, you can use #_IS_APPROVED, otherwise it is now#_BOOKINGFIELD{status}
with values:
0 (trash)
1 (approved)
2 (pending)
3 (pending user approval)But: you can already use #_IS_PAID and #_IS_APPROVED for a booking, and in dev I added #_IS_PENDING
(see http://plugins.trac.wordpress.org/changeset/2692489 )
Those should help you better 🙂Franky
KeymasterGlad it works!
Franky
KeymasterIf 705 are permissions, they are never correct. Should be 755, or 750 or 700
Next, selinux and/or apparmor might block things too, or a security plugin. Check with your provider for any errors in the apache/php logsFranky
KeymasterWhen sending tickets, these get generated and stored in wp-content/uploads/events-made-easy/… , so make sure nothing is preventing write access to that dir (like a security plugin, or selinux, apparmor, …)
Franky
KeymasterIt is not a “generic email” but an “event email”, only then the #_INVITEURL gets replaced.
Franky
Keymasterselect a booking and then in the mass-action menu, select “PDF output” and your pdf template. If that doesn’t render your pdf, see if the following php extensions are installed and active:
* DOM extension
* MBString extension
* php-font-lib
* php-svg-lib
And make sure to use php 7.4 or newerFranky
KeymasterIn the WordPress managemenet menu, you have “Events Made Easy” with underneath “Custom fields”, “Settings”, …
#_SEATS is always required, but you can hide it on the frontend if the min/max number of seats to book are equal. In your case, for a typical attendance scenario, there’s an option in the RSVP settings per event that says “take attendance only” too (it changes the seats to a yes/no scenario then, maybe not what you want in which case you should just set the min/max seats to book to the value of 1).
Franky
KeymasterDo you use the #_INVITEURL placeholder, inside event emails? And are your events invite-only?
Franky
KeymasterSorry, but placeholders inside placeholders is a chicken-egg problem. I do take it into account if only 1 value is entered (not multiple groups), that might be considered a bug 🙂
Can you check if this helps:
http://plugins.trac.wordpress.org/changeset/2691880Franky
KeymasterNormally, for an invite link, the lastname, firstname and email of the person are automatically added to the invite link (with the url parameters eme_ln, eme_fn, eme_email) and those 3 are then used to prepopulate the rsvp form. Is that not happening for you?
Mon 7 Mar 2022 at 17:01 in reply to: Google Chrome wants to download “admin.php” instead of adding a new member #63968Franky
KeymasterThen you need to verify your setup. If your browser wants to download admin.php, it means the connection towards php interpretation is no longer working, meaning your webserver has a problem.
Franky
KeymasterI just checked the code and partially entered amounts should be taken into account for the paypal amount … are you sure EME accepted the amount? It needs to be entered as an international number (no comma and a dot for the decimals).
Franky
KeymasterFor that it is best to use the csv export, that contains all columns so you can change these as you see fit (see the documentation on hooks and filters on this site that also allows you to remove/switch columns around).
Franky
KeymasterYou can show extra columns in the list of bookings.
But I’m not sure that I take into account a mix between partial payments and paypal (or any other payment gateway). I’ll check to be sure, but otherwise for now it is not possible to mix the 2.Franky
KeymasterI’m guessing some other plugin or your theme is causing this. Disable all plugins and reactivate one by one to see which one is causing this. You can use the plugin “Health Check & Troubleshooting” to do this just for your own session.
Franky
KeymasterEven more: the next version will store all sent mails in the db, so it will show up in the mailings tab too (even while no planned mailings are possible).
Franky
KeymasterThe next version will show a small warning in the “mailings” tab if mail queuing is not activated.
Franky
KeymasterDo you have mail queuing activated? If not, mailings are not possible and the mails are immediately sent. Then the mails are just visible in the tab “Search emails”
Franky
KeymasterTo be sure: I’ll update the dompdf library to the latest version, maybe that also resolves certain bugs.
But it would be nice if you were able to reproduce it …Franky
KeymasterIf there’s such a booking with an empty pdf and you resend the booking mail (via the mass action), is it then ok?
Also: it might be that – if you approve many bookings in one go – the pdf generation causes a timeout (but that should be visible in the approval). I’ll check here on when possible timeouts could happen too.Franky
KeymasterSorry but no. If it is not reliably reproducible, my best guess is still a memory issue at that time. Or a bug in the pdf-library EME uses, but that would cause issues for all generated pdf files.
Franky
KeymasterThose are just modsecurity logs (a web application firewall thing), and indicate no issue at the time of your mail. Two of those are for malicious requests to xmlrpc.php, 1 is with uri “/-/-/-/-/-/-/-/-/-/-/” (which is obviously also a malicious request).
So modsecurity was not the problem in this case.Franky
KeymasterThe escape characters I can’t reproduce, so I can’t fix it either 🙂
Franky
KeymasterThis fix goes on top of the first fix:
https://plugins.trac.wordpress.org/changeset/2682020/Franky
KeymasterTo workaround the bug: assign an existing group, save it and then unassign the existing group and save it.
The bugfix:
https://plugins.trac.wordpress.org/changeset/2682012/Edit: that fix is not complete, working on something better 🙂
Franky
KeymasterThis is just a guess, but for the empty-group thing: can it be you had a group defined , assigned it as a condition and then removed that group?
Franky
KeymasterYour problem was unrelated to the thread you posted into (see https://www.e-dynamics.be/wordpress/forums/topic/forum-post-guidelines/ ), so I’ve split it into another one.
However it was indeed also a typo, so I released 2.2.64 for this.Thu 17 Feb 2022 at 22:11 in reply to: generate invoice.pdf with chronological numbering upon approval of booking #63932Franky
KeymasterPayment IDs are (database wise) a primary key and auto-incremented. So it can never get reused. Accounting-wise, an invoice can never get cancelled but needs to be credited back.
If you really want to get a sequence-number, then you should provide your own counting-up mechanism somewhere and use the booking action “eme_insert_rsvp_action” to change the value of a custom field using that value. But then again, even then you’d have the cancel-problem, so the current suggested method seems just fine to me.
Also: in the current EME version you can use user confirmation for bookings, so they actually confirm a booking before getting the payment info. However, the payment random id is used to confirm the booking too, so it’d still leave a gap there.
I’m open to suggestions on improving this, but currently it works fine as is 🙂Franky
KeymasterThis is the correct value for rsvp_status: “1” is approved and “2” is pending
In fact the doc was always wrong for approval_status (it said the same: 1 for approved and 2 for pending, but there in fact it was reversed). Also: rsvp_status has more options (and more “ready for the future”):0=all, 1=approved, 2=pending 3=awaiting user confirmation. Default: 0
Franky
KeymasterGlad to hear. I corrected that typo within 30 minutes of the release (and I corrected the released version too), so for now I’ll wait for something extra before releasing again.
Franky
KeymasterHere it is working, but maybe you suffer from the same typo that crept in the latest version:
https://plugins.trac.wordpress.org/changeset/2680085I replaced the file within 30 minutes in the released version though, but if you were quicker than that …
Franky
KeymasterArghh … some “x” during my vi caused a typo …
This one-char is the fix:
https://plugins.trac.wordpress.org/changeset/2680085
(but WP trac seems down …)Franky
KeymasterI released a new version to make sure approval_status works (as before, but no longer documented) and to fix the button “mark paid and approve”
Franky
KeymasterIt is indeed a mixup with approval_status (I’ll correct it), but using rsvp_status (don’t mention approval_status) alone should work fine (mind you: for rsvp_status “1” is approved and “2” is pending)
Franky
KeymasterNo sorry, without error logs I can’t tell you more. 0 bytes means “something” went wrong, but without more log info the cause is just unknown.
Franky
KeymasterConfirmed, this should fix it:
https://plugins.trac.wordpress.org/changeset/2680024/Franky
KeymasterBtw: 2.2.62 should fix the bookings mixup again (so no longer trashed bookings too)
Franky
Keymaster#_COMMENT is per booking, not per attendee
Franky
KeymasterOk, this should fix it:
https://plugins.trac.wordpress.org/changeset/2679705/Franky
Keymastersorry, I focused on #_BOOKINGS, but [eme_mybookings] should be ok too. I’ll check again, maybe I’m overlooking something.
Franky
KeymasterI’m sorry, but that’s not somethinng I can reproduce here now. Here #_BOOKINGS works fine, trashed bookings are excluded
I also didn’t change the logic for #_BOOKINGS between 2.2.60 and 2.2.61, so that would be weird. If you have a demo setup where you can reproduce this, please forward me some admin account info so I can take a look (it might be some borderline case I currently miss).Tue 15 Feb 2022 at 23:04 in reply to: generate invoice.pdf with chronological numbering upon approval of booking #63902Franky
KeymasterAnd this should be ok too:
#_BOOKINGCREATIONDATE{Y}-#_BOOKINGIDTue 15 Feb 2022 at 22:51 in reply to: generate invoice.pdf with chronological numbering upon approval of booking #63898Franky
KeymasterWell, with the latest version you should be able to use
INVOICE / RECHNUNG<br> Invoice Date / Rechnungsdatum #_BOOKINGCREATIONDATE<br> Invoice No. / Rechnungsnr. #_BOOKINGCREATIONDATE{Y}-#_PAYMENTID
Franky
KeymasterIt is confirmed as a bug and will get fixed in 2.2.61 (to be released asap).
Franky
KeymasterThe bulk edit of a custom field is not something currently on my list, it is just too complex to integrate properly, while not a lot of people are asking for this.
Franky
KeymasterVersion 2.2.61 will also have the bulk actions to put massmail/gdpr to no
Franky
Keymasterdelete persons from a group is now a bulk option
Tue 15 Feb 2022 at 17:06 in reply to: generate invoice.pdf with chronological numbering upon approval of booking #63892Franky
KeymasterAdding such a number is not a task of EME. You can use the booking ID as number if you’d like, or the date/time of booking in a custom format.
For custom formatting, from the changelog (will be in 2.2.61):* Added placeholders #_CURDATE{xx}, #_CURTIME{xx}, #_BOOKINGPAYMENTDATE{xx}, #_BOOKINGPAYMENTTIME{xx}, #_BOOKINGCREATIONDATE{xx} and #_BOOKINGCREATIONTIME{xx} so you can format the layout to your liking (‘xx’ being the date/time format in php date notation)
Franky
KeymasterIs this still the case? I released 2.2.60 which should fix this.
Franky
KeymasterBtw, the current version of EME has #_MAILGROUPS{xx} (see the doc), so you can create subscribe/unsubscribe forms where people will also be added to those groups.
Franky
KeymasterIndeed, a typo after the last code changes.
This is the fix (add 2 lines in eme_rsvp.php and remove the words “AND” as indicated):
https://plugins.trac.wordpress.org/changeset/2678860/The change in eme_people is not relevant for you.
Franky
KeymasterI just realized that the email obfuscation filter also runs for html mails. A filter that replaces the email with javascript will thus render things unreadable in the mail. I’ve now added code to rectify that (will be in the next version).
Franky
KeymasterAnd I admit I wasn’t complete in my explanation either. Indeed: if a contact person was linked to an EME user, the info from that user was taken and the filter wasn’t applied. This is fixed with the last changeset above too. A byproduct of an older change a year or so ago … this last change should fix things.
Franky
KeymasterThere’s no such thing in the code that passes “part” of the email to the filter. However, only contact emails for an event/membership are obfuscated currently. This change should fix that so normal email addresses are obfuscated too (however I don’t understand why someone would show emails of a booker on the site):
https://plugins.trac.wordpress.org/changeset/2677925/Franky
KeymasterIt took my quite some hours of coding, but this will be possible in the next version. From the changelog:
Add an option to ask for user confirmation after a booking. The booking itself will stay marked as pending until the person has confirmed it. Also cleanup actions have been added to remove unconfirmed bookings (default: unconfirmed bookings older than 24 hours will get removed)
Franky
KeymasterAlso, see if this solves it:
https://plugins.trac.wordpress.org/changeset/2677459/Franky
KeymasterWhat do you mean with “The filter eme_email_obfuscate_filter is active, but not called by eme” ?
Also, what is the template/format you use to display your event?Franky
KeymasterCurrently that is not possible. I guess I could something similar to the payment link to achieve something like this, but it will need some development first.
Thu 10 Feb 2022 at 22:04 in reply to: After creating a new Event, EME won’t allow bookings there. #63865Franky
KeymasterWhat is your setting for “Per Standard Buchungen erlauben bis” in the generic EME options?
And per event “Buchungen erlauben bis” ?==> Please do change your admdin to English when telling me 🙂
Franky
KeymasterYes, indeed. The yes/no was inverted. I corrected the doc and added the fact that the EME person preference is taken if logged in and the wp user is linked to an EME user.
Thu 10 Feb 2022 at 19:34 in reply to: Event that consist of “sub events” with different dates #63860Franky
KeymasterI’m not sure if I understand the question. If you mean that you need to book for all 3 or none, then just let them book for the first event. The second and third can then point to the first one for the booking.
Franky
KeymasterOk, in this case the user is logged in, and then the user setting is taken.
Franky
KeymasterEME has a GDPR section in the settings, where you can configure the period after which to archive old mailings and remove old mails (the last part I added to the description for that setting, it was missing). I released a new version to clear that out.
Franky
Keymasterhumm … indeed. I checked #_OPT_IN/OUT for memberships, but not for events. Maybe I made a copy/paste there … let me check.
Franky
KeymasterNo, not possible.
EME only syncs the phone back to WP, for the rest it is if WP info changes for a user (firstname/lastname/email/phone) this info is pushed back to EME for a linked user.
What is the problem there?Franky
Keymaster#_OPT_IN preselects “no” (GDPR compliant), #_OPT_OUT preselects “yes” (not GDPR compliant).
If you switched from #_OPT_IN to #_OPT_OUT, make sure to do a shift-refresh of your browser as the field is called the same and the browser retains the selected state upon normal refresh of a page.Wed 9 Feb 2022 at 16:29 in reply to: show in my bookings only the events of specific categories? #63849Franky
KeymasterWell, your solution is ok too (I overlooked that you also use the event name). But if you want to compare a comma-separated list with a value (like #_ESC_CATEGORIES), use “notincsv” or “incsv” to do tests (csv comes from comma separated value).
Wed 9 Feb 2022 at 14:12 in reply to: show in my bookings only the events of specific categories? #63847Franky
Keymasterthe condition “notincsv” might be better to use.
But eme_bookings always require an event id, so I’m confused on your use case here, since the categories are applied to the event.Franky
KeymasterSince both events and people have the same placeholders for address info, only one can win 🙂
But for that you can use #_PERSONCITY etc, see https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-12-people/Tue 8 Feb 2022 at 20:59 in reply to: EME refused to send mails. (saved by the ghost in the machine, but:) #63838Franky
KeymasterI’m not really sure I understand the question, but if you mean that a user gets created when RSVP’ing, then you can disable that in the RSVP settings per event.
Tue 8 Feb 2022 at 17:14 in reply to: Apache log reports -> You have an error in your SQL syntax #63835Franky
KeymasterAny feedback on this?
Franky
KeymasterThanks to your info and test, I found the bug. Fix will be in the next version (but I applied it to your setup already). Fro the changelog:
”
Attendance check returned empty for qrcode scan if a booking was not paid and the user doing the scan was logged in
”The actual change is a one-word thing: https://plugins.trac.wordpress.org/changeset/2675074
Franky
Keymasterok, received. I’ll test
Franky
KeymasterNo reply or reaction?
Franky
KeymasterChange the title of the event 🙂
Or delete the event.
One thing is that currently EME has no state for cancelled events, so no extra header will be added that is visible in Google search metadata.Franky
KeymasterI just tested this as admin for a booking, and the url results in the expected info.
Some things:
– is the wordpress page empty (like a totally white page)?
– might some security plugin block things?
– anything in php/apache/nginx/wordpress error logfiles?
– Can you show an example (feel free to send me some temporary admin account info to franky@e-dynamics.be) ?Franky
KeymasterFor that you can leave the current add_action calling eme_insert_event_action.
Franky
KeymasterThe code is fine, but the eme_insert_event_action is now called on a different place, so no longer at db insert (but after some more actions done). This was needed for all info to be available in $event.
But since you use EMEFS, this action is no longer triggered. However, EMEFS foresees its own action hook for this: emefs_submit_event_action. So changeadd_action(’eme_insert_event_action’,’eme_mail_event’);
to
add_action(’emefs_submit_event_action’,’eme_mail_event’);
And you should be good to go.
Fri 4 Feb 2022 at 15:18 in reply to: Apache log reports -> You have an error in your SQL syntax #63818Franky
KeymasterI’m sorry, but that SQL statement generates no errors here … This is valid SQL in all my tests (I replace dev_site by my db prefix when I tested it):
SELECT DISTINCT groups.name FROM dev_site_eme_usergroups AS ugroups,dev_site_eme_groups AS groups WHERE ugroups.person_id = 5 AND ugroups.group_id=groups.group_idWhat does your mysql say if you execute that sql statement manually?
Franky
KeymasterThe 0 indicates it is not related to a multibooking (not relevant for you I’d say) and is the default, but for the subject I want to make sure it is text-only, so I need the following parameter (“text”) and therefore I also need to specify the 0. In php 8 one has named parameters, but since not everyone is on php 8 I can’t use those (yet).
-
AuthorPosts