Heartbeat Forum prevention of "violent marketing malicious registration and advertising"

Source: Internet
Author: User

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.


 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.