[外掛][管理模組]私人訊息管理模組 (Update 1.6.0)

MODs Released by Other phpbb Sites
非官方認證通過之 MOD ,或許有安全性之疑慮,所有問題由原發表者回覆!

版主: 版主管理群

主題已鎖定
頭像
godbless
竹貓忠實會員
竹貓忠實會員
文章: 647
註冊時間: 2002-05-17 06:02
來自: 台北市南京東路4段
聯繫:

[外掛][管理模組]私人訊息管理模組 (Update 1.6.0)

文章 godbless »

http://phpbb-tw.net/phpbb/viewtopic.php?t=13098

如前述:
這個是一個很陰險的,也是個很奸詐的後台管理模組,假使沒有必要的話,還是別安裝的好!
是在小弟我找尋全體PM的時候,不小心找到的東西!
請下載我已經中文化過後的版本:
下載點:
admin_prv_msgs.zip_v151_CHT.zip
作者首頁:
http://www.nivisec.com/

安裝方式:
將所有的資料都上傳上去\r
然後登入系統管理員身分執行nivisec_install.php便完成安裝了^^

[php]<?php
###############################################
## Hack Title: Admin Private Message Manager
## Hack Version: 1.5.1
## Author: Nivisec (support@nivisec.com)
## Description: An Admin panel plug-in that allows
## the management of Private Messages
## on the board. You may sort by
## a variety of options, delete any
## PMs you choose, or optionally archive
## them for later use.
##
## Compatibility: 2.0.4 - 2.0.6, php4
##
## Installation Level: Easy
## Installation Time: 3 minutes
##
## Author Notes:
## Once installed, you will have two new admin panel
## options under the "User Admin" area.
##
## You should add a clause to your user registration area
## saying you are using this hack, as well as alert current
## users you have installed it. Otherwise, this may be
## illegal according to the current ToS the user signed up
## for and your country of hosting.
##
## YOU MAY THINK YOU ARE SEEING MULTIPLE MESSAGES WHEN ALL\r
## FILTER IS BEING USED. This is not the case, phpBB creates
## two messages for each PM once it has been read. One for the
## reader and one for the sender.
##
## Support: http://www.phpbbhacks.com/forums
## Copyright: ?002-2003 Admin Private Message Manager 1.3x - Billy Sauls
##
###############################################
## You downloaded this hack from phpBBHacks.com, the #1 source for phpBB related downloads.
## Please visit http://www.phpbbhacks.com/forums for support.
###############################################
##
###############################################
## This hack is released under the GPL License.
## This hack can be freely used, but not distributed, without permission.
## Intellectual Property is retained by the hack author(s) listed above.
###############################################
## In the /goodies directory you can find:
## * version checker information
## * disabling the archive feature
## * disabling the show IPs feature
## * how to update from previous versions
###############################################
?>[/php]

[php]
<?php
/***************************************************************************
* $RCSfile: lang_admin_priv_msgs.php,v $
* -------------------
* begin : Tue January 20 2002
* copyright : (C) 2002-2003 Nivisec.com
* email : support@nivisec.com
*
* $Id: lang_admin_priv_msgs.php,v 1.8 2003/06/26 22:33:04 nivisec Exp $
*
*
***************************************************************************/

/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/

