PDA

View Full Version : One Touch Ban & Clean-up



admin
09-09-2011, 08:48 AM
One Touch Ban & Clean-up
(Best wishes to mfyvie's (http://www.vbulletin.org/forum/member.php?u=190317) family)


This is, at it's core, just a port of this mod (http://www.vbulletin.org/forum/showthread.php?t=156444). But I may add new features later on.

The main purpose of this mod is to clean up after a spammer. With a minimum of fuss it will:

Delete all threads started by the spammer
Delete all posts made by the spammer
Delete all PMs sent to other members by the spammer
Delete all calendar events made by the spammer
Ban or delete the spammer as you like
Ignore permissions - posts can be deleted in areas that a moderator may not have access to.

The option to activate this tool appears in the drop-down menu in the postbit, as well as on the profile page. From here it is a "one-touch" operation, with the small exception that you must press a confirmation button before the cleanup is made.


See the screenshot for the various options, but some of the more interesting ones are:

You can specify individual users (in addition to groups) who can use this tool. This means certain trusted, non-moderator users could have the ability to clean up spam and ban spammers.
You can specify users or groups who are protected - they cannot be deleted by this tool.
By default, users who have registered more than 30 days ago are also protected from this tool (spammers tend to be caught and removed fairly soon after registration)
You can turn the various deletion targets (threads, posts, events, PMs) on or off
Select between hard delete or soft delete

This mod is similar to some older mods, but improved in a number of ways:

You also have the choice to alter the standard ban and delete reasons before you press confirm.
Deletes more types of spam (PMs, events)
Simple, quick, effective
Single file import (.xml) no file edits, no template edits, no .php files to upload
Should work on all versions of 3.6.x and future versions

Installation

Download and import the .xml file via AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product. Remember to click overwrite if upgrading

Configuration

Once installed, check in your AdminCP under "VBulletin settings" and look for the configuration group called "One-touch Spam Ban & Cleanup Options". The default options should be fine for most people.

How to use

If you have rights to use this tool (i.e. are an admin or moderator, or have configured it for the relevant user or group ID) you should see the option appear in a drop-down on the postbit (see attached screenshots for an example). The idea is that as soon as you see a spammer select the "One-touch Ban & Clean" option to remove all trace of the spammer.

phanvanhai
09-09-2011, 09:17 AM
mình cài mod này xong nó báo lỗi:

Warning: array_merge() [function.array-merge (http://buonban24h.net/function.array-merge)]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1315) : eval()'d code on line 31

babylovevt
09-09-2011, 09:46 AM
Cái này em test trên v4.1.4 thì ok. V4.1.5 thì bị lỗi tương tự bạn phanvanhai


Warning: array_merge() [function.array-merge (http://forum.truongdaihai.vn/function.array-merge)]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1315) : eval()'d code on line 6

admin
09-09-2011, 10:37 AM
ITVNN dùng bản 4.1.5 cũng cài mod này có bị lỗi nào đâu, kỳ vậy ta. Bạn thử vào ACP -> vBulletin Options > One Touch Ban & Cleaner Options tuỳ chỉnh lại các ID của group cho đúng, có khi ID mặc định của One Touch Ban & Cleaner Options đối với forum của bạn không tồn tại

babylovevt
09-09-2011, 10:45 AM
Ở trang chủ thì không sao, khi vào 1 thread nào đó thì thấy lỗi (ngay trên đầu trang) anh ạ. Em cấu hình ID đúng rồi.

nghebao.vn
09-09-2011, 10:58 AM
install trên 4.1.5 chạy tốt
option chưa hay lắm, vì phải cấu hình sẵn trong admin các loại như xóa bài, xóa user... tuy nhiên đâu phải lúc nào cũng xóa tất tạạt như thế, giá mà cho lựa chọn mỗi khi banned thfi hay hơn