Forum Replies Created
-
AuthorPosts
-
FrankyKeymaster
Well … that doesn’t help us along, since it is indeed the same error but no additional info.
Could you try the mentioned SELECT statement by hand? Or maybe your database server has a log (maybe something happened at that time)?FrankyKeymasterThat’s weird … I can see you have a DB error, but the sql shown seems just fine to me … is there anything in your webserver logfiles?
FrankyKeymasterConcerning #1: no (daily is just the default)
Concerning #2: we’re using wp_cron (not cron), read up on that
Concerning #3: see the plugin settings, some locations don’t have a facebook id (facebook is weird) but you can use the address to detect doubles if wanted
Concerning #4: no idea what you mean, the preferred image is working just fine, the code is just taking into account many different stupid facebook cases …FrankyKeymasterOk, checked the code: currently, if you’re not logged in, no sync happens immediately but only via cron. Did you check this?
I changed the code (which seems logical to do) to also use the api info if not logged in:
https://plugins.trac.wordpress.org/changeset/1355105/
Try that changeFrankyKeymasterAre you saying that this field is not present when editing a booking for an event configured to take rsvp attendance?
FrankyKeymasterThat action is just called for bookings being done, not for editing an already created booking.
Just tested and the bookings are being edited just fine. But of course you need to give the amount of reserved seats …Wed 17 Feb 2016 at 15:17 in reply to: Using attributes in events published through EME frontend submit #55338FrankyKeymasterFor that: create an attribute that says to ignore the end time, and in the event template check for that value and don’t show the end date if not desired (using conditional tags).
FrankyKeymasterI’ll take a long hard look at that this weekend (although I must admit that facebook doesn’t agree with me …)
Sun 14 Feb 2016 at 22:33 in reply to: Using attributes in events published through EME frontend submit #55332FrankyKeymasterWeird … I’m sure I tested that and it worked fine 🙂
Thanks for the fix, I added something similar.
Could you test if this fixes it too:
http://plugins.trac.wordpress.org/changeset/1350554FrankyKeymasterGood suggestions, but I need to check out the good ajax method for this (calculating the date/time via javascript and showing it in the current “locale” is a bit too difficult and I really want to start using the correct wordpress ajax method so this is a good chance for that 🙂 ).
Mon 8 Feb 2016 at 14:39 in reply to: Site is very slow, takes 100% CPU of the server due to EME #55326FrankyKeymasterAnd even more: which version are you using? And what exactly is taking cpu? The webserver or the database?
Mon 8 Feb 2016 at 12:16 in reply to: Site is very slow, takes 100% CPU of the server due to EME #55325FrankyKeymasterThat will only be for the backend, and I need to start on it (but will take some time)
Do you have the same cpu problem when only using the frontend?Mon 8 Feb 2016 at 10:59 in reply to: Site is very slow, takes 100% CPU of the server due to EME #55323FrankyKeymasterIf you have a 1000 future events, then yes: those get loaded at once in the backend currently.
I’ll see if I can switch this to use ajax calls there.
But even that shouldn’t use that much cpu (only some sql statements to be done).
Of course, if your site is popular, then some caching needs to be done. Take a look at W3 Total Cache (don’t enable JS minify).Sun 7 Feb 2016 at 22:35 in reply to: Styling .eme-rsvp-message differently for validation vs confirmation #55320FrankyKeymasterHi,
see if this change helps you:
http://plugins.trac.wordpress.org/changeset/1345380FrankyKeymasterYou can use the contact person setting when creating an event. Contact persons also can edit the events of which they are assigned contact person for.
FrankyKeymasterCheck the new release, all should be as before again
FrankyKeymasterOk, should be fixed here:
http://plugins.trac.wordpress.org/changeset/1343375Releasing 1.6.10 for this now
FrankyKeymasterIn order to eliminate some sql statements, $event now also contains the location info if location info is present. The call to eme_replace_event_location_placeholders can thus call eme_replace_locations_placeholders with $event providing all location info.
Now, the way you changed it can’t work since there’s no longer a $location variable in that function, so by changing line 2195
$format = eme_replace_event_location_placeholders ( $format, $event, $target, 0, $lang);With:
$format = eme_replace_locations_placeholders ( $format, $location, $target, 0, $lang );you should now have a warning in your apache logfiles saying that $location is unknown or so.
But as you can see on my example page, my event list + html + location info all works fine.But now that you mention it, it seems there’s a problem with events *without* location info … checking now.
FrankyKeymasterSorry, but this I can’t reproduce. The event listing shows html just fine here. See as an example this page with bold in the event listing:
http://www.e-dynamics.be/wordpress/?page_id=63
It’s an ul-list, but shouldn’t be any different than a table …
If you can reproduce this on a test site, give me some admin access so I can check this out myself …Thu 4 Feb 2016 at 13:27 in reply to: How to create FB events -> WordPress blog post auto sync? #55307FrankyKeymasterI guess she tried to do an autoredirect to the real event page.
Concerning the image: you can use shortcodes in your own code, and let wp do the rest (see the wp function do_shortcode), but for code concerning the image:
$url = wp_get_attachment_url($event['event_image_id']);
But indeed, it needs to be downloaded from fb, no reference to outside images is done.Concerning the variables: it’s a filter/hook, so doing a
print_r($event_passed)
will show you everything there is in there.Wed 3 Feb 2016 at 16:49 in reply to: PHP Fatal error: Call to undefined function esq_sql() — Typo? #55304FrankyKeymasterTry the last changeset I’ve given above, should fix it
Wed 3 Feb 2016 at 16:21 in reply to: PHP Fatal error: Call to undefined function esq_sql() — Typo? #55302FrankyKeymasterOk, the 32 comes from some calculation to know the first day of the previous month to show in the current cal, in combination with the wp setting “first day of the week”. Try if this fixes it:
http://plugins.trac.wordpress.org/changeset/1342307It seems like this wrong range in the sql causes all rows to be returned …
Wed 3 Feb 2016 at 15:56 in reply to: PHP Fatal error: Call to undefined function esq_sql() — Typo? #55301FrankyKeymasterThis is both interesting and weird 🙂
I have this:SELECT * FROM wp_eme_events e LEFT JOIN wp_eme_locations l ON e.location_id=l.location_id WHERE event_status=1 AND ((event_start_date BETWEEN '2016-01-31' AND '2016-03-07') OR (event_end_date BETWEEN '2016-01-31' AND '2016-03-07') OR (event_start_date <= '2016-01-31' AND event_end_date >= '2016-03-07')) ORDER BY event_start_date ASC, event_start_time ASC, event_name ASC
So … where is indeed the 2016-01-32 coming from? If you change that to 31, is the number of rows better? I’ll check the code here in the meantime
Wed 3 Feb 2016 at 14:26 in reply to: PHP Fatal error: Call to undefined function esq_sql() — Typo? #55298FrankyKeymasterThe way I can test your site, it does seem to have something to do with the EME tables. But I think the slow response might be related to EME table indexes not being there. Maybe indexing some columns will speed things up. Can you activate the mysql slow queries thingie and see what that gives?
Wed 3 Feb 2016 at 13:02 in reply to: PHP Fatal error: Call to undefined function esq_sql() — Typo? #55296FrankyKeymasterWeird, I only see as many location sql’s as there are events currently shown.
Using this change: http://plugins.trac.wordpress.org/changeset/1342180 I now completely removed the separate location-sql’s. So my cal now shows only 1 sql in total (maybe 2) for the eme tables.
Try this 🙂 And of course make sure to apply all changes in both changesets … (or just download the EME from trunk: https://downloads.wordpress.org/plugin/events-made-easy.zipTue 2 Feb 2016 at 17:52 in reply to: PHP Fatal error: Call to undefined function esq_sql() — Typo? #55294FrankyKeymasterCan you check in your mysql logs which queries are used more than 2 times for Feb? Of course on a dev server … maybe it is not all EME related?
I only have 2 queries if location info is not included. If location info is included (using location placeholders), an extra query is done per event. That too can be optimized, but requires more profound code changes while maybe reducing the code readability (if that even is there now …)
And indeed, I didn’t evaluate the queries done for the search form yet, but those should be minimal.Tue 2 Feb 2016 at 14:36 in reply to: PHP Fatal error: Call to undefined function esq_sql() — Typo? #55288FrankyKeymasterOk, this change should greatly reduce the number of SQL statements made:
http://plugins.trac.wordpress.org/changeset/1341352Please test 🙂
FrankyKeymasterBy using templates you can easily achieve this. Use template_id_header, template_id and template_id_footer. Leave the header and footer templates empty (by default it is the li-open/close tag) and put in the regular template the way you want an event to appear and the separator for the next event. The eme_events shortcode uses of course the template id’s (not the content), see the doc on that.
FrankyKeymasterI didn’t use
<html></html>
but only as an example tried with ‘test‘ and that worked fine too … The code for sending rsvp-mails or mass-mails is the same.
Check the resulting mail source code upon receiving it, see what is in there (or what is different in both cases). Also try reading it with different readers.Mon 1 Feb 2016 at 17:18 in reply to: PHP Fatal error: Call to undefined function esq_sql() — Typo? #55283FrankyKeymasterI’ll analyze the requests made, maybe there’s some optimization that can be done.
But this seem like a lot of queries … can you also mail me the template you use?FrankyKeymasterWeird, since the code takes that into account. I just tried it here: html entered in the message text box and it gets delivered as html just fine …
FrankyKeymasterDid you check the option “Send HTML mails” ?
Thu 28 Jan 2016 at 09:54 in reply to: How to create FB events -> WordPress blog post auto sync? #55274FrankyKeymasterevents are not posts, but if wanted you can create a regular post when a new event gets created using a hook. See http://www.e-dynamics.be/wordpress/?topic=trigger-a-post
Concerning the FB events: see the plugin EME sync facebook eventsFrankyKeymasterSorry, not yet … busy rearranging parts of the code all the time. But I’m getting there 🙂
FrankyKeymasterThat will work, but of course the backend will not test if it is entered or not (that can be done via the filter eme_eval_booking_form_post_filter)
Sat 23 Jan 2016 at 11:29 in reply to: CVS Export from Events list error message in Excel for Mac #55263FrankyKeymasterOk, got it. Could you try if this version of eme_people.php fixes it for you?
http://plugins.svn.wordpress.org/events-made-easy/trunk/eme_people.php
I changed the csv export function to enclose all fields all the time without exceptions, so the ID-problem should be solved.
Thu 21 Jan 2016 at 14:12 in reply to: PHP Fatal error: Call to undefined function esq_sql() — Typo? #55261FrankyKeymasterConfirmed as a bug and your fix is correct (very weird nobody else reported this yet)
Concerning the memory issue: how many events do you have in your calendar view? Normally I try to only get the events from the DB that are requested, and that shouldn’t take a lot of memory. So I’m interested if by any chance you can figure out where the memory is allocated, so I can improve the code.FrankyKeymaster2 possibilities:
– there’s a JS error on the page and your browser doesn’t load the rest. Check your browser console for possible JS errors
– the server encountered a php error. Your apache logfiles: if you don’t that, please ask your provider or webserver administrator for help in that regard.FrankyKeymasterAs you can see: it works fine here. So, saying “crash” is too generic. What is exactly that is happening? Did you check the logfiles of your webserver?
FrankyKeymasterThe last released version is from 19/12/2015, do you mean that you only updated on 8/1/2016 ?
Also: if lastname is not present in the form, nothing should work … can you give a form url example?FrankyKeymasterSince the old plugin, the placeholders have changed a bit. See this for the attendees placeholders:
http://www.e-dynamics.be/wordpress/?cat=48
I recommend that you check all used placeholders and compare with the doc.FrankyKeymasterEvents Manager Extended has been unsupported for years already. Please update to Events Made Easy before submitting a bug request.
FrankyKeymaster‘Internal server error’ means that you need to check webserver logfiles for the exact error …
Tue 5 Jan 2016 at 15:38 in reply to: Viewing Individual Events Results in 404 Page Not Found – Please Help! #55241FrankyKeymasterGlad to hear it works again!
FrankyKeymasterThat just means that not all strings are translated in Dutch. Concerning the mail subject: you have to edit these in the settings to be in a language of your choice (you can use qtranslate-like language tags in these settings to be multi-language compliant if you have qtranslate or a derivate).
Tue 5 Jan 2016 at 12:05 in reply to: Place a checkbox above submit button, change button text if checkbox is changed #55237FrankyKeymasterThe checkbox itself can be accomplished by creating a new formfield of type “checkbox”, see the doc on custom form fields:
http://www.e-dynamics.be/wordpress/?cat=44After that it is just a small jquery to check the value of the checkbox. For a jquery example, see e.g. js/eme_admin_events.js, search for
jQuery('input#rsvp-checkbox').change(updateShowHideRsvp);
The jquery part needs to be in the EME settings, tab “extra”, the “headers” setting
Tue 5 Jan 2016 at 06:23 in reply to: Viewing Individual Events Results in 404 Page Not Found – Please Help! #55235FrankyKeymasterTry going into your permalink settings (WP settings subsection) and choose “default”, press save, choose your old setting and press save again. See if that solves it for you.
If that doesn’t work, try to deactivate all security plugins and try again.FrankyKeymasterCustom attributes are for events, not for the rsvp form
The thing is: what if that info is already in the profile and the user wants to change it? Custom profile fields need to be programmed too, so it is not that simple.
I think I understand what you’re trying to do, but the plugin needs to be generic in a solution, not specific. In your case: a solution would be to check the user profile for similar named fields and use those as auto-completed info (maybe by adding some prefix to the placeholder to indicate that we want the user profile to be checked). But: not possible right now.
Another possibility is for you to code that part up by using the available filters/hooks upon rsvp form submit.FrankyKeymasterOk, I misunderstood you then (the sub-event thingie).
Now the other registration info is stored per event/rsvp, not per user. This might seem weird to you, but how could I determine which rsvp info to take from a previous event when registration is done for a new event?
To help you along: there are browser plugins that autocomplete forms …FrankyKeymasterIf you’re logged in, then the last/first name and email are pre-filled in the rsvp form.
Concerning the rest: maybe try a multibooking form (where you can register for multiple events at once), see http://www.e-dynamics.be/wordpress/?cat=5968FrankyKeymasterIf nothing is shown below (and the html-source of the page isn’t complete) it indicates an error in the coding. Is there something in the logfiles of your webserver?
Edit: just tested it here and here my paypal button shows just fine after a booking, now checking out Mollie 🙂
Edit 2: Mollie works just fine too here …FrankyKeymasterThis is now completely implemented with the new Holidays addition for the calendar too, see the doc.
FrankyKeymasterThat’s easier to do than you think. Just leave an empty value for the first field, and then make it an required field. Example:
Field values: ||test||test2
Field tags: please select||test1||test2And in your rsvp form, use #REQ_FIELD{xx} (with xx being the id of the custom field you created)
FrankyKeymasterThis is in fact a leftover ‘bug’ that is fixed here:
http://plugins.trac.wordpress.org/changeset/1309419FrankyKeymasterJust tried it on this site (with standard EME 1.6.2): events can be created just fine for 2016, mails are also sent just fine.
I think you need to check your webserver/mailserver logfiles …FrankyKeymasterJust create a new empty wordpress page and then go in the EME settings (tab ‘Events’) and choose that page in the setting ‘events page’).
FrankyKeymasterno reply, closing
FrankyKeymasterThis is now improved in the latest release, hope it helps 🙂
FrankyKeymasterThis is now partially implemented with the “Holidays” section, although it might not completely be what you want …
FrankyKeymasterno reply, closing
FrankyKeymasterWhat placeholder do you use when trying to show the form?
Btw: I tried it here, rsvp form shows just fine when not logged in too.FrankyKeymasterHmmm … 4.4 is not released yet, no? 🙂
FrankyKeymasterNice to hear!
FrankyKeymasterI’m sorry, but this is way too little information. What are “the steps”? And what is in the logfiles of your webserver? Database still ok?
Etc …Fri 27 Nov 2015 at 23:33 in reply to: Jetpack Sharing shares event list instead of single event #55146FrankyKeymasterGlad to hear you found a good workaround!
Fri 27 Nov 2015 at 15:36 in reply to: Jetpack Sharing shares event list instead of single event #55144FrankyKeymasterI’m not sure that I understand this, but you should never use the special events page directly.
Create regular wp pages with [eme_events] on it to show a list of events.Fri 27 Nov 2015 at 08:49 in reply to: Jetpack Sharing shares event list instead of single event #55142FrankyKeymasterCheck the faq section in the doc on this site, you’ll find a jet pack reference in it.
Wed 25 Nov 2015 at 23:01 in reply to: submitting and editing all-day events and events with start or end only #55140FrankyKeymasterWell … discussions were had on that years ago, and since the end time can never be lower than the start time (and 0:00 can’t be assumed as end time too), I put the end time the same as the start time if not supplied.
If you want to hide the end time if it is the same as the start time, use conditional tags.FrankyKeymasterCurrently not possible, no.
Hard to make? Nothing is hard to make, but still takes time 🙂
In this case, you can use the “send mail” functionality yourself already to send a mail manually. Adding the cron-part would require the possibility to tell what to send to whom in advance … and that requires a lot of extra code again.FrankyKeymasterLike the doc says at http://www.e-dynamics.be/wordpress/?cat=8: events are rendered via that page (many plugins do something similar).
Since events are not posts, I can’t use the page seo when showing events on that page. The fact that your seo panel doesn’t show/load, is not because my plugin hides anything but because I use “admin.php”, not “post.php” and I’m guessing your SEO plugin is only triggered on post.php. Not that it matters, since (again) events are not posts.FrankyKeymasterYou’re so right. The code even translates the event title, but not the words “Bookings for”.
Fixed here (with some extra lines code-improved, but you can ignore those):
http://plugins.trac.wordpress.org/changeset/1290292FrankyKeymasterThe reason I’m asking this is that when I switch my site to e.g. Dutch, the calendar is translated correctly too …
Thu 19 Nov 2015 at 20:45 in reply to: submitting and editing all-day events and events with start or end only #55127FrankyKeymasterI tested this: when leaving empty, 0:00 is also used for EMEFS. Is this not the case for you?
Thu 19 Nov 2015 at 20:16 in reply to: submitting and editing all-day events and events with start or end only #55126FrankyKeymasterWell, for new events in EME, the time is 0:00 if left blank. That should also be done via EMEFS if not entered, so I’ll take a look at it.
FrankyKeymasterIn what language is your admin backend? And do you use multi-language plugin of some kind?
FrankyKeymasterMake sure to use the correct language in the wordpress settings.
Edit: and remove WPLANG from your wp-config.php file (is deprecated).FrankyKeymasterCheck if the latest release helps you here …
FrankyKeymasterOf course it will be included then.
FrankyKeymasterAnything in the langs folder gets replaced.
If there are bugs in the translation, please send me a corrected po/mo file.FrankyKeymasterIn fact, it’s a bug in a wordpress function (date_i18n), I’ve filed a bug report:
https://core.trac.wordpress.org/ticket/34711#ticketFrankyKeymasterI thought “2015 Nov” was the Hungarian standard, but anyway: if not to your liking, this change will help you (will be in 1.5.53):
added filters eme_cal_full_yearmonth and eme_cal_small_yearmonth, so you can change the header shown in the full/small calendar
See http://plugins.trac.wordpress.org/changeset/1287384FrankyKeymasterHi,
well, the SEO pack adds headers to the special events page (a regular wp page which contents/title/meta-headers… get overwritten by EME when viewing single events/locations and such).
See the calendar on the right here, when clicking on a date:
http://www.e-dynamics.be/wordpress/?page_id=495&calendar_day=2015-11-05
Clicking on an event keeps you on the same page, but the title needs to be changed (and other headers, see the faq-entry about facebook headers here: http://www.e-dynamics.be/wordpress/?page_id=195 )
I don’t know the nature of the problem people seem to have with All in One SEO here, but I’m guessing it is similar …FrankyKeymasterYes, use either #_LINKEDNAME as a ready-to-use link+text or use #_EVENTPAGEURL and create your own href-link with it.
FrankyKeymasterAs said at that time: all works just fine here, and I failed to reproduce the problem. Also on your side it seems ok, but just doesn’t seem to be working at all. Old changes from 15 months ago are not relevant.
In your case, I’d need a full admin account (can’t edit the plugin from the admin backend right now), ftp access in case I mess things up and access to your database.FrankyKeymasterMake sure your quotes are correct, it seems you’re mixing windows quotes and regular ones …
[eme_if tag=“#_EXCERPT” notvalue="#_NOTES"] read more … [/eme_if]
should be:
[eme_if tag="#_EXCERPT" notvalue="#_NOTES"] read more … [/eme_if]
Also, when posting on this forum, please use the “code” button where appropriate.
FrankyKeymasterYou could use conditional tags to check whether #_EXCERPT and #_NOTES are different or not.
See http://www.e-dynamics.be/wordpress/?cat=24FrankyKeymasterAdded. From the changelog:
added cancel form placeholder #_CANCELCOMMENT and corresponding rsvp placeholder #_RESPCANCELCOMMENT
See
http://plugins.trac.wordpress.org/changeset/1282855FrankyKeymasterThe IPN url is given via the paypal button, so you don’t have to set it specifically in your paypal account.
Mon 9 Nov 2015 at 12:05 in reply to: add the [events_filterform] to the default header of the event list #55086FrankyKeymasterWell yes … the usage doc is pretty clear on that: http://www.e-dynamics.be/wordpress/?cat=8
Mon 9 Nov 2015 at 11:45 in reply to: add the [events_filterform] to the default header of the event list #55084FrankyKeymasterRead the doc: the standard event page is not to be used in any way directly. Just create own pages with shortcodes and do your things there.
Also the filterform works for both events and calendar (maybe even for locations, need to check).FrankyKeymasterThe url is shown in your PayPal settings in the paymment tab of the EME settings page in wordpress.
FrankyKeymasterCheck your webserver logfiles to see if the IPN from paypal arrives (search for eme_eventAction=paypal_notification in your access logs)
Also, here’s a link to IPN debugging for paypal:
https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNTesting/ (check the chapters on “IPN Troubleshooting Tips” and “IPN Simulator testing”)FrankyKeymasterThe line numbers you changed seem ok to me.
You should keep the changed files, but since in fact those lines do a post-submit check that should always be ok (unless someone hacks the form), it doesn’t matter.
If you are unsure, you can always download the latest development version from the wordpress site too.FrankyKeymasterThe line numbers you changed seem ok to me.
You should keep the changed files, but since in fact those lines do a post-submit check that should always be ok (unless someone hacks the form), it doesn’t matter.
If you are unsure, you can always download the latest development version from the wordpress site too.FrankyKeymasterThis should fix it (ignore the indentation fixes):
http://plugins.trac.wordpress.org/changeset/1279010FrankyKeymasterOk, apparently it is an issue with the combination of the attendance-setting. Let me check this …
FrankyKeymasterOk, but I think I got it for you: did you make the “minimum seats” also multi-aware?
Because if you just set “1” there, it means at least 1 seat should be booked in total. If you don’t want 0-seats, you should specify the minimum seats per price, by setting e.g. in the min.seats: “4||2||1” or so (meaning: at least 4 seats of price category 1 need to be booked, at least 2 seats of price cat 2 and at least 1 seat of price cat 3)FrankyKeymasterWell, I assume a tester can’t hurt either. So send me some admin login details, I’ll change the files in place (please take a backup of both files)
FrankyKeymasterSorry, but that I don’t do. Changing the eme_functions.php file should be easy (just the 4 new functions to add), and in eme_rsvp.php it is only 2 lines to change …
FrankyKeymasterMake sure to only apply the changed lines, copying over the complete files will result in problems.
FrankyKeymasterIt seems I made a mistake with my interpretation of how “<" and ">” work for arrays, that is the problem here.
See if this solves it for you:
http://plugins.trac.wordpress.org/changeset/1277373Thu 29 Oct 2015 at 00:19 in reply to: Hide payment processor buttons for price of "0" on registration form #55050FrankyKeymasterBlanks are never sent, but:
– first apply this changeset: http://plugins.trac.wordpress.org/changeset/1274944
– then use eme_eval_booking_form_post_filter to check the input
in there, use the newly available filter eme_rsvp_email_text_xxx_filter (or eme_rsvp_email_html_xxx_filter) and replace “xxx” by “pending_subject” (and “contact_pending_subject” if no pending mails are to be sent to the contact person either), so in this case: eme_rsvp_email_text_pending_subject_filter.
Use that filter eme_rsvp_email_text_pending_subject_filter to return an empty string (mails with either empty subject or body are not sent)Let me know the result 🙂
FrankyKeymasterThis should help (but I’m not sure the animated gif is transparant …):
http://plugins.trac.wordpress.org/changeset/1274927
(also, ignore the eme_rsvp.php change in there, it is not needed)Tue 27 Oct 2015 at 23:34 in reply to: Hide payment processor buttons for price of "0" on registration form #55046FrankyKeymasterSorry, but I checked my code and the action hook eme_insert_rsvp_action is called when the action is done, not before. There’s no method of changing an event settings (“auto-approve” or not) before doing the insert.
You could use the option to not send pending mails at all, and send the pending mail in the eme_insert_rsvp_action hook for those that need it. Calling eme_email_rsvp_booking($booking) in your hook should do that (but it is kind of unsupported).
Maybe the most correct method would be to call the eme_eval_booking_form_post_filter and to set the body of the pending mail to empty based on your conditions by then using eme_rsvp_email_body_text_filter. But then probably the “confirmed” mail you’re sending is also empty and won’t get sent.FrankyKeymasterOr maybe I could disable the “recurrence” button if people already registered.
FrankyKeymasterThis is not a bug but by design. It is in the code:
// we go from single event to recurrence: create the recurrence and delete the single event eme_db_insert_recurrence ( $event, $recurrence ); eme_db_delete_event ( $tmp_event );
Now the reason for this: when converting a single event into a recurrence, I don’t know if the original event could even be part of the recurrence (and exactly to which event the rsvp info should be added) You have to think of a recurrence as a “master” event that just has “single” events under it.
I could add some warning to the edit screen for this case …Thu 22 Oct 2015 at 23:49 in reply to: Hide payment processor buttons for price of "0" on registration form #55028FrankyKeymasterUse eme_update_booking_payed: eme_update_booking_payed($booking_id,$booking_payed,$approve_pending=0)
(search the code for some examples), that also sends out the mail if $booking_payed=1 and $approve_pending=1.
And if the approval status is 1, the pending mail doesn’t get send anyway 🙂Wed 21 Oct 2015 at 10:37 in reply to: Place a checkbox above submit button, change button text if checkbox is changed #55023FrankyKeymasterDon’t change the code, but add your own code to either your theme function.php file or in the EME settings, tab “extra”, the “headers” setting
Also, take a look at the eme filter eme_add_booking_form_filterFrankyKeymasterBtw, what do you mean with “it’s switching begin and end date when saving AS a recurring event” ? This sounds like a bug …
FrankyKeymasterHi,
I admit that the recurrence info is indeed split in two, and that can be improved. Any patch is greatly appreciated!
The suggestion for greying out the time when clicking “all day” is a good suggestion too, so maybe I’ll indeed merge date/time into 1 box then (or again: a patch is appreciated, any JS should go in eme_admin_events.js)
And indeed: autosetting the event end date is not happening (that’s not what I said), but could be added (I admit that I thought about it in the past but just didn’t do it).
Concerning the entering of date via keyboard: I need to take many localization into account, so it is not going to be as easy as you think … but for reference, I use http://keith-wood.name/datepick.html
Edit: for entering a date via the keyboard: http://keith-wood.name/datepickRef.html (tab “commands”) shows you the keyboard reference that works already.
Edit 2: maybe the datepicker option “constrainInput” is sufficient (didn’t see that one before and didn’t try it yet) and then the field can be made read/write againFrankyKeymasterConcerning the doc:
– the usage doc at http://www.e-dynamics.be/wordpress/?cat=8 talks about how EME works, it tells you about the “format” settings, and what goes in those. It gives you the links to placeholders and shortcodes too.
– if you read the doc about e.g. event shortcodes, you would know what “scope=future” means. If it isn’t clear that “scope=future” means to show future events, then there’s another problem…
– at the bottom of every shortcode doc, there are examples to be found with the explanation of what each does. Again, take a look at the bottom of e.g. http://www.e-dynamics.be/wordpress/?cat=18Concerning a video: creating a video of more than x minutes would take a lot of preparation. If you’re willing to donate 1000 euro’s so I can spend a week on creating a 2 hour video, then you’ll have it. For now, I’m doing this in my own free time so I can’t just go around and leave my daytime job for it …
To summarize the use:
– create events (make sure the state of the event is “public” for basic testing)
– go in the general settings of EME and look at the option called “Default event list format”. That setting defines the layout of 1 line when showing a list of events when using the [eme_events] shortcode on a regular page. Change that setting to your liking using the event placeholders (and any html of your choice) found at http://www.e-dynamics.be/wordpress/?cat=25
– now go on a regular page and enter the shortcode “[eme_events]“. The output of that shortcode is changed by the format setting you just changed. For more options to change which events are shown and how, you can add options to the shortcode [eme_events] as shown in the doc.
– If – on some pages – you want a different layout than the one defined in the generic EME setting “Default event list format”, you can create a template with your wanted format. Then use the template_id option for the [eme_events] shortcode.
– if – for a specific event – you don’t like the general layout defined in “default single event format”, you can change the format when creating an event and changing the setting “single event format”All this is to show you: you have shortcodes on regular pages (with extra options), and “format settings” that contain placeholders that influence the layout (format) of those shortcodes. And since events are not locations or a calendar, you have event placeholders, location placeholders, etc …
So, play around, change a format setting and check the returned layout from the corresponding placeholder.Everything in EME is about shortcodes and relevant placeholders … and many plugins in wordpress work in a similar manner.
Fri 16 Oct 2015 at 15:45 in reply to: Hide payment processor buttons for price of "0" on registration form #55008FrankyKeymasterThe message can be adjusted to your liking via conditional tags.
But for the rest, see if this change does it for you:
http://plugins.trac.wordpress.org/changeset/1267438FrankyKeymasterSpanish? That is no good … somehow the links must have changed. I updated the page to show the correct movie (which is not made by me btw).
Also, there’s a link to tips and tricks, and I added another link too.Thu 15 Oct 2015 at 23:25 in reply to: Hide payment processor buttons for price of "0" on registration form #55001FrankyKeymasterI’m wondering: should this be optional? There’s indeed no need to show a payment page if the price is 0 …
FrankyKeymasterDid you read the initial usage instructions?
See http://www.e-dynamics.be/wordpress/?cat=8
Also, for the explanation for the extra options for each shortcode: again the docs. See http://www.e-dynamics.be/wordpress/?cat=18 for the possible options, their meaning and some examples for [eme_events]Thu 15 Oct 2015 at 23:22 in reply to: Place a checkbox above submit button, change button text if checkbox is changed #54999FrankyKeymasterThat can only be achieved via jquery code.
FrankyKeymasterSee this doc on the special events page:
http://www.e-dynamics.be/wordpress/?cat=8You need to use shortcodes [eme_events] and/or [eme_event] with their respective options:
http://www.e-dynamics.be/wordpress/?cat=18
http://www.e-dynamics.be/wordpress/?cat=37Franky
FrankyKeymasterO my god …. so sorry about that. New release pending …
FrankyKeymasterWeird … any chance of mailing me an admin account?
FrankyKeymaster#d doesn’t show the name of the day of the week. Do you mean #D ?
Also: in which language?FrankyKeymasterThis is now possible (from version 1.5.48 I think )
FrankyKeymasterThe edit of registrants is already possible.
And adding attendees to past events is also already possible, just change the search filter to show past events first.FrankyKeymasterYou change it in the RSVP form settings
FrankyKeymasterJust tested it here: including: works fine, excluding had a bug if more than 1 category was selected.
Fixed here: http://plugins.trac.wordpress.org/changeset/1262648
However: mixing both include and exclude might produce weird results … (buf first try the fix)FrankyKeymasterTime can be entered with the mouse (use the scroll-button on your mouse), or even the arrow keys. Entering dates manually leaves too much room for error, so no go.
If the end date is before the start date, it gets set to the start date.
Some people don’t care or never enter a time for an event either, so it can be hidden if wanted.
It is clearly marked which are the date boxes for the recurrence, and which for the event duration then.
Things need to stay simple for me too …Fri 9 Oct 2015 at 20:24 in reply to: list and edit the seperate events of a recurring event, event state:cancelled #54969FrankyKeymasterYou can edit a single event in a recurrence, by clicking on the event id.
You can search in the event list for anything (including a date), you can even set custom dates as recurrence.
For the “cancelled” event: create another event with a special category and use css and that category to display the event to your liking.FrankyKeymasterThis should help:
FrankyKeymasterI have split this up in a new thread.
@sleininger: thanks for helping out!Sun 4 Oct 2015 at 10:28 in reply to: Show time only on start date & end date for a multi day events? #54948FrankyKeymasterAnd so is has been decided: added eme_replace_calendar_placeholders, with 3 placeholders:
#_IS_STARTDATE, #_IS_ENDDATE, #_IS_NOT_START_OR_END_DATE
The last one could be covered by the other 2, but hey …
I also added a new filter to it (eme_cal_format_prefilter):if (has_filter('eme_cal_format_prefilter')) $format=apply_filters('eme_cal_format_prefilter',$format, $event, $cal_day);
And your template can be simplified a small bit:
<li style="list-style-type: none;">#_LINKEDNAME<br \> [eme_if tag='#_IS_MULTIDAY' value='0'] [eme_if2 tag='#_IS_ALLDAY' value='1']All day event.[/eme_if2] [eme_if2 tag='#_IS_ALLDAY' value='0']#_STARTTIME - #_ENDTIME[/eme_if2] [/eme_if] [eme_if tag='#_IS_MULTIDAY' value='1'] [eme_if2 tag='#_IS_STARTDATE' value='1']Starts at #_STARTTIME[/eme_if2] [eme_if2 tag='#_IS_ENDDATE' value='1'']Ends at #_ENDTIME[/eme_if2] [eme_if2 tag="#_IS_NOT_START_OR_END_DATE" value='1']All day event.[/eme_if2] [/eme_if] </li>
Sun 4 Oct 2015 at 09:09 in reply to: Show time only on start date & end date for a multi day events? #54947FrankyKeymasterTo avoid the need to change eme_replace_placeholders , and since these are calendar related placeholders, how about a new function eme_replace_calendar_placeholders (like eme_replace_booking_placeholders?
All these placeholders could go in there then.Sat 3 Oct 2015 at 18:57 in reply to: Show time only on start date & end date for a multi day events? #54942FrankyKeymasterThe function eme_replace_placeholders only has 5 arguments, so that would need to change too …
Some argumentation is needed here pleaseSat 3 Oct 2015 at 18:13 in reply to: Show time only on start date & end date for a multi day events? #54941FrankyKeymasterI split this into a bug report, since in fact it is one 🙂
Thanks for this, fixed with this:
http://plugins.trac.wordpress.org/changeset/1258860Fri 2 Oct 2015 at 14:49 in reply to: EMEFS – event start and end time end up minus 6hrs in admin #54937Fri 2 Oct 2015 at 00:48 in reply to: EMEFS – event start and end time end up minus 6hrs in admin #54932FrankyKeymasterSee if this fixes it:
FrankyKeymasterNope, currently not done … moving to feature requests
FrankyKeymasterLocation is what you already know: html/wp-content/plugins/events-made-easy/
And probably all events are still in the databaseFrankyKeymasterThis means that probably the plugin folder events-made-easy didn’t have the correct rights (ownership ) so wordpress failed to remove it (typically happens when you change things manually ). Just delete the folder manually and reinstall eme.
FrankyKeymasterTry editing your EME widget and just press “save” (or change a thing, press save, change it back and press save again). If that doesn’t work, try this change:
http://plugins.trac.wordpress.org/changeset/1256114Also: this is a notice, not an error. Besides the fact that this might be considered as a bug (uninitialized value), this means that you show too much info (never show php notices unless you debug stuff).
FrankyKeymasterEdit events is not the same as editing the events page.
Editing events is only possible from the WP admin pages, or when being logged in and using the #_EDITEVENTLINK in the event format somewhere.FrankyKeymasterThe fix could be implemented by hand, or you could wait for the next update of the plugin (which already happened btw)
FrankyKeymasterShould be fixed with this:
http://plugins.trac.wordpress.org/changeset/1255368FrankyKeymasterI think I understand 🙂
This should fix it:https://plugins.trac.wordpress.org/changeset/1254708/events-made-easy/trunk/eme_rsvp.php
FrankyKeymasterSure, by using a template for the list-header, entry and footer. The header template contains the html table-open tag, the entry template a tr-line, and the footer the table-close tag.
FrankyKeymasterThe button is generated after the booking, not in the rsvp form itself.
FrankyKeymasterChange the default EME setting for events “Number of events to show in lists” to 0
FrankyKeymasterThis is not a bug, but by design: otherwise I would need to pass the selected filter values to the paging links (and that gets very ugly then), so for now you’ll need to live with this restriction.
Edit: by switching the paging links to json, this could be changed … but that’s a feature request then.
FrankyKeymasterYou can mail them the url for the payment button in the RSVP mails by using the #_PAYMENT_URL placeholder, see http://www.e-dynamics.be/wordpress/?cat=27
FrankyKeymasterSince 1.5.41 (I think), I use a datetime-related class so this is now solved.
FrankyKeymaster#_SINGLE_EVENTPAGE_EVENTID will be the new placeholder, see
http://plugins.trac.wordpress.org/changeset/1249888FrankyKeymasterCheck the end date for those events.
-
AuthorPosts