Franky
Forum Replies Created
-
Forum: Plugins
In reply to: [Events Made Easy] EME causes redirect?Well, remove the external url-text (it is incorrect) and your prob is solved. For showing single event dates I’d suggest to work with an EME category (so you don’t need to remember or know the event id) but otherwise your method is ok. You can also use an EME widget to show specific info on events etc …
Or if you want to keep all as is, the disable the EME option to redirect to external urls if present.Forum: Plugins
In reply to: [Events Made Easy] Example of eme_extra_event_headers_json_filterThe function eme_get_event_cf_answers can be used to get the answers for custom fields in event definitions (it takes the event id as the only param).
And using eme_replace_placeholders one could use placeholders in a string of your own, but best would then just be to use a shortcode with a format of your liking and call do_shortcode on it (avoiding the need to know the EME internals).Forum: Plugins
In reply to: [Events Made Easy] EME causes redirect?EME only redirects if you have an event that points to an external url, so in your case your event with id 810 probably has the “external url” set to “wochenbett-und-rueckbildung”.
I’ll add url validation for that setting for the next version to help people avoid making that mistake.Forum: Plugins
In reply to: [Events Made Easy] Some emails send, some failThen you don’t need to activate the queue, but be aware that EME will not log mail issues then. Of course you could activate the queue and send e.g. 10 mails every 5 minutes too …
Forum: Plugins
In reply to: [Events Made Easy] Example of eme_extra_event_headers_json_filterFrom that page:
eme_extra_event_headers_json_filter (2 parameters: $current_headers, $event): allows to change the google-related json+ld headers of an event via extra code if needed ($current_headers and $event are both arrays). The difference with eme_extra_event_headers_filter is that this filter results in headers for the google-related json+ld output, but the usage is identical (so the example of eme_extra_event_headers_filter applies here too).
And the filter eme_extra_event_headers_filter (just above it) does have an example …
Forum: Plugins
In reply to: [Events Made Easy] Example of eme_extra_event_headers_json_filterI’ve added a very simple example to the doc, see https://www.e-dynamics.be/wordpress/hooks-and-filters/
Forum: Plugins
In reply to: [Events Made Easy] Some emails send, some failIf you activate the mail queuing, then EME can (and will) throttle them. To activate the queue option, see EME settings, tab “mail”. To then configure the throttling, see “Scheduled actions” (where there’s also a hint on how to configure cron for wp better).
Forum: Plugins
In reply to: [Events Made Easy] Some emails send, some failThe wp_mail function from WordPress returns only true or false, so I can’t give a specific reason there.
However WordPress provides a hook so you can debug wp_mail errors, see https://developer.wordpress.org/reference/hooks/wp_mail_failed/
If you want a specific reason per mail, you should switch to smtp or “php mail” as sending method in EME.- This reply was modified 5 years, 1 month ago by Franky.
Forum: Plugins
In reply to: [Events Made Easy] Payments from groups or individualsEME can’t know if people sign up per person that they are in a team of 4 or 5 and if those teams are then “full”. What you can do is create your own evaluation filter and check it via that filter. For the available filters/hooks: https://www.e-dynamics.be/wordpress/category/documentation/12-hooks-and-filters/ . I think eme_add_booking_form_filter (to change the form html before it is shown to the user) and eme_eval_booking_form_post_filter (to evaluate a booking on post).
You’ll have to integrate another DB for it to be of use in your case of course.
Concerning teams: you can also ask for extra team info if a person indicates it is a team by using dynamic data. Even the dynamic data can “show” a hidden field that then influences the cost too (a custom field that has a value “Extra charge”, which can be negative for discounts too).Forum: Plugins
In reply to: [Events Made Easy] Cron newsletter upcoming eventsI think I found it: while I queue the mails, I don’t create a corresponding mailing for it. So they are managed by EME, but just as one-per-one mails, so only visible in the “Search sent emails” section (which should be renamed to just “Search emails”). I’ll correct that for the next version.
Forum: Plugins
In reply to: [Events Made Easy] Cron newsletter upcoming eventsDo you have the mail queue functionality activated in EME? See EME Settings => Mail => “Queue mails for later” and then in the submenu “scheduled actions” => “Send out queued mails in batches of”
Edit: I checked the code to make sure I don’t bypass the queue in the newsletter, so if the queue is active, those mails get queued too.- This reply was modified 5 years, 1 month ago by Franky.
Forum: Plugins
In reply to: [Events Made Easy] Cron newsletter upcoming eventsIn “email management” => “mailings” you can always cancel a mailing.
Forum: Plugins
In reply to: [Events Made Easy] Cron newsletter upcoming eventsIf you activate mail queueing in EME you can limit it in the EME scheduled settings too 🙂
Forum: Plugins
In reply to: [Events Made Easy] Cron newsletter upcoming eventsFor testing email (layout wise), you can always go in the “email management” submenu and there send an event-related email (or generic) to yourself.
Forum: Plugins
In reply to: [Events Made Easy] Cron newsletter upcoming eventsI hope this helps:
https://www.e-dynamics.be/wordpress/newsletter/