Sure you could. If you do it the easy way and just add a query in a plugin. If you are only displaying it on one page for the user, then that is probably not a big deal, but if you diplay it in the postbit (showthread) then that means one query added per postbit on each showthread. Default number of posts per thread is 20 (I think), so that is 20 extra queries per page. Not good. What you really should do is write a plugin that update a column in the user table (or another new table) for the forums you want to keep track of. You'd have to update it when posts are made, posts are deleted, posts are moved out of the forums, posts are merged, etc. But, if you don't want it in the postbit and only on a single page, writing a plugin with one query is probably not a big deal. If this is for a vbadvanced page though, you should probably ask over there for help cuz they are better able to suggest hook locations and template modifications.
|