Events Made Easy Forums Search Search Results for 'state'

Viewing 150 results - 1 through 150 (of 254 total)
  • Author
    Search Results
  • #64775
    Anonymous
    Inactive

    I have an issue where the paypal payment doesnt offer South African Rands, so I have to use a usd amount, I need to display the correct pricing in rands on the payment page, ie R300.

    I am trying to use a conditional statement like one of these but it doesnt seem to work
    [eme_if tag='#ESC_MEMBERSHIPPRICE{price}' eq='9'] R300.00 [/eme_if]
    [eme_if tag='#ESC_MEMBERSHIPPRICE{value}' eq='9.00'] R300.00 [/eme_if]
    [eme_if tag='#ESC_DYNAMICPRICE{value}' contains='9'] R300.00 [/eme_if]

    So the form will submit the correct amoutn to paypal, but display a Rand amount…

    Also is there a way to multiply an amount, ie the price X by the excha rate to give a correct amount ?

    #64589
    Anonymous
    Inactive

    I did some testing with a recurrent event with 4 dates today and got the following results:

    1) With confirmation turned off, the booking emails work fine.

    2) With confirmation turned on, I’m receiving 1 verification email and 4 confirmation email with content only from “multibooking respondent mail” template. Nothing from “multibooking details” template.

    3) 4 emails are sent for deletion of booking whether confirmation is turned on or off. Dates for the events are not stated in the emails. Is it supposed to work this way? If it is, is there a way to consolidate the deletion emails by using a template like “multibooking details” whereby only 1 email is sent to inform the deletion for the 4 dates?

    Anonymous
    Inactive

    Hi Franky,

    The multibooking form is sending multiple emails for recurrent events. I tested a recurrent event with 4 dates and used the templates “multibooking details” and “multibooking respondent mail” as written in the documentation. I received the 1st email with the content as stated in the documentation, then received 3 other emails with nothing from “multibooking details” template. It only has content from “multibooking respondent mail” template:

    You booked seats for a total of . 
    The details can be found below:

    I received only 1 email asking for confirmation though, so that is working correctly.

    I thought the multibooking form is only supposed to send 1 email for recurrent events using the template for the first event in the series? Is there a setting somewhere that I missed?

    #64574
    Anonymous
    Inactive

    Hi Franky,

    Is it possible for example, for a check box to be added which states ‘are you booking on behalf of someone else’, then if that is selected to show another two fields to capture the other persons name and email address?

    Then if possible, send the booking email to the other persons email address, or both the person booking and the other person?

    Thanks,
    David.

    #64556
    Anonymous
    Inactive

    Hi Franky,
    sorry to bother you again, but for the last 2 hours I tried everything I could think of but to no avail:

    I want my event template to only show events that start at a specific time. So I tried all placeholders in the conditional statement but it never seems to work. The most straightforward for me one would be this test template

    [eme_if tag="#ESC_{G}" eq="7"]
    <li>#_{G} - #_STARTTIME - #_STARTDATE - #_EVENTNAME</li>
    [eme_if]

    using this shortcode
    [eme_events scope=2022-08-23 category=9 template_id=105 template_id_header=92 template_id_footer=93]
    whereby the header and footer just create the ul

    This is the result I invariably get, it always shows all the events in the category:

    7 – 07:00 – 23/08/2022 – Smart Yoga
    7 – 07:00 – 23/08/2022 – Tai Chi and Soul Room Meditations
    18 – 18:00 – 23/08/2022 – „Being with and caring for“ – an hour of experiencing mindfulness
    18 – 18:00 – 23/08/2022 – Choir-Hour-NOW
    18 – 18:00 – 23/08/2022 – Daily Evening Meditation
    18 – 18:00 – 23/08/2022 – Evening Yoga: Moon Salutation (Chandra Namaskar) with AT, Dart, and Framework for Integration applications
    18 – 18:00 – 23/08/2022 – Playing with Balance
    18 – 18:00 – 23/08/2022 – Scottish Country Dance

    Any ideas?
    Thank you!

    #64555
    Franky
    Keymaster

    The qr bill is in fact for offline payment, and while it is possible to do: the current lib is 2 times the complete size of EME. If only the qr-code is acceptable, then a lib exists with a much smaller footprint.
    Now also you want to import camt.054 bank statements later on … again something totally new, even for EME.
    For now and until some decent funding is done, this is going on the pile of feature requests 🙂
    May I ask why not use an online payment gateway and send the EME qrcode (via pdf and paper mail if really wanted)?

    #64456
    Anonymous
    Inactive

    Hello Franky,

    I seem to be having trouble with conditional date tags in my booking recorded message.
    The if statements seem to always be true. Or am I missing something obvious?

    Here’s the my template – I included the “regular” tag there as well for testing purposes. These show the expected result, but when I test for them, it doesn’t work, all the message show up for me:

    
    <h3>Your selection for STARTDATE{l} has been recorded. Thank you.</h3>
    <p class="selectedSession"><strong>#_EVENTNAME</strong></p>
    
    #_STARTDATE
    #_STARTDATE{l}
    #_ENDDATE{l}
    #_{l}
    
    <!-- Show different Continue Messages, depending on the currently selected CL/HT Day we are in -->
    <!-- if it is Wednesday -->
    [eme_if tag="#ESC_STARTDATE{l}" eq="Wednesday"]<p class="eme-continue-booking">Please continue the booking process with your selection for <strong>Thursday</strong> below.</p>[/eme_if]
    <!-- if it is Thursday -->
    [eme_if tag="#ESC_STARTDATE{l}" eq="Thursday"]<p class="eme-continue-booking">Please continue the booking process with your selection for <strong>Friday</strong> below.</p>[/eme_if]

    The same is true if I test for #_STARTDATE without any parameters, always true for me
    [eme_if tag="#ESC_STARTDATE" eq="25/08/2022"]
    Or #_ENDDATE
    [eme_if tag="#ESC_ENDDATE" eq="25/08/2022"]
    Or even #_{l}
    [eme_if tag='#ESC_{l}' eq='Saturday']

    Any ideas?

    #64454
    Anonymous
    Inactive

    ‘EME Access Check’ is the EME code that is at the bottom of every page/post to limit access to certain groups/memberships. That is the name stated on my pages/posts.

    I’m using youtube live streaming to simplify the viewing experience. The attendees do not need to log into their youtube accounts as the video is embedded into my website so there’s no way for youtube to provide any meaningful data for attendance.

    Even if I use Zoom, it cannot provide attendance for me if I embed Zoom into my website.

    Anyway, thanks for your reply. Will try your suggested method.

    #64440

    Topic: Form styling

    in forum How do I …
    Anonymous
    Inactive

    1) Remove ‘Required’ wording
    I’m using a red asterisk beside the labels and the ‘Required’ words blend in with the background color to make the forms neater. But if I turn on dark-mode, the words will appear again.
    Is there a way to remove the ‘required’ words from the forms?

    2) Placeholder text in the entry boxes
    As stated above, I have labels and these are placed above/beside the entry boxes.
    Is there a way to put the labels as Placeholder text in the entry boxes to make it more modern looking?

    #64436

    In reply to: Sage Pay Integration

    Anonymous
    Inactive

    Hello – this page https://www.e-dynamics.be/wordpress/ states that SagePay (now Opayo) is supported, however, I can’t find the functionality for this in the plugin. Can someone clarify if SagePay can be supported?

    #64391
    Anonymous
    Inactive

    Hi

    I use a selection within a rsvp template for whether a user is logged out, a junior member or senior member. these are individual dropdowns. Issue i have is if somebody is logged in and their membership has expired i get no dropdown.

    I am trying to create an or statement as below but cannot get it to work.

    Can anybody see where my issue is or if there is a better way to do this maybe with a single drop down in stead of 3 seperate ones

    [eme_if tag='#_IS_LOGGED_IN' value='0' || eme_if tag='#_IS_MEMBER_EXPIRED' value='1'] Non Member (Please select 1): #_SEATS{1} [/eme_if]
    [eme_if tag='#_IS_USER_MEMBER_OF{Club Membership Senior Application}' value='1'] Senior Club Member (Please select 1): #_SEATS{2} [/eme_if]
    [eme_if tag='#_IS_USER_MEMBER_OF{Club Membership Junior Application}' value='1'] Junior Club Member (Please select 1): #_SEATS{3} [/eme_if]

    Thanks in advance

    #64142
    Anonymous
    Inactive

    Hello Franky, I have a question how to combine EME with a staging environment.

    Actually we already have a staging environment with a development, test and productive stage. The staging is done by simply copying the file system and the database, and doing some directory path changes that everything works together afterwards. This works very good so far.

    But now i have to deal with „living data“ in the production stage that i have to keep 🙂 This involves events, eventlocations, categories, people and groups.

    What i want to try ist to seperate „living or moving data“ from the configuration data by thier database tables. Making copies of the tables with „living data“ and regenerate them after the staging process.

    I like to ask:
    a) are there tables where living data and configuration data are mixed ?
    b) could you guide me which tables contain living data ?

    currently the only table i would overwrite would be devstage_eme_templates

    devstage_eme_answers,
    devstage_eme_attendances,
    devstage_eme_bookings,
    devstage_eme_categories,
    devstage_eme_countries,
    devstage_eme_dgroups,
    devstage_eme_discounts,
    devstage_eme_events,
    devstage_eme_formfields,
    devstage_eme_groups,
    devstage_eme_holidays,
    devstage_eme_locations,
    devstage_eme_mailings,
    devstage_eme_members,
    devstage_eme_memberships,
    devstage_eme_mqueue,
    devstage_eme_payments,
    devstage_eme_people,
    devstage_eme_recurrence,
    devstage_eme_states,
    devstage_eme_task_signups,
    devstage_eme_tasks,
    devstage_eme_templates,
    devstage_eme_usergroups,

    Looking forward to your answer.

    Cheers Chris

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

    #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');
    
    #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.

    #63830

    In reply to: …cancel an event?

    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.

    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?

    #63701

    Topic: eme_events order

    in forum Generic
    Anonymous
    Inactive

    Hi Franky,

    I’m a little confused (again) about the order parameter for the [eme_events] shortcode. Re-reading the documentation, this statement should sort all events by Event Name, right?
    [eme_events notcategory=3 order=‘event_name ASC']

    But what I get is this
    “Exploring the science behind the Alexander Technique” (category_id=7, start_date 26/08/22)
    “Alexander Technique Principles” (category_id=1, start_date 26/08/22)
    “Touching Everywhere from Anywhere: …” (category_id=1, start_date 26/08/22)
    “Hypermobility and the Alexander Technique”(category_id=7, start_date 23/08/22)
    “Wholeness and Hands On Teaching Skills” (category_id, start_date 23/08/22)
    etc.

    – seems to be not ordered by anything at all – not by name, but also not by date, not by category, either?
    Here’s a live view of the page:
    https://now2022.andreasdirscherl.de/events-all/

    —–

    Another example, with this shortcode (which should be the exact longform from the documentation) I get “No events found”
    [eme_events category=4,5,6 order='event_start_date ASC, event_start_time ASC, event_name ASC']

    If I change this to [eme_events category=4,5,6 order=ASC]
    all is well, and the events are listed in the default order.

    What am I missing and/or doing wrong? Is there a problem with the quotes?

    Anonymous
    Inactive

    Hi Franky,

    first of all, I really love your plugin and find the customizations with shortcodes and placeholder just awesome. While playing around with Elementor Page Builder yesterday, I came across the “issue” that I was not able to figure out a way to set conditions for a single page template in Elementor so that it is applied to the event page itself.

    As in the FAQ you state, that it should always be a differently rendered version of the events page under the WordPress pages, I set to template to be applied to only this events page without any success. Is it because the events pages are neither WordPress pages nor WordPress posts?

    I might miss the obvious, but maybe you can guide me in any direction as I was not able to find answers googling it 🙂

    Anonymous
    Inactive

    Thanks for the quick reply, Franky!
    As stated in my edit above, I use the placeholder #_REMOVEBOOKINGFORM_IF_REGISTERED in the EME-Settings – Format – single event. When I then display a single event on the defined “Eventspage”, #_COMMENT etc. is not resolved. That worked before in a version 2.1xxx (I havent updated the versions for 12 months or so), but now after the update today, it does not work any more. ??

    #63517

    In reply to: Payment GW ID

    Anonymous
    Inactive

    type: fixed startdate
    duration period: 1 year
    start date 01/01/2021
    one extra free period: no
    grace period: 30
    reminder 30,15,5,-5,-15,-30,-60
    automatically remove pending members: 0
    allow renewal of expired members: checked
    captcha: checked
    create wp user after signup: checked
    price: 20
    currency: euro
    vat percentage: 0%
    payments: Mollie and Offline

    user state: paid and active
    email was sent based on the reminder settings
    he tried to pay but the transaction in Mollie was abandoned (Ideal)

    #63515

    In reply to: Payment GW ID

    Franky
    Keymaster

    I’ll check the mollie id (maybe some typo somewhere).
    Concerning the extension:
    – what is the type of membership (settings)?
    – what was the state of the user, and how did the extension process start (I assume the user clicked on a link)?
    – I assume the user “tried” to pay with mollie. But are you sure the payment failed?

    #63477
    Anonymous
    Inactive

    The problem there is I want to make sure people need to be logged in to book a space on an event to prevent random people booking places when they shouldn’t be able to.

    I want people who are logged in to be able to book a space on an event for other people.

    I thought setting it up this way would work as underneath Require WP membership for booking it states: This will only show the booking form for logged in users and prefill the form with the personal data from their wordpress profile. That data can’t be changed in the form then, so if you don’t want this, you can deactivate this option and use #_ADDBOOKINGFORM_IF_LOGGED_IN to show the form to logged in users only.

    Is there a way for people who are logged in to enter different details in the booking form to book a space for other people?

    #63475
    Anonymous
    Inactive

    Hi Franky,

    I need to be able to let one person book several places on an event but provide different details for each booking. We have some people booking places for others who don’t have an account on the site, so they’re using the other persons name and their own email address several times over so they still receive the booking emails.

    What would be the best way to manage this?

    I thought I’d sorted it by setting the RSVP option Allow only one booking per person and not selecting Require WP membership for booking as that states to use #_ADDBOOKINGFORM_IF_LOGGED_IN so the form isn’t pre populated.

    When I log in as a standard user and view the event I can see the booking form but it’s still pre-populated with the WordPress user details and they can’t be changed, even when logged in as Admin. (Deselecting Allow only one booking per person doesn’t make any difference)

    When logged in as a standard user I can select the text but not delete/overwrite it.

    When logged in as admin I get the cross at the end of the last name so still have to search and select from a list of users.

    How do I get the form to be blank on load, when a standard user is logged in so they can just type their details?

    Thanks,
    David.

    Anonymous
    Inactive

    Hey Franky,

    sorry that I’m coming back to this thread. I’m now setting up a new page on which I want to show all the info to the user about the bookings they made.
    I’m using the [eme_mybookings] and it gives me almost everything that I need, incl. custom Fields etc.
    Only, Total Price including the Payment Gateway surcharges are somehow missing.
    On the payment form it works beautifully, thanks to your previous additions, but it seems that with the [eme_mybookings] shortcode they are not implemented?
    Could you add the #_PRICE_INCLUDING_CHARGES and #_EXTRACHARGE placeholders here as well?

    Would it even be possible to add a specific VAT placeholder that shows the VAT part of the final total price (including the surcharges) paid?
    People might get confused if I showed them only the Total price and VAT BEFORE the surcharge but find their a different amount on their bank statement.

    Thank you.

    #63248
    Anonymous
    Inactive

    Hi Franky

    I’ve seen you’ve implemented a fix for this in Version 2.2.23

    There is one further query I have on this. With regards to the template code below

    <div class="single-event-date-mobile">
    #D #j #M #Y
    [eme_if tag="#ESC_CATEGORIES" contains="Live Music"]<br>#g:#i#a[/eme_if]
    </div>

    When this is output, an extra <br> still appears after the #Y (the year)

    There is a <br> in the conditional statement below it, but there are two <br> tags output in the HTML. Is it because #D #j #M #Y is not in any HTML tags. Does that mean that all placeholders need to be in some kind of HTML tag from now on? They can no longer just be placed in a template as they are?

    Thanks
    Jamie

    #63218

    Topic: Login Form

    in forum How do I …
    Anonymous
    Inactive

    Hi Franky,

    Is there a way to add the WordPress login block to a RSVP form – I’m hoping to add a login form if the person isn’t logged in so they’re able to from the event page, then when they’ve logged on the event page refreshes – rather than them having to go to the login screen and find the event again once they’ve logged in.

    I can do the conditional statements, I’m just not sure if it’s possible to add the WordPress block to the RSVP form?

    Thanks.

    Anonymous
    Inactive

    Thank you for your patience and your trying to find a solution! Very appreciated.

    So I added you as a EME person – you don’t need to have an WP account for this to work correct?

    This is the page where you can request to change your data – uses the [eme_request_personal_info] shortcode:
    https://now2022.andreasdirscherl.de/eme-people-change-info/

    By the way – I’m not entirely sure, I get the difference between the [eme_request_personal_info] and [eme_change_personal_info] shortcodes. The documentation is almost identical, and I somehow fail to understand the difference there. Could I trouble you for another explanation? That’d be great.

    And just for good measure, even though it probably isn’T relevant, this is the personal info form. Not particularly sophisticated as yet, but still:

    Last name: #_LASTNAME
    First name: #_FIRSTNAME
    Email: #_EMAIL

    Phone: #_PHONE

    Address #_ADDRESS1
    #_ADDRESS2
    Zip: #_ZIP   –  City: #_CITY
    Country: #_FIELD{12}
    State #_FILED{13}

    Biography: #_FIELD{7}

    Anonymous
    Inactive

    Thank you for your continued patience and trying to find a solution! Very appreciated.

    So I added you as an EME person. You don’t need a WP user account for this to work, right? In my case, all users exist in WP, too.

    This is the page where you can request to change your data from. It uses the
    [eme_request_personal_info] shortcode:
    https://now2022.andreasdirscherl.de/eme-people-change-info/

    By the way – can I change the text for the submit button somewhere? Instead of “Request person data”?

    And one more thing- reading the documentation, I’m not entirely sure I understand the difference between the 2 shortcodes [eme_request_personal_info] and [eme_change_personal_info]. Could I trouble you to give another short explanation? That’d be great.

    And just for good measure, even it probably isn’t relevant – here’s my personal info form. Nothing fancy yet, still in the testing phase…

    Last name: #_LASTNAME
    First name: #_FIRSTNAME
    Email: #_EMAIL

    Phone: #_PHONE

    Address #_ADDRESS1
    #_ADDRESS2
    Zip: #_ZIP   –  City: #_CITY
    Country: #_FIELD{12}
    State #_FILED{13}

    Biography: #_FIELD{7}

    Anonymous
    Inactive

    I had same issue and the plug-in Update resolved. However I do have 2 countries listed with states and only 1 country shows up on the form when selecting Country..

    Anonymous
    Inactive

    After updating to the newest version of the plugin, the Country and States no longer show up under the drop down on the user form. They are all still there in Country and States but all I get is no results in the drop down. Same in Edge, Chrome and Firefox.

    #62955
    Anonymous
    Inactive

    I’m sorry, I already removed the member.

    The registeration date was correct (18th july) but there was an empty start and end date, what I can remember. I opened all the options before to check your earlier statement. I read that you said they should be empty, not ‘not empty’.

    #62814
    Anonymous
    Inactive

    In the event I stated that booking should only be possible 33 days before the date. If I am logged into the backend, the display in the event is correct. If I logged out, it is no longer correct because I can register for the event.
    What am I doing wrong? Request for assistance.

    #62792
    Franky
    Keymaster

    The video (and the doc) explains that: you need to create a template with the placeholders and format of choice (in your case #_LASTNAME,#_FIRSTNAME,#_EMAIL, #_ADDRESS1, #_ADDRESS2, #_CITY, #_STATE, #_ZIP, #_COUNTRY,#_SUBMIT , but with text added next to each field).
    Then use that template in your membership definition and call eme_add_member_form with the correct parameter (the membership id, as mentioned in the doc).

    #62789
    Anonymous
    Inactive

    Hi

    I have been looking at all what is possible to find as video but I did not found how to use or create a membership form anywhere ! I do not understant how it works sorry if I am so stupid !

    I did that on a normal page WP :

    [eme_add_member_form #_LASTNAME,#_FIRSTNAME,#_EMAIL, #_ADDRESS1, #_ADDRESS2, #_CITY, #_STATE, #_ZIP, #_COUNTRY,#_SUBMIT{} ]

    nothing happened

    please help how to do

    thanks

    #62643
    Franky
    Keymaster

    Well, the scope param states for “all events starting later than YYYY-MM-DD”. So one could argue if the time should be checked 🙂 But I believe that due to a new change of mine (where the time is taken into account more) this now results in “later than the beginning of YYYY-MM-DD” and that is not the intention. So this small one-line fix should help (I add the end-of-day time to the check):

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

    #62623
    Franky
    Keymaster

    It would be another thing if they provided an API of some sort. EME fully follows wordpress guidelines btw but like it is stated in the doc: “events are not posts”. I tried to start on that once, but it would require such a huge amount of work with no return on investment at all for me. And keeping in mind that I keep the plugin totally free, I just can’t get myself to begin working on it. If any other dev guy would step up for that part: great 🙂

    #62418
    Anonymous
    Inactive

    Hi ya, I have create a member directory which is only available to logged in members,
    I have set up a “Member Directory” group and Template to display the information of the people in that group. And have used shortcodes in Post to display on page with page restrictions.
    I am wondering if it is possible to set up a search or filter for people fields such as search firstname or lastname, filter by state or custom field to enable people to narrow down the results of the people displaying.
    I am aware there is one for events and locations, is there similar function for People fields?

    #62334
    Anonymous
    Inactive

    Hi, sorry for my -very- late reply, it’s been a busy month. I managed to solve the problem by programming a 2 sec cron using the plugin you suggested and in the success messages I ask the user to visit a page on my website in order to have the traffic needed.
    I managed to do that in all messages apart from the “booking deleted” one. I found a way to fix the .css but can’t find where I can edit the message. It’s not a big deal but I would like to have all messages in the same language, plus users could get a confirmation of their cancellation straightaway. Is there any way to edit this?

    I have another issue I can’t seem to find my way around: I made a personal page where each member can see the details of his membership plus the list of bookings he has made. I need him to see only the booking in some categories, is there something like [eme_mybookings category_id={1,2,3}]?
    I checked the documentation and noticed that’s not one of the arguments listed, so I tried using a eme_if statement in the bookings list format (i tried #ESC_CATEGORYIDS, #ESC_CATEGORIES and #_EVENTCATEGORIES{1,3}{}), or in a template but none of them work. I know I could use the event id but the events are part of a recurrence and I can’t write down all the ids for all events for the entire year, nor the ones that should be excluded.

    Thanks,
    Elisa

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

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

    #62033

    In reply to: csv import members

    Anonymous
    Inactive

    Thanks, that was the issue. My confusion came from the fact that when I exported an existing member to csv (to see how the file should be made up), he exported the date like mentioned before. But you are correct, the documentation states the correct format, my bad 🙂

    Kind regards,
    Kevin

    #62032

    In reply to: csv import members

    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

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

    #61943
    Anonymous
    Inactive

    Hi.

    On my event list I show the amount of free and total seats. But some events doesn’t have a seat limit. So it will be shown: “∞ of ∞ seats are free”. Now I try to find an if-statement to avoid this. I have tried something like:

    [eme_if tag='#_TOTALSEATS' value='∞']no limit[/eme_if]
    [eme_if tag='#_TOTALSEATS' value='0']no limit[/eme_if]
    [eme_if tag='#_TOTALSEATS' value='']no limit[/eme_if]

    But this doesn’t work. How can I check if an event has not limit of seats.

    #61274
    Anonymous
    Inactive

    Hi Franky,

    I’ve updated the plugin and seen that it’s no longer using #_USER_HAS_ROLE but is instead using #_ADDBOOKINGFORM_IF_USER_HAS_ROLE.

    I’ve tried changing the # as shown below but am getting 500 Internal Server Error when trying to load the event, not sure what I’ve done wrong.

    [eme_if tag='#_ADDBOOKINGFORM_IF_USER_HAS_ROLE{subscriber,administrator}' value='1']
    
    <table class='eme-rsvp-form'>
        <tr><th scope='row'>First Name*:</th><td>#REQ_FIRSTNAME</td></tr>#_SEATS 
        <tr><th scope='row'>Last Name*:</th><td>#_LASTNAME</td></tr>
        <tr><th scope='row'>E-Mail*:</th><td>#_EMAIL</td></tr>
    </table>
    #_SUBMIT
    
    [/eme_if]
    
    [eme_if tag='#_ADDBOOKINGFORM_IF_USER_HAS_ROLE{subscriber,administrator}' value='0']
    
    You are unable to book a place on this event.
    
    [/eme_if]

    If I don’t have the table with First Name, etc… in the if statement I see this:

    Ach, some problems here:

    Please correct the RSVP form format to use #_EMAIL.
    Please correct the RSVP form format to use #_LASTNAME.
    Please correct the RSVP form format to use #_SUBMIT.
    Press the back-button in your browser to return to the previous screen and correct your errors

    Hope you can help?

    #61233

    In reply to: EME and access control

    Franky
    Keymaster

    You can already protect your whole event by using eme_if-statements in your single event format, or if you want to just show the subscription form to certain people, use #_ADDBOOKINGFORM_IF_USER_IS_MEMBER_OF{xx} (see the doc) in your single event format.
    The next version will allow multiple memberships to be mentioned there too.

    #61129
    Franky
    Keymaster

    Your eme_if statements cause only the first event to be shown. Remove those to show all.

    #61103
    Anonymous
    Inactive

    Hi,

    2 days ago I imported 600 members from a csv file. Now I hear quite some people did not receive the mail with the activation link that WordPress sends when a new user is registred. Though not directly related to the EME plugin I thought maybe you have an idea on how to resend this mail to people who did not activate their account.

    I currently found the plugin “unconfirmed”, but that one states:
    “Note that the plugin works for the following configurations:
    1. Multisite, with or without BuddyPress
    2. Single site, with BuddyPress used for user registration

    There is currently no support for single-site WP registration without BuddyPress.”

    So that’s not helping unfortunately. If you have any suggestions I’ll be very happy to hear from you.

    #61064
    Anonymous
    Inactive

    For what it’s worth, per the new Yoast FAQs at https://www.e-dynamics.be/wordpress/faq/ I removed the “EME | Settings | Other | Extra event html headers” as directed.

    My event and location pages appear to show one canonical and one set of opengraph tags, which look good to me (not an expert eye though).

    But instead of the functions.php codes listed on your faq page, I still have an older version of your code in place in my child theme:

    add_action('wp_head', 'remove_all_wpseo_og', 1);
    function remove_all_wpseo_og() {
    	if ( eme_is_single_event_page() || eme_is_single_location_page() ) {
    		remove_action( 'wpseo_head', array( $GLOBALS['wpseo_og'], 'opengraph' ), 30 );
    	}
    }
    
    add_action('wp_head', 'remove_all_wpseo_twitter', 1);
    function remove_all_wpseo_twitter() {
    	if ( eme_is_single_event_page() || eme_is_single_location_page() ) {
    		remove_action( 'wpseo_head' , array( 'WPSEO_Twitter' , 'get_instance' ) , 40 );
    	}
    }
    
    add_filter( 'wpseo_canonical', 'yoast_remove_canonical_items' );
    
    function yoast_remove_canonical_items( $canonical ) {
      if ( is_page ( 3475 ) ) {
        return false;
      }
      /* Use a second if statement here when needed */
    	return $canonical; /* Do not remove this line */
    }
    
    add_filter( 'wpseo_title', 'eme_html_title' );

    It works for now, so I plan to leave it as-is until I see an issue. Thank you Franky!

    #60914
    Anonymous
    Inactive

    You are right I have used it within a eme_if statement, after adding the code it worked for #_MEMBERSHIP_PAYMENT_URL. 🙂

    I noticed that after you fixed the “[eme_if tag='#_IS_USER_MEMBER_OF{1}' value='1']” issue, now the check for pending is true regardless if a member is active:

    [eme_if tag='#_IS_USER_MEMBER_PENDING{1}' value='1'] 
    Pending, not activated yet..
    <a href="#_MEMBERSHIP_PAYMENT_URL{1}">Pay now</a>
    [/eme_if]

    Maybe a small fix needed here?

    Another note:
    If the member is expiered is this the only time the “#_EXPIRED_MEMBERSHIP_PAYMENT_URL{1}” gets generated and prints anything? Because it returns null for me, but maybe that is expected behavior as the user has not expired yet so I have not tested that. what do you say?

    #60910
    Anonymous
    Inactive

    I did the change on my end after doing the latest upgrade and it works! Thanks Franky! 🙂

    Another thing I noticed:

    I did realise with your update the code #_EXPIRED_MEMBERSHIP_PAYMENT_URL{1} didn’t seem to work.. but I just printed it out while being in a pending state.. it just printed out the text “#_EXPIRED_MEMBERSHIP_PAYMENT_URL{1}”.
    Maybe the user actually have to be expired for this link to work?

    I also tried with #_MEMBERSHIP_PAYMENT_URL{1} and this also did the same just printed out the text: “#_MEMBERSHIP_PAYMENT_URL{1}”..

    Maybe a new bug?

    #60906
    Anonymous
    Inactive

    Hi Franky,

    I’m having some issues with the tag #_IS_USER_MEMBER_OF..

    This is the code I am using:

    [eme_if tag='#_IS_USER_MEMBER_PENDING{1}' value='1'] 
    Pending, not activated yet..
    [/eme_if]
    
    [eme_if tag='#_IS_USER_MEMBER_OF{1}' value='1']
    YES Membership
    [/eme_if]

    I noticed I could use the ID 1 of Membership as well as the name of the Membership called “Membership”. And it’s better to use ID in case I change the name of the membership.

    The test is I am registering a new user and do not pay.. This is the results I am seeing:
    Both of the statements are true in this case.. so they get a YES for being part of the membership even they are pending payment.. So both is true..

    As far as I can read the documentation only paying member should be true for [eme_if tag='#_IS_USER_MEMBER_OF{1}' value='1']… right?

    Seems that there might be a bug here?

    #60876
    Franky
    Keymaster

    Your closing tag for the first 2 eme_if statements should be [/eme_if], not [eme_if]

    #60822
    Anonymous
    Inactive

    There are a couple of posts under “How to make EME and Yoast play nice together?” at https://www.e-dynamics.be/wordpress/faq/ discussing how to make Yoast behave better with the Events page and dynamic events and locations.

    I followed the instructions on the FAQs to add dynamic titles, get OG tags, etc but found one more issue: Google wouldn’t crawl the site because Yoast added a page canonical that overrode the dynamic canonical.

    So in addition to the suggested code for the functions.php file, I also added the following (found on stack):

    
    add_filter( 'wpseo_canonical', 'yoast_remove_canonical_items' );
    
    function yoast_remove_canonical_items( $canonical ) {
      if ( is_page ( 3475 ) ) {
        return false;
      }
      /* Use a second if statement here when needed */
    	return $canonical; /* Do not remove this line */
    }
    
    

    Any comments to better this are welcomed…

    #60797

    In reply to: Countries

    Anonymous
    Inactive

    Seems that there is similar issues with states..

    I’m getting “Not all required fields present.”..

    The format I am using in a csv file is:
    Name,Code,Country
    Alabama,AL,US
    Alaska,AK,US
    Arizona,AZ,US
    Arkansas,AR,US
    California,CA,US
    ….

    What am I doing wrong?

    #60774
    Anonymous
    Inactive

    There are no discounts being applied. The set up is simple

    Membership is yearly with a base value of 150:

    Template is:

    number of Scouts to Register: #_FIELD{NumScouts}
    <h3>Parent Information:</h3>
    <table>
    <tbody>
    <tr>
    <th>First Name:</th>
    <td>#_FIRSTNAME</td>
    <th>Last Name:</th>
    <td>#_LASTNAME</td>
    </tr>
    <tr>
    <th>Address:</th>
    <td>#_ADDRESS1</td>
    <th>Address 2:</th>
    <td>#_ADDRESS2</td>
    </tr>
    <tr>
    <th>City:</th>
    <td>#REQ_CITY</td>
    <th>State:</th>
    <td>#REQ_STATE</td>
    </tr>
    <tr>
    <th>Zip:</th>
    <td>#REQ_ZIP</td>
    <th>Phone number:</th>
    <td>#REQ_PHONE</td>
    </tr>
    <tr>
    <th>E-Mail:</th>
    <td>#REQ_EMAIL</td>
    </tr>
    </tbody>
    </table>
    #_DYNAMICDATA
    #_CAPTCHA
    #_SUBMIT{Register}

    Where #_FIELD{NumScouts} is a Dropdown Members field with values of 0||100|178, labels 1||2||3 and set with extra charge and required.

    #_DYNAMICDATA refers to the following template:

    <h3>Scout 1 Information:</h3>
    Upload Medical Form:#_FIELD{Scout Medical}
    <table>
    <tbody>
    <tr>
    <td>First Name:</td>
    <td>#_FIELD{Scout First Name}</td>
    <td>Last Name:</td>
    <td>#_FIELD{Scout Last Name}</td>
    </tr>
    <tr>
    <td>Grade*:</td>
    <td>#_FIELD{Scout Grade}</td>
    <td>School:</td>
    <td>#_FIELD{Scout School}</td>
    <td>Den:</td>
    <td>#_FIELD{Scout Den Num}</td>
    </tr>
    </tbody>
    </table>

    #60745

    In reply to: Countries

    Franky
    Keymaster

    Btw: it seems they changed the state codes for the US to something more than 2 characters (and even my example has a string of 3 characters for Washington), so this change needs to be applied (just remove 3 lines in eme_countries.php):
    https://plugins.trac.wordpress.org/changeset/2235663/

    #60736

    Topic: Countries

    in forum How do I …
    Anonymous
    Inactive

    Hi there, maybe I’m lazy, but I am wondering if anyone have a list of csv countries ready for importing to EME ? maybe also states in us/canada… etc?

    https://www.e-dynamics.be/wordpress/csv-import-countries-states/

    #60681

    In reply to: RSVP required fields

    Anonymous
    Inactive

    Ok, thanks for your answer. I have already tested the alternative with #REQ with the same result.

    To your question, why am I doing this? I use this RSVP form for different types of events. I have another user-defined field of the type: “Event”, I use the content as an argument for the if statement. In one case the field is visible and required, in the other case the field is not part of the form and has no meaning.
    I have been using this construct for about 1 year.

    #60672
    Anonymous
    Inactive

    Hallo Franky,
    I use the current eme and wp version.
    I use a custom field with the property required. The property was defined when the field was created.
    I use an IF statement in the RSVP form, so the user-defined field is not always displayed.
    Now to my problem. If the form is used and the user-defined field is not displayed, the error message appears: The entry for the field “XX” is missing.
    There is no reference to the field in the HTML code.
    What have I done wrong?

    #60449
    Anonymous
    Inactive

    Hi Franky,

    I’m in the approved bookings table I’d like to be able to edit the ‘comment’ field to add some notes, mainly to mark whether the person DNA’d or not so we can report on it.

    I can’t seem to find how to add data to this, when I click edit on the row it doesn’t give me an option to add to it.

    I’ve tried creating a custom field (DNA / check box) in the hope that I’d be able to add that as a column in the approved bookings table but that didn’t work for me either.

    Is there a way to add a mark/comment to a persons booking to state whether they attended the event or not please?

    Thanks,
    David.

    #60354
    Franky
    Keymaster

    Btw, I found the reason: I added some extra capabilities and the “eme_cap_list_locations” was somehow forgotten in eme_options.php . I’ll add that this evening 🙂
    For now you can just change “eme_cap_list_locations” to “eme_cap_add_locations” (or remove that if-statement completely) in eme_locations.php.

    Franky
    Keymaster

    Test so far: the call to
    $mollie = new \Mollie\Api\MollieApiClient();
    is failing, with *no* error whatsoever. It seems something is blocking that …

    I disabled the security features on your WP Security plugin, but you can reactivate anything you had set (if it was already the case).
    You should check your php logs for anything related to php errors or so. If I print a debug statement above that line, it works. Below that line, nothing appears anymore, so something in your php settings/version doesn’t like the Mollie api-call at all …
    Edit: it might be some other plugin is also providing mollie libraries that might cause this issue, so check that too.

    Franky
    Keymaster

    Indeed, no JS error. Now I quickly checked the code: clicking the button does a POST with the needed info (and a nonce), that POST activates the mollie-code and then redirects you to the mollie site for payment. In your case it seems the empty page-output is blocking this redirect from happening.
    I tested it on my public site and there everything seems to be working fine. Can it be that you have some kind of security plugin blocking this post?
    You can also consider giving me admin access, so I can add extra lines to the code and see where it blocks … or if you have a little php experience, check if the function eme_mollie_charge (in eme_payments.php) gets called ok (add some print statements in it to see how far you come in that function, that is the function that is managing the POST and the redirection)

    #60152
    Anonymous
    Inactive

    Damn! I am just on my way to post an issue and discover that this thread is still open. I was quite sure that I wrote a final statement and now it comes back to my mind that similar thing happened already some time ago.

    Nevertheless … let me see if I can remember how I resolved this … at the end there wasn’t something special I have done. I couldn’t really figure out and partwise not even reproduce myself. I reset the values, changed backwards and forwards, saved again and at one moment everything worked as it is supposed to do.

    #60001

    In reply to: Set location status

    Anonymous
    Inactive

    Hi Franky
    Sorry for no reply but I saw your question more as a statement.
    I think if a event is private the Location should be private as well.
    Otherwise The Location and its Details can be seen by everybody.
    Best Regards Michael

    #59783
    Franky
    Keymaster

    First: 5.6 is very old too (and already end of life), you should consider going to 7.2 or 7.3
    Concering the show_recurrent_events_once: I’m guessing you’re hitting the limit of the sql statemnt I can provide. First, from the changelog:

    * Fix a show_recurrent_events_once sql bug (in fact not a bug, but indeterministic result) due to newer mysql/mariadb versions

    This fix resulted in that I needed to get all recurrent events as if standalone ones, and doing the “limit” later on (which is what you are probably bumping into: increasing the limit will solve your problem). Another option you could consider is using period-based showing of events (like the next 2 weeks or so), which doesn’t bump into this limit-thing.

    #59776

    Topic: People vs Member

    in forum How do I …
    Anonymous
    Inactive

    I wonder if you could state the difference (if there is one) between People and Members. If I was going to input contact information, which do I use?

    Thanks in advance – Sam

    #59752
    Franky
    Keymaster

    Some “>” things were still wrong in the last if-statement, but this is the final fix:
    https://plugins.trac.wordpress.org/changeset/2049331/

    Anonymous
    Inactive

    Some findings for a possible solution:

    “The SEO Framework” provides a filter for the canonical URL. It also provides a global DEFINE (‘THE_SEO_FRAMEWORK_PRESENT’) if it is active.

    I was able to write a filter function which “overwrites” the canonical url if it is an single event or location page. Only side effect I have at the moment are two (identical) canonical statements in the html source.

    Additional code required:

    
    function eme_seo_canonical_url($arg_url) {
    	if (eme_is_single_event_page()) {
    		$event_id=eme_sanitize_request(get_query_var('event_id'));
    		if (!eme_check_event_exists($event_id)) {
    			return $arg_url;
    		}
    		$event=eme_get_event($event_id);
    		return eme_event_url($event);
    	}
    	elseif (eme_is_single_location_page()) {
    		$location_id=eme_sanitize_request(get_query_var('location_id'));
    		if (!eme_check_location_exists($location_id)) {
    			return $arg_url;
    		}
    
    		$location=eme_get_location($location_id);
    		return eme_location_url($location);
    	}
    	return $arg_url;
    }
    
    add_filter ('the_seo_framework_rel_canonical_output', 'eme_seo_canonical_url');
    
    Anonymous
    Inactive

    Hi Franky!

    Please don’t interpret my email as a complaint about your plugin! I was just taking exception to your statement it’s not necessary to send an alert to users. And by “bad enough” I was speaking strictly to the quality of UX on my website, not EME.

    I will be in touch privately about adding this feature to EME for our site.

    Anonymous
    Inactive

    Hi Franky,

    In this thread https://www.e-dynamics.be/wordpress/forums/topic/conditionals-eme_if-attributes-eq-and-value-do-not-work-for-numbers/ you helped me understand why you don’t automatically link EME Persons and WP Users, which means my admins have to approve members manually. This is not a desirable state of affairs at all, but I accept it for now.

    However, users need feedback on when their membership has been activated, which means I want my website to automatically send them an email when their EME Person entry and their newly registered WP User entry become linked in the EME Person page.

    How can I add a hook somewhere that does this? I suppose I would need to create a new email template for this as well…?

    Anonymous
    Inactive

    I’m not totally sure, but I think that “state” should be “status” in this string?

    Warning: membership is not yet paid for, so automatic state calculation will not happen!

    /Anders

    #59304
    Anonymous
    Inactive

    On my event page, I’m using a custom template to display my event details, plus the bottom has my custom RSVP form. Is there a way to show the RSVP form only if the user hasn’t already signed up? And if they have signed up, instead show them the edit/cancel RSVP form? It’s a members-only site, so only folks with logins can see/sign up anyway.

    So, essentially, I need an IF statement somehow. IF user has RSVP’d then show edit/cancel form, otherwise show RSVP form.

    #59294
    Anonymous
    Inactive

    Here’s what my non-member and member blocks look like. Hopefully it helps someone else set up complex conditionals like this! The different #_FIELD{n} placeholders refer to my Custom Fields each of which has a negative extra charge matching the price of the seats in question.

    Also note that non-members see a couple levels of tickets at a time if there are only 4 or less seats available in the previous price. I used nested conditionals, since EME cannot do multiple conditions in one [eme_if] tag, nor can it do else statements.

    [eme_if tag='#_IS_USER_MEMBER_OF{MyMembershipName}' eq=0]
    	           [eme_if2 tag='#_AVAILABLESPACES{1}' gt=0]<tr><th scope='row'>Early (#_PRICE{1} ea.):<br /><small class="my-spacesleft-class">only #_AVAILABLESPACES{1} left!</small></th><td>#_SEATS{1}</td></tr>[/eme_if2]
    
    	           [eme_if2 tag='#_AVAILABLESPACES{1}' le=4][eme_if3 tag='#_AVAILABLESPACES{2}' gt=0]<tr><th scope='row'>General seating (#_PRICE{2} ea.):<br /><small class="my-spacesleft-class">only #_AVAILABLESPACES{2} left!</small></th><td>#_SEATS{2}</td></tr>[/eme_if3][/eme_if2]
    
    	           [eme_if2 tag='#_AVAILABLESPACES{2}' le=4][eme_if3 tag='#_AVAILABLESPACES{3}' gt=0]<tr><th scope='row'>Late (#_PRICE{3} ea.):<br /><small class="my-spacesleft-class">only #_AVAILABLESPACES{3} left!</small></th><td>#_SEATS{3}</td></tr>[/eme_if3][/eme_if2]
    
    	           [eme_if2 tag='#_AVAILABLESPACES{3}' le=4][eme_if3 tag='#_AVAILABLESPACES{4}' gt=0]<tr><th scope='row'>Very late (#_PRICE{4} ea.):<br /><small class="my-spacesleft-class">only #_AVAILABLESPACES{4} left!</small></th><td>#_SEATS{4}</td></tr>[/eme_if3][/eme_if2]
               [/eme_if]
    
               [eme_if tag='#_IS_USER_MEMBER_OF{MyMembershipName}' eq=1]
    	           [eme_if2 tag='#_AVAILABLESPACES{1}' gt=0]<tr><th scope='row'>Early (#_PRICE{1} ea.):<br /><small class="my-spacesleft-class">only #_AVAILABLESPACES{1} left!</small></th><td>#_SEATS{1}[eme_if3 tag='#_USER_BOOKEDSEATS' lt=1]#_FIELD{1}[/eme_if3]</td></tr>[/eme_if2]
    
    	           [eme_if2 tag='#_AVAILABLESPACES{1}' eq=0][eme_if3 tag='#_AVAILABLESPACES{2}' gt=0]<tr><th scope='row'>General seating (#_PRICE{2} ea.):<br /><small class="my-spacesleft-class">only #_AVAILABLESPACES{2} left!</small></th><td>#_SEATS{2}[eme_if4 tag='#_USER_BOOKEDSEATS' lt=1]#_FIELD{2}[/eme_if4]</td></tr>[/eme_if3][/eme_if2]
    
    	           [eme_if2 tag='#_AVAILABLESPACES{2}' eq=0][eme_if3 tag='#_AVAILABLESPACES{3}' gt=0]<tr><th scope='row'>Late (#_PRICE{3} ea.):<br /><small class="my-spacesleft-class">only #_AVAILABLESPACES{3} left!</small></th><td>#_SEATS{3}[eme_if4 tag='#_USER_BOOKEDSEATS' lt=1]#_FIELD{3}[/eme_if4]</td></tr>[/eme_if3][/eme_if2]
    
    	           [eme_if2 tag='#_AVAILABLESPACES{3}' eq=0][eme_if3 tag='#_AVAILABLESPACES{4}' gt=0]<tr><th scope='row'>Very late (#_PRICE{4} ea.):<br /><small class="my-spacesleft-class">only #_AVAILABLESPACES{4} left!</small></th><td>#_SEATS{4}[eme_if4 tag='#_USER_BOOKEDSEATS' lt=1]#_FIELD{4}[/eme_if4]</td></tr>[/eme_if3][/eme_if2]
               [/eme_if]
    #59287
    Anonymous
    Inactive

    Okay, I’ve been working hard on this and with the help of #_USER_BOOKEDSEATS I think I’ve cracked the challenge.

    For each price, I created a unique custom field for exactly that amount of discount (negative extra charge). If the user is a member AND has no booked seats (nested IF statements), then the custom field that matches the right price level is added into the form. So in effect, members get a negative extra charge that matches the price of a single ticket at the available price level, but only if they have no bookings already (so they only get 1 ticket included with membership).

    It seems to work so far. I just need to separate the seat fields into 2 separate blocks, one for members and one for non-members given UX considerations.

    #59281
    Anonymous
    Inactive

    Your bugfix worked perfectly! Not only is the value in the hidden field now (I can see your switch statement needed those extra lines), but I can see the price change including that discount with the #_DYNAMICPRICE placeholder. (Just discovered that, very cool!)

    This is a great first step for me to learn more things about EME. However, of course what I actually need is quite a bit more complex and will obviously need to use a code-type Discount.

    The functionality I need to create sounds simple but is probably complex to create by hand:

    Members are allowed to get 1 free ticket for certain events.

    Luckily, the logic works out that Members should always get the most expensive tickets. Please let me know if what I need is impossible. I imagine it is possible with the right PHP. I think I know just enough PHP to get it done correctly. Wish me luck!

    Franky
    Keymaster

    The IS_USER_MEMBER_OF was failing due to a wrong sql statement, not the conditions.
    This fixes that issue:
    https://plugins.trac.wordpress.org/changeset/2002206/

    #_AVAILABLESPACES{n} only works if your event is multiseat … is that the case?

    Anonymous
    Inactive

    In eme-rsvp.php line 995, bookings.status unknown due to AS statement missing for bookings table

    #59071
    Franky
    Keymaster

    This change should prevent wrong state/country entries:
    https://plugins.trac.wordpress.org/changeset/1982264/

    #58639
    Anonymous
    Inactive

    Howdy Franky,
    I just implemented EME, everythings looks great, but if I follow the cancellation link from the e-mail, the webpage opens, there is i a nice button to cancel the registration, but this button doesn’t work. Nothing happen after click on it.

    Here is peace of the page with the button. Did I missed some configuration?

    <article class='post-entry post-entry-type-page post-entry-187'  itemscope="itemscope" itemtype="https://schema.org/CreativeWork" >
    
    			<div class="entry-content-wrapper clearfix">
                    <header class="entry-content-header"></header><div class="entry-content"  itemprop="text" >Chystáte se zrušit následující přihlášky:<ul class='eme_bookings_list_ul'>30.&nbsp;5.&nbsp;2019&nbsp;0.00: Studium eurytmie 2019 (1 místa).<br /></ul><form id='booking-cancel-form' name='booking-cancel-form' method='post' action='https://www.studium-eurytmie.cz/events/' onsubmit='eme_submit_button.disabled = true; return true;'>
             <input type='hidden' name='eme_confirm_cancel_booking' value='1' />
             <input type='hidden' name='eme_pmt_rndid' value='5bdf4b23a12de_432a8e74eea9daf6e067ce1d0dd2ea7b' /><input type="hidden" id="eme_frontend_nonce" name="eme_frontend_nonce" value="cf9162620e" /><input name='eme_submit_button' type='submit' value='Zrušit přihlášku' /></form></div><footer class="entry-footer"></footer>			</div>
    
    		</article>

    I have the recent version, just updated.

    With best regards,
    Jiri

    Anonymous
    Inactive

    For reference:

    This is the “Register Online” form template:

    <h2>Register Online</h2>
    <table class='eme-rsvp-form'>
    <tr><th scope='row'>Number of Registrations*:</th><td>#_SEATS</td></tr>
    <tr><th scope='row'>Name*:</th><td>#_NAME</td></tr>
    <tr><th scope='row'>E-Mail*:</th><td>#_EMAIL</td></tr>
    <tr><th scope='row'>Phone number:</th><td>#_PHONE</td></tr>
    <tr><th scope='row'>Address Line 1</th><td>#_ADDRESS1</td></tr>
    <tr><th scope='row'>Address Line 2</th><td>#_ADDRESS2</td></tr>
    <tr><th scope='row'>City:</th><td>#_CITY</td></tr>
    <tr><th scope='row'>Country:</th><td>#_COUNTRY</td></tr>
    <tr><th scope='row'>State:</th><td>#_STATE</td></tr>
    <tr><th scope='row'>Zip Code:</th><td>#_ZIP</td></tr>
    <tr><th scope='row'>Comment:</th><td>#_COMMENT</td></tr>
    </table>
    #_DYNAMICDATA
    #_SUBMIT

    And this is the “Additional Registration” form template I am using:

    <h2>Additional Registration</h2>
    <table class="eme-rsvp-form">
    <tbody>
    <tr><th scope="row">Name:</th><td>#_FIELD{Additional Name}</td></tr>
    <tr><th scope="row">E-Mail:</th><td>#_FIELD{Additional Email}</td></tr>
    <tr><th scope="row">Phone number:</th><td>#_FIELD{Additional Phone Number}</td></tr>
    <tr><th scope="row">Full Address:</th><td>#_FIELD{Additional Full Address}</td></tr>
    </tbody>
    </table>

    This is the conditional logic for #_SEATS
    https://i.imgur.com/csOLRsa.png
    screenshot-2

    Let me know if there is anything else I should show you.

    Franky
    Keymaster

    Indeed, if you just want text fields, create custom fields.
    Now: in the EME countries/states page, you can import countries and states (see https://www.e-dynamics.be/wordpress/category/documentation/19-csv-import/csv-import-countries-states/ ). It can be done very quickly if you don’t want to provide translations and just keep 1 language. I don’t provide these by default in EME because of the language, but see the link and then decide if you want to use them or not.

    Anonymous
    Inactive

    Have not had any live events with RSVP for quite a while. Now we do again.

    I see somewhere in updates of the plugin, you have made the STATE and COUNTRY built-ins use an autocomplete. But the plugin user has to create all the countries and states.

    Is there any option to turn off that functionality so that the built-in STATE and COUNTRY work as they did before, as just a text field?

    Our online events are international, it would be crazy overhead to identify and manually create the hundreds of countries and states we do or might get registrations from.

    Or do I have to just create a DIY replacement for the built-ins, like #_FIELDNAME{State} and #_FIELD{State}, in order to get the older functionality of a plain text field?

    thanks,
    John

    #58351
    Franky
    Keymaster

    More info: the server is returning ‘-1’ as a reply on your site for the state-lookup. This only happens when the form nonce is incorrect. Since you’re using a cache-plugin, I’m guessing it is not cleaning up itself correctly and showing an old page, and not the latest form.
    So clean your cache (or better: disable the cache plugin or exclude EME from it)

    #58349
    Anonymous
    Inactive

    Hi Franky,

    One of our clients has been using the Events Made Easy plugin on their website and after updating to Version 2.0.45 last weekend, the State field on their registration forms isn’t working correctly. The other address fields are fine. You can click on the dropdown in the State field and it says “searching” but it never returns a list of states. See this page for an example: https://glenmeadow.org/events/179/dee-dee-bridgewater/

    We’ve tried it in Chrome and Safari.. have also cleared the cache.

    Any ideas?

    Thanks!

    Anonymous
    Inactive

    Yuuup that worked! Even though it had coordinates, it was saying it didn’t. But it was still trying to use a location where the state and zip were entered into the city spot – so I think that’s what was breaking it. I’m going to have to tell them to make sure they are careful to enter everything into the correct fields!

    Anonymous
    Inactive

    There are two entries for that particular location – both have a latitude and longitude listed in both the locations list (I right-clicked to show those columns) and the single entry. The only thing that was wrong with them was the client had entered state and zipcode under “city” all on one line, but I updated that and it still has not helped. It seems like the fact that it’s pulling 0,0 as the coordinates is the main issue in this instance – I do see now when zooming out all the way that it’s just in the wrong location – and I’m not exactly sure why it would be since from what I can see the coordinates are set. :-\

    I see that the grid is being caused by the stylesheet (probably where they have put a border around images). I am not getting any javascript errors in the console of either FF or Chrome at all, so I can’t reproduce that one… But the JS ended up being a pixel code that their host was adding >.< (I really don’t like their host). I just turned it off, and from the sounds of it, it may even speed up the site.

    As always, I appreciate you poking at this with me.

    #58034
    Franky
    Keymaster

    ‘ASC’ corresponds with ‘event_start_date ASC, event_start_time ASC, event_name ASC’,
    ‘DESC’ corresponds with ‘event_start_date DESC, event_start_time DESC, event_name DESC’

    So: DESC shows newest first, ASC oldest
    I guess your order statement should simply be:
    order=’event_category_ids DESC, event_start_date ASC, event_start_time ASC’

    #58033
    Anonymous
    Inactive

    Hello,
    In the documentation it says you can use ASC, DESC or create your own order statement.

    I want to show events ordered by oldest first, followed by ordering by category ID. If I use:

    [ eme_events paging=1 limit=0 order=DESC showperiod=daily scope=this_week category=24,23,22]

    …then it sorts by oldest event first but the categories are not ordered correctly.

    If I try:

    [ eme_events paging=1 limit=0 order=’event_category_ids DESC, event_start_date DESC, event_start_time DESC’ showperiod=daily scope=this_week category=24,23,22]

    …then the categories are correct but the events are displayed newest first rather than oldest.

    Is it possible to sort by event date AND category ID, and if so, what statement should I use?

    Thank you for any help you can provide.

    #57914
    Franky
    Keymaster

    PHP needs versioni 5.3 or newer for numberformatter to work, see:
    http://php.net/manual/en/numberformatter.formatcurrency.php

    Also, I clearly state in the EME requirements (at wordpress plugin site) that I require at least php version 5.6. Older versions might work, but are not supported.
    So, please do update your version (php 5.2 is already out of support for years btw).

    #57859
    Anonymous
    Inactive

    Thank you very much for checking out my site, Franky. That definitely fixed it!

    I was using the wrong field, which I clearly described in step 2 of the OP and you can see there that was the issue. The reason I was using the wrong field for the seats is directly due to the Multiseat page in the documentation, which states:

    “But where – with multiprice events – you create price categories, here you can define (if wanted) the maximum available seats per price category.”

    That is a very confusing sentence which led me to use the Max Number of Spaces to Book field instead of the correct field which is Spaces.

    In addition, this nomenclature of “price categories” is very confusing, especially considering you use Event Categories as a built-in feature of EME. “Price levels” would be a more appropriate phrase.

    I highly recommend totally scrapping the content on the Multiseat page and writing it over again, describing precisely what it means and what is required to set up a Multiseat event.

    Thank you so much for your great plugin and hard work.

    #57842
    Anonymous
    Inactive

    Did you try making an event with SINGLE seating first, then saving it as MULTISEAT later? That is the only thing I could imagine might cause this (an event being initialized in the wrong state?).

    #57821
    Franky
    Keymaster

    Btw, the next version will be more strict: if no countries are defined, you won’t be able to manage states.

    #57776
    Franky
    Keymaster

    Confirmed as a bug where only 1 country is defined and not used in the rsvp form (since #_STATE should then refer to the states of that 1 country).
    This should fix it:
    https://plugins.trac.wordpress.org/changeset/1847930/

    #57773
    Franky
    Keymaster

    Do you have a country defined? And are the states linked to that country?

    Anonymous
    Inactive

    Hi,

    One of my client sites has a State selection on one of their forms, and recently it has stopped loading the states in the dropdown. I tried adding states on the backend (I added Pennsylvania and Maryland) but that didn’t seem to make a difference, either. Since it’s a required field, people are unable to submit the form.

    Here is the address:

    https://glenmeadow.org/events/22/silk-road-ensemble/

    We are using #req_state to pull the form field into the form template (see below for what I have in the template).

    Register
    *Required Fields

    Name*
    #REQ_NAME

    Email*
    #REQ_EMAIL

    Phone*
    #REQ_PHONE

    Address*
    #REQ_ADDRESS1

    City*
    #REQ_CITY

    State*
    #REQ_STATE

    Zip Code*
    #REQ_ZIP

    Number of Attendees*
    #_SPACES

    Emergency contacts for each attendee:*
    #REQ_FIELD{1}

    Food choices for each attendee:*
    #REQ_COMMENT

    #_SUBMIT{Register}

    #57712
    Franky
    Keymaster

    Only events have a modif-info column (see the placeholders).
    I ued to implement it for everything, but that just got in the way of effective sql-statements. Maybe I’ll add an auto-update column in the future …

    #57592
    Anonymous
    Inactive

    One other tiny thing I meant to mention/ask about about regarding this feature upgrade. It’s a very small thing but would it be problematic to add a counter reset routine if the states or countries are totally cleared?

    I just did it from phpMyAdmin ALTER TABLE wp_eme_states AUTO_INCREMENT = 1; but it seems like it might be a nice option. . . a counter reset. . . ?

    #57590
    Anonymous
    Inactive

    Thanks! The update to 2.0.21 looks great and it all seems to be functioning as expected!

    Just a note to myself here: I’ve added the Country field even though I’ve hidden it since the state field seems to need the country field in order to pull the states into the registration page.

    Thanks again!

    #57586
    Franky
    Keymaster

    Indeed, the state column is just left there to show current info in the person overview list.

    #57585
    Anonymous
    Inactive

    Indeed! That was just incredibly fast. Bugs squashed (in latest dev version):

    Required Validation: Check.
    Num-3 Entry: Check!
    Single Country Selection: Check!!

    So, I guess the ‘state’ column is in fact deprecated, to be replaced by ‘state_code’?

    #57576
    Anonymous
    Inactive

    Thank you for the reply – you seem to think of *Plenty* of stuff!

    I updated to 2.0.20 and also tried the Dev version. The state updates work but I’m not seeing the ‘default country’ behavior.

    But I’m also getting an error now when entering the Num-3 code ‘Incorrect num-3 code‘ when entering 840 for the USA.

    I also can’t get past validation when the state and/or country fields are ‘Required’: “Please make sure all of the following required fields are filled out correctly: Country, State“.

    When not set to required, the ‘state_code’ and ‘country_code’ columns are populated but not the ‘state’ column.

    Is the ‘state’ field/column being deprecated?

    Anonymous
    Inactive

    My forms don’t offer a country selection. I’m understanding that a country needs to be selected before the list of states is populated. Is there a way to set a country as the default so that the list of states is populated without having to select the country?

    As it is now, the update to 2.0.19 breaks my forms because there’s no ‘Country’ field and I don’t see a way to disable the autocomplete entirely.

    Anonymous
    Inactive

    I get this error when trying to make edits to the states in my list:

    “Update failed: Unknown column ‘country’ in ‘field list'”

    I can import and add states but can’t make changes once they’ve been created

    #57562
    Franky
    Keymaster

    Is this about older registrations (from before this version) or new ones (with the correct state/country choices)?
    Because the new one is not compatible with the old data in that regard. What you could do is (unfortunately), go in the database and copy from the (for now still existing) column country to the new column country_code (and idem for state).
    In mysql (an example):
    update wp_eme_people set country_code=country
    update wp_eme_people set state_code=state

    #57540
    Anonymous
    Inactive

    Hi Franky,

    i like the new feature “Use and enfore a list of states/countries for RSVP and people/members” and maybe that’s not a bug, but since update to 2.0.19, countries will not be exported, the field is empty!

    I know, i have to generate a list of countries i want to provide in our registration form. I filled all the countries i need into the list and left the localiosation-code empty as suggested.

    Most of our attendes used correct (alpha-2) country codes like AT, DE, CH (as i used in my list) on registering to an event, but the country field is still empty on export.

    If i edit a person and set the country from the list, the field will be filled. A look into the database shows the full country name. Is there a way – other then messing around with the database – to get the correct values into the field?

    Rgds,

    Werner

    #57532
    Franky
    Keymaster

    The single location map is now fixed (if-statement closed too soon in eme_location_map.js), feel free to download eme_location_map.js from the trunk https://plugins.trac.wordpress.org/browser/events-made-easy/trunk or replace the whole dev-version.

    Now concerning b: no idea what you mean … you ask for a global map of locations that have at least 1 event there (eventful=true), so events without location won’t show.

    I’ll check a, but a demo would be nice.

    #57329
    Anonymous
    Inactive

    I edited the RSVP template as you suggested and it has broken the booking pages on the website, in both 2.0.16 and 2.0.17.

    See for example: https://cfd.direct/openfoam-training/berlin/
    where I now have 2.0.17 installed. The right hand menu has disappeared under the footer.

    Even when I reinstate the original text in the RSVP template, it is still broken. I think I created the templates before the HTML editor was introduced there, so the data being saved is different from the original stored data.

    #57313

    In reply to: Mark as paid

    Franky
    Keymaster

    Update: the problem is due to a wordpress db-debug statement I left in there.
    This is the fix:
    https://plugins.trac.wordpress.org/changeset/1797780/

    Anonymous
    Inactive

    Ok, thanks, sorry about that. I had the “li” in there before and removed it when I was testing to try to figure out what was going wrong. Put it back in and I get the same results. Tried it also by using blank header/footer templates without the “li” – also same results.

    Here’s the code from the page displaying the bookings where the extra lines are displayed – the header/footer templates are empty (w/eme_if):

    <p style="text-align: left;"><strong>All My Events:</strong>
    <span style="font-size: 12px;">(shown in registered order - oldest to newest)</span></p>
    [eme_mybookings template_id=37 template_id_header=43 template_id_footer=45 future=0]

    Here’s the code from template 37:
    [eme_if tag="#ESCY" value="2017"]<strong>#_STARTDATE -- </strong>#_LINKEDNAME <strong>--</strong> #_STARTTIME to #_ENDTIME[/eme_if]

    Here’s the code from the page where the bookings are displayed as expected (no eme_if):

    <p style="text-align: left;"><strong>All My Events:</strong>
    <span style="font-size: 12px;">(shown in registered order - oldest to newest)</span></p>
    [eme_mybookings template_id=3 template_id_header=5 template_id_footer=7 future=0]

    Here’s the code from template 3:
    <li><strong>#_STARTDATE -- </strong>#_LINKEDNAME <strong>--</strong> #_STARTTIME to #_ENDTIME</li>

    Here’s the code from template 5 (header):
    <ul>

    Here’s the code from template 7 (footer):
    </ul>

    The big difference between the two displays appears to be the eme_if statement. What do you think?

    Anonymous
    Inactive

    I’m not sure what you mean by I haven’t shown the format I use. Do you mean the eme_bookings statement? If so, I’ve included it below. Please let me know if there’s something else I can provide to help figure out the issue:

    Here is what I’m trying to display on the page:
    <p style=”text-align: left;”>All My Events:
    <span style=”font-size: 12px;”>(shown in registered order – oldest to newest)</span></p>
    [eme_mybookings template_id=3 template_id_header=5 template_id_footer=7 future=0]

    Where:

    template_id 3 = [eme_if tag="#ESCY" value="2017"]#_STARTDATE — #_LINKEDNAME — #_STARTTIME to #_ENDTIME[/eme_if]
    template_id_header 5 = <ul>
    template_id_footer 7 = </ul>

    I checked all the templates, there are no extra lines/new lines that I can see. And none of these templates have been changed for a long time. Recently, they were just showing the events from 2017 (no blank lines).

    When I remove the eme_if statement and show all the bookings, it shows the same number of lines with the eme_if – where the blank lines were, 2016 events are now displayed.

    For example:
    event with 2016 date (blank line with the eme_if statement)
    event with 2016 date (blank line with the eme_if statement)
    event with 2017 date
    event with 2017 date
    event with 2016 date (blank line with the eme_if statement)
    event with 2017 date
    event with 2017 date
    etc…

    Anonymous
    Inactive

    Hi Franky, sorry to bring this up again, but I don’t think I was clear on the problem we are experiencing. What I found out when testing a little more is that the lines are actually not “empty” and we do not have an empty line before or after the [eme_if].

    The system is actually still displaying lines for events that do not meet the criteria in the [eme_if] – it is just not displaying any “data” with them (which makes them appear “blank”). It does though display the data for the lines that meet the criteria in the [eme_if] statement.

    So what we are getting is what appears to be a bunch of blank lines (which really represent the events the person registered for in 2016) and then the events for 2017 show the StartTime/EndTime as requested. So it appears as if the [eme_if] is only working partially, it does differentiate on the data based on the criteria, but it’s not suppressing lines for the events that shouldn’t be shown.

    So our display looks something like this (where the blank lines are really events with a start date in 2016 the person registered for after they registered for the 2017 events):
    event with a startdate in 2017
    event with a startdate in 2017

    event with a startdate in 2017
    event with a startdate in 2017

    The [eme_if] statement we are using looks like this (our eme_if’s were working fine for a long time – the problem appeared after one of the recent updates):
    [eme_if tag="#ESCY" value="2017"]#_STARTDATE — #_LINKEDNAME — #_STARTTIME to #_ENDTIME[/eme_if]

    Any help you could offer would be greatly appreciated. thanks!

    #57043
    Anonymous
    Inactive

    Thank you for the idea to put some text after the closing eme_if. I have figured out what it is doing. It is displaying a line for all the person’s bookings each time, but if it doesn’t meet the criteria — meaning if the event was in 2016 — it just shows that line as blank (as opposed to not displaying it at all) – and then it shows the desired text for all the events that were in 2017. I know it didn’t used to do that because I had templates that would just show a particular month and year so I could group each month together.

    Is there any other way I can suppress those lines from displaying? Or am I missing something in my eme_if statement?

    Thanks!

    Anonymous
    Inactive

    Can the registration for be made with conditional statements to accomplish this? I probably dont have the syntax tax.

    If the person is already registered, show the delete registration form:
    [eme_if tag=‘#_IS_REGISTERED’ <p>Change Registration #_REMOVEBOOKINGFORM</p> ][/eme_if]

    if they are not registered show the add booking form.

    Anonymous
    Inactive

    On a new WP I install EME 2.0. It doesn’t create mqueue table.

    There’s an error in SQL in eme_create_mqueue_table function: the query references a key on a missing column state. I believe it should be status instead. Line 1283.

    #56783
    Anonymous
    Inactive

    There are clearly additional fields such as Legal Company Name, etc. These were created in your form fields section per your documentation. Once those were created, I headed over to templates and created myself a custom RSVP template (RSVP forms (custom fields) is what I named it) where I inserted those fields as follows:

    <table class=’eme-rsvp-form’>
    <tr><th scope=’row’>First Name*:</th><td>#REQ_FIRSTNAME</td></tr>
    <tr><th scope=’row’>Last Name*:</th><td>#_LASTNAME</td></tr>
    <tr><th scope=’row’>Legal Company Name*:</th><td>#REQ_FIELD{1}</td></tr>
    <tr><th scope=’row’>Title*:</th><td class>#REQ_FIELD{4}</td></tr><div class=’eme-required-field’> </div>
    <tr><th scope=’row’>Address*:</th><td>#REQ_ADDRESS1</td></tr>
    <tr><th scope=’row’>City*:</th><td>#REQ_CITY</td></tr>
    <tr><th scope=’row’>State*:</th><td>#REQ_STATE</td></tr>
    <tr><th scope=’row’>Zip Code*:</th><td>#REQ_ZIP</td></tr>
    <tr><th scope=’row’>E-Mail*:</th><td>#_EMAIL</td></tr>
    <tr><th scope=’row’>Direct phone number:</th><td>#_PHONE<div class=’eme-required-field’> </div></td></tr>
    <tr><th scope=’row’>Mobile phone number:</th><td>#_PHONE<div class=’eme-required-field’> </div></td></tr>
    <tr><th scope=’row’>Small Business Designations:</th><td>#_FIELD{3}<div class=’eme-required-field’> </div></td></tr>
    <tr><th scope=’row’>
    What NAICS Codes do you self-perform?</th><td>#_FIELD{5}<div class=’eme-required-field’> </div></td></tr>
    <//**tr><//**th scope=’row’></th**/><//**td>#_SEATS</td**//></tr**//>
    #_CAPTCHAHTML{<tr><th scope=’row’>Please fill in the code displayed here:</th><td>#_CAPTCHA</td></tr>}
    </table>
    #_SUBMIT

    I believe this is how you recommended doing it in your documentation – but of course I could be wrong, there is a lot of documentation to sort thru! I do greatly appreciate all your help.

    #56748
    Franky
    Keymaster

    “DEV” as in “development”.
    The correct fix is a database change, but a workaround is either to set the correct type for your template, or to change in eme_templates.php in the function eme_get_templates (around line 142) the SQL statement to
    SELECT * FROM $table WHERE type IS NULL OR type='' OR type=%s ORDER BY type,description

    Anonymous
    Inactive

    It didn’t look like that last message posted right so… Going to try again… Sorry if it posts twice.

    So… this is what they came back with:

    I did some digging and was able to find the source of the problem. The statement descriptor needs to be a plain text. So if you go to your ‘Payments’ tab on your Dashboard, and click on any given payments, you will see the ‘Statement Descriptor’ reads (Booking for 'Fab Faux'). If you scroll down to the ‘Events’ tab and click on the data, it will pull up the codes in the API for that payment. Scroll down to the ‘Descriptor’ line, and it reads (Booking for 'Fab Faux'), so you need to apply to the API whatever you wish but in text form. For example, if you want for it to read just your company name just write out your business name with out coding it.

    It sounds like they aren’t going to change anything on their end and want whatever goes through to be passed through with plain text (I’m going to still press them to change this for the future – if every other payment system does it, then it is just stupid that theirs doesn’t).

    However, I now have a way to see if it’s passing through as the HTML entity – as he pointed me to where I can look at that on the back end of stripe while testing. So if we want to try anything else we can and I can see what it returns. It looks like the last one I submitted, that had the \’ still went through as html entities :-\ So I guess getting rid of the quotes altogether is the best idea. Do you have a suggestion for me to do that?

    Anonymous
    Inactive

    So… this is what they came back with:

    I did some digging and was able to find the source of the problem. The statement descriptor needs to be a plain text. So if you go to your ‘Payments’ tab on your Dashboard, and click on any given payments, you will see the ‘Statement Descriptor’ reads (Booking for 'Fab Faux'). If you scroll down to the ‘Events’ tab and click on the data, it will pull up the codes in the API for that payment. Scroll down to the ‘Descriptor’ line, and it reads (Booking for 'Fab Faux'), so you need to apply to the API whatever you wish but in text form. For example, if you want for it to read just your company name just write out your business name with out coding it.

    It sounds like they aren’t going to change anything on their end and want whatever goes through to be passed through with plain text (I’m going to still press them to change this for the future – if every other payment system does it, then it is just stupid that theirs doesn’t).

    However, I now have a way to see if it’s passing through as the HTML entity – as he pointed me to where I can look at that on the back end of stripe while testing. So if we want to try anything else we can and I can see what it returns. It looks like the last one I submitted, that had the \’ still went through as html entities :-\ So I guess getting rid of the quotes altogether is the best idea. Do you have a suggestion for me to do that?

    Anonymous
    Inactive

    Also, are you sure the mentioned booking form is the one being used for this event?

    Of course. 😉

    If i make changes like stated above, the booking form is shown with the debug error/notice.

    I even tried to give 11 Seats and Prices, to see if it depends on the amount of differents seats (10). But nothing changed.

    If amount of seats and prices doesn’t match, i get an error on the backend and the event will not be saved.

    And, as said, the source multiseat/multiprice event, where i made a copy from, is still working.

    #56296
    Anonymous
    Inactive

    Hi,

    I’m looking to create a kind of recurring event invitation type of thing for a weekly football game at my work. I’m exploring plugins and this seems to be the best one so far (considering i know a bit about wordpress already it helps!)

    I’m looking to modify the people form so I can add attributes (for example player position) and add my work colleagues in there. I’m also trying to remove fields like Address, phone number, state etc because they’re no use to me.

    How would I go about doing this? I’m thinking eme_people.php is the key, but nothing I modify in there updates the add person form. The jTable seems to be a clue but I’m struggling to figure it out. Is there something blatantly obvious I’m missing here?

    I’m not too fussed about the plugin not being update friendly, it’s only for internal use – I just need a good platform to work from 🙂

    Cheers

    #56294
    Anonymous
    Inactive

    So i checked our whole code. Co-Programmer entered filter in eme-functions.php. And I set up in functions.php of theme

    After deleting from eme-functions.php I get

    for event_ids

    rray ( [0] => 21 [1] => 23 [2] => 25 [3] => 27 [4] => 29 [5] => 31 ) )

    and:

    Array ( [S_J_3] => Array ( [person_id] => 3 [lastname] => S [firstname] => J [email] => jxxxx@xxx.de [phone] => [wp_id] => 1001046 [address1] => [address2] => [city] => [state] => [zip] => [country] => [lang] => ) )

    But double booking still works?

    #56157
    Anonymous
    Inactive

    Hallo Franky,

    The characters for the html commentary destroy the evaluation of the form fields.
    I have inserted the following text: –> a little text <–
    This prevents the following eme_if statement from being evaluated correctly.

    #56146

    In reply to: Optional Waitlist

    Anonymous
    Inactive

    Hi Franky,

    up to now I used

    [eme_if tag='#ESC_RESERVEDSPACES' ge='#ESC_TOTALSPACES']<span style="color:#F29849;font-weight:bold;font-size: 110%;">This event is sold out!</span>[/eme_if]

    Now with the waiting list feature I love to have different statements like…

    This event is sold out! (This Event has no waiting list seats)
    This event is sold out! But waiting list is open.
    This event is sold out and waiting list is closed.

    But I have the feeling to achieve this, it would require some more placeholders?

    Cheers
    Joerg

    #56103

    In reply to: forced location ?

    Anonymous
    Inactive

    Thanks for the quick reply. The if statements helped me with hiding and formating (found after I posted). Will work around the rest. I think the way I was trying to use locationdetails wasn’t correct; which isn’t going to work for me anyways since I have to use all of location or none.

    #56068
    Franky
    Keymaster

    Holy …. I just found the problem … in my tests it was ok, but in the final statement some backquotes slipped in 🙁
    This is the correct update statement:
    UPDATE wp_eme_answers SET field_id = (select field_id from wp_eme_formfields where field_name = wp_eme_answers.field_name LIMIT 1);

    #55986

    In reply to: Custom field, checkbox

    Franky
    Keymaster

    The code to replace values is identical in both cases, so I can’t say anything concerning this until you show the complete template in both cases (I’m guessing, since you use eme_if4 in the first case, some other if-statement takes precedence).

    #55923
    Anonymous
    Inactive

    Maybe you can confirm, as I see the Google Maps call on my homepage at http://NEOHgolf.com but I don’t have a map there. (I know the call is placed on the homepage by your plugin because I had a key entered on the Maps settings page in EME. That key is removed right now, but it’s the same.)

    From the homepage source code:
    <script type=’text/javascript’ src=’//maps.google.com/maps/api/js?’></script>
    <script type=’text/javascript’ src=’http://neohgolf.com/wp-content/plugins/events-made-easy/js/eme_location_map.js’></script&gt;

    Both GTmetrix and PSI count that Maps call as a ‘render-blocking script’.

    I’ve been testing caching plugins for a few hours now and between the various plugins and theme I use can’t find one that doesn’t break something. So right now I have no cache plugin active.

    And candidly I don’t know enough about js and cache to quickly fix this myself.

    I hope you take all this as me merely pointing out what GTmetrix and PSI both state, and I bring it up only in hopes you might keep it in mind as something to noodle out as you continue your work on the plugin. I love what you’ve built and I’ve sent a few donations in the past to show as much…

    #55352
    Franky
    Keymaster

    Well … that doesn’t help us along, since it is indeed the same error but no additional info.
    Could you try the mentioned SELECT statement by hand? Or maybe your database server has a log (maybe something happened at that time)?

    #55347
    Anonymous
    Inactive

    Tried it, seems to work (logged out of facebook from my browser, didn’t touch my site), but noticed several points.

    It’s a bit long, please bear with it.

    #1 It’s not sync’ing on an hourly basis even though I have set it as such in the settings. I’m saw the following code in line 60

    function activate_eme_sfe() { wp_schedule_event(time(), 'daily', 'eme_sfe_execute_sync'); }

    **my potential noob qns**
    If I interpret it correctly, it’s set to daily. Could this be overriding the $eme_sfe_frequency later in your code?

    #2 I saw the WP posts created by the plugin, but those said events were not listed in the “Events” list. When I woke up in the morning, only then were the events listed.

    Is the main EME supposed to only update it’s list of events when the latter “queries” the EME FB Sync plugin? If so, can you highlight which code line from which .php file is triggering it?

    Reason is, I’m using the modified code stated below, and it’s double inserting event blog posts, and uploading the cover images repeatedly. Like to know where to disable the repeated insertion of blog posts.
    http://www.e-dynamics.be/wordpress/?topic=how-to-create-fb-events-wordpress-blog-post-auto-sync

    #3 The locations are not recorded correctly. As seen in the screenshots, the locations for 3 events are not recorded, while on has it’s location repeated.

    Event list: http://imgur.com/jikb6kD
    Events:
    http://imgur.com/00e4SGB
    http://imgur.com/wXmDdsq
    http://imgur.com/UVaORBt
    http://imgur.com/lWiV0MF

    #4 I read in ur code that the cover images are not working, probably from a bug on FB’s end. I found the following in stackflow, someone managed to get it working, though I do not understand completely.

    http://stackoverflow.com/questions/23405943/facebook-php-sdk-cant-retrieve-cover-photo-for-event

    Facebook’s PHP SDK is now at version 5, not sure if that corrects any of the bugs you’re facing.

    Franky
    Keymaster

    If you have a 1000 future events, then yes: those get loaded at once in the backend currently.
    I’ll see if I can switch this to use ajax calls there.
    But even that shouldn’t use that much cpu (only some sql statements to be done).
    Of course, if your site is popular, then some caching needs to be done. Take a look at W3 Total Cache (don’t enable JS minify).

    #55311
    Franky
    Keymaster

    In order to eliminate some sql statements, $event now also contains the location info if location info is present. The call to eme_replace_event_location_placeholders can thus call eme_replace_locations_placeholders with $event providing all location info.
    Now, the way you changed it can’t work since there’s no longer a $location variable in that function, so by changing line 2195
    $format = eme_replace_event_location_placeholders ( $format, $event, $target, 0, $lang);

    With:
    $format = eme_replace_locations_placeholders ( $format, $location, $target, 0, $lang );

    you should now have a warning in your apache logfiles saying that $location is unknown or so.
    But as you can see on my example page, my event list + html + location info all works fine.

    But now that you mention it, it seems there’s a problem with events *without* location info … checking now.

    Franky
    Keymaster

    Ok, this change should greatly reduce the number of SQL statements made:
    http://plugins.trac.wordpress.org/changeset/1341352

    Please test 🙂

    #55009

    In reply to: Shortcode question

    Franky
    Keymaster

    Concerning the doc:
    – the usage doc at http://www.e-dynamics.be/wordpress/?cat=8 talks about how EME works, it tells you about the “format” settings, and what goes in those. It gives you the links to placeholders and shortcodes too.
    – if you read the doc about e.g. event shortcodes, you would know what “scope=future” means. If it isn’t clear that “scope=future” means to show future events, then there’s another problem…
    – at the bottom of every shortcode doc, there are examples to be found with the explanation of what each does. Again, take a look at the bottom of e.g. http://www.e-dynamics.be/wordpress/?cat=18

    Concerning a video: creating a video of more than x minutes would take a lot of preparation. If you’re willing to donate 1000 euro’s so I can spend a week on creating a 2 hour video, then you’ll have it. For now, I’m doing this in my own free time so I can’t just go around and leave my daytime job for it …

    To summarize the use:
    – create events (make sure the state of the event is “public” for basic testing)
    – go in the general settings of EME and look at the option called “Default event list format”. That setting defines the layout of 1 line when showing a list of events when using the [eme_events] shortcode on a regular page. Change that setting to your liking using the event placeholders (and any html of your choice) found at http://www.e-dynamics.be/wordpress/?cat=25
    – now go on a regular page and enter the shortcode “[eme_events]“. The output of that shortcode is changed by the format setting you just changed. For more options to change which events are shown and how, you can add options to the shortcode [eme_events] as shown in the doc.
    – If – on some pages – you want a different layout than the one defined in the generic EME setting “Default event list format”, you can create a template with your wanted format. Then use the template_id option for the [eme_events] shortcode.
    – if – for a specific event – you don’t like the general layout defined in “default single event format”, you can change the format when creating an event and changing the setting “single event format”

    All this is to show you: you have shortcodes on regular pages (with extra options), and “format settings” that contain placeholders that influence the layout (format) of those shortcodes. And since events are not locations or a calendar, you have event placeholders, location placeholders, etc …
    So, play around, change a format setting and check the returned layout from the corresponding placeholder.

    Everything in EME is about shortcodes and relevant placeholders … and many plugins in wordpress work in a similar manner.

    #55002

    In reply to: Shortcode question

    Anonymous
    Inactive

    Thank you for your reply. I am sorry Franky, but of course I read and I look at it again now. I try to comprehend your documentation but again it is not straightforward to follow and implement…I am lost where to start. Sure it is easy for you and perhaps for some advanced developers – I can only thank you for this product again (but I am a kind of a beginner) – I really want to implement it, but as you have seen other people came up and confirmed that your documentation is not easy and straightforward to understand too (https://wordpress.org/support/topic/start-2?replies=2#post-747707) In that communication you refereed again for this documentation and on the video tutorial which is unfortunately only in Spanish language with no help at all for English speaking people. We need English video tutorial please, if it is of course possible.

    No offence, but I find your documentation at the current written state quite difficult to follow without some guidance with practical examples on each level – what each element means with pictures – so can you help it please with plain screenshot examples and with a step by step guidance – where, what, when and how it works?

    Again, sorry, I am not complaining it, I am only asking for a help to implement and master your product not only for advanced developers. If not you, maybe sleininger continue to assist…Many thanks

    Anonymous
    Inactive

    when creating a serial/recurring event, I’d like to have a box that list all the separate events belonging to this recurrence to easily see, cancel or move them.

    I often use eme for dancing classes. They are usually on the same day and time every week, but there are exceptions from time to time (public holidays, room is occupied otherwise, teacher on tournament …) so sometimes I have to move some of the events to the day before or after, an hour ahead or back or cancel it altogether. I have to enter a lot of these and each and everyone has such exceptions that are know beforehand.

    A typical example from last year is: “every Monday 8 PM, but here are the days it’s actually really on: 15.09.2014, 22.09.2014, 29.09.2014, 06.10.2014, 13.10.2014, 03.11.2014, 10.11.2014, 24.11.2014, 01.12.2014, 08.12.2014” notice the gaps eg. between 13.10. and 03.11. Noticing the gaps, finding these singular events, deleting them is PITA. And when I update the recurrence, they are back.

    that brings me to an event state “cancelled”. People want to look up an event and want to see the information: this course does not happen today. Events with that state should be displayed in the calendar, but maybe as strike-through. The single event view should contain a prominent warning message like: “This event of a recurrence does not take place.”

    Anonymous
    Inactive

    When I update from 1.5.41 to 1.5.43, have a successful install and then go to any page in the backend of my site, it’s a white screen.

    I am using WordPress 4.3 and have the following plugins activated:
    Formidable Pro (forms)
    Formidable PayPal
    Formidable Math Captcha
    Business Directory Plugin
    Better Delete Revision
    Captcha by BestWebSoft
    Yoast SEO
    Meteor Slides
    Weaver II Theme Extras

    My theme is Weaver II Pro

    I see others are having issues with the white screen. I restored my website & db to the state prior to updating your plugin and things are working except for Formidable, which is throwing a function WP_List_Table::get_columns() must be over-ridden in a sub-class error (I don’t think that would impact your plugin, would it?).

    Thanks for any help.
    ~Barb Peterson

    #54758

    In reply to: Optional Waitlist

    Anonymous
    Inactive

    I even stated this earlier. Still would be pleased, if these feature would be built-in!

    #54100

    In reply to: Can't add new event

    Franky
    Keymaster

    Look at the state of the event you created (maybe it is “draft”). Does it show in the list of events in the backend (select “all” for the list of events and then filter on the title of the event you created)?
    Also, maybe the calendar is showing only events of a specific category?

    #53885

    In reply to: Backend add Booking

    Franky
    Keymaster

    The next version will have:
    – last name
    – first name
    – address1
    – address2
    – city
    – state
    – zip
    – country
    info per person, with corresponding placeholders in the forms: #_LASTNAME, #_FIRSTNAME, …

    #53713
    Anonymous
    Inactive

    I checked back the history of my page and I never used the “show_ongoing” parameter before. So I don’t know, why it worked in the past without it and now not.
    I know absolutely that past events had not been displayed. And I use recurrences since the start of my page (about one year ago.)
    So it seems the versions I used before (think it was something about 1.4.x) did not work properly as you stated above.
    Thanks again for your support.

    #53587
    Franky
    Keymaster

    Your code can be optimized a lot, but if it is not working: add some print_r($seats) statement to it, followed by die(); then you’ll see what is in the array …
    But changing the number of seats in a multiprice event is tricky …
    I would go about this in another way:
    – no multiseat or multiprice
    – add 2 extra dropdown fields for couple and table selections

    Use the normal discount filter to check for the value of the extra dropdown fields to increase the number of seats, reduce the price and update booking_price too (all in the same booking table).

    #53586
    Anonymous
    Inactive

    Thank you very much Franky.

    I am able to implement the discount feature from the example. I am, however, not fully satisfied with that outcome.

    I wrote an action and I am unsure why it is not working. It is, in fact, returning “0” for # of seats instead of (A) the # input by user or (B) the desired # based on the php (i.e. “Couples tickets” = #_SEAT2. php states $seats[1] = $seats[1]*2, yet returning 0)

    Here is the code. I am using multiprice in order to keep the appropriate price in line with # of seats. I just need to change # of seats before processing (i.e. “Table” is 8 people, and “Table” = #_SEAT3. php states $seats[2] = $seats[2]*8, yet returning 0)

    Here is the code:

    add_action('eme_insert_rsvp_action', 'my_eme_seatblock_function',20,1);
    function my_eme_seatblock_function($booking) {
       global $wpdb;
       $bookings_table = $wpdb->prefix.BOOKINGS_TBNAME;
       $where = array();
       $fields = array();
    
       $booking_id = $booking['booking_id'];
       $event_id = $booking['event_id'];
    
       
           
          $seats=eme_convert_multi2array($booking['booking_seats']); // $seats is now an array for the different seat categories defined
    
          if (eme_is_multi($booking['booking_seats'])) {
          	$seats[1] = $seats[1] * 2;
          	$seats[2] = $seats[2] * 8;
          }
    
          if (eme_is_multi($booking['booking_seats']))
              $fields['booking_seats'] = eme_convert_array2multi($seats);
          else
              $fields['booking_seats'] = $seats;
          $where['booking_id'] = $booking['booking_id'];
          $wpdb->update($bookings_table, $fields, $where);
       return;
    }

    Any help would be dramatically appreciated. Making sure to donate. Thanks so much.

    – Nick

    #53553

    In reply to: #_CHARGE{xx} Option

    Franky
    Keymaster

    I reverted my change with the filters, it’s not that userfriendly 🙂 I switched to options per button: you can adjust the label, the text above and below the button. However for now no if-statements, I’ll leave that for another feature request.

    #53502

    In reply to: #_CHARGE{xx} Option

    Anonymous
    Inactive

    … and another one 🙂

    It would be very useful to have a dependency to the eme_if statements, so that the payment options would not be displayed if for example somebody is paying with a gift voucher. So you could check if the visitor likes to pay with a gift voucher then paypal etc. would not be displayed.

    #53385
    Anonymous
    Inactive

    Franky,

    I know this has been asked before, but I couldn’t find it any where…

    Could you explain again why there are no state or post code placeholders?

    It would really be great to be able to filter by state.

    Thanks!

    #53248
    Franky
    Keymaster

    Your statements are not correct either 🙂 E.g. the end date can be the same as the start date, and the 3rd statement makes no sense, but you got me awake and this is the condition that works here:

    $conditions[] = " (CONCAT(event_start_date,' ',event_start_time)<='$today $this_time' AND CONCAT(event_end_date,' ',event_end_time)>= '$today $this_time')";

    #53145
    Anonymous
    Inactive

    Hi Franky!

    First of all, thanks for your great work.
    I’m opening this topic ’cause lately I’ve been experiencing some problems with placeholders. I don’t know why, but at some point, the event title disappeared from its featured page, and there’s no way I can’t put it back on place.
    <h1>#_EVENTNAME</h1>.
    When I book my multiprice event, I get a mail whose subject reports the correct event name, so the placeholder in this case works.

    I experienced another problem when I tried to simulate a canceled transaction with paypal.
    On my return page, I set up a failed transaction message in which I stated alternative methods of payment for this multiprice event using #_TOTALPRICE so the user could use this amount as a memo.
    That worked for a time. Now I get only the plain placeholder.

    Lastly, if a booking of said event is canceled, I (as event manager) get a mail whose subject does not report the event’s name but simply ”
    while the body of the message itself has just two empty brackets () instead the attendant name (#_RESPNAME (#_RESPEMAIL)).
    Am I doing something wrong?
    Thanks in advance for your time.

    Pietro

Viewing 150 results - 1 through 150 (of 254 total)
Scroll to Top