zoukankan      html  css  js  c++  java
  • zencart tell a friend被第三方利用发送垃圾邮件

    zencart程序中的tell a friend功能被第三方利用,发送大量垃圾邮件,导致数据库中email_archive表有几百兆之多!

    欣慰的是,在1.5x版本中已经移除该功能。

    解决方法:

    1, 后台-configuration-Email Options里找到Allow Guest To Tell A Friend,关闭游客推荐功能。

    对下列文件重命名,或者彻底删除该功能:

    includes/templates/YOUR_TEMPLATE/templates/tpl_tell_a_friend_default.php

    includes/templates/template_defaul/templates/tpl_tell_a_friend_default.php

    includes/languages/english/tell_a_friend.php

    includes/modules/pages/tell_a_friend 这个文件夹要去掉或者重命名

    2,在后台catalog==》product types

    点商品--普通 和商品免运费 点击 edit layout, 里面取消显示推荐给朋友 按钮就可以了

    找到Show Product Tell a Friend button,关闭它。

    3,最后找台前台的布局文件中按钮的位置删除它既可。

  • 相关阅读:
    Nexus3.0私服搭建
    JavaScript
    Spring基础
    Hibernate注解
    HTML5
    Apache Tomcat
    Java安装(Ubuntu)
    C++ 日期 & 时间
    C++ 引用
    C++ 指针
  • 原文地址:https://www.cnblogs.com/chenping/p/3759178.html
Copyright © 2011-2022 走看看