I think the $foruminfo array comes from the forumcache and not from a read of the database, so if you can get the forumcache updated, it should include your new field. Otherwise you'd need to read your field from the database yourself.
If you edit any forum in the forum manager it should rebuild the cache, so you can try that to see if it works. If it does, there's a function called build_forum_permissions() that you could try calling in your install code. It takes one parameter, "rebuild_genealogy" which defaults to true, but I think it's a flag for something that you don't need to do so you can probably pass false to override it (you can see the function in file includes/adminfunctions.php).
|