社長,
最近又狂洗版了!是否不能給人自動註冊?
Tse sir,
Here is a MOD for adding a simple question on the posting page to avoid robot's action as you mentioned before. In fact, the checking may be done in server-side or client-side. Just make it simply, it will be quite similar to the last MOD that using javascript to lookup the keyword, but exact value this time.
#[ OPEN ]
#
templates/subSilver/posting_body.tpl
#
#[ FIND ]
#
{POLLBOX}
#
#[ AFTER, ADD ]
#
<tr>
<td class="row1"><span class="gen"><b>Please enter <u>123</u>:</b></span></td>
<td class="row2"><span class="gen">
<input type="text" name="confirm_human" size="15" maxlength="10" class="post" /></span></td>
</tr>
#
#
#
#[ FIND ]
#
if (document.post.message.value.length < 2) {
formErrors = "{L_EMPTY_MESSAGE}";
}
#
#[ AFTER, ADD ]
#
if (document.post.confirm_human.value != "123"){
formErrors = "You must enter 123 to sumbit the post";
}
#
#[ SAVE/CLOSE FILE ]
#
正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客