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

XF 1.2 Someone walk me through the user upgrades?

Discussion in 'XenForo Questions and Support' started by Carlos, Oct 23, 2013.

  1. Carlos

    Carlos Well-Known Member

    What's the best way for a user upgrade to work?

    I want it so:

    Recruit > Private (50 posts) > Private 1st Class (100 posts) > And vice versa as per this list: http://www.codforums.com/threads/codforums-rank-structure.4136/

    I am basing Recruit as the "registered" level group. Everyone has to start out that way.

    So, when I go and make a user upgrade, what should I put for "[usergroup] Upgrade"?

    Forgive me, I'm a little confused by the user upgrade thing.

    So far, this is what I have:



    After this, I want it so that "Recruit" disappears, when we upgrade to "private" and vice versa?

    Finally, once I'm finished: How do I make it so that everyone in the database is "updated" to the ranks described in the CODForums Rank Structure?
  2. Tracy Perry

    Tracy Perry Well-Known Member

    Don't take this as gospel... but instead of just using "Has posted at least X message", also use "Has posted "No More Than Y Message" where Y is 1 less than your next upgrade level. Do that for each one.
    I "think" that what this will do is as long as the user has between the "X" and "Y" posts they remain in that level. Once they reach Y+1 they fall into the next promotion that starts with the minimum of the Y+1 amount and are removed from the previous group since they no longer meet those requirements.

    Recruit = At least 50 messages
    Private = At least 51 messages but more than 100 message
    Corporal = At least 101 messages but no more than 200 messages
    Sergeant = At least 201 messages but no more than 300 messages
  3. Jeremy

    Jeremy Well-Known Member

    User Upgrades add (and remove) secondary groups, they do not modify the primary group. If you want to have a base group, make it has posted 0 messages and they should be upgraded the moment they log in. As Tracy has stated, you will need to do a range of values or the higher groups will match the criteria for all the lower levels.
  4. Tracy Perry

    Tracy Perry Well-Known Member

    Good catch @Jeremy. @Carlos, ALL your users will show primary as Recruit and then the promotions would run them as secondary. Why not leave Registered as it is by default and have a promotion to Recruit for No More than 49 posts. That would then give you a Primary of Registered, secondary of Recruit then after that the other promotions as outlined would start coming into play. Just assign the groups you are promoting to incrementally higher priority (Registered priority 1, Recruit Priority 20, Corporal Priority 30, etc).
  5. Divvens

    Divvens Well-Known Member

    My forum promotion system uses trophy points, not messages or likes just trophy points in general (they earn trophies through posts + likes and stuff).

    Can this also apply to that? Since many of my members are part of at least a minimum of 7 different user groups due to my structure of forum hierarchy and some high ranking members even have around 15 secondary usergroups they are a part off.

    Does having too many secondary groups effect adversely or something?
  6. Tracy Perry

    Tracy Perry Well-Known Member

    I don't use trophies for anything so I couldn't really comment on whether it can be used for that or not. I imagine it could since there is the ability to promote based upon trophy points - but the real problem would be is that it is an "At Least" amount. With messages you can caress it to work with a less than/more than routine.

    Just your sanity. :LOL:
    I don't think it will effect the performance really (as long as you have enough horsepower running on the server). If you are already marginal on your hardware and you have a LOT of promotions going on then I could theoretically see some impact.
    Divvens likes this.
  7. Jeremy

    Jeremy Well-Known Member

    No, the multiple secondary groups won't bother affect anything unless you are attempting to rebuild the permissions. As to yours, if you only allow one display group, you can accomplish this.
    Divvens likes this.
  8. Carlos

    Carlos Well-Known Member

    Thanks to all who contributed my question(s) in this thread! (@Tracy Perry & @Jeremy)

    Based on the feedback, I've gotten the structure to work like this:
    Recruit (0 posts and up)
    Private (51 to 100)
    Private First Class (101 to 150)
    Specialist (151 to 200)
    Corporal (201 to 250)
    Sergeant (251 to 300)
    Staff Sergeant (301 to 350)
    Sergeant First Class (351 to 400)
  9. Tracy Perry

    Tracy Perry Well-Known Member

    Less than 51 posts for Recruit.
    The rest look OK except for SFC unless you are going higher. If not then remove the parameter for less than Y number of posts and only use More than X number of posts.
  10. Carlos

    Carlos Well-Known Member

    Right now I feel a little tired. I'll try to stay awake and get this done.

    EDIT: Fixed the Recruit user upgrade:
    Last edited: Oct 24, 2013

Share This Page