Forum Replies Created
-
AuthorPosts
-
FrankyKeymaster
This 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 …
FrankyKeymasterThis is in fact a microsoft issue where even multiple calls to microtime() generate the same values …
Try if this change fixes it:FrankyKeymasterSure it is, just change the line
$price = $booking['booking_price'] - $discount;
to be any formula you want.FrankyKeymasterThen 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).
FrankyKeymasterDid you register the action function using add_action? E.g.:
add_action('eme_insert_rsvp_action', 'my_eme_discount_function',20,1);
FrankyKeymasterThe 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.FrankyKeymasterhehe 🙂
I could answer that, but in this case I can see the advantage. This will require some coding though …FrankyKeymastersorry, that’s currently not possible.
Feel free to create a feature request for it 🙂FrankyKeymasterThe 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)FrankyKeymasterThought so 🙂
(I’m closing this feature request)FrankyKeymasterJust 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).
FrankyKeymasterWhy not (as I would do) include the payment details concerning bank transfer in the mail sent to the attendee?
FrankyKeymasterUse 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)
FrankyKeymasterYou’re free to send me the updates already.
FrankyKeymasterThe 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).FrankyKeymasterCurrently 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, …).FrankyKeymasterThe 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).FrankyKeymasterFirst try to put #_MAP directly in the single event format, leave out templates to begin with.
FrankyKeymaster#_MAP should work just fine in the single event template
FrankyKeymaster🙂
FrankyKeymasterThe 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.FrankyKeymasterAny filter definition should be done in the file functions.php of your theme, as wordpress dictates.
FrankyKeymasterThe 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;
FrankyKeymasterI already did some Dutch updates myself, but I welcome the extra work done by you. My mmail address is liedekef@telenet.be
FrankyKeymasterIn 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.FrankyKeymasterYou 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.FrankyKeymasterI 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 …FrankyKeymasterI 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.FrankyKeymasterAfter 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?
FrankyKeymasterConcerning 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.
FrankyKeymasterLook 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 🙂
FrankyKeymasterThat shouild do it.
You can always try the dev version: https://downloads.wordpress.org/plugin/events-made-easy.zipFrankyKeymasterConcerning 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
FrankyKeymasterYep 🙂
FrankyKeymasterNo, 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.
FrankyKeymasterI’m always interested 🙂
FrankyKeymasterLook at the filter eme_eval_booking_form_filter (see http://www.e-dynamics.be/wordpress/?cat=41 )
FrankyKeymasterJust 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.
FrankyKeymasterYour 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')";
FrankyKeymasterI was just going to start debugging this, but yes, that’s probably it.
FrankyKeymasterIs you wp timezone setting correct?
FrankyKeymasterSee 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 #53236FrankyKeymasterWhen 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 #53235FrankyKeymasterTry 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 12FrankyKeymasterCheck 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 #53228FrankyKeymasterFrankyKeymasterWell, 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 #53216FrankyKeymasterIf 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 #53214FrankyKeymasterThe dev-version should now allow for this, but I need to test it completely first.
FrankyKeymasterHow 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) …FrankyKeymasterIn fact that action already existed, but was not documented (fixed now):
eme_delete_event_actionFrankyKeymasterFor the moment the contact person can’t be selected from the frontend. Feel free to create a feature request for that.
FrankyKeymasterYes, 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):FrankyKeymasterConfirmed and fixed here:
http://plugins.trac.wordpress.org/changeset/1039117FrankyKeymasterI 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.
FrankyKeymasterI’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)?
FrankyKeymasterI’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 …
FrankyKeymasterIf 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=383FrankyKeymasterimplemented in trunk: http://plugins.trac.wordpress.org/changeset/1033472
FrankyKeymasterLook 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.FrankyKeymasterIt 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 …FrankyKeymasterDoes 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?
FrankyKeymasterIf 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.
FrankyKeymasterFrankyKeymasterconfirmed as a bug, checking this out now …
FrankyKeymasterI 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 #53168FrankyKeymasterThat’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.FrankyKeymasterWell … it fixed half the problem: the mails being sent were not correct (placeholders not replaced). Please try 1.5.13 🙂
FrankyKeymasterCould you try if this change fixes it for you:
http://plugins.trac.wordpress.org/changeset/1028703
Franky
FrankyKeymasterDoes 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.FrankyKeymasterNextGEN Gallery? It seems other people have issues with that plugin too …
FrankyKeymasterat 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
FrankyKeymasterSomething 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 …FrankyKeymasterFixed in trunk
FrankyKeymasterCan 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)?
FrankyKeymasterCan 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?
FrankyKeymasterThen something is causing javascript errors. Can you check your browser console for hints?
FrankyKeymasterIt does support a datepicker. What version of eme and frontend submit are you using?
FrankyKeymasterAs 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)
FrankyKeymasterSince 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.
FrankyKeymasterFor 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=18FrankyKeymasterI don’t really understand what you’re trying to do here, but I can provide a #_RECURRENCEID placeholder …
FrankyKeymasterDo you mean a placeholder like for events (#_EVENTID)?
FrankyKeymasterThis 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 …
FrankyKeymasterGood news: I finally managed to duplicate your issue! Now the debugging can start.
FrankyKeymasterI 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.
FrankyKeymasterClosing for now …
FrankyKeymasterHi, any news on this? For now I’m closing this …
FrankyKeymasterGlad to be of help.
FrankyKeymasterThat 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).FrankyKeymasterOk, 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:FrankyKeymasterWell, could you mail me an admin account so I could see on your side what is going on?
FrankyKeymasterSome 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 😉
FrankyKeymasterI 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 🙂
FrankyKeymasterShould be implemented by this change:
http://plugins.trac.wordpress.org/changeset/1012374FrankyKeymasterMoving this to feature requests.
FrankyKeymasterJust 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?
FrankyKeymaster403 Forbidden: are the permissions on that file ok?
FrankyKeymasterok, found it: replace in eme_filters.php the word “eme_localised_scoperange_filter” by “eme_localised_scope_filter”, then it will work 🙂
FrankyKeymasterHmm, it worked fine for me. I’ll check again.
Anything in the webserver log files? Or your brower console?FrankyKeymasterDid you create js/eme_filters.js too?
FrankyKeymasterNot completely tested yet, but see this change:
http://plugins.trac.wordpress.org/changeset/1011763FrankyKeymasterAnd thanks to you too for the kind donation!
FrankyKeymaster1 or 2 hours, most of the time just thinking about the syntax and testing 🙂
FrankyKeymasterYour 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
FrankyKeymasterI created a code example here:
http://www.e-dynamics.be/wordpress/?topic=sitemap-code-example
FrankyKeymasterI haven’t tested the code yet, but the variable $changefreq is a string, so it should be
$changefreq=”daily”;(With quotes, also for monthly).
FrankyKeymasterI 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.
FrankyKeymasterNope, 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)
FrankyKeymasterWell, 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.
FrankyKeymaster“WP registered users only” indeed makes some fields read-only. Which version did you have before?
FrankyKeymasterIf you switch to the new plugin, make sure you just use the new shortcodes too 🙂
FrankyKeymasterThe 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.FrankyKeymasterRead this thread: http://www.e-dynamics.be/wordpress/?topic=can-a-visitor-add-comments
FrankyKeymasterSeems 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?FrankyKeymasterWP 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.FrankyKeymasterSorry, 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.
FrankyKeymaster(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/1005840FrankyKeymasterSee the wordpress profile for that user, there are some EME specific settings at the bottom.
FrankyKeymasterif you don’t force WP membership for RSVP, the field is editable.
FrankyKeymasterI was more thinking about 2 date-field selectors … see http://keith-wood.name/datepick.HTML (click on “Range”).
FrankyKeymasterWell … I haven’t gotten any donations lately, so … 🙂
FrankyKeymasterMaybe I could do something else here: how about 2 date-select fields? That would solve a lot of problems …
FrankyKeymasterdone in trunk
FrankyKeymasterTry 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 🙂FrankyKeymasterIn 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]FrankyKeymasterI 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?FrankyKeymasterOk, 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/1001524FrankyKeymasterIt’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:
FrankyKeymastertx; fixed in trunk
FrankyKeymasterhmmm … 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?FrankyKeymasterOk, since this works, I’ll close the double-double-double negation thing before it gets us in an infinite time loop 🙂
FrankyKeymasterThis 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.
FrankyKeymasterYou should copy the events, because they will be gone when editing the recurrence otherwise.
FrankyKeymasterSince both EME and EMEFS use the same js-lib for the time format, they behave the same too. Closing this as not-a-bug.
FrankyKeymasterIt’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/1000935FrankyKeymasterImplemented in trunk (some parts can be ignored …):
http://plugins.trac.wordpress.org/changeset/1000921
Edit: and this: http://plugins.trac.wordpress.org/changeset/1000952
FrankyKeymasterThat 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’]);
FrankyKeymasterCan’t you use the EME functionality for that? It allows to send mails to all attendees or for all bookings …
FrankyKeymasterI 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 EMEFSFrankyKeymasterYeah, I know. It’s not that easy … but for this to be implemented by me will take some time …
FrankyKeymasterHonestly 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)FrankyKeymasterCurrently 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.FrankyKeymasterWhat are your general wordpress settings concerning time format?
FrankyKeymasterIn EME too, this is the local computer time …
FrankyKeymasterI 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'>";
FrankyKeymasterUse #_IS_RECURRENT_EVENT for that (it seems I forgot to document it, updated the doc now)
FrankyKeymasterThat’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 #52929FrankyKeymasterConfirmed, and fixed here:
http://plugins.trac.wordpress.org/changeset/999461FrankyKeymasterTry editing an event 🙂
-
AuthorPosts