Forum Replies Created

Viewing 15 replies - 286 through 300 (of 4,512 total)
  • Plugin Author Franky

    (@liedekef)

    I tried the twenty-one theme: no issue, the title-tag is correctly rendered (with the default EME settings even).
    I then installed the twentig plugin: still all ok. I don’t even find any code where that plugin would interfere, so it seems an ok plugin. I could even demonstrate it on my public site if you’d like 🙂
    Is there some filter you have in place?

    Also: is the setting “Single event html title format” filled out? The default is “#_EVENTNAME” and in fact is the format of the html title for a single event.

    • This reply was modified 4 years, 4 months ago by Franky.
    Plugin Author Franky

    (@liedekef)

    EME uses the wordpress filter single_post_title to set the title, but not all themes use the wordpress standards to set the title (they start filtering/setting titles themselves).
    For those themes, there is the option “Use alternative method to set events page title?” in the EME settings (tab “general”).
    If that doesn’t work, tell me the theme in question. If it is a free theme, I can check it. If it is a paying theme, then you should contact them 🙂

    Plugin Author Franky

    (@liedekef)

    While EME provides a number of functions you can use, it does not provide a REST API interface. There’s also the RSS and ICAL option in EME, but that’s it (although those might give you what you need).

    Plugin Author Franky

    (@liedekef)

    You can link an EME user with a WP account (usefull for page membership checks, allowing only logged in users to book etc).
    As answer to your second question: no. A person books for 1 event, not for a series of events. You can use the multibooking feature to allow a person to sign up for multiple events. Or you can “link” an event to another event (in the RSVP section), meaning the linked event will count for attendees and that might achieve what you want: create 1 standalone event where people can sign up, and a recurrent series where the RSVP part points to the standalone event. I have to admit: that is not very well tested, some bugs in placeholders might arise (but it should work).

    Plugin Author Franky

    (@liedekef)

    Well, I didn’t know the function, so in that case, this would’ve been sufficient too (dropping the “text”:

    $body=eme_replace_placeholders($body_format, $event);

    By default “html” is the preferred format, but in the doc I indeed had “text” for $body. I’ll clarify that.

    • This reply was modified 4 years, 5 months ago by Franky.
    Plugin Author Franky

    (@liedekef)

    It depends on your function definition of eme_mail_event(): you need to do all the replacements yourself there (if you want to start including placeholders).
    So if you need that placeholder to be replaced by the actual value, you need to call the function eme_replace_event_location_placeholders before sending the mail. Example (where $body contains your email body and extra location placeholders:

    $body = eme_replace_event_location_placeholders ( $body, $event );

    Plugin Author Franky

    (@liedekef)

    Have you activated the sending of html messages? Because if not, this placeholder (not shortcode) will return empty.
    Next to that: I don’t think you can specify your location image using emefs

    Plugin Author Franky

    (@liedekef)

    Go in the EME Settings menu, tab “Access”. There you can select “Locations” and define the capabilities someone must have to list/author/edit/add locations.

    Plugin Author Franky

    (@liedekef)

    Sorry, but get_page_templates() is the wordpress function to use, I won’t change the code concerning that. I’m not a theme developer, so the question about page templates should go in another forum.

    Plugin Author Franky

    (@liedekef)

    The preflter acts on the event format before any placeholders are replaced. And since the form is shown by a placeholder, it is not “present” at that time yet.
    But at the end of the function where event placeholders are replaced by their values, I also call do_shortcode on the rest so any leftover shortcodes get replaced.
    You’d need eme_add_booking_form_prefilter, I’ll add that in the next version.

    Plugin Author Franky

    (@liedekef)

    The RSVP form does support shortcodes. Do you have an example of something that doesn’t work?

    Plugin Author Franky

    (@liedekef)

    The “Single Event Edit page” template is what it says it is: a page template. that is the only template used in EME that is not managed by EME but by your theme (a page template).
    I use the wordpress function get_page_templates() to get a list of page templates that the active theme provides.
    I just checked several sites I manage and the page templates of the theme in use are shown to choose from, so make sure your theme page template obeys the wordpress rules.

    Plugin Author Franky

    (@liedekef)

    EME uses templates created and managed inside EME, see the “EME template” submenu. Once a template is created, it can (depending on its type) be used inside shortcodes (with the needed shortcode argument) or in a dropdown where templates can be selected.

    Plugin Author Franky

    (@liedekef)

    No reply, marking resolved.

    Plugin Author Franky

    (@liedekef)

    1: that is not possible: how can there be 1 seat category with multiple prices assigned to it? In your example it would become impossible to know which price to take for a specific seat category at the moment of booking.
    2: which my_eme_discount_function example? You can have a discount of type “code” or a filter eme_insert_rsvp_action …
    Anyway, in both cases: do a print_r of $booking and see what is being produced as output (this is beyond the scope of EME itself in fact). The different seats (and the total) are both present in the array.
    3: the discount is being taken into account, if you use discounts of type “code”. If you use the filter eme_insert_rsvp_action, then it is not possible since that filter runs just before the booking is inserted in the DB.
    Based on this question, I think you’re using eme_insert_rsvp_action as filter to calculate some discount, which is not the recommended way (as indicated in the doc). Read up on discounts here: https://www.e-dynamics.be/wordpress/category/documentation/17-discounts/
    4: again depending on which filter you use to call that function. For all filters: https://www.e-dynamics.be/wordpress/category/documentation/17-discounts/
    5: SEATS{xx} (**) ==> the “**” is only relevant for a multibooking form (where you combine bookings for multiple events in 1 form to start with).

Viewing 15 replies - 286 through 300 (of 4,512 total)