Zhimeng dedecms background/member/message board verification code disabled

Source: Internet
Author: User

Tip: all DedeCMS V5.6 and later versions are supported.

Cancel the background logon verification code

Open the/data/safe/inc_safe_config.php file and find the following code:

$ Safe_gdopen = '1, 2, 3, 4, 5, 6 ';

Digit 6 indicates the background verification code, and digit 3 indicates the verification code in the membership system. Delete the corresponding number to disable the verification code.


Cancel member logon verification code

Open the/data/safe/inc_safe_config.php file and find the following code:

$ Safe_gdopen = '1, 2, 3, 4, 5, 6 ';

Just go to 3 in $ safe_gdopen.


Cancel message board verification code

Modify

The code is as follows: Copy code

Plus/guestbook/savepost. php

Delete lines 9th to 12

The code is as follows: Copy code

If ($ validate = "" | $ validate! = $ Svali ){
ShowMsg ("incorrect verification code !"," ");
Exit ();
}

You also need to delete the verification code section in templetsplusgustbook.htm.

Cancel the background logon verification code

1. Edit and open the dedelogin. Php file under the root directory. dede is the background Directory. If you rename the background Directory, go to the renamed directory and edit it to open the login. Php file.

2. Search

The code is as follows: Copy code
If ($ validate = "| $ validate! = $ Svali) with if (false)

3. Edit and open the background login template file dede/templets/login.htm, delete or comment out the specific HTML code of the following verification code:

The code is as follows: Copy code

<Li> <span> verification code: </span>
<Input name = "validate" type = "text" id = "vdcode" style = 'width: 50px; text-transform: uppercase; '/>

</Li>

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.