2010-08-27, 09:08 PM
Hi!
Here you can obtain support for Forum Cleaner plugin.
version: 2.5.1
Download: http://mods.mybb.com/view/forum-cleaner
Status: Validated, visible
Compatibility: MyBB version 1.6.*
Change Log: http://mods.mybb.com/change-log/forum-cleaner
Allows:
Installation
as usual.
copy archive content to root of your MyBB installation and enable plugin.
there is 4 files in archive
inc/languages/english/admin/forumcleaner.lang.php
inc/languages/english/forumcleaner.lang.php
inc/tasks/forumcleaner.php
inc/plugins/forumcleaner.php
Configuration:
You can configure and use plugin in following places:
Upgrade from previous versions:
Important Note for 2.4 to 2.5 upgrade: Upgrade process tested on MySQL database only.
If on your database engine in forumcleaner table type of 'fid' field was not changed from INT to TEXT when you enable plugin, please modify type manually, using your favorite tool to access database. Feel free to adopt code to your database and please share your adoption.
code for manual field type change
Important Note for 2.x to 2.4 upgrade: Upgrade process tested on MySQL database only. If on your database engine fields forumslist_display and threadslist_display was not added to forumcleaner table when you enable plugin, please add them manually, using your favorite tool to access database. Feel free to adopt code to your database and please share your adoption.
code for manual fields creation
inspired by problems in AutoExpunge 1.0.
based on heavily rewritten AutoExpunge 1.0 plugin and a lot of copy&paste's from Admin CP tools.
special thank to pavemen for idea of Moderation functions usage.
Comments, suggestions and wishes are welcomed.
Especially in English proof-reading - it is not my native language.
TODO's
no at the moment.
1.4.* compatibility clause removed
Sorry, 1.4.* compatibility clause was removed. I have no test environment to verify it.
however I believe it should work. Please test it before usage on 1.4.* production site.
Here you can obtain support for Forum Cleaner plugin.
version: 2.5.1
Download: http://mods.mybb.com/view/forum-cleaner
Status: Validated, visible
Compatibility: MyBB version 1.6.*
Change Log: http://mods.mybb.com/change-log/forum-cleaner
Allows:
- select threads or permanent redirects in forum by age of creation date or last post (selection exclude sticky threads) and:
- close
- delete
- move to other forum
- close
- optionally show forum action description on Forum index and/or on Forum thread list.
Special thank to pavemen for this idea.
- delete old Awaiting Activation users with specified number of days after registration (function to be removed in next release)
- delete Inactive users (users with absolutely no post) with specified number of days after last visit
- delete orphaned avatar files
Installation
as usual.
copy archive content to root of your MyBB installation and enable plugin.
there is 4 files in archive
inc/languages/english/admin/forumcleaner.lang.php
inc/languages/english/forumcleaner.lang.php
inc/tasks/forumcleaner.php
inc/plugins/forumcleaner.php
Configuration:
You can configure and use plugin in following places:
- Admin CP / Configuration / Plugins
install, activate, deactivate or uninstall the Forum Cleaner plugin
- Admin CP / Configuration / Settings / Forum Cleaner options
General configuration and user deletion configuration
- Admin CP / Forums & Posts / Forum Cleaner
Configuration of forums to be scanned for old threads and setup actions for found threads
- Admin CP / Users & Groups / Orphaned Avatars
Find and delete orphaned avatar files
- Admin CP / Tools & Maintenance / Task Manager
Setup a schedule for Forum Cleaner task
Upgrade from previous versions:
- disable plugin
- replace files
- enable plugin
Important Note for 2.4 to 2.5 upgrade: Upgrade process tested on MySQL database only.
If on your database engine in forumcleaner table type of 'fid' field was not changed from INT to TEXT when you enable plugin, please modify type manually, using your favorite tool to access database. Feel free to adopt code to your database and please share your adoption.
code for manual field type change
ALTER TABLE {your table prefix}forumcleaner
MODIFY fid TEXT NOT NULL DEFAULT ''
Important Note for 2.x to 2.4 upgrade: Upgrade process tested on MySQL database only. If on your database engine fields forumslist_display and threadslist_display was not added to forumcleaner table when you enable plugin, please add them manually, using your favorite tool to access database. Feel free to adopt code to your database and please share your adoption.
code for manual fields creation
ALTER TABLE {your table prefix}forumcleaner
ADD `threadslist_display` BOOL NOT NULL DEFAULT 0,
ADD `forumslist_display` BOOL NOT NULL DEFAULT 0
inspired by problems in AutoExpunge 1.0.
based on heavily rewritten AutoExpunge 1.0 plugin and a lot of copy&paste's from Admin CP tools.
special thank to pavemen for idea of Moderation functions usage.
Comments, suggestions and wishes are welcomed.
Especially in English proof-reading - it is not my native language.
TODO's
no at the moment.
1.4.* compatibility clause removed
Sorry, 1.4.* compatibility clause was removed. I have no test environment to verify it.
however I believe it should work. Please test it before usage on 1.4.* production site.