usmf Posted June 19 Posted June 19 Hi! Currently, we've got five different Group Promotions set up in AdminCP. Three of them work perfectly, but two of them are not working at all. I've gone over them and don't see anything that appears to be wrong. Is it possible for someone to check these for me? Thanks!
Solution teraßyte Posted June 19 Solution Posted June 19 Promotion rules are only checked when a member logs in. If a member is inactive and doesn't visit the forum anymore, the rule to move them will never be triggered. I assume the mod to member 2 group is a similar rule. Inactive moderators are downgraded to normal members. Again, if the member doesn't visit the site the rule isn't triggered. Marc 1
usmf Posted June 19 Author Posted June 19 We actually had gotten someone in to set these up. They are supposed to be working on member accounts who have not logged in, in order to move inactive accounts out of active member groups. Is there no way for this work?
Randy Calvert Posted June 19 Posted June 19 (edited) As @teraßyte noted, promotion rules do not just run on some automatic schedule. Instead they run when a pre-determined action is run. This means the rule you want would not trigger because the user never actually logs in. The login would trigger the move from A to B. There is no way to move someone from B to A simply for not logging in. This would require some sort of third party modification to do. Edited June 19 by Randy Calvert teraßyte 1
usmf Posted June 19 Author Posted June 19 Thanks so much to both of you for the help. That wasn't what we were told by the programmer who set them up. We'll have to decide on something different.
Randy Calvert Posted June 19 Posted June 19 In looking at the IPB API, it looks like you can get the last login date/time from it. https://invisioncommunity.com/developers/rest-api?endpoint=core/members/GETitem You could have a script created that checks members and then uses the same endpoint as a post to change the member group ID.
Recommended Posts