Re: Rate anything: new plugin in development, soliciting architecture advice
Boone, The images i’m talking about are from the BP Albums+ plugin (which soon will be upgraded to the gigantic BP Media plugin) which as no meta table for album photos.
If all you wanted was Average ratings across all objects, then another custom post type would be fine. but what i really want is total or average ratings for each single item (post, group, bp album image, forum post).
maybe a hybrid approach would work. For those objects that have a meta table, use that (groups, posts, users, etc.). And for those objects that don’t (bp album images) maybe create a ‘shadow’ custom post for each item.
yes, you are right, I should not be calculating this on the fly, although I it would be so much simpler if mysql did it on the fly using COUNT!