How do I let zblog reply and still show the IP of the reviewer?

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

How do I let zblog reply and still show the IP of the reviewer? If you are using Zblog, then I think you will find a problem, that is, after your article is commented, the article comments will appear in the reviewer's IP address bar, but when your comment someone responded to the time, You can only leave the IP address of the last person who replied. I think that's a problem that every Zblog user will have, so is this a bug? How do we solve this problem? In fact, the moon blog has already given the solution, this is not a bug, it depends on how you use these. Well, talking nonsense on a pile of, say the point. The solution is this:

In your blog directory, locate the function folder, and then under this function folder you will see a file named C_system_lib.asp.

Then open the file and find the following code in this file

Ip=request.servervariables ("REMOTE_ADDR")

Agent=request.servervariables ("Http_user_agent")

Modify this code to

If ip= "" Then

Ip=request.servervariables ("REMOTE_ADDR")

Agent=request.servervariables ("Http_user_agent")

End If

Finally save, in such a modified, after the message will not cover the IP of the reply, hey. Is it easy? To sum up, it's good to go to other people's blogs. I learned another trick. Oh, recently I was studying Div, who can recommend a good web site for beginners to learn ah? Thank you first!

Reprint, please specify the transfer from: www.xp945.com Xiao Pan Blog

Related Article

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.