XF 2.3 Promotion inconsistency and grandfathering members in

eDaddi

Active member
Getting some confusing feedback from a promotion I'm trying to set up.

We have an existing forum that we now want to limit access to, but I want to grandfather existing members in.

Steps:
  1. Created new user group
  2. Batch upgraded existing members to that user group.
    1. Sanity Check: search for users in user group = 1,179
  3. Set up promotion. Promotion criteria:
    1. 50+ posts
    2. Account age 365 days +
    3. 'User NOT in selected user groups' = new user group. I assumed this would ignore or 'grandfather' in people I already added to the group.
  4. Run User Group Promotions.
    1. Sanity Check: search for users in user group = 1,148
  5. Re-Run User Group Promotions
    1. Sanity Check: 1,168
  6. Re-Run User Group Promotions
    1. Sanity Check: 1,151
  7. Re-Run User Group Promotions
    1. Sanity Check: 1,163
  8. Re-Run User Group Promotions
    1. Sanity Check: 1,151
  9. Re-Run User Group Promotions
    1. Sanity Check: 1,160
  10. Repeating this keeps the number bouncing around, it never lands on one number

I also tried skipping the Batch User Update grandfater-in part:
  1. Created new user group
  2. Same promotion as above
  3. Run User Group Promotions.
    1. Sanity Check: search for users in user group = 78
  4. Re-Run User Group Promotions
    1. Sanity Check: 1 (my default admin account)
  5. Re- Run User Group Promotions.
    1. Sanity Check: 78
  6. Re-Run User Group Promotions
    1. Sanity Check: 1
  7. Cycle repeats

Clearly I'm not doing something right here as I don't think promotions should fluctuate like that.

I'm on dev so criteria can't be changing by members actions.

Any thought on what I could be doing wrong?
 
User NOT in selected user groups' = new user group.
Remove this condition, this is what is causing the fluctuation.

First Run
Conditions match, users that were active during the last 120 minutes are promoted.

Second Run
Conditions do not match (as users now are already members of the group), users that were active during the last 120 minutes are demoted.

...
 
Last edited:
Remove this condition, this is what is causing the fluctuation.
Appreciate the response (and several of your add-ons I use).

I did forget about this only running for recently active users, that explains why Dev has been so inconsistent with results.

It would be nice to have the option to turn off the deactivation ‘feature’ on a per promotion basis. Once you’ve been registered for 1yr there is no going back.

So I guess there’s no real way to grandfather people in? I just need to turn remove everybody from the new group and let the promotion add members to it on its own. I’ll just have to explain to them that while they may not see the forum, they will have access to it again shortly.

Is there’s CLI command that can execute this and skip the recently active part?1
 
So I guess there’s no real way to grandfather people in?
I haven't tested this yet, but you should be able to manually add users to usergroups (via batch user update); XenForo has internal data structures to track usergroup changes so a promotion shouldn’t add or remove manually added member usergroups.
 
Back
Top Bottom