Web Mail

前往松鼠電郵官方網站
帳號:@bigsound.org
 
密碼:
 
 
 站長的話

February 20, 2005

迴響發表安全檢核碼

本站先前安裝mt-blacklist黑名單外掛程式防堵大批廣告留言,安定了一陣子之後又開始陸續出現其他廣告留言。為了徹底阻隔如此現象,本站又另外安裝了檢核碼外掛程式,要求使用者在發表迴響前輸入一組亂數產生的檢核碼,以確認發表迴響者並非廣告代理人程式。本站各Blog主人若需要使用此功能,僅需依照以下指示修改各頁面模板即可:

1. 登入MT管理介面。
2. 修改下列各模板:

- Individual Entry Template
- Comment Listing Template
- Comment Preview Template
- Comment Error Template

在上列四個模版中,找到:
<label for="url">URL:</label><br />
<input tabindex="3" id="url" name="url" /><br/><br />

在其之後加入下列程式碼片段:
<!-- 檢核碼檢查開始 -->
<input type="hidden" id="code" name="code" value="<$MTSecurityCode$>">
<img border="0" src="<$MTCGIPath$><$MTSecurityImage$>?code=<$MTSecurityCode$>"><br/>
<label for="code">請依上圖輸入檢核碼:</label><br />
<input tabindex="3" id="scode" name="scode" /><br/><br />
<!-- 檢核碼檢查結束 -->

Note:

  • 安全檢核碼相關中文網頁
  • 若你的Blog使用強迫預覽方式發表迴響,則無須修改Individual Entry Template與Comment Listing Template,僅需修改Comment Preview Template與Comment Error Template

    Posted by BigSound at February 20, 2005 07:48 PM | TrackBack
  • Comments

    像這樣嗎??我不是黑名單 :P

    Posted by: annie at February 21, 2005 12:13 AM
    Post a comment










     

    Remember personal info?