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

Not a Bug Permissions Bug?

Discussion in 'Resolved Bug Reports' started by Dynamic, Jul 31, 2013.

  1. Dynamic

    Dynamic Well-Known Member


    If I modify an account upgrade (allow user to join a new usergroup) whilst the upgrade is active, it completely ignores the new upgrade settings.

    Also, I have a user promotion active that adds a user to a group once they have made more than 350 posts. For some reason, this is not doing it.

    xF 1.2

    RoldanLT likes this.
  2. CyberAP

    CyberAP Well-Known Member

    Same for me, tried promotions — didn't work either.
    RoldanLT likes this.
  3. Mike

    Mike XenForo Developer Staff Member

    I'm a little bit confused about what you're reporting here and it sounds like two completely unrelated things.

    The user upgrade changes aren't retroactive; they are applied when the upgrade is first purchased. This is generally as expected currently.

    I don't understand the second one. Are you simply saying that promotions don't work? There are various caveats about how they're applied. They're applied on the first page view of a session or via cron (once the last activity is updated).
  4. Dynamic

    Dynamic Well-Known Member

    Hi Mike,

    Okay, so the upgrades can not be changed during an active upgrade. I'll add this as a suggestion.

    I have set up a User Group Promotion to add users to a secondary user group if they meet this criteria.

    • I have the setting "If user has made more than x posts". I have made x = 350.
    • I have the setting "If user is member of "y" selected user group.
    • I have the setting "If custom user field criteria is set to "z"
    Now, there are say 500 users who fit that criteria. So, I would expect 500 members to be part of the designated secondary usergroup. This however has not happened (6 hours since I set it up). I am sure I am doing something wrong, but so far it all looks correct to me.

  5. Jeremy

    Jeremy Well-Known Member

    Those 500 users need to login to have the promotion applied. It's done on session creation in 1.2 and through a cron in 1.0 and 1.1 (happens the hour after login).
  6. Mike

    Mike XenForo Developer Staff Member

    The cron still exists in 1.2 as well.
    Jeremy likes this.
  7. CyberAP

    CyberAP Well-Known Member

    I tried manually launching cron operation to complete all promotions and got my promotion applied to only 10-12 members instead of 100. This is not expected.
  8. Mike

    Mike XenForo Developer Staff Member

    Promotions are only applied to recently active users. Users that don't receive it will receive it when they next login.
    CyberAP and Amaury like this.
  9. CyberAP

    CyberAP Well-Known Member

    Okay, but I think it should be noted somewhere because right now it's really confusing.
  10. Brogan

    Brogan XenForo Moderator Staff Member

    It has been mentioned many, many, many times over the last three years.
  11. chulapi

    chulapi Member

    Put it in the manual please.
    CyberAP likes this.
  12. CyberAP

    CyberAP Well-Known Member

    Or better into XenForo please.
    chulapi likes this.
  13. Jeremy

    Jeremy Well-Known Member

    It is and has been in the manual since the start.
  14. Dynamic

    Dynamic Well-Known Member

    Not sure what is happening with everyone else, but users who fit the criteria have logged in since and yet no promotion was made. However, some users were promoted. I kept track of who logged in and they still did not get the promotion. Would the "Keep me logged in" affect this at all?
  15. Syndol

    Syndol Guest

    I believe it happens when the cron runs (every hour I think) after they log out and their session is updated.

Share This Page