Log in

View Full Version : question, custom inserting into database


willms_jay
05-26-2003, 10:19 PM
question.

My hack inserts threads automatically into the vbulletin database, and also adds a pool automatically. I want to know if I've done it right.

I insert into the thread table, then i get the last inserted id, then I insert into the post table, and put the content i want in there. lastly, i insert into the poll table.

This wouldn't cause anything drastic to happen would it? Like database corruption or anything like that?

..jordan willms

filburt1
05-26-2003, 10:26 PM
You should technically also update the searchindex and word tables but what you're doing will work, anyway.