is this offer still available ?
Getting to the point where I might have to pay IPB 
Want to convert from http://mandrivausers.org/
is this offer still available ?
Getting to the point where I might have to pay IPB 
Want to convert from http://mandrivausers.org/
Hey, i will probably need to do a migration from IP Board v3.4.5 to Discourse at my job, any news about the import script? Would love to test it.
I wont promise that it will work for you, but I will try to clean it up and submit a PR in the next few days. If you have a budget, my contact info is in my profile.
I also need to do a migration from a bitrix based forum, so i’ll have to write a custom script anyway and figure out how all of this works, anything to save me some time would be extremely helpful. Thank you.
Here it is. The two sites that I imported with this code were wildly different. I hope that someone finds it useful.
Some version of this is in core now, so you probably don’t want to use what’s in the link above.
Können Sie mir sagen, wo sich das Importskript für ipboard Version 4 befindet?
Ich sehe im Repository nur Importskripte für ipboard und ipboard3.
Unterstützen Sie die Migration von ipboard4 zu Discourse?
Ich weiß es nicht. Ich vermute, dass das Skript ipboard.rb dasjenige ist, das man ausprobieren sollte; ich habe keine Ahnung, für welche Version von ipboard ich es geschrieben habe. Sie müssen es einfach mit Ihren Daten ausprobieren, um zu sehen, ob es funktioniert. Wie ich (vor Jahren) bereits sagte, waren die beiden Seiten, mit denen ich das ipboard-Skript ursprünglich ausprobiert habe, sehr, sehr unterschiedlich.
Wenn Sie an kostenpflichtigem Support interessiert sind, finden Sie weitere Informationen unter Redirecting…
Vielen Dank für die Antwort.
Ich habe es mit meinen Daten versucht, es kann nicht abgeschlossen werden, da es fehlschlägt.
Es versucht, die Tabelle „profile_portal“ zu finden, die in Version 4 nicht existiert.
Ich vermute, dass das Skript für ipb3 oder älter geschrieben wurde.
Ich werde über bezahlten Support nachdenken.
Hallo @pfaffman , Bitte lassen Sie mich wissen, ob Sie unterstützen können. Ich möchte aus v2.3.6 importieren und habe Probleme, die Themen mit forum_id zu verknüpfen, da diese Version keine hat. Können Sie mir bitte mitteilen, welche Tabelle den Wert zur Verknüpfung zwischen Thema und Forum speichert?
Dies ist, was ich jetzt für den Import von Themen habe. Es kann importieren, aber alle Themen gehen zu “nicht kategorisiert”.
def import_topics
puts "\n📌 Importing Topics..."
total_count = mysql_query("SELECT count(*) count FROM iBB_posts WHERE new_topic = 1;").first['count']
batches(BATCH_SIZE) do |offset|
discussions = mysql_query(<<-SQL
SELECT pid as tid, topic_id, post_title as title, post as raw,
FROM_UNIXTIME(post_date) as created_at, author_id
FROM iBB_posts
WHERE new_topic = 1
ORDER BY post_date ASC
LIMIT #{BATCH_SIZE} OFFSET #{offset};
SQL
).to_a
break if discussions.empty?
create_posts(discussions, total: total_count, offset: offset) do |discussion|
{
id: "topic-#{discussion['tid']}",
user_id: user_id_from_imported_user_id(discussion['author_id']) || Discourse::SYSTEM_USER_ID,
title: format_title(discussion['title']), # Ensure titles are properly formatted
raw: discussion['raw'],
created_at: discussion['created_at'],
post_number: 1
}
end
end
end
def format_title(title)
return "Untitled Topic" if title.nil? || title.strip.empty?
CGI.unescapeHTML(title)
end
def import_replies
puts "\n📌 Importing Replies..."
total_count = mysql_query("SELECT count(*) FROM iBB_posts WHERE new_topic = 0;").first['count']
batches(BATCH_SIZE) do |offset|
comments = mysql_query(<<-SQL
SELECT pid, topic_id, post as raw, FROM_UNIXTIME(post_date) as created_at, author_id
FROM iBB_posts
WHERE new_topic = 0
ORDER BY post_date ASC
LIMIT #{BATCH_SIZE} OFFSET #{offset};
SQL
).to_a
break if comments.empty?
create_posts(comments, total: total_count, offset: offset) do |comment|
topic_id = topic_lookup_from_imported_post_id("topic-#{comment['topic_id']}")
next unless topic_id
{
id: "post-#{comment['pid']}",
topic_id: topic_id,
user_id: user_id_from_imported_user_id(comment['author_id']) || Discourse::SYSTEM_USER_ID,
raw: comment['raw'],
created_at: comment['created_at']
}
end
end
end
Sie übergeben keine Kategorie an den Topic Creator, daher müssen Sie das beheben.
Ich werde, aber ich finde keine forum_id in der IPB-SQL-Datenbank, die ich verwenden kann.
Dann ist es unwahrscheinlich, dass Sie kostenlose Hilfe bei der Behebung erhalten. Ich denke, es gibt zwei weitere IPB-Importskripte; sie könnten einige Hinweise geben. Sie müssen sich nur in der Datenbank umsehen und sehen, wo sie es platzieren.
Wenn Sie ein Budget haben, können Sie sich Discourse Migration - Literate Computing ansehen. Wenn Sie mir ein Budget nennen, kann ich versuchen, es anzupassen.
Ich schätze die Antwort, aber ich suchte speziell nach technischer Anleitung zu dem Problem und nicht nach Serviceangeboten. Nochmals vielen Dank für die schnelle Antwort.
Es tut mir leid, dass ich die Struktur Ihrer Datenbank nicht kennen kann, ohne sie sehen zu können.
Alles, was ich Ihnen sagen kann und was ich Ihnen gesagt habe, ist, in der Datenbank nachzusehen, wo sich die Kategorie versteckt. Es muss ein Feld in dem Thema-Datensatz geben, das Sie übersehen. Manchmal ist es ein Link zu einer anderen Tabelle, die die Kategorie-ID enthält, und Sie müssen einen Join durchführen. Es hat wahrscheinlich nur einen Namen, den Sie nicht erwarten.