You can do this using zero query!
Build an item in the datastore that contains, threadid, title and forumid for each thread. and ask for the datastore item via init_startup.
You will use 1 query to fetch the datastore item, and if you have another mods that pull datastore items via init_startup, you will use zero query.
I was thinking about writing a similar hack. but for now I'll mark this as installed until you reduce the queries to the lowest possible number.
Regards
|