Does anyone have any guidance or advice on how I can use the createBoard() function in Subs-Boards.php to create a bunch of boards automatically?
I am using my forum as a sort of informational/review resource in addition to just a forum because it would take me forever to write something that SMF can do very nicely. So I have a large number of boards to add. It was suggested to me that I may be able to write a script to take some existing data (board names) and call the createBoard() function to create the boards.
I have no idea how to do this. I'm not even sure what arguments the createBoard() function takes, what global associative array values need to be set, what db_insert_id() is (or where it is), or any of that.
Anyone have any pointers that can get me started in the right direction? Maybe I can write queries to do this instead of PHP script?
Documentation for this kind of stuff just doesn't exist, I'm afraid. Thanks.