Jaxel
Well-known member
I'm trying to write an add-on which has postbit widgets, like medals. the widget information is stored in a database table and tend to reference specific usergroups. On a postbit call, it will query the database for all the medals, and recursively check to see if that user is a member of that medals usergroup. this all works well...
the problem comes in because the postbit is called 25 times on a page, once per post. and then if course the hook queries the database 25 times for medals. it's there a way to get around this issue?
the problem comes in because the postbit is called 25 times on a page, once per post. and then if course the hook queries the database 25 times for medals. it's there a way to get around this issue?