Kunena 7.0.4 Released

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

Question Vbulletin to Kunena, jos_fb_messages

More
16 years 2 months ago #39338 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
16 years 2 months ago #39371 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
16 years 2 months ago #39373 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
16 years 2 months ago #39376 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.

More
16 years 2 months ago #39377 by dany31
ok thank you very much, I will try this method !

Hard job but very interesting..

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

Time to create page: 0.369 seconds