[外掛] Anti-bot Guest Post Mod (防止訪客機器人發文) (Update 1.1.0)

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

版主: 版主管理群

版面規則
請注意!只有發表在 [2.0.x] MOD Database Releases 的外掛,才算是官方認證的外掛。
主題已鎖定
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8643
註冊時間: 2004-04-30 01:54
來自: Taiwan

[外掛] Anti-bot Guest Post Mod (防止訪客機器人發文) (Update 1.1.0)

文章 心靈捕手 »

檔頭說明:

代碼: 選擇全部

##############################################################
## MOD Title: Anti-bot Guest Post Mod
## MOD Author: otseng < N/A > (Oliver Tseng) http://debatingchristianity.com
## MOD Description: This MOD makes it a little bit harder 
##                  for a robot to make an anonymous posting.  
##                  It will ask to select a dropdown to confirm
##                  an anonymous post.
##
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: <5 Minutes
## Files To Edit:
##               posting.php
##               templates/subSilver/posting_body.tpl
##               language/lang_english/lang_main.php
## Included Files: n/a
## 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:
##
##   The MOD will install using EasyMOD
##
##   MOD dev thread:
##   http://www.phpbb.com/phpBB/viewtopic.php?t=264103
##
##   This MOD was in response to the following topic:
##   http://www.phpbb.com/phpBB/viewtopic.php?t=263469
##					
##   Demo is available at:
##   http://debatingchristianity.com/forum/viewtopic.php?t=1300
##
##############################################################
## MOD History:
##
##   2005-02-17 - Version 0.0.1
##  	- Beta release
##
##   2006-01-20 - Version 1.0.0
##  	- General release
##
##   2006-01-25 - Version 1.0.1
##  	- Replaced hard coded values
##
############################################################## 
外掛描述:
此外掛, 利用新增一個 '選項' 的欄位, 防止機器人順利發文.

參考連結:
http://www.phpbb.com/phpBB/viewtopic.php?t=361339
最後由 心靈捕手 於 2006-12-09 11:02 編輯,總共編輯了 1 次。
施比受有福,歡迎來信賜教,謝謝 & 再見!
祝福您 好運 ^_^
歡迎加入★★心靈捕手★★ :: 討論區!!
http://wang5555.hopto.org/phpBB3/
p.s. 奉老婆之命:在晚上十一點前,得關機睡覺!!!

頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8643
註冊時間: 2004-04-30 01:54
來自: Taiwan

[建議] 升級 1.1.0

文章 心靈捕手 »

檔頭說明:

代碼: 選擇全部

##############################################################
## MOD Title: Anti-bot Guest Post Mod
## MOD Author: otseng < N/A > (Oliver Tseng) http://debatingchristianity.com
## MOD Description: This MOD makes it a little bit harder 
##                  for a robot to make an anonymous posting.  
##                  It will add a textbox to confirm
##                  an anonymous post.
##
## MOD Version: 1.1.0
##
## Installation Level: Easy
## Installation Time: <5 Minutes
## Files To Edit:
##               posting.php
##               templates/subSilver/posting_body.tpl
##               language/lang_english/lang_main.php
## Included Files: n/a
## 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:
##
##   The MOD will install using EasyMOD
##
##   MOD dev thread:
##   http://www.phpbb.com/phpBB/viewtopic.php?t=264103
##
##   This MOD was in response to the following topic:
##   http://www.phpbb.com/phpBB/viewtopic.php?t=263469
##					
##   Demo is available at:
##   http://debatingchristianity.com/forum/viewtopic.php?t=1300
##
##############################################################
## MOD History:
##
##   2005-02-17 - Version 0.0.1
##  	- Beta release
##
##   2006-01-20 - Version 1.0.0
##  	- General release
##
##   2006-01-25 - Version 1.0.1
##  	- Replaced hard coded values
##
##   2006-10-25 - Version 1.1.0
##  	- Replaced dropdown with textbox
##
##############################################################
外掛描述:
此外掛, 利用新增一個 '輸入文字' 的欄位, 防止機器人順利發文.

參考連結:
http://www.phpbb.com/phpBB/viewtopic.ph ... 34#2531834
施比受有福,歡迎來信賜教,謝謝 & 再見!
祝福您 好運 ^_^
歡迎加入★★心靈捕手★★ :: 討論區!!
http://wang5555.hopto.org/phpBB3/
p.s. 奉老婆之命:在晚上十一點前,得關機睡覺!!!

頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8643
註冊時間: 2004-04-30 01:54
來自: Taiwan

[分享] 中文化參考

文章 心靈捕手 »

1.0.1 版中文化參考

代碼: 選擇全部

#
#-----[ OPEN ]------------------------------------------
#
language/lang_chinese_traditional_taiwan/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
?>

#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Anti-bot Guest Post Mod
$lang['Confirm_post'] = '訪客發文確認?';
$lang['Confirm_post_explain'] = '訪客發文, 請選擇 "是"';
$lang['Confirm_post_error'] = '訪客發文, 請在 "訪客發文確認?" 選擇 "是"';
1.1.0 版中文化參考

代碼: 選擇全部

#
#-----[ OPEN ]------------------------------------------
#
language/lang_chinese_traditional_taiwan/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
?>

#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Anti-bot Guest Post Mod
// 請自行建立一個說明通關密語的檔案 (guests.html), 並修改相關路徑
$lang['Confirm_post'] = '通關密語'; 
$lang['Confirm_post_explain'] = '訪客發文, 請輸入通關密語';
$lang['Confirm_post_error'] = '錯誤的通關密語. 請參考 <a href="http://YOUR_WEBSITE/PHPBB_ROOT/guests.html" target="_blank">這裡</a> 輸入通關密語.'; 
ps.
安裝 1.1.0 版, 若要避免訪客發文 (第一次) 輸入錯誤的通關密語,
則可以進行以下的修改.

代碼: 選擇全部

# 
#-----[ OPEN ]------------------------------------------ 
# 
language/lang_chinese_traditional_taiwan/lang_main.php 

# 
#-----[ FIND ]------------------------------------------ 
# 
$lang['Confirm_post_explain'] = '訪客發文, 請輸入通關密語'; 

# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
$lang['Confirm_post_explain'] = '訪客發文, 請參考 <a href="http://YOUR_WEBSITE/PHPBB_ROOT/guests.html" target="_blank">這裡</a> 輸入通關密語';
DEMO:
http://218.161.28.134/phpbb2/posting.ph ... topic&f=35
施比受有福,歡迎來信賜教,謝謝 & 再見!
祝福您 好運 ^_^
歡迎加入★★心靈捕手★★ :: 討論區!!
http://wang5555.hopto.org/phpBB3/
p.s. 奉老婆之命:在晚上十一點前,得關機睡覺!!!

主題已鎖定

回到「官方認證外掛」