Page 1 of 1

Mass creation of topics (at once)

Posted: Thu Aug 19, 2010 8:06 pm
by veriberto
Is it possible to create a large number of topics at once?

For example, if I have a list of 100 topic titles which I want to be opened, how can I do this without having to create them all separately?

Thanks for any help or advice!

Re: Mass creation of topics (at once)

Posted: Thu Aug 19, 2010 8:10 pm
by Sam
Moved to MOD Writers.

Some people (Mod writers) use scripts to do such things for testing, perhaps they would be willing to share.

Re: Mass creation of topics (at once)

Posted: Mon Aug 23, 2010 8:52 am
by Ather
i'll 2nd this, could be handy alot of times

Re: Mass creation of topics (at once)

Posted: Mon Aug 23, 2010 12:33 pm
by daroPL
You can write a script that uses the method $db->sql_multi_insert().

Re: Mass creation of topics (at once)

Posted: Mon Aug 23, 2010 12:35 pm
by Erik Frèrejean
Have a look at the fill script that is included in the develop folder of phpBB development releases. IIRC there are some issues with it, but you can give it a go on a local testing environment. Do not use this script on a live server.