XF 2.1 Best way to get the deleted user's username

MilkyMeda

Active member
What would be the best way to get the deleted user's username with user_id, instead of scanning 'xf_post' for quotes, mentions etc?
 
It would be helpful if you explained what you have done and what you would like to accomplish.
 
Figured it out by improving quality of the search query and doing it one at a time when I have to search in xf_post for username in order to not get any timeout errors. I guess this is the only way to accomplish this.
 
Last edited:
Back
Top Bottom