patrickb
07-10-2007, 07:40 AM
I've been looking into adding a thread manually to my vBulletin forum from my external CMS
I know about the datamanger and would use it if it weren't for the fact that I'm not using PHP for my CMS.
From what I've figured out, it should be possible to add a thread by simply adding the correct entries in the database.
Here is the workflow I've figured out.
Add new entry in the thread table
Retrieve threadid
Add new entry in the post table with threadid from previous step
Update entry in thread table with post id of previous step (for firstpostid and lastpostid)
Update the forum table with appropriate lasthread and lastpost information
Please tell me if i'm missing anything
I know about the datamanger and would use it if it weren't for the fact that I'm not using PHP for my CMS.
From what I've figured out, it should be possible to add a thread by simply adding the correct entries in the database.
Here is the workflow I've figured out.
Add new entry in the thread table
Retrieve threadid
Add new entry in the post table with threadid from previous step
Update entry in thread table with post id of previous step (for firstpostid and lastpostid)
Update the forum table with appropriate lasthread and lastpost information
Please tell me if i'm missing anything