Forum Replies Created

Viewing 150 posts - 3,901 through 4,050 (of 7,815 total)
  • Author
    Posts
  • Franky
    Keymaster

    No response (and it seems to be ok for me), so closing with the AJAX answer as correct solution.

    in reply to: Hide expired events in calendar #52381
    Franky
    Keymaster

    First 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?

    in reply to: Hide expired events in calendar #52379
    Franky
    Keymaster

    The 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.

    in reply to: EME breaks EventEspresso registration #52378
    Franky
    Keymaster

    I 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.

    in reply to: Req field not filled in and form submits fine #52374
    Franky
    Keymaster

    Ok, 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/932112

    in reply to: Req field not filled in and form submits fine #52373
    Franky
    Keymaster

    I 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.

    in reply to: Req field not filled in and form submits fine #52372
    Franky
    Keymaster

    What is the “ToC” field? Is it the “Agree to Guidelines” field?

    in reply to: EME breaks EventEspresso registration #52370
    Franky
    Keymaster

    no feedback, closing.

    in reply to: Increase width of .eme-rsvp-form? #52369
    Franky
    Keymaster

    EME 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.

    Franky
    Keymaster

    I 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 🙂

    in reply to: EME breaks EventEspresso registration #52348
    Franky
    Keymaster

    Any error messages in your browser console? Or in the webserver logfiles? A testsite with a demo of the problem?

    Franky
    Keymaster

    Thanks 🙂

    in reply to: Booking calendar for admins #52341
    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).

    Franky
    Keymaster

    See the wordpress general settings. You can change it there.

    in reply to: WordPress database error…EME caused? #52334
    Franky
    Keymaster

    And is the table in fact gone? If it was working fine after the update, something else is wrong with your database.

    in reply to: Limit to 1 registration #52332
    Franky
    Keymaster

    Just 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.

    in reply to: Multiple Booking Forms Possible? #52330
    Franky
    Keymaster

    You 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.

    in reply to: Booking calendar for admins #52328
    Franky
    Keymaster

    Why 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=#_EVENTID

    Only 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).

    in reply to: Field DropDown Width #52325
    Franky
    Keymaster

    I’m guessing you left the “tags” empty. This is a bug in the code, and should be fixed with this change:

    http://plugins.trac.wordpress.org/changeset/925666

    in reply to: Full Content Appearing in Calendar #52324
    Franky
    Keymaster

    For 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.

    in reply to: Full Content Appearing in Calendar #52322
    Franky
    Keymaster

    The 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.be

    in reply to: Limit to 1 registration #52319
    Franky
    Keymaster

    Did you test this? The example code posted still takes the event id into account, so it should work just fine.

    in reply to: Limit to 1 registration #52317
    Franky
    Keymaster

    If 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;

    in reply to: Limit to 1 registration #52309
    Franky
    Keymaster

    And 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.

    in reply to: Limit to 1 registration #52308
    Franky
    Keymaster

    Did 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 …

    in reply to: Limit to 1 registration #52305
    Franky
    Keymaster

    The 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.

    in reply to: Email subject line for organizer #52304
    Franky
    Keymaster

    For now this is not possible (as it seemed less important). Please open a new feature request if wanted.

    in reply to: Single event format, multiple templates #52297
    Franky
    Keymaster

    For 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).

    in reply to: Single event format, multiple templates #52294
    Franky
    Keymaster

    Et voila: code is in trunk for this too now.

    in reply to: Single event format, multiple templates #52293
    Franky
    Keymaster

    Thanks 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) 🙂

    in reply to: Template delete #52290
    Franky
    Keymaster

    Correct, fixed in trunk.

    in reply to: Single event format, multiple templates #52289
    Franky
    Keymaster

    Implemented the template select in trunk.

    in reply to: Single event format, multiple templates #52288
    Franky
    Keymaster

    The 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.

    in reply to: Redirect on Successful Booking #52287
    Franky
    Keymaster

    Using this in the payment form header should work (just tested this):

    
    <script type="text/javascript">
    jQuery(document).ready( function($) {
    $( "#paypal_form" ).submit();
    });
    </script>
    
    in reply to: Payment URL #52285
    Franky
    Keymaster
    in reply to: Single event format, multiple templates #52282
    Franky
    Keymaster

    You 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.

    in reply to: Single event format, multiple templates #52276
    Franky
    Keymaster

    Can you be a bit more specific? Examples would help …

    in reply to: Contribute to this great plug-in #52275
    Franky
    Keymaster

    I 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 …

    in reply to: Single event format, multiple templates #52272
    Franky
    Keymaster

    The templates are only honoured when displaying an event, not when creating it. This is a very difficult feature request, based on current implementation ideas …

    in reply to: Single event showing up twice #52269
    Franky
    Keymaster

    If the theme developers agree to that, you can mail it to me at liedekef@telenet.be

    in reply to: Single event showing up twice #52267
    Franky
    Keymaster

    It 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.

    in reply to: Email subject line #52262
    Franky
    Keymaster

    Done in trunk

    Franky
    Keymaster

    no response, so closing.

    in reply to: Confused about booking cancellation process #52254
    Franky
    Keymaster

    It’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 …

    in reply to: #_TOTALPRICE placeholder truncates decimal places #52247
    Franky
    Keymaster

    Now 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):

    http://plugins.trac.wordpress.org/changeset/919565

    in reply to: #_PRICEPERBOOKING placeholder #52245
    Franky
    Keymaster

    Ok, 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)

    in reply to: eme_get_answers unreliable? #52243
    Franky
    Keymaster

    If that’s the fenomena, it most probably indicates a problem with your DB (disk full). I encountered similar effects in the past myself.

    in reply to: How to make confirmation message a separate page #52239
    Franky
    Keymaster

    Hmmm … 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.

    in reply to: #_PRICEPERBOOKING placeholder #52238
    Franky
    Keymaster

    ok, the payment header and footer format will also be checked for custom attributes in the next version.

    in reply to: #_PRICEPERBOOKING placeholder #52237
    Franky
    Keymaster

    Concerning 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.

    in reply to: Payment Redirection not working #52234
    Franky
    Keymaster

    No prob, the next version will test this better so the captcha won’t be activated unless the php-gd module is present.

    in reply to: Bogus data #52233
    Franky
    Keymaster

    For 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.

    in reply to: Payment Redirection not working #52229
    Franky
    Keymaster

    500 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).

    in reply to: Bogus data #52226
    Franky
    Keymaster

    Ok, 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.be

    in reply to: Bogus data #52224
    Franky
    Keymaster

    Ok, 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?

    in reply to: Bogus data #52222
    Franky
    Keymaster

    I’m not able to reproduce this: when deleting registrations, all relevant answers are deleted too.
    How did you delete the registrations and bogus users?

    in reply to: #_TOTALPRICE placeholder truncates decimal places #52221
    Franky
    Keymaster

    On 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.

    in reply to: Payment Redirection not working #52220
    Franky
    Keymaster

    The 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?

    in reply to: #_PRICEPERBOOKING placeholder #52219
    Franky
    Keymaster

    That 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.

    in reply to: #_PRICEPERBOOKING placeholder #52213
    Franky
    Keymaster

    Yes, you’re correct about #_FIELD{1}. I believe the custom attributes is what you’re looking for in that case:

    http://www.e-dynamics.be/wordpress/?cat=29

    in reply to: How to make confirmation message a separate page #52207
    Franky
    Keymaster

    Well … 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.

    in reply to: Coupon Codes #52206
    Franky
    Keymaster

    Thanks for sharing !

    in reply to: #_PRICEPERBOOKING placeholder #52205
    Franky
    Keymaster

    Implementing 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

    in reply to: #_TOTALPRICE placeholder truncates decimal places #52203
    Franky
    Keymaster

    It 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.

    in reply to: Scope +1 future? #52198
    Franky
    Keymaster

    All scopes can be found here: http://www.e-dynamics.be/wordpress/?cat=18

    in reply to: Limit to 1 registration #52195
    Franky
    Keymaster

    What 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');
        }
    }
    
    in reply to: Scope +1 future? #52192
    Franky
    Keymaster

    The scope called “tomorrow–future” is what you want.

    in reply to: Limit to 1 registration #52188
    Franky
    Keymaster

    Thanks 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=24

    in reply to: Bad Boy error #52185
    Franky
    Keymaster

    So did you find the problem? I’m interested …

    in reply to: Documentation RSVP mail #52183
    Franky
    Keymaster

    #_FIELD{xx} is the new and correct notation. Typo fixed in the doc.

    in reply to: not receiving rsvp's #52179
    Franky
    Keymaster

    You 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.

    in reply to: Bad Boy error #52177
    Franky
    Keymaster

    In 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-submit

    in reply to: Not receiving RSVP emails #52174
    Franky
    Keymaster

    Well, 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.

    in reply to: Moving the map entries to the right #52172
    Franky
    Keymaster

    div-id for the map was already there, and also an id for the ordened list. But I added a extra div+id there too:

    http://plugins.trac.wordpress.org/changeset/910651

    in reply to: Moving the map entries to the right #52170
    Franky
    Keymaster

    Moving to feature requests, I forgot about this. Hopefully adding it this evening, since a small bugfix release is coming again.

    in reply to: Issues with "placeholders" #52167
    Franky
    Keymaster

    Please 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 .

    in reply to: Issues with "placeholders" #52164
    Franky
    Keymaster

    It 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).

    in reply to: Single Event Page #52163
    Franky
    Keymaster

    Sorry, I was sleeping. I’m only human you know.
    The html-title “just works”, I didn’t change anything there.

    in reply to: Single Event Page #52160
    Franky
    Keymaster

    I tested that hueman theme here and already have the correct html title-tag …

    in reply to: Single Event Page #52158
    Franky
    Keymaster

    It’s actively developed theme, so forward this to them, the fix should be straightforward then.

    in reply to: Single Event Page #52156
    Franky
    Keymaster

    I 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.

    in reply to: Condition in the Registration form #52155
    Franky
    Keymaster
    in reply to: Single Event Page #52151
    Franky
    Keymaster

    Concerning 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?

    in reply to: Condition in the Registration form #52148
    Franky
    Keymaster

    The 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.

    in reply to: "Please enter a correct number of spaces to reserve" #52145
    Franky
    Keymaster

    no, 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 🙂

    in reply to: Make a Checkbox for TOC required #52144
    Franky
    Keymaster

    In the payment options tab

    in reply to: "Please enter a correct number of spaces to reserve" #52141
    Franky
    Keymaster

    Btw, 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

    in reply to: "Please enter a correct number of spaces to reserve" #52140
    Franky
    Keymaster

    For 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}
    Franky
    Keymaster

    If 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.

    in reply to: "Please enter a correct number of spaces to reserve" #52129
    Franky
    Keymaster

    Yes, 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 …

    in reply to: Make a Checkbox for TOC required #52126
    Franky
    Keymaster

    Did you change the settings in “RSVP: price options” to show it? You can change the payment page layout to your liking.

    in reply to: Condition in the Registration form #52120
    Franky
    Keymaster

    Example:

    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');
        }
    }
    in reply to: Make a Checkbox for TOC required #52116
    Franky
    Keymaster

    Did you read the changelog and this: http://www.e-dynamics.be/wordpress/?p=51559

    Franky
    Keymaster

    Please 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).

    in reply to: [eme_rss_link contact_person=xxx] #52103
    Franky
    Keymaster

    http://www.e-dynamics.be/wordpress/?cat=35 shows the available RSS options, so for the moment this is indeed a feature request.

    in reply to: Condition in the Registration form #52102
    Franky
    Keymaster

    I’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=41

    in reply to: Field conditions and restrictions #52099
    Franky
    Keymaster

    In 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=41

    in reply to: Limit Start and Limit End Too Loose #52097
    Franky
    Keymaster

    It 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.

    Franky
    Keymaster

    Doing 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 plugin

    If 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

    Franky
    Keymaster

    Is your events page set in the EME settings? Read this:
    http://www.e-dynamics.be/wordpress/?cat=8

    in reply to: Limit Start and Limit End Too Loose #52087
    Franky
    Keymaster

    the scope indicates events either starting or ongoing. If that’s not what you want, you should set the option show_ongoing=0

    in reply to: conditions in emails #52084
    Franky
    Keymaster

    This should now also be possible, but some more testing is needed

    in reply to: Make a Checkbox for TOC required #52082
    Franky
    Keymaster

    There’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?

    in reply to: Make a Checkbox for TOC required #52080
    Franky
    Keymaster

    When 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.

    in reply to: Facebook Import no longer works #52075
    Franky
    Keymaster

    Well, then it’s not an EME issue 🙂

    in reply to: Customise Access to RSVP #52074
    Franky
    Keymaster

    Doesn’t the hook eme_insert_event_action help you there?

    in reply to: Booking list customized for specific event #52073
    Franky
    Keymaster

    Wel, 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=53

    Franky
    Keymaster

    There already is, use the placeholder #_DAYS_TILL_START in your conditional tags. See http://www.e-dynamics.be/wordpress/?cat=25

    in reply to: How do I reference a custom field int he php code #52061
    Franky
    Keymaster
    in reply to: How do I reference a custom field int he php code #52060
    Franky
    Keymaster
    in reply to: How do I reference a custom field int he php code #52058
    Franky
    Keymaster

    Ok, 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 …

    in reply to: Is it possible to print tickets using EME? #52057
    Franky
    Keymaster

    For 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), …

    in reply to: Moving the map entries to the right #52055
    Franky
    Keymaster

    Try 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 then

    in reply to: How do I reference a custom field int he php code #52054
    Franky
    Keymaster

    This is not logical at all …
    Can you mail the hook-code to me at liedekef[at]telenet.be ?

    in reply to: Make a Checkbox for TOC required #52049
    Franky
    Keymaster

    Great, nice to hear it works!

    in reply to: Not receiving RSVP emails #52048
    Franky
    Keymaster

    Well, 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.

    in reply to: WordPress 3.9 Compatibility #52047
    Franky
    Keymaster

    I 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.

    in reply to: Not receiving RSVP emails #52040
    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?

    in reply to: Not receiving RSVP emails #52038
    Franky
    Keymaster

    Does 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.

    in reply to: Make a Checkbox for TOC required #52036
    Franky
    Keymaster

    Read the doc a little more 🙂
    You need #_REQ_FIELDxx (with xx the field id), not #_REQ_TOC

    in reply to: How do I reference a custom field int he php code #52033
    Franky
    Keymaster

    Ok, 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);
    
    in reply to: WordPress 3.9 Compatibility #52028
    Franky
    Keymaster

    I 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=51559

    in reply to: Make a Checkbox for TOC required #52027
    Franky
    Keymaster

    Read 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)

    in reply to: MultiLanguage page – Def. single event format problem #52026
    Franky
    Keymaster

    That’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)?

    in reply to: links on calendar widget #52021
    Franky
    Keymaster

    Well, 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.

    in reply to: WordPress 3.9 Compatibility #52018
    Franky
    Keymaster

    3.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.

    in reply to: How do I reference a custom field int he php code #52017
    Franky
    Keymaster

    List your code, and the output from print_r($booking) (you can obfuscate the parts you don’t want to be shown)

    in reply to: links on calendar widget #52014
    Franky
    Keymaster

    Maybe 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?

    in reply to: Payment Redirection not working #52012
    Franky
    Keymaster

    Can 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.

    in reply to: links on calendar widget #52011
    Franky
    Keymaster

    The 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.

    in reply to: Payment Redirection not working #52008
    Franky
    Keymaster

    When 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” ?

    in reply to: Not receiving RSVP emails #52007
    Franky
    Keymaster

    Yes, 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.

    in reply to: How do I reference a custom field int he php code #52006
    Franky
    Keymaster

    Try

    $answers = eme_get_answers($booking['booking_id']);
    print_r($answers);
    in reply to: Duplicate Locations #51591
    Franky
    Keymaster

    Implemented in trunk.

    Franky
    Keymaster

    It’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_Database

    in reply to: Not receiving RSVP emails #51589
    Franky
    Keymaster

    Is the setting “Enable the RSVP e-mail notifications” activated?
    Can the webserver access the configured email server (firewall)?

    in reply to: How do I reference a custom field int he php code #51588
    Franky
    Keymaster

    Yes, please do read the link I provided above, it explains how to correctly add extra fields.

    in reply to: How do I reference a custom field int he php code #51583
    Franky
    Keymaster

    How 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.

    in reply to: EME single event pages blank #51574
    Franky
    Keymaster

    This 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.

    in reply to: odd interaction with WordPress FAQ Manager #51572
    Franky
    Keymaster

    This 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.

    in reply to: Show events for People #51567
    Franky
    Keymaster

    The dev version allows you to see all bookings made by a person, so closing this.

    in reply to: keep my people up to date #51565
    Franky
    Keymaster

    And people editing is now possible too. So closing this.

    in reply to: Call for translators #51557
    Franky
    Keymaster

    Sure, it has been done some time ago but can need some updating.

    Franky
    Keymaster

    This should fix it for location placeholders (not for event placeholders):

    http://plugins.trac.wordpress.org/changeset/898169

    Franky
    Keymaster

    Which placeholder are you talking about?

    in reply to: How do I reference a custom field int he php code #51548
    Franky
    Keymaster

    Use 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
    Keymaster

    What 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?

    in reply to: Calendar 'current date' background color change? #51514
    Franky
    Keymaster

    Ok, 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);

    in reply to: Calendar 'current date' background color change? #51513
    Franky
    Keymaster

    Ok, 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.

    in reply to: Calendar 'current date' background color change? #51511
    Franky
    Keymaster

    Well, 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)?

Viewing 150 posts - 3,901 through 4,050 (of 7,815 total)
Scroll to Top