XenForo
Administrative
- Thread starter
- Admin
- #1
Had a spamming incident. I need to delete the spam without killing a member's complete backlog of private conversations.
I'm thinking this:
Use the following query to get a list of all the appropriate messages:
Then, that query is used to populate a list of conversation IDs to delete, as follows.
SQL:
Read more
ادامه مطلب...
I'm thinking this:
Use the following query to get a list of all the appropriate messages:
SELECT cmaster.conversation_id FROM xf_conversation_master AS cmaster WHERE user_id = 5555 AND title = 'Spam!');
Then, that query is used to populate a list of conversation IDs to delete, as follows.
SQL:
Code:
DELETE FROM xf_conversation_user AS cuser
WHERE cuser.conversation_id...
Read more
ادامه مطلب...