[教學]3秒安裝attach_mod_v2.3.10偷吃步

phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
9527
星球公民
星球公民
文章: 49
註冊時間: 2004-08-31 17:40

[教學]3秒安裝attach_mod_v2.3.10偷吃步

文章 9527 »

注意:此偷吃步只限於內建風格,想換風格,腳踏實地的用官方文件教學吧
改到我都吐了,因為我程度差


照原本的安裝法,我裝了三次都失敗(沒天份吧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執行結束
最後由 9527 於 2004-09-13 00:03 編輯,總共編輯了 4 次。
●架設主機作業系統:Windows Xp Pro
●快速架站程式:appserv-win32-2.4.0
●您的 phpBB2 版本:phpBB-2.0.10 + 官方正體中文語系 for phpBB v2.0.2
●風格:subSilver繁體中文版
evachris
星球普通子民
星球普通子民
文章: 11
註冊時間: 2004-09-01 16:48

文章 evachris »

請問大大
是不是照上面的步驟作完就可以換風格了呢?
如果可以,又要怎麼改呢?

謝謝
9527
星球公民
星球公民
文章: 49
註冊時間: 2004-08-31 17:40

文章 9527 »

evachris 寫:請問大大
是不是照上面的步驟作完就可以換風格了呢?
如果可以,又要怎麼改呢?

謝謝
你想3秒搞定,還是,寧可吐血也硬要改風格。(開玩笑的啦)

看這位大大的教學吧,很多人成功了,希望你也是\r

注意:此偷吃步只限於內建風格,想換風格,腳踏實地的用官方文件教學吧
改到我都吐了,因為我程度差
●架設主機作業系統:Windows Xp Pro
●快速架站程式:appserv-win32-2.4.0
●您的 phpBB2 版本:phpBB-2.0.10 + 官方正體中文語系 for phpBB v2.0.2
●風格:subSilver繁體中文版
evachris
星球普通子民
星球普通子民
文章: 11
註冊時間: 2004-09-01 16:48

文章 evachris »

預設風格有點....菜市場.... :oops:
女友也覺得有點沒變化
我想我可能要有心裡準備改到吐血了........
祝我成功吧 :evil:
evachris
星球普通子民
星球普通子民
文章: 11
註冊時間: 2004-09-01 16:48

文章 evachris »

終於改好了
現在試著發文都是正常的,
還有很多沒有試完,不過應該是可以的,
我的站
http://www.evachris.net/evabb/index.php
問題狂
竹貓忠實會員
竹貓忠實會員
文章: 1947
註冊時間: 2004-06-28 17:13

文章 問題狂 »

應該移至官方外掛推薦區!
flower
星球公民
星球公民
文章: 272
註冊時間: 2004-08-31 21:03
來自: 火星
聯繫:

文章 flower »

建議 嚴重警告: 那行字體大小可以跟第一行一樣\r
確保安裝的人有看到只限定沒裝過其它mod且風格是subSilver的才能適用
頭像
cchmark
星球公民
星球公民
文章: 40
註冊時間: 2004-12-24 15:09

文章 cchmark »

感謝提供,我試試看!
我還是無法attachment!不知能否提供相關之軟體,我得整個重安裝appserv,phpbb,attachment試試了!
=====【以下是我的測試配備】=====
●架設主機作業系統:Windows Xp Home Sp2
●快速架站程式:appserv-win32-2.4.2
●您的 phpBB2 版本:phpBB2 Plus 中文化檔1.52 and FIger based on phpBB 2.0.10
●您的 Attachment Mod 版本:attach_mod_v2.3.10
●風格:FI Subsilver Shadow
ps.我的軟體appserv,phpbb都是來自旗標出版社之WINDOWSXP架站王之光碟!
=====【以下是我的測試配備】=====
●架設主機作業系統:Windows Xp Home Sp2
●快速架站程式:appserv-win32-2.4.0
●您的 phpBB2 版本:phpBB2.011+正體中文按鈕+正體中文語系<<
●您的 Attachment Mod 版本:attach_mod_v2.3.10
●風格:subSilver
還是失敗!煩請提供phpBB-2.0.10 + 官方正體中文語系 for phpBB v2.0.2,謝謝大大!

Fatal error: Call to undefined function: get_var() in c:\appserv\www\phpbb2\admin\admin_extensions.php on line 539

Fatal error: Call to undefined function: is_imagick() in c:\appserv\www\phpbb2\admin\admin_attachments.php on line 874
最後由 cchmark 於 2005-01-11 10:24 編輯,總共編輯了 1 次。
JCC
星球公民
星球公民
文章: 63
註冊時間: 2005-01-07 14:51

文章 JCC »

我剛架了2.0.11的phpbb
啥外掛都沒加 風格也沒改\r
裝上這個後
沒有作用咧\r
進討論區看到正常\r
但沒附檔的地方\r
進管理區就整個一團亂~~~
有的地方是英文 有的沒有字
頭像
cchmark
星球公民
星球公民
文章: 40
註冊時間: 2004-12-24 15:09

文章 cchmark »

phpBB-2.0.10 + 官方正體中文語系 for phpBB v2.0.2 是否可提供我安裝?謝謝各位!
無限
星球普通子民
星球普通子民
文章: 6
註冊時間: 2005-01-11 16:11

文章 無限 »

我安裝之後是出現一堆的無字空位
然後有選項....這外掛到底是幹啥用的......裝了沒效果捏
linlnnnn
星球普通子民
星球普通子民
文章: 8
註冊時間: 2005-02-17 20:34

文章 linlnnnn »

我也是才剛安裝 PHPBB2 2.0.11 再用3秒架設法
也是看到一堆空白及英文
雖然後台是有 attach 的功能出現, 但不能動作
鳴~ 請解決的大大幫幫忙, 不然我又要重架一次了
主題已鎖定

回到「外掛問題討論」