/* General */
$lang['Deleted_Message'] = '刪除私人訊息 - %s <br />'; // %s = PM title
$lang['Archived_Message'] = '儲存私人訊息 - %s <br />'; // %s = PM title
$lang['Archived_Message_No_Delete'] = '無法刪除 %s, 它已經被儲存在儲存夾內了 <br />'; // %s = PM title
$lang['Private_Messages'] = '私人訊息';
$lang['Private_Messages_Archive'] = '私人訊息儲存夾';
$lang['Archive'] = '儲存';
$lang['To'] = '給';
$lang['Subject'] = '主題';
$lang['Sent_Date'] = '發送日期';
$lang['Delete'] = '刪除';
$lang['From'] = '從';
$lang['Sort'] = '種類';
$lang['Filter_By'] = '搜尋引擎:';
$lang['PM_Type'] = 'PM 形式';
$lang['Status'] = '資格';
$lang['No_PMS'] = '沒有任何私人訊息符合你所選擇搜尋的種類';
$lang['Archive_Desc'] = '你所選擇的私人訊息會被表列儲存在這邊。 使用者將不能夠進入這些位置 (發信 及 回覆), 但是你可隨時觀看及刪除他們。';
$lang['Normal_Desc'] = '所有在你的討論版上面的私人訊息將會在這邊被妥善管理。 你可以閱讀你喜歡或是要刪除或是儲存(但是使用者將不能觀看)。';
$lang['Version'] = '版本';
$lang['Remove_Old'] = '無主訊息:</a> <span class="gensmall">已經被你的討論版刪除的使用者的私人訊息,這個選項將會將它們全數刪除。</span>';
$lang['Remove_Sent'] = '寄件備份內的訊息:</a> <span class="gensmall">放在寄件備份裡面的私人訊息,是已經被收件者閱讀過的私人訊息,你也可以在這個選項中將這些全數刪除。</span>';
$lang['Affected_Rows'] = '%d 則訊息已經被移除<br>';
$lang['Removed_Old'] = '移除所有無主訊息<br>';
$lang['Removed_Sent'] = '移除所有的寄件備份的訊息<br>';
$lang['Utilities'] = '集中刪除處理系統';
$lang['Nivisec_Com'] = 'Nivisec.com';

/* PM Types */
$lang['PM_-1'] = '所有形式'; //PRIVMSGS_ALL_MAIL = -1
$lang['PM_0'] = '已讀取的訊息'; //PRIVMSGS_READ_MAIL = 0
$lang['PM_1'] = '新的訊息'; //PRIVMSGS_NEW_MAIL = 1
$lang['PM_2'] = '傳送訊息'; //PRIVMSGS_SENT_MAIL = 2
$lang['PM_3'] = '在儲存夾的訊息(In)'; //PRIVMSGS_SAVED_IN_MAIL = 3
$lang['PM_4'] = '在儲存夾的訊息(Out)'; //PRIVMSGS_SAVED_OUT_MAIL = 4
$lang['PM_5'] = '未讀取的訊息'; //PRIVMSGS_UNREAD_MAIL = 5

/* Errors */
$lang['Error_Other_Table'] = '要求讀取必要的欄位錯誤';
$lang['Error_Posts_Text_Table'] = '要求讀取私人訊息內容欄位錯誤';
$lang['Error_Posts_Table'] = '要求讀取私人訊息欄位錯誤';
$lang['Error_Posts_Archive_Table'] = '要求讀取私人訊息儲存夾欄位錯誤';
$lang['No_Message_ID'] = '你沒有指定任何的訊息編號';


/*Special Cases, Do not bother to change for another language */
$lang['ASC'] = $lang['Sort_Ascending'];
$lang['DESC'] = $lang['Sort_Descending'];
$lang['privmsgs_date'] = $lang['Sent_Date'];
$lang['privmsgs_subject'] = $lang['Subject'];
$lang['privmsgs_from_userid'] = $lang['From'];
$lang['privmsgs_to_userid'] = $lang['To'];
$lang['privmsgs_type'] = $lang['PM_Type'];

?>[/php]
外掛問題區發問格式就在這裡,請務必一定照著格式來~!
你不照著規則來,就算是也搞不清楚你的問題在哪裡!
新手問問題不是罪惡
罪惡的是自己沒有先做好本分和功課,說話的口氣也不好,再加上態度有好像我們這群人欠你多少似的~~!!
竹貓星球發問規則:
http://phpbb-tw.net/phpbb/viewtopic.php?t=16149
發問比率最高的句子翻譯:
Please ensure both the install/ and contrib/ directories are deleted
請確認install和contrib資料夾已被刪除(奇怪,翻一下英漢字典有這麼困難嗎)
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8535
註冊時間: 2004-04-30 01:54
來自: Taiwan

[建議] 升級 1.6.0 版

文章 心靈捕手 »

以下是檔頭說明:

代碼: 選擇全部

