Forum Replies Created
-
AuthorPosts
-
FrankyKeymaster
Sorry, 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.
FrankyKeymasterThat’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?
FrankyKeymasterI 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) …FrankyKeymasterThe 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.
FrankyKeymasterYou 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/FrankyKeymasterThose 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
FrankyKeymaster1) 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.FrankyKeymasterIt 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 …FrankyKeymasterSeveral 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.
FrankyKeymasterIs it possible to give me a temp admin account?
FrankyKeymasterConfirmed as a bug (typo). This should fix it:
https://plugins.trac.wordpress.org/changeset/2715432/FrankyKeymasterDid 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”
FrankyKeymasterNo feedback, so marking closed.
FrankyKeymasterDo you have the reminder mail templates configured? See EME settings => Mail templates => section “Booking Reminder Email”
FrankyKeymasterI 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.
FrankyKeymasterNo reply currently, so changing category.
FrankyKeymasterWhat is your mail sending method? Is that wp_mail or something else? Can it be (if wp_mail) some other plugin is filtering?
FrankyKeymasterI 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).
FrankyKeymasterThat 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?
FrankyKeymasterwhy 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.FrankyKeymasterYou have set your first line outside your php-tag, that will of course not work …
FrankyKeymasterThat 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');
FrankyKeymasterSorry 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.
FrankyKeymasterPost has been approved.
FrankyKeymasterThe schedule runs only once a day. So maybe check (with a plugin) the WP schedules, search for “eme_cron_daily_actions”.
FrankyKeymasterThe next version will have this
FrankyKeymasterCustom 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/
FrankyKeymasterSee 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/
FrankyKeymasterIndeed 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)
FrankyKeymasterThe 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.
FrankyKeymasterI’ve released 2.2.72, that fix is in it too.
FrankyKeymasterYou’re correct, I kept the minimum at 5 in there … this fixes it:
https://plugins.trac.wordpress.org/changeset/2708226/FrankyKeymasterPaypal 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).
FrankyKeymasterThe 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
FrankyKeymasterTo fix those small things, I released 2.2.71
FrankyKeymasterAnd 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/FrankyKeymasterWell 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.FrankyKeymasterIt did in my original tests … I’ll try on one of my live sites
FrankyKeymasterI’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)
FrankyKeymasterDid 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” tabFrankyKeymasterWell, 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_EMAILFrankyKeymasterEither change the setting “Booking recorded message” (in the RSVP settings) or the text above the payment buttons (in the Payment settings, tab ‘general options’).
FrankyKeymasterIn the released version that is not possible. I added the placeholder #_WAITINGLIST_POSITION in the dev version:
https://plugins.trac.wordpress.org/changeset/2705902/FrankyKeymasterForgot 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”
FrankyKeymasterFor 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? #64048FrankyKeymasterWell, 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? #64046FrankyKeymasterI 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? #64044FrankyKeymasterI’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? #64042FrankyKeymasterGlad 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? #64040FrankyKeymasterI 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? #64038FrankyKeymasterEven 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? #64037FrankyKeymasterWell, 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? #64035FrankyKeymaster36 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).FrankyKeymasterThis should fix it:
https://plugins.trac.wordpress.org/changeset/2698302/FrankyKeymasterHummm … maybe I forgot to add the partial info to the CSV export then. I’ll check
FrankyKeymasterhow 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.
FrankyKeymasterThis 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 …
FrankyKeymasterProblem found. My dev-version already solved it.
I’ll release a new version today to fix it in prod.FrankyKeymasterWell, 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.FrankyKeymasterIt 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? #64019FrankyKeymasterSorry, 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? #64016FrankyKeymasterWell, 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 😉FrankyKeymasterWell, it means but your initial example ‘[eme_if tag='#_IS_USER_IN_GROUP{Administrateurs,Party #_STARTDATE{Y}' value='1']‘
will work 🙂FrankyKeymasterWhile 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.
FrankyKeymasterSorry, but that is currently not possible
FrankyKeymasterI 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.FrankyKeymasterI 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? #63998FrankyKeymasterNew version releasedd, enjoy!
Sat 12 Mar 2022 at 21:36 in reply to: How do I set up different landing pages for different Events? #63996FrankyKeymasterOk, 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? #63994FrankyKeymasterI 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? #63992FrankyKeymasterif 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 🙂FrankyKeymasterGlad it works!
FrankyKeymasterIf 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 logsFrankyKeymasterWhen 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, …)
FrankyKeymasterIt is not a “generic email” but an “event email”, only then the #_INVITEURL gets replaced.
FrankyKeymasterselect 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 newerFrankyKeymasterIn 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).
FrankyKeymasterDo you use the #_INVITEURL placeholder, inside event emails? And are your events invite-only?
FrankyKeymasterSorry, 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/2691880FrankyKeymasterNormally, 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 #63968FrankyKeymasterThen 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.
FrankyKeymasterI 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).
FrankyKeymasterFor 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).
FrankyKeymasterYou 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.FrankyKeymasterI’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.
FrankyKeymasterEven 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).
FrankyKeymasterThe next version will show a small warning in the “mailings” tab if mail queuing is not activated.
FrankyKeymasterDo 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”
FrankyKeymasterTo 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 …FrankyKeymasterIf 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.FrankyKeymasterSorry 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.
FrankyKeymasterThose 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.FrankyKeymasterThe escape characters I can’t reproduce, so I can’t fix it either 🙂
FrankyKeymasterThis fix goes on top of the first fix:
https://plugins.trac.wordpress.org/changeset/2682020/FrankyKeymasterTo 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 🙂
FrankyKeymasterThis 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?
FrankyKeymasterYour 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 #63932FrankyKeymasterPayment 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 🙂FrankyKeymasterThis 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
FrankyKeymasterGlad 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.
FrankyKeymasterHere 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 …
FrankyKeymasterArghh … 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 …)FrankyKeymasterI 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”
FrankyKeymasterIt 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)
FrankyKeymasterNo 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.
FrankyKeymasterConfirmed, this should fix it:
https://plugins.trac.wordpress.org/changeset/2680024/FrankyKeymasterBtw: 2.2.62 should fix the bookings mixup again (so no longer trashed bookings too)
FrankyKeymaster#_COMMENT is per booking, not per attendee
FrankyKeymasterOk, this should fix it:
https://plugins.trac.wordpress.org/changeset/2679705/FrankyKeymastersorry, I focused on #_BOOKINGS, but [eme_mybookings] should be ok too. I’ll check again, maybe I’m overlooking something.
FrankyKeymasterI’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 #63902FrankyKeymasterAnd 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 #63898FrankyKeymasterWell, with the latest version you should be able to use
INVOICE / RECHNUNG<br> Invoice Date / Rechnungsdatum #_BOOKINGCREATIONDATE<br> Invoice No. / Rechnungsnr. #_BOOKINGCREATIONDATE{Y}-#_PAYMENTID
FrankyKeymasterIt is confirmed as a bug and will get fixed in 2.2.61 (to be released asap).
FrankyKeymasterThe 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.
FrankyKeymasterVersion 2.2.61 will also have the bulk actions to put massmail/gdpr to no
FrankyKeymasterdelete 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 #63892FrankyKeymasterAdding 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)
FrankyKeymasterIs this still the case? I released 2.2.60 which should fix this.
FrankyKeymasterBtw, 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.
FrankyKeymasterIndeed, 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.
FrankyKeymasterI 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).
FrankyKeymasterAnd 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.
FrankyKeymasterThere’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/FrankyKeymasterIt 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)
FrankyKeymasterAlso, see if this solves it:
https://plugins.trac.wordpress.org/changeset/2677459/FrankyKeymasterWhat 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?FrankyKeymasterCurrently 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. #63865FrankyKeymasterWhat 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 🙂
FrankyKeymasterYes, 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 #63860FrankyKeymasterI’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.
FrankyKeymasterOk, in this case the user is logged in, and then the user setting is taken.
FrankyKeymasterEME 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.
FrankyKeymasterhumm … indeed. I checked #_OPT_IN/OUT for memberships, but not for events. Maybe I made a copy/paste there … let me check.
FrankyKeymasterNo, 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?FrankyKeymaster#_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? #63849FrankyKeymasterWell, 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? #63847FrankyKeymasterthe 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.FrankyKeymasterSince 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:) #63838FrankyKeymasterI’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 #63835FrankyKeymasterAny feedback on this?
FrankyKeymasterThanks 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
FrankyKeymasterok, received. I’ll test
FrankyKeymasterNo reply or reaction?
FrankyKeymasterChange 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.FrankyKeymasterI 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) ?FrankyKeymasterFor that you can leave the current add_action calling eme_insert_event_action.
FrankyKeymasterThe 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 #63818FrankyKeymasterI’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?
FrankyKeymasterThe 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