Forum Replies Created
-
AuthorPosts
-
Franky
KeymasterThis should already just work … but it seems I didn’t document this.
You have:
#_FIELDNAME for the name of the field
#_FIELD for the answer (tag) of the field
#_FIELDVALUE for the answer (value) of the fieldCan you try #_FIELDVALUE ? I updated the doc …
Franky
KeymasterThis is in fact a microsoft issue where even multiple calls to microtime() generate the same values …
Try if this change fixes it:Franky
KeymasterSure it is, just change the line
$price = $booking['booking_price'] - $discount;
to be any formula you want.Franky
KeymasterThen do a print_r($answer) in there to see what is in the $answer array (and a “die;” afterwards, so php won’t continue and you should be able to see what is being printed).
Franky
KeymasterDid you register the action function using add_action? E.g.:
add_action('eme_insert_rsvp_action', 'my_eme_discount_function',20,1);
Franky
KeymasterThe reason is that your rsvp form consist of a html-table (with tr and th/td elements), but you forgot to put the captcha placeholder inside a row too …
So in fact the generated html is wrong, and as a result shows twice in some browsers.Franky
Keymasterhehe 🙂
I could answer that, but in this case I can see the advantage. This will require some coding though …Franky
Keymastersorry, that’s currently not possible.
Feel free to create a feature request for it 🙂Franky
KeymasterThe way wordpress does this is by calling an ajax function called wp_ajax_parse_embed(), but that only works for posts …
So sorry, not possible here (unless I rewrite the whole code to custom post types)Franky
KeymasterThought so 🙂
(I’m closing this feature request)Franky
KeymasterJust tried it here and it works without problems (setting an attribute value to ‘http://’), so I assume some wordpress or apache security module is blocking you (mod_security in apache is also a possible reason for this).
Franky
KeymasterWhy not (as I would do) include the payment details concerning bank transfer in the mail sent to the attendee?
Franky
KeymasterUse the function eme_get_categories() to get all categories (do print_r() on the returned value to see what is in it) and then call eme_event_category_url for each entry in it (that function will change names in the next version to be more conform to just eme_category_url)
Franky
KeymasterYou’re free to send me the updates already.
Franky
KeymasterThe layout should be defined in the single event format setting, not in the description.
You *can* use shortcodes in the description, but they are only useful to show event-related stuff (like showing a list of events happening at the same location or so, but even that is better placed in the single event format).Franky
KeymasterCurrently this is not possible: the header section is not related to the content in this regard. Try to see if the EME setting “Single event page title format” helps you here (maybe with a separate wordpress template for the events page).
Also, an example might help (which template, where you’d want it, does the template – or wp – provide access to it, …).Franky
KeymasterThe event description is (or can be) part of the way you show the event. The way you show the event is defined in the “single event format” setting, not in the description. The single event format defines where you want to show the map, description, rsvp form etc …
The description can contain (if configured so in the EME settings) other shortcodes (not placeholders, so no #_MAP there: it will not be replaced)
Th default single event format is:
<p>#_STARTDATE - #_STARTTIME</p><p>#_TOWN</p><p>#_NOTES</p><p>#_ADDBOOKINGFORM</p><p>#_MAP</p>
(#_NOTES shows whatever you entered in the event description).
Per event you can change the format to your liking, or use an own-defined template (in the single event format setting).Franky
KeymasterFirst try to put #_MAP directly in the single event format, leave out templates to begin with.
Franky
Keymaster#_MAP should work just fine in the single event template
Franky
Keymaster🙂
Franky
KeymasterThe event description is per event, but using another shortcode there uses that shortcode’s functions. Since [eme_events] displays a list of events, that is what will happen.
Just select the template you want in the “single event format” setting for that event.Franky
KeymasterAny filter definition should be done in the file functions.php of your theme, as wordpress dictates.
Franky
KeymasterThe filter has as argument an associative array of categories, so it looks like this:
[0]==>{[‘name’]=>’string’,
[‘id’]=>int
},
[1]==>…So, to get an idea, loop through the array and print it like this:
foreach ($categories as $key=>$this_category) { print $this_category['category_id']."<br>\n"; print $this_category['category_name']."<br>\n"; }
(print_r($categories) would do the same).
Since the filter also expects the array of filtered categories to be returned, just unset those that you don’t want, for example:foreach ($categories as $key=>$this_category) { if ($this_category['category_name']=="blabla") { unset($categories[$key]); } } return $categories;
Franky
KeymasterI already did some Dutch updates myself, but I welcome the extra work done by you. My mmail address is liedekef@telenet.be
Franky
KeymasterIn the EME settings, tab “Access”, you can set the rights for “Add events” and others, as long as a person doesn’t have the role to “Publish events”, the events stay in draft.
Also, as documented at http://www.e-dynamics.be/wordpress/?cat=41 , you can create a hook when a new event gets created (eme_insert_event_action), using that hook you can send a mail if wanted.Franky
KeymasterYou can indeed go beyond the total number of seats, if you select the option that pending seats should not be taken into account for the booking form.
Now, there’s not a real concept of a waiting list, so it’s all or nothing: new bookings can never go beyond the total number of available seats.
Concerning the change in the number of seats: normally you do that with the knowledge of the booker himself, so for now if you want to send a note to him/her, you’ll have to do that manually.Franky
KeymasterI never implemented calculations because it involves the eval-function and if people start to do calculations with own attributes or custom field values, I can no longer guarantee code safety.
But in your case: approved+pending=reserved: #_RESERVEDSPACES, and it can never go beyond #_TOTALSEATS …Franky
KeymasterI don’t understand what you mean with “repurpose “user role”, or implement users on a more limited basis just in the plugin tables until the user responds to the event” …
The participants in EME are independent from regular WP users already, but implementing a group system there would require major developing.Franky
KeymasterAfter submitting, you get redirected to a payment form if payment is choosen and activated for that event. If that doesn’t happen, something is not working as expected. Do you have an example?
Franky
KeymasterConcerning the “marks a required field”, the latest dev now adds an id to it: id=’eme_mark_required_field’, so you can just hide it if you want.
Franky
KeymasterLook at this post in the thread for where to get the pot-file and what I use personally: http://www.e-dynamics.be/wordpress/?topic=call-for-translators/#post-46035
Concerning Aachen: I live in the Antwerp region (my address is on my home site btw), and I’ve been to Köhln already for a week for a client, but not Aachen 🙂
Franky
KeymasterThat shouild do it.
You can always try the dev version: https://downloads.wordpress.org/plugin/events-made-easy.zipFranky
KeymasterConcerning your placeholder question: nobody requested it so far 🙂
But it is implemented now:
https://plugins.trac.wordpress.org/changeset/1058390/events-made-easyConcerning your minimum: you can use conditional tags to compare the number of participants with the wanted limit and show a text accordingly, see http://www.e-dynamics.be/wordpress/?cat=24
Franky
KeymasterYep 🙂
Franky
KeymasterNo, not in the event itself: would be rather weird having attributes defined for a single event … they are there to help you create some custom info field you want to share in all your events, but are nothing more than that.
Franky
KeymasterI’m always interested 🙂
Franky
KeymasterLook at the filter eme_eval_booking_form_filter (see http://www.e-dynamics.be/wordpress/?cat=41 )
Franky
KeymasterJust use those placeholders in your EME settings somewhere (that’s what the “from the settings page” means), and you’ll be able to use them when editing/creating events.
Franky
KeymasterYour 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')";
Franky
KeymasterI was just going to start debugging this, but yes, that’s probably it.
Franky
KeymasterIs you wp timezone setting correct?
Franky
KeymasterSee if this change fixes it:
http://plugins.trac.wordpress.org/changeset/1057200“scope=ongoing limit=1” is what you want then, but as said in the change: since there’s no user timezone info, it might be incorrect.
Tue 30 Dec 2014 at 13:14 in reply to: List other events that occur the same day as a recurring event #53236Franky
KeymasterWhen viewing an event, just put this in the single event format:
[eme_events category=2 scope=#_{Y-m-d}]
Because it is inside the single event format, the scope will get replaced with e.g.: scope=2015-08-13
And since the single event format supports other placeholders (but are only evaluated at the end), this should do what you want.Tue 30 Dec 2014 at 13:09 in reply to: Put a link to an event (not the booked one) in the RSVP mail #53235Franky
KeymasterTry this (if your event prefix is “events”): …./events/2014-12-31/c12
==> will give you the events on the mentioned day for cat with id 12Franky
KeymasterCheck your EME settings concerning rsvp and mail setup.
Mon 29 Dec 2014 at 21:28 in reply to: Call to undefined function date_diff() when using weekly recurrence #53228Franky
KeymasterFranky
KeymasterWell, wordpress has no notion of user “groups”, and I feel the management of users that haven’t taken part in events yet shouldn’t be handled by EME.
However, maybe this might help: next to being able to select participants of events or all WP users, maybe I could add a new field to allow a list of email addresses to be given in the form.Tue 16 Dec 2014 at 16:43 in reply to: multi-booking form – using custom made fields in the header #53216Franky
KeymasterIf you want to test the dev-version that contains the latest fixes and this feature, you can download it here:
https://downloads.wordpress.org/plugin/events-made-easy.zip
And let me know the result please (it seems to be working fine here).
Mon 15 Dec 2014 at 13:35 in reply to: multi-booking form – using custom made fields in the header #53214Franky
KeymasterThe dev-version should now allow for this, but I need to test it completely first.
Franky
KeymasterHow are you doing the compression? Via apache and mod_deflate? Or via php and zlib? Or via php and ob_gzhandler?
I would think that apache and mod_deflate should work just fine (and is the most optimized) …Franky
KeymasterIn fact that action already existed, but was not documented (fixed now):
eme_delete_event_actionFranky
KeymasterFor the moment the contact person can’t be selected from the frontend. Feel free to create a feature request for that.
Franky
KeymasterYes, this is the correct purpose for that filter.
The way to use it is quite simple: it has an array of categories as the function variable, so you can just use that to filter out the unwanted categories.
See this page for some filter examples (not for this filter, but the examples can help you along, certainly the example about eme_add_currencies):Franky
KeymasterConfirmed and fixed here:
http://plugins.trac.wordpress.org/changeset/1039117Franky
KeymasterI just tested the site http://panthercreekbushcraft.com/courses/1-day-intro/ and it seems to be working, so I assume they got it fixed and it was not a EME bug.
Franky
KeymasterI’ve tried everything, but I can’t reproduce the error here.
Based on what I read on the internet there are 2 possibilities:
– the use of reserved names in the form (which is not the case)
– problems with permalinksFor the permalinks, I suggest you read this and try the stuff mentioned in it:
https://wordpress.org/support/topic/404-errors-with-permalinks-set-to-postnameAlso: what is your server OS? And did you disable all other plugins (like the contact form) to test? Can you provide the test server url for me to check (with admin login/pwd)?
Franky
KeymasterI’ll try to reproduce this evening. Did you check with the standard template too? To make sure that the template itself doesn’t mess with SEO url’s …
Franky
KeymasterIf you disable all other plugins, does it work then? If so: then reactivate one by one until you find the plugin causing trouble.
Also, read this: http://www.e-dynamics.be/wordpress/?page_id=383Franky
Keymasterimplemented in trunk: http://plugins.trac.wordpress.org/changeset/1033472
Franky
KeymasterLook in your webserver logs for the IPN requests from paypal. These are GET requests with eme_eventAction=paypal_ipn or eme_eventAction=paypal_ipn in them.
If you don’t see those, it won’t work and something in your config is wrong.Franky
KeymasterIt seems “http://www.jornadasjif.es/?page_id=729” is accepted, but POST to “http://www.jornadasjif.es/?page_id=729#eme-rsvp-message” is not.
I’m guessing some kind of plugin is causing this …Franky
KeymasterDoes a regular EME rsvp form work? Can you check to where the results are posted (using firebug or something else)? Do the answers arrive in the db?
Franky
KeymasterIf you configured WPML to respect “lang=” in the url, then it should work just fine … but WPML is a commercial plugin, so I can’t be sure at all.
Franky
KeymasterFranky
Keymasterconfirmed as a bug, checking this out now …
Franky
KeymasterI gladly accept any contributions! For translation tips : http://www.e-dynamics.be/wordpress/?topic=call-for-translators
Wed 19 Nov 2014 at 21:48 in reply to: Use the client computer clock for the calendar – breaks iframe #53168Franky
KeymasterThat’s weird, because it is jquery. Unless you use iframe to go outside your own domain … then javascript might prevent the execution of this part. Do you see any errors in the browser console?
For the rest: using the client clock should not be needed, it should be a wordpress setting per user. But still, I’m curious if I’m right concerning your domain.Franky
KeymasterWell … it fixed half the problem: the mails being sent were not correct (placeholders not replaced). Please try 1.5.13 🙂
Franky
KeymasterCould you try if this change fixes it for you:
http://plugins.trac.wordpress.org/changeset/1028703
Franky
Franky
KeymasterDoes this do what you want: #_IS_RSVP_ENABLED ? Please see here: http://www.e-dynamics.be/wordpress/?cat=24
If not, explain what you would like to achieve.Franky
KeymasterNextGEN Gallery? It seems other people have issues with that plugin too …
Franky
Keymasterat some point, the event title disappeared from its featured page
I’m guessing you should check your theme there.
Concerning the placeholders: there’s a bug in it for the cancel-mails and placeholders due to the fact that I first delete the booking before sending the mail (otherwise the number of free seats in the mail can be wrong), but because of that the placeholders can’t be replaced anymore since the booking no longer exists.
I took this into account now for the next version, see here: http://plugins.trac.wordpress.org/changeset/1025415
Franky
KeymasterSomething is blocking the ajax-post to get the previous/next month, you should check your logfiles.
If I do it manually, via curl command on linux using:
curl 'http://lkc-lueneburg.de/termine/' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-US,en;q=0.5' -H 'Cache-Control: no-cache' -H 'Connection: keep-alive' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'DNT: 1' -H 'Host: lkc-lueneburg.de' -H 'Pragma: no-cache' -H 'Referer: http://lkc-lueneburg.de/termine/' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0' -H 'X-Requested-With: XMLHttpRequest' --data 'eme_ajaxCalendar=true&calmonth=12&calyear=2014&full=1&long_events=1&category=1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C14%2C15%2C22%2C23¬category=0&author=&contact_person=&location_id=&template_id=0'
I get the output I want, but at the beginning there are some very weird characters that shouldn’t be there (try it yourself using the command above). These might be blocking the result, and also interfere with your RSS feed result (the other bug you posted). Maybe these are control-M characters (coming from DOS line-endings), as I can see that in the main html from your site you also have those on some lines.
If not, maybe some plugin is blocking the output, since I really don’t see anything else here …Franky
KeymasterFixed in trunk
Franky
KeymasterCan it be that your jquery version is too old then? WP delivers 1.11, what version are you using (and why not the wp version)?
Franky
KeymasterCan you check if this helps you (jquery 1.10 needs this, but I need to check the jquery version that comes with wp):
Edit: I just checked the code, and it should work just fine (wp comes with jquery version 1.11.1). The only thing missing in my code is the line
.data( "ui-autocomplete-item", item )
that is given in the answer on the link above. But in my setup this doesn’t seem to have any effect: the autocomplete works fine.Maybe you can provide an url for me to test? And can you test with firefox too?
Franky
KeymasterThen something is causing javascript errors. Can you check your browser console for hints?
Franky
KeymasterIt does support a datepicker. What version of eme and frontend submit are you using?
Franky
KeymasterAs I suspected: the first line in the generated output is empty, also when going to your site itself. So look in your theme and fix that. If you don’t know how: ask the theme developer for help (I suspect the problem is in the header.php file)
Franky
KeymasterSince you don’t show your feed, it is a bit difficult to say. But my guess is that your theme is adding empty lines at the beginning of the output, so you should remove those.
Franky
KeymasterFor a recurrence, each individual event is still an event. So linking to an event id will never get you to the whole series.
But if you want to show recurrent events only once in the calendar, you can use the option show_recurrent_events_once for the eme_events shortcode. See http://www.e-dynamics.be/wordpress/?cat=18Franky
KeymasterI don’t really understand what you’re trying to do here, but I can provide a #_RECURRENCEID placeholder …
Franky
KeymasterDo you mean a placeholder like for events (#_EVENTID)?
Franky
KeymasterThis should fix the calendar: http://plugins.trac.wordpress.org/changeset/1014929
But: in many places I used the wrong assumption that a day contains 24 hours (it can be 23, 24 or 25). So I need to fix this properly in the other files as well:
eme_events.php
eme_locations.php
eme_filters.php
eme_recurrence.phpThis will happen later, maybe I need to invest a bit more time in the PHP DateTime class …
Franky
KeymasterGood news: I finally managed to duplicate your issue! Now the debugging can start.
Franky
KeymasterI just tested this: created an all day event on Oct 25, and another one on Oct 26: no issues.
What are the options you use for the eme_calendar shortcode? I tried with and without “long_events=1”, no probs whatsoever.You can always mail me an admin account, so I can take a look at your side.
Franky
KeymasterClosing for now …
Franky
KeymasterHi, any news on this? For now I’m closing this …
Franky
KeymasterGlad to be of help.
Franky
KeymasterThat option is used just to set the option “Require WP membership for registration ” for newly created events.
Check the value for that option for your event (you can find it when editing the event).Franky
KeymasterOk, that was already in the previous version too, and the one before 🙂
But you caught it: the unique number only get generated when online payment was possible too.
This has now been corrected: the payment number gets generated if the booking price > 0.
I’ll release a new version for this today, until then see this change:Franky
KeymasterWell, could you mail me an admin account so I could see on your side what is going on?
Franky
KeymasterSome additional changes:
http://plugins.trac.wordpress.org/changeset/1012945
http://plugins.trac.wordpress.org/changeset/1012946
http://plugins.trac.wordpress.org/changeset/1012981Add 1 hour 😉
Franky
KeymasterI might change another thing in there, but I think it took me about 3 hours, taken over all the days I read and thought about it 🙂
Franky
KeymasterShould be implemented by this change:
http://plugins.trac.wordpress.org/changeset/1012374Franky
KeymasterMoving this to feature requests.
Franky
KeymasterJust tried it here: the per-event contact body is taken perfectly (didn’t try the template, but the code is identical). Which version of EME do you use? Can you show demo? Or an admin account?
Franky
Keymaster403 Forbidden: are the permissions on that file ok?
Franky
Keymasterok, found it: replace in eme_filters.php the word “eme_localised_scoperange_filter” by “eme_localised_scope_filter”, then it will work 🙂
Franky
KeymasterHmm, it worked fine for me. I’ll check again.
Anything in the webserver log files? Or your brower console?Franky
KeymasterDid you create js/eme_filters.js too?
Franky
KeymasterNot completely tested yet, but see this change:
http://plugins.trac.wordpress.org/changeset/1011763Franky
KeymasterAnd thanks to you too for the kind donation!
Franky
Keymaster1 or 2 hours, most of the time just thinking about the syntax and testing 🙂
Franky
KeymasterYour suggestion concerning the format is a bit confusion, so I created this:
relative-Xd–YYYY-MM-DD
and
YYYY-MM-DD–relative+Xdwith X a number of days. Months is a bit useless if your event starts halfway: should I take the length of the current month, next month … so: only day offset
Franky
KeymasterI created a code example here:
http://www.e-dynamics.be/wordpress/?topic=sitemap-code-example
Franky
KeymasterI haven’t tested the code yet, but the variable $changefreq is a string, so it should be
$changefreq=”daily”;(With quotes, also for monthly).
Franky
KeymasterI just checked and the fields concerning name/email are indeed readonly when requiring WP membership.
In your case: don’t require it and use the conditional tag #_IS_LOGGED_IN to decide wether or not to show the booking_form:[eme_if tag='#_IS_LOGGED_IN' value='1'] #_ADDBOOKINGFORM [/eme_if]
Then the form only shows for logged in users and they can still change anything.
Franky
KeymasterNope, not unless you want to dive in the database and change everything there (and risk having issues afterwards, since the event ID is an auto-increment)
Franky
KeymasterWell, I’ll move this to bugs so I can check it, but I don’t remember having changed anything specific there. I’ll check the last couple of versions.
Franky
Keymaster“WP registered users only” indeed makes some fields read-only. Which version did you have before?
Franky
KeymasterIf you switch to the new plugin, make sure you just use the new shortcodes too 🙂
Franky
KeymasterThe old plugin is no longer supported (and might not even work anymore), but the migration to Events Made Easy should just work.
Concerning the settings: see your wp-config.php file. I never used fixed usernames and passwords in the plugin, so check your wp-config.php file.Franky
KeymasterRead this thread: http://www.e-dynamics.be/wordpress/?topic=can-a-visitor-add-comments
Franky
KeymasterSeems like a jquery issue there. EME tries to use the standard jquery given by wordpress, so maybe Revolution Slider uses it’s own jquery version (which is bad) and that might conflict.
Can you check your browser console for javascript errors?Franky
KeymasterWP settings are wrong: check your database settings in wp-config.php
Also: events-manager-extended is no longer supported for over 2 years already, switch to events-made-easy.Franky
KeymasterSorry, but a second form is not supported. You can however implement some custom javascript to show the entered data to the customer and let them press “cancel” if they don’t agree.
Franky
Keymaster(I splitted this off in a howto, please don’t hijack existing threads)
For the moment this is more difficult, but the next version will have CSS id’s around the text, so you can just use CSS to hide it.
See this change: http://plugins.trac.wordpress.org/changeset/1005840Franky
KeymasterSee the wordpress profile for that user, there are some EME specific settings at the bottom.
Franky
Keymasterif you don’t force WP membership for RSVP, the field is editable.
Franky
KeymasterI was more thinking about 2 date-field selectors … see http://keith-wood.name/datepick.HTML (click on “Range”).
Franky
KeymasterWell … I haven’t gotten any donations lately, so … 🙂
Franky
KeymasterMaybe I could do something else here: how about 2 date-select fields? That would solve a lot of problems …
Franky
Keymasterdone in trunk
Franky
KeymasterTry this for your phone thing: http://snipplr.com/view/11578/jquery-snippet-to-convert-numbers-into-us-phone-number-format-as-theyre-typed/
Concerning visibility, check out the functions updateShowHideRecurrence and updateShowHideRecurrenceSpecificDays in js/eme_admin_events.js as examples 🙂Franky
KeymasterIn eme_events the scope you created with scope=–#Y-#m-#d seems meaningless, as in the events list there’s no start/end for a single event, but you could use this shortcode inside e.g. your single event formatting, there this will work just fine.
Concerning your “-7d” part: I’d suggest that you create a custom attribute (e.g. ‘older_date’) for the event and use that to indicate from which date you want to show events info from in YYYY-MM-DD format, and then use that attribute:
[eme_events limit=1 notcategory=2+8+9 order=DESC scope=#_ATT{older_date}]
or:
[eme_events limit=1 notcategory=2+8+9 order=DESC scope=#_ATT{older_date}--#Y-#m-#d]Franky
KeymasterI just tested this based on your screenshot and data (I switched the first day of the week to Sunday too), but couldn’t reproduce this.
Can this be your template?Franky
KeymasterOk, thanks for reporting this. It seems I forgot to add correct headers for html-mail when using the wp-mail method.
This should fix it:
http://plugins.trac.wordpress.org/changeset/1001524Franky
KeymasterIt’s in fact a little bit of everything … wordpress shortcodes don’t seem to like html tags in them, so I now escape those too:
Franky
Keymastertx; fixed in trunk
Franky
Keymasterhmmm … maybe your event details contain characters that I didn’t try …
Could you mail me in private the event details as a text-attachment, so I can test that too?Franky
KeymasterOk, since this works, I’ll close the double-double-double negation thing before it gets us in an infinite time loop 🙂
Franky
KeymasterThis works as expected for me (returns a html-mail with the attendees correctly formatted in html), so unless I get more info (like an admin account to check myself), this will be closed.
Franky
KeymasterYou should copy the events, because they will be gone when editing the recurrence otherwise.
Franky
KeymasterSince both EME and EMEFS use the same js-lib for the time format, they behave the same too. Closing this as not-a-bug.
Franky
KeymasterIt’s the “h” in your time format that throws off the am/pm detection …
This change should fix it (will be added to emefs too):
http://plugins.trac.wordpress.org/changeset/1000935Franky
KeymasterImplemented in trunk (some parts can be ignored …):
http://plugins.trac.wordpress.org/changeset/1000921
Edit: and this: http://plugins.trac.wordpress.org/changeset/1000952
Franky
KeymasterThat filter takes 1 argument, let’s assume you called it $booking.
Get the event info like this:
$event = eme_get_event_by_booking_id($booking[‘booking_id’]);
and get the person info for the booking like this:
$person = eme_get_person ($booking[‘person_id’]);
Franky
KeymasterCan’t you use the EME functionality for that? It allows to send mails to all attendees or for all bookings …
Franky
KeymasterI don’t have such a default in EME.
Would you mind sending me some admin details and info so I can check everything on your side. Also a test-event and a test frontend-submit page would be nice.
I would like to see everything on your side concerning html mails and date/time in EME and EMEFSFranky
KeymasterYeah, I know. It’s not that easy … but for this to be implemented by me will take some time …
Franky
KeymasterHonestly no, not without needing to change just about every bit of code in the plugin to account for multiple time-fields.
Although … using the eme_update_recurrence action hook, you could always copy all the events related to the second recurrence to the first. So:
– create your first recurrence
– create your second recurrence
– create a action hook hooking into eme_update_recurrence, that copies all events related to the second recurrence to the first (and maybe change the category they belong too, so you could hide the second recurrence based on it’s category)Franky
KeymasterCurrently the filter creates in fact a “scope”, so splitting it in 2 would no longer create a correct scope.
But haven’t you tried a bit of jquery? Hide the month filter, add 2 new fields (all via jquery) and calculate the scope “onchange” of one of the 2 fields and update the hidden field accordingly.Franky
KeymasterWhat are your general wordpress settings concerning time format?
Franky
KeymasterIn EME too, this is the local computer time …
Franky
KeymasterI just tested this myself and it seems to be working just fine.
Which version are you using? Because in my version the list of attendees is given like this:<ul class='eme_bookings_list_ul'><li>admin (2)</li></ul>
See the class-info? This is missing in your text, and when using the placeholder #_ATTENDEES this should be there.
Edit: to check yourself, in eme_rsvp.php on line 1645 you should have this:
$eme_format_header="<ul class='eme_bookings_list_ul'>";
Franky
KeymasterUse #_IS_RECURRENT_EVENT for that (it seems I forgot to document it, updated the doc now)
Franky
KeymasterThat’s an interesting way of doing things. It should work fine, as long as you don’t edit the recurrence after that.
Tue 30 Sep 2014 at 23:45 in reply to: Reserved/available spaces not correct in cancellation email #52929Franky
KeymasterConfirmed, and fixed here:
http://plugins.trac.wordpress.org/changeset/999461Franky
KeymasterTry editing an event 🙂
-
AuthorPosts