1 頁 (共 1 頁)

[問題]我想將Snitz討論區的資料庫專換成PHPBB2.0

發表於 : 2002-03-29 22:07
MR.C
我有兩個討論區... 一個是snitz的討論區..
http://forum.snitz.com/forum/default.asp
一個是竹貓大大發表的phpbb20rc2版
那我想要將兩個資料庫中的文章合併..

所以剛剛找了一些檔案
有找到這個...
http://www.mraluca.go.ro/snitz2phpbb2convertor.zip

說明檔如下:

代碼: 選擇全部

Snitz v3.1 -> phpBB2 rc1
-----------------------

Requirements:
- Snitz 3.1 MySQL database
- phpBB2 rc1 MySQL database
- 15 free minutes

How to import
-------------

Step 1:
First you have to do a clean installation of phpBB2 rc1, because my scripts will alter only some of the tables (phpbb_categories, phpbb_forums, phpbb_users, phpbb_groups, phpbb_user_group, phpbb_posts, phpbb_posts_text and phpbb_topics);

Step 2:
Empty these tables:
-phpbb_categories
-phpbb_forums
-phpbb_groups
-phpbb_user_group
-phpbb_posts
-phpbb_posts_text
-phpbb_topics

Don't delete them, only empty :).

Delete from phpbb_users all entries EXCEPT the first one (anonymous user).

(yes, I can empty these tables myself but maybe somebody will not read these instructions before running scripts)

Step 3:
Now you have to make proper changes in config.php file (database name, username, password, table's names).

Step 4:
Run:
-members.php
-categories.php
-forums.php
-topics.php (RUN THIS BEFORE RUNNING posts.php)
-posts.php
    
Step 5:
Somebody must be administrator :) so you have to change the 'user_level' field from 'phpbb_users' table. Default value is 0. Change it into 1 and that user will be administrator.
      
Step 6:
Actually, that's all!

Notes
-----

If you want to convert from an Access database (.mdb) you can use MySQL ODBC driver to convert it into a MySQL database.

Contact
-------

You can send me bugs or questions at ralucam@rol.ro or ralucam@mail.com.

Raluca Musaloiu-E.
12 february 2002

但他說明中說到是for RC1的版本..

那我先將自己的想法說出..
就是先另外裝一個phpbbrc1
用他的程式..轉資料庫..
如果可跑..
在將rc1升級成rc2 後 直接用mysql指令將rc1跟我舊的rc2合併\r

這樣是否可行 :-o ?....因為心理毛毛的 :oops:

發表於 : 2002-03-29 22:10
小竹子
RC-1跟RC-2的資料庫架構不一樣耶

發表於 : 2002-03-29 22:14
MR.C
啊? :-o

但RC1可升級到RC2吧?...

我只會phpbb正著寫跟倒著寫...

沒什麼概念@@..

主要是轉換文章內容..
其他的欄位不管...
不知道這樣行不行

發表於 : 2002-03-29 22:17
小竹子
是可以升到RC-2
如果你直接升級
不知道會怎樣耶\r

不然你先備份然後升級試試看
但是失敗的機率一定蠻高的
^_^!!!

發表於 : 2002-03-29 23:25
CPY
可以試著用單機來升級看看~
ㄝ不用嘗試真ㄉ主機當掉滋味^O^

發表於 : 2002-05-11 19:14
splin
請問一下, Snitz Forums 2000 可以用上述轉換至 PHPBB 2.0 正式版嗎?

發表於 : 2005-08-31 02:09
阿維
請問phpBB 2.0.17要如何轉換啊?
因為有客戶要求從Snitz轉換成phpBB 2.0.17來使用\r
雖然轉換檔有更新版本,可是我不知道上面的步驟在說什麼\r
請問有前輩可以告訴我嗎?
檔案來源:\r
http://snitz2phpbb.sourceforge.net/

發表於 : 2005-08-31 14:06
Kill

發表於 : 2005-09-09 23:25
acyk
splin 寫:請問一下, Snitz Forums 2000 可以用上述轉換至 PHPBB 2.0 正式版嗎?
有~我已經轉換成功了

http://forums.jcms.com.tw/