@baris That's it. Worked like a charm. Thanks!
Making ban history public
Is there a way to create a plugin to make the ban history public? I can move the ban history panel to the user profile page, but since the API doesn't give that information on the profile page it doesn't show any bans. I don't really know if there's a way to modify the API with plugins.
@v_risalab You can use the hook
filter:account/profile.buildto add data to the page.
You can use the same code from the info controller to get the ban data.