• 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?

Carlos

Well-known member
#1
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:

Upgrade.png

Upgrade1.png

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?
 

Tracy Perry

Well-known member
#2
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?
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.

Example
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
 

Jeremy

Well-known member
#3
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.
 

Tracy Perry

Well-known member
#4
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.
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).
 

Divvens

Well-known member
#5
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.

Example
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
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?
 

Tracy Perry

Well-known member
#6
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.
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.

Does having too many secondary groups effect adversely or something?
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.
 

Jeremy

Well-known member
#7
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.
 

Carlos

Well-known member
#8
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)
 

Tracy Perry

Well-known member
#9
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)
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.
 

Carlos

Well-known member
#10
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.
Right now I feel a little tired. I'll try to stay awake and get this done.

EDIT: Fixed the Recruit user upgrade:
FixedoO.png
 
Last edited: