Forum Replies Created
-
AuthorPosts
-
Sun 15 Jun 2014 at 18:21 in reply to: Calendar month and year "December 0000" with no events displayed #52383
Franky
KeymasterNo response (and it seems to be ok for me), so closing with the AJAX answer as correct solution.
Franky
KeymasterFirst of all, this change should help you: http://plugins.trac.wordpress.org/changeset/932646
Second of all, I’ll explain my point of view on a calendar: check outlook or google cal, it shows past events too (but the new option can change this now)
Third: you can use a conditional tag to hide the whole registration part if the RSVP period has ended, check #_IS_RSVP_ENDED in the doc: http://www.e-dynamics.be/wordpress/?cat=24
And last: your registration form seems to be using the captcha, but the image is not showing. Could it be that php-gd is not installed?Franky
KeymasterThe reason is because it is a calendar, not just a list of future events. Using the filter eme_event_list_filter you can filter out the old events if you don’t want to show them on the page where you use the calendar.
Franky
KeymasterI just downloaded the lite espresso and created a simple event in it, and registration works just fine while EME is activated. I can’t test the paying version though …
espresso needs to update it’s code though, because it generates lots of wpdb->prepare warnings and some uninitialized variables, but that’s something else.Franky
KeymasterOk, found it: for the detection of required fields, I didn’t take into account the fact that you can now use templates for it too.
So, since I ignored the template, I used the default format for the event when searching for the required fields, which of course doesn’t include those fields.Fixed it in trunk with this:
http://plugins.trac.wordpress.org/changeset/932112Franky
KeymasterI just tried to register on your site, and it seems that none of the required fields (apart name/email) work as expected. I’ll check this out this evening.
Franky
KeymasterWhat is the “ToC” field? Is it the “Agree to Guidelines” field?
Franky
Keymasterno feedback, closing.
Franky
KeymasterEME follows the CSS of your standard theme there, layout is done by the theme. I just provide the extra css for convenience reasons, but you could just as well put this in your theme css file.
Wed 11 Jun 2014 at 11:13 in reply to: Calendar month and year "December 0000" with no events displayed #52358Franky
KeymasterI think it might be related to the option to check the client clock. This happens via an ajax call, but it might have a problem (maybe in relation to your modifs).
I also urge you to update to enjoy all new features 🙂Franky
KeymasterAny error messages in your browser console? Or in the webserver logfiles? A testsite with a demo of the problem?
Sat 7 Jun 2014 at 01:36 in reply to: How do I get my Calendar to start on Sunday instead of Monday #52345Franky
KeymasterThanks 🙂
Franky
Keymaster#_BOOKINGS is a placeholder, not a shortcode. So it can be used inside format settings, but not on it’s own.
See the doc concerning placeholders for more info.I also added placeholders #_EVENTPRINTBOOKINGSLINK and #_EVENTPRINTBOOKINGSURL in the next version, showing either a link or just the URL to the printable bookings list, if you have the correct permissions.
With these (either #_BOOKINGS and your own formatting, or the links) you can let the guides click on an event and either see the bookings made (by using #_BOOKINGS in the single event format setting and changing the layout of that list to your liking in the EME settings) or click on a link and see the printable list (which can be totally adjusted to your layout using CSS).
Fri 6 Jun 2014 at 00:19 in reply to: How do I get my Calendar to start on Sunday instead of Monday #52336Franky
KeymasterSee the wordpress general settings. You can change it there.
Franky
KeymasterAnd is the table in fact gone? If it was working fine after the update, something else is wrong with your database.
Franky
KeymasterJust tested this and it works just fine: it prevents double registrations for all events. If it doesn’t work for you, post the code you use.
Franky
KeymasterYou can change the rsvp form per event when creating or editing the event. You can even create a template and use that. See the doc for all event placeholders you can use.
Franky
KeymasterWhy not just use the link to the “printable view” in the event?
This is the link:
wordpress/wp-admin/admin.php?page=eme-people&eme_admin_action=booking_printable&event_id=#_EVENTIDOnly the persons with the correct rights can see this list, but I can create an extra conditional tag for that so that regular visitors don’t even see that link.
That would work no? And that link is also accessible from the event overview btw …And also: #_BOOKINGS exists, for which the layout can already be changed via placeholders in the EME settings (as for #_ATTENDEES).
Franky
KeymasterI’m guessing you left the “tags” empty. This is a bug in the code, and should be fixed with this change:
Franky
KeymasterFor reference: in this case, the setting “Small calendar title” contained the placeholder #_EVENTDETAILS, messing up all html.
In the next version, I’ll disable all html in the title-tag for the calendar days.Franky
KeymasterThe icon should not be changed by the new format, so it is not related to that.
I also see that it happens for some events, not all. So you should look for the difference there. E.g. compare the event of June 8th with June 10th, some settings are bound to be different. And of course it might be a bug …
You can also mail me a temp admin account, so I can take a look too. My email: liedekef [at] telenet.beFranky
KeymasterDid you test this? The example code posted still takes the event id into account, so it should work just fine.
Franky
KeymasterIf you want it for all events, just leave the check for the event id out of it. So remove the line
if ($event_id != 5) return;
Franky
KeymasterAnd also: check the “quotes” for the add_action line in your functions.php. I saw that they were not the correct quotes, so … corrected the example again.
Edit: tested this example code and it works as intended. Also added it to the doc as an example usage for the filters.Franky
KeymasterDid you use the correct event ID?
Reason why I don’t implement it in EME directly is that, since you don’t require WP membership, it’s easy to just change a letter in tthe name and register again …Franky
KeymasterThe eval filter stays.
If nothing is displayed, it usually indicates a php error somewhere (might be a bug of me of course). Check the apache log files for errors, I’ll test this later on too.
Edit: I fixed the example, should work now.Franky
KeymasterFor now this is not possible (as it seemed less important). Please open a new feature request if wanted.
Franky
KeymasterFor now templates can be used for anything, that’s correct. And I’d like it to stay that way, differentiating there or afterwards doesn’t make that much difference.
Persons creating events should always pay attention, a template choice won’t change that. I suggest that you give the template a meaningful description, so it’s easier to distinguish. In the end, you can still put an event “private” or “draft” and check it out before making it “public”.
I’ll take a look at the sorting though.
For the dropdown custom attribute: please create a new feature request.
For the template extra field: please create a new feature request (but it’s not for now).Franky
KeymasterEt voila: code is in trunk for this too now.
Franky
KeymasterThanks for the bug in trunk: fixed in trunk 🙂
Concerning the filter: it is already in the regular doc.
But to make you even more happy: I’ll try to add code this weekend so when creating an event, you can choose the template for all format settings too.
Now that I have the code developed for the mail thingie, I can reuse the same logic. And it makes templates more known then (since nobody reported the delete bug before) 🙂Franky
KeymasterCorrect, fixed in trunk.
Franky
KeymasterImplemented the template select in trunk.
Franky
KeymasterThe most correct method here would be that upon creation of the event, you use the filter eme_event_preinsert_filter (will be in the next version) to change the settings to your liking: you get the category ID and then copy the relevant template settings to that event. That way, you can change the layout of the single event based on the category and do the same for the rsvp mails.
Concerning the mails you send afterwards, there I will implement a dropdown selection of templates to choose from for subject and body.Franky
KeymasterUsing this in the payment form header should work (just tested this):
<script type="text/javascript"> jQuery(document).ready( function($) { $( "#paypal_form" ).submit(); }); </script>
Franky
KeymasterCorrect. Fixed here:
Franky
KeymasterYou need to call the function eme_replace_placeholders on the template format, otherwise nothing gets replaced.
See eme_events.php for the usage and parameters.Franky
KeymasterCan you be a bit more specific? Examples would help …
Franky
KeymasterI never learned the github url, but if you want, you can already mail me the differences and explanation. I will give you all the credit if it is accepted of course.
Edit: I do have some other stuff on github. But I think it is a bit silly to have both wordpress svn and github …Franky
KeymasterThe templates are only honoured when displaying an event, not when creating it. This is a very difficult feature request, based on current implementation ideas …
Franky
KeymasterIf the theme developers agree to that, you can mail it to me at liedekef@telenet.be
Franky
KeymasterIt is for sure a theme thing. I’m more leaning towards the breadcrumb thingie between the 2 div’s.
I’m sorry, but I see that this is a paying theme so you should ask the theme builder for support. Most of the time this behavior means that the wordpress function the_content() is being used outside a loop. Or in your case: twice (can’t tell without the theme source and I can’t pay for it).I have one specific EME setting that you can try (no guarantee): “Theme loop protection”. It has 3 options (simple, older and desperate). The default is “simple” so try if one the other 2 options helps you.
If not: indeed it might be that the theme itself has options that changes this behavior (preview settings or so). Again: your theme support can help you there. And if the theme creators are willing to temporary “lend” me the theme, I can also take a look at it.Franky
KeymasterDone in trunk
Franky
Keymasterno response, so closing.
Franky
KeymasterIt’s the same as #_ADDBOOKINGFORM: you can only use it inside a single event format setting.
For the rest, I updated the doc: http://www.e-dynamics.be/wordpress/?cat=5950 (the link will be adapted in the EME settings page next release).Of course, if it doesn’t work, that’s a bug …
Franky
KeymasterNow I see what you mean. I thought you meant formatting based on the choosen currency (in fact, what it should be).
For now this should help you (after applying the other changeset concerning prices in your other thread):Franky
KeymasterOk, I see what you mean now. This change should help you:
http://plugins.trac.wordpress.org/changeset/919560 (just the change in eme_rsvp is relevant for this part)
Franky
KeymasterIf that’s the fenomena, it most probably indicates a problem with your DB (disk full). I encountered similar effects in the past myself.
Franky
KeymasterHmmm … I just checked and it is indeed already possible. Just check the option ‘Show custom payment return page’ and then using the options ‘Payment succes return page format’ and ‘Payment failure return page format’ you can create your own layout for success or failure.
Franky
Keymasterok, the payment header and footer format will also be checked for custom attributes in the next version.
Franky
KeymasterConcerning the price per seat, did you try the #_TOTALPRICE and #_TOTALPRICE{1} (etc) placeholders? These already exist and should take any discounts into account.
They are also documented btw: http://www.e-dynamics.be/wordpress/?cat=27 , but the doc didn’t say that the eme_insert_rsvp_action was taken into account, has been updated.Franky
KeymasterNo prob, the next version will test this better so the captcha won’t be activated unless the php-gd module is present.
Franky
KeymasterFor reference: DLR moved the site from test to prod, but the export/import didn’t take into account the auto-increment, causing the (empty) bookings table to start from 0 again. But because of the small bug (when deleting people but the answers stay, solved in trunk btw), there were answers left in the answers table referencing old booking id’s. So when people start entering values, they were caught by the old answers still in the answers table for their booking id.
Franky
Keymaster500 Internal Server Error indicates a php issue. Either a coding problem, memory, missing modules or something else. Did you check your webserver logfiles for info?
It is possible that you have captcha activated but your php doesn’t have the needed modules for it. So try disabling the use of the captcha.
Also, please do send me credentials so I can test (but still check for errors in the webserver logfiles).Franky
KeymasterOk, in order to further sort this out, I think I need either an admin account to your WP install + web access to your DB (via your hosting cpanel or phpmyadmin or …). Or you can dump the relevant tables from wordpress (wp_eme_* tables) and mail those to me.
My email: liedekef [at] telenet.beFranky
KeymasterOk, via Events – People, the answers were not deleted, only the bookings (fixed this evening). But still, they would not show up in the CSV or printable booking, since they reference booking ID’s that no longer exist.
Is it possible that you reset the auto-increment counter for the bookings table? Or you exported/imported your db?Franky
KeymasterI’m not able to reproduce this: when deleting registrations, all relevant answers are deleted too.
How did you delete the registrations and bogus users?Franky
KeymasterOn what do you base “the total is being formatted based on the default currency”? I can show the currency, but I’m not formatting anything in any way.
Franky
KeymasterThe problem the person had in this thread was that the template he was using was not following WP standards at all. Does yours?
Also, what are those 500 errors you’re talking about?Franky
KeymasterThat might be a bug. I need to specify which formats are checked for custom attributes, but sometimes I forget to add the new settings I created. I’ll check this evening.
Franky
KeymasterYes, you’re correct about #_FIELD{1}. I believe the custom attributes is what you’re looking for in that case:
Franky
KeymasterWell … in fact it isn’t easy 🙂
For now, I always thought it would be handy to have the form appear again, but I can imagine some people hating that. Although the success text can be totally customized too, so you can explain there that it is no longer needed.
But I’ll make it a configurable option whether or not to show the form upon success again. Moving to feature requests.Franky
KeymasterThanks for sharing !
Franky
KeymasterImplementing discounts directly is on my (very big) to-do list …
But can’t you just say
<p>Thanks for registering! You have reserved #_RESPSPACES at $#_PRICE per space (with a discount of $#_FIELD{1} per space). <strong>Total due: $#_TOTALPRICE</strong>
I’ll take a look too as how easy it would be to implement the “#_PRICEPERSEAT” placeholder
Franky
KeymasterIt doesn’t truncate them, it is the result of a calculation.
In fact there is no real formatting here. Putting in formatting options might be dangerous as the “.” needs to stay the delimiter for decimal (in Belgium it is “,” btw).
So I don’t consider this a bug, but more a feature request where the display of amounts can be adjusted.Franky
KeymasterAll scopes can be found here: http://www.e-dynamics.be/wordpress/?cat=18
Franky
KeymasterWhat you want is to check if the user already registered *after* he tries to register again, but before the info is entered in the db.
The eme_eval_booking_form_filter is what you want, but I just realized it needs to be changed: for now the person doing the booking is first recorded in the db and only afterwards the evaluation is done. When the eval fails, a person is in the DB for no reason. To keep the old behavior, I added a new filter called eme_eval_booking_filter.
Example usage (put this in your theme functions.php when the next release is there):add_action('eme_eval_booking_filter','do_my_stuff'); function do_my_stuff($event) { $event_id=$event['event_id']; $already_registered=0; // only do a specific event if ($event_id != 5) return; // get all attendees $attendees = eme_get_attendees_for($event_id); foreach ( $attendees as $attendee ) { // $attendee['person_email'], $attendee['person_name'] $bookerEmail = eme_sanitize_html(stripslashes_deep($_POST['bookerEmail'])); $bookerName = eme_sanitize_html(stripslashes_deep($_POST['bookerName'])); if ($bookerEmail == $attendee['person_email'] && $bookerName == $attendee['person_name']) $already_registered=1; } if (!$already_registered) { // eval is success return array(0=>1,1=>''); } else { // bad form entry return array(0=>0,1=>'Already registered'); } }
Franky
KeymasterThe scope called “tomorrow–future” is what you want.
Franky
KeymasterThanks Feegle, totally correct.
Also: check out the option “Require WP membership” when creating an event.
And there are the conditional tags you can use, see #_IS_REGISTERED here: http://www.e-dynamics.be/wordpress/?cat=24Franky
KeymasterSo did you find the problem? I’m interested …
Franky
Keymaster#_FIELD{xx} is the new and correct notation. Typo fixed in the doc.
Franky
KeymasterYou need to configure the EME settings concerning “Mail”:
– “Enable the RSVP e-mail notifications” needs to be on
– you need to configure (on the same page/tab) a method for sending mail and fill in correct info for the choosen method.If not, rsvp mails will not work.
Franky
KeymasterIn the next version that message is a little more polite.
But for the rest, I refer to this page: http://wordpress.org/support/topic/strange-message-after-somebody-pushed-submitFranky
KeymasterWell, the SMTP lib I use is the one from wordpress, and they changed some defaults in the newer version of wordpress.
But a connection refused would mean either a incorrect servername or port (remember: the standard smtp port is 25, not 110 as some people claim).
I’m using the SMTP method and sending authenticated mail via google without any issues at all.Franky
Keymasterdiv-id for the map was already there, and also an id for the ordened list. But I added a extra div+id there too:
Franky
KeymasterMoving to feature requests, I forgot about this. Hopefully adding it this evening, since a small bugfix release is coming again.
Franky
KeymasterPlease open a new topic, your problem is totally unrelated with the one fixed here.
Edit: and not even an EME bug. Please read: http://wordpress.org/support/topic/wp-39-warning-strpos-expects-parameter-1-to-be-string , seems to be a theme bug after updating to 3.9 .
Franky
KeymasterIt is in fact a bug when you activated the captcha and try to register via the backend then.
For now: either deactivate the captcha or wait for the next version (it is fixed in trunk).Franky
KeymasterSorry, I was sleeping. I’m only human you know.
The html-title “just works”, I didn’t change anything there.Franky
KeymasterI tested that hueman theme here and already have the correct html title-tag …
Franky
KeymasterIt’s actively developed theme, so forward this to them, the fix should be straightforward then.
Franky
KeymasterI checked the theme: they call the wordpress function “the_title()” outside the loop:
hueman calls in page.php the template inc/page-title outside the loop, which calls the_title(), so that can only be the original page title then. This is wrong.Compare it with twentyeleven/single.php, which calls the template content-single.php in the loop, which in turn calls the_title() and that works just fine.
Franky
KeymasterFranky
KeymasterConcerning facebook: read the last entry in the faq here: http://www.e-dynamics.be/wordpress/?page_id=195
Concerning the page title: this is most likely a theme issue, what theme are you using?
Franky
KeymasterThe event id is unique:
$event['event_id'];
I also found why you get that warning. I need to move the action hook in the code, for now it is executed before the $booker variable is completed, so it is an empty var. I’ll update that this evening.
Franky
Keymasterno, also those have braces.
Edit: I updated the deprecated page for those too.
Edit2: the registration form I posted worked fine under 1.4.0 btw 🙂Franky
KeymasterIn the payment options tab
Franky
KeymasterBtw, there was a undef value in 1.4.1. Nothing bad, but to account for people having php notices on, I released 1.4.2
Franky
KeymasterFor sure the you need to use “1”, not “01”. Since the ID is “1” (or whatever) for the custom field, not “01”.
Also yes, if you disabled the deprecated placeholders, SEATS needs to be changed too.
Normally the number of seats is the total if you use multiple seat categories but single max/min, so that should be ok. I’ll test this again also to be sure, but it is a bug if it is not the case.Try this for your registration form:
<table class='eme-rsvp-form'> <tr><th scope='row'>Name*:</th><td>#_NAME</td></tr> <tr><th scope='row'>E-Mail*:</th><td>#_EMAIL</td></tr> <tr><th scope='row'><i>Shades of Ice -- Part II: Exiles of Winter</i>*:</th><td>Book #_SEATS{1} seats</td></tr> <tr><th scope='row'><i>The Pallid Plague</i>*:</th><td>Book #_SEATS{2} seats</td></tr> <tr><th scope='row'><i>The Stranger Within</i>*:</th><td>Book #_SEATS{3} seats</td></tr> <tr><th scope='row'>Overflow Table:</th><td>Book #_SEATS{4} seats</td></tr> <tr><th scope='row'>PFS Number:</th><td>#_FIELD{1}</td></tr> <tr><th scope='row'>Character (Class/Level):</th><td>#_FIELD{2}</td></tr> <tr><th scope='row'>Comment:</th><td>#_COMMENT</td></tr> </table> <span style='font-size:x-small'>If you do not have a PFS number, you can leave that field blank. Character information is optional and you can change it on the day of the event - it's just to give the GMs a little forewarning on what you might bring to the table.</span><br /> #_SUBMIT{Reserve Seats}
Mon 5 May 2014 at 15:57 in reply to: Links to single event or single location no longer working #52134Franky
KeymasterIf you think the theme is at error: try with the default theme.
If it works then, it is indeed a theme problem. If it is a wordpress supported free theme, tell me which one and I’ll take a look.
I do no longer support any non-supported or commercial themes, since non-supported themes are …well: not supported. And for commercial themes you can ask your theme creator. I already encountered way too much bad themes that “just happen to work”, but are not correctly functioning and are using bad wordpress calls (most of them commercial themes even).
If it doesn’t work with the default theme: try resetting your permalink settings to the default, press “save” and then switch them back to the original setting. That helps in case of permalinks mismatches.Franky
KeymasterYes, those too (I updated the page for that, I forgot to add those apparently).
If you can reproduce it on a test setup, let me know the details so I can check it myself.
Otherwise: what are the settings for:
– the RSVP form
– the event (the price settings in there)Maybe I overlooked something …
Franky
KeymasterDid you change the settings in “RSVP: price options” to show it? You can change the payment page layout to your liking.
Franky
KeymasterExample:
add_action(‘eme_eval_booking_form_filter’,’do_my_stuff’); function do_my_stuff($event, $booker) { // show all input // print_r($_POST); if ($_POST['the field i want'] == 'the value') { // eval is success return array(0=>1,1=>''); } else { // bad form entry return array(0=>0,1=>'try something else'); } }
Franky
KeymasterDid you read the changelog and this: http://www.e-dynamics.be/wordpress/?p=51559
Sat 3 May 2014 at 00:15 in reply to: Old Events gone when upgrading from Events Manager Extende to Events Made Easy #52104Franky
KeymasterPlease just mail me in private: liedekef [at] telenet.be
Already an admin account in your WP setup and access to your hosting panel would be nice (temporary passwords are fine).Franky
Keymasterhttp://www.e-dynamics.be/wordpress/?cat=35 shows the available RSS options, so for the moment this is indeed a feature request.
Franky
KeymasterI’m guessing you need to use a custom field (to ask for the code) and then use the filter eme_eval_booking_form_filter to evaluate.
See http://www.e-dynamics.be/wordpress/?cat=44 and http://www.e-dynamics.be/wordpress/?cat=41Franky
KeymasterIn the filter eme_eval_booking_form_filter() you can do all that, but you have to write your own evaluation code.
See http://www.e-dynamics.be/wordpress/?cat=41Franky
KeymasterIt seems your “upcoming events” work just fine, but the on-air schedule not. So check the options for that widget, and also: check the end-date of those events, because I’m guessing the end date is wrong.
Fri 2 May 2014 at 13:41 in reply to: Old Events gone when upgrading from Events Manager Extende to Events Made Easy #52096Franky
KeymasterDoing an update from remote is almost impossible if something fails. I can’t take that responsibility if your business depends on it. Also I already had lots of people promising a donation after I helped them in private, and never got anything in return after their issues were fixed so I’m not too keen on providing donation-based support.
Also, the db-dump of just the EME tables in mysql should not be 57MB, probably you did a dump of the complete DB.
If you’re not very familiar with mysql and wordpress failure scenarios:– keep your complete DB dump
– install but don’t activate the new plugin
– do the update
– deactivate the old plugin
– activate the new pluginIf something fails: shut down your wordpress site and restore the DB via your dump.
If you really feel uncomfortable with this procedure, I can still assist you with it but just without guarantees (of course if you have the DB dump, you can always go back to the previous situation).Franky
Wed 30 Apr 2014 at 10:07 in reply to: Links to single event or single location no longer working #52089Franky
KeymasterIs your events page set in the EME settings? Read this:
http://www.e-dynamics.be/wordpress/?cat=8Franky
Keymasterthe scope indicates events either starting or ongoing. If that’s not what you want, you should set the option show_ongoing=0
Franky
KeymasterThis should now also be possible, but some more testing is needed
Franky
KeymasterThere’s an ongoing feature request for making the field names also language-sensitive. For now it is not possible, I’ll try to work on it next.
But the weird thing in your form is this generated html code:
<input type="checkbox" value="Please select" name="[]">
You see the name issue there?
Can you post your complete RSVP form description? And your field definition? Or give me a temp admin account so I can check for myself?Franky
KeymasterWhen defining the field, make sure you give it at least one value. If no value, then the form doesn’t know what to do with it either and the value will be empty.
The next version will give a warning if no values are given for checkboxes or radioboxes.Franky
KeymasterWell, then it’s not an EME issue 🙂
Franky
KeymasterDoesn’t the hook eme_insert_event_action help you there?
Franky
KeymasterWel, just for that event, use another template for booking list header, body and footer.
See here for some more info on templates: http://www.e-dynamics.be/wordpress/?cat=51
and here for the doc concerning the booking list: http://www.e-dynamics.be/wordpress/?cat=53Fri 25 Apr 2014 at 23:43 in reply to: Don’t allow registration until a certain time before the event. #52067Franky
KeymasterThere already is, use the placeholder #_DAYS_TILL_START in your conditional tags. See http://www.e-dynamics.be/wordpress/?cat=25
Franky
KeymasterAnd as second part: https://plugins.trac.wordpress.org/changeset/902032/
Franky
KeymasterFixed with this:
http://plugins.trac.wordpress.org/changeset/901839Franky
KeymasterOk, it’s in fact a bit of a bug:
when inserting a booking, the booking info is inserted in the DB, then the action hook is called and only then the answers are inserted in the db …
Of course the answers should be stored before the action hook is called, so you have all info at your disposal.
I’ll create a fix for this this evening, moving to bugs …Franky
KeymasterFor the moment EME doesn’t support tickets, but you can use the CSV output and then generate your tickets in e.g. Word (Windows), LibreOffice (Linux/Windows), glabels (Linux), …
Franky
KeymasterTry using the shortcodes [eme_locations_map list_location=none] (to just show the map) and a second shortcode [eme_locations] to get the list of locations where you want them.
I’ll add div-id’s around the map and location lists generated by [eme_locations_map] for the next version, so you can use CSS to influence it thenFranky
KeymasterThis is not logical at all …
Can you mail the hook-code to me at liedekef[at]telenet.be ?Franky
KeymasterGreat, nice to hear it works!
Franky
KeymasterWell, when you edit an event, on the right there is a setting “Contact person”. That indeed doesn’t change if you change the default contact person for new events.
Franky
KeymasterI recommend you to redownload then 🙂
Reason: I made a distinction between legacy placeholder syntax (disabled by default) and deprecated placeholders (enabled by default), so people don’t have to change too much.Franky
Keymaster“PHP Mail” is not “WP Mail”, but for the rest: mailservers can be strict about the sender and/or receiving mail addresses.
But the default contact person in the RSVP tab is not necessarily the contact person of the event, just the contact person for new events. Did you check the RSVP settings when editing an event?Franky
KeymasterDoes the contact person have a correct email adres? Does the mail not arrive in his spam folder?
And also: you probably need to check the mailserver logfiles to know why. EME just does the sending, but doesn’t alert you if it fails.
You can activate SMTP debug, but you don’t use that and with the new method I use for double form-posting, you wouldn’t see the debug anyway.Franky
KeymasterRead the doc a little more 🙂
You need #_REQ_FIELDxx (with xx the field id), not #_REQ_TOCFranky
KeymasterOk, let’s start from the top:
– if the CSV output shows it, it means it is in the output from
$answers = eme_get_answers($booking[‘booking_id’]);
– so: add the following code and show the output:print_r ($booking); $answers = eme_get_answers($booking['booking_id']); print_r ($answers);
Franky
KeymasterI would like to do some more testing before releasing it. If you don’t mind being a tester, you can download the latest version here:
http://downloads.wordpress.org/plugin/events-made-easy.zip
and read the changelog, and more importantly, read this:
http://www.e-dynamics.be/wordpress/?p=51559Franky
KeymasterRead this for the correct method of adding extra fields: http://www.e-dynamics.be/wordpress/?cat=44
It also explains what to use to make those extra fields required (hint: #REQ_FIELDxx placeholder)Franky
KeymasterThat’s something that qtranslate does I guess, EME doesn’t invent strings.
Maybe, because the #_NOTES section seems to be in German in both cases, you should check your event details setting (the rich html editor section when editing an event)?Franky
KeymasterWell, the reason I explained already above.
To get the event_id in both cases (small remark: use get_query_var(), it’s easier), I’d do this:if (eme_is_events_page()) { $event_shown=0; if (get_query_var('calendar_day')) { $date = eme_sanitize_request(get_query_var('calendar_day')); $events_N = eme_events_count_for ( $date ); if ($events_N == 1) { $events = eme_get_events ( 0, eme_sanitize_request(get_query_var('calendar_day'))); $event = $events[0]; $event_id = $event['event_id']; $event_shown=1; } } if (!$event_shown && eme_is_single_event_page()) { // single event page $event_id = intval(get_query_var('event_id')); } <DO YOUR STUFF WITH $event_id > }
I admit that it is not very efficient, but without code changes there’s no other option.
Franky
Keymaster3.9 works just fine, but indeed: I haven’t updated the plugin to reflect this.
I added new functionality this weekend, so expect a release this evening.Franky
KeymasterList your code, and the output from print_r($booking) (you can obfuscate the parts you don’t want to be shown)
Franky
KeymasterMaybe we should take a step back here: what are you trying to accomplish? And are the available EME hooks and filters not enough in this case?
Franky
KeymasterCan you set up a test event for this, so I can check? Mail me the link: liedekef [at] telenet.be
Also, if possible: give me a temporary admin account, so I can check directly on your side.Franky
KeymasterThe calendar points to the day having events, not the event itself. If the day only has one event that event will be shown immediately, otherwise a list of events on that day will be shown.
Edit: concerning your second question: use “eme_is_events_page()”, that should work then.
Franky
KeymasterWhen you create/edit the event, do you set activate the paypal option there?
Also, being redirected without any confirmation message sounds weird. Is there no yellow bar above the submit form indicating the booking success or failure?
What are your settings for the “Booking recorded message” ?Franky
KeymasterYes, it comes into play for a hosting service too.
If you’re unsure, either ask your webhosting which mailserver to use, or – if wordpress mail works – use the mail sending method “WP Mail” in the EME settings.Franky
KeymasterTry
$answers = eme_get_answers($booking['booking_id']); print_r($answers);
Franky
KeymasterImplemented in trunk.
Tue 22 Apr 2014 at 00:58 in reply to: Old Events gone when upgrading from Events Manager Extende to Events Made Easy #51590Franky
KeymasterIt’s less and less likely to function, since the old plugin died about 3 years ago …
But just take a complete db dump using phpmyadmin or so, read this: http://codex.wordpress.org/Backing_Up_Your_DatabaseFranky
KeymasterIs the setting “Enable the RSVP e-mail notifications” activated?
Can the webserver access the configured email server (firewall)?Franky
KeymasterYes, please do read the link I provided above, it explains how to correctly add extra fields.
Franky
KeymasterHow did you add the field to the booking form then?
The only way custom fields can be added is via the method described here, all other fields you added via html itself will be ignored.Franky
KeymasterThis post popped up after I moved to the new version of bbpress, sorry about that. Closing for now, since I don’t see that info on your site anymore.
Franky
KeymasterThis post popped up after I moved to the new version of bbpress, sorry about that. I don’t see the calendar there, so I’m assuming this got fixed or you decided to use something else.
Franky
KeymasterThe dev version allows you to see all bookings made by a person, so closing this.
Franky
KeymasterAnd people editing is now possible too. So closing this.
Franky
KeymasterSure, it has been done some time ago but can need some updating.
Sat 19 Apr 2014 at 17:55 in reply to: How to avoid the space character between placeholder and [/eme_if] ? #51556Franky
KeymasterThis should fix it for location placeholders (not for event placeholders):
Fri 18 Apr 2014 at 13:37 in reply to: How to avoid the space character between placeholder and [/eme_if] ? #51550Franky
KeymasterWhich placeholder are you talking about?
Franky
KeymasterUse this to get the answers for a booking in an array, so you can test it later on:
$answers = eme_get_answers($booking['booking_id']);
Franky
KeymasterWhat are the settings for your “past” events being shown (like the end date, or all date info in case of a recurrent event)?
What are your widget settings?Franky
KeymasterOk, this should fix it. Change lines 97 and 98 in eme_calendar.php from:
$iNowDay= (int) $_SESSION;
$iNowMonth= (int) $_SESSION;
to:
$iNowDay= sprintf(“%02d”,$_SESSION);
$iNowMonth= sprintf(“%02d”,$_SESSION);
Franky
KeymasterOk, I see in your html source that you have activated the option “use client clock” in EME.
It seems it is related to that, so let me check this.
Franky
KeymasterWell, you made me discover a typo error. Change line 276 in eme_calendar.php from:
$sClass .= “eventful-today event-day-$iCalendarDay”;
to
$sClass .= ” eventful-today event-day-$iCalendarDay”;
For me that solves it, but you don’t seem to have the string “eventful-today” anywhere in the generated html output, which is more weird. Are all your files updated to 1.3.4 (which contains the bug too of course)?
-
AuthorPosts