[外掛] Spam Words (過濾廣告詞)

Officially Approved MODs
由 phpBB Group 官方發展小組認證的 MOD!

版主: 版主管理群

版面規則
請注意!只有發表在 [2.0.x] MOD Database Releases 的外掛,才算是官方認證的外掛。
主題已鎖定
土老耄
星球普通子民
星球普通子民
文章: 13
註冊時間: 2006-02-09 07:00
來自: 華人天地
聯繫:

[外掛] Spam Words (過濾廣告詞)

文章 土老耄 »

最近常看到各大PHPBB論壇討論的垃圾廣告機器人的事情, 自己的論壇每天也被
這些機器人光顧, 有時候一兩個帖子, 有時候四五個, 那是非常討厭的. 自己曾經
試過不少防止機器人濫發信息的外掛, 都不太見效. 直到安裝完這個spam words
外掛. 情況明顯的減少了. 發上來和竹貓的朋友分享一下.

這個外掛的主要的功能是過濾或者屏蔽一些遊客或者機器人在論壇中發出的廣告
詞句. 管理員可以在後台增加一些廣告的詞句。當遊客/會員發表的文章中出現預
設的文字時,他的文章將會被屏蔽,或者在發出文章的時候收到錯誤信息。可能
說的不清楚, 還是看看下面的截圖吧!

圖檔

圖檔

圖檔

圖檔

lang_spamwords_admin.php檔案本來做了簡體中文的翻譯, 但實在翻譯的實
在不怎麼樣, 所以就不在這裡獻醜了. 如果不介意俺的爛翻譯的朋友可以到這裡下載

官方認證及下載連接: 點這裡

這個垃圾詞句的外挂只對英文的單詞有效。中文好像不大管用。主要是老外設計
的,他們沒考慮到中文字碼。我想主要的原因是英文的單字與單字之間有空格而
中文就沒有,所以無法令係統辨認。不知道有沒有這方面的高手大俠來指導一下?

代碼: 選擇全部

##############################################################
## MOD Title: Spam Words
## MOD Author: Joe Belmaati < belmaati@gmail.com > (Joe Belmaati) N/A
## MOD Description: Define some spam words in the ACP. When someone tries
## to post a defined spam word their post will not be entered into the
## database. Instead they will receive an error message. This could be
## handy for forums with guest posting where spam bots roam free. However,
## you may also specify that certain forums are exempt from the spam check.
##
## MOD Version: 1.1.3
##
## Installation Level: Intermediate
## Installation Time: 20 Minutes
## Files To Edit: (8)
##				posting.php,
##				viewforum.php,
##				viewtopic.php,
##				admin/admin_forums.php,
##				includes/constants.php,
##				includes/functions_post.php,
##				language/lang_english/lang_admin.php
##				templates/subSilver/admin/forum_edit_body.tpl
##
## Included Files: (13)
##				root/db_update.php
##				root/admin/admin_spamwords.php
##				root/admin/admin_spamwords_config.php
##				root/admin/admin_spamwords_flagged.php
##				root/admin/admin_spamwords_log.php
##				root/includes/spamwords.php
##				root/language/lang_english/lang_spamwords_admin.php
##				root/templates/subSilver/admin/spamwords_config_body.tpl
##				root/templates/subSilver/admin/spamwords_edit_body.tpl
##				root/templates/subSilver/admin/spamwords_flagged_body.tpl
##				root/templates/subSilver/admin/spamwords_list_body.tpl
##				root/templates/subSilver/admin/spamwords_list_body.tpl
##				root/templates/subSilver/admin/spamwords_mass_ad.tpl
##
## License: http://opensource.org/licenses/gpl-license.php GNU General 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: If you are going to run the SQL manually, then please
## remember to add your table prefix if other than phpbb_. For all intents and purposes it is
## probably easier to just run the root/db_update.php file. Upload it to your
## phpBB root directory and call it in your browser - then delete it.
##
## In the contrib folder you will find the code changes necessary to
## erase traces of posts that contain spamwords in the event that you
## choose to flag and hide posts instead of denying them.
##############################################################
## MOD History:
##
##   2006-11-30 - 1.1.3
##      - small bug fix
##
##   2006-11-13 - 1.1.2
##      - bug fix
##
##   2006-10-02 - 1.1.1
##      - bug fix
##
##   2006-09-24 - 1.1.0
##      - bug fixes
##      - added: mass ad words
##      - added: mass delete flagged posts
##      - added: ability to choose pm sender from list of admins
##
##   2006-01-28 - 1.0.2
##      - some bug fixes
##		- Flagged posts page now parses bbcode
##		- prevented ability to hide spam words by weaving in bbcode
##		- log page highlights spam words
##
##   2006-01-03 - 1.0.1
##      - resubmitted to phpBB mods database
##
##   2005-07-27 - 1.0.0
##      - submitted to phpBB mods database
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
最後由 土老耄 於 2006-12-09 14:53 編輯,總共編輯了 2 次。
歡迎到俺家坐坐
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8510
註冊時間: 2004-04-30 01:54
來自: Taiwan

Re: [外掛]Spam Words [垃圾詞句] 外挂

文章 心靈捕手 »

土老耄 寫:這個垃圾詞句的外挂只對英文的單詞有效。中文好像不大管用。主要是老外設計
的,他們沒考慮到中文字碼。我想主要的原因是英文的單字與單字之間有空格而中文就沒有,所以無法令係統辨認。不知道有沒有這方面的高手大俠來指導一下?
我猜想:
因為大部份利用 bot 發廣告信的都是以 '英文',
所以您安裝, 使用後, 覺得 '情況明顯的減少了'.

您應該是在 '推薦' 外掛,
若有使用上的問題, 則建議您,
依發文格式, 在適當版面提問.
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
主題已鎖定

回到「官方認證外掛」