[外掛] 快速砍人1.3.2
發表於 : 2003-05-08 04:52
[php]<?php
###############################################
## Mod Title: Prune users
## Mod Version: 1.3.2
## Author: Niels Chr. Denmark < ncr@db9.dk > (Niels Chr. R鷣) HTTP://MODS.DB9.DK
##
## This mod is for phpBB2!! ver 2.0.3
##
## Description:
## Admin plug-in that makes it posible to delete users who are inactive/haven posted or like
## Makes it posible to make links for deletion of specific users
## a exampel of how to use this is included with the memberlist
## after this, a delete user button is showen in the meberlist
## If you do not want this "delete user button" in the memberlist, then don't
## do the changes to memberlist.php
##
## phpBB2 drop-in mod, that checks for unused accounts for X days
## Script only works while logged in as ADMIN, add the days=X as a extra parameter
## e.g. http://www.yourdomain.com/delete_users. ... in&days=10
## will delete all accounts who have never logged in and are older than 10 days
##
## And zero postes
## e.g. http://www.yourdomain.com/delete_users. ... er&days=10
## will delete all accounts who have never posted and are older than 10 days
##
## You can also delete specific users
## e.g. http://www.yourdomain.com/delete_users. ... user=Niels
## or http://www.yourdomain.com/delete_users. ... el_user=18
## Will delete a specific user either by name or by id, remember that this is NOT case sensetive
## if the user have posted, then his/her posts will be converted to posted by guest, and the users
## name wil still be showen
## There are NO undo function, and the script will not ask for confirmation, however
## the script will always show the name of the deleted users
##
## This mod you can customice your self, if you know a litle about SQL, make a new entry in the lang_admin.php (look how the others look)
## then inside the file admin_prune_users.php, is in the top, a "box" where you can fill with your statements
## and in the file delete_users.php, as the same, fill in both files witch the needed SQL command, and the entry is added
## you may sewlect if a notification email are to send out to the deleted user, to do this
## simply toggle the define('NOTIFY_USERS', true); true/false depending on if a notificatin is to be sendt out
## you can find this in the top of the file delete_users.php
##
## Installation Level: easy
## Installation Time: 1-2 Minutes
## Files To Edit: 2
## memberlist.php
## language/lang_english/lang_admin.php
##
## Included Files: 4
## delete_users.php
## admin/admin_prune_users.php
## language/lang_english/lang_prune_users.php
## templates/subsilver/admin/prune_users_body.tpl
##
## History:
## 0.9.0 - initial BETA
## 1.0.0 - initial release phpBB2 ver 2.0.0.
## 1.0.3 - history started, added admin plug-in module
## 1.0.4 - modifyed admin plug-in, to easyely be moded with more options
## 1.0.5 - now includes the RIGTH template file....sorry
## 1.0.6 - and now it also includes the RIGTH admin_prune_users.php....sorry once more
## 1.0.7 - lang['prune'] is already in use, so changed the name to ['Prune_commands']
## 1.1.0 - imporent update, the delete_users.php file have been updated, if you have used previous versions
## and at the same time have used user permissions on deleted user you should manual inspect your auth_access table
## 1.1.1 - changes to lang_admin.php
## 1.1.1 - confirmed for phpBB2 ver 2.0.2, no changes needed
## 1.1.2 - new version of delete_users.php, witch solve a usue about ' in usernames
## 1.3.0 - language file are now sepperated as a plug-in file
## 1.3.1 - now support email notification of deleted users
## 1.3.2 - corrected different details, reported by my user "jtp10181"
##
##############################################################
## This MOD is released under the GPL License.
## Intellectual Property is retained by the MOD Author(s) listed above
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## Authors Notes:
##
## remeber to do the mod to all installed language/templates your board support
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
?>[/php]
包裹下載: http://mods.db9.dk/viewtopic.php?t=21
中文語系: http://phpbb-tw.net/phpbb/viewtopic.php?t=14115
1.3.2 修正了一些 BUG,希望能夠 "正常" 的刪除自訂時間的用戶了
(我還沒更新,所以不知道在 2.0.4 上這個問題解決了沒有)
~Mac
###############################################
## Mod Title: Prune users
## Mod Version: 1.3.2
## Author: Niels Chr. Denmark < ncr@db9.dk > (Niels Chr. R鷣) HTTP://MODS.DB9.DK
##
## This mod is for phpBB2!! ver 2.0.3
##
## Description:
## Admin plug-in that makes it posible to delete users who are inactive/haven posted or like
## Makes it posible to make links for deletion of specific users
## a exampel of how to use this is included with the memberlist
## after this, a delete user button is showen in the meberlist
## If you do not want this "delete user button" in the memberlist, then don't
## do the changes to memberlist.php
##
## phpBB2 drop-in mod, that checks for unused accounts for X days
## Script only works while logged in as ADMIN, add the days=X as a extra parameter
## e.g. http://www.yourdomain.com/delete_users. ... in&days=10
## will delete all accounts who have never logged in and are older than 10 days
##
## And zero postes
## e.g. http://www.yourdomain.com/delete_users. ... er&days=10
## will delete all accounts who have never posted and are older than 10 days
##
## You can also delete specific users
## e.g. http://www.yourdomain.com/delete_users. ... user=Niels
## or http://www.yourdomain.com/delete_users. ... el_user=18
## Will delete a specific user either by name or by id, remember that this is NOT case sensetive
## if the user have posted, then his/her posts will be converted to posted by guest, and the users
## name wil still be showen
## There are NO undo function, and the script will not ask for confirmation, however
## the script will always show the name of the deleted users
##
## This mod you can customice your self, if you know a litle about SQL, make a new entry in the lang_admin.php (look how the others look)
## then inside the file admin_prune_users.php, is in the top, a "box" where you can fill with your statements
## and in the file delete_users.php, as the same, fill in both files witch the needed SQL command, and the entry is added
## you may sewlect if a notification email are to send out to the deleted user, to do this
## simply toggle the define('NOTIFY_USERS', true); true/false depending on if a notificatin is to be sendt out
## you can find this in the top of the file delete_users.php
##
## Installation Level: easy
## Installation Time: 1-2 Minutes
## Files To Edit: 2
## memberlist.php
## language/lang_english/lang_admin.php
##
## Included Files: 4
## delete_users.php
## admin/admin_prune_users.php
## language/lang_english/lang_prune_users.php
## templates/subsilver/admin/prune_users_body.tpl
##
## History:
## 0.9.0 - initial BETA
## 1.0.0 - initial release phpBB2 ver 2.0.0.
## 1.0.3 - history started, added admin plug-in module
## 1.0.4 - modifyed admin plug-in, to easyely be moded with more options
## 1.0.5 - now includes the RIGTH template file....sorry
## 1.0.6 - and now it also includes the RIGTH admin_prune_users.php....sorry once more
## 1.0.7 - lang['prune'] is already in use, so changed the name to ['Prune_commands']
## 1.1.0 - imporent update, the delete_users.php file have been updated, if you have used previous versions
## and at the same time have used user permissions on deleted user you should manual inspect your auth_access table
## 1.1.1 - changes to lang_admin.php
## 1.1.1 - confirmed for phpBB2 ver 2.0.2, no changes needed
## 1.1.2 - new version of delete_users.php, witch solve a usue about ' in usernames
## 1.3.0 - language file are now sepperated as a plug-in file
## 1.3.1 - now support email notification of deleted users
## 1.3.2 - corrected different details, reported by my user "jtp10181"
##
##############################################################
## This MOD is released under the GPL License.
## Intellectual Property is retained by the MOD Author(s) listed above
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## Authors Notes:
##
## remeber to do the mod to all installed language/templates your board support
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
?>[/php]
包裹下載: http://mods.db9.dk/viewtopic.php?t=21
中文語系: http://phpbb-tw.net/phpbb/viewtopic.php?t=14115
1.3.2 修正了一些 BUG,希望能夠 "正常" 的刪除自訂時間的用戶了
(我還沒更新,所以不知道在 2.0.4 上這個問題解決了沒有)
~Mac