I also took a look at a similar Mod by Paul M (Dr Pepper Addict) on Inactive Users, but I missed some of NeoRevan?s features on it.
Thus I decided to update NeoRevan?s version to suit my needs on vB 3.7 CR2. If needed, I Will update it accordingly for vB3.7 Gold, once it?s released.
Feel free to use this Mod as you see fit, I just wished to share it with this Community. :up:
What this Mod does:
Runs a daily cronjob, removing all members according to the script's configuration
Exclude selected usergroups from been pruned
Flag automatically selected user(s) for pruning after x days (7 by default)
Email automatically selected user(s) that have been flagged (on by default)
Has the ability to prune users that match ALL the following conditions:
Has not visited in the last x days (30 by default)
Has not posted in the last x days (30 by default)
Has x or fewer posts (0 by default)
Has been flagged for pruning earlier than x days (7 by default)
Send email to pruned users, notifying them of their change in status membership (on by default)
Send email to the admin (webmaster) for book keeping.
Installation instructions in the attachment.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
what about if the user read x post without posting answer will be moved too
that mean for all usere how log in and read therd without say thx or any thing will be moved to another group
i gusse we will need this option too
If your forum is not a READ ONLY forum, if a user has read x posts without posting a reply in the last x days, you can still have it pruned by adjusting the value of "$lastactivity" to 0 or 1 in the configuration file. But choose your values accordingly so that they apply is a consistent manner as the days go by and your forum is running.
With the setting you told us to use this is generating every 24 hours I think is there a way to have this done monthly only and how do I go about that please?
With the setting you told us to use this is generating every 24 hours I think is there a way to have this done monthly only and how do I go about that please?
Hi Charlie,
You can specify when you wish to have the cron executed in the ACP -> Scheduled Task Manager -> Prune Inactive Members (Edit)
To have it executed every 29th (at 00:00) of the month for example, select the value 29 from the "Day of the month" drop down selection. :up:
Title : Prune Inactive Members
Day of the Week : * Day of the Month : 29
Hour : 0
Minute : 0
Active : Yes
I am having problems using this mod, most of the users haven't posted over months and still their status is still there. I have adjusted the configuration of the file, help would be great. I wanted to prune the users to the "Newbie" status.
I am having problems using this mod, most of the users haven't posted over months and still their status is still there. I have adjusted the configuration of the file, help would be great. I wanted to prune the users to the "Newbie" status.
// Configuration parameters
// The user must had logged in the forum in the last x days
$lastactivity = 5;
// The amount of days an user stays "flagged" before been pruned
$flaggedtime = 7;
// The user must have posted in the forum in the last x days
$lastpost = 5;
// Users with more than this amount of posts will not be pruned
$maxposts = 100;
// Set this to true to email the members that are been pruned
$sendmail = true;
// This is the UserGroup that will receive pruned members.
// If you do not have such usergroup already available,
// please create one and refer to its id number here.
$groupid = 2;
// Set here the usergroups you do NOT wish to have modified,
// seperate each groupid with a space
$exclude = "6 7 5 13 133 9 136 134 12 60 135 11";
// End Configuration parameters
and what about if the users who got pruned signed in and/or post a thread or post?
do they automatically remove to the group which they were belonged to before pruning?
thank you for this, I didn't notice it just now..
and currently I'm using Paul's which I really like.. but as you said, it has not features as yours..
are they work in the same way with Paul's or there is differences?
// Configuration parameters
// The user must had logged in the forum in the last x days
$lastactivity = 5;
// The amount of days an user stays "flagged" before been pruned
$flaggedtime = 7;
// The user must have posted in the forum in the last x days
$lastpost = 5;
// Users with more than this amount of posts will not be pruned
$maxposts = 100;
// Set this to true to email the members that are been pruned
$sendmail = true;
// This is the UserGroup that will receive pruned members.
// If you do not have such usergroup already available,
// please create one and refer to its id number here.
$groupid = 2;
// Set here the usergroups you do NOT wish to have modified,
// seperate each groupid with a space
$exclude = "6 7 5 13 133 9 136 134 12 60 135 11";
// End Configuration parameters
Hi BluAzn,
I suppose that you are placing your registered members in usergroup(s) different from the standard "Registered Users" group (of Id = 2)?
Please ensure that the Usergroup that will receive pruned members is different from the usergroup(s) where those members are selected before been flagged or pruned.