Kunena 6.3.0 released

The Kunena team has announce the arrival of Kunena 6.3.0 [K 6.3.0] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 and issues discovered during the last development stages of K 6.3

Question Vbulletin to Kunena, jos_fb_messages

More
14 years 2 months ago #1 by dany31
Hi :)

Sorry for my english, i'm french.

I'm migrating VBulletin to Kunena.

In VB, in "post" table, i have this fields
postid threadid parentid


in Kunena

id parent thread catid


What is exactly the correspondance ?

ok postid --> id

threadid --> thread ?

parentid --> ??????

Thanks for your support,

Dany

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #2 by Matias
postid => id
parentid => parent
threadid => thread

catid can be found in another table (threads(?) table, most likely threadid(?))

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago - 14 years 2 months ago #3 by dany31
thanks Matias :)

have you already migrate vbulletin to kunena ?

I have few problem with post migration :(

I can migrate posts, but next,I think there are a problem with id, thread or parent.. When I click on post (right panel, last post etc..) Kunena do not link to post id but to post thread.

For example, if

post id = 20000
parent = 19850
thread = 8600

Kunena try to search post #8600

But in jos_fb_messages table, id parent and thread are corrects (copied from postid, parentid and threadid from vbulletin)
Last edit: 14 years 2 months ago by dany31. Reason: age

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #4 by Matias
I'm not familiar with VB; I haven't even used it much.

And yes, Kunena does just like that. You need to fetch first message of that thread and that will be your threadid in kunena.

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #5 by dany31
hmm ok..


and thread = parent in Kunena ?

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #6 by Matias
No. Parent looks the same as in VB. It's the post you answered to (reply/quote).

So to map thread from VB to Kunena, you need to look at the threads table and to find first message. That first message = thread in Kunena.

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #7 by dany31
ok Matias, thank you very much :)

Do you know mysql command to copy record ? for example to populate jos_fb_messages_text with id and text from vb table. For the moment I use export/import in csv but if is possible with mysql, is faster... sorry for my english, I hope you can understand

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #8 by xillibit
Hello,

I don't know what you mean by copy record, but for insered something in a table use the sql instruction :
Code:
INSERT INTO my_table (col1,col2) VALUES(15,'texteeazrteaz');

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #9 by dany31
thanks xillibit, ok with you, but I would want to insert records from other table.

For example :

TABLE_1

'id' 'content'
1 content1
2 content2
3 content3
4 content4


TABLE_2
'id' 'content' 'other field' 'other field'
table is empty


I have tried this
INSERT INTO table_1 (id,content) VALUES (SELECT id,content FROM table_2)

But this not works

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #10 by xillibit
In this point, you need a php script to do that, i don't know if you have php skills. You need to do something like that :
Code:
$my_datas = "SELECT id,content FROM table_2"; //if you using the joomla! framework you a $mydatabase->loadObjectList () foreach ($my_datas as $row) { INSERT INTO table_1 (id,content) VALUES ($row->id,$row->content) }

This is just an example and it's not complete

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

Time to create page: 0.499 seconds