首 页  >>  E商学院  >>  zencart百科  >>  如何防止zencart tell a friend被第三方利用发送垃圾邮件

如何防止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,最后找台前台的布局文件中按钮的位置删除它既可。


点击次数:1170  发布日期:2014-05-22  【打印此页】  【关闭