2009-08-05, 07:17 PM
(This post was last modified: 2009-08-05, 07:21 PM by Diogo Parrinha.)
I created a user group where users are moved to once they reach 1 post. However, I run the task system and users are nor promoted. So, I created a test account in the same conditions as the rest of the users and posted one post. Ran the task system and that user got promoted. However, the rest of users with one or more than one posts do not get promoted.
I am going to debug the promotions.php file to find what's wrong.
Edit:
I found what's wrong. The problem is the lastactive field. The user must have been active after the task was last run, I guess.
This doesn't make much sense though, because I want all users to be affected. Not only the ones that were active in the past 20 minutes
Anyway I fixed this myself, so you can close this, move to bugs or whatever. It's not actually a bug but something that in my opinion is not that correct
I am going to debug the promotions.php file to find what's wrong.
Edit:
I found what's wrong. The problem is the lastactive field. The user must have been active after the task was last run, I guess.
This doesn't make much sense though, because I want all users to be affected. Not only the ones that were active in the past 20 minutes
Anyway I fixed this myself, so you can close this, move to bugs or whatever. It's not actually a bug but something that in my opinion is not that correct
All my plugins are available for free at MyBB Extend and on my GitHub. MyBB-Plugins.com has been closed and none of my plugins are officially maintained or supported.