• Resolved dkrasko

    (@dkrasko)


    After reading as much as I could on the extra_conditions, I’m a bit confused.
    If I understand it, I can add valid query to the function using extra_conditions. I looked at this answer given in the support forum:

    $events = eme_get_events($o_limit, “future”, “ASC”, 0, “”, “”, “”, “”, 1, “”, 0, “event_rsvp=1”);

    For my extra_condition I would like to say “event_id IN (1,5,6)”
    Is this possible?
    If so can I pass it as a variable like $myextracondition ?
    Thanks for all your work on EME.

    https://www.ads-software.com/plugins/events-made-easy/

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

    (@liedekef)

    if you want to limit it to certain ID’s, you can indeed do that.
    And of course you can pass that string as a variable.

    Thread Starter dkrasko

    (@dkrasko)

    One last question, for the extra_condition to work, does the user have to be logged in? I was planning on using it with the ical feed.
    I currently have the link working using a sql statement and a separate set of functions to filter the feed. If the user does not have to be logged in to use the extra_condition, it would be much more elegant to use.

    Plugin Author Franky

    (@liedekef)

    The function is used where and how you decide it, no connection with being logged in or not.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘extra_condtions and eme_get_events’ is closed to new replies.