Forum Replies Created

Viewing 150 posts - 301 through 450 (of 7,815 total)
  • Author
    Posts
  • in reply to: WordPress search for events #64153
    Franky
    Keymaster

    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.

    in reply to: several questions #64151
    Franky
    Keymaster

    That’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?

    in reply to: How to unsubscribe from the newsletter. #64150
    Franky
    Keymaster

    I 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) …

    in reply to: Combine EME with a staging environment #64149
    Franky
    Keymaster

    The 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.

    in reply to: How to unsubscribe from the newsletter. #64145
    Franky
    Keymaster

    You 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/

    in reply to: Combine EME with a staging environment #64143
    Franky
    Keymaster

    Those 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

    in reply to: several questions #64141
    Franky
    Keymaster

    1) 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.

    in reply to: EME SEO permalink error #64138
    Franky
    Keymaster

    It 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 …

    in reply to: Links being removed in event related email #64134
    Franky
    Keymaster

    Several 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 first

    I 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.

    in reply to: Links being removed in event related email #64132
    Franky
    Keymaster

    Is it possible to give me a temp admin account?

    in reply to: Default email BCC not working #64129
    Franky
    Keymaster

    Confirmed as a bug (typo). This should fix it:
    https://plugins.trac.wordpress.org/changeset/2715432/

    in reply to: Can’t get reminder emails working #64128
    Franky
    Keymaster

    Did 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”

    in reply to: Links being removed in event related email #64125
    Franky
    Keymaster

    No feedback, so marking closed.

    in reply to: Can’t get reminder emails working #64124
    Franky
    Keymaster

    Do you have the reminder mail templates configured? See EME settings => Mail templates => section “Booking Reminder Email”

    in reply to: Discount that changes with number of seats #64122
    Franky
    Keymaster

    I 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.

    in reply to: Permalink bug with shortcode [eme_calendar full=1] #64120
    Franky
    Keymaster

    No reply currently, so changing category.

    in reply to: Links being removed in event related email #64117
    Franky
    Keymaster

    What is your mail sending method? Is that wp_mail or something else? Can it be (if wp_mail) some other plugin is filtering?

    in reply to: WordPress search for events #64114
    Franky
    Keymaster

    I 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).

    in reply to: WordPress search for events #64112
    Franky
    Keymaster

    That 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?

    in reply to: Permalink bug with shortcode [eme_calendar full=1] #64110
    Franky
    Keymaster

    why 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.

    in reply to: WordPress search for events #64109
    Franky
    Keymaster

    You have set your first line outside your php-tag, that will of course not work …

    in reply to: Discount that changes with number of seats #64108
    Franky
    Keymaster

    That 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');
    
    in reply to: I got flagged as spam #64107
    Franky
    Keymaster

    Sorry 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.

    in reply to: I got flagged as spam #64103
    Franky
    Keymaster

    Post has been approved.

    in reply to: Birthday mails #64099
    Franky
    Keymaster

    The schedule runs only once a day. So maybe check (with a plugin) the WP schedules, search for “eme_cron_daily_actions”.

    in reply to: Approved Bookings custom columns #64094
    Franky
    Keymaster

    The next version will have this

    in reply to: Change order of custom fields? #64091
    Franky
    Keymaster

    Custom 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/

    in reply to: How do I remove the SEATS option in my form? #64090
    Franky
    Keymaster

    See 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/

    in reply to: Can’t add second Task #64088
    Franky
    Keymaster

    Indeed 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)

    in reply to: eme_mybookings shortcode is not working well #64085
    Franky
    Keymaster

    The 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.

    in reply to: Cron Settings, help please #64082
    Franky
    Keymaster

    I’ve released 2.2.72, that fix is in it too.

    in reply to: Cron Settings, help please #64081
    Franky
    Keymaster

    You’re correct, I kept the minimum at 5 in there … this fixes it:
    https://plugins.trac.wordpress.org/changeset/2708226/

    in reply to: Donation link not valid #64080
    Franky
    Keymaster

    Paypal 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).

    in reply to: Birthday mails #64074
    Franky
    Keymaster

    The 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

    in reply to: Birthday mails #64072
    Franky
    Keymaster

    To fix those small things, I released 2.2.71

    in reply to: Birthday mails #64071
    Franky
    Keymaster

    And 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/

    in reply to: Birthday mails #64070
    Franky
    Keymaster

    Well 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.

    in reply to: Birthday mails #64069
    Franky
    Keymaster

    It did in my original tests … I’ll try on one of my live sites

    in reply to: RSVP option Link bookings is unvisible #64067
    Franky
    Keymaster

    I’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)

    in reply to: Birthday mails #64065
    Franky
    Keymaster

    Did 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” tab

    in reply to: Have people apply for a (zero-payment) membership #64063
    Franky
    Keymaster

    Well, 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_EMAIL

    in reply to: Summary Customize #64061
    Franky
    Keymaster

    Either change the setting “Booking recorded message” (in the RSVP settings) or the text above the payment buttons (in the Payment settings, tab ‘general options’).

    in reply to: Show the position of bookings on the waitinglist #64058
    Franky
    Keymaster

    In the released version that is not possible. I added the placeholder #_WAITINGLIST_POSITION in the dev version:
    https://plugins.trac.wordpress.org/changeset/2705902/

    in reply to: Payments & other payment providers? #64056
    Franky
    Keymaster

    Forgot 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”

    in reply to: Creating a template to show group members #64053
    Franky
    Keymaster

    For 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).

    Franky
    Keymaster

    Well, queries down 28%, so all in all not that bad 🙂

    Franky
    Keymaster

    I implemented some small optimizations in dev, feel free to test out dev.

    Franky
    Keymaster

    I’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?

    Franky
    Keymaster

    Glad to be of help. I’m curious though: what is the performance gain? And what is the current number of queries?

    Franky
    Keymaster

    I hope you like the just released version, it should be a considerable speed gain for your page loading 🙂

    Franky
    Keymaster

    Even brought it down to 90 queries now, more optimizing would become too much.

    Franky
    Keymaster

    Well, 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 … 😉

    Franky
    Keymaster

    36 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).

    in reply to: Partial Payment – how to handle? #64034
    Franky
    Keymaster
    in reply to: Partial Payment – how to handle? #64033
    Franky
    Keymaster

    Hummm … maybe I forgot to add the partial info to the CSV export then. I’ll check

    in reply to: Partial Payment – how to handle? #64031
    Franky
    Keymaster

    how 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.

    in reply to: IP Address #64030
    Franky
    Keymaster

    This 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 …

    in reply to: Error after Update to Version 2.2.67 #64027
    Franky
    Keymaster

    Problem found. My dev-version already solved it.
    I’ll release a new version today to fix it in prod.

    in reply to: Error after Update to Version 2.2.67 #64025
    Franky
    Keymaster

    Well, 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.

    in reply to: Custom Fields sorting #64022
    Franky
    Keymaster

    It 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.

    Franky
    Keymaster

    Sorry, 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 …

    Franky
    Keymaster

    Well, 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 😉

    in reply to: …use placeholders in curly brackets inside tags? #64009
    Franky
    Keymaster

    Well, it means but your initial example ‘[eme_if tag='#_IS_USER_IN_GROUP{Administrateurs,Party #_STARTDATE{Y}' value='1']‘
    will work 🙂

    in reply to: …use placeholders in curly brackets inside tags? #64007
    Franky
    Keymaster

    While 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.

    in reply to: Custom Field date format #64005
    Franky
    Keymaster

    Sorry, but that is currently not possible

    in reply to: …use placeholders in curly brackets inside tags? #64003
    Franky
    Keymaster

    I 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.

    in reply to: …use placeholders in curly brackets inside tags? #64000
    Franky
    Keymaster

    I 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 …

    Franky
    Keymaster

    New version releasedd, enjoy!

    Franky
    Keymaster

    Ok, 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.

    Franky
    Keymaster

    I do not understand what you mean with “landing page”

    Franky
    Keymaster

    if 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 🙂

    in reply to: How do I send a PDF ticket ? #63990
    Franky
    Keymaster

    Glad it works!

    in reply to: How do I send a PDF ticket ? #63988
    Franky
    Keymaster

    If 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 logs

    in reply to: How do I send a PDF ticket ? #63986
    Franky
    Keymaster

    When 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, …)

    in reply to: How do I pre-populate the RSVP form #63984
    Franky
    Keymaster

    It is not a “generic email” but an “event email”, only then the #_INVITEURL gets replaced.

    in reply to: How do I send a PDF ticket ? #63982
    Franky
    Keymaster

    select 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 newer

    in reply to: How do I remove the SEATS option in my form? #63979
    Franky
    Keymaster

    In 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).

    in reply to: How do I pre-populate the RSVP form #63977
    Franky
    Keymaster

    Do you use the #_INVITEURL placeholder, inside event emails? And are your events invite-only?

    in reply to: …use placeholders in curly brackets inside tags? #63975
    Franky
    Keymaster

    Sorry, 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/2691880

    in reply to: How do I pre-populate the RSVP form #63974
    Franky
    Keymaster

    Normally, 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?

    Franky
    Keymaster

    Then 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.

    in reply to: Partial Payment – how to handle? #63965
    Franky
    Keymaster

    I 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).

    in reply to: Partial Payment – how to handle? #63964
    Franky
    Keymaster

    For 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).

    in reply to: Partial Payment – how to handle? #63962
    Franky
    Keymaster

    You 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.

    in reply to: add image in events description does nothing #63960
    Franky
    Keymaster

    I’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.

    in reply to: Event Related Email Sent but not showing in Mailings #63955
    Franky
    Keymaster

    Even 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).

    in reply to: Event Related Email Sent but not showing in Mailings #63954
    Franky
    Keymaster

    The next version will show a small warning in the “mailings” tab if mail queuing is not activated.

    in reply to: Event Related Email Sent but not showing in Mailings #63952
    Franky
    Keymaster

    Do 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”

    in reply to: Pdf Attachment has 0 bytes #63950
    Franky
    Keymaster

    To 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 …

    in reply to: Pdf Attachment has 0 bytes #63948
    Franky
    Keymaster

    If 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.

    in reply to: Pdf Attachment has 0 bytes #63946
    Franky
    Keymaster

    Sorry 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.

    in reply to: Pdf Attachment has 0 bytes #63944
    Franky
    Keymaster

    Those 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.

    in reply to: Escape characters introduced in Textarea Custom Field #63941
    Franky
    Keymaster

    The escape characters I can’t reproduce, so I can’t fix it either 🙂

    in reply to: Escape characters introduced in Textarea Custom Field #63940
    Franky
    Keymaster

    This fix goes on top of the first fix:
    https://plugins.trac.wordpress.org/changeset/2682020/

    in reply to: Escape characters introduced in Textarea Custom Field #63938
    Franky
    Keymaster

    To 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 🙂

    in reply to: Escape characters introduced in Textarea Custom Field #63937
    Franky
    Keymaster

    This 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?

    in reply to: Multiseat problem #63935
    Franky
    Keymaster

    Your 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.

    Franky
    Keymaster

    Payment 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 🙂

    in reply to: Use of Approval_status in eme_bookings #63928
    Franky
    Keymaster

    This 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

    in reply to: Attendees List dont show #_COMMENT #63926
    Franky
    Keymaster

    Glad 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.

    in reply to: Use of Approval_status in eme_bookings #63924
    Franky
    Keymaster

    Here it is working, but maybe you suffer from the same typo that crept in the latest version:
    https://plugins.trac.wordpress.org/changeset/2680085

    I replaced the file within 30 minutes in the released version though, but if you were quicker than that …

    in reply to: Attendees List dont show #_COMMENT #63922
    Franky
    Keymaster

    Arghh … 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 …)

    in reply to: Use of Approval_status in eme_bookings #63920
    Franky
    Keymaster

    I 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”

    in reply to: Use of Approval_status in eme_bookings #63919
    Franky
    Keymaster

    It 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)

    in reply to: Pdf Attachment has 0 bytes #63917
    Franky
    Keymaster

    No 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.

    in reply to: mark payed and approve button #63914
    Franky
    Keymaster
    in reply to: Attendees List dont show #_COMMENT #63912
    Franky
    Keymaster

    Btw: 2.2.62 should fix the bookings mixup again (so no longer trashed bookings too)

    in reply to: Attendees List dont show #_COMMENT #63911
    Franky
    Keymaster

    #_COMMENT is per booking, not per attendee

    in reply to: [eme_mybookings] shows “No bookings found” #63908
    Franky
    Keymaster
    in reply to: [eme_mybookings] shows “No bookings found” #63907
    Franky
    Keymaster

    sorry, I focused on #_BOOKINGS, but [eme_mybookings] should be ok too. I’ll check again, maybe I’m overlooking something.

    in reply to: [eme_mybookings] shows “No bookings found” #63904
    Franky
    Keymaster

    I’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).

    Franky
    Keymaster

    And this should be ok too:
    #_BOOKINGCREATIONDATE{Y}-#_BOOKINGID

    Franky
    Keymaster

    Well, with the latest version you should be able to use

    INVOICE / RECHNUNG<br>
    Invoice Date / Rechnungsdatum #_BOOKINGCREATIONDATE<br>
    Invoice No. / Rechnungsnr. #_BOOKINGCREATIONDATE{Y}-#_PAYMENTID
    in reply to: #_ATTENDEES showing canceled reservation #63896
    Franky
    Keymaster

    It is confirmed as a bug and will get fixed in 2.2.61 (to be released asap).

    in reply to: Bulk actions persons #63895
    Franky
    Keymaster

    The 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.

    in reply to: Bulk actions persons #63894
    Franky
    Keymaster

    Version 2.2.61 will also have the bulk actions to put massmail/gdpr to no

    in reply to: Bulk actions persons #63893
    Franky
    Keymaster

    delete persons from a group is now a bulk option

    Franky
    Keymaster

    Adding 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)

    in reply to: #_ATTENDEES showing canceled reservation #63890
    Franky
    Keymaster

    Is this still the case? I released 2.2.60 which should fix this.

    in reply to: How do i deal with newsletter subscriptions ? #63886
    Franky
    Keymaster

    Btw, 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.

    in reply to: [eme_mybookings] shows “No bookings found” #63885
    Franky
    Keymaster

    Indeed, 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.

    in reply to: Event tamplate + #_contacemail #63880
    Franky
    Keymaster

    I 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).

    in reply to: Event tamplate + #_contacemail #63877
    Franky
    Keymaster

    And 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.

    in reply to: Event tamplate + #_contacemail #63875
    Franky
    Keymaster

    There’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/

    in reply to: Double-opt-in for booking form #63872
    Franky
    Keymaster

    It 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)

    in reply to: Event tamplate + #_contacemail #63871
    Franky
    Keymaster
    in reply to: Event tamplate + #_contacemail #63870
    Franky
    Keymaster

    What 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?

    in reply to: Double-opt-in for booking form #63868
    Franky
    Keymaster

    Currently 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.

    Franky
    Keymaster

    What 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 🙂

    in reply to: #_OPT_IN pre-selects “No” #63863
    Franky
    Keymaster

    Yes, 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.

    Franky
    Keymaster

    I’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.

    in reply to: #_OPT_IN pre-selects “No” #63859
    Franky
    Keymaster

    Ok, in this case the user is logged in, and then the user setting is taken.

    in reply to: How do i delete old mails in EME-System #63857
    Franky
    Keymaster

    EME 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.

    in reply to: #_OPT_IN pre-selects “No” #63856
    Franky
    Keymaster

    humm … indeed. I checked #_OPT_IN/OUT for memberships, but not for events. Maybe I made a copy/paste there … let me check.

    in reply to: Connection between WP user and EME contact person #63853
    Franky
    Keymaster

    No, 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?

    in reply to: #_OPT_IN pre-selects “No” #63851
    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.

    Franky
    Keymaster

    Well, 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).

    Franky
    Keymaster

    the 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.

    in reply to: QR scanning different results on different phones #63841
    Franky
    Keymaster

    Since 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/

    Franky
    Keymaster

    I’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.

    Franky
    Keymaster

    Any feedback on this?

    in reply to: QR scanning different results on different phones #63834
    Franky
    Keymaster

    Thanks 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

    in reply to: QR scanning different results on different phones #63833
    Franky
    Keymaster

    ok, received. I’ll test

    in reply to: QR scanning different results on different phones #63831
    Franky
    Keymaster

    No reply or reaction?

    in reply to: …cancel an event? #63830
    Franky
    Keymaster

    Change 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.

    in reply to: QR scanning different results on different phones #63827
    Franky
    Keymaster

    I 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) ?

    in reply to: e-mail information sent to a group at each new event #63822
    Franky
    Keymaster

    For that you can leave the current add_action calling eme_insert_event_action.

    in reply to: e-mail information sent to a group at each new event #63820
    Franky
    Keymaster

    The 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 change

    
    add_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.

    Franky
    Keymaster

    I’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_id

    What does your mysql say if you execute that sql statement manually?

    in reply to: Use EME Templates with eme_send_mail function? #63815
    Franky
    Keymaster

    The 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).

Viewing 150 posts - 301 through 450 (of 7,815 total)
Scroll to Top