[For 1.6] Forum Cleaner 2.5.1 - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Extensions (https://community.mybb.com/forum-201.html) +--- Forum: Plugins (https://community.mybb.com/forum-73.html) +---- Forum: Plugin Releases (https://community.mybb.com/forum-102.html) +---- Thread: [For 1.6] Forum Cleaner 2.5.1 (/thread-77074.html) |
Forum Cleaner 2.5.1 - asmile - 2010-08-27 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. RE: Forum Cleaning plugin for review - FBI - 2010-08-27 very nice I'd like to try RE: Forum Cleaning plugin for review - asmile - 2010-08-27 fixed non-destructive bug in thread closing. you can download new zip from first post. please replace tasks/cleanforums.php in your MyBB installation if you use previous version. sorry, another 2 bugs in thread closing fixed. (not actually bugs, but ...) new zip uploaded. RE: Forum Cleaner plugin for review and use - asmile - 2010-08-30
new zip available in the First post. TODO I found orphaned avatars in forum, so I'll add Avatars cleaning RE: Forum Cleaner plugin for review and use - pavemen - 2010-09-06 can you add an option to append to the forum definitions a line that is like "Topics deleted when last reply is 10 days old. " and account for the time setting (last post, first post) for that forum. RE: Forum Cleaner 2.3 plugin for review and use - asmile - 2010-09-06 version 2.3 available for download from http://mods.mybb.com/view/forum-cleaner I'm not sure that I understood well your question. currently it allows to select "first post" vs. "last post" and setup 10 days age. also in forum action listing it shows forum like {forum name} Delete Threads 2 Week(s) for the Last post in thread you need something else ? or you use a very first version ? RE: [For 1.6 & 1.4] Forum Cleaner 2.3 - FBI - 2010-09-06 change log between 2.2 and 2.3? RE: Forum Cleaner 2.3 plugin for review and use - pavemen - 2010-09-06 (2010-09-06, 07:15 AM)asmile Wrote: version 2.3 available for download from http://mods.mybb.com/view/forum-cleaner I mean to add to the forum description on the forum index to indicate that a forum is pruned and at what interval. Check out my site for what I am currently manually coding (and trying to remember to edit when I change a prune time). Its the green text appended to the forum descriptions. RE: [For 1.6 & 1.4] Forum Cleaner 2.3 - asmile - 2010-09-06 (2010-09-06, 09:00 PM)FBI Wrote: change log between 2.2 and 2.3?2.2 was not released officially but, if you care : change log between 2.2 and 2.3:
TODO's
(2010-09-06, 09:49 PM)pavemen Wrote: I mean to add to the forum description on the forum index to indicate that a forum is pruned and at what interval. I see. Well, I'll try to do something like this. Looks like we need to change templates somehow and I already in some plugins found examples how to do that. I suspect you mean to add option not globally, but on each Action required to display ? RE: [For 1.6 & 1.4] Forum Cleaner 2.3 - pavemen - 2010-09-07 You should be able to hook into the hook "build_forumbits_forum" in the build_forumbits() function in functions_forumlist.php. its a byref hook so it passes $forum and you can simply update/append to $forum['description'] for those being pruned. |