Browse > Home / development, plugins / Marking a post as an event - a clarification

| Subcribe via RSS

Marking a post as an event - a clarification

July 17th, 2008 Posted in development, plugins

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

So far I’ve not had many error or bug reports for the Vent system, hopefully that is because it is simple to use rather than people just giving up and uninstalling it. A few questions have come up, however so I thought I would take five minutes to clarify one or two things.

Can a post be both a post and an event?

Once a post is identified as an event it is taken out of the normal blog hierarchy as
it’s status is changed from “post” to “event” and thus isn’t picked up by the
standard WordPress Loop query that is used to populate the blog. So a post can not be
an Event AND a Post at the same time.

Do I need to enter an end date?

You don’t need to enter an end date for the system to work. It is only “really”
required if you want to ensure that the generated hCalendar microformats are correct
for people who are going to export the event to a calendar application. An event
without an end date will still export but will default (depending on the calendar
application) to a 30 minute event.

Why does the system default to being disabled after I’ve activated it?

The Vent system starts in a disabled state for two reasons. Firstly, when it is first activated it doesn’t know what criteria you want to use to identify an event. If it was enabled from the start then it would mark ALL future posts as events from that point onwards.

Secondly, the Vent plugin is designed to also run in WordPress MU as well as the standard WordPress. In WordPress MU ALL plugins are activated by default. So if a user doesn’t want to use the Vent system they can disable it from within the settings page (WordPress MU users don’t have access to the plugins page).

Only when in an enabled state does the Vent system “Hook” into WordPress and start checking posts. So a disabled Vent system should have little to no processing overhead on a blog (or multiple blogs in WordPress MU’s case).

4 Responses to “Marking a post as an event - a clarification”

  1. Andrea Says:

    Hmmm.. would this be a good stand-in or substitute for a sticky post?


  2. Barry Says:

    @Andrea: A sticky post with an expiry date :) All you’d need to do is hide the hCalendar box in the settings and change the style to not display the “Next Event” banner.


  3. Mattias Says:

    I just fund this plugin and it sounds great. I have installed it but cant get it to work. There is no save button in the bottom of the screen


  4. Barry Says:

    @Mattias: Can you let me know what browser you are using and what version of WordPress. As stated in a previous comment you can save the details by pressing the Return or Enter when on one of the fields in the options page.


Leave a Reply

Tags:
Separate individual tags by commas