1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 User group promotions cron not running as expected

Discussion in 'Troubleshooting and Problems' started by jflory7, Jun 9, 2016.

  1. jflory7

    jflory7 Active Member


    On my website, I have a simple group promotion that is run when a user meets the following criteria:
    • Posted 100+ threads
    • Registered for 90+ days
    • Received 50+ post ratings (add-on feature)

    After meeting the criteria, they are added to a new group. I have verified the promotion is active.

    I have a user who meets these criteria, but the website is not appearing to automatically add the new user group to his account. I tried going to the Cron Entries page and manually running User Group Promotions but that did not seem to take any affect (it also seemed to run very quickly, after about a second or two it alerted me that it was complete).


    Looking at the user's account, I am unsure as to why the promotion is not being ran. Is there anything that seems off on my end or misconfigured? I'm having a hard time troubleshooting this for what the problem might be.

    Any help would be appreciated. Thanks!

    - jflory7​
  2. Mike

    Mike XenForo Developer Staff Member

    The cron only updates users active very recently (within the last few hours). If you want to run promotions on all users, you should use the option under rebuild caches.
  3. jflory7

    jflory7 Active Member

    Thanks for the reply, Mike. If that's true, then I think this user should have met the criteria for the cron (this particular user logs on regularly each day). I also tried rebuilding user promotions via Rebuild Caches but the user is still not in the right group (the group I want him to be in is Activity Perks).


    Any ideas?
  4. Mike

    Mike XenForo Developer Staff Member

    If you go into the promotion system and click manage promoted users, you can search the promotion history. Just to confirm, do you see anything for this user? Do you see other people being promoted by this?

    An important aspect here is that your promotion is using a criteria for an add-on, so we don't know if that's functioning correctly. We'd need you to trigger this issue with only built in criteria to eliminate add-on variables.
  5. jflory7

    jflory7 Active Member

    It appears that members are getting the promotion.
    This particular user did seem to be promoted for the email verification, however.
    I wonder if maybe the post ratings aren't being calculated correctly for the rank promotion. I can try rebuilding that cache and see if it makes any difference.

Share This Page