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

XF 1.2 Demote users but after user upgrades don't work automatically

Discussion in 'XenForo Questions and Support' started by Allan, Sep 22, 2013.

  1. Allan

    Allan Well-Known Member

    I explain my problem, i demote a user, A few days later, the user purchases a subscription, but is not changed group.

    Then I added the subscription but it still does not change user groups ...

    I had checked the box to manually add it to the side groups that can benefit from the subscription, is this normal?

    As I add in the secondary group manually, but it appears in the list of User List Upgrades, at the end of the subscription period, will it change automatically group?
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    How are you demoting a user?
     
  3. Allan

    Allan Well-Known Member

    Look screen:

    Screenshot_7.png
     
  4. Allan

    Allan Well-Known Member

    Is it normal not change groups?
     
  5. Mike

    Mike XenForo Developer Staff Member

    It's not normal and it's not something I can reproduce.

    It may potentially happen if you have multiple things that should add the user to this group and you manually removed from the from the group. The system attempts to detect groups that the user should be in already (based on other possible group changes) and only adds those that the user isn't in.

    If you can, look at the xf_user_group_change table for this user ID. What are the records there? What group are you expecting the user to be added to?
     
  6. Allan

    Allan Well-Known Member

    I think I have found, it is this add-on, there is a problem

    I disabled it, but the key always seems to be present, I will remove and test.

    Screenshot_6.png
     
  7. Allan

    Allan Well-Known Member

    After removing the add-on, the lines are still present:

    Screenshot_4.png

    if you look at the 3268 user, just take me a subscription, but it also shows a line corresponding to the add-on, can I delete the row corresponding to the add-on?

    Screenshot_4.png
     
  8. Mike

    Mike XenForo Developer Staff Member

    You should be able to delete those lines (for the add-on), yes.
     
    Allan likes this.
  9. Jeremy

    Jeremy XenForo Moderator Staff Member

    Were you using the same user group for both your validated users and your premium upgrade?
     
  10. Allan

    Allan Well-Known Member

    Yes.
     

Share This Page