Were you able to figure this out? I actually came across this while searching for a way to add the moderator name to the "Banned by" category of your Moderator Panel addon when the member has been banned via the Spam Cleaner.
View attachment 277652
I see the
applying_user_id
column in
xf_spam_cleaner_log
table, but the
ban_user_id
column in
xf_user_ban
is zero. I wonder if there's a good reason
ban_user_id
isn't updated with the user ID who applied the spam ban. If not, that'd sure be helpful info on the front-end.