ZiNgA BuRgA
Fag
Posts: 3,357
Joined: Jan 2008
|
RE: Updating a plugin for extra functionality
Generally, it would be considered better for the plugin to pull threads on the day, rather than inserting events. The latter is generally considered to be adding redundancy, which usually isn't desired because it can introduce data inconsistencies.
For example, if the thread gets deleted, the system needs to delete the event. If the thread gets moved (to private forum)/unapproved, the system needs to modify the event, somehow, to reflect the change.
I would imagine that changing the calendar plugin to pull from threads rather than events (note, this is a replacement thing, which means that it will no longer display events) shouldn't be too difficult. I would think that most of it would be replacing references to the events table with the threads table, but I haven't seen the code so I can't really say much.
My Blog
|
|
08-04-2010 10:40 PM |
|