Support » Plugin: Events Made Easy » edit post till 3 days before event

  • Resolved mathi


    hi, thanx for this great plugin.
    my question is: how is it possible, that an user – who booked events and edit them, also cancel them – can book events till 0 days before event, but can cancel events only till 3 days before event. so he get a deadline to cancel for 3 days before event. hope you understand. thanx for help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Franky


    I would use contional tags to hide the cancel booking form, if the days to the event is less than X.
    For conditional tags, see:
    For the number of days till start: I added 2 placeholders you can use (will be in the next version), see:

    hi franky,
    thanx for the fast answer. i’m sure it will work! but, unfortunetly my skills are too less.

    this f.i. doesnt work:
    [events_if tag=’#ESC_REMOVEBOOKINGFORM_IF_REGISTERED’ eme_daydifference=3][/events_if] but was a beginning, and i want to learn.
    maybe something with: #_DAYS_TILL_START?

    i put the first change-elseif (till_start) to my events-manager.php.

    please help me again to fix this conditional tag. mathi.

    Plugin Author Franky


    Try this:

    [events_if tag='#_DAYS_TILL_START' gt=3]#_REMOVEBOOKINGFORM_IF_REGISTERED[/events_if]

    logic: only show the removebookingform (if registered) if the days_till_start is greater than 3

    hi franky,
    thank you again, it works a bit.:

    it displays ” #_REMOVEBOOKINGFORM_IF_REGISTERED ” on screen – but not the form, if the event is e.g. next week.
    it displays nothing (not the form/and not #_REMOVEBOOKINGFORM_IF_REGISTERED) in the next 3 days.

    and: if i set
    <p>#l, #j. #F #Y – #H:#i – #@H:#@i</p>
    [events_if tag=’#_DAYS_TILL_START’ gt=3]#_REMOVEBOOKINGFORM_IF_REGISTERED[/events_if]
    …it displays a removeform for the next 3 days and two forms for next week.

    do you have an idea again what is wrong? mathi.

    Plugin Author Franky


    Hmmm … wordpress is kinda picky with shortcodes: it needs a space before the “[“, like this:

    [events_if tag='#_DAYS_TILL_START' gt=3] #_REMOVEBOOKINGFORM_IF_REGISTERED [/events_if]

    That should work

    yep. that’s it!
    thank you very much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘edit post till 3 days before event’ is closed to new replies.