Customizing SMF > Modifications and Packages

Inactive Member Group Mover

(1/8) > >>

Thantos:
Link to Mod

*NOTE:  This mod is still in beta*
This mod allows you to set rules that will move inactive members into predefined membergroups.
The rules can be setup based off of the number of posts and length of time inactive.  The number of posts takes precendance.

Rules can not be created moving anyone into or out of the following groups:
Administrator
Global Moderator
Moderator
Any Post Count Based Group

Members with permissions to manage membergroups can process the rules at any time by:
Admin -> Manage Inactive Rules ->  View and Process Inactive Members (A list of all the members that will be moved will be displayed at this time) -> Process These Inactive Members

A list will display detailing who was moved, from what group, to what group, and the last time they logged in.

FaSan:
It is a good idea !

But.. i found a bug :

      $query = "
         UPDATE {$db_prefix}members SET
         ID_GROUP=$mem[to] ".
            ($mem['save']? ", addit i onalGroups='". implode(',', array($mem['fromGroup'], $mem['secgroups']) ). "'": ''). "
         WHERE ID_MEMBER=$mem[id] LIMIT 1
         ";

Thantos:
Fixed and new version uploaded.  Thanks!

Thantos:
Now on version 0.5

--- Quote ---Version: 0.5
  - This is a BETA version.  If you find any errors please let me know at the email above.
  - Ok this time I'm sure it says Never instead of Jan 01, 1970
  - Removed the fatal error if the from and to were the same when trying to modify the rule
--- End quote ---

greyknight17:
This is great.  I've been waiting for something similar to this.

Will try this out when I have some free time and post feedback.

Navigation

[0] Message Index

[#] Next page

Go to full version