PDA

View Full Version : Create Forums/SubForums using PHP Code


civil78
09-03-2013, 06:21 AM
Is it possible to create a new forum with PHP code?

I know that is possible to create thread/posts using PHP but how can I create a forum?

Thanks

ozzy47
09-03-2013, 09:13 AM
Why would you want to do that instead of doing it in the ACP?

civil78
09-03-2013, 09:58 AM
We are a forum that we discuss about TV Shows and we create different forum for each show. It's better to have that organized instead the manual creation. We build a custom organized system for that and we take also external information for each show.

I see the code in admincp/forum.php (on $_POST['do'] == 'update') and seams little be easy, I just have to detect all "options". But is someone have a code that it’s working without problems it would be good.

P.S. Did you know if we have a lot of forums/subforum it will be a problem for cpu load?