Script to add multiple forums to the vB database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • juffa
    New Member
    • Feb 2004
    • 1

    Script to add multiple forums to the vB database

    I need to add a large number (200+) of subforums to the vBulletin database. Obviously entering them all in manually through the admin CP would be virtually impossible, so I'm trying to write an ASP/PHP script which does it automatically.

    So far I have a script which adds a record to the forum table with the following fields specified: title, styleid, displaylist, displayorder, daysprune, parentlist, and options.

    However, I'm having trouble--the forums I add using this script simply don't display (either on the forums themselves or in the admin CP). They are definitely in the database, and the data in each of the fields seems correct.

    Is there something I'm missing here? Do I need to modify something other than the forum table for this to work?

    Any advice would be fantastic. Cheers.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...