[分享]PHPBB2.0.4 升級 PHPBB2 PLUS
發表於 : 2003-04-19 12:03
這是小弟第一次實做,還請各位大大多多指教
1.將PHPBB2的資料庫做備份<==這很重要,怕安裝失敗資料庫遺失
2.請先將PHPBB2 升級至 2.0.4版
(在竹貓裡有很多大大指導過,所以在這就不多升級做介紹)
3.請進入phpMyAdmin裡,你的資料庫位置\r
4.執行下列SQL語法(這裡以phpbb_ 作為示範)
phpbb_auth_access裡,執行
phpbb_forums裡,執行
phpbb_forums裡,執行
phpbb_groups裡,執行
phpbb_posts裡,執行
phpbb_privmsgs裡,執行
phpbb_topics裡,執行
phpbb_users裡,執行
5.接著刪除phpbb_themes和phpbb_themes_name兩項表單\r
6.使用phpMyAdmin將資料庫整個備份出來(輸出,資料與結構)
7.安裝新的PHPBB2 PLUS 1.0 版
(將資料檔頭設成跟你就資料庫一樣,此處以phpbb_為例)
8.安裝完成後使用phpMyAdmin進入plus資料庫裡,刪除下列資料表單\r
10.進入你的PLUS裡,將基本組態設定重新設定
安裝完成~~開始你的PLUS討論版囉
上面過程寫的有點亂
還請各位多包含 
1.將PHPBB2的資料庫做備份<==這很重要,怕安裝失敗資料庫遺失
2.請先將PHPBB2 升級至 2.0.4版
(在竹貓裡有很多大大指導過,所以在這就不多升級做介紹)
3.請進入phpMyAdmin裡,你的資料庫位置\r
4.執行下列SQL語法(這裡以phpbb_ 作為示範)
phpbb_auth_access裡,執行
代碼: 選擇全部
ALTER TABLE phpbb_auth_access ADD (
auth_download tinyint(1) NOT NULL default '0',
auth_ban tinyint(1) NOT NULL default '0',
auth_greencard tinyint(1) NOT NULL default '0',
auth_bluecard tinyint(1) NOT NULL default '0',
)代碼: 選擇全部
ALTER TABLE phpbb_forums ADD (
auth_download tinyint(2) NOT NULL default '0',
auth_ban tinyint(2) NOT NULL default '0',
auth_greencard tinyint(2) NOT NULL default '0',
auth_bluecard tinyint(2) NOT NULL default '0',
)代碼: 選擇全部
ALTER TABLE phpbb_forums ADD (
auth_download tinyint(2) NOT NULL default '0',
auth_ban tinyint(2) NOT NULL default '0',
auth_greencard tinyint(2) NOT NULL default '0',
auth_bluecard tinyint(2) NOT NULL default '0',
)代碼: 選擇全部
ALTER TABLE phpbb_groups ADD (
group_calendar_perm tinyint(1) unsigned NOT NULL default '0',
)代碼: 選擇全部
ALTER TABLE phpbb_posts ADD (
post_attachment tinyint(1) NOT NULL default '0',
post_icon tinyint(2) unsigned NOT NULL default '0',
post_bluecard tinyint(1) default NULL,
)代碼: 選擇全部
ALTER TABLE phpbb_privmsgs ADD (
privmsgs_attachment tinyint(1) NOT NULL default '0',
)代碼: 選擇全部
ALTER TABLE phpbb_topics ADD (
topic_attachment tinyint(1) NOT NULL default '0',
topic_icon tinyint(2) unsigned NOT NULL default '0',
)代碼: 選擇全部
ALTER TABLE phpbb_users ADD (
user_from_flag varchar(25) default NULL,
user_birthday int(11) NOT NULL default '999999',
user_next_birthday_greeting int(11) NOT NULL default '0',
user_gender tinyint(4) NOT NULL default '0',
user_lastlogon int(11) NOT NULL default '0',
user_totaltime int(11) default '0',
user_totallogon int(11) default '0',
user_totalpages int(11) default '0',
user_warnings smallint(5) default '0',
user_calendar_perm tinyint(1) unsigned NOT NULL default '0',
)6.使用phpMyAdmin將資料庫整個備份出來(輸出,資料與結構)
7.安裝新的PHPBB2 PLUS 1.0 版
(將資料檔頭設成跟你就資料庫一樣,此處以phpbb_為例)
8.安裝完成後使用phpMyAdmin進入plus資料庫裡,刪除下列資料表單\r
- phpbb_auth_access
phpbb_banlist
phpbb_categories
phpbb_config
phpbb_disallow
phpbb_forum_prune
phpbb_forums
phpbb_groups
phpbb_posts
phpbb_posts_text
phpbb_privmsgs
phpbb_privmsgs_text
phpbb_ranks
phpbb_search_results
phpbb_search_wordlist
phpbb_search_wordmatch
phpbb_sessions
phpbb_smilies
phpbb_topics
phpbb_topics_watch
phpbb_user_group
phpbb_users
phpbb_visit_counter
phpbb_vote_desc
phpbb_vote_results
phpbb_vote_voters
phpbb_words
10.進入你的PLUS裡,將基本組態設定重新設定
安裝完成~~開始你的PLUS討論版囉
上面過程寫的有點亂