Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 10 Jul 2007, 08:40
patrickb patrickb is offline
 
Join Date: Jun 2007
Adding a thread manually without PHP

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.
  1. Add new entry in the thread table
  2. Retrieve threadid
  3. Add new entry in the post table with threadid from previous step
  4. Update entry in thread table with post id of previous step (for firstpostid and lastpostid)
  5. Update the forum table with appropriate lasthread and lastpost information

Please tell me if i'm missing anything
Reply With Quote
  #2  
Old 12 Jul 2007, 07:03
patrickb patrickb is offline
 
Join Date: Jun 2007
Anybody?

Bump
Reply With Quote
  #3  
Old 12 Jul 2007, 08:35
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
I think that's pretty much the basics needed.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #4  
Old 12 Jul 2007, 08:36
patrickb patrickb is offline
 
Join Date: Jun 2007
Thanks
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:53.

Layout Options | Width: Wide Color: