Forum Replies Created

Viewing 150 posts - 1,051 through 1,200 (of 7,815 total)
  • Author
    Posts
  • in reply to: Problems with confirmation Emails #62335
    Franky
    Keymaster

    The “Booking deleted” message (shown when someone cancels his own booking) is translated using WP. If that is not in your language, you can contribute to the translation project 🙂
    eme_mybookings has no option called category_id, but shows a logged-in user all his bookings for all events. You can use the template_id option to show a specific template (that is repeated for each booking), together with a template_id_header/footer.
    It does interpret all booking placeholders (and as such also all event placeholders), so, use in your template an eme_if, with something like:

    [eme_if tag=#_EVENTCATEGORIES incsv=1]show my booking cancel url for category 1: #_CANCEL_URL[/eme_if]
    [eme_if tag=#_EVENTCATEGORIES incsv=3]show my booking cancel url for category 3: #_CANCEL_URL[/eme_if]
    etc ...

    It is possible that the dev-version is needed (it expands incsv to split on both “,” and “, “)

    in reply to: Option to Force Category Selection #62333
    Franky
    Keymaster

    I added the option to filter events for validation. From the changelog:

    Added filter eme_validate_event_filter with 2 options (event and string with existing validation issues), to allow adding own validation rules for the created event. If the output of the filter is not empty, the event will not be inserted in the db and the returned text will be shown as a validation error instead.

    in reply to: Add a custom field to booking form #62332
    Franky
    Keymaster

    This is again in the doc: https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-4-rsvp-mails/ , search for DISCOUNT
    Please also read this post before asking questions unrelated to the initial question:
    https://www.e-dynamics.be/wordpress/forums/topic/forum-post-guidelines/

    in reply to: From where I can test the mails? #62328
    Franky
    Keymaster

    EME menu section “Email management”, tab “Test email”
    Edit: in the next version, I’ll add a link to this as well.

    in reply to: Captcha Image disappeared #62325
    Franky
    Keymaster

    I moved it to the correct thread, sorry (it is your other thread about memberships).

    in reply to: implement Google reCAPTCHA #62182
    Franky
    Keymaster

    This is now implemented in the development version and will be in the next release.

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

    Btw: the way I do it: I work with people in EME and just add them to a group if they are “approved”. Using the extra “Field condition” when creating a custom field of type “People”, I can then show extra custom fields per person if e.g. a member of the group “volunteers”.
    I use this to keep track of the date they started as a volunteer, if they signed the volunteer agreement etc …

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

    It’s not there yet, that takes a huge amount of coding 🙂
    But for now: are free memberships sufficient then?

    in reply to: Captcha Image disappeared #62179
    Franky
    Keymaster

    Well, it took me some hours but I think I got the recaptcha working (only v2 with the checkbox, otherwise too much playing needed with javascript).

    in reply to: Captcha Image disappeared #62177
    Franky
    Keymaster

    recaptcha has other limitations: first of all, it is a google product with usage limits (the same reason why I switched to openstreetmap in the first place). Second: it has issues with multiple forms on one page (which is requested to be possible). Basic code is in place, but I’m reluctant to spend time on that if the second issue can’t get resolved …

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

    If for volunteers: then I imagine they don’t need to pay at all, no? EME can cope with free memberships without problems (just set the price at 0 and no payment options will be shown). Is that not sufficient then?
    Someone else did it using #_SEATS{1} for regular users and #_SEATS{2} for logged in users (and that second one is for volunteers to subscribe in the event to help).
    I know that currently volunteer management is not yet incorporated in EME. I’m thinking about the best options here, since for volunteers you need per event: different functions and timeslots per day, and per that function/timeslot an indication of how many people are needed (think in terms of “people behind the bar: from 9-10 2 people, from 10-12 4 people” and “helpers on the field: 9-12: 6 people” etc …).
    So I need to code this, and think about how people can subscribe to it then …

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

    Memberships have no notion of “approval”. While you can mark a member as “active”, I see no real-life use-case for memberships where you would mark a member as active without them paying for it first …
    Of course you can send them via the members-page a mail with the payment link, but why go through that manual process? Are you doing member-evaluations of some kind?

    in reply to: Captcha Image disappeared #62169
    Franky
    Keymaster

    Due to the fact that some themes/plugins add an empty line at the top of the html output rendered, this renders programmatically rendered images unusable. I’m now moving that action higher up the chain (before the theme is even being called), so this should work better. I’m still evaluating the possible issues with this, but it is looking ok so far.

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

    Well, the option is in it, but when editing an event there’s a small issue causing the option to not be correctly loaded and thus reset. I’ll update your version to work around it (fix is already in dev too).

    in reply to: Captcha Image disappeared #62167
    Franky
    Keymaster

    Well, in the html output the empty line is still present. I’m not sure who’s generating that line …
    I edited the EME plugin to hook into wordpress even earlier (there’s a hook called “init”, but apparently setup_theme comes before that and also before the theme gets loaded). This seems to resolve the empty-line issue causing the image not to show.

    in reply to: Captcha Image disappeared #62163
    Franky
    Keymaster

    The captcha is not google-related, so it is not invalid.
    I checked your theme: it inserts an empty line at the top. I edited the header.php file and removed the empty line, but I assume some caching is still going on as the empty line remains. If you can clear the cache (or remove the empty line in the theme if not in header.php) then the image will appear just fine.

    Franky
    Keymaster

    Or more easy: don’t use inline styling, but add a css-class of your own making to it, and in your theme then define the styling rules for that css class.

    Franky
    Keymaster

    See also: https://developer.wordpress.org/reference/hooks/safecss_filter_attr_allow_css/
    If you want to use “rgba()” notation, you can create your own filter and allow it (so you can use other colors).

    Franky
    Keymaster

    That’s because it contains ‘(‘ which wordpress (again) considers unsafe …
    Try:
    <table style="width: 100%; border-collapse: collapse; box-shadow: 3px 3px 9px 0px red;">

    Franky
    Keymaster

    If you can post a minimal html (css included) that works and the result wordpress makes of it, then I can see too. I imagine some style tag is added and that might get filtered out too, so under extra html-tags you should probably add your html tag with the style attribute. An example for span:
    span,style

    in reply to: Captcha Image disappeared #62153
    Franky
    Keymaster

    @G_Woman : any info on the captcha? If possible/wanted: give me temp access to some test site or so, so I can see if something easy needs fixing.

    Franky
    Keymaster

    That’s probably wordpress removing unwanted html tags/values. Fortunately EME can help you keep those. See the EME Settings, tab “Other”, the section about “Extra html tags”.

    Franky
    Keymaster

    I need to change the explanation for the generic “default email address” and name. Because it is best to leave those empty, in which case the contact info per event/membership will be taken as sender.

    Franky
    Keymaster

    If you use the “waiting” list, it means you switch a booking between the waiting list and actual pending. So moving a booking from the waiting list just makes it a regular pending booking.

    Franky
    Keymaster

    Ok, and which command then? Because if something is not working, I need to fix it 🙂

    Franky
    Keymaster

    “I was trying to remove people from the pending list, but that command didn’t work.” ==> which command are you talking about? There is such a thing as pending bookings, but not pending people.

    in reply to: Captcha Image disappeared #62141
    Franky
    Keymaster

    The captcha should work just fine. EME detects if php-gd is installed and active for it to be used, but otherwise I don’t see a reason for it not working.

    in reply to: use html in individual event mails #62140
    Franky
    Keymaster

    The next version will have a small improvement for this.

    Franky
    Keymaster

    The next version will have a new conditional event placeholder #_IS_REGISTERED_PAID , to check if a logged-in person is already registered and has no unpaid bookings for the event.
    See: https://plugins.trac.wordpress.org/changeset/2482622/

    Franky
    Keymaster

    Next to that, in a single event template, you can use eme_if to show/hide certain content too. And the cancel form can be added outside eme_if:

    [eme_if tag='#_IS_REGISTERED' value='1']#_NOTES blablabla[/eme_if]
    #_CANCELBOOKINGFORM_IF_REGISTERED

    Of course the is_registered check is not enough if they haven’t paid yet. But checking a booking for paid is not possible on an event level (one person can make multiple bookings by default). What I could do is add some is_paid placeholder that then checks for all bookings for the logged-in person for that event and returns 1 if all bookings are paid for. But that’s not in the code yet.

    Franky
    Keymaster

    If you just want to restrict access to content on a page, you do can use several EME placeholders together with eme_if to restrict access to logged-in users:

    #_IS_USER_IN_GROUP{xxx}
    #_IS_USER_MEMBER_OF{xxx}
    #_IS_USER_MEMBER_PENDING{xxx}
    #_IS_USER_MEMBER_EXPIRED{xxx}
    #_USER_HAS_ROLE{xxx}
    #_USER_HAS_CAP{xxx}

    See https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-1-conditional-tags/
    So you don’t really need memberships, but you can use EME groups too to restrict access. Configuring the access via EME memberships is easier though, since that can be done on the page in WP via added EME access settings.

    Franky
    Keymaster

    I think there’s misunderstanding here: when sending a booking-related mail (pending/approved/…) you can use placeholders inside that mail. #_PAYMENT_URL is such a placeholder and points people to a payment page. It’s the only valid way to have people pay afterwards for a booking. No need to create own pages for that.

    Franky
    Keymaster

    I don’t really understand what you’re asking here … if you have a page that you don’t want people to see, use EME memberships or wrap your content in eme_if statements with placeholders that can be used outside events (not those that you’re giving as an example). See https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-1-conditional-tags/ , search for “generic placeholders”. #_IS_REGISTERED does not take an argument, so your statement is not correct there (it is only to be used inside an event template). Also your statement reads to only show the booking form
    Anyway, the latest EME version has the option to not show the payment form after registration (so you need to send them the payment url via email upon approving or so).

    in reply to: Change CSV Export Headings #62125
    Franky
    Keymaster

    I forgot to add the else-statement:

    function my_eme_csv_column_filter($line,$event,$line_nbr) {
       if ($line_nbr==1) {
          $out_line=$line;
          $out_line[1]="my custom header for last name";
          $out_line[9]="my custom header for email";
          return $out_line;
       } else {
          return $line;
       }
    }
    add_filter('eme_csv_column_filter','my_eme_csv_column_filter',10,3);

    And the CSV is delimited by what you define in your settings (default is ‘,’ so when opening that in excel or so, make sure to split on that).

    in reply to: Change CSV Export Headings #62122
    Franky
    Keymaster

    And what exactly are you struggling with? The example at https://www.e-dynamics.be/wordpress/category/documentation/12-hooks-and-filters/ seems pretty clear to me for that filter. For the first line, just add an extra check on $line_nr==1.
    Since per line, the column starts at index 0, by default the index for last name is 1 and for email it is 9. So:

    function my_eme_csv_column_filter($line,$event,$line_nbr) {
       if ($line_nbr==1) {
          $out_line=$line;
          $out_line[1]="my custom header for last name";
          $out_line[9]="my custom header for email";
          return $out_line;
       }
    }
    add_filter('eme_csv_column_filter','my_eme_csv_column_filter',10,3);
    in reply to: Change CSV Export Headings #62120
    Franky
    Keymaster

    The same filter (eme_csv_column_filter) applies to the column headings line too.

    Franky
    Keymaster

    You did not use the correct syntax:

    – your fields need to be all enclosed with a delimiter (default is double quotes: “), then the category id will already work
    – For properties: https://www.e-dynamics.be/wordpress/category/documentation/19-csv-import/csv-import-events-and-locations/ : use “prop_map_icon” for your map_icon property.

    I’ve mailed you an example.

    in reply to: Captcha Image disappeared #62116
    Franky
    Keymaster

    The only way the image doesn’t get generated is if the php extension gd is not loaded, or if you haven’t activated the EME option to use the captcha for forms (in the EME options, tab “General”).

    Franky
    Keymaster

    Would you mind sending me a csv example file containing the headers and a line for the category_ids and for the balloon? I’ll try it here too.
    For what I can see: location_category_ids is text (so make sure it is enclosed in double quotes), but import should work.

    in reply to: Mollie submit button not visible #62112
    Franky
    Keymaster

    Are you talking about the Mollie payment interface (hosted at Mollie), or the submit button on the regular EME page that says something like “click here to pay with Mollie”?
    In the first case there’s nothing I can do (Mollie), in the second case I think it is a html issue then (in which case: send me a payment url via mail, then I can evaluate the resulting html).

    in reply to: How to let people pay AFTER approvement #62110
    Franky
    Keymaster

    The changelog is for the next version 🙂

    in reply to: How to let people pay AFTER approvement #62108
    Franky
    Keymaster

    That’s indeed one way of doing it.
    And from the changelog: “Allow to skip payment directly after booking”
    Feel free to make a donation 😉

    in reply to: How to let people pay AFTER approvement #62106
    Franky
    Keymaster

    It is either refunding or a new option for EME to be developed … I can be persuaded you know 🙂

    in reply to: How to let people pay AFTER approvement #62104
    Franky
    Keymaster

    Well, you indicate that the event can’t be paid for via Mollie (only offline), but then you want them to pay via Mollie later on. That’s a problem 🙂
    A workaround: keep Mollie in the picture and configure in the EME options a huge “Redirect wait period” (so people won’t be inclined to wait before being redirected to Mollie, and you can put in your message whatever you want). Do note that this redirect wait period is used for everything that requires a payment (memberships too then).
    Also: EME has the refund option that can be used for Mollie, so when refusing a booking the refund can happen by just selecting the option “Refund if possible” when declining a booking.

    in reply to: Problems with payment (Mollie) #62101
    Franky
    Keymaster

    Send me an email on franky@e-dynamics.be (it is also mentioned on the homepage).

    in reply to: Problems with payment (Mollie) #62098
    Franky
    Keymaster

    The paid status you can see (see the hint on showing/hiding columns), but I’m still interested in understanding the mail issue. Could I have a demo of that? And/or a temp admin account?

    in reply to: use html in individual event mails #62095
    Franky
    Keymaster

    Hi,
    if not using templates indeed the box is text-only but does allow html.
    The reason is that there are javascript issues when trying to use hidden html-editors on a page. So I recommend to use templates in there too.

    in reply to: Prevent duplication of Members when they renew #62094
    Franky
    Keymaster

    It is already in the code, so feel free to download the dev-version from https://wordpress.org/plugins/events-made-easy/advanced/ if it is urgently needed.

    in reply to: Problems with payment (Mollie) #62091
    Franky
    Keymaster

    Concerning the first issue: I don’t immediately see any issue in the code. This is the part that marks a payment as paid:

       // The payment is paid and isn't refunded or charged back
       if ($mollie_payment->isPaid() && !$mollie_payment->hasRefunds() && !$mollie_payment->hasChargebacks()) {
          eme_mark_payment_paid($payment_id,1,$gateway,$mollie_payment_id);
       }

    I’ll try with an account from Mollie here too (but that takes time), but is it possible the payment got set to Paid afterwards? Because if you see the fail template, that means that at time it was not marked as Paid in the system. I don’t react to “not-paid” events from Mollie, so the only other possibility is that the member got marked Paid manually in the backend.
    And indeed, EME doesn’t send out notifications about payment failures with a payment gateway, that’s the responsibility of the payment gateway (in EME this just leaves the member as-is, so he can come back later on to pay).

    in reply to: Problems with payment (Mollie) #62090
    Franky
    Keymaster

    I’ll verify the first issue (later today), concerning the second question: you can show additional columns in the members overview (see the hint: “Hint: rightclick on the column headers to show/hide columns”).

    Franky
    Keymaster

    Based on your screenshot, using header/footer templates (and change the template per entry too then of course) should work just fine.

    Franky
    Keymaster

    I’m a bit unsure about your question: [eme_events] already shows events in a list, and using the optional header/footer templates you can change the “list” to your liking (default is html “ul” list style). If you need a specific event in a section on your page, I’d recommend to use EME categories for that (or [eme_event] with the event-id, but that’s not as flexible).

    in reply to: Send mail on event PUBLISHING #62081
    Franky
    Keymaster

    Reason was that event_id was not given for the new event (in your php logs this would show and also your print_r of the original event would show a lot of info missing). Try this small change:
    https://plugins.trac.wordpress.org/changeset/2477870/

    in reply to: Prevent duplication of Members when they renew #62079
    Franky
    Keymaster

    The next version has this extra change implemented:
    “Allow expired members to sign up again too: this will change nothing in the db but they will be pointed to the membership payment page”

    in reply to: Prevent duplication of Members when they renew #62078
    Franky
    Keymaster

    Indeed, expired members that completely sign up again are considered new members. If you want people to be able to renew an expired membership, you should mail them the payment url link to pay online (see the doc). That way they can renew an expired membership.
    You also have the grace period option, to allow people to pass the end date for a certain period.
    I’ll review the code a bit too, maybe I can more easily take expired into account too …

    in reply to: Filter Form – clear all #62075
    Franky
    Keymaster

    The form is resubmitted when you refresh the page, so it is logical the params stay selected. Just add a “clear” link pointing to the url of your page itself and you’re good to go.
    Reset buttons are believed to clutter the interface: https://www.nngroup.com/articles/reset-and-cancel-buttons/

    in reply to: Related to the Mails #62073
    Franky
    Keymaster

    If you have email queueing activated in EME (which is the default), check out the “Scheduled actions” section, where you can influence the email bulk settings (and also has a hint on how to improve WP cron settings for the advanced users).

    in reply to: Send personalized PDF-attachments after events #62069
    Franky
    Keymaster

    sorry, but to avoid any security issues, this is not possible.

    Franky
    Keymaster

    Hi,

    yes, there’s a change in EME where it validates via jquery now and that will look at the maxlength of those 2 fields. This is indeed a small unwanted side-effect if your wordpress preference is so that the time is more than 8 chars. This should fix it (remove ‘maxlength=”8″‘ in 2 lines in eme_events.php):
    https://plugins.trac.wordpress.org/changeset/2475763/

    in reply to: Related to the Mails #62064
    Franky
    Keymaster

    Check your EME settings, tab “Mail”, see options “Enable pending RSVP e-mails” and/or “Enable approved RSVP e-mails”

    in reply to: Send mail on event PUBLISHING #62061
    Franky
    Keymaster

    You can use the filter eme_event_preupdate_filter if you’d want for that. Just return the same $event on the end (no modif needed), and get the original event using eme_get_event:

    add_filter('eme_event_preupdate_filter','my_pre_filter');
    function my_pre_filter($event) {
       $orig_event=eme_get_event($event['event_id']);
       ...
       return $event;
    }

    Using that code you have the original event ($orig_event) and the new one ($event), so you can compare the status for the 2 and do what is needed if wanted.

    in reply to: Automatically remove pending members #62059
    Franky
    Keymaster

    I’ll check that maybe there’s a wrap if the number of days difference exceed a year …

    in reply to: Automatically remove pending members #62057
    Franky
    Keymaster

    If the end date was not empty, then the expired check is done based on that date.

    in reply to: Automatically remove pending members #62055
    Franky
    Keymaster

    I checked the code, and it takes the end date into account. Only if the end date is empty, it takes the start date. Was the end date empty for some reason?
    Edit: in the meantime I changed the code a bit (since only the end date should be taken into account anyway).

    in reply to: Automatically remove pending members #62053
    Franky
    Keymaster

    In the EME options, you have a tab on “data protection” (or gdpr, …) and there you have a setting “Automatically remove expired members”. If that’s not 0, then those will get deleted.

    in reply to: Automatically remove pending members #62050
    Franky
    Keymaster

    If you have no new members since, you can restore the table called wp_eme_members (the prefix “wp_” might be different).
    Of course safer would be if you knew the member id’s, so you can restore specific lines.
    Also, if your membership contains answers to custom fields, you need to restore the corresponding lines in wp_eme_answers too (based on member id).

    in reply to: Self management of people data #62048
    Franky
    Keymaster

    This is now possible, so moving to closed.

    in reply to: Send personalized PDF-attachments after events #62047
    Franky
    Keymaster

    This is now possible, so moving to closed.

    in reply to: issue with the custom fields #62046
    Franky
    Keymaster

    – What is the complete definition of your custom field?
    – Why do you think the data is not saved?

    in reply to: Mailchimp integration #62044
    Franky
    Keymaster

    It is clearly marked when you create an event.
    Sorry, but you need to start testing things out. Create an event, config the rsvp settings and check out the resulting mails.

    in reply to: Mailchimp integration #62042
    Franky
    Keymaster

    respondent is the person doing the booking, contact person is the contact person you defined for the event
    Templates are clearly explained in the EME settings, see “mail templates”

    in reply to: Mailchimp integration #62038
    Franky
    Keymaster

    I’ve no idea what you mean with “Mailchimp Account mail notification”. Mailchimp can be used as an smtp server, just like any other mailserver. But you need to talk to mailchimp for more info I guess.
    EME can queue mails internally, send them in batches and optionally keep track of reads. The “send” part is completely up to you to configure, see the EME settings, tab “Mail”, setting “Mail sending method” and the ones below that setting.

    in reply to: csv import members #62034
    Franky
    Keymaster

    The csv export is more a frontend export, not a db export. But the next version will make the error messages upon import a bit more clear too (code ready already) 🙂

    in reply to: csv import members #62032
    Franky
    Keymaster

    Like the doc states:
    The columns “start_date”, “end_date” and “creation_date” should be in the format YYYY-MM-DD

    Maybe I should show some validation error beforehand, but that would mean to walk through every line … I’ll see how to handle that a bit better

    in reply to: csv import members #62030
    Franky
    Keymaster

    Well, you found your own problem: the columns are indeed “lastname”,”firstname”,”email”,”membership” and “start_date”. In both your examples you did not use those.

    in reply to: Add a custom field to booking form #62029
    Franky
    Keymaster

    Please see the instructional video for that last question.

    in reply to: Add a custom field to booking form #62025
    Franky
    Keymaster

    Different steps:
    – create your custom fields (type ‘rsvp’ is preferred)
    – create your template with those custom fields to show as you’d like on the frontend
    – in “dynamic data” a condition example would be:

    Field: “#_SEATS” (or if you have seats with different prices: “#_SEATS{1}” or “#_SEATS{2}” or …)
    Condition example: “greater than”
    Condition value: “1”
    Template: your template
    (template header/footer are optional and will be used to show up above/below your added template in the form, usefull if you want to repeat this template)
    Repeat: “yes” (this will repeat your template for each value where #_SEATS>1 in this example)

    in reply to: Problems on set up: Blank events page #62023
    Franky
    Keymaster

    no reply, moving to generic for now.

    in reply to: Mailchimp integration #62022
    Franky
    Keymaster

    EME has its own mail queuing mechanism, so I don’t support others here. You can use the SMTP integration to use the mailchimp smtp service or any other smtp provider if you want to.
    Also EME can use “wordpress mail” as mail sending mechanism, so anything that hooks into that can also be used then.

    Franky
    Keymaster

    Search for “take_attendance” in eme_events.php. I will not provide any more info, as I do not support changing the code yourself, as it will be reverted during upgrades. So, people doing this need to understand php.

    in reply to: Problems on set up: Blank events page #62016
    Franky
    Keymaster

    Also: a demo would be nice for me to check.

    in reply to: Problems on set up: Blank events page #62015
    Franky
    Keymaster

    Seems to me that you have javascript errors on your page. Check your browser console for those.

    in reply to: Problems with confirmation Emails #62013
    Franky
    Keymaster

    That means your site is not receiving enough traffic for the wordpress to kick in then.
    See the hint on the “scheduled actions” page:

    Cron tip for more accurate scheduled actions:
    Put something like this in the crontab of your server: */5 * * * * php -q /path/to/wordpress/wp-cron.php >/dev/null 2>&1
    And add the following to your wp-config.php: define(‘DISABLE_WP_CRON’, true);

    in reply to: Problems with confirmation Emails #62011
    Franky
    Keymaster

    The date planned comes from your database (meaning that is an hour behind compared to you, so probably that server is not using your timezone).
    But it is not an issue as I use database-based time differences to decide when to send the mails.
    Based on your explanation: is your wordpress cron configured correctly? Normally WP has its internal cron mechanism, but that’s based on when someone actually visits the site. So:
    – check your cron (or use a WP plugin to check it for you, e.g. WP Crontrol)
    – if doing cron manually (via your system cron, and not WP, which is also my recommendation): make sure it is configured correctly
    – if you’re using EME mail queueing (which is recommended): make sure it is correctly configured. Check the settings in the submenu “Scheduled actions” for this.

    in reply to: Add a custom field to booking form #62009
    Franky
    Keymaster

    Yes and the answer is the same as my last post above. Read up on “dynamic data”.

    in reply to: Add a custom field to booking form #62007
    Franky
    Keymaster
    in reply to: Add a custom field to booking form #62005
    Franky
    Keymaster

    See the setting “Booking form format” in the EME RSVP settings, which you can change per event. Please read the initial doc :
    https://www.e-dynamics.be/wordpress/category/documentation/3-installation-and-usage/

    For a new post in the forum: just select the forum of choice at the bottom of: https://www.e-dynamics.be/wordpress/forums/ , then you’ll see a form.
    And if there are console errors: javascript errors need to be fixed (and are most likely not EME related, so you need to read those and fix the corresponding plugin/theme).

    in reply to: Add a custom field to booking form #62002
    Franky
    Keymaster

    @developer1602: next time please create a new topic, see https://www.e-dynamics.be/wordpress/forums/topic/forum-post-guidelines/
    Concerning your question: see https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-6-registration-form-fields/ . Just create a custom field and then add it to the booking form template using #_FIELD{xx} syntax.

    Franky
    Keymaster

    Did you check your browser for javascript errors? This is what your site reports here:
    Uncaught ReferenceError: jQuery is not defined
    https://graphisoft-nord.de/wp-content/cache/autoptimize/js/autoptimize_single_d2dbd9c4e96fdc0640533c25c26a23e7.js?ver=2.1.105:2

    Fix your javascript errors and all should be ok.

    in reply to: No Payment options available #61993
    Franky
    Keymaster

    Well, invalid client means exactly that … check to make sure all paypal options are correctly entered. Also, maybe you want to use the paypal legacy option (depending on your settings).

    in reply to: No Payment options available #61991
    Franky
    Keymaster

    Did you fill out the paypal details in the EME options?

    in reply to: Make Map events accessible #61988
    Franky
    Keymaster

    If I currently have this:
    div_arr_map[i] = L.map(divname, myOptions);
    And I add this:
    divs[i].eme_mapObj = div_arr_map[i];
    does then divs[i].eme_mapObj also has the same events/objects that are added later on to div_arr_map[i] (using addTo etc ..)?

    Or is it then simpler to replace all “div_arr_map[i]” occurences by “divs[i].eme_mapObj” ?

    in reply to: Make Map events accessible #61986
    Franky
    Keymaster

    I’m still a bit reluctant on this … somehow it doesn’t feel right. Can you explain exactly what you want to solve? It seems you want to change the popup inner html, but each location already allows you to do so. Or is there something I’m missing?

    in reply to: Make Map events accessible #61984
    Franky
    Keymaster

    Are you sure that adding “divs[i].mapObj = div_arr_map[i];” has no other side-effects?

    in reply to: noindex event date urls? #61981
    Franky
    Keymaster

    They only do that if you have a link to that somewhere on your page (maybe a calendar?).

    in reply to: Issue with Category URLs #61980
    Franky
    Keymaster

    #_CATEGORYURL returns an url itself, not just a link. So you can’t use it as rightside for a href, but more:
    <li>#_CATEGORYURL</li>

    in reply to: Event Name Suddenly Missing from Event Pages? #61979
    Franky
    Keymaster

    This post was marked as pending, but I think you got it resolved in the meantime, no?

    Franky
    Keymaster

    The error is in your date format in wp-admin/admin.php?page=eme-options&tab=events :
    you have “#_STARTDATE{d.m.yy} – #_ENDDATE{d.m.yy}” in “Format: Standard Veranstaltungsliste”, and “y” in PHP means the year in 2-digit format, meaning “yy” is 2 times the year in 2-digit format, resulting in 2121.
    See https://www.php.net/manual/en/datetime.format.php

    Either use “#_STARTDATE{d.m.y} – #_ENDDATE{d.m.y}”, or if you want 4 digits for the year: “#_STARTDATE{d.m.Y} – #_ENDDATE{d.m.Y}”

    Franky
    Keymaster

    My email info is on the main page: “For commercial support and help, feel free to contact me” => franky@e-dynamics.be

    Franky
    Keymaster

    What is the display format for your list of events? Also: an extract (mysql) of 1 such event would be nice, so I can import it here and test it (or give me access to your site so I can verify this).

    in reply to: Non approval RSVP and payment #61972
    Franky
    Keymaster

    If you don’t want the payment page for an event, don’t indicate payment providers in the rsvp options for that event.

    in reply to: wp users, eme_bookings and eme_people out of sync. #61969
    Franky
    Keymaster

    Thanks, I fixed that sql statement. I verified all other statements and they seem correct (a bug avoided, thanks again).
    Btw: your linenumber didn’t correspond with the code anymore, so maybe you’re using an intermediate version (just so you know).

    in reply to: wp users, eme_bookings and eme_people out of sync. #61964
    Franky
    Keymaster

    Did you try out the latest dev-version? I’ll be releasing in the next day or so, but extra testing is always nice to have.

    in reply to: wp users, eme_bookings and eme_people out of sync. #61962
    Franky
    Keymaster

    Ok, since the wp_id is stored per person, I eliminated this info per booking.
    This is the changeset for that (rather big):
    https://plugins.trac.wordpress.org/changeset/2453947/
    followed by a small correction and removal of commented-out lines:
    https://plugins.trac.wordpress.org/changeset/2453951/

    Feel free to try it out 🙂
    This should also solve the issue when you move a booking to another person (where the wp_id was not always taken into account).

    in reply to: wp users, eme_bookings and eme_people out of sync. #61961
    Franky
    Keymaster

    But you made another point: moving a booking to another user, should it take over the wp_id of that user? That’s something I need to think about. Let me check the code too.

    in reply to: wp users, eme_bookings and eme_people out of sync. #61959
    Franky
    Keymaster

    Argh … I generalized the code (see my post from Dec 26) but I think I made a typo in it …
    This one-liner should fix it:

    https://plugins.trac.wordpress.org/changeset/2453810/

    in reply to: tracking emails #61956
    Franky
    Keymaster

    What do you mean with tracking? EME has mail queuing so you can use that, and using the dev-version of EME all mails are queued (if queueing is activated). In the “send mails” interface you can then see which mails have been sent (and read, if people allow the mail tracking image).

    in reply to: Attendeed list and approval on frontend #61953
    Franky
    Keymaster

    See the EME settings, tab “Access”. You need to assign “Author approve bookings” the capability of choice and then see if a user has that capability. Like indicated in that page, use “User Role Editor” to manage your own roles and capabilities.

    in reply to: How do I check if the event has limited seats? #61947
    Franky
    Keymaster

    That is the correct way of doing it 🙂

    in reply to: How do I check if the event has limited seats? #61944
    Franky
    Keymaster

    Well, the replacement there is causing you trouble. So, to fix this, implement this small change

    https://plugins.trac.wordpress.org/changeset/2451365/

    And then use:
    [eme_if tag='#ESC_TOTALSEATS' value='0']no limit[/eme_if]

    in reply to: Send email for a membership with drip content #61938
    Franky
    Keymaster

    (it’s Franky 🙂 )
    Doing that is not really dripping content, just letting people know about new pages of a certain category … maybe more to check on those “new pages” if they are EME-limited in some way, and only mail those. I need to think about this, it’s a lot of extra coding with not many people asking for this.

    in reply to: Use Contact Info in Mail Signatures #61933
    Franky
    Keymaster

    Well, it wasn’t correct in the past but I knew I changed that in 2.1.100 🙂

    in reply to: Use Contact Info in Mail Signatures #61931
    Franky
    Keymaster

    Can you tell me which version you’re using?

    in reply to: Display mobile difficulties #61930
    Franky
    Keymaster

    You’re using a html table, but a div is more appropriate for mobile responsiveness.
    Run your table-html part through a table-to-div converter (like: https://htmlstrip.com/html-table-to-div-converter ) and use the resulting html.

    in reply to: Use Contact Info in Mail Signatures #61927
    Franky
    Keymaster

    #_INCLUDE_TEMPLATE should work everywhere, did you try that?

    in reply to: Membership Start Date #61925
    Franky
    Keymaster

    Just to point out: even after marking a member as paid the member will stay “pending” (if the membership status calculation is set to “automatic”) until the day the membership starts

    in reply to: Membership Start Date #61923
    Franky
    Keymaster

    sorry, I made a typo. I’m releasing 2.1.101 now

    in reply to: Membership Start Date #61921
    Franky
    Keymaster

    Did you try the latest version? It incorporates the fix already …

    in reply to: Attendeed list and approval on frontend #61919
    Franky
    Keymaster

    In the frontend approval is not possible, you need the backend for that. People can be given the specific minimal rights to be able to just approve bookings for their events (e.g. if they are a contact person for that event + the EME right to approve bookings for their events).

    in reply to: Membership Start Date #61917
    Franky
    Keymaster

    Yes, the code took into account people that start during a membership period and then take that start date minus one period so people would already be a member for the current “period”. That’s why I also added the option “one free period”, so people would then e.g. register in November, get the membership of the current year *and* of the next year (very simplistic, I know).
    But in all calculations, I didn’t account for the simple fact that the start date of the membership could actually be in the future. This should fix that:
    https://plugins.trac.wordpress.org/changeset/2447088/

    in reply to: wp users, eme_bookings and eme_people out of sync. #61915
    Franky
    Keymaster
    in reply to: Problem with: Auto-approve booking upon payment #61914
    Franky
    Keymaster

    Which paypal are you using? Or is this solved in the meantime (I overlooked this one)?

    in reply to: wp users, eme_bookings and eme_people out of sync. #61910
    Franky
    Keymaster

    See if this change helps:
    https://plugins.trac.wordpress.org/changeset/2445509/

    If it does, don’t forget to make a small donation to keep the plugin alive.

    in reply to: wp users, eme_bookings and eme_people out of sync. #61908
    Franky
    Keymaster

    Ok, I thought about this further:
    – if a user has his account created in WP he should log in first
    – if he doesn’t and uses another name but an existing email, a WP user can’t be created. But: I can’t go ahead and use the existing WP account for that registration either, since anybody can use an existing email address.
    – in EME “people management”, you can delete a person and when selecting the action “delete”, you can transfer existing bookings to another user. That should solve your problem with manually trying to fix things in the db

    in reply to: wp users, eme_bookings and eme_people out of sync. #61907
    Franky
    Keymaster

    Concerning your example: if a user is logged in, he’s not allowed to change his lastname/firstname/email in the rsvp form unless he’s an event editor or admin.
    But I see the point if trying to create a second wp account (which will fail since the email address is already in use). Maybe I should catch that and refuse the registration here.

    in reply to: Use Contact Info in Mail Signatures #61905
    Franky
    Keymaster

    [eme_event] needs an event id as argument, I don’t see you using that.
    But why use [eme_event] in the first place? You can use #_INCLUDE_TEMPLATE{40} to include the template with id 40 inside another template.

    in reply to: Syntax highlighting in Templates editor #61902
    Franky
    Keymaster

    Looking at that syntax highlighting plugin, it says “This plugin hasn’t been tested with the latest three major releases of WordPress”, so I can’t start supporting it. So for now I have to say: please contact that plugin editor.

    in reply to: wp users, eme_bookings and eme_people out of sync. #61901
    Franky
    Keymaster

    Hi,

    if you can give me a small playbook on how to reproduce this, that would be very nice. I’ve several sites but most are without only payments …
    Even maybe a small db-dump etc … whatever can help (or access to your site?).

    in reply to: How do I contribute new code? #61897
    Franky
    Keymaster

    Every contribution is much appreciated!
    Feel free to send the diff to me via tar.gz or zip (base your diff on the current version), or put the diff somewhere I can download it.

    in reply to: Cancel form insists CAPTCHA must be present #61894
    Franky
    Keymaster

    Thanks for the heads-up about the redundant div. I’ve removed it for the next version too.
    For the particular cancellation mail: check your event mail settings to make sure that everything in the part “Booking Cancelled Email” is empty, then the generic part will be chosen.
    Thanks for the donation as well, much appreciated!

    in reply to: Cancel form insists CAPTCHA must be present #61888
    Franky
    Keymaster

    I’m sorry, but I’m not able to reproduce this. Using the captcha option in the event is the only thing that triggers that message if #_CAPTCHA is not present (and yes, I tested using the form directly and with a template).
    Make sure that, when using a template, the form beneath the selection box for the template is empty (otherwise that overrides the selected template).
    Btw: I’ll correct the message that begins with “Also” (it is not correct English).

    in reply to: Allow RSVP after event ended #61884
    Franky
    Keymaster

    In your screenshot the begins/ends (your text in red) is reversed.

    in reply to: Allow RSVP after event ended #61881
    Franky
    Keymaster

    Have you configured the “allow rsvp until” correctly?
    This is a demo on the site where it works (the event ended yesterday):
    https://www.e-dynamics.be/wordpress/events/test-2/

    in reply to: Is there documentation on front-end error messages? #61879
    Franky
    Keymaster

    If the captcha doesn’t show, it is because some php modules are not installed then (or some theme thing that hides the resulting image, but that’s less likely). For the captcha to show: is the captcha option checked for the rsvp settings in your event definition too?
    The google captcha might interfere, I didn’t test that.
    Btw: the “booking confirmed” message can be totally adapted in the settings.

    in reply to: Is there documentation on front-end error messages? #61877
    Franky
    Keymaster

    Is the captcha option enabled in the EME settings?
    The error message you post means that the frontend nonce isn’t matching the expected value. Most of the times this is because people are logged in (or not), load the rsvp page and then log out while that rsvp page stays open (or in cache). So make sure that doesn’t happen and yoou should be good to go. Btw: the reason this “fails” is how wordpress handles nonces (they take the login uid into account).

    in reply to: View Event Link after edit #61873
    Franky
    Keymaster

    The next version will have a “view event” button on the event edit-screen too. It will only show the saved event, not preview non-saved changes though.

    in reply to: Share link to social upon publish #61872
    Franky
    Keymaster

    Publishing towards facebook is a pita and I don’t support it anymore (facebook api is just too volatile and they change conditions all the time). You already found the code to send a mail to people, so if you find the code to integrate it with facebook/twitter/… then you can use that in the hook too.

    in reply to: Send mail on event PUBLISHING #61871
    Franky
    Keymaster

    Add this condition to your code:

    if ($event ['event_status'] == EME_EVENT_STATUS_PUBLIC)

    in reply to: View Event Link after edit #61868
    Franky
    Keymaster

    In the overview of events, there’s a link to view an existing event and also a link to show the bookings for that event. Since I give the choice to “stay on edit” I’m guessing you have that active and I could add buttons there too, but currently it seems redoing the same work twice.

    in reply to: Allow RSVP after event ended #61866
    Franky
    Keymaster

    This extra change is needed to allow a negative number for rsvp end on all setups:
    https://plugins.trac.wordpress.org/changeset/2412693/

    in reply to: Allow RSVP after event ended #61863
    Franky
    Keymaster

    I wont allow indefinite rsvp days, that is pointless. I increased the form to allow one extra character, meaning you can go up to -999 days, which is a little bit less than 3 years:
    https://plugins.trac.wordpress.org/changeset/2412439/

    in reply to: Allow RSVP after event ended #61861
    Franky
    Keymaster

    I think the reason is that I use minusdays etc … and that causes some issues since it doesn’t correctly adjust for negative numbers.
    Try this patch (it is a patch to ExpressiveDate.php, you can just download+replace your version with the new one):
    https://plugins.trac.wordpress.org/changeset/2411858/

    in reply to: Can’t use template for my bookings #61860
    Franky
    Keymaster

    You just need to create a template with your placeholders in it, and point to the id of that template in your shortcode.

    in reply to: Can’t use template for my bookings #61857
    Franky
    Keymaster

    See the doc on how to use templates for this shortcode, examples are provided:
    https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_mybookings/

    in reply to: eme_if – various values #61855
    Franky
    Keymaster

    In your case, use “incsv” and repeat for each wanted value:

    [eme_if tag='#_EVENTCATEGORYIDS' incsv="3"]
    do stuff
    [/eme_if]
    [eme_if tag='#_EVENTCATEGORYIDS' incsv="6"]
    do stuff
    [/eme_if]
    [eme_if tag='#_EVENTCATEGORYIDS' incsv="9"]
    do stuff
    [/eme_if]
    Franky
    Keymaster

    Are you sure the date on your server is ok? EME uses that to determine the current date and time.

    in reply to: meta tag twitter:card is wrong #61849
    Franky
    Keymaster

    Hi,
    thanks for this (and sorry for the late reply, it seems this topic got stuck in “pending for approval”).
    If I replace twitter:card with twitter:image, then I think that should be ok, no?
    But based on the fact, shouldn’t I just use twitter:card “summary” then?

    in reply to: logged in user cannot change reservation info #61846
    Franky
    Keymaster

    Well, in both cases ‘Require WP membership for booking’ and #_ADDBOOKINGFORM_IF_LOGGED_IN a WP account is needed of course …

    in reply to: logged in user cannot change reservation info #61844
    Franky
    Keymaster

    I simplified that logic some time ago, to be able to better keep the link between a logged in user and a EME person. But maybe I should revisit this again.

    in reply to: Limit Max and Min Seats based on Mutli Price #61841
    Franky
    Keymaster

    If you use a multiseat event, you need to change your RSVP form to show that: #_SEATS{1}, #_SEATS{2} etc … (and no longer just #_SEATS). See the doc on multiprice events and the doc on multiseat events.

Viewing 150 posts - 1,051 through 1,200 (of 7,815 total)
Scroll to Top