Forum Replies Created
-
AuthorPosts
-
Franky
KeymasterCurrently not possible in the frontend, but I’ll see what can be done this weekend (and while I’m at it, I’ll review some of the placeholders for the filterform …)
Franky
Keymasterfunction eme_get_events is the one.
Franky
KeymasterEME obeys the CSS of your theme, so create a page the way you want it, add CSS the way you want it and press print …
Thu 6 Jul 2017 at 17:06 in reply to: get event Id at the page to get all events with his categories #56308Franky
Keymasteryes, indeed. The shortcode can be set in the “single event format” when editing an event (or globally in the EME settings). So edit an event and search for “single” …
Thu 6 Jul 2017 at 15:26 in reply to: get event Id at the page to get all events with his categories #56306Franky
KeymasterThere is no such thing as a template php. The single event format is set in the EME admin interface (either globally or per event).
Thu 6 Jul 2017 at 12:03 in reply to: get event Id at the page to get all events with his categories #56304Franky
KeymasterSee the description for that placeholder:
“Not really usefull, unless you use the shortcode [eme_events category=#_EVENTCATEGORYIDS] inside a single event format, resulting in a list of events in the same categories as the one being viewed”The key being “inside a single event format”.
Wed 5 Jul 2017 at 22:03 in reply to: get event Id at the page to get all events with his categories #56302Franky
KeymasterSee http://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-2-events/ , search for #_EVENTCATEGORYIDS
Franky
KeymasterCurrently that requires database changes, code changes and javascript changes. In a future version, I will add custom fields for a person too (it is on my todo list).
Franky
KeymasterThat works for registered users of course. But the other code using eme_get_person_by_post() works too (but maybe I wasn’t clear there: that function finds a eme person with the same lastname *and* email)
Franky
KeymasterAn array that only contains 1 id? That means it is not recurrent …
I just tested your code locally: works just fine here.Franky
KeymasterThen either $event_ids or $attendees is empty. Do a print_r on those and an exit afterwards. Check the results. ..
Franky
KeymasterTeaching php is not part of EME 🙂
But by doing the change I proposed in my last link, your code should work as is.Franky
Keymastereme_get_attendees_for expects only 1 event id, so you should loop there …
But this little extra will help you (allows eme_get_attendees_for to accept an array of event ids too):
https://plugins.trac.wordpress.org/changeset/1689243/Franky
KeymasterUsing eme_eval_booking_form_post_filter this is possible, together with this function to get all events id based on the current event id:
eme_get_recurrence_eventids($event[‘recurrence_id’]);
Franky
KeymasterI thought about that, but the variables are just too much to handle (the number, time of registration, what if the person is no longer free etc …). So that will not happen.
Franky
Keymasterjust remove the events plugin (via ftp or cpanel) directory and it willwork again. Then reinstall and retry the change without error this time.
Franky
KeymasterThe correct way would be to fix the problem 🙂
But I found the issue: the sending of mail was always attempted upon registration. Check this change to help you (only the first change in eme_rsvp.php should already be enough):
https://plugins.trac.wordpress.org/changeset/1684529/Franky
KeymasterFirst check if your mails still appear correctly in the settings (template?). Possibly just press “save” to be sure.
Then: what type of mails? html or text? Upon registration or via the “send mails” functionality? And the corresponding email template settings or text?Franky
KeymasterNormally I wuld say to contact the wordpress translator team, but since someone is already translating in German: contact Joerg Knoerchen (see the file ‘translators’ in the EME plugin dir)
Franky
KeymasterI can’t reproduce this here, even with chrome. But if you want : send me an admin account. ..
Franky
KeymasterThis change should allow “places” to be translated:
https://plugins.trac.wordpress.org/changeset/1678732/Franky
KeymasterIf you export the current wordpress translations, you can search for those strings.
#: eme_rsvp.php:535
msgid “You’re about to cancel the following bookings:”
msgstr “Du bist dabei die folgenden Buchungen zu stornieren:”Concerning the second question: currently this is can’t be changed (an oversight from the past). I’ll add an option for this.
Franky
KeymasterThe calendar can’t do that, but you can use the shortcode eme_events like this:
[eme_events paging=1 limit=0 scope=this_week]
See http://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_events/Franky
KeymasterI just verified the code, and it seems that the mail is only sent if the event requires approval. I’m not saying that is correct, but if you set the event to require approval, then it should all work.
Check also this change that should fix this:
https://plugins.trac.wordpress.org/changeset/1677766/Franky
KeymasterSorry, currently not possible.
Edit: but see if this change helps you:
https://plugins.trac.wordpress.org/changeset/1677054/Franky
KeymasterThe German translation is handled via wordpress glotpress:
https://translate.wordpress.org/projects/wp-plugins/events-made-easySo corrections need to be done there.
Franky
KeymasterNo reply, closing …
Franky
KeymasterI think/assume the latest version(s) take care of this, so this should be ok now.
Franky
KeymasterSo we know that it is not the mail settings, that is a good thing 🙂
I assume the cancel is done via the frontend. Is there anything in the webserver logfiles concerning warnings/errors? Anything in the mailserver logfiles when a cancellation is done (this might need the aid of your hosting provider)?Franky
KeymasterYou can add an attribute field to it (but it is not a textarea field, just a text field).
Fri 9 Jun 2017 at 11:41 in reply to: Implement JavaScript Code for E-Commerce-Tracking w/ Google Analytics #56243Franky
KeymasterYou can add custom javascript in the EME setting “Extra html header”.
If you want your code to only be executed on specific things (like singe event and rsvp), figure out a html-element id that is present only there (for the single event: add a hidden span-html tag to your event format for example, idem for the confirmation page) and check on the presence of that html-tag.
In jquery this looks something like this:jQuery(document).ready(function () { if (jQuery('#myElementID').length) { // do my stuff } });
Wed 7 Jun 2017 at 17:58 in reply to: Send Mails, placeholder for formfields are not evaluated. #56238Franky
KeymasterHow do you send this mail? If it is send by EME: is it the regular confirmation mail, a reminder, a mail sent via the “Send mails” page? If you send a mail via the “Send mails” page, make sure to select the mail type “Booking mails”, the type “Attendee mails” will not replace those placeholders.
Franky
KeymasterAlso, if you don’t mind: could you try out the dev-version? The location-part when editing an image is there only initialized when the location-tab is selected, maybe that helps …
Franky
KeymasterSee my post from yesterday here: https://wordpress.org/support/topic/firefox-issue-27/
I can’t reproduce for the life of me the problem …
But since you have it with chrome (albeit on windows), maybe I can try with chrome (linux) on your site?Franky
KeymasterAny javascript errors?
Franky
KeymasterAny javascript errors?
Franky
KeymasterThe “no events” shows per shortcode usage, not per day in it. So use a scope for each day, see http://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_events/ , scope setting “Nd–Md”
Franky
KeymasterWhich plugin is it? If a plugin causes javascript problems, they should get it fixed, but I can at least take a look here too …
Franky
KeymasterAnd here I thought I replaced all those with the correct new naming …
1.8.4 released to fix that. If you can’t wait: change “sort_stringlenth” to “eme_sort_stringlenth” in eme_locations.phpFranky
KeymasterThe javascript errors in your console are your problem. Figure out where those are coming from:
– disable all other plugins, retry, then enable one by one until you find the guilty one
– try with a default theme
Be aware: many people have very old (not maintained) plugins or themes installed and in use, you should never use those …Franky
KeymasterSounds to me you hava javascript issues. Check your browser console for hints … and also your webserver logfiles for php errors.
Franky
KeymasterThese javascript errors are not caused by EME.
You’re blocking access to admin-ajax.php (403 code), you shouldn’t do that. Check why this is happening and fix that first.Franky
Keymaster25 events are nothing … I think you should indeed contact your hosting provider here.
Franky
KeymasterAlso, check this:
https://www.lifewire.com/504-gateway-timeout-error-explained-2622941Franky
KeymasterIn EME I’m trying my best to be as low-resource usage as possible, while still being able to handle thousands of events. Do you have a huge homepage with events on it? Or is the homepage not even EME related? How many events do you have etc … ?
Franky
KeymasterYou need to check your webserver logfiles for your “internal server error” problem.
For paypal to work and indicate a payment as paid, paypal needs to be able to call back to the server, so for that you need to check your webserver logfiles for lines containing “eme_eventAction=paypal_notification”.
If that arrives you can still activate paypal debugging in eme, see the function eme_paypal_notification in eme_payments.php (see the lines containing log_to_file and/or log_to_email in that function, pretty self-explanatory)Franky
KeymasterYou seem to have smtp debugging activated *and* it seems you can’t send mails via your google account. Fix that google-prob first, then deactivate smtp debug and try again.
Franky
KeymasterHi,
then sorry, but not possible. While I do allow everything to be styled as much as possible, I can’t foresee settings for everything to allow to apply existing styles.
But, using jquery, you could add an existing style to the submit button, an example:$("#blabla").addClass("myclass");
Franky
KeymasterThe button has a name eme_submit_button, that should be used to style it. You can put custom styles in the EME settings (header-setting in tab “other”), or in a custom CSS file in your child theme, see http://www.e-dynamics.be/wordpress/category/documentation/9-changing-the-layout-css/
Franky
KeymasterThis is corrected in trunk now:
https://plugins.trac.wordpress.org/changeset/1649257/Franky
KeymasterCould you elaborate a bit more on this first? I’m not sure I understand you here …
Franky
KeymasterWhen you edit a booking in the backend, you’ll see your custom fields.
Franky
KeymasterDiscounts and custom fields with own charge info are implemented, so closing this.
Franky
KeymasterThis should fix it:
http://plugins.trac.wordpress.org/changeset/1644146Franky
KeymasterYou already had #_WAITING_LIST_ACTIVATED (to be used as a conditional), but I added #_AVAILABLEWAITINGLISTSEATS and #_WAITING_LIST_CLOSED in trunk too now.
Franky
Keymaster#_LOCATIONIMAGETHUMB{MyCustomSize} and #_LOCATIONIMAGETHUMBURL{MyCustomSize} use exactly the same code logic, so if one works, the other works.
#_LOCATIONIMAGEURL{customsize} is not supported.Franky
Keymaster1 and 2 are already implemented. I don’t really understand number 3, so closing for now.
Franky
KeymasterThese fields are there now.
Wed 19 Apr 2017 at 00:13 in reply to: Cant get locations_map to obey filters specified by events_filterform #56137Franky
KeymasterThis should be ok now too.
Wed 19 Apr 2017 at 00:13 in reply to: Locations data separate Address, State/Province, Postal Code #56136Franky
KeymasterSeparation is done
Franky
KeymasterCan be done already (leave subject empty for some mail types and it won’t get send).
Franky
KeymasterAlready possible, closing.
Franky
KeymasterThis is already implemented in the latest release.
Franky
KeymasterDiscounts are already possible, so closing this now.
Franky
KeymasterThe next version will have this, so closing this.
Franky
KeymasterI implemented the waiting list feature. Although it will be up to you to move a pending registration off the waiting list (or just approve it). Feel free to contact me to test this if you want.
Franky
KeymasterHow about “this_year–today”?
Franky
KeymasterIf godaddy is blocking your valid mails, you should really complain to them …
Anyway, if your regular wordpress can still send out mails, then configure EME to use ‘wp_mail’ or ‘php mail’ and not ‘smtp’ as mail sending method (EME settings, tab ‘Mail’).Franky
KeymasterFor stripe (being the exception on the other ones), it is a bit more difficult. But if you set the option “Show custom payment return page” (and set the custom format then too of course), you should be good to go.
Franky
KeymasterThis should fix it:
$person = eme_get_person($bookings[0]['person_id']); $event=eme_get_event($bookings[0]['event_id']);
If anything else is needed, then please do let me know (it seems you’re the first one to use stripe 🙂 )
Franky
KeymasterYes, of course it will be in the next version.
Btw: I want to wait for the next version until I implemented a new feature (the waiting list feature)Franky
KeymasterPlease check with your web provider for your mailserver logfiles. I don’t see anything wrong in your settings …
Franky
KeymasterSee the eme_events shortcode options:
http://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_events/Check out the scope option.
And use the limit-option to show only 1 event, or use the eme_event shortcode if you want to show a specific event: http://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_event/Franky
KeymasterFor an event, no location info is required. However, if you give a location, it needs a name/address/city.
The location description can be get by using #_LOCATIONDETAILSFranky
KeymasterFixed in trunk
Franky
KeymasterThen check your mailserver logs … if mails are sent when rsvp is done, then they should always be sent.
EDIT: mails are of course NOT send if the subject OR content of the mail is empty, so you might want to check your settings for those.Franky
KeymasterSee the option ‘Use external url for single events or locations’ in the EME settings, tab ‘Other’.
If this is not active, then #_EVENTPAGEURL returns the regular event url if no external url is given, and it returns the external url if one is given.
If this is active, #_EVENTPAGEURL always returns the regular url.
To always return the external url, use #_EVENTFIELD{event_url}, but I recommend to use an attribute if you don’t intend to use it as the real event url.Franky
KeymasterWhat is not working in your mails? Indeed you need to use the RSVP placeholders, see
http://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-4-rsvp-mails/Franky
KeymasterYour layout seems nice!
Based on this:
https://html-cleaner.com/features/replace-html-table-tags-with-divs/I think I can come up with a responsive monthly calendar too …
Shouldn’t be too hard to create a new shortcode for that.Franky
KeymasterYes, it will be.
Franky
KeymasterI don’t know if I’m still on time for you to try the fix 🙂
But this should fix it:
https://plugins.trac.wordpress.org/changeset/1627032/Franky
KeymasterI hope qtranslate-x stays …
Anyway, I updated the plugin to accomodate newer EME releases, all should be well again 🙂Franky
KeymasterI’m using another plugin now for recaptcha on the registration form. Apparently quite some spam gets through just fine …
Is the EME captcha not sufficient anymore?Franky
KeymasterHi,
the waiting list is already a request.
Concerning future events: if not sure when/where they will happen (and thus not in EME), that is not a feature I’ll be implementing shortly …Franky
KeymasterSee the option “No events message” …
Franky
KeymasterHoly …. I just found the problem … in my tests it was ok, but in the final statement some backquotes slipped in 🙁
This is the correct update statement:
UPDATE wp_eme_answers SET field_id = (select field_id from wp_eme_formfields where field_name = wp_eme_answers.field_name LIMIT 1);Franky
KeymasterThat means that something has gone wrong for your update.
You should restore the old version of the eme_answers table and execute this manually:ALTER TABLE wp_eme_answers add field_id INT(11) DEFAULT 0;
UPDATE wp_eme_answers SET field_id = (select field_id from wp_eme_formfields where field_name = ‘wp_eme_answers.field_name’ LIMIT 1);And see what is the result …
Thu 23 Mar 2017 at 15:48 in reply to: submitting and editing all-day events and events with start or end only #56064Franky
KeymasterIf no time is given, it is “00:00”
Franky
KeymasterIf you still have this firstDayOfWeek error, something is still being cached (or minified or so).
Please disable all wordpress caching and minifying plugins and try againFranky
KeymasterCan it be you’re caching javascripts or so?
Since your error points to firstDayOfWeek, but that variable has become a translated (replaced) string in 1.7.14 (wordpress replaces it, search for translate_firstDayOfWeek in eme_events.php)
So I’m guessing some javascript caching is used or so …Franky
KeymasterWhich EME version are you using? That doesn’t seem to be the latest version …
Franky
KeymasterYou can enter it for recurring events too, I don’t see a difference. Why do you ask?
Franky
KeymasterThat means you have javascript issues. Check your browser console for hints …
Franky
KeymasterWell, in fact that is the most elegant solution. Maybe a little more efficient: in the repeating events, put the link to the single event in the “external url” setting. That way, when people click on it, they directly go the single event.
Franky
KeymasterSorry, but this is not enough info at all … here everything works just fine, and you never should be using the special events page directly, but only use shortcodes in regular pages.
Franky
KeymasterPort 587? Then it is encrypted, so for hostname use either
tls://mail.twc.com
or
ssl://mail.twc.comI’m going to create a separate option for ssl/tls to make that easier …
Franky
KeymasterActivate SMTP debugging and try again. If it says there’s a problem when sending mails, it means the settings are not correct. And of course there’s a difference in sending mail from your windows pc than from a server (or is your webserver running on windows too?).
Franky
KeymasterSorry, currently I don’t see a real solution, except by using just single-day events and use a discount formula if they book for all days.
Franky
KeymasterIndeed … I didn’t change things enough last time around, so this fix should now solve all problems (tested):
https://plugins.trac.wordpress.org/changeset/1607799/Franky
KeymasterThis is expected behavior: excell/openoffice/libreoffice/… will recognize the double-quoted columns correctly.
If you want to analyze results manually yourself, take this into account.
See also: http://stackoverflow.com/questions/24018597/adding-a-newline-character-within-a-cell-csvFranky
KeymasterSmall change again: originally the text was to the right of the option/checkbox, so I did it like that again now too (to not impact people that already have these fields in their forms).
Sun 26 Feb 2017 at 14:46 in reply to: Webfrontend change/outstanding bookings:An error occurred when connect to server #56003Franky
KeymasterIndeed, stricter typechecking is used in php 7.1, and it is correct (I even consider it a bug).
this should fix it:
https://plugins.trac.wordpress.org/changeset/1603873/Thu 23 Feb 2017 at 23:32 in reply to: Webfrontend change/outstanding bookings:An error occurred when connect to server #55999Franky
KeymasterAnything in the error logfiles on the webserver? Maybe related to the php version?
Franky
KeymasterWell, it is a bug 🙂
Can you try this (or download the latest eme_rsvp.php from there):
https://plugins.trac.wordpress.org/changeset/1600848/Franky
KeymasterYou’re correct. I thought about it, but then it must’ve slipped my mind again. This fix (based on the previous one) should be better:
https://plugins.trac.wordpress.org/changeset/1600808/Franky
KeymasterOh I see … indeed not very nice what was done there 🙂
See this change:
https://plugins.trac.wordpress.org/changeset/1600627/Franky
KeymasterI don’t pretend to completely understand your example 🙂
But seeing that behavior, it led me to believe some replacement value retained the previous one found. So, could you try this change:
https://plugins.trac.wordpress.org/changeset/1600114/Franky
KeymasterThe code to replace values is identical in both cases, so I can’t say anything concerning this until you show the complete template in both cases (I’m guessing, since you use eme_if4 in the first case, some other if-statement takes precedence).
Sun 19 Feb 2017 at 21:19 in reply to: Custom attributes, sequence in the dropdown field at the backend #55985Franky
KeymasterSorry, but I don’t quite understand the question here …
Franky
KeymasterWhat do you mean? That is already possible …
Franky
KeymasterSee the faq on how to integrate EME events into wordpress search results:
http://www.e-dynamics.be/wordpress/faq/Franky
KeymasterIn the next version you can now also customize the location field for an event in the ical feed.
The rest is common good, and adding it for 1 person is over the top …Franky
KeymasterThis got lost in time, but is implemented now for the next version.
Franky
KeymasterThe next version will have this. From the changelog:
* The location placeholders #_PASTEVENTS, #_NEXTEVENTS, #_ALLEVENTS now have an optional parameter so you can decide the sorting order
of the events shown. Default is ASC, so e.g.:
#_PASTEVENTS{ASC}
#_NEXTEVENTS{DESC}
More complex ordering can be used too, see the eme_events shortcode for tipsFranky
KeymasterWhen using multiseats, your logic is correct.
Edit: I removed the other parts of my comment. I just managed to reproduce your case and it is indeed a bug. Let me get that fixed …
Edit 2: in fact not a bug, but I just never thought about that case (the total number not being multi, but the price is)
So, this version of eme_rsvp.php should fix it (contains more than 1 commit):
https://plugins.trac.wordpress.org/browser/events-made-easy/trunk/eme_rsvp.php?format=txtThe latest changes in that file can be reviewed here:
https://plugins.trac.wordpress.org/log/events-made-easy/trunk/eme_rsvp.phpFranky
KeymasterWell, I don’t see the problem here. You have multiple seat categories with corresponding price categories. For each type you specify the max seats available, and the min/max someone can book in one go. But did you try with just setting the max seats available to 250? You can still keep the price categories …
Franky
KeymasterDrop the “,” everywhere in there, that is not as documented. So:
[eme_events limit=5 notcategory=3 order=ASC template_id_header=4 template_id_footer=5 template_id=1]Franky
KeymasterSo it shows 0 as an option? That means you’ve set the minimum amounts of seats to book at 0 too … set that to 1 and it should be ok.
Franky
KeymasterIf you have price categories, you need to specify the amount of seats per category …
Franky
KeymasterDone for the next version:
https://plugins.trac.wordpress.org/changeset/1576049/Franky
KeymasterEven in a calendar it would be difficult since you ask for extra info per day …
Franky
KeymasterYou’re correct. Currently you need to use the DB to get that info.
The next version will allow you to export all people info to a CSV, or print it (like the events table).
Edit, if you want: check out the dev version for this:
https://downloads.wordpress.org/plugin/events-made-easy.zipFranky
KeymasterDid you try the dev-version as I asked? I’m deferring most of the js too.
As said: I’m not aiming at more points as wordpress itself has. 90/100 seems just fine.
And I fixed a google maps issue (the google doc said to load it async too, but that fails on chrome), so redownload the dev-version. On my pc with firefox/midori/chrome: all work. Smartphone ok too.Franky
KeymasterDeferring all javascript will cause problems all over the place. Even wordpress.org doesn’t do that, so I won’t either. Currently, on my site I have 90/100 for deferring js on pagespeed, as has wordpress.
Franky
KeymasterIndeed, because it needed further tuning.
The defer plugin is no longer needed, I implemented this myself.
Concerning all the changes: try the dev-version, to be downloaded from here:
https://downloads.wordpress.org/plugin/events-made-easy.zipFranky
KeymasterFor text and textarea you can use the “field tags” part to set a default value (not documented, I really should do that …)
Franky
KeymasterHmmm … don’t think so, but changing the events to “attendance”-type will help you a bit I guess …
Franky
KeymasterBtw, in eme_events.php, maybe this line needs (occurs 2 times) to change from
echo "<script type='text/javascript' src='//maps.google.com/maps/api/js?".$gmap_api_key."' ></script>\n";
to
echo "<script type='text/javascript' src='//maps.google.com/maps/api/js?".$gmap_api_key."' async='async' defer='defer'></script>\n";
Franky
KeymasterDid you try my 2 suggestions:
– “Also, the JS for EME can be loaded in the header or footer, footer should be preferred for speed. If you select header, it will indeed always get loaded …”
– “Concerning the render-blocking: in the past I removed the jQuery(document).ready around google.maps.event.addDomListener(window, ‘load’, loadGMap) in js/eme_location_map.js, maybe re-adding that would help.”So, change EME setting to load the JS in the footer already, not the header. and change the lines at the top of js/eme_location_map.js
Franky
KeymasterEME only loads gmail js if needed, see e.g. the code in the function eme_general_footer (in short: only when EME location maps are to be shown on a page).
Also, the JS for EME can be loaded in the header or footer, footer should be preferred for speed. If you select header, it will indeed always get loaded …
Concerning minifying: I personally don’t believe in it, since it combines several JS files into 1 and just changes variables and removes newlines (more or less). I only load the specific JS files where and when needed, and based on the small kb-sizes, it should be ok. But minifying could be done by other caching plugins …
Concerning the render-blocking: in the past I removed the jQuery(document).ready around google.maps.event.addDomListener(window, ‘load’, loadGMap) in js/eme_location_map.js, maybe re-adding that would help.Thu 5 Jan 2017 at 01:36 in reply to: eme_locations_map overwriting numbers for show_locations=true #55917Franky
KeymasterNot sure here, but maybe due to the large amount of markers and the google ‘fitbounds’.
Could you try this version of js/eme_location_map.js :
https://plugins.trac.wordpress.org/browser/events-made-easy/trunk/js/eme_location_map.js?rev=1568220&format=txtFranky
KeymasterJust make sure the EME setting called “Events page” points to that page, should be it.
Tue 3 Jan 2017 at 23:03 in reply to: eme_locations_map overwriting numbers for show_locations=true #55910Franky
KeymasterI style inline there because the map markers have letters too. Maybe that could become an option, but for now …
Mon 2 Jan 2017 at 21:57 in reply to: eme_locations_map overwriting numbers for show_locations=true #55906Franky
KeymasterSee your style.css file, this is the culprit part:
.vw-post-content ol li:before { content: counter(vw-li-counter) "."; counter-increment: vw-li-counter; position: absolute; left: -22px; font-weight: bold; color: #222222; }
Use some CSS debugger can help you find these things (e.g. firebug)
Concerning the columns question: I’m no css specialist, so sorry there …Franky
KeymasterAlso, this is the function call that is happening:
$description = eme_sanitize_rss(eme_replace_placeholders ( $description_format, $event, "rss" ));
So maybe the attribute contains something that can’t be shown in rss?
Franky
KeymasterTried it here again, all seems to work as expected.
Franky
KeymasterCode seems ok … I’ll do some testing too
Franky
KeymasterBtw, event can be linked to locations, so you can just use #_LOCATIONID in place of #_ATT{Ausstieg_Ort_ID} (but maybe it is not what you want)
Franky
KeymasterIs Gewaesser an event attribute?
Franky
KeymasterHmmm … based on http://archive.tinymce.com/forum/viewtopic.php?id=26030
and https://codex.wordpress.org/TinyMCE
I think we need to play with the filter tiny_mce_before_init for it to work ok …
Or, something like:wp_editor( $distribution, 'distribution', array( 'tinymce' => array( 'cleanup_on_startup' => false, 'trim_span_elements' => false, 'verify_html' => false, 'cleanup' => false, 'convert_urls' => false, ), ) );
Edit, and since we already use some settings, can you try changing the lines:
$eme_editor_settings = array( 'media_buttons' => false, 'textarea_rows' => 5 );
to:
$eme_editor_settings = array( 'media_buttons' => false, 'textarea_rows' => 5, 'tinymce' => array('cleanup_on_startup' => false, 'trim_span_elements' => false,'verify_html' => false,'cleanup' => false,'convert_urls' => false));
These lines appear once in eme_UI_helpers.php and 2 times in eme_templates.php
Franky
KeymasterUnfortunately that is the way the wordpress editor just works …
If you type this in the text field (and not the html field), is it not ok there?Franky
KeymasterBtw, you can enter the jquery-stuff in the EME settings (tab ‘Other’, setting headers), so you don’t need to change your template for that directly (and you’re safe when doing upgrades)
Franky
KeymasterFranky
KeymasterIt is not possible to change the default in the backend, but a little jquery will help you along.
Franky
KeymasterWell … you mixed #_LOCATIONIMAGETHUMB{MyCustomSize} and #_LOCATIONIMAGETHUMBURL{MyCustomSize} in your original request 🙂
See if this helps:
https://plugins.trac.wordpress.org/changeset/1556816/events-made-easy/trunkAlthough, based on your previous report, I think I need to get rid of the eme_general filter there too (and probably for #_LOCATIONIMAGETHUMB, #_EVENTIMAGETHUMB and #_EVENTIMAGETHUMB{MyCustomSize} too …)
Franky
KeymasterErrr. .. what exactly do you mean by ‘attendee list set to yes’?
Franky
KeymasterFound the problem: I activated the html-editor in the options, so that causes it to be saved with html-converted chars.
I’ve split out the mail templates in a separate section, so we can easily take the option to send html mails into account and disable the html editor if not needed. This version of the eme_options file should fix it (and check your mail templates in the new section afterwards):
https://plugins.trac.wordpress.org/browser/events-made-easy/trunk/eme_options.php?rev=1553969&format=txtFranky
KeymasterWell, currently I can’t explain it either (the code seems correct), I’ll test this evening
Franky
KeymasterBtw, there’s an easier method: just use [eme_events] with a limit of 1 per page and pagination, and use a template that shows the event “listing” the way you want it for 1 event.
Franky
Keymasterwell, wp_eme_events is the default table name.
I advise you to use the function eme_get_events though:function eme_get_events($o_limit=0, $scope = “future”, $order = “ASC”, $o_offset = 0, $location_id = “”, $category = “”, $author = “”, $contact_person = “”, $show_ongoing=1, $notcategory = “”, $show_recurrent_events_once=0, $extra_conditions = “”, $count=0) {
The var $extra_conditions can contain your sub-query (date > $dateOfCurrentEvent)
-
AuthorPosts