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

Possible to have 2 custom questions required at registration determine which User Group?

Discussion in 'XenForo Pre-Sales Questions' started by Happy2Day, Sep 8, 2016.

  1. Happy2Day

    Happy2Day New Member

    I tried this in demo and couldn't get it to work.

    BUT seems that it should.

    So you require them to answer via
    What color is their hair and they have choices brown and black.
    2nd question is do you live in New York?

    They select black
    and Yes

    I created a user group with custom question answers Black and Yes.

    But they ended up just in the Registered group. I am guessing I did something wrong as it SEEMS like this is possible with xenforo.

    Thank you
     
    Last edited: Sep 8, 2016
  2. Brogan

    Brogan XenForo Moderator Staff Member

    It should be possible using a user group promotion.
     
    Happy2Day likes this.
  3. Happy2Day

    Happy2Day New Member

    OK thank you. I was trying in user group promotion but got frustrated having to log out of admin and then in with the user and back to admin etc lol
     
  4. James

    James Well-Known Member

    Did you check secondary groups? Registered will always be the primary.
     
    Amaury likes this.
  5. Happy2Day

    Happy2Day New Member

    Thank you James for the suggestion! I believe I did BUT not 100% sure. I will give it a shot.
     
  6. James

    James Well-Known Member

    Also bear in mind that cron jobs are ran to upgrade users so if you're not waiting a few minutes for the cron to run then you'll miss it!

    I can't remember the cron frequency. A few minutes I think as long as there's at least 1 user online.
     
  7. Happy2Day

    Happy2Day New Member

    Ah ok great! That probably was it.

    Thank you again
     
  8. Happy2Day

    Happy2Day New Member

    Still can't get this to work.

    I have to go in and have admin manually add them to the secondary user group.

    I have tried all sorts of variations on this page. What should be checked?

    Thank you
     

    Attached Files:

  9. Brogan

    Brogan XenForo Moderator Staff Member

  10. Mike

    Mike XenForo Developer Staff Member

    Just to clarify, promotions only update automatically once per hour by default (or when a user visits for the first time in a session) and only when a user is active recently. There is a way to trigger that instantly for testing/initial creation purposes, but it's not how you'd normally use them.
     
  11. Happy2Day

    Happy2Day New Member

    Ok great Mike.

    Thank you so much for your reply. Now it makes sense.
     

Share This Page