Quote:
Originally Posted by mdevour
Is there already a flag, bit field, variable, or something that I can use within the forumhome_forumbit_level1_nopost template to test whether the forum being displayed is being used as a category and has no subforums?
|
Okay, that's still my current quest.
Am I right to assume that the ..._nopost template is only going to be invoked when the forum is acting as a category, so I only need to test for the (non)existance of child forums?
Hmmm... Interesting stuff in /includes/adminfunctions_forums.php, plus there's fetch_child_forums in functions_misc.php, and build_forum_genealogy() in adminfunctions.php just to name a few.
Looks like there ought to be a field in forumcache I can test for "No there are no child forums."
Maybe I can figure out what forumcache["$forumid"]['childlist'] is filled with if it's not a parent forum...
Ack!! It's late and I'm tired. I have to start on this earlier in the day.
Mike D.