Jump to content

Recommended Posts

I'm making a convertor for a board program of mine and currently im makinga  convertor to move phpbb data over to my board.

now im stuck on their post system

they have everything in various tables and one item im trying to figure out is the topics.

ater a topic has been transfered over to my topic table i want to delete it but phpbb place their topics in the same spot as the posts, so i have to do this without double posting the topics and without deleting the replies.

anyone here got any ideas how i can go about this?

a huge thanks to anyone who helps(finish this and im done with the convertor)
Link to comment
https://forums.phpfreaks.com/topic/14186-need-your-advice-on-this/
Share on other sites

well theres too much to list here ;)

guess i could show you what i think might work:

[code]mysql_query("delete from ".$table_prefix."posts where topic_id='$row[topic_id]' and post_id < '$row[post_id]'") or die("Could not delete topics from phpbb.<br>". mysql_error());[/code]
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.