Hmm... I thought the solution would involve something similar to this piece of code:
Code:
$querylatest="SELECT * FROM thread WHERE forumid='1' OR forumid='2' OR forumid='3' OR forumid='4' OR forumid='5' OR forumid='6' OR forumid='8' OR forumid='11' OR forumid='12' OR forumid='13' ORDER BY lastpost DESC LIMIT $num_active";
That selects which forums to include (taken from the active topics hack). Now, I don't remember the exact syntax, but I thought there was a way to have a similar statement, only instead of explicitly specifying which forums to select, it could be written to select all forums except private ones. Well, I'd like to include private forums, but I thought that it could be modified so that it selected all forums except those that are off.
(I'm trying to avoid modifying the database, I haven't even backed it up yet and don't know how, and I'm uncomfortable messing with it. Besides, I think there must be a more elegant solution.)