Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Dknelson Posted October 26, 2020 Posted October 26, 2020 I obviously don't understand how group promotions work. I have a paid site. People can join and get a free 60 day membership. After 60 days, they can still read the forum but not post. I had it setup that way in VBulletin but haven't figured it out yet for IPB. I renamed the members group to trial members. I then set up a group promotion with the only criteria being "join day 60 days or longer ago". Then set it to move them to the expired members group. If they subscribe before then, they are automatically removed to the supporting members group. Seemed simple enough but hasn't done anything. I went to system tasks and manually ran "promotions" but still nothing. Is that the task that should have moved them to the other group?
Morrigan Posted October 26, 2020 Posted October 26, 2020 Which part isn't working? Moving them to the expired group or moving them out of it?
Dknelson Posted October 26, 2020 Author Posted October 26, 2020 It does nothing. It should move them from the trial group to the expired group. Nothing gets moved.
Morrigan Posted October 26, 2020 Posted October 26, 2020 Can you take screenshots of your rules and what order they are in?
Miss_B Posted October 26, 2020 Posted October 26, 2020 Can you have a look the Restrictions part at the following link and make sure that none of those criteria match up in your promotion.
Dknelson Posted October 26, 2020 Author Posted October 26, 2020 I don't see any that apply. It is the only promotion that I have set up at this time. I checked the groups and both have "enable promotions" turned on.
Dknelson Posted October 26, 2020 Author Posted October 26, 2020 It's the only rule I have at this time.
Dknelson Posted October 26, 2020 Author Posted October 26, 2020 Sorry, I don't know how to do a screen shot when I have to scroll.
Morrigan Posted October 26, 2020 Posted October 26, 2020 So the rule looks fine. If they are a member Trial Member they are moved to test however I'm not seeing the "time frame" for member joined. Regardless, IIRC promotion actions for accounts aren't triggered unless there is a change to the account (logging in, logging out, post count update etc). You can forcibly trigger this for existing users by recounting the post counts for the existing users.
Dknelson Posted October 26, 2020 Author Posted October 26, 2020 (edited) The members were primarily imported from VBulletin when I changed over. Perhaps the join dates didn't get imported? Also, it has nothing to do with post counts, only join date so how would recounting post help? and if so, how do I recount them? hmmm...I just went to groups and looked at the members of Test Members. The join dates are all there. You say that you aren't seeing the time frame, I'm not sure what you mean. Edited October 26, 2020 by Dknelson
Morrigan Posted October 26, 2020 Posted October 26, 2020 The post counts don't matter in this situation but it triggers the promotions rules last I remember. @bfarber can say for sure but I swear that's a thing. Just go to 1 users profile and click the button to recount their posts and then choose to recount all users posts.
Dknelson Posted October 26, 2020 Author Posted October 26, 2020 OK, I will try that. BUT, this is a cron task, it' supposed to run without the user action. If I have to do that, there are over 900 trial members. About half are past the 60 days, I would have to manually trigger about 500 one at a time. 😞
Dknelson Posted October 27, 2020 Author Posted October 27, 2020 Morrigan, You are correct in that any action triggers the move. I did what you suggested and recounted the posts and it immediately moves them to the expired members group. I can live with that but wish there was a way to move them automatically. I am using the cron method and I guess I don't understand what it is telling me. I take it to mean that it will move them when run. Maybe it's not setup to run, I don't know.
bfarber Posted October 27, 2020 Posted October 27, 2020 Just for clarification, the information is accurate - group promotions don't run through all accounts all the time and process them. Group promotions are processed on an account when the account needs to be resaved for any reason.
Dknelson Posted October 27, 2020 Author Posted October 27, 2020 OK...I understand. The description that I posted above is just not very clear.
Morrigan Posted October 27, 2020 Posted October 27, 2020 (edited) Even with the Cron it will not trigger the member save action. That's why I had you run the post count update. That forced every member to be re-saved which means that the group promotions ran for each member as it updated their post count. This means group promotions runs on login, on logout, when they update their profile, when they post etc. Edited October 27, 2020 by Morrigan
Dknelson Posted October 27, 2020 Author Posted October 27, 2020 I only ran the post count update on a couple of members and you were right, it does work. Is there a way to run it on all of them or is it a one at a time thing?
Morrigan Posted October 27, 2020 Posted October 27, 2020 (edited) Yeah. When you do it for that member it will give you the option to recount JUST that member or recount ALL members post counts. Edited October 27, 2020 by Morrigan
Recommended Posts