Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter Beee

    (@beee)

    i discovered it in a draft post, but those aren’t publicly visible, so I posted a past event since I only have future events which are multiple days and are listed “all day”.

    Hi, I’m not able to reproduce this. If you disable all other plugins and revert to the default theme do you still have the same problem?

    Thread Starter Beee

    (@beee)

    If you check the link you can see it IS the default theme; twentytwelve…

    It worked just fine before the update and I didn’t change anything…

    Thread Starter Beee

    (@beee)

    well it’s a child theme, but that doesn’t influence the theme… like I said, it worked perfectly before the update.

    Thread Starter Beee

    (@beee)

    I just downgraded to 5.4.1.1 and the problem is gone.
    See link above.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    Can you paste your entire format? We made a small change to the regex rule to find the placeholders (to make it more reliable!), but I haven’t seen any problems with this yet.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    by format, I mean that which is in your formatting tab in your setting page that isn’t working.

    Thread Starter Beee

    (@beee)

    I noticed on single event, because that’s where I list the times.
    This is the code for it.

    <p class="nomargin">
    	<strong>Date</strong>: #_EVENTDATES
    	{has_time}<br /><strong>Time</strong>: #_24HSTARTTIME - #_24HENDTIME{/has_time}
    	{has_location}<br /><strong>Location</strong>:  #_LOCATIONLINK, #_LOCATIONTOWN (#_LOCATIONCOUNTRY){/has_location}
    	{has_findhills}<br /><strong>Track info</strong>:<br /><a href="#_ATT{findhills}" target="_blank"><img src="https://www.freerides.org/wp-content/themes/v0.1/images/findhills.png" class="nofx" alt="Find Hills" /></a>{/has_findhills}
    </p>
    #_EVENTNOTES
    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    someone else had a similar problem, try adding a space between

    #_24HENDTIME and {/has_time}

    will fix this asap, but the suggestion above should get your placeholders working again in the meantime

    Thread Starter Beee

    (@beee)

    that does seem to fix the trick indeed, thanks… but what caused it ? No idea…

    btw i want to test if the plugin is activated, but don’t know which function to use (best), like this.

    if (function_exists( 'function_name' ))

    which function is best to use ?

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    I made a change to the regex rule in classes/em-event.php and em-location.php in the output function. Was meant to be an improvement… :\

    In pro, we use the plugins_loaded action and then run this check:

    if(defined('EM_VERSION')){
    //EM is active
    Thread Starter Beee

    (@beee)

    Basicly I want to have a notice on the top of the site if the events plugin is deactivated because that’s what the site mostly runs on.

    now I use this

    if ( !function_exists('em_init'))
    if (defined('EM_VERSION'))

    or

    if (!defined('EM_VERSION'))

    doesn’t seem to work

    Checking for EM_VERSION should work. Where are you running your check? Maybe you’re checking too soon.

    Thread Starter Beee

    (@beee)

    after wp_head before the site header.

    see my code on https://pastebin.com/KxZg0d65

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    this is now fixed in the dev version 5.4.2.1, there are a few bugfixes there so upgrading should be safe.

    info on upgrading – https://wp-events-plugin.com/documentation/upgrade-dev-version/

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘#_24HENDTIME echoed instead of parsed’ is closed to new replies.