[教學]3秒安裝attach_mod_v2.3.10偷吃步
發表於 : 2004-09-09 22:39
注意:此偷吃步只限於內建風格,想換風格,腳踏實地的用官方文件教學吧
改到我都吐血了,因為我程度差
照原本的安裝法,我裝了三次都失敗(沒天份吧T_T),因為我使用Macinscott2風格,並沒有一一修改檔案當中的subSilver - Macinscott2,所以失敗。
修改過米酒大大後的版本,只要3秒就搞定了,他那篇教學有人也提供這樣的檔案,但下載點失效了,我就一樣畫葫蘆,再做一次修改。
測試過了,的確很方便也很快速。所以,分享給像我一樣失敗多次又懶的再試的人吧,算是報答前人耐心的教導吧.ccc。
<<僅供參考>>
嚴重警告:必須沒有安裝其他mod才能使用,還有,您的template一定要用phpBB-2.0.10內建的【subSilver】唷。
=====【以下是9527測試配備】=====
●架設主機作業系統:Windows Xp Pro
●快速架站程式:appserv-win32-2.4.0
●您的 phpBB2 版本:phpBB-2.0.10 + 官方正體中文語系 for phpBB v2.0.2
●您的 Attachment Mod 版本:attach_mod_v2.3.10
●風格:subSilver 繁體中文版
=====【以下是修改過米酒大大在竹貓星球發的原始教學的9527更新版】=====
NO.1
先下載檔案三秒鐘安裝上傳附加檔案模組Attachment Mod V2.3.10.exe
網站位置1:http://210.58.144.30/software/3sec_setu ... 2.3.10.exe
網站位置2:http://home.pchome.com.tw/soho/marshall ... 2.3.10.exe
NO.2
放到phpBB2根目錄下,並【執行】3sec_setup_Attachment_Mod_V2.3.10.exe
NO.3
執行第一個批次檔(SETUP.BAT)。
第一個批次檔(SETUP.BAT)內容:
接著,開啟瀏覽器輸入下列網址
http://你的網址/phpBB2/install/mod_table_inst.php
如果你在建立時資料庫沒發生錯誤的話,請繼續執行下一支批次檔FINAL.BAT
第二個批次檔(FINAL.BAT)內容:
改到我都吐血了,因為我程度差
照原本的安裝法,我裝了三次都失敗(沒天份吧T_T),因為我使用Macinscott2風格,並沒有一一修改檔案當中的subSilver - Macinscott2,所以失敗。
修改過米酒大大後的版本,只要3秒就搞定了,他那篇教學有人也提供這樣的檔案,但下載點失效了,我就一樣畫葫蘆,再做一次修改。
測試過了,的確很方便也很快速。所以,分享給像我一樣失敗多次又懶的再試的人吧,算是報答前人耐心的教導吧.ccc。
<<僅供參考>>
嚴重警告:必須沒有安裝其他mod才能使用,還有,您的template一定要用phpBB-2.0.10內建的【subSilver】唷。
=====【以下是9527測試配備】=====
●架設主機作業系統:Windows Xp Pro
●快速架站程式:appserv-win32-2.4.0
●您的 phpBB2 版本:phpBB-2.0.10 + 官方正體中文語系 for phpBB v2.0.2
●您的 Attachment Mod 版本:attach_mod_v2.3.10
●風格:subSilver 繁體中文版
=====【以下是修改過米酒大大在竹貓星球發的原始教學的9527更新版】=====
NO.1
先下載檔案三秒鐘安裝上傳附加檔案模組Attachment Mod V2.3.10.exe
網站位置1:http://210.58.144.30/software/3sec_setu ... 2.3.10.exe
網站位置2:http://home.pchome.com.tw/soho/marshall ... 2.3.10.exe
NO.2
放到phpBB2根目錄下,並【執行】3sec_setup_Attachment_Mod_V2.3.10.exe
NO.3
執行第一個批次檔(SETUP.BAT)。
第一個批次檔(SETUP.BAT)內容:
代碼: 選擇全部
echo [ NO.4 ] 在PHPBB2根目錄下建立建一個目錄"files",並在attach_mod下在建一個目錄"includes"
md attach_mod\includes
md files
echo [ NO.5 ]
echo 開始安裝您的上傳附加檔案模組
echo ======SETUP.BAT執行開始
echo -------拷貝共同檔案開始------------------
copy attach_mod
oot\download.php download.php
copy attach_mod
oot\uacp.php uacp.php
copy attach_mod
oot\admin\admin_attach_cp.php admin\admin_attach_cp.php
copy attach_mod
oot\admin\admin_attachments.php admin\admin_attachments.php
copy attach_mod
oot\admin\admin_extensions.php admin\admin_extensions.php
copy attach_mod
oot\attach_rules.php \attach_rules.php
copy attach_mod
oot\attach_mod\attachment_mod.php attach_mod\attachment_mod.php
copy attach_mod
oot\attach_mod\displaying.php attach_mod\displaying.php
copy attach_mod
oot\attach_mod\index.htm attach_mod\index.htm
copy attach_mod
oot\attach_mod\pm_attachments.php attach_mod\pm_attachments.php
copy attach_mod
oot\attach_mod\posting_attachments.php attach_mod\posting_attachments.php
copy attach_mod
oot\attach_mod\includes\constants.php attach_mod\includes\constants.php
copy attach_mod
oot\attach_mod\includes\functions_admin.php attach_mod\includes\functions_admin.php
copy attach_mod
oot\attach_mod\includes\functions_attach.php attach_mod\includes\functions_attach.php
copy attach_mod
oot\attach_mod\includes\functions_delete.php attach_mod\includes\functions_delete.php
copy attach_mod
oot\attach_mod\includes\functions_filetypes.php attach_mod\includes\functions_filetypes.php
copy attach_mod
oot\attach_mod\includes\functions_includes.php attach_mod\includes\functions_includes.php
copy attach_mod
oot\attach_mod\includes\functions_selects.php attach_mod\includes\functions_selects.php
copy attach_mod
oot\attach_mod\includes\functions_thumbs.php attach_mod\includes\functions_thumbs.php
copy attach_mod
oot\attach_mod\includes\index.htm attach_mod\includes\index.htm
copy attach_mod
oot\files\index.php files\index.php
copy attach_mod
oot\images\icon_clip.gif images\icon_clip.gif
copy attach_mod
oot\images\icon_disk.gif images\icon_disk.gif
copy attach_mod
oot\images\icon_disk_gray.gif images\icon_disk_gray.gif
echo -------拷貝共同檔案結束------------------
echo -------拷貝繁體中文語言檔案開始------------------
md language\lang_chinese_traditional_taiwan
copy attach_mod
oot\language\lang_chinese_traditional_taiwan\*.* language\lang_chinese_traditional_taiwan\
echo -------拷貝繁體中文語言檔案結束------------------
echo ------- 拷貝subSilver風格檔案開始------------------
copy attach_mod
oot\templates\subSilver\add_attachment_body.tpl templates\subSilver\add_attachment_body.tpl
copy attach_mod
oot\templates\subSilver\posted_attachments_body.tpl templates\subSilver\posted_attachments_body.tpl
copy attach_mod
oot\templates\subSilver\posting_attach_body.tpl templates\subSilver\posting_attach_body.tpl
copy attach_mod
oot\templates\subSilver\\posting_attach_rules.tpl templates\subSilver\posting_attach_rules.tpl
copy attach_mod
oot\templates\subSilver\uacp_body.tpl templates\subSilver\uacp_body.tpl
copy attach_mod
oot\templates\subSilver\viewtopic_attach_body.tpl templates\subSilver\viewtopic_attach_body.tpl
copy attach_mod
oot\templates\subSilver\admin\attach_cat_body.tpl templates\subSilver\admin\attach_cat_body.tpl
copy attach_mod
oot\templates\subSilver\admin\attach_cp_attachments.tpl templates\subSilver\admin\attach_cp_attachments.tpl
copy attach_mod
oot\templates\subSilver\admin\attach_cp_body.tpl templates\subSilver\admin\attach_cp_body.tpl
copy attach_mod
oot\templates\subSilver\admin\attach_cp_search.tpl templates\subSilver\admin\attach_cp_search.tpl
copy attach_mod
oot\templates\subSilver\admin\attach_cp_user.tpl templates\subSilver\admin\attach_cp_user.tpl
copy attach_mod
oot\templates\subSilver\admin\attach_extension_groups.tpl templates\\subSilver\admin\attach_extension_groups.tpl
copy attach_mod
oot\templates\subSilver\admin\attach_extensions.tpl templates\subSilver\admin\attach_extensions.tpl
copy attach_mod
oot\templates\subSilver\admin\attach_forbidden_extensions.tpl templates\subSilver\admin\attach_forbidden_extensions.tpl
copy attach_mod
oot\templates\subSilver\admin\attach_manage_body.tpl templates\subSilver\admin\attach_manage_body.tpl
copy attach_mod
oot\templates\subSilver\admin\attach_quota_body.tpl templates\subSilver\admin\attach_quota_body.tpl
copy attach_mod
oot\templates\subSilver\admin\attach_shadow.tpl templates\subSilver\admin\attach_shadow.tpl
copy attach_mod
oot\templates\subSilver\admin\extension_groups_permissions.tpl templates\subSilver\admin\extension_groups_permissions.tpl
echo ------- 拷貝subSilver風格檔案結束------------------
echo ------- 拷貝Macinscott2風格檔案開始------------------
copy attach_mod
oot\\templates\Macinscott2\add_attachment_body.tpl templates\Macinscott2\add_attachment_body.tpl
copy attach_mod
oot\templates\Macinscott2\posted_attachments_body.tpl templates\Macinscott2\posted_attachments_body.tpl
copy attach_mod
oot\templates\Macinscott2\posting_attach_body.tpl templates\Macinscott2\posting_attach_body.tpl
copy attach_mod
oot\templates\Macinscott2\posting_attach_rules.tpl templates\Macinscott2\posting_attach_rules.tpl
copy attach_mod
oot\templates\Macinscott2\uacp_body.tpl templates\Macinscott2\uacp_body.tpl
copy attach_mod
oot\templates\Macinscott2\viewtopic_attach_body.tpl templates\Macinscott2\viewtopic_attach_body.tpl
copy attach_mod
oot\templates\Macinscott2\admin\attach_cat_body.tpl templates\Macinscott2\admin\attach_cat_body.tpl
copy attach_mod
oot\templates\Macinscott2\admin\attach_cp_attachments.tpl templates\Macinscott2\admin\attach_cp_attachments.tpl
copy attach_mod
oot\templates\Macinscott2\admin\attach_cp_body.tpl templates\Macinscott2\admin\attach_cp_body.tpl
copy attach_mod
oot\templates\Macinscott2\admin\attach_cp_search.tpl templates\Macinscott2\admin\attach_cp_search.tpl
copy attach_mod
oot\templates\Macinscott2\admin\attach_cp_user.tpl templates\Macinscott2\admin\attach_cp_user.tpl
copy attach_mod
oot\templates\Macinscott2\admin\attach_extension_groups.tpl templates\Macinscott2\admin\attach_extension_groups.tpl
copy attach_mod
oot\templates\Macinscott2\admin\attach_extensions.tpl templates\Macinscott2\admin\attach_extensions.tpl
copy attach_mod
oot\templates\Macinscott2\admin\attach_forbidden_extensions.tpl templates\Macinscott2\admin\attach_forbidden_extensions.tpl
copy attach_mod
oot\templates\Macinscott2\admin\attach_manage_body.tpl templates\Macinscott2\admin\attach_manage_body.tpl
copy attach_mod
oot\templates\Macinscott2\admin\attach_quota_body.tpl templates\Macinscott2\admin\attach_quota_body.tpl
copy attach_mod
oot\templates\Macinscott2\admin\attach_shadow.tpl templates\Macinscott2\admin\attach_shadow.tpl
copy attach_mod
oot\templates\Macinscott2\admin\extension_groups_permissions.tpl templates\Macinscott2\admin\extension_groups_permissions.tpl
echo ------- 拷貝Macinscott2風格檔案結束------------------
echo 您的上傳附加檔案模組安裝結束
echo [ NO.6 ]
echo 拷貝安裝料庫檔案開始
md install
copy attach_mod
oot\install\mod_table_inst.php install\mod_table_inst.php
md install\schemas\
copy attach_mod
oot\install\schemas\attach_mysql_schema.sql install\schemas\attach_mysql_schema.sql
copy attach_mod
oot\install\schemas\attach_mysql_basic.sql install\schemas\attach_mysql_basic.sql
echo 拷貝安裝料庫檔案結束
echo ======SETUP.BAT執行結束
echo [ NO.7 ] 執行下面網址(建立資料庫)。
echo http://你的網址/phpBB2/install/mod_table_inst.php
http://你的網址/phpBB2/install/mod_table_inst.php
如果你在建立時資料庫沒發生錯誤的話,請繼續執行下一支批次檔FINAL.BAT
第二個批次檔(FINAL.BAT)內容:
代碼: 選擇全部
echo ======FINAL.BAT執行開始
echo [ NO.8 ] 複製attach_mod\contrib\phpbb_attach\*.*到phpbb的安裝目錄下,全部覆蓋(因為覆蓋,所以你如果有加裝其他mod,將會全部不見)
xcopy attach_mod\contrib\phpbb_attach\*.* \ /s
echo [ NO.9 ] 刪除attach_mod下的contrib目錄及root\install目錄
rd attach_mod\contrib /s/q
rd contrib /s/q
rd install /s/q
echo 大功完成,一個檔案都不需動手去改
echo ======FINAL.BAT執行結束