Jump to content

Add a button to delete all PMs from a user


Recommended Posts

In ACP, it should be possible to delete all PMs sent by a member(/spammer/scammer) (or, even better, to just eject all members from the PM without deleting it, for evidence purposes). It is currently possible to achieve it using the following SQL query:

UPDATE core_message_topic_user_map SET map_user_active=0 WHERE map_topic_id IN (SELECT mt_id FROM core_message_topics WHERE mt_starter_id IN (1234))

Where 1234 is the member ID of the member who has been sending the PMs, but it would be much easier to have a button to run it automagically.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...