How to convert data from SmartFAQ to plzXoo
TRANG CHỦ | TIN TỨC | DIỄN ĐÀN | BÀI VIẾT | DOWNLOADS | HỎI ĐÁP | TRỢ GIÚP flagflag
Tra từ điển
Menu chính
Tư liệu - Tiện ích
Đăng nhập
Bí danh:

Mật khẩu:



Lost Password?

Register now!
Thanks to
TOP  >  Xoops  >  How to convert data from SmartFAQ to plzXoo
Paste the following lines to SQL panel of phpmyadmin and 'Go'

TRUNCATE `xoops_plzxoo_category`;
TRUNCATE `xoops_plzxoo_question`;
TRUNCATE `xoops_plzxoo_answer`;

REPLACE INTO xoops_plzxoo_category (cid, pid, name, description, size, weight) SELECT categoryid, parentid, name, description, 1, weight FROM xoops_smartfaq_categories;

REPLACE INTO xoops_plzxoo_question (qid, cid, uid, subject, body, input_date, modified_date, priority, status, size, for_search) SELECT faqid, categoryid, uid, question, question, datesub, datesub, 1, 1, 1, '' FROM xoops_smartfaq_faq;

REPLACE INTO xoops_plzxoo_answer (aid, qid, uid, input_date, modified_date, body, comment, point) SELECT answerid, faqid, uid, datesub, datesub, answer, '', 0 FROM xoops_smartfaq_answers;

UPDATE xoops_smartfaq_answers s, xoops_plzxoo_question x SET x.for_search = s.answer WHERE x.qid = s.faqid;
Tell a friend
Votes:0 Average:0.00
Prev
Cách dùng Youtube trong XCL
top of the category
Xoops

Danh sách lời bình

Thảo luận mới
Giải trí - Cười
Copyright © 2005-2008 Nhatban.net. All Rights Reserved.