下载:CommentBlaster:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
 
第2行: 第2行:
__NOTOC__
__NOTOC__
=CommentBlaster=
=CommentBlaster=
Author: Bharat Mediratta
编写者:Bharat Mediratta


==Description==
==描述==
This script will delete all the comments in your Gallery2, in chunks of 500. Use it very carefully!  It's intended to be starting off point if you intend to blast comments in bulk (which is something that we do periodically for the demo Gallery2 on the Gallery website). 
该脚本会删除Gallery2中所有的评论内容,以500条为单位。使用需谨慎!如果你想批量删除评论的话,这是一个起点(我们周期性地在Gallery网站的Gallery2演示中这么做)。


==Compatibility==
==兼容性==
Gallery 2
Gallery2


==Usage==
==用法==
To use it, just copy this script into your Gallery2 directory and then open it up in your web browser.
要使用它,只要将此脚本复制到G2目录中并使用浏览器打开即可。
Note that as a safety measure, it won't do anything until you edit the following line and set: $DRY_RUN = false;
注意为了安全起见,在你修改此语句并设为:$DRY_RUN = false;之前,该脚本是没有作为的。


==Download==
==下载==
[[Media:CommentBlaster.zip|Download CommentBlaster.zip]]
[[Media:CommentBlaster.zip|Download CommentBlaster.zip]]

2008年10月11日 (六) 11:35的最新版本


CommentBlaster[ ]

编写者:Bharat Mediratta

描述[ ]

该脚本会删除Gallery2中所有的评论内容,以500条为单位。使用需谨慎!如果你想批量删除评论的话,这是一个起点(我们周期性地在Gallery网站的Gallery2演示中这么做)。

兼容性[ ]

Gallery2

用法[ ]

要使用它,只要将此脚本复制到G2目录中并使用浏览器打开即可。 注意为了安全起见,在你修改此语句并设为:$DRY_RUN = false;之前,该脚本是没有作为的。

下载[ ]

Download CommentBlaster.zip