Forum Replies Created
-
AuthorPosts
-
Wed 28 Mar 2018 at 19:44 in reply to: How do I put an event on hold for bookings the easy way? #57780FrankyKeymaster
Since the text needed to display will most probably need to be html etc … I just advise you to change the event format (and/or event notes) with another template (one that doesn’t include the booking form). It’s as easy as creating the template and pointing to it.
When you move an event to a new date, you have 2 options:
– just edit the event and use the new date (best method). Advantage: it keeps the bookings
– or copy/create a new event. Disadvantage: all bookings will still be owned by the old event. You can move each individual booking to the new event, but that’s not a mass-feature yet, so that will take time. In case you really need this functionality, feel free to make a donation 😉FrankyKeymasterConfirmed 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/FrankyKeymasterFrom the changelog in 2.0.11:
BEHAVIOUR change: from now on a custom page will always be shown after payment, so the option itself to decide wether or not to show it has been removed
But: due to (another) bug you found, the settings were hidden by old lingering javascript. Fixed here:
https://plugins.trac.wordpress.org/changeset/1847854/events-made-easy/trunkFrankyKeymasterDo you have a country defined? And are the states linked to that country?
Tue 27 Mar 2018 at 18:19 in reply to: Updating "Cancel no longer allowed text" field does nothing #57772FrankyKeymasterThanks for the feedback. The bug is fixed here (together with another one, I’ll release today):
https://plugins.trac.wordpress.org/changeset/1847846/And the default is changed to “Cancellations”
FrankyKeymasterThis is not a booking placeholder but a person one. So see http://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-12-people/ :
#_MASSMAILFrankyKeymasterThat means your php version is way too old, upgrade. Even wordpress recommends 7.0 as minimum version (and the next will recommend 7.2).
FrankyKeymasterThat’s also a nice workaround (although I don’t see the real difference with regular paging but I guess it is more a CSS thing at that point).
FrankyKeymasterYou can do paging using eme_events if you’d like … setting the limit=1 and paging=1 will automatically allow you to go to prev/next events. See http://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_events/
FrankyKeymasterI think [eme_filterform] is what you’re looking for here.
FrankyKeymasterSome people like it one way, some the other. I for one like it when it closes and an option for this is overkill.
FrankyKeymasterAdded event placeholders #_DAYS_FROM_START and #_HOURS_FROM_START in the next version
FrankyKeymasterBtw, the next version will have this change included:
Added event placeholders #_STARTDATE{xx}, #_ENDDATE{xx}, #_EVENTCREATIONDATE{xx}, #_EVENTMODIFDATE{xx}
And I’ll rethink adding modif dates for members,locations,groups,…
FrankyKeymasterWell, I just had some coffee and realized your function won’t do what you want: the format you used suses the event start date as input, not the modif date (“#_” refers to start date, “#@_” to end date, there’s no short description to modify the modif date … I did something similar for members though, so it shouldn’t be too difficult to do something as #_MODIFDATE{xx}.
Currently, this should work (and more efficient):elseif (eme_is_single_event_page()) { $event_id = intval(get_query_var('event_id')); $event_array = eme_get_event($event_id); $the_modified_date = $event_array[modif_date]; $date_format = "l, j. F Y"; echo eme_localized_date($the_modified_date , $date_format); }
To be tested of course 🙂
FrankyKeymastereme_is_single_event_page covers the page id of 4, so you shouldn’t need to check that value. For the rest it seems fine to me.
FrankyKeymasterIf you want to show the modif date for an event, you need to use the event id, get the event details and show the modif date …
The templates api is indeed not very well documented (personally I would hide all functions and get people to use the shortcodes 🙂 ) …
do eme_get_event on the event id, do a print_r on it and you’ll understand the contents. The modif date is in there but you’ll need some php date manipulation magic to show it the way you want it, or use an eme function to do that for you:
eme_replace_placeholders($my_format,$event)
and $my_format can be any single event format content string (in your case, check out the time placeholders mentioned here: http://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-2-events/ )FrankyKeymasterIf you’re using php files that shortcode only makes sense if you know the event id and evaluate the placeholder accordingly. The event id:
$event_id = intval(get_query_var(‘event_id’));
and then start using eme_get_event($event_id) etc.Why not just use it in your event template itself, much easier …
Mon 19 Mar 2018 at 11:55 in reply to: How do I list all future events in category 1 where '#_AVAILABLESPACES' > 1 #57722FrankyKeymastercheck out the conditional placeholder [eme_if]: http://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-1-conditional-tags/
FrankyKeymasterIt’s a bit new, in the sense that I couldn’t accurately detect the wordpress id if you’d change info or do it for someone else. So now, the code is at peace 🙂
FrankyKeymasterIf you’re logged in, by default your details are taken for reservations. If you then want to clear your info and do it with another name/email, you need to press the small x.
On my site the field always apears, but with the “x” if logged in. Without some kind of screenshot I can’t imagine what it looks like on your site, but I think the explanation given should help.FrankyKeymasterOnly 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 …FrankyKeymasterFix released.
FrankyKeymasterIndeed, an unwanted side-effect of something I tried to fix for facebook-sync events. I’ll do that in another way.
For now, go in events-manager.php and delete lines 167-168:
add_filter(’eme_notes’, ‘make_clickable’);
add_filter(’eme_general’, ‘make_clickable’);I’ll release a new version this evening and a fix for url’s in the facebook sync plugin directly.
FrankyKeymasterThat is not possible, but you can add events to multiple categories 🙂
FrankyKeymasterMy email: liedekef@telenet.be
A temp admin account or an account just with access to the EME submenus is enough (please do test this before sending me the info, so you know if the account works as expected).Wed 14 Mar 2018 at 14:29 in reply to: How to fill people record with form field values of booking form #57686FrankyKeymasterA booking is linked to a person via the person_id, but those 2 do not need to be the same. Imagine doing multiple bookings for 1 event. Or just another booking for another event with the same person info.
You can ask for custom booking fields in the rsvp form, but not custom personal info. The extra fields you can define per person in the backend (based upon group membership) can only be set in the backend.
You can see everything someone entered in the “Change registration” or “approve pending” submenus. And per event you have a link to “printable view” or “CSV export”.FrankyKeymasterOf course the changeset is https://plugins.trac.wordpress.org/changeset/1837375 , but I guess you figured that out 🙂
Thanks for testing!FrankyKeymasterDid you assign the discount to your event in the rsvp section?
Can you demonstrate? Also maybe a test login so I can check on your side tooFrankyKeymasterThen please describe in detail what you did so I can try to reproduce it
FrankyKeymasterConfirmed, this should fix it:
https://plugins.trac.wordpress.org/changeset/1837376FrankyKeymasterworks fine with tinymce advanced here.
If it doesn’t: check your browser console and such, maybe there’s some kind of conflict.FrankyKeymasterWhat do you mean with “edit booking details”?
Fri 9 Mar 2018 at 16:07 in reply to: 2.0.22 – Dropdown list for field does not load in Backend on admin booking #57664FrankyKeymasteradmin.php?page=eme-options&tab=rsvp , it is just an option (not per event)
Fri 9 Mar 2018 at 15:41 in reply to: 2.0.22 – Dropdown list for field does not load in Backend on admin booking #57661FrankyKeymasterOverbooking is only for admin, where as admin you can book more spaces than actually available.
You probably have that activated for that event.FrankyKeymasterNo, properties are not attributes. See your rsvp tab for the event.
Fri 9 Mar 2018 at 14:26 in reply to: 2.0.22 – Dropdown list for field does not load in Backend on admin booking #57658FrankyKeymasterCould you try to change line 1168 in eme_formfields.php from
$multi_avail = $multiseats;
to
$multi_avail = $event_multiseats;I think it’s just a typo (and your one event allows overbooking).
FrankyKeymasterCheck your rsvp settings for that event (the dyndata entries).
And of course I never rule out a bug … do your other events display the same problem after an update?FrankyKeymasterThose are correct entries. If the update button is not working, something else is wrong … check your console and webserver entries.
Also: although the entries are correct syntactically, the “field” and “condval” values are empty (s:0:”” for those), which doesn’t make sense (a dynamic field configured in template id 7 is asked to show, but no conditions are defined for when it should show).FrankyKeymasterYou need to actually approve a registration before a mail gets send (and you need to configure the mail subject in the generic EME mail format settings). But indeed: if the price is 0, it is logical that it gets approved automatically if you use that option too.
Also, you can use [eme_if] and check the value of #_IS_PAYED (which should be #_IS_PAID … I’m going to rectify that for the next version). Even in rsvp mails you can use this (and on the thank-you message for booking too).FrankyKeymasterDon’t forget you can use pending and approved registrations too, upon approval people get optionally another email (I use it when people pay for a reservation).
FrankyKeymasterSure, this should do it:
FrankyKeymasterConcerning 2: use “Respondent Email Format”, that always gets send after the booking
Concerning 1: what exactly are you trying to show? You can use #_APPLIEDDISCOUNTNAMES (docu updated for this one, it was missing) inside a conditional tag if you’d like, next to #_TOTALDISCOUNT.
Concerning 3: since you can have many discounts and even programmatic ones, I don’t show the discount codes applied in the backend, but I realize that now I could include at least the info (using something similar to #_APPLIEDDISCOUNTNAMES). The reason it seems empty is that you can decide to override the (already mentioned) calculated discount amount.FrankyKeymasterConfirmed as a bug. 2.0.22 should fix this.
FrankyKeymasterNo, you’re doing it correctly. In fact someone just reported a discount issue and it is confirmed as not working as expected.
I’ll release a fix today.FrankyKeymasterSee the discount doc: http://www.e-dynamics.be/wordpress/category/documentation/17-discounts/
FrankyKeymasterCorrect, i corrected the doc.
The next version will change the placeholder for _IS_NOT_START… too (but leave the old one working)FrankyKeymasterThe frontend submit plugin doesn’t do anything unless you actually submit a new event.
But I think I found the issue: you configured it so to not accept guest submissions but didn’t configure a “Guest not allowed” page. I’ll catch that error in the next version.FrankyKeymasterI’m not familiar with a problem concerning too many redirections … please elaborate on that, on your wp-config.php and the www-prefix solution. It seems to me you tried to rename your WP home or so ..
FrankyKeymasterI see your problem now: you have paging=1 as an option. It is not clearly marked in the eme_locations_map placeholder doc, but paging=1 requires a period identical to eme_events.
And looking at eme_events doc, it says:Period paging is also possible: if you use paging=1, limit=0 and scope=today,tomorrow, this_week,this_month,this_year you’ll be able to browse to previous/next days/weeks/months/years
If you set paging=1, the scope needs to be one the ones mentioned above, otherwise the default (this_month) is taken (the location map doesn’t use the limit-option).
Btw: this logic has always been in place loke that and did NOT change between 2.0.18 and 2.0.19 or later
Edit: the doc has now been updated to better reflect this.
FrankyKeymasterYou never get events on the map, only locations.
Just try simpler things first, and make sure the locations you expect to see have future events planned. So just drop the categories part and try again.
eventful=0 and providing a scope is meaningless … locations don’t have a date, and asking eventful=0 will just show locations regardless of the scope.FrankyKeymasterI tried this on my site:
[eme_locations_map eventful=true scope=today--this_year width=700 height=400]
And it works as expected. See at the bottom of this page:
http://www.e-dynamics.be/wordpress/all-events/FrankyKeymasterBased on your events I can’t judge if they are in the correct categories etc …
Try simpler first:
[eme_locations_map eventful=true scope=today--this_year width=700 height=400]
Also, try using [eme_events] itself first.AND: maybe you forgot the param show_events for [eme_locations_map], see http://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_locations_map/
FrankyKeymaster2.0.21 now released.
FrankyKeymasterThis is fixed in the dev-version.
Currently the fastest workaround is to activate mail queueing (which you should be doing anyway …).FrankyKeymasterIndeed, the state column is just left there to show current info in the person overview list.
FrankyKeymasterI don’t use a notion of expired events, but maybe you mean if the end date has passed?
If so: using a simple conditional tag checking on the end date, you can achieve your goal.FrankyKeymaster@kayphoonstar : please do provide feedback on the dev-version please.
FrankyKeymasterSeems to be an issue in select2:
https://github.com/select2/select2/issues/5022You could try a dev-release:
https://github.com/select2/select2/releasesOr apply the pull-request that might fix this:
https://github.com/select2/select2/pull/5183But this should be something for select2 (while I’m also just the victim here of course) and this deserves it’s own thread.
FrankyKeymasterPlease do try the (newest) latest dev version, it should fix these issues.
FrankyKeymasterBtw: 2.0.20 is out that should fix this.
FrankyKeymasterBtw: 2.0.20 is out that should fix this.
FrankyKeymasterBtw, based on other fixes, please do try the dev version:
FrankyKeymasterPeople always come up with exceptions I never thought about 🙂
Anyway, the next version will use the 1 country as a default if you only have 1.
If you want to test, download the dev version here:
https://wordpress.org/plugins/events-made-easy/advanced/FrankyKeymasterYou’re correct. This should fix it:
https://plugins.trac.wordpress.org/changeset/1830466/FrankyKeymasterIn the backend the form acts as if you’re logged in, so if you have some options for not logged-in users, those will never show in the backend. The form was never intended to be used in such a way … if you show a simplified format for your rsvp-form, I can test it here but I suspect that to be the problem.
FrankyKeymasterThe scop is correctly “today–this_year”. But: are future events for this year available at a location? Because that’s what your asking using eme_locations_map and eventful=true: show me locations that have events (and obey the selected categories and scopy).
That part never changed in the code from 2.0.18 to 2.0.19 …FrankyKeymasterIs 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=stateMon 26 Feb 2018 at 23:45 in reply to: CSS Bug in Booking Tab in Events (Admin) and csv export of dynamic fields #57561FrankyKeymasterYou always have the option of using [eme_bookings] (or #_BOOKINGS) with a template of your choice, where you can show the data you want the way you want it …
FrankyKeymasterI don’t really understand the for “admin page” form …
Could you show me?FrankyKeymasterThanks for that, fixed in dev now.
Sat 24 Feb 2018 at 16:36 in reply to: CSS Bug in Booking Tab in Events (Admin) and csv export of dynamic fields #57538FrankyKeymasterThe width: that’s your theme CSS’s doing.
The CSV: in the booking overview, you already have that functionality (sort by booking date, select the rows of interest and press “CSV”)FrankyKeymasterWell .. it is what it says it is: the mails are not being sent due to problems.
To test:
– activate smtp mail debugging (if you use smtp as mail sending method)
– do a test mail in the “send mails” window from EME and observe the problem …
– disable smtp mail debugging againFrankyKeymasterIt’s not a commercial plugin, but please do make a donation if you like it 🙂
FrankyKeymasterThe 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.
FrankyKeymasterWell, it took a whole lot more coding than I expected, but in the end things are simpler now 🙂
Because of the many changes, I advise you to take the dev-version from here:
https://wordpress.org/plugins/events-made-easy/advanced/FrankyKeymasterSee if this fixes it for you:
https://plugins.trac.wordpress.org/changeset/1825374/FrankyKeymasterVia the frontend: the complete event listing layout is customizable via EME templates, and then you can use copy/paste to get it into excel.
Via the backend: in the event overview you have a CSV button (although currently on my linux PC that works as expected, but on windows it doesn’t open excel …)
Frontend submit is possible (extra plugin).FrankyKeymasterWell, if you can reproduce it on your site, let me know …
Wed 14 Feb 2018 at 13:18 in reply to: Reload whole page instead of showing booking recorded message #57521FrankyKeymasterWhy not put the list of attendees (#_ATTENDEES) inside your RSVP form markup then?
And at the end, in the thank-you message or page, also use #_ATTENDEES .. just a thought.FrankyKeymasterHi, you’re correct about this, but your code isn’t totally correct as it doesn’t check if WP membership is required for this event.
However, just moving some lines up in the code (and deleting 1 line) should fix this:
https://plugins.trac.wordpress.org/changeset/1821615/Tue 13 Feb 2018 at 00:06 in reply to: Reload whole page instead of showing booking recorded message #57515FrankyKeymasterThis is not possible, the booking happens via ajax.
What are you trying to achieve? There’s probably a way to do that already.FrankyKeymasterWell, in fact, after you said it still didn’t work, I tried for myself and indeed, there’s a bug in eme_calendar.php (nobody has ever reported that, it should’ve been in for quite some time …).
This is the fix (1-word typo fix in fact):
https://plugins.trac.wordpress.org/changeset/1820880/FrankyKeymasterI’m guessing you want to exclude events from category 33 AND 37, not 33 OR 37 …
So you should use 33+37FrankyKeymasterLike the readme in the changeset mentions:
* add marker_clustering option to eme_locations_map shortcode (allows to cluster a umber of markers together, values: true/false)FrankyKeymasterI replied on the WP site now, so closing this.
FrankyKeymasterCSV for events is very difficult, due to the many options you can set and the extra links with locations, templates …
I suggest that for now you just create 1 event to your liking, check the wp_eme_events database and then import tjhe rest in an identical manner using something like phpmyadmin or so.FrankyKeymasterThis has been implemented now:
http://plugins.trac.wordpress.org/changeset/1814606FrankyKeymasterThis is the doc (I corrected it a bit just now):
http://www.e-dynamics.be/wordpress/eme_add_multibooking_form/But the example there should be sufficiently clear to start with.
And the calendar has its own shortcode. If you’re unclear on how to start, read this:
http://www.e-dynamics.be/wordpress/category/documentation/3-installation-and-usage/FrankyKeymasterThat’s only possible by using a hook in EME, not in the frontend submit form. See the eme doc on hooks and filters for that.
FrankyKeymasterWhy not just use the success-page for that? That setting is meant for this.
FrankyKeymasterFor editing you’d need to be logged in, and then you can just as well point them to the backend for editing. You can even assign rights to people …
I have no intention of replicating all backend-functionality to a frontend form 🙂FrankyKeymasterThe only API that’s important here is ‘Google Maps JavaScript API’ I believe.
FrankyKeymasterCan you go back a year/forth? Well, anyway, if you use: feel free to post a demo-link here, that will be easier for people to visualize.
FrankyKeymasterIn your template for eme_bookings, use #_FIELD{xx}, see this part of the doc:
#_FIELD{xx} returns the answer (the tag, not the real value chosen for multi-option fields) for the extra form field with ID or name xx
•#_FIELDVALUE{xx} returns the answer (not the tag, but the real value chosen for multi-option fields) for the extra form field with ID or name xx
•#_FIELDNAME{xx} returns the name for the extra form field with ID or name xxFrankyKeymasterThat’s not really a calendar 🙂
I’d just do this in a regular page:[eme_events scope=this_year limit=0]
and use a template (using template_id/header/footer) to put it into a table if desired. Adding the option showperiod=monthly (or yearly) shows the month etc …
FrankyKeymaster1) Already possible: you can edit a registration and move it to another event.
2) Should be possible already too (autocomplete option should be set to EME or both for people lookups)
3) You can do a RSVP from the backend (click on “RSVP” in the event table), and you can set the option “Send mails for new registration” to “no” …FrankyKeymasterEME allows you to change what is shown (using shortcodes and templates) and how it is shown (partly using templates for html-layout and using CSS for styling). These things are yours to configure.
Concerning additional fields, the doc is there for you:
http://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-6-registration-form-fields/And using [eme_bookings] with a specific template, you can decide what to show (I use it for a theater club to show the names of the people signed up, but any field can be added, see http://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_bookings/ )
FrankyKeymasterThis clustering is now next on my list, a very nice suggestion.
Concerning the balloon content: you can change the content of course, search for balloon settings (“Default location balloon format” in Settings=>Locations).FrankyKeymasterEither do that in a table (they are not that evil), so your layout will be ok (or div’s).
Or use [eme_events] with a layout of your liking …Mon 22 Jan 2018 at 19:18 in reply to: Add member from RSVP if there select yes to become member field #57394FrankyKeymasterConcerning your hook: you should invest some time to do what you want there. Base yourself on this code:
add_action('eme_insert_rsvp_action', 'my_eme_function',20,1); function my_eme_function($booking) { $booking_id = $booking['booking_id']; $event_id = $booking['event_id']; $answers = eme_get_answers($booking_id); print_r($answers); return; }
And the member-functionality is very complete btw …
FrankyKeymasterWell, I can’t help with the misalignment of the stars 🙂
Concerning the second prob: maybe the browser is caching the captcha … I don’t recall any specific fixes concerning the captcha after 1.9.8 but I do know that wordpress 4.9 became more sensitive to all php session-related stuff (as the captcha uses), so it might be related to that?Sun 21 Jan 2018 at 21:33 in reply to: Add member from RSVP if there select yes to become member field #57390FrankyKeymasterCheck the doc on hooks/filters: http://www.e-dynamics.be/wordpress/category/documentation/12-hooks-and-filters/
The eme_insert_rsvp_action only takes $booking as an argument, you’d need to call eme-related functions inside your php code.
You do know EME has a complete club-membership management code too, no?Fri 19 Jan 2018 at 15:19 in reply to: iCAL .ics shows today’s date instead of the actual event date #57386FrankyKeymasterWell, without content this doesn’t mean much … an example would be nice. Also: I tried importing my cal from EME into my outlook@work: works just fine.
FrankyKeymasterThe jquery-ui.css is also needed for autocomplete, datepicker, select2 etc … and since in the frontend it is very difficult for me to know whether or not EME-things are used on a page, I need to include these.
If you need to override these, just add !important to your relevant css definitions.Thu 18 Jan 2018 at 11:34 in reply to: use the used coupon at RSVP mails and Booking recorded message #57379FrankyKeymasterCool, good to hear!
Thu 18 Jan 2018 at 11:13 in reply to: use the used coupon at RSVP mails and Booking recorded message #57377FrankyKeymasterLike I said: #_APPLIEDDISCOUNTNAMES, returning a csv-list of applied discount names
Not (and never) the discount code entered (which is useless anyway, because it matches the discount definition). Doing that would require a lot more work, without any gain for me whatsoever …
Concerning the group+names: it should work but only for newer ones, not for older bookings (there only the groupid was stored if a group discount was to be applied).Thu 18 Jan 2018 at 08:42 in reply to: use the used coupon at RSVP mails and Booking recorded message #57375FrankyKeymasterSmall code issue. Fixed in dev now.
Thu 18 Jan 2018 at 00:18 in reply to: use the used coupon at RSVP mails and Booking recorded message #57372FrankyKeymasterIt took more time than anticipated, and even a database change was required ..
But the latest dev now supports a new rsvp placeholder #_APPLIEDDISCOUNTNAMES, returning a csv-list of applied discount names.Wed 17 Jan 2018 at 00:31 in reply to: use the used coupon at RSVP mails and Booking recorded message #57368FrankyKeymasterIf you need to know what they entered regardless of the fact that is is used, you’d need to code it anyway. Storing entered data that is not used makes no sense.
But I already store the reference to the applied discount or discount group, so returning that with a placeholder should be no problem …
Edit: and that discount name is already shown in the csv and printable booking reports btw.Tue 16 Jan 2018 at 23:36 in reply to: use the used coupon at RSVP mails and Booking recorded message #57366FrankyKeymasterNope, not possible since that is not saved.
You could add “DISCOUNT” in your text and then use one of the email filters mentioned at http://www.e-dynamics.be/wordpress/category/documentation/12-hooks-and-filters/ to replace the “DISCOUNT” with what they entered (see the array $_POST); but what they enter is not always what is being taken into account (if they enter a false value or so …)Tue 16 Jan 2018 at 22:56 in reply to: use the used coupon at RSVP mails and Booking recorded message #57363FrankyKeymasterSearch for #_TOTALDISCOUNT 🙂
FrankyKeymasterThis is unrelated.
$user->email should be $user->user_email
I updated the example on the site too.FrankyKeymasteryou can get the full event as follows:
$event = eme_get_event($event_id);Then do a print_r of the $event variable: you’ll see the category-id’s (if multiple: comma-separated) and also the recurrence id.
FrankyKeymasterif the standard discount types are sufficient, I’d suggest that you change the recurrent event itself, then all the events in that recurrence will get the discount options.
See the RSVP section for that.
This is not possible for a category of course …FrankyKeymasterBtw, the next version will allow event mails to specific eme people and/or groups too.
Sat 13 Jan 2018 at 00:26 in reply to: Using checkbox instead of drop down for seat/space selection #57352FrankyKeymasterThe multiprice and attendance is indeed possible (since it is in fact just a 0/1), but I was talking about the rest of your request:
“which may include all occurrences for the next week, month, year, predefined time period or from/to customer-defined dates.
A desirable option is to be able to “Select All” in [This… Period] at [This… Time/Price].”That would require a lot of work …
FrankyKeymasterHi, I noticed that bug too and fixed it yesterday in the dev version. I’ll release this weekend.
And you’re right with your suggestion concerning groups and event mails, but you can use event shortcodes (not placeholders) on the generic mail tab too (I fixed the remark at the bottom concerning “people placeholders” in the dev version too).Fri 12 Jan 2018 at 17:28 in reply to: iCAL .ics shows today’s date instead of the actual event date #57348FrankyKeymasterCan you show an example?
Fri 12 Jan 2018 at 17:28 in reply to: Using checkbox instead of drop down for seat/space selection #57347FrankyKeymasterMultiprice and attendance don’t go together (kind of logical: attendance serves to indicate whether or not you will attend an event, not for a specific seat category).
What you ask for is not doable right now, and would require a significant amount of time and effort …FrankyKeymasterJust tried it here with exactly this:
"lastname","firstname","email","zip" "Van Liedekerke2","Franky","iedekef@telenet.be","2820"
Works just fine … make sure the quotes are regular double quotes (see https://practicaltypography.com/straight-and-curly-quotes.html)
FrankyKeymasterCould you post an example CSV here? I’ll try it myself then. Also: try with enclosed double quotes, that should work better (I changed the doc for that)
Thu 11 Jan 2018 at 17:40 in reply to: Using checkbox instead of drop down for seat/space selection #57335FrankyKeymasterEither you set the min and max seats both to “1” (then the seat selection should be hidden), or you can use the attendance-setting in the rsvp section for an event.
FrankyKeymasterWordpress doesn’t do ‘monthly’ very well, but you can add the schedule. See https://codex.wordpress.org/Plugin_API/Filter_Reference/cron_schedules
Then you can activate mail queuing and use the EME cron to plan your mail (after activating mail queueing, the newsletter functionality becomes available). If you want it to be sent at the beginning of the month, activate the cron that day.FrankyKeymasterI’m sure #_CAPTCHAHTML works as expected (I have it on my site), but again: it is ‘old’ and I’m deprecating it …
FrankyKeymasterYou have newlines inside your #_CAPTCHAHTML, this is the cause (and not allowed in fact, but now those get correctly translated to
<br />
too and that will cause your problem).
So just remove that, or do your suggestion (if you know you’re using captcha, your suggestion is ok).
I’ll try your #_CAPTCHAHTML too, to be sure (but in fact I should remove #_CAPTCHAHTML support anyway and make people use templates for rsvp)FrankyKeymasterI’m not able to reproduce that. See here:
http://www.e-dynamics.be/wordpress/events/954/test/What does your RSVP template look like?
Mon 8 Jan 2018 at 11:41 in reply to: #_PAYMENT_URL payment form missing div wrapper with EME style hooks #57319FrankyKeymasterThis should fix it:
Sun 7 Jan 2018 at 21:11 in reply to: #_DYNAMICPRICE triggers discount usage increment on form action recalculation #57317FrankyKeymasterI just implemented this as a new feature:
https://plugins.trac.wordpress.org/changeset/1798615Sun 7 Jan 2018 at 09:20 in reply to: #_DYNAMICPRICE triggers discount usage increment on form action recalculation #57316FrankyKeymasterWell, EME does already all that, except the discount availability count reduction per seat booked (the way you’d want it). I’ll take a look at that later on
FrankyKeymasterUpdate: 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/FrankyKeymasterBtw: I am able to reproduce the problem here, so I’ll fix it asap.
FrankyKeymasterThat means some error message is returned upon marking it as paid. Check using the firefox console to see what the network answer is when you mark a booking as paid. It should be a plain json-formatted text, but if not: that’s the reason. When you tell me the reason, I can work around it in the future.
FrankyKeymasterWhen using templates, you have to blame wordpress for removing the br-tags when switching from visual to text input.
In your case, I guess you added the br-tags in the visual tab, so they are just text then. Add these to the text-tab. Also, there exist plugins that let you keep the br-tag when switching between the 2 (tinymce-advanced has the option “Keep paragraph tags”).In the past I didn’t even activate the visual editor in the templates, just for this reason. Now I have 🙂
I’ll release a new version that better takes into account the wordpress quirks (today or this weekend).
Concerning a howto: see https://www.e-dynamics.be/wordpress/category/documentation/3-installation-and-usage/Thu 4 Jan 2018 at 23:01 in reply to: How to prevent visitors to book the same event twice with the same email address #57302FrankyKeymasterI understand the problem. I added a generic option to check RSVP without accents when needed (see the EME options page, panel RSVP)
Thu 4 Jan 2018 at 17:25 in reply to: Make an attribute field to be mandatory in the frontend form #57300FrankyKeymasterSee the FAQ:
https://wordpress.org/plugins/events-made-easy-frontend-submit/#required-fieldsRequiring a field will force the browser to show the field itself needing to be filled out, so no error text is needed.
FrankyKeymasterThe defaut was in fact always textarea, it was a bug that it was shown as text.
If you want text, see the FAQ. An example:EMEFS::attribute(‘phone2′,’text’)
Thu 4 Jan 2018 at 13:47 in reply to: How to prevent visitors to book the same event twice with the same email address #57296FrankyKeymasterWhat do you mean for the event cancel reg form? That will always require the same info to be able to cancel only the relevant bookings (meaning last name/first name and email). Only email there is too dangerous as others might start filling it out and cancel another person’s booking. I never even liked that … maybe when I add a confirmation mail for cancel I could revise that.
Thu 4 Jan 2018 at 13:29 in reply to: How to prevent visitors to book the same event twice with the same email address #57294FrankyKeymasterThis has been implemented now and will be in the next version. From the changelog:
Extra RSVP setting per event to optionally require an unique person or email registration
Thu 4 Jan 2018 at 08:45 in reply to: How to prevent visitors to book the same event twice with the same email address #57293FrankyKeymasterIt is an example, you need to change it to fit your needs. In your case, change
$booker = eme_get_person_by_post(); if (!empty($booker)) { foreach ($attendees as $attendee) { if ($attendee['person_id']==$booker['person_id']) $already_registered=1; } }
to something more simple:
$posted_email = eme_strip_tags($_POST['email']); foreach ($attendees as $attendee) { if ($attendee['email']==$posted_email) $already_registered=1; }
But at the same time: I do admit that this process is cumbersome to do, and I’ll make an option for this. Expect this for the next version to be released this week.
Wed 3 Jan 2018 at 21:54 in reply to: How to prevent visitors to book the same event twice with the same email address #57291FrankyKeymasterCheck out the eme_eval_booking_form_post_filter filter example:
http://www.e-dynamics.be/wordpress/hooks-and-filters/FrankyKeymasterPlanning is now possibe in the dev version.
You can download and test it here:
https://wordpress.org/plugins/events-made-easy/advanced/FrankyKeymaster#_EVENT-related placeholders only apply in event-related mails (like the tab-titles imply).
So if you want to send a mail concerning an event to all people, go to “event related mails”, select the event of your choice and send the mail.
Also #_EVENTFIELD is to show database-named column info for an event, not an id. There you should just use #_EVENTNAME or so, see the doc concerning event placeholders.FrankyKeymasterFor all new translations, please go to
https://translate.wordpress.org/projects/wp-plugins/events-made-easyFrankyKeymasterOr to make it easier: I just released the latest version (2.0.15)
FrankyKeymasterOk, I figured it out. Problem is due to undefined variables. You’re trying to send a mail to all EME people in the “event” tab for mailings (and I was checking in the “generic” tab).
Now this is fixed in the current dev-version. You can download and test it here:
https://wordpress.org/plugins/events-made-easy/advanced/FrankyKeymasterDo you have queuing activated?
If not, it should give you a list of persons to which the mail has not been sent.
Also: do any of your EME-registered persons have the massmail-option selected? If none have that selected, mailing will fail too.Fri 29 Dec 2017 at 10:09 in reply to: Please allow include/exclude like #_EVENTCATEGORYDESCRIPTIONS{1,5}{2,6} #57271FrankyKeymasterBtw: I added options in EME for these 3 too, the use of filters is not that userfriendly …
FrankyKeymasterThat means the first character returned is not correct. Probably your theme returns an empty character at the beginning. Without more info or an example, nothing more I can say.
Thu 28 Dec 2017 at 07:39 in reply to: Please allow include/exclude like #_EVENTCATEGORYDESCRIPTIONS{1,5}{2,6} #57257FrankyKeymasterI thought you said sorting worked?
Edit: there was indeed a bug with #_EVENTCATEGORYDESCRIPTIONS{1,5}{2,6} itself, fixed here:
https://plugins.trac.wordpress.org/changeset/1793478/Wed 27 Dec 2017 at 23:18 in reply to: Please allow include/exclude like #_EVENTCATEGORYDESCRIPTIONS{1,5}{2,6} #57253FrankyKeymasterYou’re correct. Try the newest dev version now, I mixed around 2 lines in events-manager.php
-
AuthorPosts