|
Not sure if could work, but maybe check "smf_ban_items" for the ID_MEMBER, and if exist just overwrite member ID group to guest?
The only requisite will be remove from the bans the users after the ban expires, because a temporal ban can expire but the ID_MEMBER still on "smf_ban_items" table.
|