Because many of my friends are often troubled by this spam, heartbeat sends their methods for your reference. The following method applies to version 7.0 as long as you add the code to the appropriate position.
Check the program first (refer to the latest reg. asp file of the official Dvbbs7.1.0 _ Ac [2005.07.04] on the mobile network)
1. Find the content of rows 235-246
If Request. form ("quesion") = "" Then
ErrCodes = ErrCodes +"
"+ Template. Strings (11)
Else
Quesion = Request. form ("quesion ")
End If
If Request. form ("answer") = "" Then
ErrCodes = ErrCodes +"
"+ Template. Strings (11)
ElseIf Request. form ("answer") = Request. form ("oldanswer") Then
Answer = Request. form ("answer ")
Else
Answer = md5 (Request. form ("answer"), 16)
End If
Insert under it
Prevent malicious registration and add item by xintiao
If Request. form ("Forumname") = "" Then
Response. redirect "showerr. asp? ErrCodes =
You did not answer "answers to questions about malicious registration protection "! & Action = OtherErr"
Else
If Request. form ("Forumname") <> Dvbbs. Forum_Info (0) Then
Response. redirect "showerr. asp? ErrCodes =
Please answer the correct "answers to questions about malicious registration protection "! & Action = OtherErr"
End If
End If
2. Locate row 114
TempLateStr = Replace (TempLateStr, "{$ user_belief}", Selectinfo (5 ))
Add a row under it
TempLateStr = Replace (TempLateStr, "{$ Forumname}", Dvbbs. Forum_Info (0 ))
Then, let's take a look at the changes in the style field. The style template Management page is found in page_login template.html (13 ).
Insert under it
What is the Chinese name of this forum?
This entry is required to prevent malicious registration! Answer: {$ Forumname}
Now it's over.