Thread Rating:
  • 4 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] Forum Cleaner 2.5.1
#11
Yes, I add a hook as you say, but I do not append to $forum['description'] because that shown only if "Show Forum Descriptions" enabled. I don't like such dependency, so I go with another idea.

2.4 is done, I'll spend some time for testing and will release it today or tomorrow.

What was added
  • now you can optionally display a message with Forum Action description in Forum index or/and in Forums threads listing.
    Also it can show several action descriptions for one forum.
    Descriptions are generated 'automagically' Wink
  • two columns in forumcleaner table
    (upgrade will be done by simple plugin activation after files replacement and do not destroy existing content)
  • additional language file
  • two templates (forumcleaner_forumbits and forumcleaner_threadlist), allows you to setup your style to display messages.
  • two templates are modified by plugin activation (and restored by plugin deactivation):
    • forumbit_depth2_forum - added {$forum['forumcleaner_forumbit']} before {$modlist}
    • forumdisplay_threadlist - added {$mybb->input['forumcleaner_threadlist']} before everything
  • fixed bug, which unnecessary asks for Target forum in Close Threads definition
    (why nobody raise it ? Wink )
vim it!^[:wq
Reply
#12
2.4.1 released
fixed bug, which cause php message
Warning [2] array_key_exists() expects parameter 2 to be array, null given - Line: 1245 - File: inc/plugins/forumcleaner.php
in case if there is no actions selected to be shown in Forum Index or Threads list.

Please download updated version according to first post of this topic.
vim it!^[:wq
Reply
#13
Nice plugin, could I suggest a new feature?
Delete users who have not been active for X amount of days (last activity field from user profile, I guess last forum visit then)
[Image: newsig2.jpg]
Reply
#14
(2010-09-09, 10:29 PM)bositman Wrote: Nice plugin, could I suggest a new feature?
Delete users who have not been active for X amount of days (last activity field from user profile, I guess last forum visit then)

Plugin delete users with no posts after X days from last visit.
no posts means no posts at all, counted or not counted.

Just go to Admin CP / Configuration / Settings / Forum Cleaner options
and set days of Grace period for Inactive users.

Also pay attention to Group exception list.

or you want something else ?
vim it!^[:wq
Reply
#15
This user has been denied support. This user has been denied support.
Hi asmile!

Can u build in the plugin a private messages (mass mail) cleaner too?
I'm a proud MyBB user. Toungue
Reply
#16
(2010-09-09, 10:38 PM)asmile Wrote: Plugin delete users with no posts after X days from last visit.
no posts means no posts at all, counted or not counted.

Just go to Admin CP / Configuration / Settings / Forum Cleaner options
and set days of Grace period for Inactive users.

Also pay attention to Group exception list.

or you want something else ?

Oh so it will delete a user that has no post AND has not visited for X days? Then that's what I was saying yes Smile
[Image: newsig2.jpg]
Reply
#17
(2010-09-10, 02:35 AM)Valaki Wrote: Can u build in the plugin a private messages (mass mail) cleaner too?
you mean - deleting of private messages created by mass mail ?
well, I'll add it into TODO list.
The issue is that I don't use mass mail by private messages (IMHO it's useless). So it hard for me to imagine possible scenarios.
quick digging in the mybb source shows, that there is no any dedicated mark in PM, saying that this particular PM was created by Mass Mail.
So, if you provide some scenarios of such deletion, it will helps.

(2010-09-10, 06:13 AM)bositman Wrote: Oh so it will delete a user that has no post AND has not visited for X days?
exactly Smile


2.4.2 available
* another bug with action descriptions fixed. (that's always happened with big changes Wink )
vim it!^[:wq
Reply
#18
This user has been denied support. This user has been denied support.
on line 1246 change ')' to ']" after 'where' clause
MyPlugins:1-2-3-4-5
MyTutorials:AddBots
Reply
#19
(2010-09-10, 07:23 PM)1master1 Wrote: on line 1246 change ')' to ']" after 'where' clause
a very strange situation. Huh before zip creation I copy this file from my production site, and right now check on production - there is ']'. how it happened that ']' was replaced by ')', I have no idea.

thanks for the report.

I hope that this is a last bug in 2.4.x release.
vim it!^[:wq
Reply
#20
2.4.4
* fixed compatibility bug in users deletion
vim it!^[:wq
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)