Support » Plugin: bbPress - Moderation Tools » delete report

  • Resolved tezka

    (@tezka)


    Hello. At one of the posts, someone pressed the report. The administrator can see that someone complained about this post. How to delete this inscription? Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Digital Arm

    (@digital-arm)

    Hi,

    Currently there isn’t a way to clear the reports but this task is on the backlog for a future release.

    Thanks.

    Thread Starter tezka

    (@tezka)

    Digital Arm, thanks! I understand that there is no such configuration or button that would delete the report. But maybe you can tell me how I can reset all reports? For example, if the reports are stored in a file on the hosting, I could delete the rows or replace the entire file. Is it possible?

    Plugin Author Digital Arm

    (@digital-arm)

    Certainly! The data is stored in the database as post meta with a key: _bbp_modtools_post_report

    Does that give you enough to go on?

    Thread Starter tezka

    (@tezka)

    I’m not sure yet. I found 3 repetitions of this key in the file moderation.php. But I do not understand what needs to be done to make a reset. More precisely, I want to delete those 2 reports that got into the database.

    Thread Starter tezka

    (@tezka)

    Are there any more clues?

    Plugin Author Digital Arm

    (@digital-arm)

    You would need to run a query in the database on your wp_postmeta table.

    DELETE FROM wp_postmeta WHERE meta_key = ‘_bbp_modtools_post_report’;

    If you wanted to delete reports only for a certain post:

    DELETE FROM wp_postmeta WHERE post_id = ’20’ AND meta_key = ‘_bbp_modtools_post_report’; // Edit 20 to your post ID.

    If you don’t have access to the database or aren’t comfortable running this then probably best to wait until the next release which will have a “Clear Reports” action.

    Let me know how you get on.

    • This reply was modified 3 years, 11 months ago by Digital Arm.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘delete report’ is closed to new replies.