MyBB Community Forums

Full Version: How to copy multiple subforums?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey all. Brand new user here.

I'm in the process of setting up my forums. I'm trying to figure out a way to copy subfolders. For example,

I have 5 forums of different model companies. In each forum I want to have the following child forums:

Automotive
Military
Naval
Science Fiction/Fantasy
Space
Other

Surely there is a way to create the company forums and then copy the above to each right?

Thanks for your help/patience,

John
Hi John,

If you're familiar with a database administration, then just copy the records of an existing forum and subforuns.
You can export a forum with subforums as a template.
Douplicate these SQL records. The only need is to change the ForumID (fid) to make all these forums unique - and change the type to "f" (forum) or "c" (categoery).
Then refresh the forumcache in ACP.
This should be the quickest SQL way.

Otherwise use the ACP to create the forums manually.

[ETS]
That's probably going to be messy when you considering having to populate permissions too.

Honestly, duplicating whole forum structures isn't a very common requirements, it would be much quicker and safer to add them in the ACP than try and do it in the database.