FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » How to add thread manually to DB?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
How to add thread manually to DB? [message #27680] Tue, 20 September 2005 08:59 Go to previous message
Andriy is currently offline  Andriy   Russian Federation
Messages: 4
Registered: September 2005
Location: Kolomna, Russia
Karma:
Junior Member
I need to write script to import data from my old bulletin board (self written) to FUDforum. But i've met with an obstacle - i cant insert new threads manually to DB.
My actions:
1. Insert new record to prefix_thread table (associated with root_message).
2. Insert messages (root_message and others) to prefix_msg.
3. Write data to messages/msg_X0000 (where X is a forum_id)
4. Insert record to prefix_tv_X (where X is a forum_id).
But if i run script doing these actions, all threads in FUDforum disappear or dont appear.
Maybe i've missed something?

[Updated on: Tue, 20 September 2005 09:00]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Failed logins "password" in Action Log
Next Topic: CMS integration
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 15:07:12 GMT 2024

Total time taken to generate the page: 0.04334 seconds