[EventCalendar] Two noob Qs: sched format, delete old entries

Rick Boatright rboatright at gmail.com
Fri Feb 13 04:28:52 UTC 2009

that's the version 3.2dev look,  you probably downloaded 3.1.4

On Thu, Feb 12, 2009 at 7:08 PM, <rcurzon at spamcop.net> wrote:

> Q1:
> I looked at EV3 just before I dived into putting a blog together for a
> friend.
> I liked the look of the schedule in the post: a calendar pad look, with
> large numerals.  And an expired date was faded and gray.  Pretty neat...
> But now I have the blog implemented it looks much blander: a table with a
> date on the first row, time on the second row.  Fonts are simple, no large
> numeral.  And the past dates now look the same as future dates.
> What are the dependencies that can make that happen?  I didn't change any
> code in the calendar... I am using the INOVE template if that's a factor...
> -----
> Q2:
> I want to write some SQL that cleans up old events, something like:
> DELETE FROM `wp_ec3_schedule` WHERE end < current_date()-2
> I.e. get rid of events over 2 days old.
> Since I don't know the framework, best to ask: "where's the best place to
> run that code?"  I don't mind running it each time somebody comes in, it's a
> low volume blog.
> --- suggestions:
>  - automate that old item cleanup ... maybe a config option
>  - think about how to implement an "every Tuesday" indefinitely.  Same with
> other intervals: third Friday of the month, every other week, birthdays,
> etc.  Doesn't seem it could be too hard.  Every time you show the calendar,
> just review those settings and display a link to the right post on the
> corresponding date?
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20090212/04276b0e/attachment.html

More information about the EventCalendar mailing list