• This plugin does exactly what I needed it to do. If I could, I would give it 4.5 stars solely based on the fact that there isn’t an easy way to use US dates when creating events. I tried editing the code myself but ended up with a “date() expects parameter 2 to be long, string given in…” error.

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

    (@guido07111975)

    Hi,

    Thanks for your review!

    If you want to change date in US format in backend too you should:

    1) Open file ‘vsel_datepicker’ located in folder folder ‘js’ and change dateformat into:

    {dateFormat: "yy-mm-dd"}

    2) Open file ‘vsel’ and change dateformat (2x) into:
    Y-m-d

    3) For frontend open files ‘vsel_shortcode’ and ‘vsel_past_events_shortcode’ and change dateformat into:
    F jS, Y (example: May 17th, 2015)

    I might update plugin to make it easier to change dateformat. But in that case I need to add a settingspage. So I am still thinking about this.

    Guido

    Thread Starter firstborn01

    (@firstborn01)

    Thanks for the response!

    I seem to have got it working. I occasionally get the error again on the “event’s” page but when I go in and re-select a date, it goes away. I’ll see if I can troubleshoot the problem a little more but it should work well enough for now.

    Thanks again for your help and your great plugin.

    Plugin Author Guido

    (@guido07111975)

    Hi,

    I don’t understand why you get this error, if you choose a date via datepicker or use today’s date everything should display fine. Only if you insert invalid characters it will display this error message. Strange.

    Guido

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