##############################################################
## MOD Title: Admin Private Messages Manager
## MOD Author: nivisec < N/A > (Billy Sauls) http://www.nivisec.com
## MOD Description: An Admin panel plug-in that allows
##                  the management of Private Messages
##                  on the board.  You may sort by
##                  a variety of options, delete any
##                  PMs you choose, or optionally archive
##                  them for later use.
## MOD Version: 1.6.0
##
## Installation Level: (Easy)
## Installation Time: 3 Minutes
## Files To Edit: N/A
## Included Files: N/A
## License: http://opensource.org/licenses/gpl-license.php GNU Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
############################################################## ## Author Notes:
##     Once installed, you will have a new admin panel
##     option under the "User Admin" area called Private
##     Messages.
##
##     The MOD's options are readily available to change
##     from the bottom of the admin panel page.
##
##     You should add a clause to your user registration area
##     saying you are using this hack, as well as alert current
##     users you have installed it.  Otherwise, this may be
##     illegal according to the current ToS the user signed up
##     for and your country of hosting.
##
##     YOU MAY THINK YOU ARE SEEING MULTIPLE MESSAGES WHEN ALL
##     FILTER IS BEING USED.  This is not the case, phpBB creates
##     two messages for each PM once it has been read.  One for the
##     reader and one for the sender.
##############################################################
## MOD History:
##
##   2005-07-21 - Version 1.6.0
##			- Optimized queries, reducing on average the number by 50% during most operations.
##			- Preferences are now settable inside the mod, instead of editing the php file.
##			- Objectized the code some, but it is minimal until phpBB supports php5, as it
##			  would be a waste of time rewriting it all until then.
##			- No hassle install.  Just upload 4 files, done.  Options and the archive table
##			  will be created as needed.
##			- Fixed a problem with no addslashes() in an archiving query.
##			- Removed my version checker code to make things as speedy as possible.
##			- Now takes up only one menu item.  Archive mode/Normal mode is a toggle inside
##			  the main page.
##			- Added page navigation above and below the PM list.
##
##    Please see contrib/version_history.txt for the complete list.
##
##############################################################
[分享] 1.5.1 升級 1.6.0 方法:

1. 上傳 (覆蓋) 此外掛所有附加檔案.
2. 新增 (正體中文化) 語言檔代碼. (參考如下)
#
#-----[ OPEN ]-----
#
language/lang_chinese_traditional_taiwan/lang_admin_priv_msgs.php

#
#-----[ FIND ]-----
#

代碼: 選擇全部

?>
#
#-----[ BEFORE, ADD ]-----
#

代碼: 選擇全部

/* Added in 1.6.0 */
$lang['PM_View_Type'] = 'PM 顯示形式';
$lang['Show_IP'] = '顯示 IP 位址';
$lang['Rows_Per_Page'] = '每一頁顯示幾則訊息';
$lang['Archive_Feature'] = '啟用檔案庫模式';
$lang['Inline'] = '線上同步';
$lang['Pop_up'] = '彈出視窗';
$lang['Current'] = '目前';
$lang['Rows_Plus_5'] = '增加 5 則';
$lang['Rows_Minus_5'] = '減少 5 則';
$lang['Enable'] = '是';
$lang['Disable'] = '否';
$lang['Inserted_Default_Value'] = '%s 設定的項目不存在, 插入一個預設值<br />'; // %s = config name
$lang['Updated_Config'] = '已經更新 %s 的設定<br />'; // %s = config item
$lang['Archive_Table_Inserted'] = '檔案庫資料表不存在, 建立它<br />';
$lang['Switch_Normal'] = '使用一般的模式';
$lang['Switch_Archive'] = '使用檔案庫模式';
#
#-----[ SAVE & CLOSE ]------
#

--
題外話:
godbless 寫: 這個是一個很陰險的,也是個很奸詐的後台管理模組,假使沒有必要的話,還是別安裝的好!
事實上, 只要資料是儲存在資料庫裡頭, 身為系統管理員, 都絕對有能力可以查看到.
安裝此外掛, 只不過是增加其查閱 (管理) 私人訊息的方便而已.
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
主題已鎖定

回到「非官方認證外掛」