There are some bugs in Promotion system.
I had a user in a custom group as primary.
I have 2 promotions setup.
One is for post count being 250, only users from Registered group, and they are promoted as secondary to a "Vetted" group. Now I have a user that was promoted from my l33t group which was his primary.
Not sure how this bug occured but it's just the past few days I am setting up promotions to see how they go and so far it's iffy.
Also the promotion logs...they only show last 20 actions without any pagination. I assume that it's missing the pagination. So at least that's one bug for sure.
OH WTF! I just was checking the promotion log in phpmyadmin to see the table directly...check this out:
Now not sure what's going on there but that column for "oldusergroup" is alarming...it appears that the promotion system is removing all secondaries instead of just adding it.
The log doesn't show what it's doing for primary but as my user is saying and I know for fact..he was in my l33t group as primary and now he is reverted to "registered" group.
For now I have to shut the system off as I can't have my paid subscribers in my VIP group reverted to regular membership. Keep in mind I have promotion setup ONLY to promote users from the group "registered"
I have about 35 members promoted and as you can see from that screenshot a lot of them have lost their additional groups.
The uid of the person is 24898 and you can see he is promoted twice in the screenshot but it's actually 4 times total in logs. Each time it's from group 20 to group 20 (20=vetted).
So again..not sure how this is happening. I am looking into file now.
More craziness btw:
You can see how many times this one user was promoted over and over and over again. His first promotion doesn't even show an oldusergroup so I assume that's where the problems begin for removing him.
Here are more promotions where oldusergroup isn't logged:
For now I have to disable the promotions but I hope this gets fixed and looked at asap before next release. The promotion system is a great addition for 1.4x. If Ryan you need phpmyadmin access let me know or dumps of certain tables.
Here are the sql of my promotion table.
And I have made no previous adjustments to the promotion system..it's default 1.4.3 files.
Big mess..I would like to help get this resolved as quickly as possible so let me know how I can help. I will subscribe to this thread.
EDIT: Ahh...just realized some logic flaws. The reason some are repeated promoted is because the Registered group is not promoted but instead the secondary is promoted. Seems a check to see if the person is already inside the target promotions should be added to avoid repeats (NOT IN statemet). So that should help fix up the repeats at least.
Sorry this post is so long too.
I had a user in a custom group as primary.
I have 2 promotions setup.
One is for post count being 250, only users from Registered group, and they are promoted as secondary to a "Vetted" group. Now I have a user that was promoted from my l33t group which was his primary.
Not sure how this bug occured but it's just the past few days I am setting up promotions to see how they go and so far it's iffy.
Also the promotion logs...they only show last 20 actions without any pagination. I assume that it's missing the pagination. So at least that's one bug for sure.
OH WTF! I just was checking the promotion log in phpmyadmin to see the table directly...check this out:
Now not sure what's going on there but that column for "oldusergroup" is alarming...it appears that the promotion system is removing all secondaries instead of just adding it.
The log doesn't show what it's doing for primary but as my user is saying and I know for fact..he was in my l33t group as primary and now he is reverted to "registered" group.
For now I have to shut the system off as I can't have my paid subscribers in my VIP group reverted to regular membership. Keep in mind I have promotion setup ONLY to promote users from the group "registered"
I have about 35 members promoted and as you can see from that screenshot a lot of them have lost their additional groups.
The uid of the person is 24898 and you can see he is promoted twice in the screenshot but it's actually 4 times total in logs. Each time it's from group 20 to group 20 (20=vetted).
So again..not sure how this is happening. I am looking into file now.
More craziness btw:
You can see how many times this one user was promoted over and over and over again. His first promotion doesn't even show an oldusergroup so I assume that's where the problems begin for removing him.
Here are more promotions where oldusergroup isn't logged:
For now I have to disable the promotions but I hope this gets fixed and looked at asap before next release. The promotion system is a great addition for 1.4x. If Ryan you need phpmyadmin access let me know or dumps of certain tables.
Here are the sql of my promotion table.
INSERT INTO `mybb_promotions` VALUES(1, 'Vetted by Post Count', 'This will add you to vetted group if you have more than 250 posts.', 0, 1, 250, '>=', 0, 'days', 0, '>', 'postcount', '2', 20, 'secondary');
INSERT INTO `mybb_promotions` VALUES(2, 'Vetted by Reputation', 'This adds you to Vetted group by your reputation.', 0, 1, 0, '>', 0, 'days', 10, '>=', 'reputation', '2', 20, 'secondary');
And I have made no previous adjustments to the promotion system..it's default 1.4.3 files.
Big mess..I would like to help get this resolved as quickly as possible so let me know how I can help. I will subscribe to this thread.
EDIT: Ahh...just realized some logic flaws. The reason some are repeated promoted is because the Registered group is not promoted but instead the secondary is promoted. Seems a check to see if the person is already inside the target promotions should be added to avoid repeats (NOT IN statemet). So that should help fix up the repeats at least.
Sorry this post is so long too.