MyBB Community Forums

Full Version: Group Promotions improperly stores registered type in db
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The group promotions feature will store timeregisteredtype incorrectly as an operator ("=", "<", ">", etc.) in the database.

This can be rectified by deleting timeregisteredtype from the lists of strings ($operator_fields) at around line 230 and around line 448 of mybb_root/admin/modules/user/group_promotions.pho
MyBB DEV team - feedback?
So the Time Registered setting isn't working at all? Does this affect the Time Online setting too?
Ok, I did check and I found the field is working correctly from the ACP side, then compared what it saves in the DB (attachment) with the task code:
https://github.com/mybb/mybb/blob/featur...hp#L71-L95

To me it seems everything should be working as expected regarding what I understand from your report.

Because of this, I'm going to reject this report but feel free to reply with feedback.

Regards.