- 前言
- 檔頭說明
- 中文化參考
- 修正經驗談
- 外掛下載
- 展示圖片
- 延伸功能\r
1. 前言:
如果, 您增加了許多版面, 或自行增加許\多選項,
那麼, 在控制台的預設版面管理權限設定介面,
在使用時, 可能會讓您覺得很頭大, 而倍感吃力.
目前, 經由搜尋, 在竹貓討論文章中, 有兩個解決方法:
- 將版面權限設定由橫式改為直式:
http://phpbb-tw.net/phpbb/viewtopic.php?p=138360#138360 - 將所有版面權限設定在一個頁面列表呈現:
http://phpbb-tw.net/phpbb/viewtopic.php?p=197385#197385
我個人以為, 真正實用的外掛, 應該是 Overall Forums Permission Interactive Editor
2. 檔頭說明:
代碼: 選擇全部
##############################################################
## MOD Title: Overall Forums Permission Interactive Editor
## MOD Author: yttrbium (overallforums@jaredgrubb.com)
## MOD Description: This mod allows you to set the permissions of all forums at the same time
## using a colorful, javascript-driven interface. The inspiration for this
## came from phpBBhack mod#486 of the name "overall forums permission".
## Note: Using this hack requires a recent browser (specifically that supports
## getElementById(); I would think anyone who is admin to a BB would probably
## have an adequate browser!
## MOD Version: 1.0.0
## Credits:
## The original mod, which I drew from for inspiration:
## [ #486: Overall Forums Permission ] - Smartor
##
## Special Thanks to:
## Erik Bosrup, http://www.bosrup.com/web/overlib/, for the overlib.js code
##
## Installation Level: easy
## Installation Time: 5 Minutes
## Files To Edit:
## language/lang_english/lang_admin.php
## Included Files: 30
##############################################################
這個外掛, 讓您在同一時間, 可以經由圖示, 設定所有版面各個選項的權限.
3. 中文化參考:
- 參照原安裝說明部分:
#
#-----[ OPEN ]---------------------------------------------
#
language/lang_chinese_traditional_taiwan/lang_admin.php
#
#-----[ FIND ]---------------------------------------------
# ps. 後面還有很長的程式碼\r
$lang['Forum_auth_explain'] =
#
#-----[ AFTER, ADD ]--------------------------------------
#
$lang['Forum_auth_explain_overall'] = '在這裡, 您可以設定每個版面, 各個選項中的會員等級.';
$lang['Forum_auth_explain_overall_edit'] = '先選定會員等級圖示, 再選定所有版面各個選項權限.';
$lang['Forum_auth_overall_restore'] = '還原設定';
$lang['Forum_auth_overall_stop'] = '停止編輯';
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM - 其他部分:
ps. 中文化後, 更節省版面寬度喔!#
#-----[ Open ]-----
#
admin/admin_overall_forumauth.php
#
#-----[ Find ]-----
#
$module['Forums']['Overall Permissions']
#
#-----[ Replace With ]-----
#
$module['Forums']['權限設定圖示']
#
#-----[ Open ]-----
# ps. subSilver 請自行修改為您的風格\r
templates/subSilver/admin/auth_overall_forum_body.tpl
#
#-----[ Find ]-----
#
<td class="cat" align="center" valign="middle"><span class="gen">View</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Read</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Post</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Reply</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Edit</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Del</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Sticky</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Ann</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Vote</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">Poll </span></td>
#
#-----[ Replace With ]-----
#
<td class="cat" align="center" valign="middle"><span class="gen">檢視</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">閱讀</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">發表</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">回覆</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">編輯</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">刪除</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">置頂</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">公告</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">投票</span></td>
<td class="cat" align="center" valign="middle"><span class="gen">票選系統</span></td>
4. 修正經驗談:
- [修正]安裝說明錯誤
原安裝說明:修正如下:代碼: 選擇全部
# #-----[ COPY ]-------------------------------------------- # copy auth_overall_forum_body.php to templates/subSilver/admin/auth_overall_forum_body.php # #-----[ COPY ]-------------------------------------------- # copy auth_overall_forum/admin_overall_forumauth.js to templates/subSilver/images/auth_overall_forum/admin_overall_forumauth.gif
代碼: 選擇全部
# #-----[ COPY ]-------------------------------------------- # copy auth_overall_forum_body.tpl to templates/subSilver/admin/auth_overall_forum_body.tpl # #-----[ COPY ]-------------------------------------------- # copy auth_overall_forum/admin_overall_forumauth.js to templates/subSilver/images/auth_overall_forum/admin_overall_forumauth.js
- [修正]圖示路徑錯誤
#
#-----[ Open ]-----
# ps. subSilver 請自行修改為您的風格\r
templates/subSilver/images/auth_overall_forum/admin_overall_forumauth.js
#
#-----[ Find ]-----
# ps. 有五個地方\r
../templates/wyosigs/images/auth_overall_forum/
#
#-----[ Replace With ]-----
# ps. 五個地方都要取代; subSilver 請自行修改為您的風格\r
../templates/subSilver/images/auth_overall_forum/
5. 外掛下載:
http://www.phpbbhacks.com/download/1589
6. 展示圖片:

7. 延伸功能:
多版面套用同一權限設定
http://phpbb-tw.net/phpbb/viewtopic.php?p=208498#208498